pantheon-cli 0.2.105 → 0.2.107

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.
Files changed (2) hide show
  1. package/dist/pantheon.mjs +31 -4
  2. package/package.json +1 -1
package/dist/pantheon.mjs CHANGED
@@ -39862,7 +39862,7 @@ var CLIENT_SOURCES = [
39862
39862
  [/cursor/i, "cursor"],
39863
39863
  [/codex|chatgpt/i, "codex"]
39864
39864
  ];
39865
- var UNREADABLE_CLIENTS = /claude[-_. ]?(ai|desktop)|windsurf|replit|continue|cline/i;
39865
+ var UNREADABLE_CLIENTS = /claude[-_. ]?(ai|desktop)|windsurf|replit|grok[-_. ]?bot|continue|cline/i;
39866
39866
  function resolveCaptureClient(client, claudeProjectDir = process.env.CLAUDE_PROJECT_DIR) {
39867
39867
  const reported = client?.trim();
39868
39868
  if (claudeProjectDir?.trim() && (!reported || /claude/i.test(reported))) {
@@ -44085,6 +44085,9 @@ Tutorial
44085
44085
  ChatGPT Classic cannot run local MCP \u2014 use the new ChatGPT.app instead.
44086
44086
  Remote integrations still hand off, but the agent supplies the visible
44087
44087
  transcript because the server cannot read that host's private chat log.
44088
+ Grok Bot is a native desktop app whose Bot and MCP connectors run in xAI's
44089
+ cloud. pantheon mcp-install detects it but cannot write its account-wide
44090
+ connector locally; finish under Settings \u2192 Agent setup \u2192 Grok Bot.
44088
44091
  3. Leave a conscience: /pantheon-handoff <space> \u2192 pantheon_handoff
44089
44092
  <space> is the name the human chose. If they omit it, ask \u2014 never invent.
44090
44093
  If they named a new slug, call pantheon_handoff anyway \u2014 that creates the space.
@@ -44167,7 +44170,7 @@ Terminal (this CLI)
44167
44170
  help this guide
44168
44171
  mcp-install repair/refresh agent config after connecting
44169
44172
  mcp-uninstall remove Pantheon MCP from Cursor / Claude / Codex / Windsurf
44170
- (ChatGPT Classic and Replit are skipped \u2014 no local MCP)
44173
+ (ChatGPT Classic, Replit, and Grok Bot have no local MCP)
44171
44174
  mcp start the stdio MCP server (agents launch this)
44172
44175
 
44173
44176
  MCP tools \u2014 always the pantheon_ prefix
@@ -47263,6 +47266,13 @@ function detectApps() {
47263
47266
  Windsurf: [
47264
47267
  join9(home, ".codeium", "windsurf"),
47265
47268
  ...mac ? ["/Applications/Windsurf.app", join9(home, "Applications", "Windsurf.app")] : []
47269
+ ],
47270
+ "Grok Bot": [
47271
+ ...mac ? ["/Applications/Grok Bot.app", join9(home, "Applications", "Grok Bot.app")] : [],
47272
+ ...win ? [
47273
+ join9(local, "Programs", "Grok Bot"),
47274
+ join9(roaming, "Grok Bot", "window-state.json")
47275
+ ] : []
47266
47276
  ]
47267
47277
  };
47268
47278
  const found = /* @__PURE__ */ new Set();
@@ -47272,13 +47282,19 @@ function detectApps() {
47272
47282
  return found;
47273
47283
  }
47274
47284
  var AHEAD = "Written ahead \u2014 app not detected, ready if you install it";
47285
+ var MANUAL = "Finish in app \u2014 cloud connector";
47275
47286
  function nextSteps(found) {
47276
- if (found.length) return "Reload MCP in each app, then type /pantheon-handoff <space>";
47287
+ const local = found.filter((name) => name !== "Grok Bot");
47288
+ if (local.length) return "Reload MCP in each configured app, then type /pantheon-handoff <space>";
47289
+ if (found.includes("Grok Bot")) {
47290
+ return "Open Pantheon Settings \u2192 Agent setup \u2192 Grok Bot and complete the in-chat connector step.";
47291
+ }
47277
47292
  return " No supported desktop agent detected. The configs above are ready if you install one.";
47278
47293
  }
47279
47294
  function installMcpClients(home) {
47280
47295
  const written = [];
47281
47296
  const ahead = [];
47297
+ const manual = [];
47282
47298
  const skipped = [];
47283
47299
  const server = mcpServer(home);
47284
47300
  const found = detectApps();
@@ -47314,6 +47330,12 @@ function installMcpClients(home) {
47314
47330
  } else {
47315
47331
  skipped.push({ name: "Windsurf", detail: "app not found" });
47316
47332
  }
47333
+ if (found.has("Grok Bot")) {
47334
+ manual.push({
47335
+ name: "Grok Bot",
47336
+ detail: "Settings \u2192 Agent setup \u2192 Grok Bot (public HTTPS MCP required)"
47337
+ });
47338
+ }
47317
47339
  writeSlashCommands();
47318
47340
  writeCodexSkill();
47319
47341
  written.push({ name: "/pantheon-* commands", detail: "~/.cursor, ~/.claude" });
@@ -47323,7 +47345,7 @@ function installMcpClients(home) {
47323
47345
  name: "Replit Desktop",
47324
47346
  detail: "no local MCP process \u2014 reduced-fidelity web setup is not offered"
47325
47347
  });
47326
- return { written, ahead, skipped, found: [...found] };
47348
+ return { written, ahead, manual, skipped, found: [...found] };
47327
47349
  }
47328
47350
  function removeServerFromJson(path, key = "mcpServers") {
47329
47351
  if (!existsSync8(path)) return false;
@@ -47687,6 +47709,7 @@ async function connect(opts) {
47687
47709
  ].join("\n"),
47688
47710
  block("Configured", result.written),
47689
47711
  block(AHEAD, result.ahead),
47712
+ block(MANUAL, result.manual),
47690
47713
  block("Skipped", result.skipped),
47691
47714
  nextSteps(result.found)
47692
47715
  )
@@ -47727,6 +47750,7 @@ async function connect(opts) {
47727
47750
  execFileSync3("git", ["-C", home, "config", "user.email", "pantheon@users.noreply.github.com"], quiet2);
47728
47751
  let written = [];
47729
47752
  let ahead = [];
47753
+ let manual = [];
47730
47754
  let skipped = [];
47731
47755
  let found = [];
47732
47756
  let failure = "";
@@ -47734,6 +47758,7 @@ async function connect(opts) {
47734
47758
  const result = installMcpClients(home);
47735
47759
  written = result.written;
47736
47760
  ahead = result.ahead;
47761
+ manual = result.manual;
47737
47762
  skipped = result.skipped;
47738
47763
  found = result.found;
47739
47764
  } catch (error2) {
@@ -47756,6 +47781,7 @@ async function connect(opts) {
47756
47781
  ].join("\n"),
47757
47782
  failure ? field("MCP", `failed \u2014 ${failure}`) : block("Configured", written),
47758
47783
  block(AHEAD, ahead),
47784
+ block(MANUAL, manual),
47759
47785
  block("Skipped", skipped),
47760
47786
  nextSteps(found)
47761
47787
  )
@@ -48316,6 +48342,7 @@ async function main() {
48316
48342
  report(
48317
48343
  block("Configured", result.written),
48318
48344
  block(AHEAD, result.ahead),
48345
+ block(MANUAL, result.manual),
48319
48346
  block("Skipped", result.skipped),
48320
48347
  nextSteps(result.found)
48321
48348
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pantheon-cli",
3
- "version": "0.2.105",
3
+ "version": "0.2.107",
4
4
  "description": "Carry agent conscience between AI coding agents. Hand off a conversation in one agent, resume it in another.",
5
5
  "license": "MIT",
6
6
  "type": "module",