markov-cli 1.0.13 → 1.0.14
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/package.json +1 -1
- package/src/interactive.js +4 -4
package/package.json
CHANGED
package/src/interactive.js
CHANGED
|
@@ -7,7 +7,7 @@ import { resolve } from 'path';
|
|
|
7
7
|
import { printLogo } from './ui/logo.js';
|
|
8
8
|
import { chatWithTools, streamChat, streamChatWithTools, MODEL, MODEL_OPTIONS, setModelAndProvider, getModelDisplayName } from './ollama.js';
|
|
9
9
|
import { resolveFileRefs } from './files.js';
|
|
10
|
-
import { RUN_TERMINAL_COMMAND_TOOL, WEB_SEARCH_TOOL, runTool } from './tools.js';
|
|
10
|
+
import { RUN_TERMINAL_COMMAND_TOOL, WEB_SEARCH_TOOL, runTool, execCommand } from './tools.js';
|
|
11
11
|
import { chatPrompt } from './input.js';
|
|
12
12
|
import { getFilesAndDirs } from './ui/picker.js';
|
|
13
13
|
import { getToken, login, clearToken, getClaudeKey, setClaudeKey, getOpenAIKey, setOpenAIKey, getOllamaKey, setOllamaKey } from './auth.js';
|
|
@@ -59,10 +59,10 @@ const HELP_TEXT =
|
|
|
59
59
|
chalk.cyan(' /setup-nextjs') + chalk.dim(' scaffold a Next.js app\n') +
|
|
60
60
|
chalk.cyan(' /setup-tanstack') + chalk.dim(' scaffold a TanStack Start app\n') +
|
|
61
61
|
chalk.cyan(' /setup-laravel') + chalk.dim(' scaffold a Laravel API\n') +
|
|
62
|
-
chalk.cyan(' /laravel') + chalk.dim('
|
|
62
|
+
chalk.cyan(' /laravel') + chalk.dim(' set up Laravel "my-blog" with blog route (agent)\n') +
|
|
63
63
|
chalk.cyan(' /models') + chalk.dim(' switch the active AI model\n') +
|
|
64
64
|
chalk.cyan(' /cd [path]') + chalk.dim(' change working directory\n') +
|
|
65
|
-
chalk.cyan(' /cmd [command]') + chalk.dim('
|
|
65
|
+
chalk.cyan(' /cmd [command]') + chalk.dim(' run a shell command in the current folder\n') +
|
|
66
66
|
chalk.cyan(' /login') + chalk.dim(' authenticate with email & password\n') +
|
|
67
67
|
chalk.cyan(' /logout') + chalk.dim(' clear saved auth token\n') +
|
|
68
68
|
chalk.cyan(' /clear') + chalk.dim(' clear chat history and stored plan\n') +
|
|
@@ -71,7 +71,7 @@ const HELP_TEXT =
|
|
|
71
71
|
chalk.cyan(' /init') + chalk.dim(' [prompt] create markov.md with project summary\n') +
|
|
72
72
|
chalk.cyan(' /plan') + chalk.dim(' [prompt] stream a plan and save to plan.md\n') +
|
|
73
73
|
chalk.cyan(' /build') + chalk.dim(' execute plan from plan.md\n') +
|
|
74
|
-
chalk.cyan(' /yolo') + chalk.dim(' [prompt]
|
|
74
|
+
chalk.cyan(' /yolo') + chalk.dim(' [prompt] plan in stream mode, then auto-run until done\n') +
|
|
75
75
|
chalk.dim('\nType a message · ') + chalk.cyan('@filename') + chalk.dim(' to attach · ctrl+q to cancel\n');
|
|
76
76
|
|
|
77
77
|
/** If MARKOV_DEBUG is set, print the raw model output after completion. */
|