@cydm/pie 2.8.0 → 3.0.0
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.md +18 -0
- package/dist/builtin/extensions/ask-user/index.js +4 -3
- package/dist/builtin/extensions/changelog/index.js +2 -2
- package/dist/builtin/extensions/cron/index.js +430 -43
- package/dist/builtin/extensions/document-attachments/index.js +1 -1
- package/dist/builtin/extensions/herdr-agent-state/index.js +2 -2
- package/dist/builtin/extensions/im-forward/index.js +13 -2
- package/dist/builtin/extensions/memory/index.js +277 -83
- package/dist/builtin/extensions/memory/package.json +2 -1
- package/dist/builtin/extensions/plan-mode/index.js +4 -3
- package/dist/builtin/extensions/subagent/index.js +7 -6
- package/dist/builtin/extensions/todo/index.js +4 -3
- package/dist/builtin/skills/chrome-devtools-axi/chrome-devtools-axi-bridge.js +106 -2
- package/dist/builtin/skills/chrome-devtools-axi/chrome-devtools-axi-cli.js +1 -0
- package/dist/builtin/skills/chrome-devtools-axi/chrome-devtools-axi-runtime.js +1 -1
- package/dist/builtin/skills/chrome-devtools-axi/{chunk-BNSAEVRT.js → chunk-WOGAQ4P5.js} +2 -2
- package/dist/builtin/skills/chrome-devtools-axi/{cli-AO2ZTPRM.js → cli-CHC7XYFU.js} +27 -3
- package/dist/builtin/skills/computer-use-axi/computer-use-axi-broker.js +8 -3
- package/dist/builtin/skills/computer-use-axi/computer-use-axi-cli.js +1 -0
- package/dist/builtin/skills/computer-use-axi/computer-use-axi-runtime.js +6 -1
- package/dist/builtin/skills/computer-use-axi/scripts/setup-helper.mjs +6 -2
- package/dist/builtin/skills/tui-use/tui-use-daemon.cjs +130 -9
- package/dist/chunks/auth-storage-3EGM3VTK.js +13 -0
- package/dist/chunks/{chunk-JNOFHHLZ.js → chunk-3BC5KGDQ.js} +383 -185
- package/dist/chunks/chunk-3FRKOFSP.js +9667 -0
- package/dist/chunks/chunk-6DNYGVZP.js +278 -0
- package/dist/chunks/{chunk-LJXHECZ7.js → chunk-7FEPQHYX.js} +13867 -19759
- package/dist/chunks/{chunk-NEES4EBX.js → chunk-BUDXV3TR.js} +28 -18
- package/dist/chunks/{chunk-HGC25NYB.js → chunk-GH4VW2OT.js} +1 -1
- package/dist/chunks/{chunk-5353DEEC.js → chunk-ILUHTKF3.js} +20 -1
- package/dist/chunks/chunk-OEQYEYB3.js +299 -0
- package/dist/chunks/chunk-YRR6C43W.js +1740 -0
- package/dist/chunks/config-74AUVDLT.js +46 -0
- package/dist/chunks/model-registry-LI5THXV4.js +17 -0
- package/dist/chunks/src-66XSMIAM.js +134 -0
- package/dist/chunks/src-AE3OCAE6.js +431 -0
- package/dist/chunks/src-RVTDUSPJ.js +293 -0
- package/dist/chunks/{src-5XOKRS6F.js → src-YG5M2H44.js} +2 -2
- package/dist/chunks/{test-stream-5SDHKKDB.js → test-stream-JBWXKOQA.js} +1 -1
- package/dist/cli.js +1455 -2358
- package/package.json +4 -4
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
AGENTS_CONTEXT_FILE_NAME,
|
|
4
|
+
AgentSessionController,
|
|
5
|
+
AgentSessionRetryEpisode,
|
|
6
|
+
AttentionCoordinator,
|
|
7
|
+
COMPACT_PROMPT,
|
|
8
|
+
CommandRegistry,
|
|
9
|
+
DEFAULT_COMPACTION_CONFIG,
|
|
10
|
+
DELEGATION_REPORT_INSTRUCTION,
|
|
11
|
+
DELEGATION_REPORT_MAX_CHARS,
|
|
12
|
+
ExtensionRegistry,
|
|
13
|
+
ExtensionResourceScope,
|
|
14
|
+
FileSessionStore,
|
|
15
|
+
InteractionUnavailableError,
|
|
16
|
+
MemorySessionStore,
|
|
17
|
+
ReplayStallCircuit,
|
|
18
|
+
RuntimeExtensionRegistry,
|
|
19
|
+
SUMMARY_PREFIX,
|
|
20
|
+
SUPERVISOR_PID_ENV,
|
|
21
|
+
SUPERVISOR_START_TIME_ENV,
|
|
22
|
+
SessionManager,
|
|
23
|
+
SessionTraceController,
|
|
24
|
+
SessionTraceSnapshotWriter,
|
|
25
|
+
SkillLoader,
|
|
26
|
+
SkillRegistry,
|
|
27
|
+
TemplateManager,
|
|
28
|
+
areAllToolsAvailable,
|
|
29
|
+
attachAgentEventsToSessionTrace,
|
|
30
|
+
autoCompact,
|
|
31
|
+
buildCompactedHistory,
|
|
32
|
+
buildKnowledgeIndexEntry,
|
|
33
|
+
buildKnowledgeIndexSection,
|
|
34
|
+
buildProjectContextSection,
|
|
35
|
+
calculateContextTokens,
|
|
36
|
+
calculateTotalTokens,
|
|
37
|
+
clearInteractionHandler,
|
|
38
|
+
collectRealUserMessages,
|
|
39
|
+
compactMessages,
|
|
40
|
+
compactMessagesCodexStyle,
|
|
41
|
+
composeDynamicContextTransform,
|
|
42
|
+
computeFileLists,
|
|
43
|
+
createAgentSessionController,
|
|
44
|
+
createCommandRegistry,
|
|
45
|
+
createCompactionEntry,
|
|
46
|
+
createCompactionSummary,
|
|
47
|
+
createDelegationObservation,
|
|
48
|
+
createEmptySessionTrace,
|
|
49
|
+
createExtensionContext,
|
|
50
|
+
createExtensionRegistry,
|
|
51
|
+
createFailureClassification,
|
|
52
|
+
createFileOps,
|
|
53
|
+
createFileSessionStore,
|
|
54
|
+
createHostEnvelopeProjectorRegistry,
|
|
55
|
+
createMemorySessionStore,
|
|
56
|
+
createRuntimeExtensionRegistry,
|
|
57
|
+
createSessionManager,
|
|
58
|
+
createSessionStore,
|
|
59
|
+
createSkill,
|
|
60
|
+
createSkillLoader,
|
|
61
|
+
createSkillRegistry,
|
|
62
|
+
createTaskLifecycleRegistry,
|
|
63
|
+
createTemplateManager,
|
|
64
|
+
dedupeProjectContextFiles,
|
|
65
|
+
defineCommand,
|
|
66
|
+
defineTool,
|
|
67
|
+
defineToolMetadata,
|
|
68
|
+
discoverRuntimeScriptExtensions,
|
|
69
|
+
entryPreview,
|
|
70
|
+
estimateCompactionGain,
|
|
71
|
+
estimateContextTokens,
|
|
72
|
+
estimateRetainedTailTokens,
|
|
73
|
+
estimateTokens,
|
|
74
|
+
extensionFallbackName,
|
|
75
|
+
extractEnablementMap,
|
|
76
|
+
extractExtensionSettings,
|
|
77
|
+
extractFileOpsFromMessage,
|
|
78
|
+
filterToolsByAllowedList,
|
|
79
|
+
filterToolsByCapability,
|
|
80
|
+
filterToolsByInvocationKind,
|
|
81
|
+
filterToolsByRuntime,
|
|
82
|
+
findFirstKeptEntryId,
|
|
83
|
+
findFirstKeptEntrySummaryId,
|
|
84
|
+
findFirstKeptUserEntryId,
|
|
85
|
+
flattenTreeToMessages,
|
|
86
|
+
formatCompactSummaryText,
|
|
87
|
+
formatFileOperations,
|
|
88
|
+
formatSkillsForPrompt,
|
|
89
|
+
generateEntryId,
|
|
90
|
+
generateSessionId,
|
|
91
|
+
getAgentSessionRetryLimit,
|
|
92
|
+
getAutoCompactTokenLimit,
|
|
93
|
+
getAvailableRuntimes,
|
|
94
|
+
getDefaultSessionsDir,
|
|
95
|
+
getDefaultSkillsDir,
|
|
96
|
+
getExtensionEnablementEntry,
|
|
97
|
+
getInteractionHandler,
|
|
98
|
+
getLastAssistantUsage,
|
|
99
|
+
getMissingToolsForRuntime,
|
|
100
|
+
getSessionEntryText,
|
|
101
|
+
groupToolsByCategory,
|
|
102
|
+
groupToolsByFamily,
|
|
103
|
+
groupToolsByRuntime,
|
|
104
|
+
hasInteractionHandler,
|
|
105
|
+
interactionAttentionReason,
|
|
106
|
+
interactionAttentionResolution,
|
|
107
|
+
isCompactSummaryMessage,
|
|
108
|
+
isCompactionPreparationCurrent,
|
|
109
|
+
isExtensionEnabled,
|
|
110
|
+
isExtensionEnabledByManifest,
|
|
111
|
+
isHostContextBlock,
|
|
112
|
+
isSupervisorGone,
|
|
113
|
+
isToolAvailable,
|
|
114
|
+
leadingHostContextBlock,
|
|
115
|
+
loadExtension,
|
|
116
|
+
loadExtensions,
|
|
117
|
+
loadSkills,
|
|
118
|
+
manifestDefaultLayer,
|
|
119
|
+
mergeExtensionEnablement,
|
|
120
|
+
observeDelegationPhase,
|
|
121
|
+
observeDelegationTool,
|
|
122
|
+
parseCommandArgs,
|
|
123
|
+
parseDelegationReport,
|
|
124
|
+
parseEntryIdSeq,
|
|
125
|
+
parseSkill,
|
|
126
|
+
parseSkillFile,
|
|
127
|
+
parseSupervisorAnchor,
|
|
128
|
+
planRetainedTail,
|
|
129
|
+
prepareSessionCompaction,
|
|
130
|
+
projectHostContextBlock,
|
|
131
|
+
projectHostEnvelopes,
|
|
132
|
+
readAncestryPage,
|
|
133
|
+
registerInteractionHandler,
|
|
134
|
+
requestInteraction,
|
|
135
|
+
resolveCompactionRetainedTail,
|
|
136
|
+
resolveExtensionIdentity,
|
|
137
|
+
runCompact,
|
|
138
|
+
scanExtensions,
|
|
139
|
+
setEnablementInMap,
|
|
140
|
+
setExtensionEnabledInSettings,
|
|
141
|
+
shouldCompact,
|
|
142
|
+
substituteArgs,
|
|
143
|
+
validateRetainedTailEntries,
|
|
144
|
+
verifyPreparedCompactionCommit
|
|
145
|
+
} from "./chunk-3FRKOFSP.js";
|
|
146
|
+
import "./chunk-GH4VW2OT.js";
|
|
147
|
+
import "./chunk-3BC5KGDQ.js";
|
|
148
|
+
import "./chunk-XXGYUYXI.js";
|
|
149
|
+
import "./chunk-LZQXQOPJ.js";
|
|
150
|
+
export {
|
|
151
|
+
AGENTS_CONTEXT_FILE_NAME,
|
|
152
|
+
AgentSessionController,
|
|
153
|
+
AgentSessionRetryEpisode,
|
|
154
|
+
AttentionCoordinator,
|
|
155
|
+
COMPACT_PROMPT,
|
|
156
|
+
CommandRegistry,
|
|
157
|
+
DEFAULT_COMPACTION_CONFIG,
|
|
158
|
+
DELEGATION_REPORT_INSTRUCTION,
|
|
159
|
+
DELEGATION_REPORT_MAX_CHARS,
|
|
160
|
+
ExtensionRegistry,
|
|
161
|
+
ExtensionResourceScope,
|
|
162
|
+
FileSessionStore,
|
|
163
|
+
InteractionUnavailableError,
|
|
164
|
+
MemorySessionStore,
|
|
165
|
+
ReplayStallCircuit,
|
|
166
|
+
RuntimeExtensionRegistry,
|
|
167
|
+
SUMMARY_PREFIX,
|
|
168
|
+
SUPERVISOR_PID_ENV,
|
|
169
|
+
SUPERVISOR_START_TIME_ENV,
|
|
170
|
+
SessionManager,
|
|
171
|
+
SessionTraceController,
|
|
172
|
+
SessionTraceSnapshotWriter,
|
|
173
|
+
SkillLoader,
|
|
174
|
+
SkillRegistry,
|
|
175
|
+
TemplateManager,
|
|
176
|
+
areAllToolsAvailable,
|
|
177
|
+
attachAgentEventsToSessionTrace,
|
|
178
|
+
autoCompact,
|
|
179
|
+
buildCompactedHistory,
|
|
180
|
+
buildKnowledgeIndexEntry,
|
|
181
|
+
buildKnowledgeIndexSection,
|
|
182
|
+
buildProjectContextSection,
|
|
183
|
+
calculateContextTokens,
|
|
184
|
+
calculateTotalTokens,
|
|
185
|
+
clearInteractionHandler,
|
|
186
|
+
collectRealUserMessages,
|
|
187
|
+
compactMessages,
|
|
188
|
+
compactMessagesCodexStyle,
|
|
189
|
+
composeDynamicContextTransform,
|
|
190
|
+
computeFileLists,
|
|
191
|
+
createAgentSessionController,
|
|
192
|
+
createCommandRegistry,
|
|
193
|
+
createCompactionEntry,
|
|
194
|
+
createCompactionSummary,
|
|
195
|
+
createDelegationObservation,
|
|
196
|
+
createEmptySessionTrace,
|
|
197
|
+
createExtensionContext,
|
|
198
|
+
createExtensionRegistry,
|
|
199
|
+
createFailureClassification,
|
|
200
|
+
createFileOps,
|
|
201
|
+
createFileSessionStore,
|
|
202
|
+
createHostEnvelopeProjectorRegistry,
|
|
203
|
+
createMemorySessionStore,
|
|
204
|
+
createRuntimeExtensionRegistry,
|
|
205
|
+
createSessionManager,
|
|
206
|
+
createSessionStore,
|
|
207
|
+
createSkill,
|
|
208
|
+
createSkillLoader,
|
|
209
|
+
createSkillRegistry,
|
|
210
|
+
createTaskLifecycleRegistry,
|
|
211
|
+
createTemplateManager,
|
|
212
|
+
dedupeProjectContextFiles,
|
|
213
|
+
defineCommand,
|
|
214
|
+
defineTool,
|
|
215
|
+
defineToolMetadata,
|
|
216
|
+
discoverRuntimeScriptExtensions,
|
|
217
|
+
entryPreview,
|
|
218
|
+
estimateCompactionGain,
|
|
219
|
+
estimateContextTokens,
|
|
220
|
+
estimateRetainedTailTokens,
|
|
221
|
+
estimateTokens,
|
|
222
|
+
extensionFallbackName,
|
|
223
|
+
extractEnablementMap,
|
|
224
|
+
extractExtensionSettings,
|
|
225
|
+
extractFileOpsFromMessage,
|
|
226
|
+
filterToolsByAllowedList,
|
|
227
|
+
filterToolsByCapability,
|
|
228
|
+
filterToolsByInvocationKind,
|
|
229
|
+
filterToolsByRuntime,
|
|
230
|
+
findFirstKeptEntryId,
|
|
231
|
+
findFirstKeptEntrySummaryId,
|
|
232
|
+
findFirstKeptUserEntryId,
|
|
233
|
+
flattenTreeToMessages,
|
|
234
|
+
formatCompactSummaryText,
|
|
235
|
+
formatFileOperations,
|
|
236
|
+
formatSkillsForPrompt,
|
|
237
|
+
generateEntryId,
|
|
238
|
+
generateSessionId,
|
|
239
|
+
getAgentSessionRetryLimit,
|
|
240
|
+
getAutoCompactTokenLimit,
|
|
241
|
+
getAvailableRuntimes,
|
|
242
|
+
getDefaultSessionsDir,
|
|
243
|
+
getDefaultSkillsDir,
|
|
244
|
+
getExtensionEnablementEntry,
|
|
245
|
+
getInteractionHandler,
|
|
246
|
+
getLastAssistantUsage,
|
|
247
|
+
getMissingToolsForRuntime,
|
|
248
|
+
getSessionEntryText,
|
|
249
|
+
groupToolsByCategory,
|
|
250
|
+
groupToolsByFamily,
|
|
251
|
+
groupToolsByRuntime,
|
|
252
|
+
hasInteractionHandler,
|
|
253
|
+
interactionAttentionReason,
|
|
254
|
+
interactionAttentionResolution,
|
|
255
|
+
isCompactSummaryMessage,
|
|
256
|
+
isCompactionPreparationCurrent,
|
|
257
|
+
isExtensionEnabled,
|
|
258
|
+
isExtensionEnabledByManifest,
|
|
259
|
+
isHostContextBlock,
|
|
260
|
+
isSupervisorGone,
|
|
261
|
+
isToolAvailable,
|
|
262
|
+
leadingHostContextBlock,
|
|
263
|
+
loadExtension,
|
|
264
|
+
loadExtensions,
|
|
265
|
+
loadSkills,
|
|
266
|
+
manifestDefaultLayer,
|
|
267
|
+
mergeExtensionEnablement,
|
|
268
|
+
observeDelegationPhase,
|
|
269
|
+
observeDelegationTool,
|
|
270
|
+
parseCommandArgs,
|
|
271
|
+
parseDelegationReport,
|
|
272
|
+
parseEntryIdSeq,
|
|
273
|
+
parseSkill,
|
|
274
|
+
parseSkillFile,
|
|
275
|
+
parseSupervisorAnchor,
|
|
276
|
+
planRetainedTail,
|
|
277
|
+
prepareSessionCompaction,
|
|
278
|
+
projectHostContextBlock,
|
|
279
|
+
projectHostEnvelopes,
|
|
280
|
+
readAncestryPage,
|
|
281
|
+
registerInteractionHandler,
|
|
282
|
+
requestInteraction,
|
|
283
|
+
resolveCompactionRetainedTail,
|
|
284
|
+
resolveExtensionIdentity,
|
|
285
|
+
runCompact,
|
|
286
|
+
scanExtensions,
|
|
287
|
+
setEnablementInMap,
|
|
288
|
+
setExtensionEnabledInSettings,
|
|
289
|
+
shouldCompact,
|
|
290
|
+
substituteArgs,
|
|
291
|
+
validateRetainedTailEntries,
|
|
292
|
+
verifyPreparedCompactionCommit
|
|
293
|
+
};
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
createToolCallerIdentity,
|
|
9
9
|
getAgentFailureMetadata,
|
|
10
10
|
getToolCallerIdentity
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-GH4VW2OT.js";
|
|
12
|
+
import "./chunk-3BC5KGDQ.js";
|
|
13
13
|
import "./chunk-XXGYUYXI.js";
|
|
14
14
|
import "./chunk-LZQXQOPJ.js";
|
|
15
15
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
EventStream
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3BC5KGDQ.js";
|
|
5
5
|
import "./chunk-XXGYUYXI.js";
|
|
6
6
|
import "./chunk-LZQXQOPJ.js";
|
|
7
7
|
|