@cotal-ai/pi 0.24.0 → 0.26.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/README.md +6 -2
- package/dist/connector.d.ts.map +1 -1
- package/dist/extension.d.ts +1 -0
- package/dist/extension.d.ts.map +1 -1
- package/dist/index.js +2815 -447
- package/dist/standalone.js +706 -195
- package/dist/tools.d.ts.map +1 -1
- package/dist/wrap.d.ts +12 -0
- package/dist/wrap.d.ts.map +1 -0
- package/package.json +6 -4
package/dist/tools.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAeA,OAAO,EAIL,KAAK,SAAS,EACd,KAAK,WAAW,EAEjB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAeA,OAAO,EAIL,KAAK,SAAS,EACd,KAAK,WAAW,EAEjB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAgDpE,mFAAmF;AACnF,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,GAAG,IAAI,CAkC/F"}
|
package/dist/wrap.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pi TUI component for static Cotal text.
|
|
3
|
+
*
|
|
4
|
+
* Pi's renderer requires every returned line to fit the `width` column budget.
|
|
5
|
+
* Use the host's own ANSI/grapheme-aware wrapper so Cotal and Pi cannot disagree
|
|
6
|
+
* about the width of emoji, CJK, combining marks, or styled text.
|
|
7
|
+
*/
|
|
8
|
+
export declare function wrapped(line: string): {
|
|
9
|
+
render(width: number): string[];
|
|
10
|
+
invalidate(): void;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=wrap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wrap.d.ts","sourceRoot":"","sources":["../src/wrap.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG;IAAE,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAAC,UAAU,IAAI,IAAI,CAAA;CAAE,CAO7F"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cotal-ai/pi",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,16 +24,18 @@
|
|
|
24
24
|
"node": ">=20"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@cotal-ai/core": ">=0.1.0"
|
|
27
|
+
"@cotal-ai/core": ">=0.1.0",
|
|
28
|
+
"@earendil-works/pi-tui": ">=0.79.10"
|
|
28
29
|
},
|
|
29
30
|
"devDependencies": {
|
|
30
31
|
"@earendil-works/pi-ai": "0.79.10",
|
|
31
32
|
"@earendil-works/pi-coding-agent": "0.79.10",
|
|
33
|
+
"@earendil-works/pi-tui": "0.79.10",
|
|
32
34
|
"esbuild": "^0.28.0",
|
|
33
35
|
"typebox": "^1.1.0",
|
|
34
36
|
"zod": "^4.4.3",
|
|
35
|
-
"@cotal-ai/core": "0.
|
|
36
|
-
"@cotal-ai/
|
|
37
|
+
"@cotal-ai/connector-core": "0.26.0",
|
|
38
|
+
"@cotal-ai/core": "0.26.0"
|
|
37
39
|
},
|
|
38
40
|
"files": [
|
|
39
41
|
"dist"
|