indusagi-coding-agent 0.2.3 → 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 +25 -0
- package/dist/entry.js +1733 -572
- package/dist/guardrails.js +21 -6
- package/dist/index.js +1687 -552
- package/dist/types/boot/heap.d.ts +31 -0
- package/dist/types/boot/runners/delegate-runner.d.ts +21 -1
- package/dist/types/boot/runners/server-mode.d.ts +71 -0
- package/dist/types/boot/runners/session.d.ts +24 -1
- 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/contract.d.ts +7 -6
- package/dist/types/conductor/conductor.d.ts +24 -0
- package/dist/types/conductor/contract.d.ts +71 -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/console/auth-status.d.ts +28 -0
- package/dist/types/console/components/TerminalConsole.d.ts +0 -5
- package/dist/types/console/contract.d.ts +13 -0
- package/dist/types/console/input/index.d.ts +1 -1
- package/dist/types/console/input/keymap.d.ts +1 -1
- package/dist/types/console/input/paste.d.ts +53 -1
- package/dist/types/console/overlays/approval-queue.d.ts +18 -1
- package/dist/types/console/overlays/index.d.ts +1 -1
- 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 +20 -1
- package/dist/types/workspace/brand.d.ts +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
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
|
+
|
|
3
28
|
## [0.2.3]
|
|
4
29
|
|
|
5
30
|
### Added
|