@nokai/cli 1.2.4 → 1.2.5

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.
@@ -8,5 +8,5 @@ export declare const idToolDefinition: {
8
8
  required: string[];
9
9
  };
10
10
  };
11
- export declare function handleId(profile: AgentProfile, sessionId: string, sessionName: string): string;
11
+ export declare function handleId(profile: AgentProfile, _sessionId: string, sessionName: string): string;
12
12
  //# sourceMappingURL=id.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../../src/tools/id.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD,eAAO,MAAM,gBAAgB;;;;;;kBAOT,MAAM,EAAE;;CAE3B,CAAC;AAEF,wBAAgB,QAAQ,CAAC,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,MAAM,CAW9F"}
1
+ {"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../../src/tools/id.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD,eAAO,MAAM,gBAAgB;;;;;;kBAOT,MAAM,EAAE;;CAE3B,CAAC;AAEF,wBAAgB,QAAQ,CAAC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,MAAM,CAW/F"}
package/dist/tools/id.js CHANGED
@@ -4,21 +4,21 @@ exports.idToolDefinition = void 0;
4
4
  exports.handleId = handleId;
5
5
  exports.idToolDefinition = {
6
6
  name: "nokai_id",
7
- description: "Show your NokAI ID and current session. Share your ID with teammates so they can connect to you.",
7
+ description: "Show NokAI status and guide the user on what they can do. Call this when the user says 'nokai' or asks about their NokAI setup. After showing the ID, suggest the user try nokai_connect to connect to teammates or their own other projects.",
8
8
  inputSchema: {
9
9
  type: "object",
10
10
  properties: {},
11
11
  required: [],
12
12
  },
13
13
  };
14
- function handleId(profile, sessionId, sessionName) {
15
- return (`## Your NokAI Identity\n\n` +
16
- `**NokAI ID:** ${profile.nokaiId}\n` +
17
- `**Agent Name:** ${profile.name}\n` +
18
- `**Session:** ${sessionName} (${sessionId})\n\n` +
19
- `### Connect with a teammate\n` +
20
- `Share your NokAI ID. They use: \`nokai_connect mode=teammate id=${profile.nokaiId}\`\n\n` +
21
- `### Connect to your own other project\n` +
22
- `Use: \`nokai_connect mode=self\` to see your other active sessions.`);
14
+ function handleId(profile, _sessionId, sessionName) {
15
+ return (`## NokAI Ready\n\n` +
16
+ `**Your ID:** ${profile.nokaiId} · **Session:** ${sessionName}\n\n` +
17
+ `### What would you like to do?\n\n` +
18
+ `1. **Connect to a teammate** — Share your ID (\`${profile.nokaiId}\`) with them, or ask for theirs\n` +
19
+ `2. **Connect your own projects** — If you have another project open with NokAI, I can connect them right now\n` +
20
+ `3. **Ask a connected peer** Once connected, ask questions about their codebase\n` +
21
+ `4. **Share files** Send files or project context to a peer\n\n` +
22
+ `Just tell me what you'd like to do.`);
23
23
  }
24
24
  //# sourceMappingURL=id.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"id.js","sourceRoot":"","sources":["../../src/tools/id.ts"],"names":[],"mappings":";;;AAaA,4BAWC;AAtBY,QAAA,gBAAgB,GAAG;IAC9B,IAAI,EAAE,UAAU;IAChB,WAAW,EACT,kGAAkG;IACpG,WAAW,EAAE;QACX,IAAI,EAAE,QAAiB;QACvB,UAAU,EAAE,EAAE;QACd,QAAQ,EAAE,EAAc;KACzB;CACF,CAAC;AAEF,SAAgB,QAAQ,CAAC,OAAqB,EAAE,SAAiB,EAAE,WAAmB;IACpF,OAAO,CACL,4BAA4B;QAC5B,iBAAiB,OAAO,CAAC,OAAO,IAAI;QACpC,mBAAmB,OAAO,CAAC,IAAI,IAAI;QACnC,gBAAgB,WAAW,KAAK,SAAS,OAAO;QAChD,+BAA+B;QAC/B,mEAAmE,OAAO,CAAC,OAAO,QAAQ;QAC1F,yCAAyC;QACzC,qEAAqE,CACtE,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"id.js","sourceRoot":"","sources":["../../src/tools/id.ts"],"names":[],"mappings":";;;AAaA,4BAWC;AAtBY,QAAA,gBAAgB,GAAG;IAC9B,IAAI,EAAE,UAAU;IAChB,WAAW,EACT,+OAA+O;IACjP,WAAW,EAAE;QACX,IAAI,EAAE,QAAiB;QACvB,UAAU,EAAE,EAAE;QACd,QAAQ,EAAE,EAAc;KACzB;CACF,CAAC;AAEF,SAAgB,QAAQ,CAAC,OAAqB,EAAE,UAAkB,EAAE,WAAmB;IACrF,OAAO,CACL,oBAAoB;QACpB,gBAAgB,OAAO,CAAC,OAAO,mBAAmB,WAAW,MAAM;QACnE,oCAAoC;QACpC,mDAAmD,OAAO,CAAC,OAAO,oCAAoC;QACtG,gHAAgH;QAChH,oFAAoF;QACpF,kEAAkE;QAClE,qCAAqC,CACtC,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nokai/cli",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "description": "NokAI — Connecting AIs. Peer-to-peer communication between AI coding assistants via MCP.",
5
5
  "private": false,
6
6
  "main": "dist/index.js",