@bivy/bivy 0.16.24-staging.4 → 0.16.24-staging.6
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/bin/agent-manifest.json
CHANGED
|
@@ -4,7 +4,7 @@ import { defineAgentIntegration } from "../definition.js";
|
|
|
4
4
|
import { withExactCapabilitySurface } from "../../runtime/types.js";
|
|
5
5
|
import { createCredentialStore } from "../../runtime/credentials.js";
|
|
6
6
|
import { ClaudeCodeRuntime, claudeRuntimeFromEnv, claudeSdkInstalled, } from "./runtime.js";
|
|
7
|
-
export const CLAUDE_TESTED_VERSION = "0.3.
|
|
7
|
+
export const CLAUDE_TESTED_VERSION = "0.3.270";
|
|
8
8
|
const CLAUDE_CAPABILITIES = withExactCapabilitySurface({
|
|
9
9
|
toolInterception: true,
|
|
10
10
|
modelSelection: true,
|
|
@@ -9,7 +9,7 @@ import { codexCredentialPreflight } from "../../runtime/codex-preflight.js";
|
|
|
9
9
|
import { deleteCodexSession, discoverNativeCodexSessions, loadCodexTranscript, writeCodexRollout, exportCodexRollout, importCodexRollout, } from "../../runtime/codex-sessions.js";
|
|
10
10
|
import { ProtocolRuntime } from "../../runtime/protocol.js";
|
|
11
11
|
import { codexSlashCommands } from "../../runtime/slash-commands.js";
|
|
12
|
-
export const CODEX_TESTED_VERSION = "0.
|
|
12
|
+
export const CODEX_TESTED_VERSION = "0.154.0";
|
|
13
13
|
const CODEX_AVAILABLE_CACHE = new Map();
|
|
14
14
|
function codexCommand() {
|
|
15
15
|
return process.env.BIVY_CODEX_BIN?.trim() || "codex";
|
package/dist/agents/profiles.js
CHANGED
|
@@ -43,7 +43,7 @@ export const AGENT_PROFILES = {
|
|
|
43
43
|
// Approve/Deny + session/load resume + a real model picker), the same bar Pi,
|
|
44
44
|
// Claude Code, and Codex clear. See `acp` below for the version fallback.
|
|
45
45
|
supportTier: "supported",
|
|
46
|
-
testedVersion: "1.18.
|
|
46
|
+
testedVersion: "1.18.30",
|
|
47
47
|
blurb: "The most widely used open-source coding harness (OpenCode CLI).",
|
|
48
48
|
// `opencode run -s <id> "<prompt>"` continues a prior session by its own id
|
|
49
49
|
// (`-s, --session session id to continue`, per `opencode run --help`).
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
export const CERTIFICATION_MATRIX = {
|
|
4
4
|
schemaVersion: 1,
|
|
5
5
|
agents: [
|
|
6
|
-
{ id: "claude-code-sdk", status: "active", executionMode: "protocol", pinnedVersion: "0.3.
|
|
7
|
-
{ id: "codex-approvals", status: "active", executionMode: "protocol", pinnedVersion: "0.
|
|
6
|
+
{ id: "claude-code-sdk", status: "active", executionMode: "protocol", pinnedVersion: "0.3.270", capabilities: ["toolInterception", "modelSelection", "resume"] },
|
|
7
|
+
{ id: "codex-approvals", status: "active", executionMode: "protocol", pinnedVersion: "0.154.0", capabilities: ["toolInterception", "modelSelection", "resume"] },
|
|
8
8
|
{ id: "pi", status: "active", executionMode: "protocol", pinnedVersion: "0.85.1", capabilities: ["toolInterception", "modelSelection", "resume"] },
|
|
9
|
-
{ id: "opencode", status: "active", executionMode: "protocol", pinnedVersion: "1.18.
|
|
9
|
+
{ id: "opencode", status: "active", executionMode: "protocol", pinnedVersion: "1.18.30", capabilities: ["toolInterception", "modelSelection", "resume"] },
|
|
10
10
|
]
|
|
11
11
|
};
|
|
@@ -10,6 +10,31 @@ function compactValue(value, max = 200) {
|
|
|
10
10
|
s = String(s ?? "").replace(/\s+/g, " ").trim();
|
|
11
11
|
return s.length > max ? `${s.slice(0, Math.max(0, max - 1))}…` : s;
|
|
12
12
|
}
|
|
13
|
+
/**
|
|
14
|
+
* Summarise a tool_result's content for the portable transcript. A tool_result
|
|
15
|
+
* can carry `image` parts (a Playwright/screenshot MCP tool's output); those
|
|
16
|
+
* bytes don't round-trip across runtimes, and JSON-stringifying them here would
|
|
17
|
+
* spend the compaction budget on a truncated base64 blob that reads as noise.
|
|
18
|
+
* Keep the readable text and mark each image as `[image]` so the tool result is
|
|
19
|
+
* disclosed cleanly instead. A string result is returned as-is (compacted by the
|
|
20
|
+
* caller); an unknown shape falls back to `compactValue`.
|
|
21
|
+
*/
|
|
22
|
+
function summarizeToolResultContent(content) {
|
|
23
|
+
if (typeof content === "string")
|
|
24
|
+
return content;
|
|
25
|
+
if (!Array.isArray(content))
|
|
26
|
+
return compactValue(content);
|
|
27
|
+
const parts = [];
|
|
28
|
+
for (const raw of content) {
|
|
29
|
+
if (raw?.type === "text" && typeof raw.text === "string")
|
|
30
|
+
parts.push(raw.text);
|
|
31
|
+
else if (raw?.type === "image")
|
|
32
|
+
parts.push("[image]");
|
|
33
|
+
else
|
|
34
|
+
parts.push(compactValue(raw));
|
|
35
|
+
}
|
|
36
|
+
return parts.join(" ").trim();
|
|
37
|
+
}
|
|
13
38
|
/** Flatten one runtime message's content into text + tool annotations. */
|
|
14
39
|
function readContent(content) {
|
|
15
40
|
if (typeof content === "string") {
|
|
@@ -34,7 +59,7 @@ function readContent(content) {
|
|
|
34
59
|
}
|
|
35
60
|
else if (type === "tool_result") {
|
|
36
61
|
sawToolResult = true;
|
|
37
|
-
tools.push({ name: undefined, summary: `→ ${compactValue(raw.content)}` });
|
|
62
|
+
tools.push({ name: undefined, summary: `→ ${compactValue(summarizeToolResultContent(raw.content))}` });
|
|
38
63
|
}
|
|
39
64
|
else if (type === "image") {
|
|
40
65
|
// Image bytes don't round-trip across runtimes (each has its own store
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bivy/bivy",
|
|
3
|
-
"version": "0.16.24-staging.
|
|
3
|
+
"version": "0.16.24-staging.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"description": "Run coding agents on machines you own. Open-source, self-hostable agent workspace.",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"zod": "^4.0.0"
|
|
52
52
|
},
|
|
53
53
|
"optionalDependencies": {
|
|
54
|
-
"@anthropic-ai/claude-agent-sdk": "0.3.
|
|
54
|
+
"@anthropic-ai/claude-agent-sdk": "0.3.270",
|
|
55
55
|
"@earendil-works/pi-ai": "0.85.1",
|
|
56
56
|
"@earendil-works/pi-coding-agent": "0.85.1"
|
|
57
57
|
},
|