@cydm/pie 4.14.0 → 4.14.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.
- package/dist/builtin/extensions/ask-user/index.js +4 -4
- package/dist/builtin/extensions/cron/index.js +70 -17
- package/dist/builtin/extensions/im-forward/index.js +8 -8
- package/dist/builtin/extensions/memory/index.js +6 -6
- package/dist/builtin/extensions/pie-proc/README.md +12 -3
- package/dist/builtin/extensions/pie-proc/index.js +88 -45
- package/dist/builtin/extensions/plan-mode/index.js +4 -4
- package/dist/builtin/extensions/subagent/index.js +5 -5
- package/dist/builtin/extensions/todo/index.js +4 -4
- package/dist/chunks/{chunk-BOQIGMGQ.js → chunk-2WLKAMOH.js} +3 -3
- package/dist/chunks/{chunk-IK2FR2YF.js → chunk-DJ4LO7PQ.js} +1 -1
- package/dist/chunks/{chunk-MCR4JYI6.js → chunk-IM7DLPPY.js} +74 -8
- package/dist/chunks/{chunk-FD3KBPDR.js → chunk-IQDVL34H.js} +7 -7
- package/dist/chunks/{chunk-JKO42HZW.js → chunk-OQCKDEEE.js} +1 -1
- package/dist/chunks/{chunk-26KRUYZH.js → chunk-SAXKBFX3.js} +1 -1
- package/dist/chunks/{chunk-JJH77AUU.js → chunk-SYZR74QO.js} +4 -4
- package/dist/chunks/{chunk-KGWKRO7Z.js → chunk-TNRZEQD5.js} +2 -2
- package/dist/chunks/{chunk-UYDS75SI.js → chunk-TTSQWGAT.js} +2 -1
- package/dist/chunks/{chunk-EZZTMDWZ.js → chunk-X3ZVZB2R.js} +435 -17
- package/dist/chunks/{host-image-fallback-LPHB5CTL.js → host-image-fallback-AEKY2LSZ.js} +1 -1
- package/dist/chunks/{memory-git-ZJN6SPIU.js → memory-git-G56IXFWU.js} +5 -5
- package/dist/chunks/{model-registry-GLBIUOJR.js → model-registry-4LM2I6FR.js} +2 -2
- package/dist/chunks/{read-file-understanding-DFJPTTSB.js → read-file-understanding-GTNZHAK5.js} +5 -5
- package/dist/chunks/{src-KZ7YID3I.js → src-3YJ4UVEC.js} +3 -3
- package/dist/chunks/{src-ALHMJZ5R.js → src-APNP4M4N.js} +2 -2
- package/dist/chunks/{src-LEXKDSFV.js → src-T6AUO53N.js} +4 -4
- package/dist/chunks/{src-76Q33OY5.js → src-TNUD7EDH.js} +1 -1
- package/dist/chunks/{test-stream-OVGDTXOY.js → test-stream-EF2DHEHV.js} +1 -1
- package/dist/cli.js +16 -16
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
normalizeFileManagerPlatform,
|
|
20
20
|
resolvePath,
|
|
21
21
|
understandReadFile
|
|
22
|
-
} from "./chunks/chunk-
|
|
22
|
+
} from "./chunks/chunk-TNRZEQD5.js";
|
|
23
23
|
import {
|
|
24
24
|
CLI_RETRY_MAX_RETRIES,
|
|
25
25
|
classifyCliFailure,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
logTransportLifecycle,
|
|
37
37
|
setYoloGrantListener,
|
|
38
38
|
truncateHeadTail
|
|
39
|
-
} from "./chunks/chunk-
|
|
39
|
+
} from "./chunks/chunk-2WLKAMOH.js";
|
|
40
40
|
import "./chunks/chunk-F7EBZTZO.js";
|
|
41
41
|
import {
|
|
42
42
|
MEMORY_DISTILL_RETRYABLE_EXIT_CODE,
|
|
@@ -52,12 +52,12 @@ import {
|
|
|
52
52
|
runDistillWorkerMain,
|
|
53
53
|
spawnDistillAutoWorker,
|
|
54
54
|
spawnDistillWorker
|
|
55
|
-
} from "./chunks/chunk-
|
|
55
|
+
} from "./chunks/chunk-IQDVL34H.js";
|
|
56
56
|
import {
|
|
57
57
|
commitCuratedMemoryBestEffort,
|
|
58
58
|
isMemoryGitInitialized,
|
|
59
59
|
readCuratedMemoryGitLog
|
|
60
|
-
} from "./chunks/chunk-
|
|
60
|
+
} from "./chunks/chunk-DJ4LO7PQ.js";
|
|
61
61
|
import {
|
|
62
62
|
SessionOwnershipLifecycle,
|
|
63
63
|
claimSessionOwnership,
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
import "./chunks/chunk-Q4NJEPIZ.js";
|
|
68
68
|
import {
|
|
69
69
|
ModelRegistry
|
|
70
|
-
} from "./chunks/chunk-
|
|
70
|
+
} from "./chunks/chunk-TTSQWGAT.js";
|
|
71
71
|
import {
|
|
72
72
|
VERSION,
|
|
73
73
|
getAgentDir,
|
|
@@ -117,7 +117,7 @@ import {
|
|
|
117
117
|
shouldPreserveExecutionStateForUserText,
|
|
118
118
|
supersedeExecutionState,
|
|
119
119
|
todayKey
|
|
120
|
-
} from "./chunks/chunk-
|
|
120
|
+
} from "./chunks/chunk-X3ZVZB2R.js";
|
|
121
121
|
import {
|
|
122
122
|
AGENTS_CONTEXT_FILE_NAME,
|
|
123
123
|
AgentSessionController,
|
|
@@ -157,8 +157,8 @@ import {
|
|
|
157
157
|
setEnablementInMap,
|
|
158
158
|
setExtensionEnabledInSettings,
|
|
159
159
|
verifyPreparedCompactionCommit
|
|
160
|
-
} from "./chunks/chunk-
|
|
161
|
-
import "./chunks/chunk-
|
|
160
|
+
} from "./chunks/chunk-SYZR74QO.js";
|
|
161
|
+
import "./chunks/chunk-SAXKBFX3.js";
|
|
162
162
|
import {
|
|
163
163
|
ALL_THINKING_LEVELS,
|
|
164
164
|
Deref,
|
|
@@ -183,7 +183,7 @@ import {
|
|
|
183
183
|
streamSimple,
|
|
184
184
|
type_exports,
|
|
185
185
|
validateExplicitThinkingSelection
|
|
186
|
-
} from "./chunks/chunk-
|
|
186
|
+
} from "./chunks/chunk-IM7DLPPY.js";
|
|
187
187
|
import {
|
|
188
188
|
IsArray,
|
|
189
189
|
IsBigInt,
|
|
@@ -82309,7 +82309,7 @@ var InteractiveMode = class {
|
|
|
82309
82309
|
const activeSession = this.sessionManager.getActiveSession();
|
|
82310
82310
|
this.thinkingLevelEphemeral = Boolean(this.options.explicitThinkingLevel);
|
|
82311
82311
|
this.thinkingLevel = resolveInitialThinkingLevel({ explicitThinkingLevel: this.options.explicitThinkingLevel, session: activeSession, settingsManager: this.options.settingsManager, model: this.options.model });
|
|
82312
|
-
const { Agent } = await import("./chunks/src-
|
|
82312
|
+
const { Agent } = await import("./chunks/src-APNP4M4N.js");
|
|
82313
82313
|
this.agent = new Agent({
|
|
82314
82314
|
initialState: {
|
|
82315
82315
|
systemPrompt: this.buildSystemPrompt(),
|
|
@@ -82703,7 +82703,7 @@ var InteractiveMode = class {
|
|
|
82703
82703
|
/** Live mention handler for extension-driven attachments (duck-typed onto
|
|
82704
82704
|
* InteractiveExtensionLoaderHost); undefined while attachments init. */
|
|
82705
82705
|
async describeImageFile(filePath, displayName) {
|
|
82706
|
-
const { describeImageViaUnderstandingChain } = await import("./chunks/host-image-fallback-
|
|
82706
|
+
const { describeImageViaUnderstandingChain } = await import("./chunks/host-image-fallback-AEKY2LSZ.js");
|
|
82707
82707
|
return describeImageViaUnderstandingChain({ modelRegistry: this.options.modelRegistry, getAgentModel: () => this.agent?.state.model, filePath, displayName });
|
|
82708
82708
|
}
|
|
82709
82709
|
activeModelInputs() {
|
|
@@ -83337,7 +83337,7 @@ async function runPrintMode(params) {
|
|
|
83337
83337
|
`);
|
|
83338
83338
|
console.log("Assistant: ");
|
|
83339
83339
|
}
|
|
83340
|
-
const { Agent: AgentClass } = await import("./chunks/src-
|
|
83340
|
+
const { Agent: AgentClass } = await import("./chunks/src-APNP4M4N.js");
|
|
83341
83341
|
let agent;
|
|
83342
83342
|
const printModeExtensions = await loadPrintModeExtensions({
|
|
83343
83343
|
cwd: runtime.cwd,
|
|
@@ -84812,7 +84812,7 @@ async function loadJsonModeExtensions(params) {
|
|
|
84812
84812
|
}
|
|
84813
84813
|
async function describeImageViaUnderstanding(params, filePath, displayName) {
|
|
84814
84814
|
try {
|
|
84815
|
-
const { understandReadFile: understandReadFile2 } = await import("./chunks/read-file-understanding-
|
|
84815
|
+
const { understandReadFile: understandReadFile2 } = await import("./chunks/read-file-understanding-GTNZHAK5.js");
|
|
84816
84816
|
const ext = filePath.toLowerCase().split(".").pop() ?? "";
|
|
84817
84817
|
const mime = ext === "png" ? "image/png" : ext === "gif" ? "image/gif" : ext === "webp" ? "image/webp" : "image/jpeg";
|
|
84818
84818
|
const agentModel = params.getAgent?.()?.state?.model;
|
|
@@ -84987,7 +84987,7 @@ function createJsonEventsRuntimeManager(input) {
|
|
|
84987
84987
|
throw err;
|
|
84988
84988
|
}
|
|
84989
84989
|
}
|
|
84990
|
-
const { Agent: AgentClass } = await import("./chunks/src-
|
|
84990
|
+
const { Agent: AgentClass } = await import("./chunks/src-APNP4M4N.js");
|
|
84991
84991
|
if (host.runtimeClosing) return;
|
|
84992
84992
|
const compositionRegistry = createCliHostEnvelopeRegistry();
|
|
84993
84993
|
const jsonModeExtensions = await loadJsonModeExtensions({
|
|
@@ -85940,7 +85940,7 @@ function createJsonEventsSidechatService(ctx) {
|
|
|
85940
85940
|
const sideTrace = trace();
|
|
85941
85941
|
const sideApiKey = rt.apiKey;
|
|
85942
85942
|
const snapshot = structuredClone(parent.state.messages);
|
|
85943
|
-
const { Agent: AgentClass } = await import("./chunks/src-
|
|
85943
|
+
const { Agent: AgentClass } = await import("./chunks/src-APNP4M4N.js");
|
|
85944
85944
|
const sideAgent = new AgentClass({
|
|
85945
85945
|
initialState: {
|
|
85946
85946
|
systemPrompt: parent.state.systemPrompt,
|
|
@@ -86728,7 +86728,7 @@ async function runWithJsonEventsConsoleIsolation(fn) {
|
|
|
86728
86728
|
}
|
|
86729
86729
|
async function createCliTestStreamFnFromEnv() {
|
|
86730
86730
|
if (!process.env.PIE_TEST_MOCK_STREAM_SEQUENCE) return void 0;
|
|
86731
|
-
return (await import("./chunks/test-stream-
|
|
86731
|
+
return (await import("./chunks/test-stream-EF2DHEHV.js")).createTestStreamFnFromSequenceEnv();
|
|
86732
86732
|
}
|
|
86733
86733
|
async function startChat(initialPrompt, testCommand, explicitSessionId, explicitThinkingLevel, explicitModelRef) {
|
|
86734
86734
|
const flagArgv = flagArgsBeforeDelimiter(process.argv);
|