@caupulican/pi-adaptative 0.80.28 → 0.80.29
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/CHANGELOG.md +14 -0
- package/dist/core/tools/bash.d.ts +5 -0
- package/dist/core/tools/bash.d.ts.map +1 -1
- package/dist/core/tools/bash.js +59 -21
- package/dist/core/tools/bash.js.map +1 -1
- package/dist/core/tools/output-accumulator.d.ts +33 -12
- package/dist/core/tools/output-accumulator.d.ts.map +1 -1
- package/dist/core/tools/output-accumulator.js +250 -104
- package/dist/core/tools/output-accumulator.js.map +1 -1
- package/dist/modes/interactive/components/visual-truncate.d.ts +1 -1
- package/dist/modes/interactive/components/visual-truncate.d.ts.map +1 -1
- package/dist/modes/interactive/components/visual-truncate.js +49 -9
- package/dist/modes/interactive/components/visual-truncate.js.map +1 -1
- package/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
- package/examples/extensions/custom-provider-anthropic/package.json +1 -1
- package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
- package/examples/extensions/sandbox/package-lock.json +2 -2
- package/examples/extensions/sandbox/package.json +1 -1
- package/examples/extensions/with-deps/package-lock.json +2 -2
- package/examples/extensions/with-deps/package.json +1 -1
- package/npm-shrinkwrap.json +12 -12
- package/package.json +4 -4
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
export interface VisualTruncateResult {
|
|
6
6
|
/** The visual lines to display */
|
|
7
7
|
visualLines: string[];
|
|
8
|
-
/** Number of
|
|
8
|
+
/** Number of earlier logical lines plus hidden wrapped tail lines. */
|
|
9
9
|
skippedCount: number;
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visual-truncate.d.ts","sourceRoot":"","sources":["../../../../src/modes/interactive/components/visual-truncate.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,MAAM,WAAW,oBAAoB;IACpC,kCAAkC;IAClC,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,
|
|
1
|
+
{"version":3,"file":"visual-truncate.d.ts","sourceRoot":"","sources":["../../../../src/modes/interactive/components/visual-truncate.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,MAAM,WAAW,oBAAoB;IACpC,kCAAkC;IAClC,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,sEAAsE;IACtE,YAAY,EAAE,MAAM,CAAC;CACrB;AAkCD;;;;;;;;;;;GAWG;AACH,wBAAgB,qBAAqB,CACpC,IAAI,EAAE,MAAM,EACZ,cAAc,EAAE,MAAM,EACtB,KAAK,EAAE,MAAM,EACb,QAAQ,GAAE,MAAU,GAClB,oBAAoB,CAwBtB","sourcesContent":["/**\n * Shared utility for truncating text to visual lines (accounting for line wrapping).\n * Used by both tool-execution.ts and bash-execution.ts for consistent behavior.\n */\n\nimport { Text } from \"@caupulican/pi-tui\";\n\nexport interface VisualTruncateResult {\n\t/** The visual lines to display */\n\tvisualLines: string[];\n\t/** Number of earlier logical lines plus hidden wrapped tail lines. */\n\tskippedCount: number;\n}\n\nfunction countLogicalLines(text: string): number {\n\tif (!text) return 0;\n\tlet lines = 1;\n\tfor (let i = 0; i < text.length; i++) {\n\t\tif (text.charCodeAt(i) === 10) lines++;\n\t}\n\treturn lines;\n}\n\nfunction tailLogicalLines(text: string, maxLines: number): { text: string; skippedCount: number } {\n\tif (maxLines <= 0) return { text: \"\", skippedCount: countLogicalLines(text) };\n\n\tlet totalLines = 1;\n\tlet tailLines = 1;\n\tlet tailStart = 0;\n\tlet foundTailStart = false;\n\n\tfor (let i = text.length - 1; i >= 0; i--) {\n\t\tif (text.charCodeAt(i) !== 10) continue;\n\t\ttotalLines++;\n\t\tif (tailLines < maxLines) {\n\t\t\ttailLines++;\n\t\t} else if (!foundTailStart) {\n\t\t\ttailStart = i + 1;\n\t\t\tfoundTailStart = true;\n\t\t}\n\t}\n\n\tif (!foundTailStart) return { text, skippedCount: 0 };\n\treturn { text: text.slice(tailStart), skippedCount: Math.max(0, totalLines - maxLines) };\n}\n\n/**\n * Truncate text to a maximum number of visual lines (from the end).\n * This accounts for line wrapping based on terminal width.\n *\n * @param text - The text content (may contain newlines)\n * @param maxVisualLines - Maximum number of visual lines to show\n * @param width - Terminal/render width\n * @param paddingX - Horizontal padding for Text component (default 0).\n * Use 0 when result will be placed in a Box (Box adds its own padding).\n * Use 1 when result will be placed in a plain Container.\n * @returns The truncated visual lines and count of skipped lines\n */\nexport function truncateToVisualLines(\n\ttext: string,\n\tmaxVisualLines: number,\n\twidth: number,\n\tpaddingX: number = 0,\n): VisualTruncateResult {\n\tif (!text) {\n\t\treturn { visualLines: [], skippedCount: 0 };\n\t}\n\n\t// Rendering wide/ANSI text is expensive. Tool previews only need the tail,\n\t// and the last N logical lines always contain the last N visual lines because\n\t// every logical line renders to at least one visual line. Pre-slice before\n\t// constructing Text so streaming command previews do not re-wrap thousands of\n\t// old lines on every update tick.\n\tconst tail = tailLogicalLines(text, maxVisualLines);\n\tconst tempText = new Text(tail.text, paddingX, 0);\n\tconst skippedLogicalLines = tail.skippedCount;\n\tconst renderedVisualLines = tempText.render(width);\n\n\tif (renderedVisualLines.length <= maxVisualLines) {\n\t\treturn { visualLines: renderedVisualLines, skippedCount: skippedLogicalLines };\n\t}\n\n\tconst extraSkippedVisualLines = renderedVisualLines.length - maxVisualLines;\n\treturn {\n\t\tvisualLines: renderedVisualLines.slice(-maxVisualLines),\n\t\tskippedCount: skippedLogicalLines + extraSkippedVisualLines,\n\t};\n}\n"]}
|
|
@@ -3,6 +3,39 @@
|
|
|
3
3
|
* Used by both tool-execution.ts and bash-execution.ts for consistent behavior.
|
|
4
4
|
*/
|
|
5
5
|
import { Text } from "@caupulican/pi-tui";
|
|
6
|
+
function countLogicalLines(text) {
|
|
7
|
+
if (!text)
|
|
8
|
+
return 0;
|
|
9
|
+
let lines = 1;
|
|
10
|
+
for (let i = 0; i < text.length; i++) {
|
|
11
|
+
if (text.charCodeAt(i) === 10)
|
|
12
|
+
lines++;
|
|
13
|
+
}
|
|
14
|
+
return lines;
|
|
15
|
+
}
|
|
16
|
+
function tailLogicalLines(text, maxLines) {
|
|
17
|
+
if (maxLines <= 0)
|
|
18
|
+
return { text: "", skippedCount: countLogicalLines(text) };
|
|
19
|
+
let totalLines = 1;
|
|
20
|
+
let tailLines = 1;
|
|
21
|
+
let tailStart = 0;
|
|
22
|
+
let foundTailStart = false;
|
|
23
|
+
for (let i = text.length - 1; i >= 0; i--) {
|
|
24
|
+
if (text.charCodeAt(i) !== 10)
|
|
25
|
+
continue;
|
|
26
|
+
totalLines++;
|
|
27
|
+
if (tailLines < maxLines) {
|
|
28
|
+
tailLines++;
|
|
29
|
+
}
|
|
30
|
+
else if (!foundTailStart) {
|
|
31
|
+
tailStart = i + 1;
|
|
32
|
+
foundTailStart = true;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
if (!foundTailStart)
|
|
36
|
+
return { text, skippedCount: 0 };
|
|
37
|
+
return { text: text.slice(tailStart), skippedCount: Math.max(0, totalLines - maxLines) };
|
|
38
|
+
}
|
|
6
39
|
/**
|
|
7
40
|
* Truncate text to a maximum number of visual lines (from the end).
|
|
8
41
|
* This accounts for line wrapping based on terminal width.
|
|
@@ -19,15 +52,22 @@ export function truncateToVisualLines(text, maxVisualLines, width, paddingX = 0)
|
|
|
19
52
|
if (!text) {
|
|
20
53
|
return { visualLines: [], skippedCount: 0 };
|
|
21
54
|
}
|
|
22
|
-
//
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
55
|
+
// Rendering wide/ANSI text is expensive. Tool previews only need the tail,
|
|
56
|
+
// and the last N logical lines always contain the last N visual lines because
|
|
57
|
+
// every logical line renders to at least one visual line. Pre-slice before
|
|
58
|
+
// constructing Text so streaming command previews do not re-wrap thousands of
|
|
59
|
+
// old lines on every update tick.
|
|
60
|
+
const tail = tailLogicalLines(text, maxVisualLines);
|
|
61
|
+
const tempText = new Text(tail.text, paddingX, 0);
|
|
62
|
+
const skippedLogicalLines = tail.skippedCount;
|
|
63
|
+
const renderedVisualLines = tempText.render(width);
|
|
64
|
+
if (renderedVisualLines.length <= maxVisualLines) {
|
|
65
|
+
return { visualLines: renderedVisualLines, skippedCount: skippedLogicalLines };
|
|
27
66
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
67
|
+
const extraSkippedVisualLines = renderedVisualLines.length - maxVisualLines;
|
|
68
|
+
return {
|
|
69
|
+
visualLines: renderedVisualLines.slice(-maxVisualLines),
|
|
70
|
+
skippedCount: skippedLogicalLines + extraSkippedVisualLines,
|
|
71
|
+
};
|
|
32
72
|
}
|
|
33
73
|
//# sourceMappingURL=visual-truncate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visual-truncate.js","sourceRoot":"","sources":["../../../../src/modes/interactive/components/visual-truncate.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAS1C;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,qBAAqB,CACpC,IAAY,EACZ,cAAsB,EACtB,KAAa,EACb,QAAQ,GAAW,CAAC,EACG;IACvB,IAAI,CAAC,IAAI,EAAE,CAAC;QACX,OAAO,EAAE,WAAW,EAAE,EAAE,EAAE,YAAY,EAAE,CAAC,EAAE,CAAC;IAC7C,CAAC;IAED,
|
|
1
|
+
{"version":3,"file":"visual-truncate.js","sourceRoot":"","sources":["../../../../src/modes/interactive/components/visual-truncate.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAS1C,SAAS,iBAAiB,CAAC,IAAY,EAAU;IAChD,IAAI,CAAC,IAAI;QAAE,OAAO,CAAC,CAAC;IACpB,IAAI,KAAK,GAAG,CAAC,CAAC;IACd,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACtC,IAAI,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,KAAK,EAAE;YAAE,KAAK,EAAE,CAAC;IACxC,CAAC;IACD,OAAO,KAAK,CAAC;AAAA,CACb;AAED,SAAS,gBAAgB,CAAC,IAAY,EAAE,QAAgB,EAA0C;IACjG,IAAI,QAAQ,IAAI,CAAC;QAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,YAAY,EAAE,iBAAiB,CAAC,IAAI,CAAC,EAAE,CAAC;IAE9E,IAAI,UAAU,GAAG,CAAC,CAAC;IACnB,IAAI,SAAS,GAAG,CAAC,CAAC;IAClB,IAAI,SAAS,GAAG,CAAC,CAAC;IAClB,IAAI,cAAc,GAAG,KAAK,CAAC;IAE3B,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;QAC3C,IAAI,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,KAAK,EAAE;YAAE,SAAS;QACxC,UAAU,EAAE,CAAC;QACb,IAAI,SAAS,GAAG,QAAQ,EAAE,CAAC;YAC1B,SAAS,EAAE,CAAC;QACb,CAAC;aAAM,IAAI,CAAC,cAAc,EAAE,CAAC;YAC5B,SAAS,GAAG,CAAC,GAAG,CAAC,CAAC;YAClB,cAAc,GAAG,IAAI,CAAC;QACvB,CAAC;IACF,CAAC;IAED,IAAI,CAAC,cAAc;QAAE,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,EAAE,CAAC;IACtD,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,YAAY,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,UAAU,GAAG,QAAQ,CAAC,EAAE,CAAC;AAAA,CACzF;AAED;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,qBAAqB,CACpC,IAAY,EACZ,cAAsB,EACtB,KAAa,EACb,QAAQ,GAAW,CAAC,EACG;IACvB,IAAI,CAAC,IAAI,EAAE,CAAC;QACX,OAAO,EAAE,WAAW,EAAE,EAAE,EAAE,YAAY,EAAE,CAAC,EAAE,CAAC;IAC7C,CAAC;IAED,2EAA2E;IAC3E,8EAA8E;IAC9E,2EAA2E;IAC3E,8EAA8E;IAC9E,kCAAkC;IAClC,MAAM,IAAI,GAAG,gBAAgB,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;IACpD,MAAM,QAAQ,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC;IAClD,MAAM,mBAAmB,GAAG,IAAI,CAAC,YAAY,CAAC;IAC9C,MAAM,mBAAmB,GAAG,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAEnD,IAAI,mBAAmB,CAAC,MAAM,IAAI,cAAc,EAAE,CAAC;QAClD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,YAAY,EAAE,mBAAmB,EAAE,CAAC;IAChF,CAAC;IAED,MAAM,uBAAuB,GAAG,mBAAmB,CAAC,MAAM,GAAG,cAAc,CAAC;IAC5E,OAAO;QACN,WAAW,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAC,cAAc,CAAC;QACvD,YAAY,EAAE,mBAAmB,GAAG,uBAAuB;KAC3D,CAAC;AAAA,CACF","sourcesContent":["/**\n * Shared utility for truncating text to visual lines (accounting for line wrapping).\n * Used by both tool-execution.ts and bash-execution.ts for consistent behavior.\n */\n\nimport { Text } from \"@caupulican/pi-tui\";\n\nexport interface VisualTruncateResult {\n\t/** The visual lines to display */\n\tvisualLines: string[];\n\t/** Number of earlier logical lines plus hidden wrapped tail lines. */\n\tskippedCount: number;\n}\n\nfunction countLogicalLines(text: string): number {\n\tif (!text) return 0;\n\tlet lines = 1;\n\tfor (let i = 0; i < text.length; i++) {\n\t\tif (text.charCodeAt(i) === 10) lines++;\n\t}\n\treturn lines;\n}\n\nfunction tailLogicalLines(text: string, maxLines: number): { text: string; skippedCount: number } {\n\tif (maxLines <= 0) return { text: \"\", skippedCount: countLogicalLines(text) };\n\n\tlet totalLines = 1;\n\tlet tailLines = 1;\n\tlet tailStart = 0;\n\tlet foundTailStart = false;\n\n\tfor (let i = text.length - 1; i >= 0; i--) {\n\t\tif (text.charCodeAt(i) !== 10) continue;\n\t\ttotalLines++;\n\t\tif (tailLines < maxLines) {\n\t\t\ttailLines++;\n\t\t} else if (!foundTailStart) {\n\t\t\ttailStart = i + 1;\n\t\t\tfoundTailStart = true;\n\t\t}\n\t}\n\n\tif (!foundTailStart) return { text, skippedCount: 0 };\n\treturn { text: text.slice(tailStart), skippedCount: Math.max(0, totalLines - maxLines) };\n}\n\n/**\n * Truncate text to a maximum number of visual lines (from the end).\n * This accounts for line wrapping based on terminal width.\n *\n * @param text - The text content (may contain newlines)\n * @param maxVisualLines - Maximum number of visual lines to show\n * @param width - Terminal/render width\n * @param paddingX - Horizontal padding for Text component (default 0).\n * Use 0 when result will be placed in a Box (Box adds its own padding).\n * Use 1 when result will be placed in a plain Container.\n * @returns The truncated visual lines and count of skipped lines\n */\nexport function truncateToVisualLines(\n\ttext: string,\n\tmaxVisualLines: number,\n\twidth: number,\n\tpaddingX: number = 0,\n): VisualTruncateResult {\n\tif (!text) {\n\t\treturn { visualLines: [], skippedCount: 0 };\n\t}\n\n\t// Rendering wide/ANSI text is expensive. Tool previews only need the tail,\n\t// and the last N logical lines always contain the last N visual lines because\n\t// every logical line renders to at least one visual line. Pre-slice before\n\t// constructing Text so streaming command previews do not re-wrap thousands of\n\t// old lines on every update tick.\n\tconst tail = tailLogicalLines(text, maxVisualLines);\n\tconst tempText = new Text(tail.text, paddingX, 0);\n\tconst skippedLogicalLines = tail.skippedCount;\n\tconst renderedVisualLines = tempText.render(width);\n\n\tif (renderedVisualLines.length <= maxVisualLines) {\n\t\treturn { visualLines: renderedVisualLines, skippedCount: skippedLogicalLines };\n\t}\n\n\tconst extraSkippedVisualLines = renderedVisualLines.length - maxVisualLines;\n\treturn {\n\t\tvisualLines: renderedVisualLines.slice(-maxVisualLines),\n\t\tskippedCount: skippedLogicalLines + extraSkippedVisualLines,\n\t};\n}\n"]}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-extension-custom-provider",
|
|
3
|
-
"version": "0.80.
|
|
3
|
+
"version": "0.80.26",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "pi-extension-custom-provider",
|
|
9
|
-
"version": "0.80.
|
|
9
|
+
"version": "0.80.26",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@anthropic-ai/sdk": "^0.52.0"
|
|
12
12
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-extension-sandbox",
|
|
3
|
-
"version": "0.80.
|
|
3
|
+
"version": "0.80.26",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "pi-extension-sandbox",
|
|
9
|
-
"version": "0.80.
|
|
9
|
+
"version": "0.80.26",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@anthropic-ai/sandbox-runtime": "^0.0.26"
|
|
12
12
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-extension-with-deps",
|
|
3
|
-
"version": "0.80.
|
|
3
|
+
"version": "0.80.26",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "pi-extension-with-deps",
|
|
9
|
-
"version": "0.80.
|
|
9
|
+
"version": "0.80.26",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"ms": "^2.1.3"
|
|
12
12
|
},
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@caupulican/pi-adaptative",
|
|
3
|
-
"version": "0.80.
|
|
3
|
+
"version": "0.80.29",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@caupulican/pi-adaptative",
|
|
9
|
-
"version": "0.80.
|
|
9
|
+
"version": "0.80.29",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@caupulican/pi-agent-core": "^0.80.
|
|
13
|
-
"@caupulican/pi-ai": "^0.80.
|
|
14
|
-
"@caupulican/pi-tui": "^0.80.
|
|
12
|
+
"@caupulican/pi-agent-core": "^0.80.29",
|
|
13
|
+
"@caupulican/pi-ai": "^0.80.29",
|
|
14
|
+
"@caupulican/pi-tui": "^0.80.29",
|
|
15
15
|
"@silvia-odwyer/photon-node": "0.3.4",
|
|
16
16
|
"chalk": "5.6.2",
|
|
17
17
|
"cross-spawn": "7.0.6",
|
|
@@ -474,11 +474,11 @@
|
|
|
474
474
|
}
|
|
475
475
|
},
|
|
476
476
|
"node_modules/@caupulican/pi-agent-core": {
|
|
477
|
-
"version": "0.80.
|
|
478
|
-
"resolved": "https://registry.npmjs.org/@caupulican/pi-agent-core/-/pi-agent-core-0.80.
|
|
477
|
+
"version": "0.80.29",
|
|
478
|
+
"resolved": "https://registry.npmjs.org/@caupulican/pi-agent-core/-/pi-agent-core-0.80.29.tgz",
|
|
479
479
|
"license": "MIT",
|
|
480
480
|
"dependencies": {
|
|
481
|
-
"@caupulican/pi-ai": "^0.80.
|
|
481
|
+
"@caupulican/pi-ai": "^0.80.29",
|
|
482
482
|
"ignore": "7.0.5",
|
|
483
483
|
"typebox": "1.1.38",
|
|
484
484
|
"yaml": "2.9.0"
|
|
@@ -488,8 +488,8 @@
|
|
|
488
488
|
}
|
|
489
489
|
},
|
|
490
490
|
"node_modules/@caupulican/pi-ai": {
|
|
491
|
-
"version": "0.80.
|
|
492
|
-
"resolved": "https://registry.npmjs.org/@caupulican/pi-ai/-/pi-ai-0.80.
|
|
491
|
+
"version": "0.80.29",
|
|
492
|
+
"resolved": "https://registry.npmjs.org/@caupulican/pi-ai/-/pi-ai-0.80.29.tgz",
|
|
493
493
|
"license": "MIT",
|
|
494
494
|
"dependencies": {
|
|
495
495
|
"@anthropic-ai/sdk": "0.91.1",
|
|
@@ -511,8 +511,8 @@
|
|
|
511
511
|
}
|
|
512
512
|
},
|
|
513
513
|
"node_modules/@caupulican/pi-tui": {
|
|
514
|
-
"version": "0.80.
|
|
515
|
-
"resolved": "https://registry.npmjs.org/@caupulican/pi-tui/-/pi-tui-0.80.
|
|
514
|
+
"version": "0.80.29",
|
|
515
|
+
"resolved": "https://registry.npmjs.org/@caupulican/pi-tui/-/pi-tui-0.80.29.tgz",
|
|
516
516
|
"license": "MIT",
|
|
517
517
|
"dependencies": {
|
|
518
518
|
"get-east-asian-width": "1.6.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@caupulican/pi-adaptative",
|
|
3
|
-
"version": "0.80.
|
|
3
|
+
"version": "0.80.29",
|
|
4
4
|
"description": "Adaptive fork of Pi coding agent for self-evolving agent harness experiments",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"piConfig": {
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
"prepublishOnly": "npm run clean && npm run build && npm run shrinkwrap"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@caupulican/pi-agent-core": "^0.80.
|
|
45
|
-
"@caupulican/pi-ai": "^0.80.
|
|
46
|
-
"@caupulican/pi-tui": "^0.80.
|
|
44
|
+
"@caupulican/pi-agent-core": "^0.80.29",
|
|
45
|
+
"@caupulican/pi-ai": "^0.80.29",
|
|
46
|
+
"@caupulican/pi-tui": "^0.80.29",
|
|
47
47
|
"@silvia-odwyer/photon-node": "0.3.4",
|
|
48
48
|
"chalk": "5.6.2",
|
|
49
49
|
"cross-spawn": "7.0.6",
|