@qilin-agent/commands 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 +25 -25
- package/lib/typert.host.js +4 -4
- package/package.json +17 -17
package/README.i18n.yaml
CHANGED
|
@@ -5,72 +5,72 @@
|
|
|
5
5
|
/:
|
|
6
6
|
en: d331b9706513154d
|
|
7
7
|
zh: 20e08461c498d058
|
|
8
|
-
/qilin-commands:
|
|
9
|
-
en:
|
|
10
|
-
zh:
|
|
11
|
-
/qilin-commands/summary:
|
|
8
|
+
/qilin-agent-commands:
|
|
9
|
+
en: a63d13c28e2e727b
|
|
10
|
+
zh: d4f574616d744448
|
|
11
|
+
/qilin-agent-commands/summary:
|
|
12
12
|
en: 99c235f3b2ddbeba
|
|
13
13
|
zh: 1c057688521c5013
|
|
14
|
-
/qilin-commands/table-of-contents:
|
|
14
|
+
/qilin-agent-commands/table-of-contents:
|
|
15
15
|
en: d152484eb41ac6b4
|
|
16
16
|
zh: 09388d293f9be9cb
|
|
17
|
-
/qilin-commands/use-this-package:
|
|
17
|
+
/qilin-agent-commands/use-this-package:
|
|
18
18
|
en: 6eee80c31dad122b
|
|
19
19
|
zh: 8f261f844a22ddad
|
|
20
|
-
/qilin-commands/use-this-package/registering-a-command:
|
|
20
|
+
/qilin-agent-commands/use-this-package/registering-a-command:
|
|
21
21
|
en: 81cefbf12580c26a
|
|
22
22
|
zh: 01c49d94aca89a07
|
|
23
|
-
/qilin-commands/use-this-package/command-syntax:
|
|
23
|
+
/qilin-agent-commands/use-this-package/command-syntax:
|
|
24
24
|
en: f9160436da4939e7
|
|
25
25
|
zh: 90af200afaf3bb4c
|
|
26
|
-
/qilin-commands/use-this-package/agent-scoped-commands:
|
|
26
|
+
/qilin-agent-commands/use-this-package/agent-scoped-commands:
|
|
27
27
|
en: b2e46875757e31c8
|
|
28
28
|
zh: 6f97db278fcbc58a
|
|
29
|
-
/qilin-commands/use-this-package/attachments:
|
|
29
|
+
/qilin-agent-commands/use-this-package/attachments:
|
|
30
30
|
en: 5239ef9c245c3a6b
|
|
31
31
|
zh: 34e2f89e4e7f5554
|
|
32
|
-
/qilin-commands/use-this-package/dispatching-from-an-adapter:
|
|
32
|
+
/qilin-agent-commands/use-this-package/dispatching-from-an-adapter:
|
|
33
33
|
en: a5c6aecf74468137
|
|
34
34
|
zh: 5548d846d600d29a
|
|
35
|
-
/qilin-commands/use-this-package/cancellation:
|
|
35
|
+
/qilin-agent-commands/use-this-package/cancellation:
|
|
36
36
|
en: ee26e9855ce39626
|
|
37
37
|
zh: 7c092436d03b84a9
|
|
38
|
-
/qilin-commands/understand-the-implementation:
|
|
38
|
+
/qilin-agent-commands/understand-the-implementation:
|
|
39
39
|
en: 063b49f26f48d628
|
|
40
40
|
zh: 2ec899aa6f01359f
|
|
41
|
-
/qilin-commands/understand-the-implementation/source-map:
|
|
41
|
+
/qilin-agent-commands/understand-the-implementation/source-map:
|
|
42
42
|
en: 1617729234228bb0
|
|
43
43
|
zh: 3bee55cd286212e3
|
|
44
|
-
/qilin-commands/understand-the-implementation/lifecycle-events:
|
|
44
|
+
/qilin-agent-commands/understand-the-implementation/lifecycle-events:
|
|
45
45
|
en: c9fcc06089f8035d
|
|
46
46
|
zh: 74072476994a2093
|
|
47
|
-
/qilin-commands/understand-the-implementation/scoping:
|
|
47
|
+
/qilin-agent-commands/understand-the-implementation/scoping:
|
|
48
48
|
en: d2d9d05bb5efbec4
|
|
49
49
|
zh: 85ab0abcf728c56d
|
|
50
|
-
/qilin-commands/understand-the-implementation/attachment-admission:
|
|
50
|
+
/qilin-agent-commands/understand-the-implementation/attachment-admission:
|
|
51
51
|
en: ee0efa5308dcf1e3
|
|
52
52
|
zh: da5a1d938301426c
|
|
53
|
-
/qilin-commands/further-exploration:
|
|
53
|
+
/qilin-agent-commands/further-exploration:
|
|
54
54
|
en: 2ca86ec1b21240d0
|
|
55
55
|
zh: 2e44e52223d0994c
|
|
56
|
-
/qilin-commands/model-experience:
|
|
56
|
+
/qilin-agent-commands/model-experience:
|
|
57
57
|
en: 215e7ba838619b7b
|
|
58
58
|
zh: a311da3843709f90
|
|
59
|
-
/qilin-commands/model-experience/direct-human-commands:
|
|
59
|
+
/qilin-agent-commands/model-experience/direct-human-commands:
|
|
60
60
|
en: 47824d39a7117a5c
|
|
61
61
|
zh: 05fefe83ee7f8ad6
|
|
62
|
-
/qilin-commands/model-experience/direct-human-commands/what-the-model-sees:
|
|
62
|
+
/qilin-agent-commands/model-experience/direct-human-commands/what-the-model-sees:
|
|
63
63
|
en: 46ea08932476bd6d
|
|
64
64
|
zh: 67160ce182dc3492
|
|
65
|
-
/qilin-commands/model-experience/direct-human-commands/token-effect:
|
|
65
|
+
/qilin-agent-commands/model-experience/direct-human-commands/token-effect:
|
|
66
66
|
en: d212d42f4315c80c
|
|
67
67
|
zh: 433dd07e1a167f12
|
|
68
|
-
/qilin-commands/model-experience/direct-human-commands/kv-cache-effect:
|
|
68
|
+
/qilin-agent-commands/model-experience/direct-human-commands/kv-cache-effect:
|
|
69
69
|
en: a0683fff79d40075
|
|
70
70
|
zh: 3d14d36c8a640031
|
|
71
|
-
/qilin-commands/known-limitations-and-deferred-work:
|
|
71
|
+
/qilin-agent-commands/known-limitations-and-deferred-work:
|
|
72
72
|
en: 7e930763024d2644
|
|
73
73
|
zh: 351bbea360cab6d3
|
|
74
|
-
/qilin-commands/known-limitations-and-deferred-work/dev-note:
|
|
74
|
+
/qilin-agent-commands/known-limitations-and-deferred-work/dev-note:
|
|
75
75
|
en: e67f633dc6fe7773
|
|
76
76
|
zh: 3bb0c20c93f16f98
|
package/lib/typert.host.js
CHANGED
|
@@ -510,7 +510,7 @@ export const TYPERT = {
|
|
|
510
510
|
},
|
|
511
511
|
{
|
|
512
512
|
"name": "MessageSourceMap",
|
|
513
|
-
"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}"
|
|
513
|
+
"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}"
|
|
514
514
|
},
|
|
515
515
|
{
|
|
516
516
|
"name": "ModelMessageSource",
|
|
@@ -538,7 +538,7 @@ export const TYPERT = {
|
|
|
538
538
|
},
|
|
539
539
|
{
|
|
540
540
|
"name": "PtcDispatchEventData",
|
|
541
|
-
"declaration": "export interface PtcDispatchEventData extends PtcDispatchStartEventData {\n isError: boolean;\n content: ContentBlock[];\n error?: { name: string; code: string; reason?: string; };\n}"
|
|
541
|
+
"declaration": "export interface PtcDispatchEventData extends PtcDispatchStartEventData {\n isError: boolean;\n content: ContentBlock[];\n meta?: JsonValue;\n error?: { name: string; code: string; reason?: string; };\n}"
|
|
542
542
|
},
|
|
543
543
|
{
|
|
544
544
|
"name": "PtcDispatchStartEventData",
|
|
@@ -598,7 +598,7 @@ export const TYPERT = {
|
|
|
598
598
|
},
|
|
599
599
|
{
|
|
600
600
|
"name": "SessionEventMap",
|
|
601
|
-
"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 '
|
|
601
|
+
"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}"
|
|
602
602
|
},
|
|
603
603
|
{
|
|
604
604
|
"name": "SessionEventType",
|
|
@@ -658,7 +658,7 @@ export const TYPERT = {
|
|
|
658
658
|
},
|
|
659
659
|
{
|
|
660
660
|
"name": "SubagentCatalogEvent",
|
|
661
|
-
"declaration": "export type SubagentCatalogEvent = { readonly childId: SessionId; readonly childCreatedAt: number; } & (({ readonly version: 0; } & KnownCatalogMode) | ({ readonly version: 1; } & (KnownCatalogMode | { readonly mode: 'unknown'; readonly label?: string; })));"
|
|
661
|
+
"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; });"
|
|
662
662
|
},
|
|
663
663
|
{
|
|
664
664
|
"name": "SubagentDescriptorBase",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qilin-agent/commands",
|
|
3
3
|
"description": "Plugin-owned human command registry for QiLin UIs",
|
|
4
|
-
"version": "3.1.
|
|
4
|
+
"version": "3.1.4",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -51,27 +51,27 @@
|
|
|
51
51
|
],
|
|
52
52
|
"license": "MIT",
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"@qilin-agent/attachment": "3.1.
|
|
55
|
-
"@qilin-agent/brand": "3.1.
|
|
56
|
-
"@qilin-agent/
|
|
57
|
-
"@qilin-agent/
|
|
58
|
-
"@qilin-agent/
|
|
59
|
-
"@qilin-agent/
|
|
60
|
-
"@qilin-agent/
|
|
61
|
-
"@qilin-agent/
|
|
54
|
+
"@qilin-agent/attachment": "3.1.4",
|
|
55
|
+
"@qilin-agent/brand": "3.1.4",
|
|
56
|
+
"@qilin-agent/scope": "3.1.4",
|
|
57
|
+
"@qilin-agent/session": "3.1.4",
|
|
58
|
+
"@qilin-agent/agent": "3.1.4",
|
|
59
|
+
"@qilin-agent/typert-protocol": "3.1.4",
|
|
60
|
+
"@qilin-agent/llm": "3.1.4",
|
|
61
|
+
"@qilin-agent/kylin": "~4.0.3"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"zod": "^4.4.3",
|
|
65
|
-
"@qilin-agent/util-crypto": "3.1.
|
|
65
|
+
"@qilin-agent/util-crypto": "3.1.4"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@qilin-agent/agent": "3.1.
|
|
69
|
-
"@qilin-agent/brand": "3.1.
|
|
70
|
-
"@qilin-agent/attachment": "3.1.
|
|
71
|
-
"@qilin-agent/llm": "3.1.
|
|
72
|
-
"@qilin-agent/scope": "3.1.
|
|
73
|
-
"@qilin-agent/session": "3.1.
|
|
74
|
-
"@qilin-agent/typert-protocol": "3.1.
|
|
68
|
+
"@qilin-agent/agent": "3.1.4",
|
|
69
|
+
"@qilin-agent/brand": "3.1.4",
|
|
70
|
+
"@qilin-agent/attachment": "3.1.4",
|
|
71
|
+
"@qilin-agent/llm": "3.1.4",
|
|
72
|
+
"@qilin-agent/scope": "3.1.4",
|
|
73
|
+
"@qilin-agent/session": "3.1.4",
|
|
74
|
+
"@qilin-agent/typert-protocol": "3.1.4",
|
|
75
75
|
"@qilin-agent/kylin": "~4.0.3"
|
|
76
76
|
}
|
|
77
77
|
}
|