@piewf/cli 5.17.2 → 5.18.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/src/cli.js +1 -1
- package/dist/src/session-inspector.js +1 -1
- package/package.json +6 -6
package/dist/src/cli.js
CHANGED
|
@@ -433,7 +433,7 @@ async function createWorkflowRuntime(options, shutdownHandlers = []) {
|
|
|
433
433
|
getThinkingLevel: () => services.settingsManager.getDefaultThinkingLevel() ?? "medium",
|
|
434
434
|
getActiveTools: () => activeTools,
|
|
435
435
|
on(name, handler) { if (name === "session_shutdown" && typeof handler === "function")
|
|
436
|
-
shutdownHandlers.push(handler); },
|
|
436
|
+
shutdownHandlers.push(handler); return () => { }; },
|
|
437
437
|
appendEntry() { },
|
|
438
438
|
sendMessage() { },
|
|
439
439
|
events: { emit() { } },
|
|
@@ -53,7 +53,7 @@ export function transcriptLines(entries) {
|
|
|
53
53
|
if (!entries.length)
|
|
54
54
|
return ["(no active transcript entries)"];
|
|
55
55
|
return entries.flatMap((entry, index) => {
|
|
56
|
-
const lines = entry.type === "message" ? transcriptMessageLines(entry.message) : entry.type === "model_change" ? [`[model] ${entry.provider}/${entry.modelId}`] : entry.type === "thinking_level_change" ? [`[thinking] ${entry.thinkingLevel}`] : entry.type === "compaction" ? ["[compaction]", ...entry.summary.split("\n")] : entry.type === "branch_summary" ? ["[branch summary]", ...entry.summary.split("\n")] : entry.type === "custom_message" ? [`[custom_message: ${entry.customType}]`, ...(typeof entry.content === "string" ? entry.content.split("\n") : entry.content.flatMap(transcriptPartLines))] : entry.type === "custom" ? [`[custom: ${entry.customType}]`] : entry.type === "label" ? [`[label] ${entry.label ?? ""}`] : [`[session info] ${entry.name ?? ""}`];
|
|
56
|
+
const lines = entry.type === "message" ? transcriptMessageLines(entry.message) : entry.type === "model_change" ? [`[model] ${entry.provider}/${entry.modelId}`] : entry.type === "thinking_level_change" ? [`[thinking] ${entry.thinkingLevel}`] : entry.type === "compaction" ? ["[compaction]", ...entry.summary.split("\n")] : entry.type === "branch_summary" ? ["[branch summary]", ...entry.summary.split("\n")] : entry.type === "custom_message" ? [`[custom_message: ${entry.customType}]`, ...(typeof entry.content === "string" ? entry.content.split("\n") : entry.content.flatMap(transcriptPartLines))] : entry.type === "custom" ? [`[custom: ${entry.customType}]`] : entry.type === "label" ? [`[label] ${entry.label ?? ""}`] : entry.type === "usage" ? [`[usage] ${entry.kind} ${entry.provider}/${entry.model}`] : entry.type === "context_edit" ? [`[context edit] ${entry.targetId}${entry.replacement === null ? " omitted" : " replaced"}`] : [`[session info] ${entry.name ?? ""}`];
|
|
57
57
|
return index ? ["", ...lines] : lines;
|
|
58
58
|
});
|
|
59
59
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@piewf/cli",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.18.0",
|
|
4
4
|
"description": "CLI for pi-extensible-workflows",
|
|
5
5
|
"homepage": "https://vekexasia.github.io/pi-extensible-workflows/",
|
|
6
6
|
"repository": {
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
},
|
|
42
42
|
"license": "MIT",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@earendil-works/pi-ai": "0.
|
|
45
|
-
"@earendil-works/pi-coding-agent": "0.
|
|
46
|
-
"@earendil-works/pi-server": "0.
|
|
47
|
-
"@earendil-works/pi-tui": "0.
|
|
48
|
-
"pi-extensible-workflows": "5.
|
|
44
|
+
"@earendil-works/pi-ai": "0.99.1",
|
|
45
|
+
"@earendil-works/pi-coding-agent": "0.99.1",
|
|
46
|
+
"@earendil-works/pi-server": "0.99.1",
|
|
47
|
+
"@earendil-works/pi-tui": "0.99.1",
|
|
48
|
+
"pi-extensible-workflows": "5.18.0",
|
|
49
49
|
"typebox": "1.3.7"
|
|
50
50
|
},
|
|
51
51
|
"publishConfig": {
|