indusagi-coding-agent 0.2.2 → 0.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.
- package/CHANGELOG.md +46 -0
- package/dist/entry.js +12434 -9445
- package/dist/guardrails.js +897 -37
- package/dist/index.js +14081 -11111
- package/dist/types/boot/heap.d.ts +31 -0
- package/dist/types/boot/runners/delegate-runner.d.ts +27 -1
- package/dist/types/boot/runners/server-mode.d.ts +71 -0
- package/dist/types/boot/runners/session.d.ts +26 -18
- package/dist/types/boot/runners/session.test.d.ts +6 -1
- package/dist/types/boot/server-token.d.ts +97 -0
- package/dist/types/capability-deck/cards/index.d.ts +1 -0
- package/dist/types/capability-deck/cards/task-card.d.ts +26 -2
- package/dist/types/capability-deck/cards/workflow-card.d.ts +55 -0
- package/dist/types/capability-deck/cards/workflow-card.test.d.ts +12 -0
- package/dist/types/capability-deck/contract.d.ts +7 -6
- package/dist/types/capability-deck/index.d.ts +1 -1
- package/dist/types/conductor/conductor.d.ts +24 -0
- package/dist/types/conductor/contract.d.ts +79 -7
- package/dist/types/conductor/index.d.ts +3 -3
- package/dist/types/conductor/permissions.d.ts +74 -4
- package/dist/types/conductor/post-edit-diagnostics.test.d.ts +8 -3
- package/dist/types/conductor/quota-error.d.ts +35 -0
- package/dist/types/conductor/signal-hub/translate.d.ts +4 -1
- package/dist/types/console/auth-status.d.ts +28 -0
- package/dist/types/console/components/AgentsView.d.ts +41 -0
- package/dist/types/console/components/BackgroundAgents.d.ts +63 -0
- package/dist/types/console/components/BackgroundAgents.test.d.ts +8 -0
- package/dist/types/console/components/Banner.d.ts +67 -33
- package/dist/types/console/components/TerminalConsole.d.ts +0 -5
- package/dist/types/console/components/welcome.d.ts +115 -0
- package/dist/types/console/components/welcome.test.d.ts +9 -0
- package/dist/types/console/contract.d.ts +16 -1
- package/dist/types/console/index.d.ts +3 -0
- package/dist/types/console/input/index.d.ts +1 -1
- package/dist/types/console/input/keymap.d.ts +2 -2
- package/dist/types/console/input/paste.d.ts +58 -6
- package/dist/types/console/overlays/approval-queue.d.ts +18 -1
- package/dist/types/console/overlays/boards.d.ts +55 -0
- package/dist/types/console/overlays/index.d.ts +1 -1
- package/dist/types/console/theme/adapter.d.ts +1 -1
- package/dist/types/console/theme/index.d.ts +1 -1
- package/dist/types/console/theme/palette.d.ts +10 -0
- package/dist/types/launch/login.d.ts +68 -0
- package/dist/types/launch/oauth.test.d.ts +20 -0
- package/dist/types/window-budget/summarize/condense.d.ts +6 -0
- package/dist/types/workflow-engine/agent-runner.d.ts +124 -0
- package/dist/types/workflow-engine/agent-runner.test.d.ts +8 -0
- package/dist/types/workflow-engine/display.d.ts +148 -0
- package/dist/types/workflow-engine/display.test.d.ts +1 -0
- package/dist/types/workflow-engine/engine.d.ts +183 -0
- package/dist/types/workflow-engine/engine.test.d.ts +1 -0
- package/dist/types/workflow-engine/index.d.ts +21 -0
- package/dist/types/workflow-engine/parse.d.ts +64 -0
- package/dist/types/workflow-engine/parse.test.d.ts +1 -0
- package/dist/types/workflow-engine/structured-output.d.ts +51 -0
- package/dist/types/workflow-engine/structured-output.test.d.ts +1 -0
- package/dist/types/workspace/brand.d.ts +1 -1
- package/package.json +2 -2
- package/dist/types/console/components/Emblem.d.ts +0 -49
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,51 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.2.4]
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
- **Ctrl+X — Run Queued Message Now**: during a long (or stuck) run, Ctrl+X promotes the newest queued message — the in-flight turn is terminated cleanly (no error toast, spinner stays up), the rest of the queue survives, and the promoted message runs immediately. Chosen over another Alt/Option chord because Ctrl+X is a plain control byte every terminal delivers identically; Alt+Up still restores a queued message to the composer. Documented in `/keys` and the queued-messages panel.
|
|
7
|
+
- **Session-Remembered Approvals**: choosing "allow always" on a permission prompt now genuinely remembers the approval for the rest of the session (it previously acted as "allow once"). Bash approvals are scoped per sub-command — approving `npm test` never whitelists the whole shell — and the prompt shows exactly what will be remembered. Never persisted to settings.
|
|
8
|
+
- **Sub-Agent Permission Gating**: `task`-tool delegations and `workflow` subagents now enforce the same permission rules and the LIVE permission mode as the main session (previously they ran fully ungated — a delegation in default mode could edit files and run bash with zero prompts). Inside a subagent an `ask` denies with a clear message; bypass/acceptEdits behave as before.
|
|
9
|
+
- **`--permission-mode` Flag**: opt a headless run (`--print` / `--json`) into `acceptEdits`/`bypass` explicitly; precedence is flag > settings `defaultMode` > `default`.
|
|
10
|
+
- **Post-Compact Fresh Screen**: a manual `/compact` now presents as a new session that inherits the context — the transcript view resets to the welcome card, a one-shot note lists exactly which files were carried into the condensed context, and the ↑/↓ token, cache, and $ counters reset to zero. Auto-compaction keeps the running view and totals.
|
|
11
|
+
- **Cancellable `/compact`**: the busy status reads "Compacting conversation context... Press Esc to cancel." — Esc discards the digest and leaves the transcript untouched. Outcomes are reported honestly: "Nothing to compact yet.", "Compaction cancelled.", and a busy-turn guard, instead of always claiming success.
|
|
12
|
+
- **Interactive Server-Tier Sign-In**: `/login` lists "Indus Server" — the device-flow login runs inside the session, and gateway routing takes effect on the very next turn (no restart), for the main agent AND subagents.
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
- **Agent Continuing After Its Final Report** (#15): the post-edit diagnostics feedback loop could re-prompt the model forever with the same unfixable lint error — each diagnostic is now delivered at most once per session with a hard cap of 3 consecutive auto-follow-ups per user prompt; the busy spinner stays up across auto-drained turns; Esc aborts the queue too.
|
|
16
|
+
- **`/compact` UI** (#16): a real "Compacting context" spinner during the run (completion was previously announced the instant work began), the phase no longer wedges the UI until the next message, and auto-compaction is labelled as automatic so it can't be mistaken for a user action.
|
|
17
|
+
- **Compaction Auth on Server Tier**: the condense summarizer's model call now authenticates through the session's credential resolver (server-tier `/compact` failed every time — previously masked by the dishonest "condensed" report).
|
|
18
|
+
- **Multi-Line Paste** (#18): pasted `\r`/`\r\n` line endings are normalized (raw carriage returns previously wrecked the composer rendering); pastes up to 10 lines show inline as real multi-line text; a big paste split across terminal reads assembles into ONE growing `[Pasted text #N +K lines]` marker (up to 1,000 lines, then rolls into a fresh marker) instead of shredding into fragments.
|
|
19
|
+
- **Default Mode Not Prompting**: a rule-less headless boot silently ran allow-all (skipping even the catastrophic-command blocklist) — a gate now always exists outside explicit bypass, and a headless `ask` denies with actionable guidance.
|
|
20
|
+
- **Mid-Run Mode Switching**: Shift+Tab now works while a permission prompt is on screen; cycling into bypass releases the parked prompt so the run resumes immediately; approval outcomes are fail-closed (only an explicit allow ever runs a tool).
|
|
21
|
+
- **Model Pickers & Status Show Only Callable Models**: `/model`, the banner, and the footer no longer list or display models from unauthenticated providers (previously the whole ~700-model catalog appeared); server-tier sign-in counts immediately; fixed the doubled provider prefix (`minimax/minimax/…`).
|
|
22
|
+
- **Subagent Gateway Routing** (#22): task/workflow subagents on server-tier models route through the indus gateway with a fresh per-call lookup (they previously sent the session token straight to the provider and got 401s).
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
- **`/compact` Canonical Name**: the command is now named `/compact` (shown in the suggestion list); `/condense` and `/summarize-context` remain as aliases.
|
|
26
|
+
- **Version Bump**: Updated package version to `0.2.4`; framework dependency to `indusagi@^0.13.3`.
|
|
27
|
+
|
|
28
|
+
## [0.2.3]
|
|
29
|
+
|
|
30
|
+
### Added
|
|
31
|
+
- **IndusCode Saffron Theme**: a new `saffron` colour scheme — saffron primary, teal accent, cream text — now the default, wired through the theme engine and the `/theme` picker.
|
|
32
|
+
- **Welcome Card**: a boxed saffron startup card with the `● IndusCode v…` brand label, a block-art robot mascot, the bound model + working directory, a rotating "getting started" tip, and a "What's new" list — the mascot and tip vary per session.
|
|
33
|
+
- **Startup & Chat Masthead**: once the first message is sent, the welcome card gives way to the `INDUS CODE` wordmark, the `indus console v…` line, and a bordered Session panel, with the conversation below.
|
|
34
|
+
- **Saffron Settings / Model Pickers**: `/settings` and `/model` restyled to the design — a tab-pill header, a teal-bordered search box with a magnifier + caret, a two-column list with type-tinted values (on/true → green, off/false → dim, else → teal), and a key-hint footer.
|
|
35
|
+
- **Saffron Slash Menu**: the command autocomplete is now a two-column grid (teal command names + dim descriptions, with the selected row marked), plus a teal `›` prompt and a right-pinned `↵ send` hint.
|
|
36
|
+
- **Background Agents Panel**: a live panel pinned below the input listing each delegated sub-agent (`task` tool) under a `● main` header — a status dot (running / done / error), the agent name, a one-line objective, and a live **time + token** count.
|
|
37
|
+
- **Drill-In Subagent View**: press **←** on an empty prompt to open a navigable view of `main` + each sub-agent (↑/↓ to move) that live-previews the selected sub-agent's reasoning and tool activity; **Esc**, or `main` + **Enter**, returns to the session.
|
|
38
|
+
- **Live Sub-Agent Progress**: the `task` tool streams its sub-agent's cumulative token spend and activity stream (reasoning + tool steps) back to the panel and drill-in view.
|
|
39
|
+
- **Expandable Tool Output**: **Ctrl+O** toggles a tool between its 2–3 line summary and a ~20-line expanded view (with a `ctrl+o to expand` hint on the overflow marker).
|
|
40
|
+
|
|
41
|
+
### Changed
|
|
42
|
+
- **Concise Tool Output**: tool results are collapsed to 2–3 lines by default (was up to 10); use **Ctrl+O** to expand.
|
|
43
|
+
- **Tool UI Grammar**: every tool call renders with the saffron `●` dot + bold name + `(arg)` + `└` connector (via the `indusagi@0.13.2` `react-ink` `ToolEventBlock`).
|
|
44
|
+
- **Tool Activity Panel Disabled**: the live "Tool Activity" panel is turned off (tool calls already render inline) — re-enable via the `SHOW_TOOL_ACTIVITY` flag.
|
|
45
|
+
- **Workflow Tool Disabled**: the multi-agent `workflow` tool is hidden from the model for now via the `WORKFLOW_TOOL_ENABLED` flag — the card and the whole `workflow-engine` stay intact.
|
|
46
|
+
- **Single-Source Version**: the `VERSION` constant (previously drifted at `0.2.0`) is realigned to the package version.
|
|
47
|
+
- **Version Bump**: Updated package version to `0.2.3`.
|
|
48
|
+
|
|
3
49
|
## [0.2.2]
|
|
4
50
|
|
|
5
51
|
### Added
|