@spinalfluid/ultrac 0.1.9 → 0.1.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.
Files changed (3) hide show
  1. package/README.md +29 -7
  2. package/dist/cli.js +2124 -703
  3. package/package.json +2 -1
package/README.md CHANGED
@@ -141,12 +141,38 @@ ultrac "Find the main entry points and summarize the architecture"
141
141
  Inside a session:
142
142
 
143
143
  - Type to talk to Ultrac; it inspects the repository with tools as needed.
144
+ - On supported terminals, the full-width input box stays at the bottom while tools and replies
145
+ run above it. The footer shows only the current model. `/usage` and `/context` show token and context details.
146
+ Thinking and tool activity lines show their own live elapsed timers and retain the measured
147
+ duration when finished. Sub-second durations are hidden. Tool actions stay in a collapsed activity group;
148
+ click it or press Ctrl+O to expand, then click an action for command and output details. Green and red
149
+ dots show success and failure. Use `/output` for full saved results. Slash suggestions use aligned
150
+ command and description columns on the terminal background.
151
+ - Type `/` to browse built-in commands and available skills. Type to filter, use arrow keys
152
+ to select, and press Tab or Enter to fill the command. Press Enter again to run it;
153
+ Esc dismisses the menu. `/skill <name> [args]` runs a skill without a custom command.
154
+ - Drop a PNG, JPEG or WebP screenshot into the composer: it displays as `[Image 1]`,
155
+ and Cosmic receives the pixels. Images are resized to fit 1024 × 1024, with one active image
156
+ at a time; follow-up questions retain it until another image replaces it. Normalized images
157
+ are included in the private saved-session checkpoint so resumed tasks can inspect them.
158
+ - When a newer public npm release exists, choose Update now, Skip, or Skip until next version.
159
+ Installing requires an explicit choice and verifies the selected installed CLI version.
160
+ - Multiple-choice questions accept arrow keys and Enter, or a mouse click where the terminal
161
+ supports mouse reporting. You can also type a number or your own answer.
144
162
  - You can type another message while Ultrac is working. It is queued and inserted after the current
145
163
  tool call finishes, before the next model request. Remaining tools in that batch are skipped.
146
164
  Slash commands wait for the main prompt instead of entering model context.
147
165
  - Esc stops the current turn at a safe boundary and returns to the prompt. Ctrl-C exits and saves
148
166
  the session.
149
167
  - Gated tools (file writes, shell, network) prompt for approval: `once` / `always` / `no`.
168
+ - `/mcp` shows the connected servers in this session; `/doctor` checks local setup.
169
+ - `/continue [focus]` continues an unfinished task using its current transcript. `/autonomous on`
170
+ enables up to five rounds when a task reaches its step ceiling. Checkpoints, a six-hour elapsed
171
+ limit, stall detection, and Esc cancellation remain active. `/autonomous off` restores one round.
172
+ Failed rounds are not automatically replayed; provider retry/failover handles request failures.
173
+ - The agent can use `create_skill` in default/coding modes (or with `--tools all`) to create a
174
+ project playbook with full instructions and an optional slash command. It requires write
175
+ permission, refuses overwrites, and retains the workspace trust requirement for loading.
150
176
  - Coding commands: `/plan [task]`, `/coding`, `/review [focus]`, `/diff [--staged]`,
151
177
  `/test [instructions]`, `/init`, `/max-steps [number]`.
152
178
  - Quiet output: `/ghost [on|off|status]` hides activity headers and progress for the current
@@ -431,15 +457,11 @@ and tool-step restore; later direct messages and `ask_user` answers cannot be re
431
457
  files.
432
458
 
433
459
  The window defaults to 262,144 tokens and is set with `--context-tokens`, `ULTRAC_MODEL_CONTEXT_TOKENS`,
434
- or `"contextTokens"` in the config, in that order of precedence. The session banner prints the
435
- budget it started with:
436
-
437
- ```
438
- tools 16 (mode default) ≈ 9,152 chars · window 262,144 tokens · tool results capped at 6,000 chars
439
- ```
460
+ or `"contextTokens"` in the config, in that order of precedence. Use `/context` to inspect the
461
+ current budget. The startup header shows the model, authenticated plan and workspace.
440
462
 
441
463
  Every `ask`, `run`, and interactive process creates a private `0600` JSONL lifecycle log under
442
- `.ultrac/logs` and prints its path. It records correlated provider attempts, request heartbeats,
464
+ `.ultrac/logs`. Use `/logs` to see its path in an interactive session. It records correlated provider attempts, request heartbeats,
443
465
  first chunks, retries, cancellation, compaction, tools, subagents, and checkpoints. Prompt text,
444
466
  tool arguments/results, request bodies, headers, and credentials are replaced by lengths and
445
467
  SHA-256 fingerprints; they are never written raw. The directory is ignored by workspace discovery