pantheon-cli 0.2.105 → 0.2.110

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 +33 -4
  2. package/package.json +3 -3
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,11 @@ 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; under Settings \u2192 Agent setup \u2192 Grok Bot, add the HTTPS
44091
+ endpoint, click Authenticate, and approve Pantheon in the browser. Any
44092
+ standards-compatible remote MCP client can use the same OAuth flow.
44088
44093
  3. Leave a conscience: /pantheon-handoff <space> \u2192 pantheon_handoff
44089
44094
  <space> is the name the human chose. If they omit it, ask \u2014 never invent.
44090
44095
  If they named a new slug, call pantheon_handoff anyway \u2014 that creates the space.
@@ -44167,7 +44172,7 @@ Terminal (this CLI)
44167
44172
  help this guide
44168
44173
  mcp-install repair/refresh agent config after connecting
44169
44174
  mcp-uninstall remove Pantheon MCP from Cursor / Claude / Codex / Windsurf
44170
- (ChatGPT Classic and Replit are skipped \u2014 no local MCP)
44175
+ (ChatGPT Classic, Replit, and Grok Bot have no local MCP)
44171
44176
  mcp start the stdio MCP server (agents launch this)
44172
44177
 
44173
44178
  MCP tools \u2014 always the pantheon_ prefix
@@ -47263,6 +47268,13 @@ function detectApps() {
47263
47268
  Windsurf: [
47264
47269
  join9(home, ".codeium", "windsurf"),
47265
47270
  ...mac ? ["/Applications/Windsurf.app", join9(home, "Applications", "Windsurf.app")] : []
47271
+ ],
47272
+ "Grok Bot": [
47273
+ ...mac ? ["/Applications/Grok Bot.app", join9(home, "Applications", "Grok Bot.app")] : [],
47274
+ ...win ? [
47275
+ join9(local, "Programs", "Grok Bot"),
47276
+ join9(roaming, "Grok Bot", "window-state.json")
47277
+ ] : []
47266
47278
  ]
47267
47279
  };
47268
47280
  const found = /* @__PURE__ */ new Set();
@@ -47272,13 +47284,19 @@ function detectApps() {
47272
47284
  return found;
47273
47285
  }
47274
47286
  var AHEAD = "Written ahead \u2014 app not detected, ready if you install it";
47287
+ var MANUAL = "Finish in app \u2014 cloud connector";
47275
47288
  function nextSteps(found) {
47276
- if (found.length) return "Reload MCP in each app, then type /pantheon-handoff <space>";
47289
+ const local = found.filter((name) => name !== "Grok Bot");
47290
+ if (local.length) return "Reload MCP in each configured app, then type /pantheon-handoff <space>";
47291
+ if (found.includes("Grok Bot")) {
47292
+ return "Open Pantheon Settings \u2192 Agent setup \u2192 Grok Bot, add the HTTPS endpoint, then complete browser authentication.";
47293
+ }
47277
47294
  return " No supported desktop agent detected. The configs above are ready if you install one.";
47278
47295
  }
47279
47296
  function installMcpClients(home) {
47280
47297
  const written = [];
47281
47298
  const ahead = [];
47299
+ const manual = [];
47282
47300
  const skipped = [];
47283
47301
  const server = mcpServer(home);
47284
47302
  const found = detectApps();
@@ -47314,6 +47332,12 @@ function installMcpClients(home) {
47314
47332
  } else {
47315
47333
  skipped.push({ name: "Windsurf", detail: "app not found" });
47316
47334
  }
47335
+ if (found.has("Grok Bot")) {
47336
+ manual.push({
47337
+ name: "Grok Bot",
47338
+ detail: "Settings \u2192 Agent setup \u2192 Grok Bot (HTTPS MCP + browser OAuth)"
47339
+ });
47340
+ }
47317
47341
  writeSlashCommands();
47318
47342
  writeCodexSkill();
47319
47343
  written.push({ name: "/pantheon-* commands", detail: "~/.cursor, ~/.claude" });
@@ -47323,7 +47347,7 @@ function installMcpClients(home) {
47323
47347
  name: "Replit Desktop",
47324
47348
  detail: "no local MCP process \u2014 reduced-fidelity web setup is not offered"
47325
47349
  });
47326
- return { written, ahead, skipped, found: [...found] };
47350
+ return { written, ahead, manual, skipped, found: [...found] };
47327
47351
  }
47328
47352
  function removeServerFromJson(path, key = "mcpServers") {
47329
47353
  if (!existsSync8(path)) return false;
@@ -47687,6 +47711,7 @@ async function connect(opts) {
47687
47711
  ].join("\n"),
47688
47712
  block("Configured", result.written),
47689
47713
  block(AHEAD, result.ahead),
47714
+ block(MANUAL, result.manual),
47690
47715
  block("Skipped", result.skipped),
47691
47716
  nextSteps(result.found)
47692
47717
  )
@@ -47727,6 +47752,7 @@ async function connect(opts) {
47727
47752
  execFileSync3("git", ["-C", home, "config", "user.email", "pantheon@users.noreply.github.com"], quiet2);
47728
47753
  let written = [];
47729
47754
  let ahead = [];
47755
+ let manual = [];
47730
47756
  let skipped = [];
47731
47757
  let found = [];
47732
47758
  let failure = "";
@@ -47734,6 +47760,7 @@ async function connect(opts) {
47734
47760
  const result = installMcpClients(home);
47735
47761
  written = result.written;
47736
47762
  ahead = result.ahead;
47763
+ manual = result.manual;
47737
47764
  skipped = result.skipped;
47738
47765
  found = result.found;
47739
47766
  } catch (error2) {
@@ -47756,6 +47783,7 @@ async function connect(opts) {
47756
47783
  ].join("\n"),
47757
47784
  failure ? field("MCP", `failed \u2014 ${failure}`) : block("Configured", written),
47758
47785
  block(AHEAD, ahead),
47786
+ block(MANUAL, manual),
47759
47787
  block("Skipped", skipped),
47760
47788
  nextSteps(found)
47761
47789
  )
@@ -48316,6 +48344,7 @@ async function main() {
48316
48344
  report(
48317
48345
  block("Configured", result.written),
48318
48346
  block(AHEAD, result.ahead),
48347
+ block(MANUAL, result.manual),
48319
48348
  block("Skipped", result.skipped),
48320
48349
  nextSteps(result.found)
48321
48350
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pantheon-cli",
3
- "version": "0.2.105",
3
+ "version": "0.2.110",
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",
@@ -30,8 +30,8 @@
30
30
  "tsx": "^4.20.3",
31
31
  "typescript": "^5",
32
32
  "zod": "^3.25.67",
33
- "@pantheon/core": "0.1.0",
34
- "@pantheon/mcp": "0.1.0"
33
+ "@pantheon/mcp": "0.1.0",
34
+ "@pantheon/core": "0.1.0"
35
35
  },
36
36
  "scripts": {
37
37
  "start": "tsx src/index.ts",