@cydm/pie 4.11.0 → 4.12.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/dist/builtin/extensions/ask-user/index.js +2 -2
- package/dist/builtin/extensions/cron/index.js +1 -1
- package/dist/builtin/extensions/im-forward/index.js +8670 -7364
- package/dist/builtin/extensions/mcp-adapter/index.js +1 -1
- package/dist/builtin/extensions/memory/index.js +171 -66
- package/dist/builtin/extensions/pie-ipc/index.js +1 -1
- package/dist/builtin/extensions/pie-proc/index.js +533 -50
- package/dist/builtin/extensions/plan-mode/index.js +2 -2
- package/dist/builtin/extensions/subagent/README.md +1 -1
- package/dist/builtin/extensions/subagent/index.js +3 -3
- package/dist/builtin/extensions/todo/index.js +2 -2
- package/dist/chunks/{auth-storage-C3FZMT7J.js → auth-storage-IJEJ2TGE.js} +1 -1
- package/dist/chunks/chunk-26ILLZKQ.js +400 -0
- package/dist/chunks/{chunk-KWK7KTSZ.js → chunk-322WLBDY.js} +1 -1
- package/dist/chunks/{chunk-OU33ROFD.js → chunk-3GG342QY.js} +78 -78
- package/dist/chunks/{chunk-BB7ETSJK.js → chunk-6U6UGM4C.js} +119 -3
- package/dist/chunks/{chunk-ZPJ3BNQB.js → chunk-BSITHT43.js} +1 -0
- package/dist/chunks/{chunk-IZKHSUNQ.js → chunk-CAPBTMLI.js} +18 -1
- package/dist/chunks/{chunk-B5GKDXVG.js → chunk-IZ4DYCJ7.js} +246 -80
- package/dist/chunks/{chunk-HK3FHIAH.js → chunk-KW46ND3S.js} +1999 -767
- package/dist/chunks/{chunk-SW2E33UL.js → chunk-LMDWWT43.js} +123 -4
- package/dist/chunks/{chunk-EWPPGYBU.js → chunk-OGGL6LUN.js} +55 -16
- package/dist/chunks/{chunk-BTUMBUDU.js → chunk-QSXBPTOA.js} +1 -1
- package/dist/chunks/{chunk-5QMS6RQC.js → chunk-SXBX2P5R.js} +160 -5
- package/dist/chunks/{chunk-7LICWWUE.js → chunk-W37NAT3N.js} +2 -2
- package/dist/chunks/chunk-WTBLV6F5.js +476 -0
- package/dist/chunks/{host-image-fallback-3TEMOQM5.js → host-image-fallback-NXY36VO2.js} +1 -1
- package/dist/chunks/{manager-cli-BXI4UFTJ.js → manager-cli-B6GIYTI7.js} +35 -13
- package/dist/chunks/{manager-upgrade-XPFXKO7A.js → manager-upgrade-WHER3WTJ.js} +284 -109
- package/dist/chunks/memory-git-C3S276QJ.js +19 -0
- package/dist/chunks/{model-registry-MGZO2RBN.js → model-registry-QNEPISBJ.js} +11 -3
- package/dist/chunks/{read-file-understanding-N2ZZQLTZ.js → read-file-understanding-ZCBNCQHG.js} +3 -3
- package/dist/chunks/{src-F5N6O2HR.js → src-7CU7OTQS.js} +36 -36
- package/dist/chunks/{src-3PSR2AAX.js → src-7MZZJVOG.js} +1 -1
- package/dist/cli.js +740 -512
- package/package.json +2 -2
- package/dist/chunks/chunk-L7XXKNZW.js +0 -386
|
@@ -3,8 +3,12 @@ import {
|
|
|
3
3
|
ModelRegistry,
|
|
4
4
|
assertNoSecretSubstrings,
|
|
5
5
|
configuredRemoteCredentialValues,
|
|
6
|
-
loadResolvedModelsConfig
|
|
7
|
-
|
|
6
|
+
loadResolvedModelsConfig,
|
|
7
|
+
resolveProfileRoute,
|
|
8
|
+
validateModelsDocumentShape,
|
|
9
|
+
validateProfileConfig,
|
|
10
|
+
validatedRemoteCatalogs
|
|
11
|
+
} from "./chunk-IZ4DYCJ7.js";
|
|
8
12
|
import "./chunk-CBDQJMUI.js";
|
|
9
13
|
import "./chunk-G2K4GY6N.js";
|
|
10
14
|
import "./chunk-XXGYUYXI.js";
|
|
@@ -13,5 +17,9 @@ export {
|
|
|
13
17
|
ModelRegistry,
|
|
14
18
|
assertNoSecretSubstrings,
|
|
15
19
|
configuredRemoteCredentialValues,
|
|
16
|
-
loadResolvedModelsConfig
|
|
20
|
+
loadResolvedModelsConfig,
|
|
21
|
+
resolveProfileRoute,
|
|
22
|
+
validateModelsDocumentShape,
|
|
23
|
+
validateProfileConfig,
|
|
24
|
+
validatedRemoteCatalogs
|
|
17
25
|
};
|
package/dist/chunks/{read-file-understanding-N2ZZQLTZ.js → read-file-understanding-ZCBNCQHG.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
understandReadFile
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-QSXBPTOA.js";
|
|
5
|
+
import "./chunk-KW46ND3S.js";
|
|
6
|
+
import "./chunk-SXBX2P5R.js";
|
|
7
7
|
import "./chunk-BQWHLYYZ.js";
|
|
8
8
|
import "./chunk-F7EBZTZO.js";
|
|
9
9
|
import "./chunk-G2K4GY6N.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
DEFAULT_SESSION_STORE_MAX_AGE_MS,
|
|
14
14
|
DEFAULT_SESSION_STORE_MAX_RECORDS,
|
|
15
15
|
DEFAULT_SUBAGENT_THINKING_LEVEL,
|
|
16
|
-
|
|
16
|
+
DEFAULT_WIKI_LIMITS,
|
|
17
17
|
GREP_MAX_LINE_LENGTH,
|
|
18
18
|
MANAGE_TODO_LIST_TOOL_DESCRIPTION,
|
|
19
19
|
MAX_DIFF_EDIT_LENGTH,
|
|
@@ -35,21 +35,17 @@ import {
|
|
|
35
35
|
SESSION_RECORD_MAX_CHARS,
|
|
36
36
|
SESSION_TRANSCRIPT_WARN_CHARS,
|
|
37
37
|
SUBAGENT_SESSION_RECORD_VERSION,
|
|
38
|
-
SYNTHESIZE_SYSTEM,
|
|
39
38
|
SearchContextSchema,
|
|
40
39
|
TodoInputItemSchema,
|
|
40
|
+
WikiStore,
|
|
41
41
|
abortExecutionState,
|
|
42
|
-
appendRetireSection,
|
|
43
|
-
applyNextGatedPatch,
|
|
44
42
|
assertBoundedGlobPattern,
|
|
43
|
+
authenticateDreamSignals,
|
|
45
44
|
boundEditOutput,
|
|
46
45
|
buildDirectImageUnderstandingContent,
|
|
47
|
-
buildDistillPrompt,
|
|
48
46
|
buildExecutionReminder,
|
|
49
47
|
buildPathResolutionDescription,
|
|
50
48
|
buildReadFileUnderstandingPrompt,
|
|
51
|
-
buildRetentionOps,
|
|
52
|
-
buildRetireSuggestions,
|
|
53
49
|
buildRootParameterSchema,
|
|
54
50
|
buildTodoClosureContinuePrompt,
|
|
55
51
|
buildTodoSuccessMessage,
|
|
@@ -60,7 +56,6 @@ import {
|
|
|
60
56
|
clearExecutionState,
|
|
61
57
|
cloneExecutionState,
|
|
62
58
|
cloneTodos,
|
|
63
|
-
clusterCandidates,
|
|
64
59
|
collectFilesForGrep,
|
|
65
60
|
collectLastAssistantText,
|
|
66
61
|
collectProjectKeyAliases,
|
|
@@ -110,15 +105,14 @@ import {
|
|
|
110
105
|
defineSharedCapability,
|
|
111
106
|
describeClosestRegion,
|
|
112
107
|
describeToolPolicyDecision,
|
|
113
|
-
detectLanguage,
|
|
114
108
|
detectLineEnding,
|
|
115
109
|
detectTextOnlyBinary,
|
|
116
110
|
detectUnderstandingKind,
|
|
117
111
|
differentSubjects,
|
|
118
|
-
distillSession,
|
|
119
112
|
entryConsumedIn,
|
|
120
113
|
equivalentAssertions,
|
|
121
114
|
estimateTranscriptChars,
|
|
115
|
+
estimateWikiTokens,
|
|
122
116
|
evaluateTodoClosureAfterAbort,
|
|
123
117
|
evaluateTodoClosureAfterCompletedTurn,
|
|
124
118
|
evaluateTodoClosureAfterFailedTurn,
|
|
@@ -126,15 +120,17 @@ import {
|
|
|
126
120
|
executeManageTodoList,
|
|
127
121
|
executionStateToTodos,
|
|
128
122
|
extractDoneSteps,
|
|
123
|
+
extractDreamSignalsForSession,
|
|
129
124
|
extractPlanTodoItems,
|
|
130
125
|
extractVerifiedSteps,
|
|
126
|
+
extractWikiSessionIds,
|
|
131
127
|
findEditMatch,
|
|
128
|
+
findExpiredDateAnchors,
|
|
132
129
|
formatCapabilityPolicySummary,
|
|
133
130
|
formatSize,
|
|
134
131
|
formatSkillSummariesForPrompt,
|
|
135
132
|
formatSkillsForPrompt,
|
|
136
133
|
fuzzyFindText,
|
|
137
|
-
gateClusters,
|
|
138
134
|
generateDiffString,
|
|
139
135
|
getAvailableRoots,
|
|
140
136
|
getDefaultRootName,
|
|
@@ -157,8 +153,8 @@ import {
|
|
|
157
153
|
isRetired,
|
|
158
154
|
isToolAllowedInPlanMode,
|
|
159
155
|
legacyProjectKeyFor,
|
|
160
|
-
listGatedPatches,
|
|
161
156
|
looksLikeSecretPresent,
|
|
157
|
+
lookupSessionEvidence,
|
|
162
158
|
markCompletedPlanSteps,
|
|
163
159
|
materialConsumedIn,
|
|
164
160
|
maybeAdvanceTodoExecutionState,
|
|
@@ -171,7 +167,9 @@ import {
|
|
|
171
167
|
normalizeStatus,
|
|
172
168
|
normalizeToLF,
|
|
173
169
|
normalizeTodos,
|
|
174
|
-
|
|
170
|
+
normalizeWikiRelPath,
|
|
171
|
+
parseWikiDreamOutput,
|
|
172
|
+
parseWikiFrontmatter,
|
|
175
173
|
pauseExecutionState,
|
|
176
174
|
planWebResearchQueries,
|
|
177
175
|
polarity,
|
|
@@ -195,34 +193,36 @@ import {
|
|
|
195
193
|
restoreTodoState,
|
|
196
194
|
restoreTodosFromMessages,
|
|
197
195
|
retainLiveSession,
|
|
198
|
-
|
|
199
|
-
|
|
196
|
+
runWikiBootstrap,
|
|
197
|
+
runWikiDream,
|
|
198
|
+
runWikiGc,
|
|
200
199
|
saveAttestedEntry,
|
|
201
200
|
scoreWebResearchSource,
|
|
202
201
|
searchMemory,
|
|
203
202
|
selectToolsForRuntimePolicy,
|
|
204
203
|
shouldPreserveExecutionStateForUserText,
|
|
204
|
+
slugifyWikiName,
|
|
205
205
|
snapshotFromStatAndContent,
|
|
206
206
|
snapshotFromStatAndHash,
|
|
207
207
|
snapshotsHaveSameContent,
|
|
208
208
|
stripBom,
|
|
209
209
|
subagentOutputBudget,
|
|
210
210
|
supersedeExecutionState,
|
|
211
|
-
synthesizePatch,
|
|
212
211
|
toSessionRecord,
|
|
213
212
|
todayKey,
|
|
214
213
|
tokenJaccard,
|
|
215
214
|
tokenizeCasePreserving,
|
|
216
215
|
touchLiveSession,
|
|
217
216
|
transplantMessages,
|
|
217
|
+
trimHarvestedSession,
|
|
218
218
|
truncateHead,
|
|
219
219
|
truncateLine,
|
|
220
220
|
truncateTail,
|
|
221
221
|
understandFileWithModel,
|
|
222
222
|
validateTodos,
|
|
223
|
-
|
|
224
|
-
} from "./chunk-
|
|
225
|
-
import "./chunk-
|
|
223
|
+
validateWikiPageContent
|
|
224
|
+
} from "./chunk-KW46ND3S.js";
|
|
225
|
+
import "./chunk-SXBX2P5R.js";
|
|
226
226
|
import "./chunk-BQWHLYYZ.js";
|
|
227
227
|
import {
|
|
228
228
|
hashText
|
|
@@ -243,7 +243,7 @@ export {
|
|
|
243
243
|
DEFAULT_SESSION_STORE_MAX_AGE_MS,
|
|
244
244
|
DEFAULT_SESSION_STORE_MAX_RECORDS,
|
|
245
245
|
DEFAULT_SUBAGENT_THINKING_LEVEL,
|
|
246
|
-
|
|
246
|
+
DEFAULT_WIKI_LIMITS,
|
|
247
247
|
GREP_MAX_LINE_LENGTH,
|
|
248
248
|
MANAGE_TODO_LIST_TOOL_DESCRIPTION,
|
|
249
249
|
MAX_DIFF_EDIT_LENGTH,
|
|
@@ -265,21 +265,17 @@ export {
|
|
|
265
265
|
SESSION_RECORD_MAX_CHARS,
|
|
266
266
|
SESSION_TRANSCRIPT_WARN_CHARS,
|
|
267
267
|
SUBAGENT_SESSION_RECORD_VERSION,
|
|
268
|
-
SYNTHESIZE_SYSTEM,
|
|
269
268
|
SearchContextSchema,
|
|
270
269
|
TodoInputItemSchema,
|
|
270
|
+
WikiStore,
|
|
271
271
|
abortExecutionState,
|
|
272
|
-
appendRetireSection,
|
|
273
|
-
applyNextGatedPatch,
|
|
274
272
|
assertBoundedGlobPattern,
|
|
273
|
+
authenticateDreamSignals,
|
|
275
274
|
boundEditOutput,
|
|
276
275
|
buildDirectImageUnderstandingContent,
|
|
277
|
-
buildDistillPrompt,
|
|
278
276
|
buildExecutionReminder,
|
|
279
277
|
buildPathResolutionDescription,
|
|
280
278
|
buildReadFileUnderstandingPrompt,
|
|
281
|
-
buildRetentionOps,
|
|
282
|
-
buildRetireSuggestions,
|
|
283
279
|
buildRootParameterSchema,
|
|
284
280
|
buildTodoClosureContinuePrompt,
|
|
285
281
|
buildTodoSuccessMessage,
|
|
@@ -290,7 +286,6 @@ export {
|
|
|
290
286
|
clearExecutionState,
|
|
291
287
|
cloneExecutionState,
|
|
292
288
|
cloneTodos,
|
|
293
|
-
clusterCandidates,
|
|
294
289
|
collectFilesForGrep,
|
|
295
290
|
collectLastAssistantText,
|
|
296
291
|
collectProjectKeyAliases,
|
|
@@ -340,15 +335,14 @@ export {
|
|
|
340
335
|
defineSharedCapability,
|
|
341
336
|
describeClosestRegion,
|
|
342
337
|
describeToolPolicyDecision,
|
|
343
|
-
detectLanguage,
|
|
344
338
|
detectLineEnding,
|
|
345
339
|
detectTextOnlyBinary,
|
|
346
340
|
detectUnderstandingKind,
|
|
347
341
|
differentSubjects,
|
|
348
|
-
distillSession,
|
|
349
342
|
entryConsumedIn,
|
|
350
343
|
equivalentAssertions,
|
|
351
344
|
estimateTranscriptChars,
|
|
345
|
+
estimateWikiTokens,
|
|
352
346
|
evaluateTodoClosureAfterAbort,
|
|
353
347
|
evaluateTodoClosureAfterCompletedTurn,
|
|
354
348
|
evaluateTodoClosureAfterFailedTurn,
|
|
@@ -356,15 +350,17 @@ export {
|
|
|
356
350
|
executeManageTodoList,
|
|
357
351
|
executionStateToTodos,
|
|
358
352
|
extractDoneSteps,
|
|
353
|
+
extractDreamSignalsForSession,
|
|
359
354
|
extractPlanTodoItems,
|
|
360
355
|
extractVerifiedSteps,
|
|
356
|
+
extractWikiSessionIds,
|
|
361
357
|
findEditMatch,
|
|
358
|
+
findExpiredDateAnchors,
|
|
362
359
|
formatCapabilityPolicySummary,
|
|
363
360
|
formatSize,
|
|
364
361
|
formatSkillSummariesForPrompt,
|
|
365
362
|
formatSkillsForPrompt,
|
|
366
363
|
fuzzyFindText,
|
|
367
|
-
gateClusters,
|
|
368
364
|
generateDiffString,
|
|
369
365
|
getAvailableRoots,
|
|
370
366
|
getDefaultRootName,
|
|
@@ -388,8 +384,8 @@ export {
|
|
|
388
384
|
isRetired,
|
|
389
385
|
isToolAllowedInPlanMode,
|
|
390
386
|
legacyProjectKeyFor,
|
|
391
|
-
listGatedPatches,
|
|
392
387
|
looksLikeSecretPresent,
|
|
388
|
+
lookupSessionEvidence,
|
|
393
389
|
markCompletedPlanSteps,
|
|
394
390
|
materialConsumedIn,
|
|
395
391
|
maybeAdvanceTodoExecutionState,
|
|
@@ -402,7 +398,9 @@ export {
|
|
|
402
398
|
normalizeStatus,
|
|
403
399
|
normalizeToLF,
|
|
404
400
|
normalizeTodos,
|
|
405
|
-
|
|
401
|
+
normalizeWikiRelPath,
|
|
402
|
+
parseWikiDreamOutput,
|
|
403
|
+
parseWikiFrontmatter,
|
|
406
404
|
pauseExecutionState,
|
|
407
405
|
planWebResearchQueries,
|
|
408
406
|
polarity,
|
|
@@ -426,30 +424,32 @@ export {
|
|
|
426
424
|
restoreTodoState,
|
|
427
425
|
restoreTodosFromMessages,
|
|
428
426
|
retainLiveSession,
|
|
429
|
-
|
|
430
|
-
|
|
427
|
+
runWikiBootstrap,
|
|
428
|
+
runWikiDream,
|
|
429
|
+
runWikiGc,
|
|
431
430
|
saveAttestedEntry,
|
|
432
431
|
scoreWebResearchSource,
|
|
433
432
|
searchMemory,
|
|
434
433
|
selectToolsForRuntimePolicy,
|
|
435
434
|
shouldPreserveExecutionStateForUserText,
|
|
435
|
+
slugifyWikiName,
|
|
436
436
|
snapshotFromStatAndContent,
|
|
437
437
|
snapshotFromStatAndHash,
|
|
438
438
|
snapshotsHaveSameContent,
|
|
439
439
|
stripBom,
|
|
440
440
|
subagentOutputBudget,
|
|
441
441
|
supersedeExecutionState,
|
|
442
|
-
synthesizePatch,
|
|
443
442
|
toSessionRecord,
|
|
444
443
|
todayKey,
|
|
445
444
|
tokenJaccard,
|
|
446
445
|
tokenizeCasePreserving,
|
|
447
446
|
touchLiveSession,
|
|
448
447
|
transplantMessages,
|
|
448
|
+
trimHarvestedSession,
|
|
449
449
|
truncateHead,
|
|
450
450
|
truncateLine,
|
|
451
451
|
truncateTail,
|
|
452
452
|
understandFileWithModel,
|
|
453
453
|
validateTodos,
|
|
454
|
-
|
|
454
|
+
validateWikiPageContent
|
|
455
455
|
};
|
|
@@ -142,7 +142,7 @@ import {
|
|
|
142
142
|
substituteArgs,
|
|
143
143
|
validateRetainedTailEntries,
|
|
144
144
|
verifyPreparedCompactionCommit
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-SXBX2P5R.js";
|
|
146
146
|
import "./chunk-BQWHLYYZ.js";
|
|
147
147
|
import "./chunk-G2K4GY6N.js";
|
|
148
148
|
import "./chunk-XXGYUYXI.js";
|