@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.
- package/dist/tools/id.d.ts +1 -1
- package/dist/tools/id.d.ts.map +1 -1
- package/dist/tools/id.js +10 -10
- package/dist/tools/id.js.map +1 -1
- package/package.json +1 -1
package/dist/tools/id.d.ts
CHANGED
|
@@ -8,5 +8,5 @@ export declare const idToolDefinition: {
|
|
|
8
8
|
required: string[];
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
|
-
export declare function handleId(profile: AgentProfile,
|
|
11
|
+
export declare function handleId(profile: AgentProfile, _sessionId: string, sessionName: string): string;
|
|
12
12
|
//# sourceMappingURL=id.d.ts.map
|
package/dist/tools/id.d.ts.map
CHANGED
|
@@ -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,
|
|
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
|
|
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,
|
|
15
|
-
return (`##
|
|
16
|
-
`**
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
`
|
|
21
|
-
|
|
22
|
-
`
|
|
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
|
package/dist/tools/id.js.map
CHANGED
|
@@ -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
|
|
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"}
|