@qilin-agent/kylin-host-runner 3.1.3 → 3.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.i18n.yaml +29 -29
- package/lib/typert.host.js +8 -8
- package/package.json +17 -17
package/README.i18n.yaml
CHANGED
|
@@ -5,66 +5,66 @@
|
|
|
5
5
|
/:
|
|
6
6
|
en: 3de716c1fb132608
|
|
7
7
|
zh: 30dbce3949ce9f0c
|
|
8
|
-
/qilin-kylin-host-runner:
|
|
9
|
-
en:
|
|
10
|
-
zh:
|
|
11
|
-
/qilin-kylin-host-runner/summary:
|
|
8
|
+
/qilin-agent-kylin-host-runner:
|
|
9
|
+
en: a7b95246fda81178
|
|
10
|
+
zh: 71b11cd4bdd8be48
|
|
11
|
+
/qilin-agent-kylin-host-runner/summary:
|
|
12
12
|
en: db709f4d4f1f49ac
|
|
13
13
|
zh: 006317c8ac79e257
|
|
14
|
-
/qilin-kylin-host-runner/table-of-contents:
|
|
14
|
+
/qilin-agent-kylin-host-runner/table-of-contents:
|
|
15
15
|
en: d152484eb41ac6b4
|
|
16
16
|
zh: 09388d293f9be9cb
|
|
17
|
-
/qilin-kylin-host-runner/use-this-package:
|
|
17
|
+
/qilin-agent-kylin-host-runner/use-this-package:
|
|
18
18
|
en: bdaba8036acf80c9
|
|
19
19
|
zh: 2dd8f972c3023a8a
|
|
20
|
-
/qilin-kylin-host-runner/use-this-package/minimal-configuration:
|
|
21
|
-
en:
|
|
22
|
-
zh:
|
|
23
|
-
/qilin-kylin-host-runner/use-this-package/client-inspection:
|
|
20
|
+
/qilin-agent-kylin-host-runner/use-this-package/minimal-configuration:
|
|
21
|
+
en: 44e9dd3103c14698
|
|
22
|
+
zh: 9f92bf445e6983a6
|
|
23
|
+
/qilin-agent-kylin-host-runner/use-this-package/client-inspection:
|
|
24
24
|
en: b4a2fe9e7aa9dee7
|
|
25
25
|
zh: 56f55558809970da
|
|
26
|
-
/qilin-kylin-host-runner/use-this-package/what-a-run-does:
|
|
26
|
+
/qilin-agent-kylin-host-runner/use-this-package/what-a-run-does:
|
|
27
27
|
en: a3c86c081974a710
|
|
28
28
|
zh: 180e1b7824c070d4
|
|
29
|
-
/qilin-kylin-host-runner/use-this-package/what-happens-to-definitions:
|
|
29
|
+
/qilin-agent-kylin-host-runner/use-this-package/what-happens-to-definitions:
|
|
30
30
|
en: d1a8777f171d22bb
|
|
31
31
|
zh: 7f6aa4c2680557b1
|
|
32
|
-
/qilin-kylin-host-runner/use-this-package/trust-stance:
|
|
32
|
+
/qilin-agent-kylin-host-runner/use-this-package/trust-stance:
|
|
33
33
|
en: 3c83e56d1c7a026c
|
|
34
34
|
zh: f127c65922a51b92
|
|
35
|
-
/qilin-kylin-host-runner/understand-the-implementation:
|
|
35
|
+
/qilin-agent-kylin-host-runner/understand-the-implementation:
|
|
36
36
|
en: b0a536c0d00cbdb8
|
|
37
37
|
zh: 08e5d813aa6a612a
|
|
38
|
-
/qilin-kylin-host-runner/understand-the-implementation/design-philosophy:
|
|
38
|
+
/qilin-agent-kylin-host-runner/understand-the-implementation/design-philosophy:
|
|
39
39
|
en: 2193b1c446b388fc
|
|
40
40
|
zh: f8c01188d5ca2a3b
|
|
41
|
-
/qilin-kylin-host-runner/understand-the-implementation/source-map:
|
|
41
|
+
/qilin-agent-kylin-host-runner/understand-the-implementation/source-map:
|
|
42
42
|
en: f567eacc1072b96c
|
|
43
43
|
zh: 8747f8453fff9553
|
|
44
|
-
/qilin-kylin-host-runner/understand-the-implementation/how-a-run-flows:
|
|
45
|
-
en:
|
|
46
|
-
zh:
|
|
47
|
-
/qilin-kylin-host-runner/further-exploration:
|
|
48
|
-
en:
|
|
49
|
-
zh:
|
|
50
|
-
/qilin-kylin-host-runner/model-experience:
|
|
44
|
+
/qilin-agent-kylin-host-runner/understand-the-implementation/how-a-run-flows:
|
|
45
|
+
en: 1c08316367cb60b4
|
|
46
|
+
zh: c95e3daa37d22d7d
|
|
47
|
+
/qilin-agent-kylin-host-runner/further-exploration:
|
|
48
|
+
en: d94eb314d2221bee
|
|
49
|
+
zh: df852b9b5e3a0a70
|
|
50
|
+
/qilin-agent-kylin-host-runner/model-experience:
|
|
51
51
|
en: 215e7ba838619b7b
|
|
52
52
|
zh: a311da3843709f90
|
|
53
|
-
/qilin-kylin-host-runner/model-experience/run-outcomes-refusals-and-diagnostics-relayed-to-the-owning-session:
|
|
53
|
+
/qilin-agent-kylin-host-runner/model-experience/run-outcomes-refusals-and-diagnostics-relayed-to-the-owning-session:
|
|
54
54
|
en: f53130bb645f50df
|
|
55
55
|
zh: 603361c566527789
|
|
56
|
-
/qilin-kylin-host-runner/model-experience/run-outcomes-refusals-and-diagnostics-relayed-to-the-owning-session/what-the-model-sees:
|
|
56
|
+
/qilin-agent-kylin-host-runner/model-experience/run-outcomes-refusals-and-diagnostics-relayed-to-the-owning-session/what-the-model-sees:
|
|
57
57
|
en: 743dbef78fa3a8ad
|
|
58
58
|
zh: 2aa4e404e908cf22
|
|
59
|
-
/qilin-kylin-host-runner/model-experience/run-outcomes-refusals-and-diagnostics-relayed-to-the-owning-session/token-effect:
|
|
59
|
+
/qilin-agent-kylin-host-runner/model-experience/run-outcomes-refusals-and-diagnostics-relayed-to-the-owning-session/token-effect:
|
|
60
60
|
en: c7ef63dd8179a97e
|
|
61
61
|
zh: e66545088d00956a
|
|
62
|
-
/qilin-kylin-host-runner/model-experience/run-outcomes-refusals-and-diagnostics-relayed-to-the-owning-session/kv-cache-effect:
|
|
62
|
+
/qilin-agent-kylin-host-runner/model-experience/run-outcomes-refusals-and-diagnostics-relayed-to-the-owning-session/kv-cache-effect:
|
|
63
63
|
en: bbc4338c3035757a
|
|
64
64
|
zh: f51f4848786d5606
|
|
65
|
-
/qilin-kylin-host-runner/known-limitations-and-deferred-work:
|
|
65
|
+
/qilin-agent-kylin-host-runner/known-limitations-and-deferred-work:
|
|
66
66
|
en: 1f10688ae249a077
|
|
67
67
|
zh: c1a86dd36c92e05e
|
|
68
|
-
/qilin-kylin-host-runner/known-limitations-and-deferred-work/dev-note:
|
|
68
|
+
/qilin-agent-kylin-host-runner/known-limitations-and-deferred-work/dev-note:
|
|
69
69
|
en: e67f633dc6fe7773
|
|
70
70
|
zh: 3bb0c20c93f16f98
|
package/lib/typert.host.js
CHANGED
|
@@ -1194,7 +1194,7 @@ export const TYPERT = {
|
|
|
1194
1194
|
},
|
|
1195
1195
|
{
|
|
1196
1196
|
"name": "MessageSourceMap",
|
|
1197
|
-
"declaration": "export interface MessageSourceMap {\n user: { kind: 'user'; };\n model: ModelMessageSource;\n tool: ToolMessageSource;\n 'system-prompt': SystemPromptMessageSource;\n 'model-selection': { kind: 'model-selection'; } & ContextFormed;\n 'user-approval': { kind: 'user-approval'; } & ContextFormed;\n 'ptc-mode': { kind: 'ptc-mode'; };\n 'tool-registry': { kind: 'tool-registry'; };\n 'user-rpc': { kind: 'user'; rpcId: SessionRequestId; clientTimeZone?: string; };\n 'sidechat-boundary': { kind: 'sidechat-boundary'; };\n 'agent-message': AgentMessageSource;\n 'subagent-settled': SubagentSettledMessageSource;\n 'skill-invocation': SkillInvocationSource;\n 'team-message': TeamMessageSource;\n goal: GoalMessageSource;\n 'kylin-host-runner': { kind: 'kylin-host-runner'; };\n schedule: { kind: 'schedule'; } & ContextFormed;\n 'compact-checkpoint': CompactionCheckpointSource;\n 'session-reference': SessionReferenceSource;\n 'user-question-reply': { kind: 'user-question-reply'; callId: ToolCallId; outcome: 'answered'; };\n}"
|
|
1197
|
+
"declaration": "export interface MessageSourceMap {\n user: { kind: 'user'; };\n model: ModelMessageSource;\n tool: ToolMessageSource;\n 'system-prompt': SystemPromptMessageSource;\n 'model-selection': { kind: 'model-selection'; } & ContextFormed;\n 'user-approval': { kind: 'user-approval'; } & ContextFormed;\n 'working-directory': { kind: 'working-directory'; };\n 'ptc-mode': { kind: 'ptc-mode'; };\n 'tool-registry': { kind: 'tool-registry'; };\n 'user-rpc': { kind: 'user'; rpcId: SessionRequestId; clientTimeZone?: string; };\n 'sidechat-boundary': { kind: 'sidechat-boundary'; };\n 'agent-message': AgentMessageSource;\n 'subagent-settled': SubagentSettledMessageSource;\n 'skill-invocation': SkillInvocationSource;\n 'team-message': TeamMessageSource;\n goal: GoalMessageSource;\n 'kylin-host-runner': { kind: 'kylin-host-runner'; };\n schedule: { kind: 'schedule'; } & ContextFormed;\n 'compact-checkpoint': CompactionCheckpointSource;\n 'session-reference': SessionReferenceSource;\n 'user-question-reply': { kind: 'user-question-reply'; callId: ToolCallId; outcome: 'answered'; };\n}"
|
|
1198
1198
|
},
|
|
1199
1199
|
{
|
|
1200
1200
|
"name": "ModelMessageSource",
|
|
@@ -1222,7 +1222,7 @@ export const TYPERT = {
|
|
|
1222
1222
|
},
|
|
1223
1223
|
{
|
|
1224
1224
|
"name": "PtcDispatchEventData",
|
|
1225
|
-
"declaration": "export interface PtcDispatchEventData extends PtcDispatchStartEventData {\n isError: boolean;\n content: ContentBlock[];\n error?: { name: string; code: string; reason?: string; };\n}"
|
|
1225
|
+
"declaration": "export interface PtcDispatchEventData extends PtcDispatchStartEventData {\n isError: boolean;\n content: ContentBlock[];\n meta?: JsonValue;\n error?: { name: string; code: string; reason?: string; };\n}"
|
|
1226
1226
|
},
|
|
1227
1227
|
{
|
|
1228
1228
|
"name": "PtcDispatchStartEventData",
|
|
@@ -1282,7 +1282,7 @@ export const TYPERT = {
|
|
|
1282
1282
|
},
|
|
1283
1283
|
{
|
|
1284
1284
|
"name": "SessionEventMap",
|
|
1285
|
-
"declaration": "export interface SessionEventMap {\n 'turn/start': { turn: number; };\n 'turn/end': { turn: number; reason: TurnEndReason; };\n 'step/start': { turn: number; step: number; };\n 'step/end': { turn: number; step: number; };\n 'user/message': UserMessage;\n 'developer/message': { turn: number; step: number; message: DeveloperMessage; headerSeq?: SessionSeq; };\n 'system/message': { turn: number; step: number; message: SystemMessage; };\n 'assistant/message': { turn: number; step: number; message: AssistantMessage; stream: AssistantStreamRecord[]; usage?: TokenUsage; interrupted?: true; };\n 'assistant/attempt': { turn: number; step: number; stream: AssistantStreamRecord[]; };\n 'tool/call': { turn: number; step: number; callId: ToolCallId; name: string; arguments: string; };\n 'tool/result': { turn: number; step: number; message: ToolResultMessage; error?: { name: string; code: string; reason?: string; }; meta?: JsonValue; };\n 'request/header': { header: EpochHeader; reason: RequestHeaderReason; startsSeries?: true; };\n 'request/context': RequestContext;\n 'session/end-seed': { inherited?: true; };\n 'agent/inbox/spliced': { target: InboxTarget; start: number; removedCount?: number; inserted: UserMessage[]; outcome?: 'canceled'; };\n 'sandbox/mode': { mode: SandboxMode; source?: 'delegation'; };\n 'approval/asked': { id: ApprovalRequestId; toolName: string; callId?: ToolCallId; reason?: string; };\n 'approval/decided': { id: ApprovalRequestId; outcome: ApprovalOutcome; };\n 'approval/policy': { policy: ApprovalPolicy; source?: 'delegation'; };\n 'tool/ptc-dispatch-start': PtcDispatchStartEventData;\n 'tool/ptc-dispatch': PtcDispatchEventData;\n 'agent-preset/selected': { agentPreset: string; };\n 'command/run': { commandId: CommandId; name: string; args?: string; source: CommandSource; };\n 'command/done': { commandId: CommandId; kind: 'success' | 'error'; text?: string; sourceEventSeq?: import('@qilin-agent/session/types').SessionSeq; };\n 'image/offload': { targets: ImageOffloadTarget[]; };\n 'session/title': SessionTitleEventData;\n 'todo/write': { todos: TodoItem[]; };\n 'model/selection': ModelSelection;\n '
|
|
1285
|
+
"declaration": "export interface SessionEventMap {\n 'turn/start': { turn: number; };\n 'turn/end': { turn: number; reason: TurnEndReason; };\n 'step/start': { turn: number; step: number; };\n 'step/end': { turn: number; step: number; };\n 'user/message': UserMessage;\n 'developer/message': { turn: number; step: number; message: DeveloperMessage; headerSeq?: SessionSeq; };\n 'system/message': { turn: number; step: number; message: SystemMessage; };\n 'assistant/message': { turn: number; step: number; message: AssistantMessage; stream: AssistantStreamRecord[]; usage?: TokenUsage; interrupted?: true; };\n 'assistant/attempt': { turn: number; step: number; stream: AssistantStreamRecord[]; };\n 'tool/call': { turn: number; step: number; callId: ToolCallId; name: string; arguments: string; };\n 'tool/result': { turn: number; step: number; message: ToolResultMessage; error?: { name: string; code: string; reason?: string; }; meta?: JsonValue; };\n 'request/header': { header: EpochHeader; reason: RequestHeaderReason; startsSeries?: true; };\n 'request/context': RequestContext;\n 'session/end-seed': { inherited?: true; };\n 'agent/inbox/spliced': { target: InboxTarget; start: number; removedCount?: number; inserted: UserMessage[]; outcome?: 'canceled'; };\n 'sandbox/mode': { mode: SandboxMode; source?: 'delegation'; };\n 'approval/asked': { id: ApprovalRequestId; toolName: string; callId?: ToolCallId; reason?: string; };\n 'approval/decided': { id: ApprovalRequestId; outcome: ApprovalOutcome; };\n 'approval/policy': { policy: ApprovalPolicy; source?: 'delegation'; };\n 'working-directory/change': { cwd: string; };\n 'tool/ptc-dispatch-start': PtcDispatchStartEventData;\n 'tool/ptc-dispatch': PtcDispatchEventData;\n 'agent-preset/selected': { agentPreset: string; };\n 'command/run': { commandId: CommandId; name: string; args?: string; source: CommandSource; };\n 'command/done': { commandId: CommandId; kind: 'success' | 'error'; text?: string; sourceEventSeq?: import('@qilin-agent/session/types').SessionSeq; };\n 'image/offload': { targets: ImageOffloadTarget[]; };\n 'session/title': SessionTitleEventData;\n 'todo/write': { todos: TodoItem[]; };\n 'model/selection': ModelSelection;\n 'permission/preset': { preset: string; };\n 'subagent/descriptor': SubagentDescriptorData;\n 'subagent/catalog': SubagentCatalogEvent;\n 'feedback/record': FeedbackRecord;\n 'team/member': { version: 2; teamId: TeamId; member: TeamMemberSnapshot; };\n 'team/task': { version: 2; teamId: TeamId; task: TeamTaskSnapshot; };\n 'team/message/queued': { version: 2; teamId: TeamId; message: TeamMessageSnapshot; };\n 'team/message/delivered': { version: 2; teamId: TeamId; messageId: TeamMessageId; targetId: SessionId; };\n 'goal/change': GoalChangeMeta;\n 'feedback/message-put': MessageFeedbackPut;\n 'feedback/message-delete': MessageFeedbackDelete;\n 'schedule/change': ScheduleChange;\n 'compaction/start': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; };\n 'compaction/summary': { compactionId: CompactionId; sourceCommandId?: CommandId; summary: ContentBlock[]; shadowedRange: { start: SessionSeq; end: SessionSeq; }; shadowedSeqs: SessionSeq[]; shadowedTokenCount: number; provider: string; model: string; maxTokens?: number; usage?: TokenUsage; } & ({ rawOutput: ContentBlock[]; llmStreamCall: true; } | { rawOutput?: ContentBlock[]; llmStreamCall?: never; });\n 'compaction/end': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; error?: string; };\n 'compaction/prune': { shadowedRange: { start: SessionSeq; end: SessionSeq; }; shadowedSeqs: SessionSeq[]; shadowedTokenCount: number; };\n}"
|
|
1286
1286
|
},
|
|
1287
1287
|
{
|
|
1288
1288
|
"name": "SessionEventType",
|
|
@@ -1342,7 +1342,7 @@ export const TYPERT = {
|
|
|
1342
1342
|
},
|
|
1343
1343
|
{
|
|
1344
1344
|
"name": "SubagentCatalogEvent",
|
|
1345
|
-
"declaration": "export type SubagentCatalogEvent = { readonly childId: SessionId; readonly childCreatedAt: number; } & (({ readonly version: 0; } & KnownCatalogMode) | ({ readonly version: 1; } & (KnownCatalogMode | { readonly mode: 'unknown'; readonly label?: string; })));"
|
|
1345
|
+
"declaration": "export type SubagentCatalogEvent = { readonly childId: SessionId; readonly childCreatedAt: number; } & (({ readonly version: 0; } & KnownCatalogMode) | ({ readonly version: 1; } & (KnownCatalogMode | { readonly mode: 'unknown'; readonly label?: string; })) | { readonly version: 2; readonly mode: 'external'; readonly label?: string; });"
|
|
1346
1346
|
},
|
|
1347
1347
|
{
|
|
1348
1348
|
"name": "SubagentDescriptorBase",
|
|
@@ -2061,7 +2061,7 @@ export const TYPERT = {
|
|
|
2061
2061
|
},
|
|
2062
2062
|
{
|
|
2063
2063
|
"name": "MessageSourceMap",
|
|
2064
|
-
"declaration": "export interface MessageSourceMap {\n user: { kind: 'user'; };\n model: ModelMessageSource;\n tool: ToolMessageSource;\n 'system-prompt': SystemPromptMessageSource;\n 'model-selection': { kind: 'model-selection'; } & ContextFormed;\n 'user-approval': { kind: 'user-approval'; } & ContextFormed;\n 'ptc-mode': { kind: 'ptc-mode'; };\n 'tool-registry': { kind: 'tool-registry'; };\n 'user-rpc': { kind: 'user'; rpcId: SessionRequestId; clientTimeZone?: string; };\n 'sidechat-boundary': { kind: 'sidechat-boundary'; };\n 'agent-message': AgentMessageSource;\n 'subagent-settled': SubagentSettledMessageSource;\n 'skill-invocation': SkillInvocationSource;\n 'team-message': TeamMessageSource;\n goal: GoalMessageSource;\n 'kylin-host-runner': { kind: 'kylin-host-runner'; };\n schedule: { kind: 'schedule'; } & ContextFormed;\n 'compact-checkpoint': CompactionCheckpointSource;\n 'session-reference': SessionReferenceSource;\n 'user-question-reply': { kind: 'user-question-reply'; callId: ToolCallId; outcome: 'answered'; };\n}"
|
|
2064
|
+
"declaration": "export interface MessageSourceMap {\n user: { kind: 'user'; };\n model: ModelMessageSource;\n tool: ToolMessageSource;\n 'system-prompt': SystemPromptMessageSource;\n 'model-selection': { kind: 'model-selection'; } & ContextFormed;\n 'user-approval': { kind: 'user-approval'; } & ContextFormed;\n 'working-directory': { kind: 'working-directory'; };\n 'ptc-mode': { kind: 'ptc-mode'; };\n 'tool-registry': { kind: 'tool-registry'; };\n 'user-rpc': { kind: 'user'; rpcId: SessionRequestId; clientTimeZone?: string; };\n 'sidechat-boundary': { kind: 'sidechat-boundary'; };\n 'agent-message': AgentMessageSource;\n 'subagent-settled': SubagentSettledMessageSource;\n 'skill-invocation': SkillInvocationSource;\n 'team-message': TeamMessageSource;\n goal: GoalMessageSource;\n 'kylin-host-runner': { kind: 'kylin-host-runner'; };\n schedule: { kind: 'schedule'; } & ContextFormed;\n 'compact-checkpoint': CompactionCheckpointSource;\n 'session-reference': SessionReferenceSource;\n 'user-question-reply': { kind: 'user-question-reply'; callId: ToolCallId; outcome: 'answered'; };\n}"
|
|
2065
2065
|
},
|
|
2066
2066
|
{
|
|
2067
2067
|
"name": "ModelMessageSource",
|
|
@@ -2089,7 +2089,7 @@ export const TYPERT = {
|
|
|
2089
2089
|
},
|
|
2090
2090
|
{
|
|
2091
2091
|
"name": "PtcDispatchEventData",
|
|
2092
|
-
"declaration": "export interface PtcDispatchEventData extends PtcDispatchStartEventData {\n isError: boolean;\n content: ContentBlock[];\n error?: { name: string; code: string; reason?: string; };\n}"
|
|
2092
|
+
"declaration": "export interface PtcDispatchEventData extends PtcDispatchStartEventData {\n isError: boolean;\n content: ContentBlock[];\n meta?: JsonValue;\n error?: { name: string; code: string; reason?: string; };\n}"
|
|
2093
2093
|
},
|
|
2094
2094
|
{
|
|
2095
2095
|
"name": "PtcDispatchStartEventData",
|
|
@@ -2149,7 +2149,7 @@ export const TYPERT = {
|
|
|
2149
2149
|
},
|
|
2150
2150
|
{
|
|
2151
2151
|
"name": "SessionEventMap",
|
|
2152
|
-
"declaration": "export interface SessionEventMap {\n 'turn/start': { turn: number; };\n 'turn/end': { turn: number; reason: TurnEndReason; };\n 'step/start': { turn: number; step: number; };\n 'step/end': { turn: number; step: number; };\n 'user/message': UserMessage;\n 'developer/message': { turn: number; step: number; message: DeveloperMessage; headerSeq?: SessionSeq; };\n 'system/message': { turn: number; step: number; message: SystemMessage; };\n 'assistant/message': { turn: number; step: number; message: AssistantMessage; stream: AssistantStreamRecord[]; usage?: TokenUsage; interrupted?: true; };\n 'assistant/attempt': { turn: number; step: number; stream: AssistantStreamRecord[]; };\n 'tool/call': { turn: number; step: number; callId: ToolCallId; name: string; arguments: string; };\n 'tool/result': { turn: number; step: number; message: ToolResultMessage; error?: { name: string; code: string; reason?: string; }; meta?: JsonValue; };\n 'request/header': { header: EpochHeader; reason: RequestHeaderReason; startsSeries?: true; };\n 'request/context': RequestContext;\n 'session/end-seed': { inherited?: true; };\n 'agent/inbox/spliced': { target: InboxTarget; start: number; removedCount?: number; inserted: UserMessage[]; outcome?: 'canceled'; };\n 'sandbox/mode': { mode: SandboxMode; source?: 'delegation'; };\n 'approval/asked': { id: ApprovalRequestId; toolName: string; callId?: ToolCallId; reason?: string; };\n 'approval/decided': { id: ApprovalRequestId; outcome: ApprovalOutcome; };\n 'approval/policy': { policy: ApprovalPolicy; source?: 'delegation'; };\n 'tool/ptc-dispatch-start': PtcDispatchStartEventData;\n 'tool/ptc-dispatch': PtcDispatchEventData;\n 'agent-preset/selected': { agentPreset: string; };\n 'command/run': { commandId: CommandId; name: string; args?: string; source: CommandSource; };\n 'command/done': { commandId: CommandId; kind: 'success' | 'error'; text?: string; sourceEventSeq?: import('@qilin-agent/session/types').SessionSeq; };\n 'image/offload': { targets: ImageOffloadTarget[]; };\n 'session/title': SessionTitleEventData;\n 'todo/write': { todos: TodoItem[]; };\n 'model/selection': ModelSelection;\n '
|
|
2152
|
+
"declaration": "export interface SessionEventMap {\n 'turn/start': { turn: number; };\n 'turn/end': { turn: number; reason: TurnEndReason; };\n 'step/start': { turn: number; step: number; };\n 'step/end': { turn: number; step: number; };\n 'user/message': UserMessage;\n 'developer/message': { turn: number; step: number; message: DeveloperMessage; headerSeq?: SessionSeq; };\n 'system/message': { turn: number; step: number; message: SystemMessage; };\n 'assistant/message': { turn: number; step: number; message: AssistantMessage; stream: AssistantStreamRecord[]; usage?: TokenUsage; interrupted?: true; };\n 'assistant/attempt': { turn: number; step: number; stream: AssistantStreamRecord[]; };\n 'tool/call': { turn: number; step: number; callId: ToolCallId; name: string; arguments: string; };\n 'tool/result': { turn: number; step: number; message: ToolResultMessage; error?: { name: string; code: string; reason?: string; }; meta?: JsonValue; };\n 'request/header': { header: EpochHeader; reason: RequestHeaderReason; startsSeries?: true; };\n 'request/context': RequestContext;\n 'session/end-seed': { inherited?: true; };\n 'agent/inbox/spliced': { target: InboxTarget; start: number; removedCount?: number; inserted: UserMessage[]; outcome?: 'canceled'; };\n 'sandbox/mode': { mode: SandboxMode; source?: 'delegation'; };\n 'approval/asked': { id: ApprovalRequestId; toolName: string; callId?: ToolCallId; reason?: string; };\n 'approval/decided': { id: ApprovalRequestId; outcome: ApprovalOutcome; };\n 'approval/policy': { policy: ApprovalPolicy; source?: 'delegation'; };\n 'working-directory/change': { cwd: string; };\n 'tool/ptc-dispatch-start': PtcDispatchStartEventData;\n 'tool/ptc-dispatch': PtcDispatchEventData;\n 'agent-preset/selected': { agentPreset: string; };\n 'command/run': { commandId: CommandId; name: string; args?: string; source: CommandSource; };\n 'command/done': { commandId: CommandId; kind: 'success' | 'error'; text?: string; sourceEventSeq?: import('@qilin-agent/session/types').SessionSeq; };\n 'image/offload': { targets: ImageOffloadTarget[]; };\n 'session/title': SessionTitleEventData;\n 'todo/write': { todos: TodoItem[]; };\n 'model/selection': ModelSelection;\n 'permission/preset': { preset: string; };\n 'subagent/descriptor': SubagentDescriptorData;\n 'subagent/catalog': SubagentCatalogEvent;\n 'feedback/record': FeedbackRecord;\n 'team/member': { version: 2; teamId: TeamId; member: TeamMemberSnapshot; };\n 'team/task': { version: 2; teamId: TeamId; task: TeamTaskSnapshot; };\n 'team/message/queued': { version: 2; teamId: TeamId; message: TeamMessageSnapshot; };\n 'team/message/delivered': { version: 2; teamId: TeamId; messageId: TeamMessageId; targetId: SessionId; };\n 'goal/change': GoalChangeMeta;\n 'feedback/message-put': MessageFeedbackPut;\n 'feedback/message-delete': MessageFeedbackDelete;\n 'schedule/change': ScheduleChange;\n 'compaction/start': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; };\n 'compaction/summary': { compactionId: CompactionId; sourceCommandId?: CommandId; summary: ContentBlock[]; shadowedRange: { start: SessionSeq; end: SessionSeq; }; shadowedSeqs: SessionSeq[]; shadowedTokenCount: number; provider: string; model: string; maxTokens?: number; usage?: TokenUsage; } & ({ rawOutput: ContentBlock[]; llmStreamCall: true; } | { rawOutput?: ContentBlock[]; llmStreamCall?: never; });\n 'compaction/end': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; error?: string; };\n 'compaction/prune': { shadowedRange: { start: SessionSeq; end: SessionSeq; }; shadowedSeqs: SessionSeq[]; shadowedTokenCount: number; };\n}"
|
|
2153
2153
|
},
|
|
2154
2154
|
{
|
|
2155
2155
|
"name": "SessionEventType",
|
|
@@ -2209,7 +2209,7 @@ export const TYPERT = {
|
|
|
2209
2209
|
},
|
|
2210
2210
|
{
|
|
2211
2211
|
"name": "SubagentCatalogEvent",
|
|
2212
|
-
"declaration": "export type SubagentCatalogEvent = { readonly childId: SessionId; readonly childCreatedAt: number; } & (({ readonly version: 0; } & KnownCatalogMode) | ({ readonly version: 1; } & (KnownCatalogMode | { readonly mode: 'unknown'; readonly label?: string; })));"
|
|
2212
|
+
"declaration": "export type SubagentCatalogEvent = { readonly childId: SessionId; readonly childCreatedAt: number; } & (({ readonly version: 0; } & KnownCatalogMode) | ({ readonly version: 1; } & (KnownCatalogMode | { readonly mode: 'unknown'; readonly label?: string; })) | { readonly version: 2; readonly mode: 'external'; readonly label?: string; });"
|
|
2213
2213
|
},
|
|
2214
2214
|
{
|
|
2215
2215
|
"name": "SubagentDescriptorBase",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qilin-agent/kylin-host-runner",
|
|
3
3
|
"description": "Dynamic package definition registry, host-half sandbox lifecycle, and invoke handler table for model-mounted dual-half packages",
|
|
4
|
-
"version": "3.1.
|
|
4
|
+
"version": "3.1.4",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -48,29 +48,29 @@
|
|
|
48
48
|
"license": "MIT",
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"zod": "^4.4.3",
|
|
51
|
-
"@qilin-agent/util-values": "3.1.
|
|
51
|
+
"@qilin-agent/util-values": "3.1.4",
|
|
52
52
|
"@qilin-agent/schemastery": "~3.18.3"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"@qilin-agent/kylin": "~4.0.3",
|
|
56
|
-
"@qilin-agent/
|
|
57
|
-
"@qilin-agent/scope": "3.1.
|
|
58
|
-
"@qilin-agent/agent": "3.1.
|
|
59
|
-
"@qilin-agent/session": "3.1.
|
|
60
|
-
"@qilin-agent/
|
|
61
|
-
"@qilin-agent/
|
|
62
|
-
"@qilin-agent/
|
|
56
|
+
"@qilin-agent/llm": "3.1.4",
|
|
57
|
+
"@qilin-agent/scope": "3.1.4",
|
|
58
|
+
"@qilin-agent/agent": "3.1.4",
|
|
59
|
+
"@qilin-agent/session": "3.1.4",
|
|
60
|
+
"@qilin-agent/tools": "3.1.4",
|
|
61
|
+
"@qilin-agent/brand": "3.1.4",
|
|
62
|
+
"@qilin-agent/typert-protocol": "3.1.4"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@qilin-agent/
|
|
66
|
-
"@qilin-agent/
|
|
67
|
-
"@qilin-agent/brand": "3.1.
|
|
65
|
+
"@qilin-agent/agent": "3.1.4",
|
|
66
|
+
"@qilin-agent/api-gateway": "3.1.4",
|
|
67
|
+
"@qilin-agent/brand": "3.1.4",
|
|
68
68
|
"@qilin-agent/kylin": "~4.0.3",
|
|
69
|
-
"@qilin-agent/llm": "3.1.3",
|
|
70
69
|
"@qilin-agent/kylin-plugin-timer": "~1.1.5",
|
|
71
|
-
"@qilin-agent/scope": "3.1.
|
|
72
|
-
"@qilin-agent/
|
|
73
|
-
"@qilin-agent/
|
|
74
|
-
"@qilin-agent/
|
|
70
|
+
"@qilin-agent/scope": "3.1.4",
|
|
71
|
+
"@qilin-agent/llm": "3.1.4",
|
|
72
|
+
"@qilin-agent/session": "3.1.4",
|
|
73
|
+
"@qilin-agent/typert-protocol": "3.1.4",
|
|
74
|
+
"@qilin-agent/tools": "3.1.4"
|
|
75
75
|
}
|
|
76
76
|
}
|