Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/agent-kit-0-29.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@rivus/agent-task-loop': patch
'@rivus/agent-finder-cli': patch
---

Upgrade `@rivus/agent-kit` and `@rivus/agent-kit-collab` to `0.29.0` and `effect` to `4.1.5`.
4 changes: 4 additions & 0 deletions apps/room-web/app/room-lab/infrastructure/agent-acp.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,10 @@ function describePromptError(error: PromptError): string {
switch (error._tag) {
case 'TurnInProgress':
return `the session's turn ${error.turn} is still running`;
case 'TurnActive':
return error.sessionId === undefined
? `another session open is in flight on the ${error.agent} connection`
: `another session (${error.sessionId}) on the ${error.agent} connection is still running a turn`;
case 'SessionClosed':
return `the session is closed (${error.reason})`;
case 'CancelUnsettled':
Expand Down
6 changes: 3 additions & 3 deletions apps/room-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
"@phosphor-icons/react": "^2.1.10",
"@react-router/node": "^8.5.2",
"@react-router/serve": "^8.5.2",
"@rivus/agent-kit": "0.25.0",
"@rivus/agent-kit-collab": "0.25.0",
"@rivus/agent-kit": "0.29.0",
"@rivus/agent-kit-collab": "0.29.0",
"@rivus/agent-room": "workspace:*",
"@rivus/agent-task-loop": "workspace:*",
"effect": "4.1.1",
"effect": "4.1.5",
"@tiptap/core": "^3.35.0",
"@tiptap/extension-character-count": "^3.35.0",
"@tiptap/extension-document": "^3.35.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/agent-finder-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"test:watch": "vp test watch"
},
"dependencies": {
"@rivus/agent-kit": "0.25.0",
"@rivus/agent-kit": "0.29.0",
"citty": "^0.2.2",
"ink": "^8.0.0",
"react": "^19.3.1"
Expand Down
13 changes: 6 additions & 7 deletions packages/agent-finder-cli/src/discovery/legacy-probe-recipes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import type { CodingAgentId } from '@rivus/agent-kit/catalog';
import { versionFromOutput, type ProbeRecipe } from '@rivus/agent-kit/discovery';

/**
* Probe recipes for the 20 agents the MoonBit catalog listed beyond the 7 the kit supports. Each is a field-for-field
* port of one spec in the deleted `agent_discovery_core/catalog/providers.mbt`: `id`→`agent`, `display_name`→
* `displayName`, `kind`→`kind`, `commands`→`commands`, `config_paths`→`configPaths`, `app_paths`→`appPaths`,
* `mcp_paths`→`mcpConfigPaths`, the cli constructor's `--version` probe→`version`, and `warnings` verbatim.
* No agent carries an auth probe, because the MoonBit scanner had none.
* Probe recipes for the 19 agents the MoonBit catalog listed beyond the ones the kit detects with its own built-in
* recipes. Each is a field-for-field port of one spec in the deleted `agent_discovery_core/catalog/providers.mbt`:
* `id`→`agent`, `display_name`→`displayName`, `kind`→`kind`, `commands`→`commands`, `config_paths`→`configPaths`,
* `app_paths`→`appPaths`, `mcp_paths`→`mcpConfigPaths`, the cli constructor's `--version` probe→`version`, and
* `warnings` verbatim. No agent carries an auth probe, because the MoonBit scanner had none.
*/

/** `<command> --version`, the only version probe the MoonBit catalog ever ran, read with the kit's default parser. */
Expand Down Expand Up @@ -40,7 +40,7 @@ function probe(
};
}

/** The MoonBit catalog's agents in catalog order, minus the six the kit detects with its own built-in recipes. */
/** The MoonBit catalog's agents in catalog order, minus the ones the kit detects with its own built-in recipes. */
export const legacyProbeRecipes: Readonly<Record<string, ProbeRecipe>> = {
openhands: probe(
'app',
Expand Down Expand Up @@ -143,7 +143,6 @@ export const legacyProbeRecipes: Readonly<Record<string, ProbeRecipe>> = {
[],
['Neovate provider metadata needs validation.'],
),
qoder: probe('cli', 'qoder', 'Qoder', ['qoder'], ['~/.qoder'], [], [], ['Qoder provider metadata needs validation.']),
zencoder: probe(
'cli',
'zencoder',
Expand Down
6 changes: 3 additions & 3 deletions packages/agent-finder-cli/tests/cli.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ describe('@rivus/agent-finder-cli', () => {

expect(result.status).toBe(0);
const json = JSON.parse(result.stdout) as { agent: string; status: string }[];
// The kit's 9 built-in agents plus the 20 the CLI carries as its own probe recipes.
expect(json).toHaveLength(29);
// The kit's 14 built-in agents plus the 19 the CLI carries as its own probe recipes.
expect(json).toHaveLength(33);
expect(json.map((installation) => installation.agent)).toContain('codex');
expect(json.map((installation) => installation.agent)).toContain('grok');
expect(json.map((installation) => installation.agent)).toContain('amp');
Expand All @@ -87,7 +87,7 @@ describe('@rivus/agent-finder-cli', () => {
const result = runCli(['doctor']);

expect(result.status).toBe(0);
expect(result.stdout).toContain('Total providers: 29');
expect(result.stdout).toContain('Total providers: 33');
expect(result.stdout).toContain('Runnable:');
});
});
6 changes: 3 additions & 3 deletions packages/agent-task-loop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@
"test:watch": "vp test watch"
},
"dependencies": {
"@rivus/agent-kit": "0.25.0",
"@rivus/agent-kit-collab": "0.25.0",
"@rivus/agent-kit": "0.29.0",
"@rivus/agent-kit-collab": "0.29.0",
"citty": "^0.2.2",
"effect": "4.1.1",
"effect": "4.1.5",
"execa": "^10.2.1",
"ink": "^8.0.0",
"react": "^19.3.1",
Expand Down
78 changes: 64 additions & 14 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.