@cotal-ai/pi 0.124.3 → 0.126.1
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 +13 -0
- package/dist/connector.d.ts.map +1 -1
- package/dist/extension.d.ts +5 -1
- package/dist/extension.d.ts.map +1 -1
- package/dist/index.js +823 -122
- package/dist/standalone.js +5 -4
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -67,6 +67,19 @@ Model variants, MCP sharing, and raw launch options are not implemented and fail
|
|
|
67
67
|
forks the named Pi session.
|
|
68
68
|
Persona files and `--model` are supported; an explicit spawn model wins over the persona file.
|
|
69
69
|
|
|
70
|
+
## Project trust
|
|
71
|
+
|
|
72
|
+
A supervised Pi seat has nobody at its terminal to answer **Trust project folder?**. The connector
|
|
73
|
+
reads Pi's own saved trust decision. A saved approval or denial remains in force. A denial prints
|
|
74
|
+
that project resources were skipped and how to review the decision. When project
|
|
75
|
+
resources exist and Pi has no saved decision, that seat runs untrusted for this session only: Pi
|
|
76
|
+
skips project `.pi` settings and resources and ancestor `.agents/skills`, and Cotal does not change
|
|
77
|
+
Pi's trust store. The seat prints the directory and tells the operator to run `pi` there once in a
|
|
78
|
+
foreground terminal to review and save a decision.
|
|
79
|
+
|
|
80
|
+
A foreground launch keeps Pi's native interactive prompt. If startup stops before Pi creates its
|
|
81
|
+
session, the manager's failure names **Trust project folder?** and the launch directory.
|
|
82
|
+
|
|
70
83
|
## Credits
|
|
71
84
|
|
|
72
85
|
The original Pi integration and inbox-turn design were contributed by
|
package/dist/connector.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connector.d.ts","sourceRoot":"","sources":["../src/connector.ts"],"names":[],"mappings":"AAIA,OAAO,EAKL,KAAK,SAAS,EAGf,MAAM,gBAAgB,CAAC;AAexB,eAAO,MAAM,gBAAgB,6mBAQnB,CAAC;AAEX,eAAO,MAAM,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"connector.d.ts","sourceRoot":"","sources":["../src/connector.ts"],"names":[],"mappings":"AAIA,OAAO,EAKL,KAAK,SAAS,EAGf,MAAM,gBAAgB,CAAC;AAexB,eAAO,MAAM,gBAAgB,6mBAQnB,CAAC;AAEX,eAAO,MAAM,WAAW,EAAE,SA0GzB,CAAC"}
|
package/dist/extension.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ExtensionAPI, type ProjectTrustEventResult } from "@earendil-works/pi-coding-agent";
|
|
2
2
|
export declare function persistSessionId(sessionId: string, status?: "running" | "quit"): void;
|
|
3
|
+
export declare function persistProjectTrustPrompt(cwd: string): void;
|
|
4
|
+
/** Preserve Pi's own saved decision. With none, a supervised seat chooses untrusted for this run
|
|
5
|
+
* only, because nobody is present to approve project code at its terminal. */
|
|
6
|
+
export declare function supervisedProjectTrust(cwd: string): ProjectTrustEventResult;
|
|
3
7
|
/** Load Cotal into the operator's Pi. With no mesh identity this extension is completely inert. */
|
|
4
8
|
export default function cotalMesh(pi: ExtensionAPI): Promise<void>;
|
|
5
9
|
//# sourceMappingURL=extension.d.ts.map
|
package/dist/extension.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../src/extension.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../src/extension.ts"],"names":[],"mappings":"AAiBA,OAAO,EAGL,KAAK,YAAY,EAEjB,KAAK,uBAAuB,EAC7B,MAAM,iCAAiC,CAAC;AA4DzC,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,GAAE,SAAS,GAAG,MAAkB,GAAG,IAAI,CAKhG;AAED,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAW3D;AAED;8EAC8E;AAC9E,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,GAAG,uBAAuB,CAgB3E;AA+CD,mGAAmG;AACnG,wBAA8B,SAAS,CAAC,EAAE,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CAoGvE"}
|