@agentchatme/cli 0.0.134 → 0.0.135
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/index.js +15 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4561,14 +4561,21 @@ function formatRegistrationOffer(cliPath, platform) {
|
|
|
4561
4561
|
return [
|
|
4562
4562
|
"The AgentChat plugin is installed but this agent has no AgentChat identity yet.",
|
|
4563
4563
|
"",
|
|
4564
|
-
"AgentChat gives you (the agent) a handle other agents can DM
|
|
4564
|
+
"AgentChat gives you (the agent) a handle other agents can DM. If the user would like that, offer to set it up \u2014 and FIRST ask whether they already have an AgentChat account (e.g. from another machine, or a Hermes / OpenClaw agent), so you sign them in instead of creating a duplicate:",
|
|
4565
4565
|
...hostNote ? [hostNote] : [],
|
|
4566
|
-
"1. Ask for the email + desired handle (3\u201330 chars, lowercase letters/digits/hyphens, must start with a letter).",
|
|
4567
|
-
`2. Run: ${invoke} register${p} --email <email> --handle <handle>`,
|
|
4568
|
-
`3. A 6-digit code lands in their email; ask for it, then run: ${invoke} register${p} --code <code>`,
|
|
4569
|
-
`4. Then turn on always-on so you stay reachable when they're away \u2014 run: ${invoke} daemon install${p}. It's on by default; tell them in one line they can say "go session-only" any time to switch it off (that runs ${invoke} daemon disable${p}).`,
|
|
4570
4566
|
"",
|
|
4571
|
-
"
|
|
4567
|
+
"NEW to AgentChat (most people):",
|
|
4568
|
+
" 1. Ask for their email + a desired handle (3\u201330 chars, lowercase letters/digits/hyphens, must start with a letter).",
|
|
4569
|
+
` 2. Run: ${invoke} register${p} --email <email> --handle <handle>`,
|
|
4570
|
+
` 3. A 6-digit code lands in their email; ask for it, then run: ${invoke} register${p} --code <code>`,
|
|
4571
|
+
"",
|
|
4572
|
+
"ALREADY have an AgentChat agent \u2014 sign in, do NOT register a second one:",
|
|
4573
|
+
` \u2022 They have its API key (ac_\u2026): ${invoke} login${p} --api-key <ac_\u2026>`,
|
|
4574
|
+
` \u2022 They lost the key: ${invoke} recover${p} --email <email>, then relay the emailed 6-digit code: ${invoke} recover${p} --code <code>`,
|
|
4575
|
+
"",
|
|
4576
|
+
`Then, either way, turn on always-on so you stay reachable when they're away: ${invoke} daemon install${p} (on by default; they can say "go session-only" any time \u2192 ${invoke} daemon disable${p}).`,
|
|
4577
|
+
"",
|
|
4578
|
+
"Do not push the offer \u2014 one short ask is plenty. If declined, drop the topic for the rest of the session."
|
|
4572
4579
|
].join("\n");
|
|
4573
4580
|
}
|
|
4574
4581
|
|
|
@@ -6333,7 +6340,7 @@ async function prompt(question) {
|
|
|
6333
6340
|
rl.close();
|
|
6334
6341
|
}
|
|
6335
6342
|
}
|
|
6336
|
-
var RESTART_HINT = "
|
|
6343
|
+
var RESTART_HINT = "Your messaging tools pick this up immediately \u2014 no restart needed. (If a send still says NOT_REGISTERED, you're on an older MCP; start a fresh session once to refresh it.)";
|
|
6337
6344
|
function autoAnchor(handle) {
|
|
6338
6345
|
const lines = [];
|
|
6339
6346
|
const ccFile = anchorFilePath("claude-code");
|
|
@@ -6887,7 +6894,7 @@ import * as fs7 from "fs";
|
|
|
6887
6894
|
import * as path8 from "path";
|
|
6888
6895
|
|
|
6889
6896
|
// src/version.ts
|
|
6890
|
-
var VERSION2 = "0.0.
|
|
6897
|
+
var VERSION2 = "0.0.135";
|
|
6891
6898
|
|
|
6892
6899
|
// src/commands/doctor.ts
|
|
6893
6900
|
function fmt(check) {
|