bortexcode 1.2.3 → 1.2.4

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/bin/bortex.js +5 -1
  2. package/package.json +1 -1
package/bin/bortex.js CHANGED
@@ -170,7 +170,7 @@ function usage() {
170
170
  console.log(' -h, --help Show help');
171
171
  console.log('');
172
172
  console.log('REPL commands: /agent on|off, /status, /exit, /help, /llm-config');
173
- console.log('Local tools: /pwd, /cd, /ls, /tree, /read, /write, /append, /mkdir, /git, /ssh-status, /sh');
173
+ console.log('Local tools: /pwd, /cd, /ls, /tree, /read, /write, /append, /mkdir, /git, /ssh-status, /sys-status, /process-status, /port-status, /tool, /sh');
174
174
  console.log('');
175
175
  console.log('Environment:');
176
176
  console.log(' BORTEX_URL Server URL');
@@ -6393,6 +6393,10 @@ function printWelcomeCard(opts) {
6393
6393
  }
6394
6394
 
6395
6395
  async function runSinglePrompt(opts) {
6396
+ if (String(opts.prompt || '').trim().startsWith('/')) {
6397
+ const localResult = await handleLocalCommand(opts, opts.prompt);
6398
+ if (localResult.handled) return;
6399
+ }
6396
6400
  const localIntent = classifyLocalPromptIntent(opts.prompt);
6397
6401
  if (localIntent?.command) {
6398
6402
  const localResult = await handleLocalCommand(opts, localIntent.command);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bortexcode",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "Bortex Code CLI - AI coding assistant powered by bortex.site",
5
5
  "homepage": "https://bortex.site",
6
6
  "license": "UNLICENSED",