@zeroroot-ai/zerocool-claude 0.3.0 → 0.4.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/dist/cli.d.ts CHANGED
@@ -27,9 +27,16 @@ export declare function needsLogin(r: CliResult): boolean;
27
27
  * `gibson agent enroll`: mint a one-time bootstrap token for a new machine
28
28
  * identity, authenticated as the person who ran `gibson login`.
29
29
  */
30
+ /**
31
+ * The session capabilities an interactive coding agent needs in its
32
+ * credential's ceiling (ADR-0045): it starts its own live mission
33
+ * (gibson#1593 decision 9) and may hand sub-tasks to other agents.
34
+ */
35
+ export declare const INTERACTIVE_AGENT_CAPABILITIES: readonly ["mission:originate", "mission:delegate"];
30
36
  export declare function enrollIdentity(name: string, opts?: CliOptions & {
31
37
  gibsonURL?: string;
32
38
  tenant?: string;
39
+ capabilities?: readonly string[];
33
40
  }): Promise<string>;
34
41
  export interface Target {
35
42
  id: string;
package/dist/cli.js CHANGED
@@ -29,8 +29,16 @@ export function needsLogin(r) {
29
29
  * `gibson agent enroll`: mint a one-time bootstrap token for a new machine
30
30
  * identity, authenticated as the person who ran `gibson login`.
31
31
  */
32
+ /**
33
+ * The session capabilities an interactive coding agent needs in its
34
+ * credential's ceiling (ADR-0045): it starts its own live mission
35
+ * (gibson#1593 decision 9) and may hand sub-tasks to other agents.
36
+ */
37
+ export const INTERACTIVE_AGENT_CAPABILITIES = ["mission:originate", "mission:delegate"];
32
38
  export async function enrollIdentity(name, opts = {}) {
33
39
  const args = ["agent", "enroll", "--name", name, "--kind", "agent"];
40
+ for (const c of opts.capabilities ?? INTERACTIVE_AGENT_CAPABILITIES)
41
+ args.push("--capability", c);
34
42
  if (opts.gibsonURL)
35
43
  args.push("--gibson-url", opts.gibsonURL);
36
44
  if (opts.tenant)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeroroot-ai/zerocool-claude",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Claude Code plugin: Gibson platform integration (zerocool). The session is a live mission. Memory, knowledge, findings, tools, delegation. The model stays on your Claude subscription.",
5
5
  "license": "MIT",
6
6
  "repository": {