bortexcode 1.6.0 → 1.8.0

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 (3) hide show
  1. package/README.md +57 -0
  2. package/bin/bortex.js +2149 -88
  3. package/package.json +2 -1
package/README.md CHANGED
@@ -47,6 +47,11 @@ export BORTEX_API_KEY=<YOUR_API_KEY>
47
47
  bortexcode
48
48
  bortexcode "explain this function"
49
49
  bortexcode --agent "refactor src/utils.js"
50
+ bortexcode exec "summarize this repository"
51
+ bortexcode exec --json "review current changes"
52
+ bortexcode exec --output-schema schema.json -o result.json "extract metadata"
53
+ bortexcode resume --last
54
+ bortexcode resume <transcript-id> "continue the task"
50
55
  bortexcode remote-control
51
56
  bortexcode remote-control --cloud
52
57
  bortexcode --remote-control
@@ -70,9 +75,50 @@ Common commands:
70
75
  /remote-control --lan
71
76
  /remote-control --cloud
72
77
  /rc
78
+ /mcp list
79
+ /mcp add context7 -- npx -y @upstash/context7-mcp
80
+ /mcp tools context7
81
+ /mcp call context7 resolve-library-id '{"libraryName":"react"}'
82
+ /skills list
83
+ /skills new deploy-staging
84
+ /plugins list
85
+ /plugins init team-workflows
86
+ /permissions show
87
+ /browser setup
88
+ /hooks list
89
+ /hooks init
90
+ /hooks review
91
+ /subagents run --worktree --agents reviewer,security,tester review current changes
92
+ /transcript path
93
+ /transcript export
94
+ /resume last
95
+ /fork experiment-auth
96
+ /github-action init
73
97
  /exit
74
98
  ```
75
99
 
100
+ ## Codex/Claude-style workflow features
101
+
102
+ Bortex Code 1.8 adds local workflow primitives commonly expected from modern
103
+ coding CLIs:
104
+
105
+ - custom slash commands from `.bortex/commands/*.md`
106
+ - reusable skills from `.bortex/skills/<name>/SKILL.md`
107
+ - non-interactive `bortexcode exec` with JSONL events, stdin piping, output files, and JSON schema prompting
108
+ - MCP server configuration plus basic stdio/HTTP runtime through `/mcp tools` and `/mcp call`
109
+ - lifecycle hooks through `.bortex/hooks.json`, including nested hook groups and hook review/trust state
110
+ - plugin bundles from `.bortex/plugins/<name>` with skills, commands, MCP servers, and hooks
111
+ - permission profiles through `/permissions`
112
+ - Playwright MCP browser setup through `/browser setup`
113
+ - JSONL transcripts in `.bortex/transcripts`
114
+ - resume context with `bortexcode resume` or `/resume`
115
+ - parallel analysis with `/subagents run`, optionally isolated with `--worktree`
116
+ - isolated git worktrees with `/fork`
117
+ - GitHub comment workflow scaffold with `/github-action init`
118
+
119
+ Project-local configuration lives in `.bortex/`. User-level configuration lives
120
+ in the Bortex Code application data directory.
121
+
76
122
  ## Remote Control
77
123
 
78
124
  Remote Control exposes the current Bortex Code process through a token-protected
@@ -132,6 +178,14 @@ Inside the REPL:
132
178
  -m, --model <name> Force a specific LLM model
133
179
  --api-url <u> Custom LLM endpoint
134
180
  --offline Local mode
181
+ --json Exec mode: emit JSONL events
182
+ --output-last-message <file>
183
+ Exec mode: write final message to file
184
+ --output-schema <file>
185
+ Exec mode: request final JSON matching schema
186
+ --ephemeral Exec mode: do not persist transcript events
187
+ --sandbox <profile>
188
+ Permission profile: read-only, workspace, full
135
189
  --verbose Show routing details
136
190
  --progress Show server progress events
137
191
  --no-spinner Disable spinner
@@ -175,4 +229,7 @@ BORTEX_REMOTE_HOST
175
229
  BORTEX_REMOTE_PORT
176
230
  BORTEX_REMOTE_RELAY_URL
177
231
  BORTEX_REMOTE_PERMISSION
232
+ BORTEX_PERMISSION_PROFILE
233
+ BORTEX_SANDBOX
234
+ BORTEX_HOOK_TRUST=1
178
235
  ```