@agentdock/wire 0.0.11 → 0.0.12
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/dist/agentCapabilities.d.ts +29 -2
- package/dist/agentCapabilities.d.ts.map +1 -1
- package/dist/agentCapabilities.js +113 -21
- package/dist/agentCapabilities.js.map +1 -1
- package/dist/agentInstallGuide.d.ts.map +1 -1
- package/dist/agentInstallGuide.js +18 -0
- package/dist/agentInstallGuide.js.map +1 -1
- package/dist/envelope.d.ts +48 -6
- package/dist/envelope.d.ts.map +1 -1
- package/dist/envelope.js +14 -4
- package/dist/envelope.js.map +1 -1
- package/dist/events.d.ts +39 -6
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +10 -1
- package/dist/events.js.map +1 -1
- package/dist/features.d.ts +35 -0
- package/dist/features.d.ts.map +1 -0
- package/dist/features.js +53 -0
- package/dist/features.js.map +1 -0
- package/dist/index.d.ts +17 -18
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -11
- package/dist/index.js.map +1 -1
- package/dist/interactionEvents.d.ts +43 -4
- package/dist/interactionEvents.d.ts.map +1 -1
- package/dist/interactionEvents.js +16 -0
- package/dist/interactionEvents.js.map +1 -1
- package/dist/legacyProtocol.d.ts +40 -40
- package/dist/machine.d.ts +34 -0
- package/dist/machine.d.ts.map +1 -1
- package/dist/machine.js +15 -0
- package/dist/machine.js.map +1 -1
- package/dist/messageMeta.d.ts +14 -7
- package/dist/messageMeta.d.ts.map +1 -1
- package/dist/messageMeta.js +19 -3
- package/dist/messageMeta.js.map +1 -1
- package/dist/messages.d.ts +146 -56
- package/dist/messages.d.ts.map +1 -1
- package/dist/ops.d.ts +206 -0
- package/dist/ops.d.ts.map +1 -0
- package/dist/ops.js +74 -0
- package/dist/ops.js.map +1 -0
- package/dist/rpc.d.ts +121 -17
- package/dist/rpc.d.ts.map +1 -1
- package/dist/rpc.js +29 -12
- package/dist/rpc.js.map +1 -1
- package/dist/spawnError.d.ts +3 -3
- package/dist/stats.d.ts +977 -33
- package/dist/stats.d.ts.map +1 -1
- package/dist/stats.js +36 -0
- package/dist/stats.js.map +1 -1
- package/dist/sync.d.ts +69 -8
- package/dist/sync.d.ts.map +1 -1
- package/dist/sync.js +7 -0
- package/dist/sync.js.map +1 -1
- package/package.json +3 -2
- package/dist/agentModels.d.ts +0 -23
- package/dist/agentModels.d.ts.map +0 -1
- package/dist/agentModels.js +0 -77
- package/dist/agentModels.js.map +0 -1
- package/dist/team.d.ts +0 -1557
- package/dist/team.d.ts.map +0 -1
- package/dist/team.js +0 -93
- package/dist/team.js.map +0 -1
|
@@ -3,14 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Web UI uses this to conditionally show/hide spawn parameters
|
|
5
5
|
* (model, systemPrompt, tools, permissions, etc.) based on the selected agent.
|
|
6
|
-
*
|
|
7
|
-
* Model options live in agentModels.ts (separate concern).
|
|
8
6
|
*/
|
|
9
7
|
import type { ControlLevelType } from './controlLevel.js';
|
|
10
8
|
export interface AgentPermissionMode {
|
|
11
9
|
readonly value: string;
|
|
12
10
|
readonly labelKey: string;
|
|
13
11
|
}
|
|
12
|
+
export interface AgentModelOption {
|
|
13
|
+
readonly value: string;
|
|
14
|
+
readonly label: string;
|
|
15
|
+
}
|
|
14
16
|
export interface AgentCapability {
|
|
15
17
|
readonly controlLevel: ControlLevelType;
|
|
16
18
|
readonly supportsModel: boolean;
|
|
@@ -21,10 +23,35 @@ export interface AgentCapability {
|
|
|
21
23
|
readonly supportsResume: boolean;
|
|
22
24
|
readonly supportsMaxTurns: boolean;
|
|
23
25
|
readonly supportsSlashClear: boolean;
|
|
26
|
+
readonly supportsSlashCompact: boolean;
|
|
27
|
+
/** Whether the agent supports switching model mid-session (without restart). */
|
|
28
|
+
readonly supportsInSessionModelSwitch: boolean;
|
|
29
|
+
/** Whether the agent supports switching permission mode mid-session (without restart). */
|
|
30
|
+
readonly supportsInSessionModeSwitch: boolean;
|
|
31
|
+
/** ACP agent — model/mode lists come from daemon cache, not static config. */
|
|
32
|
+
readonly usesAcpConfig: boolean;
|
|
33
|
+
/** Static model options for non-ACP agents (Claude, Codex). Empty = use server catalog or ACP. */
|
|
34
|
+
readonly staticModels: readonly AgentModelOption[];
|
|
24
35
|
/** Permission modes available for this agent. Empty = no selector. */
|
|
25
36
|
readonly permissionModes: readonly AgentPermissionMode[];
|
|
37
|
+
/** Default permission mode value for this agent. */
|
|
38
|
+
readonly defaultPermissionMode: string;
|
|
26
39
|
}
|
|
27
40
|
export declare const AGENT_CAPABILITIES: Readonly<Record<string, AgentCapability>>;
|
|
41
|
+
/** Update dynamic modes for an ACP agent (called by daemon when session reports modes). */
|
|
42
|
+
export declare function updateDynamicModes(agentType: string, modes: readonly {
|
|
43
|
+
id: string;
|
|
44
|
+
label: string;
|
|
45
|
+
}[]): void;
|
|
46
|
+
/** Get dynamic modes for an agent, or null if none reported. */
|
|
47
|
+
export declare function getDynamicModes(agentType: string): readonly AgentPermissionMode[] | null;
|
|
28
48
|
/** Get capability for an agent, falling back to minimal (Level 0) for unknown agents. */
|
|
29
49
|
export declare function getAgentCapability(agentType: string): AgentCapability;
|
|
50
|
+
/**
|
|
51
|
+
* Normalize a Claude model ID so that dot-separated versions (e.g. `claude-opus-4.6`)
|
|
52
|
+
* match the hyphen-separated form returned by the API (e.g. `claude-opus-4-6`).
|
|
53
|
+
*
|
|
54
|
+
* Safe to call on any string — non-Claude IDs pass through unchanged.
|
|
55
|
+
*/
|
|
56
|
+
export declare function normalizeModelId(id: string): string;
|
|
30
57
|
//# sourceMappingURL=agentCapabilities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agentCapabilities.d.ts","sourceRoot":"","sources":["../src/agentCapabilities.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"agentCapabilities.d.ts","sourceRoot":"","sources":["../src/agentCapabilities.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,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AC,CA+H/D,CAAC;AAMX,2FAA2F;AAC3F,wBAAgB,kBAAkB,CAChC,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,SAAS;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,EAAE,GAC9C,IAAI,CAMN;AAED,gEAAgE;AAChE,wBAAgB,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,mBAAmB,EAAE,GAAG,IAAI,CAExF;AAED,yFAAyF;AACzF,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,MAAM,GAAG,eAAe,CAqBrE;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,CAEnD"}
|
|
@@ -3,24 +3,20 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Web UI uses this to conditionally show/hide spawn parameters
|
|
5
5
|
* (model, systemPrompt, tools, permissions, etc.) based on the selected agent.
|
|
6
|
-
*
|
|
7
|
-
* Model options live in agentModels.ts (separate concern).
|
|
8
6
|
*/
|
|
9
7
|
// ── Per-agent permission modes ──────────────────────────────────────
|
|
10
8
|
const CLAUDE_PERMISSION_MODES = [
|
|
11
9
|
{ value: 'default', labelKey: 'permissionDefault' },
|
|
12
10
|
{ value: 'acceptEdits', labelKey: 'permissionAutoEdit' },
|
|
11
|
+
{ value: 'auto', labelKey: 'permissionAuto' },
|
|
13
12
|
{ value: 'plan', labelKey: 'permissionPlan' },
|
|
14
13
|
{ value: 'bypassPermissions', labelKey: 'permissionFullAuto' },
|
|
15
14
|
];
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
{ value: '
|
|
19
|
-
{ value: '
|
|
20
|
-
|
|
21
|
-
const CODEX_PERMISSION_MODES = [
|
|
22
|
-
{ value: 'default', labelKey: 'permissionDefault' },
|
|
23
|
-
{ value: 'bypassPermissions', labelKey: 'permissionFullAuto' },
|
|
15
|
+
// ── Per-agent static models (non-ACP agents) ──────────────────────
|
|
16
|
+
const CLAUDE_MODELS = [
|
|
17
|
+
{ value: 'sonnet', label: 'Sonnet' },
|
|
18
|
+
{ value: 'opus', label: 'Opus' },
|
|
19
|
+
{ value: 'haiku', label: 'Haiku' },
|
|
24
20
|
];
|
|
25
21
|
// ── Capability matrix ───────────────────────────────────────────────
|
|
26
22
|
export const AGENT_CAPABILITIES = {
|
|
@@ -34,7 +30,13 @@ export const AGENT_CAPABILITIES = {
|
|
|
34
30
|
supportsResume: true,
|
|
35
31
|
supportsMaxTurns: true,
|
|
36
32
|
supportsSlashClear: true,
|
|
33
|
+
supportsSlashCompact: true,
|
|
34
|
+
supportsInSessionModelSwitch: true,
|
|
35
|
+
supportsInSessionModeSwitch: true,
|
|
36
|
+
usesAcpConfig: false,
|
|
37
|
+
staticModels: CLAUDE_MODELS,
|
|
37
38
|
permissionModes: CLAUDE_PERMISSION_MODES,
|
|
39
|
+
defaultPermissionMode: 'default',
|
|
38
40
|
},
|
|
39
41
|
copilot: {
|
|
40
42
|
controlLevel: 3,
|
|
@@ -43,10 +45,16 @@ export const AGENT_CAPABILITIES = {
|
|
|
43
45
|
supportsToolConfig: true,
|
|
44
46
|
supportsMcpConfig: true,
|
|
45
47
|
supportsPermissionMode: true,
|
|
46
|
-
supportsResume:
|
|
48
|
+
supportsResume: false,
|
|
47
49
|
supportsMaxTurns: false,
|
|
48
|
-
supportsSlashClear:
|
|
49
|
-
|
|
50
|
+
supportsSlashClear: true,
|
|
51
|
+
supportsSlashCompact: false,
|
|
52
|
+
supportsInSessionModelSwitch: true,
|
|
53
|
+
supportsInSessionModeSwitch: true,
|
|
54
|
+
usesAcpConfig: true,
|
|
55
|
+
staticModels: [],
|
|
56
|
+
permissionModes: [],
|
|
57
|
+
defaultPermissionMode: '',
|
|
50
58
|
},
|
|
51
59
|
opencode: {
|
|
52
60
|
controlLevel: 3,
|
|
@@ -54,11 +62,17 @@ export const AGENT_CAPABILITIES = {
|
|
|
54
62
|
supportsSystemPrompt: true,
|
|
55
63
|
supportsToolConfig: true,
|
|
56
64
|
supportsMcpConfig: true,
|
|
57
|
-
supportsPermissionMode:
|
|
58
|
-
supportsResume:
|
|
65
|
+
supportsPermissionMode: false,
|
|
66
|
+
supportsResume: false,
|
|
59
67
|
supportsMaxTurns: false,
|
|
60
|
-
supportsSlashClear:
|
|
61
|
-
|
|
68
|
+
supportsSlashClear: true,
|
|
69
|
+
supportsSlashCompact: false,
|
|
70
|
+
supportsInSessionModelSwitch: true,
|
|
71
|
+
supportsInSessionModeSwitch: false,
|
|
72
|
+
usesAcpConfig: true,
|
|
73
|
+
staticModels: [],
|
|
74
|
+
permissionModes: [],
|
|
75
|
+
defaultPermissionMode: '',
|
|
62
76
|
},
|
|
63
77
|
codex: {
|
|
64
78
|
controlLevel: 2,
|
|
@@ -69,11 +83,35 @@ export const AGENT_CAPABILITIES = {
|
|
|
69
83
|
supportsPermissionMode: true,
|
|
70
84
|
supportsResume: true,
|
|
71
85
|
supportsMaxTurns: false,
|
|
72
|
-
supportsSlashClear:
|
|
73
|
-
|
|
86
|
+
supportsSlashClear: true,
|
|
87
|
+
supportsSlashCompact: false,
|
|
88
|
+
supportsInSessionModelSwitch: true,
|
|
89
|
+
supportsInSessionModeSwitch: true,
|
|
90
|
+
usesAcpConfig: true,
|
|
91
|
+
staticModels: [],
|
|
92
|
+
permissionModes: [],
|
|
93
|
+
defaultPermissionMode: '',
|
|
74
94
|
},
|
|
75
95
|
gemini: {
|
|
76
|
-
controlLevel:
|
|
96
|
+
controlLevel: 3,
|
|
97
|
+
supportsModel: true,
|
|
98
|
+
supportsSystemPrompt: false,
|
|
99
|
+
supportsToolConfig: false,
|
|
100
|
+
supportsMcpConfig: true,
|
|
101
|
+
supportsPermissionMode: false,
|
|
102
|
+
supportsResume: false,
|
|
103
|
+
supportsMaxTurns: false,
|
|
104
|
+
supportsSlashClear: true,
|
|
105
|
+
supportsSlashCompact: false,
|
|
106
|
+
supportsInSessionModelSwitch: false,
|
|
107
|
+
supportsInSessionModeSwitch: false,
|
|
108
|
+
usesAcpConfig: true,
|
|
109
|
+
staticModels: [],
|
|
110
|
+
permissionModes: [],
|
|
111
|
+
defaultPermissionMode: 'bypassPermissions',
|
|
112
|
+
},
|
|
113
|
+
hermes: {
|
|
114
|
+
controlLevel: 3,
|
|
77
115
|
supportsModel: true,
|
|
78
116
|
supportsSystemPrompt: false,
|
|
79
117
|
supportsToolConfig: false,
|
|
@@ -81,10 +119,49 @@ export const AGENT_CAPABILITIES = {
|
|
|
81
119
|
supportsPermissionMode: false,
|
|
82
120
|
supportsResume: false,
|
|
83
121
|
supportsMaxTurns: false,
|
|
84
|
-
supportsSlashClear:
|
|
122
|
+
supportsSlashClear: true,
|
|
123
|
+
supportsSlashCompact: false,
|
|
124
|
+
supportsInSessionModelSwitch: false,
|
|
125
|
+
supportsInSessionModeSwitch: false,
|
|
126
|
+
usesAcpConfig: true,
|
|
127
|
+
staticModels: [],
|
|
85
128
|
permissionModes: [],
|
|
129
|
+
defaultPermissionMode: '',
|
|
130
|
+
},
|
|
131
|
+
openclaw: {
|
|
132
|
+
controlLevel: 3,
|
|
133
|
+
supportsModel: true,
|
|
134
|
+
supportsSystemPrompt: false,
|
|
135
|
+
supportsToolConfig: false,
|
|
136
|
+
supportsMcpConfig: false,
|
|
137
|
+
supportsPermissionMode: false,
|
|
138
|
+
supportsResume: false,
|
|
139
|
+
supportsMaxTurns: false,
|
|
140
|
+
supportsSlashClear: true,
|
|
141
|
+
supportsSlashCompact: false,
|
|
142
|
+
supportsInSessionModelSwitch: false,
|
|
143
|
+
supportsInSessionModeSwitch: false,
|
|
144
|
+
usesAcpConfig: true,
|
|
145
|
+
staticModels: [],
|
|
146
|
+
permissionModes: [],
|
|
147
|
+
defaultPermissionMode: '',
|
|
86
148
|
},
|
|
87
149
|
};
|
|
150
|
+
// ── Dynamic mode overrides (from ACP configOptions at runtime) ─────
|
|
151
|
+
let dynamicModes = {};
|
|
152
|
+
/** Update dynamic modes for an ACP agent (called by daemon when session reports modes). */
|
|
153
|
+
export function updateDynamicModes(agentType, modes) {
|
|
154
|
+
if (modes.length === 0)
|
|
155
|
+
return;
|
|
156
|
+
dynamicModes = {
|
|
157
|
+
...dynamicModes,
|
|
158
|
+
[agentType]: modes.map((m) => ({ value: m.id, labelKey: m.label })),
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
/** Get dynamic modes for an agent, or null if none reported. */
|
|
162
|
+
export function getDynamicModes(agentType) {
|
|
163
|
+
return dynamicModes[agentType] ?? null;
|
|
164
|
+
}
|
|
88
165
|
/** Get capability for an agent, falling back to minimal (Level 0) for unknown agents. */
|
|
89
166
|
export function getAgentCapability(agentType) {
|
|
90
167
|
return (AGENT_CAPABILITIES[agentType] ?? {
|
|
@@ -97,7 +174,22 @@ export function getAgentCapability(agentType) {
|
|
|
97
174
|
supportsResume: false,
|
|
98
175
|
supportsMaxTurns: false,
|
|
99
176
|
supportsSlashClear: false,
|
|
177
|
+
supportsSlashCompact: false,
|
|
178
|
+
supportsInSessionModelSwitch: false,
|
|
179
|
+
supportsInSessionModeSwitch: false,
|
|
180
|
+
usesAcpConfig: false,
|
|
181
|
+
staticModels: [],
|
|
100
182
|
permissionModes: [],
|
|
183
|
+
defaultPermissionMode: 'default',
|
|
101
184
|
});
|
|
102
185
|
}
|
|
186
|
+
/**
|
|
187
|
+
* Normalize a Claude model ID so that dot-separated versions (e.g. `claude-opus-4.6`)
|
|
188
|
+
* match the hyphen-separated form returned by the API (e.g. `claude-opus-4-6`).
|
|
189
|
+
*
|
|
190
|
+
* Safe to call on any string — non-Claude IDs pass through unchanged.
|
|
191
|
+
*/
|
|
192
|
+
export function normalizeModelId(id) {
|
|
193
|
+
return id.replace(/(\d+)\.(\d+)/g, '$1-$2');
|
|
194
|
+
}
|
|
103
195
|
//# sourceMappingURL=agentCapabilities.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agentCapabilities.js","sourceRoot":"","sources":["../src/agentCapabilities.ts"],"names":[],"mappings":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;;GAKG;AACH,MAAM,UAAU,gBAAgB,CAAC,EAAU;IACzC,OAAO,EAAE,CAAC,OAAO,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC;AAC9C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agentInstallGuide.d.ts","sourceRoot":"","sources":["../src/agentInstallGuide.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAE7C,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC;IACrD,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;AAED,eAAO,MAAM,mBAAmB,EAAE,QAAQ,CAAC,MAAM,CAAC,SAAS,EAAE,gBAAgB,CAAC,
|
|
1
|
+
{"version":3,"file":"agentInstallGuide.d.ts","sourceRoot":"","sources":["../src/agentInstallGuide.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAE7C,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC;IACrD,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;AAED,eAAO,MAAM,mBAAmB,EAAE,QAAQ,CAAC,MAAM,CAAC,SAAS,EAAE,gBAAgB,CAAC,CA4E7E,CAAC"}
|
|
@@ -50,6 +50,24 @@ export const AGENT_INSTALL_GUIDE = {
|
|
|
50
50
|
},
|
|
51
51
|
upgradeUrl: 'https://opencode.ai',
|
|
52
52
|
},
|
|
53
|
+
hermes: {
|
|
54
|
+
minVersion: '0.1.0',
|
|
55
|
+
install: {
|
|
56
|
+
darwin: 'npm install -g hermes-agent',
|
|
57
|
+
linux: 'npm install -g hermes-agent',
|
|
58
|
+
win32: 'npm install -g hermes-agent',
|
|
59
|
+
},
|
|
60
|
+
upgradeUrl: '',
|
|
61
|
+
},
|
|
62
|
+
openclaw: {
|
|
63
|
+
minVersion: '2026.4.0',
|
|
64
|
+
install: {
|
|
65
|
+
darwin: 'npm install -g openclaw',
|
|
66
|
+
linux: 'npm install -g openclaw',
|
|
67
|
+
win32: 'npm install -g openclaw',
|
|
68
|
+
},
|
|
69
|
+
upgradeUrl: 'https://docs.openclaw.ai',
|
|
70
|
+
},
|
|
53
71
|
custom: {
|
|
54
72
|
minVersion: '0.0.0',
|
|
55
73
|
install: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agentInstallGuide.js","sourceRoot":"","sources":["../src/agentInstallGuide.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAWH,MAAM,CAAC,MAAM,mBAAmB,GAAkD;IAChF,MAAM,EAAE;QACN,UAAU,EAAE,OAAO;QACnB,OAAO,EAAE;YACP,MAAM,EAAE,gDAAgD;YACxD,KAAK,EAAE,gDAAgD;YACvD,KAAK,EAAE,yCAAyC;SACjD;QACD,UAAU,EAAE,0CAA0C;KACvD;IACD,OAAO,EAAE;QACP,UAAU,EAAE,OAAO;QACnB,OAAO,EAAE;YACP,MAAM,EACJ,mIAAmI;YACrI,KAAK,EACH,mIAAmI;YACrI,KAAK,EACH,4HAA4H;SAC/H;QACD,UAAU,EAAE,sEAAsE;KACnF;IACD,KAAK,EAAE;QACL,UAAU,EAAE,QAAQ;QACpB,OAAO,EAAE;YACP,MAAM,EAAE,8BAA8B;YACtC,KAAK,EAAE,8BAA8B;YACrC,KAAK,EAAE,8BAA8B;SACtC;QACD,UAAU,EAAE,iCAAiC;KAC9C;IACD,MAAM,EAAE;QACN,UAAU,EAAE,OAAO;QACnB,OAAO,EAAE;YACP,MAAM,EAAE,mCAAmC;YAC3C,KAAK,EAAE,mCAAmC;YAC1C,KAAK,EAAE,mCAAmC;SAC3C;QACD,UAAU,EAAE,6CAA6C;KAC1D;IACD,QAAQ,EAAE;QACR,UAAU,EAAE,OAAO;QACnB,OAAO,EAAE;YACP,MAAM,EAAE,+CAA+C;YACvD,KAAK,EAAE,+CAA+C;YACtD,KAAK,EAAE,4BAA4B;SACpC;QACD,UAAU,EAAE,qBAAqB;KAClC;IACD,MAAM,EAAE;QACN,UAAU,EAAE,OAAO;QACnB,OAAO,EAAE;YACP,MAAM,EAAE,oDAAoD;YAC5D,KAAK,EAAE,oDAAoD;YAC3D,KAAK,EAAE,oDAAoD;SAC5D;QACD,UAAU,EAAE,EAAE;KACf;CACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"agentInstallGuide.js","sourceRoot":"","sources":["../src/agentInstallGuide.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAWH,MAAM,CAAC,MAAM,mBAAmB,GAAkD;IAChF,MAAM,EAAE;QACN,UAAU,EAAE,OAAO;QACnB,OAAO,EAAE;YACP,MAAM,EAAE,gDAAgD;YACxD,KAAK,EAAE,gDAAgD;YACvD,KAAK,EAAE,yCAAyC;SACjD;QACD,UAAU,EAAE,0CAA0C;KACvD;IACD,OAAO,EAAE;QACP,UAAU,EAAE,OAAO;QACnB,OAAO,EAAE;YACP,MAAM,EACJ,mIAAmI;YACrI,KAAK,EACH,mIAAmI;YACrI,KAAK,EACH,4HAA4H;SAC/H;QACD,UAAU,EAAE,sEAAsE;KACnF;IACD,KAAK,EAAE;QACL,UAAU,EAAE,QAAQ;QACpB,OAAO,EAAE;YACP,MAAM,EAAE,8BAA8B;YACtC,KAAK,EAAE,8BAA8B;YACrC,KAAK,EAAE,8BAA8B;SACtC;QACD,UAAU,EAAE,iCAAiC;KAC9C;IACD,MAAM,EAAE;QACN,UAAU,EAAE,OAAO;QACnB,OAAO,EAAE;YACP,MAAM,EAAE,mCAAmC;YAC3C,KAAK,EAAE,mCAAmC;YAC1C,KAAK,EAAE,mCAAmC;SAC3C;QACD,UAAU,EAAE,6CAA6C;KAC1D;IACD,QAAQ,EAAE;QACR,UAAU,EAAE,OAAO;QACnB,OAAO,EAAE;YACP,MAAM,EAAE,+CAA+C;YACvD,KAAK,EAAE,+CAA+C;YACtD,KAAK,EAAE,4BAA4B;SACpC;QACD,UAAU,EAAE,qBAAqB;KAClC;IACD,MAAM,EAAE;QACN,UAAU,EAAE,OAAO;QACnB,OAAO,EAAE;YACP,MAAM,EAAE,6BAA6B;YACrC,KAAK,EAAE,6BAA6B;YACpC,KAAK,EAAE,6BAA6B;SACrC;QACD,UAAU,EAAE,EAAE;KACf;IACD,QAAQ,EAAE;QACR,UAAU,EAAE,UAAU;QACtB,OAAO,EAAE;YACP,MAAM,EAAE,yBAAyB;YACjC,KAAK,EAAE,yBAAyB;YAChC,KAAK,EAAE,yBAAyB;SACjC;QACD,UAAU,EAAE,0BAA0B;KACvC;IACD,MAAM,EAAE;QACN,UAAU,EAAE,OAAO;QACnB,OAAO,EAAE;YACP,MAAM,EAAE,oDAAoD;YAC5D,KAAK,EAAE,oDAAoD;YAC3D,KAAK,EAAE,oDAAoD;SAC5D;QACD,UAAU,EAAE,EAAE;KACf;CACF,CAAC"}
|
package/dist/envelope.d.ts
CHANGED
|
@@ -63,13 +63,13 @@ export declare const SessionEnvelopeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
64
|
t: "tool-call-end";
|
|
65
65
|
call: string;
|
|
66
|
-
result?: string | undefined;
|
|
67
66
|
error?: boolean | undefined;
|
|
67
|
+
result?: string | undefined;
|
|
68
68
|
}, {
|
|
69
69
|
t: "tool-call-end";
|
|
70
70
|
call: string;
|
|
71
|
-
result?: string | undefined;
|
|
72
71
|
error?: boolean | undefined;
|
|
72
|
+
result?: string | undefined;
|
|
73
73
|
}>, z.ZodObject<{
|
|
74
74
|
t: z.ZodLiteral<"file">;
|
|
75
75
|
ref: z.ZodString;
|
|
@@ -245,14 +245,29 @@ export declare const SessionEnvelopeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
245
245
|
t: z.ZodLiteral<"permission-resolved">;
|
|
246
246
|
requestId: z.ZodString;
|
|
247
247
|
action: z.ZodEnum<["approve", "approve-all-edits", "approve-tool", "deny"]>;
|
|
248
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
248
249
|
}, "strip", z.ZodTypeAny, {
|
|
249
250
|
t: "permission-resolved";
|
|
250
251
|
requestId: string;
|
|
251
252
|
action: "approve" | "approve-all-edits" | "approve-tool" | "deny";
|
|
253
|
+
reason?: string | undefined;
|
|
252
254
|
}, {
|
|
253
255
|
t: "permission-resolved";
|
|
254
256
|
requestId: string;
|
|
255
257
|
action: "approve" | "approve-all-edits" | "approve-tool" | "deny";
|
|
258
|
+
reason?: string | undefined;
|
|
259
|
+
}>, z.ZodObject<{
|
|
260
|
+
t: z.ZodLiteral<"image">;
|
|
261
|
+
data: z.ZodString;
|
|
262
|
+
mediaType: z.ZodString;
|
|
263
|
+
}, "strip", z.ZodTypeAny, {
|
|
264
|
+
t: "image";
|
|
265
|
+
data: string;
|
|
266
|
+
mediaType: string;
|
|
267
|
+
}, {
|
|
268
|
+
t: "image";
|
|
269
|
+
data: string;
|
|
270
|
+
mediaType: string;
|
|
256
271
|
}>]>;
|
|
257
272
|
}, "strip", z.ZodTypeAny, {
|
|
258
273
|
id: string;
|
|
@@ -284,6 +299,7 @@ export declare const SessionEnvelopeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
284
299
|
t: "permission-resolved";
|
|
285
300
|
requestId: string;
|
|
286
301
|
action: "approve" | "approve-all-edits" | "approve-tool" | "deny";
|
|
302
|
+
reason?: string | undefined;
|
|
287
303
|
} | {
|
|
288
304
|
t: "text";
|
|
289
305
|
text: string;
|
|
@@ -301,8 +317,8 @@ export declare const SessionEnvelopeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
301
317
|
} | {
|
|
302
318
|
t: "tool-call-end";
|
|
303
319
|
call: string;
|
|
304
|
-
result?: string | undefined;
|
|
305
320
|
error?: boolean | undefined;
|
|
321
|
+
result?: string | undefined;
|
|
306
322
|
} | {
|
|
307
323
|
t: "file";
|
|
308
324
|
name: string;
|
|
@@ -330,6 +346,10 @@ export declare const SessionEnvelopeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
330
346
|
title?: string | undefined;
|
|
331
347
|
} | {
|
|
332
348
|
t: "stop";
|
|
349
|
+
} | {
|
|
350
|
+
t: "image";
|
|
351
|
+
data: string;
|
|
352
|
+
mediaType: string;
|
|
333
353
|
};
|
|
334
354
|
turn?: string | undefined;
|
|
335
355
|
subagent?: string | undefined;
|
|
@@ -363,6 +383,7 @@ export declare const SessionEnvelopeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
363
383
|
t: "permission-resolved";
|
|
364
384
|
requestId: string;
|
|
365
385
|
action: "approve" | "approve-all-edits" | "approve-tool" | "deny";
|
|
386
|
+
reason?: string | undefined;
|
|
366
387
|
} | {
|
|
367
388
|
t: "text";
|
|
368
389
|
text: string;
|
|
@@ -380,8 +401,8 @@ export declare const SessionEnvelopeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
380
401
|
} | {
|
|
381
402
|
t: "tool-call-end";
|
|
382
403
|
call: string;
|
|
383
|
-
result?: string | undefined;
|
|
384
404
|
error?: boolean | undefined;
|
|
405
|
+
result?: string | undefined;
|
|
385
406
|
} | {
|
|
386
407
|
t: "file";
|
|
387
408
|
name: string;
|
|
@@ -409,6 +430,10 @@ export declare const SessionEnvelopeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
409
430
|
title?: string | undefined;
|
|
410
431
|
} | {
|
|
411
432
|
t: "stop";
|
|
433
|
+
} | {
|
|
434
|
+
t: "image";
|
|
435
|
+
data: string;
|
|
436
|
+
mediaType: string;
|
|
412
437
|
};
|
|
413
438
|
turn?: string | undefined;
|
|
414
439
|
subagent?: string | undefined;
|
|
@@ -442,6 +467,7 @@ export declare const SessionEnvelopeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
442
467
|
t: "permission-resolved";
|
|
443
468
|
requestId: string;
|
|
444
469
|
action: "approve" | "approve-all-edits" | "approve-tool" | "deny";
|
|
470
|
+
reason?: string | undefined;
|
|
445
471
|
} | {
|
|
446
472
|
t: "text";
|
|
447
473
|
text: string;
|
|
@@ -459,8 +485,8 @@ export declare const SessionEnvelopeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
459
485
|
} | {
|
|
460
486
|
t: "tool-call-end";
|
|
461
487
|
call: string;
|
|
462
|
-
result?: string | undefined;
|
|
463
488
|
error?: boolean | undefined;
|
|
489
|
+
result?: string | undefined;
|
|
464
490
|
} | {
|
|
465
491
|
t: "file";
|
|
466
492
|
name: string;
|
|
@@ -488,6 +514,10 @@ export declare const SessionEnvelopeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
488
514
|
title?: string | undefined;
|
|
489
515
|
} | {
|
|
490
516
|
t: "stop";
|
|
517
|
+
} | {
|
|
518
|
+
t: "image";
|
|
519
|
+
data: string;
|
|
520
|
+
mediaType: string;
|
|
491
521
|
};
|
|
492
522
|
turn?: string | undefined;
|
|
493
523
|
subagent?: string | undefined;
|
|
@@ -521,6 +551,7 @@ export declare const SessionEnvelopeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
521
551
|
t: "permission-resolved";
|
|
522
552
|
requestId: string;
|
|
523
553
|
action: "approve" | "approve-all-edits" | "approve-tool" | "deny";
|
|
554
|
+
reason?: string | undefined;
|
|
524
555
|
} | {
|
|
525
556
|
t: "text";
|
|
526
557
|
text: string;
|
|
@@ -538,8 +569,8 @@ export declare const SessionEnvelopeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
538
569
|
} | {
|
|
539
570
|
t: "tool-call-end";
|
|
540
571
|
call: string;
|
|
541
|
-
result?: string | undefined;
|
|
542
572
|
error?: boolean | undefined;
|
|
573
|
+
result?: string | undefined;
|
|
543
574
|
} | {
|
|
544
575
|
t: "file";
|
|
545
576
|
name: string;
|
|
@@ -567,6 +598,10 @@ export declare const SessionEnvelopeSchema: z.ZodEffects<z.ZodObject<{
|
|
|
567
598
|
title?: string | undefined;
|
|
568
599
|
} | {
|
|
569
600
|
t: "stop";
|
|
601
|
+
} | {
|
|
602
|
+
t: "image";
|
|
603
|
+
data: string;
|
|
604
|
+
mediaType: string;
|
|
570
605
|
};
|
|
571
606
|
turn?: string | undefined;
|
|
572
607
|
subagent?: string | undefined;
|
|
@@ -578,5 +613,12 @@ export interface CreateEnvelopeOptions {
|
|
|
578
613
|
readonly turn?: string;
|
|
579
614
|
readonly subagent?: string;
|
|
580
615
|
}
|
|
616
|
+
/**
|
|
617
|
+
* Create a SessionEnvelope by direct construction (hot path).
|
|
618
|
+
*
|
|
619
|
+
* Skips Zod `.parse()` for performance — the discriminated union with
|
|
620
|
+
* 14 variants + 4 superRefine checks is expensive on every streaming token.
|
|
621
|
+
* Validation still happens at ingress boundaries (server API handlers).
|
|
622
|
+
*/
|
|
581
623
|
export declare function createEnvelope(role: SessionRole, ev: SessionEvent, opts?: CreateEnvelopeOptions): SessionEnvelope;
|
|
582
624
|
//# sourceMappingURL=envelope.d.ts.map
|
package/dist/envelope.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"envelope.d.ts","sourceRoot":"","sources":["../src/envelope.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,eAAO,MAAM,iBAAiB,8BAA4B,CAAC;AAC3D,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC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AAC,EAAE,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,WAAW,EACjB,EAAE,EAAE,YAAY,EAChB,IAAI,GAAE,qBAA0B,GAC/B,eAAe,CAUjB"}
|
package/dist/envelope.js
CHANGED
|
@@ -51,14 +51,24 @@ export const SessionEnvelopeSchema = z
|
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
|
+
/**
|
|
55
|
+
* Create a SessionEnvelope by direct construction (hot path).
|
|
56
|
+
*
|
|
57
|
+
* Skips Zod `.parse()` for performance — the discriminated union with
|
|
58
|
+
* 14 variants + 4 superRefine checks is expensive on every streaming token.
|
|
59
|
+
* Validation still happens at ingress boundaries (server API handlers).
|
|
60
|
+
*/
|
|
54
61
|
export function createEnvelope(role, ev, opts = {}) {
|
|
55
|
-
|
|
62
|
+
const envelope = {
|
|
56
63
|
id: opts.id ?? createId(),
|
|
57
64
|
time: opts.time ?? Date.now(),
|
|
58
65
|
role,
|
|
59
|
-
...(opts.turn ? { turn: opts.turn } : {}),
|
|
60
|
-
...(opts.subagent ? { subagent: opts.subagent } : {}),
|
|
61
66
|
ev,
|
|
62
|
-
}
|
|
67
|
+
};
|
|
68
|
+
if (opts.turn)
|
|
69
|
+
envelope.turn = opts.turn;
|
|
70
|
+
if (opts.subagent)
|
|
71
|
+
envelope.subagent = opts.subagent;
|
|
72
|
+
return envelope;
|
|
63
73
|
}
|
|
64
74
|
//# sourceMappingURL=envelope.js.map
|
package/dist/envelope.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"envelope.js","sourceRoot":"","sources":["../src/envelope.ts"],"names":[],"mappings":"AAAA;;;;G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/events.d.ts
CHANGED
|
@@ -60,13 +60,13 @@ export declare const SessionToolCallEndEventSchema: z.ZodObject<{
|
|
|
60
60
|
}, "strip", z.ZodTypeAny, {
|
|
61
61
|
t: "tool-call-end";
|
|
62
62
|
call: string;
|
|
63
|
-
result?: string | undefined;
|
|
64
63
|
error?: boolean | undefined;
|
|
64
|
+
result?: string | undefined;
|
|
65
65
|
}, {
|
|
66
66
|
t: "tool-call-end";
|
|
67
67
|
call: string;
|
|
68
|
-
result?: string | undefined;
|
|
69
68
|
error?: boolean | undefined;
|
|
69
|
+
result?: string | undefined;
|
|
70
70
|
}>;
|
|
71
71
|
export declare const SessionFileEventSchema: z.ZodObject<{
|
|
72
72
|
t: z.ZodLiteral<"file">;
|
|
@@ -192,6 +192,22 @@ export declare const SessionStopEventSchema: z.ZodObject<{
|
|
|
192
192
|
}, {
|
|
193
193
|
t: "stop";
|
|
194
194
|
}>;
|
|
195
|
+
/** User-sent image stored inline in envelope (base64). */
|
|
196
|
+
export declare const SessionImageEventSchema: z.ZodObject<{
|
|
197
|
+
t: z.ZodLiteral<"image">;
|
|
198
|
+
/** Base64-encoded image data. */
|
|
199
|
+
data: z.ZodString;
|
|
200
|
+
/** MIME type: image/jpeg, image/png, image/gif, image/webp. */
|
|
201
|
+
mediaType: z.ZodString;
|
|
202
|
+
}, "strip", z.ZodTypeAny, {
|
|
203
|
+
t: "image";
|
|
204
|
+
data: string;
|
|
205
|
+
mediaType: string;
|
|
206
|
+
}, {
|
|
207
|
+
t: "image";
|
|
208
|
+
data: string;
|
|
209
|
+
mediaType: string;
|
|
210
|
+
}>;
|
|
195
211
|
export declare const SessionEventSchema: z.ZodDiscriminatedUnion<"t", [z.ZodObject<{
|
|
196
212
|
t: z.ZodLiteral<"text">;
|
|
197
213
|
text: z.ZodString;
|
|
@@ -244,13 +260,13 @@ export declare const SessionEventSchema: z.ZodDiscriminatedUnion<"t", [z.ZodObje
|
|
|
244
260
|
}, "strip", z.ZodTypeAny, {
|
|
245
261
|
t: "tool-call-end";
|
|
246
262
|
call: string;
|
|
247
|
-
result?: string | undefined;
|
|
248
263
|
error?: boolean | undefined;
|
|
264
|
+
result?: string | undefined;
|
|
249
265
|
}, {
|
|
250
266
|
t: "tool-call-end";
|
|
251
267
|
call: string;
|
|
252
|
-
result?: string | undefined;
|
|
253
268
|
error?: boolean | undefined;
|
|
269
|
+
result?: string | undefined;
|
|
254
270
|
}>, z.ZodObject<{
|
|
255
271
|
t: z.ZodLiteral<"file">;
|
|
256
272
|
ref: z.ZodString;
|
|
@@ -426,16 +442,33 @@ export declare const SessionEventSchema: z.ZodDiscriminatedUnion<"t", [z.ZodObje
|
|
|
426
442
|
t: z.ZodLiteral<"permission-resolved">;
|
|
427
443
|
requestId: z.ZodString;
|
|
428
444
|
action: z.ZodEnum<["approve", "approve-all-edits", "approve-tool", "deny"]>;
|
|
445
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
429
446
|
}, "strip", z.ZodTypeAny, {
|
|
430
447
|
t: "permission-resolved";
|
|
431
448
|
requestId: string;
|
|
432
449
|
action: "approve" | "approve-all-edits" | "approve-tool" | "deny";
|
|
450
|
+
reason?: string | undefined;
|
|
433
451
|
}, {
|
|
434
452
|
t: "permission-resolved";
|
|
435
453
|
requestId: string;
|
|
436
454
|
action: "approve" | "approve-all-edits" | "approve-tool" | "deny";
|
|
455
|
+
reason?: string | undefined;
|
|
456
|
+
}>, z.ZodObject<{
|
|
457
|
+
t: z.ZodLiteral<"image">;
|
|
458
|
+
/** Base64-encoded image data. */
|
|
459
|
+
data: z.ZodString;
|
|
460
|
+
/** MIME type: image/jpeg, image/png, image/gif, image/webp. */
|
|
461
|
+
mediaType: z.ZodString;
|
|
462
|
+
}, "strip", z.ZodTypeAny, {
|
|
463
|
+
t: "image";
|
|
464
|
+
data: string;
|
|
465
|
+
mediaType: string;
|
|
466
|
+
}, {
|
|
467
|
+
t: "image";
|
|
468
|
+
data: string;
|
|
469
|
+
mediaType: string;
|
|
437
470
|
}>]>;
|
|
438
471
|
export type SessionEvent = z.infer<typeof SessionEventSchema>;
|
|
439
|
-
export { SessionQuestionEventSchema, SessionPermissionRequestEventSchema, SessionAnswerEventSchema, SessionPermissionResolvedEventSchema, PermissionActionSchema, } from './interactionEvents.js';
|
|
440
|
-
export type { SessionQuestionEvent, SessionPermissionRequestEvent, SessionAnswerEvent, SessionPermissionResolvedEvent, PermissionAction, } from './interactionEvents.js';
|
|
472
|
+
export { SessionQuestionEventSchema, SessionPermissionRequestEventSchema, SessionAnswerEventSchema, SessionPermissionResolvedEventSchema, PermissionActionSchema, ImageAttachmentSchema, } from './interactionEvents.js';
|
|
473
|
+
export type { SessionQuestionEvent, SessionPermissionRequestEvent, SessionAnswerEvent, SessionPermissionResolvedEvent, PermissionAction, ImageAttachment, } from './interactionEvents.js';
|
|
441
474
|
//# sourceMappingURL=events.d.ts.map
|
package/dist/events.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;EAIjC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;EAGpC,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;EAO1C,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;IAGxC,qDAAqD;;IAErD,mDAAmD;;;;;;;;;;;;EAEnD,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYjC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;EAEtC,CAAC;AAEH,eAAO,MAAM,0BAA0B,iDAA+C,CAAC;AACvF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9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