clementine-agent 1.0.64 → 1.0.65

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.
@@ -1674,7 +1674,16 @@ You have a cost budget per message — not a hard turn limit. Work until the tas
1674
1674
  ...(abortController ? { abortController } : {}),
1675
1675
  maxTurns: effectiveMaxTurns,
1676
1676
  cwd: BASE_DIR,
1677
- env: SAFE_ENV,
1677
+ // NOTE: do NOT pass `env: SAFE_ENV` here. The SDK's `env` option
1678
+ // replaces process.env for the claude CLI subprocess, and the CLI's
1679
+ // claude.ai remote connector bootstrap (Drive, Gmail, Calendar, M365,
1680
+ // Slack) silently drops when vars it expects aren't present. The
1681
+ // probeAvailableTools() call doesn't pass `env`, inherits process.env,
1682
+ // and correctly surfaces claude.ai connectors. Matching that behavior
1683
+ // here is the fix for the week-long "No such tool available:
1684
+ // mcp__claude_ai_Google_Drive__*" bug. Per-MCP-server env isolation
1685
+ // still happens inside the mcpServers entries (line ~1855) — this
1686
+ // change only affects the CLI subprocess's own env.
1678
1687
  ...(computedEffort ? { effort: computedEffort } : {}),
1679
1688
  // maxBudgetUsd intentionally omitted — see comment above.
1680
1689
  ...(computedThinking ? { thinking: computedThinking } : {}),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clementine-agent",
3
- "version": "1.0.64",
3
+ "version": "1.0.65",
4
4
  "description": "Clementine — Personal AI Assistant (TypeScript)",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",