feat(core): add native skill activation
This commit is contained in:
parent
524ee8fc03
commit
23adaaaeab
26 changed files with 814 additions and 76 deletions
|
|
@ -141,6 +141,20 @@ export const Synthetic = Event.define({
|
|||
})
|
||||
export type Synthetic = typeof Synthetic.Type
|
||||
|
||||
export namespace Skill {
|
||||
export const Activated = Event.define({
|
||||
type: "session.next.skill.activated",
|
||||
...options,
|
||||
schema: {
|
||||
...Base,
|
||||
messageID: SessionMessage.ID,
|
||||
name: Schema.String,
|
||||
text: Schema.String,
|
||||
},
|
||||
})
|
||||
export type Activated = typeof Activated.Type
|
||||
}
|
||||
|
||||
export namespace Shell {
|
||||
export const Started = Event.define({
|
||||
type: "session.next.shell.started",
|
||||
|
|
@ -476,6 +490,7 @@ export const DurableDefinitions = Event.inventory(
|
|||
PromptAdmitted,
|
||||
ContextUpdated,
|
||||
Synthetic,
|
||||
Skill.Activated,
|
||||
Shell.Started,
|
||||
Shell.Ended,
|
||||
Step.Started,
|
||||
|
|
@ -509,6 +524,7 @@ export const Definitions = Event.inventory(
|
|||
PromptAdmitted,
|
||||
ContextUpdated,
|
||||
Synthetic,
|
||||
Skill.Activated,
|
||||
Shell.Started,
|
||||
Shell.Ended,
|
||||
Step.Started,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue