@spinalfluid/ultrac 0.1.11 → 0.1.18
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 +30 -10
- package/dist/cli.js +1047 -284
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -142,11 +142,24 @@ Inside a session:
|
|
|
142
142
|
|
|
143
143
|
- Type to talk to Ultrac; it inspects the repository with tools as needed.
|
|
144
144
|
- On supported terminals, the full-width input box stays at the bottom while tools and replies
|
|
145
|
-
run above it. The footer shows the current model
|
|
146
|
-
and
|
|
145
|
+
run above it. The footer shows only the current model. `/usage` and `/context` show token and context details.
|
|
146
|
+
Working and tool activity lines show their own live elapsed timers and retain the measured
|
|
147
|
+
duration when finished. Sub-second durations are hidden. Tool calls stay in a collapsed group directly below the live working timer;
|
|
148
|
+
click it or press Ctrl+O to expand, then click an action for command and output details. When the
|
|
149
|
+
task ends, the group moves below its result in the transcript. Working time accumulates across
|
|
150
|
+
model calls and continuation rounds. Long-running tasks emit brief progress updates based on
|
|
151
|
+
completed calls and the active tool or model wait. Green and red
|
|
152
|
+
dots show success and failure. Use `/output` for full saved results. Slash suggestions use aligned
|
|
153
|
+
command and description columns on the terminal background.
|
|
147
154
|
- Type `/` to browse built-in commands and available skills. Type to filter, use arrow keys
|
|
148
155
|
to select, and press Tab or Enter to fill the command. Press Enter again to run it;
|
|
149
156
|
Esc dismisses the menu. `/skill <name> [args]` runs a skill without a custom command.
|
|
157
|
+
- Drop a PNG, JPEG or WebP screenshot into the composer: it displays as `[Image 1]`,
|
|
158
|
+
and Cosmic receives the pixels. Images are resized to fit 1024 × 1024, with one active image
|
|
159
|
+
at a time; follow-up questions retain it until another image replaces it. Normalized images
|
|
160
|
+
are included in the private saved-session checkpoint so resumed tasks can inspect them.
|
|
161
|
+
- When a newer public npm release exists, choose Update now, Skip, or Skip until next version.
|
|
162
|
+
Installing requires an explicit choice and verifies the selected installed CLI version.
|
|
150
163
|
- Multiple-choice questions accept arrow keys and Enter, or a mouse click where the terminal
|
|
151
164
|
supports mouse reporting. You can also type a number or your own answer.
|
|
152
165
|
- You can type another message while Ultrac is working. It is queued and inserted after the current
|
|
@@ -157,7 +170,8 @@ Inside a session:
|
|
|
157
170
|
- Gated tools (file writes, shell, network) prompt for approval: `once` / `always` / `no`.
|
|
158
171
|
- `/mcp` shows the connected servers in this session; `/doctor` checks local setup.
|
|
159
172
|
- `/continue [focus]` continues an unfinished task using its current transcript. `/autonomous on`
|
|
160
|
-
|
|
173
|
+
allows up to five rounds when a task reaches its step ceiling (enabled by default; `/autonomous off`
|
|
174
|
+
disables continuation). Checkpoints, a six-hour elapsed
|
|
161
175
|
limit, stall detection, and Esc cancellation remain active. `/autonomous off` restores one round.
|
|
162
176
|
Failed rounds are not automatically replayed; provider retry/failover handles request failures.
|
|
163
177
|
- The agent can use `create_skill` in default/coding modes (or with `--tools all`) to create a
|
|
@@ -447,15 +461,11 @@ and tool-step restore; later direct messages and `ask_user` answers cannot be re
|
|
|
447
461
|
files.
|
|
448
462
|
|
|
449
463
|
The window defaults to 262,144 tokens and is set with `--context-tokens`, `ULTRAC_MODEL_CONTEXT_TOKENS`,
|
|
450
|
-
or `"contextTokens"` in the config, in that order of precedence.
|
|
451
|
-
budget
|
|
452
|
-
|
|
453
|
-
```
|
|
454
|
-
tools 16 (mode default) ≈ 9,152 chars · window 262,144 tokens · tool results capped at 6,000 chars
|
|
455
|
-
```
|
|
464
|
+
or `"contextTokens"` in the config, in that order of precedence. Use `/context` to inspect the
|
|
465
|
+
current budget. The startup header shows the model, authenticated plan and workspace.
|
|
456
466
|
|
|
457
467
|
Every `ask`, `run`, and interactive process creates a private `0600` JSONL lifecycle log under
|
|
458
|
-
`.ultrac/logs`
|
|
468
|
+
`.ultrac/logs`. Use `/logs` to see its path in an interactive session. It records correlated provider attempts, request heartbeats,
|
|
459
469
|
first chunks, retries, cancellation, compaction, tools, subagents, and checkpoints. Prompt text,
|
|
460
470
|
tool arguments/results, request bodies, headers, and credentials are replaced by lengths and
|
|
461
471
|
SHA-256 fingerprints; they are never written raw. The directory is ignored by workspace discovery
|
|
@@ -744,3 +754,13 @@ ultrac skills create project-check --description "Run project checks" --command
|
|
|
744
754
|
Edit the generated `SKILL.md` instructions, approve the project workspace, and invoke
|
|
745
755
|
`/project-check` in the terminal. The agent can also write a new `SKILL.md` with its file tools and load it with
|
|
746
756
|
`skill`; normal write and tool permissions still apply.
|
|
757
|
+
|
|
758
|
+
|
|
759
|
+
Tool approval presets can be chosen at startup: `ultrac --permissions full` grants file writes,
|
|
760
|
+
shell execution, and network tools without tool approval prompts for that session. Use
|
|
761
|
+
`/permissions full` to enable it inside an existing session. `workspace` grants writes and
|
|
762
|
+
denies shell and network access; `readonly` denies all three permissions. The default mode asks
|
|
763
|
+
when a tool needs an ungranted permission.
|
|
764
|
+
These presets do not bypass operating-system permissions or the restrictions of a read-only
|
|
765
|
+
agent mode. Approval dialogs offer separate choices for one call, the session, denial, or
|
|
766
|
+
session-long refusal, with keyboard selection in interactive terminals.
|