@cachly-dev/mcp-server 0.10.113 → 0.10.114
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/README.md +28 -8
- package/dist/src/handlers/brain.js +85 -2
- package/dist/src/handlers/brain.js.map +1 -1
- package/dist/src/index.js +3 -2
- package/dist/src/index.js.map +1 -1
- package/dist/src/tools.d.ts +25 -0
- package/dist/src/tools.js +17 -0
- package/dist/src/tools.js.map +1 -1
- package/package.json +2 -2
package/dist/src/index.js
CHANGED
|
@@ -2738,7 +2738,8 @@ if (process.argv[2] === 'health') {
|
|
|
2738
2738
|
// `setup` but fully automatic (no prompts) — auth → instance → all editor
|
|
2739
2739
|
// configs → CLAUDE.md → git/starter bootstrap → health, in a single shot.
|
|
2740
2740
|
const _isAutopilotCli = process.argv[2] === 'autopilot';
|
|
2741
|
-
|
|
2741
|
+
// 'autosetup' is the canonical alias; 'setup' kept for backwards compat.
|
|
2742
|
+
if (process.argv[2] === 'autosetup' || process.argv[2] === 'setup' || _isAutopilotCli) {
|
|
2742
2743
|
const { writeFile, mkdir, readFile } = await import('node:fs/promises');
|
|
2743
2744
|
const { existsSync } = await import('node:fs');
|
|
2744
2745
|
const { resolve, dirname } = await import('node:path');
|
|
@@ -3484,7 +3485,7 @@ if (!JWT) {
|
|
|
3484
3485
|
// • Editor as an MCP stdio server (non-TTY) → ONE stderr hint, then KEEP RUNNING
|
|
3485
3486
|
// so tools/list works and the first tool call starts the browser sign-in.
|
|
3486
3487
|
// Skip entirely for CLI subcommands that intentionally run without credentials.
|
|
3487
|
-
const _cliNoAuthCommands = ['demo', 'share', 'publish', 'health', 'setup', 'autopilot', 'init', 'digest', 'invite', 'badge', 'join', 'upgrade', 'bench', 'tool-specs', 'openapi'];
|
|
3488
|
+
const _cliNoAuthCommands = ['demo', 'share', 'publish', 'health', 'autosetup', 'setup', 'autopilot', 'init', 'digest', 'invite', 'badge', 'join', 'upgrade', 'bench', 'tool-specs', 'openapi'];
|
|
3488
3489
|
if (!JWT && !_cliNoAuthCommands.includes(process.argv[2] ?? '')) {
|
|
3489
3490
|
const runningInTerminal = !process.argv[2] && process.stdout.isTTY === true && _isMain;
|
|
3490
3491
|
if (runningInTerminal) {
|