@vincemakes/kiso-code 0.1.38 → 0.1.39
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/chat.js +4 -4
- package/package.json +2 -2
package/dist/chat.js
CHANGED
|
@@ -100,8 +100,8 @@ function approvalDiff(name, input) {
|
|
|
100
100
|
* and the consumer skips them — the pipe bytes stay identical.
|
|
101
101
|
*/
|
|
102
102
|
/**
|
|
103
|
-
* round 6 (the
|
|
104
|
-
* content follows the
|
|
103
|
+
* round 6 (the task round): translate a do-not-compact-tagged tool result whose
|
|
104
|
+
* content follows the task echo contract (a [task] header line + one
|
|
105
105
|
* `[pending|active|done] text` line per item) into the checklist cell's
|
|
106
106
|
* structured items. Null = not a checklist — the ordinary result cell
|
|
107
107
|
* renders. Keyed on the TAG (what the extension declared), never on a
|
|
@@ -114,7 +114,7 @@ function parseChecklist(tags, content) {
|
|
|
114
114
|
const items = [];
|
|
115
115
|
let header = "";
|
|
116
116
|
for (const line of content.split("\n")) {
|
|
117
|
-
const head = /^\[
|
|
117
|
+
const head = /^\[task\] (.*)$/.exec(line);
|
|
118
118
|
if (head !== null) {
|
|
119
119
|
header = head[1];
|
|
120
120
|
continue;
|
|
@@ -244,7 +244,7 @@ export async function consumeRun(session, run, input, turnNo, faux, liveInput, s
|
|
|
244
244
|
reason = m[1];
|
|
245
245
|
}
|
|
246
246
|
body.toolResult(ev.callId, { content: text, isError: ev.isError, reason });
|
|
247
|
-
// round 6 (the
|
|
247
|
+
// round 6 (the task round): a result tagged do-not-compact whose content
|
|
248
248
|
// follows the checklist shape also renders as the durable
|
|
249
249
|
// checklist cell (the CLI translates Event → the tui's own
|
|
250
250
|
// shape; a non-matching parse falls back to the ordinary
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vincemakes/kiso-code",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.39",
|
|
4
4
|
"description": "kiso CLI — the coding-agent reference product: kiso chat / kiso resume / kiso sessions.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@vincemakes/kiso-provider-openai": "0.1.31",
|
|
25
25
|
"@vincemakes/kiso-runtime": "0.1.31",
|
|
26
26
|
"@vincemakes/kiso-tools-node": "0.1.31",
|
|
27
|
-
"@vincemakes/kiso-tui": "0.1.
|
|
27
|
+
"@vincemakes/kiso-tui": "0.1.39"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/node": "^26.1.2",
|