refactor(core): rename system context to instructions (#35583)

This commit is contained in:
Kit Langton 2026-07-06 14:29:29 -04:00 committed by GitHub
commit 91f1815732
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
62 changed files with 1482 additions and 1005 deletions

View file

@ -130,15 +130,15 @@ export const ExecutionSettled = Event.ephemeral({
})
export type ExecutionSettled = typeof ExecutionSettled.Type
export const ContextUpdated = Event.durable({
type: "session.context.updated",
export const InstructionsUpdated = Event.durable({
type: "session.instructions.updated",
...options,
schema: {
...Base,
text: Schema.String,
},
})
export type ContextUpdated = typeof ContextUpdated.Type
export type InstructionsUpdated = typeof InstructionsUpdated.Type
export const Synthetic = Event.durable({
type: "session.synthetic",
@ -494,7 +494,7 @@ export const Definitions = Event.inventory(
PromptPromoted,
PromptAdmitted,
ExecutionSettled,
ContextUpdated,
InstructionsUpdated,
Synthetic,
Skill.Activated,
Shell.Started,