genaicode 2.40.0 → 2.41.1
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/dist/agents/drivers/codex-live.js +73 -23
- package/dist/agents/drivers/codex-live.js.map +1 -1
- package/dist/agents/pack.d.ts +24 -0
- package/dist/agents/pack.js +44 -12
- package/dist/agents/pack.js.map +1 -1
- package/dist/agents/session.js +2 -2
- package/dist/agents/session.js.map +1 -1
- package/dist/agents/sessions/send.d.ts +11 -1
- package/dist/agents/sessions/send.js +37 -11
- package/dist/agents/sessions/send.js.map +1 -1
- package/dist/agents/sessions/tower.d.ts +44 -0
- package/dist/agents/sessions/tower.js +232 -0
- package/dist/agents/sessions/tower.js.map +1 -0
- package/dist/agents.d.ts +2 -2
- package/dist/agents.js +1 -1
- package/dist/agents.js.map +1 -1
- package/dist/cli/args.js +2 -3
- package/dist/cli/args.js.map +1 -1
- package/dist/cli/main.d.ts +3 -1
- package/dist/cli/main.js +25 -9
- package/dist/cli/main.js.map +1 -1
- package/dist/ui/index.js +108 -94
- package/dist/ui/web-client.js +16 -15
- package/docs/CHANGELOG.md +12 -0
- package/docs/agents.md +8 -1
- package/docs/cli.md +11 -0
- package/package.json +2 -1
package/docs/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,18 @@ fails. Merging to master refreshes the `release` PR; merging that publishes to n
|
|
|
8
8
|
|
|
9
9
|
## Unreleased
|
|
10
10
|
|
|
11
|
+
## 2.41.1 — 2026-11-21
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- Browser pack task actions return public refusal reasons (`PackActionError`) instead of raw exception messages from git, drivers or the filesystem (#223)
|
|
16
|
+
|
|
17
|
+
## 2.41.0 — 2026-11-21
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- `genaicode tower --pack` brings pack and session approvals into one inbox and lets you review, send or dismiss each message the lead proposes for another session (#221)
|
|
22
|
+
|
|
11
23
|
## 2.40.0 — 2026-11-20
|
|
12
24
|
|
|
13
25
|
### Added
|
package/docs/agents.md
CHANGED
|
@@ -500,6 +500,12 @@ The [session tower](cli.md#open-the-session-tower) opens an indexed chat with a
|
|
|
500
500
|
of the queue. Its `/waiting [project]` and `/read <id>` commands call the same read-only
|
|
501
501
|
operations and display the results to the user. A regular chat message starts an agent turn.
|
|
502
502
|
|
|
503
|
+
When the tower runs a pack, its lead also receives `propose_session_message` on the pack MCP
|
|
504
|
+
server. It takes the full session `id`, the exact `text` and an optional `source`. A successful
|
|
505
|
+
call queues a draft in the operator's inbox. The operator can dismiss it or send it once,
|
|
506
|
+
using the target agent's own driver in the reviewed directory. The tower checks the target
|
|
507
|
+
again before resuming it. A closed tower forgets its drafts.
|
|
508
|
+
|
|
503
509
|
`state` is `active`, `waiting`, `unfinished` or `approval` (a session that asks whether it may use
|
|
504
510
|
a tool, known once the [hooks](#which-sessions-need-you-hooks) are installed). The tools only read
|
|
505
511
|
the local stores. They are off unless you ask for them, because the agent that has them reads what
|
|
@@ -585,7 +591,8 @@ const first = await agent.run({ prompt: 'Add a --dry-run flag', cwd }).result;
|
|
|
585
591
|
const next = await agent.run({ prompt: 'Now cover it with a test', cwd, resume: first.sessionId }).result;
|
|
586
592
|
```
|
|
587
593
|
|
|
588
|
-
`claude`, `codex`, `cursor`, `opencode`, `copilot`, `antigravity` and `museLive` support it (`capabilities.resume`).
|
|
594
|
+
`claude`, `codex`, `codexLive`, `cursor`, `opencode`, `copilot`, `antigravity` and `museLive` support it (`capabilities.resume`).
|
|
595
|
+
`codexLive` resumes the stored thread with its saved sandbox and approval policy unless the caller overrides them.
|
|
589
596
|
Other drivers fail the task before spawning anything rather than starting a fresh session.
|
|
590
597
|
|
|
591
598
|
## Chat sessions
|
package/docs/cli.md
CHANGED
|
@@ -138,6 +138,17 @@ choose an installed agent with MCP support, or `--web` to open the same chat in
|
|
|
138
138
|
These commands also work in `chat --sessions` and `ui --sessions`. Their results appear locally
|
|
139
139
|
in the chat. To ask the agent for a summary, type your own question with the session ID.
|
|
140
140
|
|
|
141
|
+
Run `npx genaicode tower --pack claude:codex --web` to work with a pack and other local sessions
|
|
142
|
+
in one place. Open **Tower inbox** in the browser or press Ctrl+G in the terminal. The inbox
|
|
143
|
+
shows each permission request with its agent, project and action. Select a row and press Enter
|
|
144
|
+
in the terminal to review it. Questions marked **Answer in** use the agent's own dialog.
|
|
145
|
+
|
|
146
|
+
The lead can propose a message to a waiting session in another project. Review the full session
|
|
147
|
+
ID, directory and message, then choose **Send to session** or **Dismiss** (terminal: `s` or `d`).
|
|
148
|
+
Each message needs its own confirmation, including with `--yes` or `/auto on`. The two views
|
|
149
|
+
share decisions. Closing the tower drops unsent drafts. `ui --sessions --pack` and
|
|
150
|
+
`chat --sessions --pack` open the same inbox.
|
|
151
|
+
|
|
141
152
|
## Chat with an agent: terminal and browser
|
|
142
153
|
|
|
143
154
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "genaicode",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.41.1",
|
|
4
4
|
"description": "Drive the coding-agent CLIs you already have (Claude Code, Codex, Copilot, Cursor, Gemini, opencode...) behind one API and one CLI, plus a thin provider-neutral LLM layer.",
|
|
5
5
|
"author": "Grzegorz Tańczyk",
|
|
6
6
|
"repository": {
|
|
@@ -117,6 +117,7 @@
|
|
|
117
117
|
"typescript": "^5.0.0",
|
|
118
118
|
"vite": "^6.4.5",
|
|
119
119
|
"vitest": "^4.1.12",
|
|
120
|
+
"wrap-ansi": "^9.0.0",
|
|
120
121
|
"zod": "^3.25.76"
|
|
121
122
|
},
|
|
122
123
|
"overrides": {
|