@cotal-ai/pi 0.126.2 → 0.126.3

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 CHANGED
@@ -1,7 +1,9 @@
1
1
  # @cotal-ai/pi
2
2
 
3
3
  Cotal as an extension for the operator's own [Pi coding agent](https://github.com/earendil-works/pi).
4
- The package does not bundle Pi.
4
+ The package does not bundle Pi. It declares `@earendil-works/pi-coding-agent` as an optional peer
5
+ and loads it from the Pi host that runs the extension, so `cotal` can register the connector
6
+ without Pi installed.
5
7
 
6
8
  ## Requirements
7
9
 
@@ -1,9 +1,11 @@
1
- import { type ExtensionAPI, type ProjectTrustEventResult } from "@earendil-works/pi-coding-agent";
1
+ import type { ExtensionAPI, ProjectTrustEventResult } from "@earendil-works/pi-coding-agent";
2
2
  export declare function persistSessionId(sessionId: string, status?: "running" | "quit"): void;
3
3
  export declare function persistProjectTrustPrompt(cwd: string): void;
4
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;
5
+ * only, because nobody is present to approve project code at its terminal. Pi's trust store is loaded
6
+ * here, from the Pi host running this handler: the cotal CLI imports this package to register the
7
+ * connector without Pi installed, so a top-level value import would fail that load. */
8
+ export declare function supervisedProjectTrust(cwd: string): Promise<ProjectTrustEventResult>;
7
9
  /** Load Cotal into the operator's Pi. With no mesh identity this extension is completely inert. */
8
10
  export default function cotalMesh(pi: ExtensionAPI): Promise<void>;
9
11
  //# sourceMappingURL=extension.d.ts.map
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../src/extension.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,YAAY,EAAoB,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AA4D/G,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;;;uFAGuF;AACvF,wBAAsB,sBAAsB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAiB1F;AA+CD,mGAAmG;AACnG,wBAA8B,SAAS,CAAC,EAAE,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CAoGvE"}