genaicode 2.38.0 → 2.39.0
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/mcp-tools.d.ts +2 -0
- package/dist/agents/mcp-tools.js +6 -1
- package/dist/agents/mcp-tools.js.map +1 -1
- package/dist/agents/sessions/answer.d.ts +7 -2
- package/dist/agents/sessions/answer.js +16 -10
- package/dist/agents/sessions/answer.js.map +1 -1
- package/dist/agents/sessions/index.js +1 -1
- package/dist/agents/sessions/index.js.map +1 -1
- package/dist/agents/sessions/live.d.ts +5 -3
- package/dist/agents/sessions/live.js +9 -7
- package/dist/agents/sessions/live.js.map +1 -1
- package/dist/agents/sessions/tools.d.ts +2 -2
- package/dist/agents/sessions/tools.js +71 -29
- package/dist/agents/sessions/tools.js.map +1 -1
- package/dist/agents/sessions/types.d.ts +2 -0
- package/dist/cli/main.d.ts +1 -1
- package/dist/cli/main.js +12 -11
- package/dist/cli/main.js.map +1 -1
- package/dist/ui/index.js +59 -59
- package/docs/CHANGELOG.md +6 -0
- package/docs/agents.md +14 -7
- package/docs/cli.md +5 -5
- package/package.json +1 -1
package/docs/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,12 @@ fails. Merging to master refreshes the `release` PR; merging that publishes to n
|
|
|
8
8
|
|
|
9
9
|
## Unreleased
|
|
10
10
|
|
|
11
|
+
## 2.39.0 — 2026-11-20
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- Ask “Which sessions need my attention?” in `genaicode chat --sessions`. The new `sessions_waiting` MCP tool lists pending approvals and replies across projects, including open questions (#215)
|
|
16
|
+
|
|
11
17
|
## 2.38.0 — 2026-11-20
|
|
12
18
|
|
|
13
19
|
### Added
|
package/docs/agents.md
CHANGED
|
@@ -460,14 +460,15 @@ app-server protocol (`codex app-server generate-ts`) no longer has a field that
|
|
|
460
460
|
|
|
461
461
|
### Asking an agent about the sessions: `sessions mcp`
|
|
462
462
|
|
|
463
|
-
The index
|
|
464
|
-
|
|
463
|
+
The session index provides four read-only MCP tools. In `genaicode chat --sessions`, ask
|
|
464
|
+
"Which sessions need my attention?" to see which project needs a decision or a reply.
|
|
465
465
|
|
|
466
|
-
| tool | what it returns
|
|
467
|
-
| ------------------- |
|
|
468
|
-
| `sessions_projects` | projects worked in lately, with counts per agent and per state
|
|
469
|
-
| `sessions_list` | sessions, newest first; filters `project`, `agent`, `state`, `text`, `days`, `limit`
|
|
470
|
-
| `
|
|
466
|
+
| tool | what it returns |
|
|
467
|
+
| ------------------- | --------------------------------------------------------------------------------------------- |
|
|
468
|
+
| `sessions_projects` | projects worked in lately, with counts per agent and per state |
|
|
469
|
+
| `sessions_list` | sessions, newest first; filters `project`, `agent`, `state`, `text`, `days`, `limit` |
|
|
470
|
+
| `sessions_waiting` | approvals and replies with open questions, filtered by `project`, `agent`, `days` and `limit` |
|
|
471
|
+
| `sessions_read` | what was said in one session: prompts, the agent's messages and the names of its tools |
|
|
471
472
|
|
|
472
473
|
```bash
|
|
473
474
|
npx genaicode chat --sessions # the chat's agent gets the tools
|
|
@@ -475,6 +476,12 @@ claude mcp add sessions -- npx genaicode sessions mcp # or any agent, as a
|
|
|
475
476
|
codex mcp add sessions -- npx genaicode sessions mcp
|
|
476
477
|
```
|
|
477
478
|
|
|
479
|
+
`sessions_waiting` uses the same order as `genaicode sessions --waiting`. It shows approvals
|
|
480
|
+
first, then sessions awaiting a reply, newest first within each group. It looks back seven days
|
|
481
|
+
and shows up to 30 sessions by default. For questions held open by `hooks install --answer`,
|
|
482
|
+
the agent can read the question ID, tool name and preview. Archived sessions stay out of this
|
|
483
|
+
view and appear with `[archived]` in `sessions_list` and `sessions_read`.
|
|
484
|
+
|
|
478
485
|
`state` is `active`, `waiting`, `unfinished` or `approval` (a session that asks whether it may use
|
|
479
486
|
a tool, known once the [hooks](#which-sessions-need-you-hooks) are installed). The tools only read
|
|
480
487
|
the local stores. They are off unless you ask for them, because the agent that has them reads what
|
package/docs/cli.md
CHANGED
|
@@ -111,11 +111,11 @@ them); the agents' files stay as they are (see
|
|
|
111
111
|
updates: counts per store, never content, exit code 1 when one looks broken (see
|
|
112
112
|
[sessions doctor](agents.md#when-an-agent-changes-its-store-sessions-doctor)).
|
|
113
113
|
|
|
114
|
-
`npx genaicode chat --sessions
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
114
|
+
In `npx genaicode chat --sessions`, ask "Which sessions need my attention?" The
|
|
115
|
+
`sessions_waiting` tool shows the same sessions as `genaicode sessions --waiting`, including
|
|
116
|
+
the project, open approval questions and the latest reply. `npx genaicode sessions mcp` serves
|
|
117
|
+
the same read-only tools over stdio. The agent can read what the other sessions said and what
|
|
118
|
+
their open questions ask. See [session tools](agents.md#asking-an-agent-about-the-sessions-sessions-mcp).
|
|
119
119
|
|
|
120
120
|
## Chat with an agent: terminal and browser
|
|
121
121
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "genaicode",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.39.0",
|
|
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": {
|