@cydm/pie 2.8.0 → 2.8.1

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