@lazyingart/agintiflow 0.20.20 → 0.20.21
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lazyingart/agintiflow",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.21",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "AgInTiFlow is a web-first coding agent and CLI with DeepSeek routing, sandboxed tools, model providers, canvas artifacts, and optional wrappers.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -306,6 +306,9 @@ try {
|
|
|
306
306
|
if (!latest.stdout.includes("resume history") || !latest.stdout.includes("chat=") || !latest.stdout.includes("Mock run complete")) {
|
|
307
307
|
throw new Error("bare aginti resume did not preview saved chat history");
|
|
308
308
|
}
|
|
309
|
+
if (!latest.stdout.includes("user>") || !latest.stdout.includes("aginti>")) {
|
|
310
|
+
throw new Error("resume history should use prompt-style user>/aginti> labels");
|
|
311
|
+
}
|
|
309
312
|
if (!latest.stdout.includes("resume note=showing chat transcript only")) {
|
|
310
313
|
throw new Error("bare aginti resume did not clarify that tool/run events are separate from chat history");
|
|
311
314
|
}
|
|
@@ -345,6 +348,7 @@ try {
|
|
|
345
348
|
"run-status",
|
|
346
349
|
"resume-latest",
|
|
347
350
|
"resume-history-metadata",
|
|
351
|
+
"resume-history-prompt-labels",
|
|
348
352
|
"resume-history-full",
|
|
349
353
|
],
|
|
350
354
|
},
|
package/src/interactive-cli.js
CHANGED
|
@@ -1573,8 +1573,8 @@ async function latestSession() {
|
|
|
1573
1573
|
}
|
|
1574
1574
|
|
|
1575
1575
|
function printHistoryEntry(entry) {
|
|
1576
|
-
const role = entry.role === "assistant" ? "aginti" : entry.role === "user" ? "user" : String(entry.role || "note");
|
|
1577
|
-
const bg = role === "aginti" ? ansi.agentBg : role === "user" ? ansi.userBg : ansi.systemBg;
|
|
1576
|
+
const role = entry.role === "assistant" ? "aginti>" : entry.role === "user" ? "user>" : String(entry.role || "note");
|
|
1577
|
+
const bg = role === "aginti>" ? ansi.agentBg : role === "user>" ? ansi.userBg : ansi.systemBg;
|
|
1578
1578
|
const time = entry.at ? new Date(entry.at).toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" }) : "";
|
|
1579
1579
|
printHistoryBlock(role, entry.content, { time, bg });
|
|
1580
1580
|
}
|