overlord-cli 0.2611201138.0 → 0.2611211345.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/README.md +61 -0
- package/dist/connectors/AGENTS.md +4 -2
- package/dist/connectors/HARNESS-MATRIX.md +28 -27
- package/dist/connectors/README.md +23 -14
- package/dist/connectors/VERSION +1 -1
- package/dist/connectors/adapters/antigravity/CAPABILITIES.md +49 -26
- package/dist/connectors/adapters/antigravity/README.md +63 -15
- package/dist/connectors/adapters/antigravity/assets/logo.png +0 -0
- package/dist/connectors/adapters/antigravity/codec/antigravity.codec.yaml +66 -0
- package/dist/connectors/adapters/antigravity/codec/antigravity.decision-codec.yaml +26 -0
- package/dist/connectors/adapters/antigravity/conformance-manifest.yaml +8 -4
- package/dist/connectors/adapters/antigravity/fixtures/decision-codec.json +51 -0
- package/dist/connectors/adapters/antigravity/fixtures/hooks-registration.json +15 -0
- package/dist/connectors/adapters/antigravity/fixtures/mutation-window-evidence.json +12 -7
- package/dist/connectors/adapters/antigravity/fixtures/normalize-post-tool-use-failed.json +54 -0
- package/dist/connectors/adapters/antigravity/fixtures/normalize-post-tool-use-shell.json +50 -0
- package/dist/connectors/adapters/antigravity/fixtures/normalize-post-tool-use-write.json +58 -0
- package/dist/connectors/adapters/antigravity/fixtures/normalize-pre-invocation.json +37 -0
- package/dist/connectors/adapters/antigravity/fixtures/official-stop.json +32 -0
- package/dist/connectors/adapters/antigravity/fixtures/post-tool-use-hook.json +36 -0
- package/dist/connectors/adapters/antigravity/fixtures/post-tool-use-unbound.json +35 -0
- package/dist/connectors/adapters/antigravity/fixtures/pre-invocation-hook.json +35 -0
- package/dist/connectors/adapters/antigravity/fixtures/pre-invocation-inject.json +36 -0
- package/dist/connectors/adapters/antigravity/fixtures/pre-invocation-unbound.json +29 -0
- package/dist/connectors/adapters/antigravity/fixtures/stop-delivery-reminder.json +37 -0
- package/dist/connectors/adapters/antigravity/fixtures/stop-hook-failure.json +37 -0
- package/dist/connectors/adapters/antigravity/fixtures/stop-inbox-inject.json +35 -0
- package/dist/connectors/adapters/antigravity/fixtures/unbound-session.json +27 -10
- package/dist/connectors/adapters/antigravity/harness-capabilities.yaml +133 -51
- package/dist/connectors/adapters/antigravity/hooks/overlord-pre-invocation.sh +30 -0
- package/dist/connectors/adapters/antigravity/hooks/overlord-stop.sh +37 -0
- package/dist/connectors/adapters/antigravity/hooks.json +31 -1
- package/dist/connectors/adapters/antigravity/mcp_config.json +1 -2
- package/dist/connectors/adapters/antigravity/plugin.json +9 -2
- package/dist/connectors/adapters/claude/.claude-plugin/plugin.json +5 -8
- package/dist/connectors/adapters/claude/.mcp.json +8 -0
- package/dist/connectors/adapters/claude/CAPABILITIES.md +32 -20
- package/dist/connectors/adapters/claude/README.md +84 -15
- package/dist/connectors/adapters/claude/codec/claude.decision-codec.yaml +13 -5
- package/dist/connectors/adapters/claude/conformance-manifest.yaml +4 -6
- package/dist/connectors/adapters/claude/fixtures/decision-codec.json +8 -9
- package/dist/connectors/adapters/claude/fixtures/decision-hook-registration.json +17 -0
- package/dist/connectors/adapters/claude/fixtures/hook-capture-fail-open.json +60 -0
- package/dist/connectors/adapters/claude/fixtures/hook-decision-no-approval-on-failure.json +74 -0
- package/dist/connectors/adapters/claude/fixtures/hook-nested-session-gate.json +148 -0
- package/dist/connectors/adapters/claude/fixtures/hook-stop-fail-open.json +61 -0
- package/dist/connectors/adapters/claude/fixtures/hooks-fail-open-registration.json +32 -0
- package/dist/connectors/adapters/claude/fixtures/native-payload-shapes.json +206 -0
- package/dist/connectors/adapters/claude/fixtures/normalize-post-tool-use-shell.json +1 -7
- package/dist/connectors/adapters/claude/fixtures/normalize-post-tool-use-write.json +2 -10
- package/dist/connectors/adapters/claude/fixtures/normalize-session-start.json +1 -4
- package/dist/connectors/adapters/claude/fixtures/normalize-user-prompt-submit.json +1 -5
- package/dist/connectors/adapters/claude/fixtures/permission-request.json +14 -5
- package/dist/connectors/adapters/claude/fixtures/post-tool-use-capture.json +54 -13
- package/dist/connectors/adapters/claude/fixtures/post-tool-use-parity.json +6 -3
- package/dist/connectors/adapters/claude/fixtures/probe-decision-fail-closed.json +45 -0
- package/dist/connectors/adapters/claude/fixtures/probe-fail-open.json +48 -0
- package/dist/connectors/adapters/claude/fixtures/probe-stop-heartbeat.json +40 -0
- package/dist/connectors/adapters/claude/fixtures/status-line-opt-in.json +16 -0
- package/dist/connectors/adapters/claude/fixtures/status-line-payload.json +29 -0
- package/dist/connectors/adapters/claude/fixtures/status-line-side-effect-free.json +16 -0
- package/dist/connectors/adapters/claude/fixtures/subagent-identity.json +143 -0
- package/dist/connectors/adapters/claude/fixtures/subagent-stop-background.json +95 -0
- package/dist/connectors/adapters/claude/fixtures/unbound-session.json +134 -12
- package/dist/connectors/adapters/claude/harness-capabilities.yaml +151 -57
- package/dist/connectors/adapters/claude/hooks/hooks.json +33 -6
- package/dist/connectors/adapters/claude/skills/overlord-mission/SKILL.md +4 -4
- package/dist/connectors/adapters/codex/.codex-plugin/plugin.json +1 -1
- package/dist/connectors/adapters/codex/CAPABILITIES.md +24 -10
- package/dist/connectors/adapters/codex/README.md +31 -5
- package/dist/connectors/adapters/codex/codec/codex.codec.yaml +9 -0
- package/dist/connectors/adapters/codex/conformance-manifest.yaml +2 -2
- package/dist/connectors/adapters/codex/fixtures/control-plane-surface-guard.json +26 -0
- package/dist/connectors/adapters/codex/fixtures/control-plane-surface-prompt-guard.json +24 -0
- package/dist/connectors/adapters/codex/fixtures/decision-codec.json +13 -9
- package/dist/connectors/adapters/codex/fixtures/normalize-post-tool-use-failed.json +2 -0
- package/dist/connectors/adapters/codex/fixtures/normalize-post-tool-use-rename.json +2 -0
- package/dist/connectors/adapters/codex/fixtures/normalize-post-tool-use-subagent.json +53 -0
- package/dist/connectors/adapters/codex/fixtures/normalize-post-tool-use.json +2 -0
- package/dist/connectors/adapters/codex/fixtures/normalize-pre-tool-use.json +2 -0
- package/dist/connectors/adapters/codex/fixtures/normalize-session-start.json +2 -0
- package/dist/connectors/adapters/codex/fixtures/normalize-user-prompt.json +2 -0
- package/dist/connectors/adapters/codex/fixtures/permission-request.json +22 -7
- package/dist/connectors/adapters/codex/fixtures/shell-session-env.json +28 -0
- package/dist/connectors/adapters/codex/fixtures/status-line-opt-in.json +22 -0
- package/dist/connectors/adapters/codex/fixtures/status-line-provider.json +124 -0
- package/dist/connectors/adapters/codex/fixtures/status-line-state.json +90 -0
- package/dist/connectors/adapters/codex/fixtures/stop.json +28 -0
- package/dist/connectors/adapters/codex/harness-capabilities.yaml +118 -20
- package/dist/connectors/adapters/codex/scripts/permission-hook.sh +5 -0
- package/dist/connectors/adapters/codex/scripts/user-prompt-submit-hook.sh +5 -0
- package/dist/connectors/adapters/codex-app-server/CAPABILITIES.md +149 -0
- package/dist/connectors/adapters/codex-app-server/README.md +251 -0
- package/dist/connectors/adapters/codex-app-server/codec/codex-app-server.codec.yaml +150 -0
- package/dist/connectors/adapters/codex-app-server/conformance-manifest.yaml +24 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/human-answers-control-plane-cards.json +17 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/launch-mints-control-plane-channel.json +20 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/mutation-window-evidence.json +29 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/normalize-child-file-change.json +74 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/normalize-command-completed.json +67 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/normalize-command-started.json +61 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/normalize-file-change-completed.json +70 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/normalize-file-change-declined.json +71 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/normalize-file-change-started.json +64 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/normalize-fork-started.json +79 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/normalize-steer-message.json +50 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/normalize-subagent-started.json +51 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/normalize-thread-started.json +77 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/normalize-turn-interrupted.json +44 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/normalize-user-message.json +50 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/reasked-approval-occurrence.json +14 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/replay-child-thread.json +692 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/replay-command-approval.json +465 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/replay-concurrent-answer.json +278 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/replay-handshake.json +242 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/replay-history-import.json +974 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/replay-inject-steer.json +235 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/replay-inject-turn-boundary.json +403 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/replay-interrupt.json +199 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/replay-patch-approval.json +266 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/replay-version-gate.json +84 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/server-socket-owner-only.json +24 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/status-line-provider.json +125 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/status-line-thread-index.json +15 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/supervisor-reaps-orphans.json +17 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/supervisor-watchdog.json +14 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/trust-entry-cleanup.json +13 -0
- package/dist/connectors/adapters/codex-app-server/fixtures/unbound-session.json +13 -0
- package/dist/connectors/adapters/codex-app-server/harness-capabilities.yaml +384 -0
- package/dist/connectors/adapters/cursor/.cursor-plugin/plugin.json +1 -1
- package/dist/connectors/adapters/cursor/CAPABILITIES.md +3 -3
- package/dist/connectors/adapters/cursor/conformance-manifest.yaml +2 -2
- package/dist/connectors/adapters/cursor/fixtures/claude-plugin-import-guard.json +17 -0
- package/dist/connectors/adapters/cursor/harness-capabilities.yaml +12 -7
- package/dist/connectors/adapters/opencode/conformance-manifest.yaml +1 -1
- package/dist/connectors/adapters/pi/conformance-manifest.yaml +1 -1
- package/dist/connectors/core/scripts/agent-session-hook.sh +4 -0
- package/dist/connectors/core/scripts/capture-change-hook.sh +5 -0
- package/dist/connectors/core/scripts/overlord-mcp.mjs +668 -38
- package/dist/connectors/docs/05-connectors-and-agent-plugins.md +12 -4
- package/dist/connectors/docs/testing.md +12 -4
- package/dist/index.js +12809 -6328
- package/dist/index.js.map +4 -4
- package/package.json +1 -1
- package/dist/connectors/adapters/claude/fixtures/inject-async-rewake.json +0 -13
- package/dist/connectors/adapters/claude/fixtures/inject-stop-block.json +0 -9
- package/dist/connectors/adapters/claude/scripts/permission-hook.sh +0 -21
- package/dist/connectors/adapters/claude/scripts/stop-hook.sh +0 -81
- package/dist/connectors/adapters/claude/scripts/user-prompt-submit-hook.sh +0 -121
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fixtureVersion": 1,
|
|
3
|
+
"kind": "native-payload",
|
|
4
|
+
"description": "Recorded Claude Code 2.1.329 behavior (claude -p, isolated settings, 2026-11-20): a PermissionRequest mcp_tool hook with onFailure block whose MCP server is not connected denies the tool call. The Bash command did not run. Second recording: the same registration against the real plugin server (plugin:overlord:overlord-hooks via --plugin-dir, referenced from --settings) honored remote allow and deny answers.",
|
|
5
|
+
"payload": {
|
|
6
|
+
"claudeCodeVersion": "2.1.329",
|
|
7
|
+
"registration": {
|
|
8
|
+
"event": "PermissionRequest",
|
|
9
|
+
"type": "mcp_tool",
|
|
10
|
+
"server": "nosuch",
|
|
11
|
+
"onFailure": "block",
|
|
12
|
+
"timeout": 20
|
|
13
|
+
},
|
|
14
|
+
"toolResult": {
|
|
15
|
+
"type": "tool_result",
|
|
16
|
+
"is_error": true,
|
|
17
|
+
"content": "[nosuch/x]: failed; blocking because onFailure is \"block\" and the hook got no usable answer from its MCP server. The user needs to fix the cause (in a session, /mcp shows the server's state) or ask whoever manages the hook; Claude should not change the hook or work around it.\nMCP server 'nosuch' not connected"
|
|
18
|
+
},
|
|
19
|
+
"commandRan": false,
|
|
20
|
+
"pluginServer": {
|
|
21
|
+
"server": "plugin:overlord:overlord-hooks",
|
|
22
|
+
"registeredFrom": "--settings",
|
|
23
|
+
"allow": {
|
|
24
|
+
"commandRan": true,
|
|
25
|
+
"cliInvocation": "agent-session request --agent claude --payload-file -"
|
|
26
|
+
},
|
|
27
|
+
"deny": {
|
|
28
|
+
"commandRan": false,
|
|
29
|
+
"toolResult": "Denied remotely in Overlord"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"assert": {
|
|
34
|
+
"requiredPaths": ["toolResult.content", "pluginServer.allow.cliInvocation"],
|
|
35
|
+
"equals": {
|
|
36
|
+
"registration.onFailure": "block",
|
|
37
|
+
"registration.event": "PermissionRequest",
|
|
38
|
+
"toolResult.is_error": true,
|
|
39
|
+
"commandRan": false,
|
|
40
|
+
"pluginServer.server": "plugin:overlord:overlord-hooks",
|
|
41
|
+
"pluginServer.allow.commandRan": true,
|
|
42
|
+
"pluginServer.deny.commandRan": false
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fixtureVersion": 1,
|
|
3
|
+
"kind": "native-payload",
|
|
4
|
+
"description": "Recorded Claude Code 2.1.329 behavior (claude -p, isolated settings, 2026-11-20): UserPromptSubmit, PostToolUse and Stop mcp_tool hooks without onFailure, all pointing at an MCP server that is not connected, do not block. The prompt ran, the Bash command ran and the turn ended with the requested reply; the Stop failure surfaced only as a non-blocking notification.",
|
|
5
|
+
"payload": {
|
|
6
|
+
"claudeCodeVersion": "2.1.329",
|
|
7
|
+
"registrations": [
|
|
8
|
+
{
|
|
9
|
+
"event": "UserPromptSubmit",
|
|
10
|
+
"type": "mcp_tool",
|
|
11
|
+
"server": "nosuch",
|
|
12
|
+
"timeout": 10
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"event": "PostToolUse",
|
|
16
|
+
"type": "mcp_tool",
|
|
17
|
+
"server": "nosuch",
|
|
18
|
+
"timeout": 15
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"event": "Stop",
|
|
22
|
+
"type": "mcp_tool",
|
|
23
|
+
"server": "nosuch",
|
|
24
|
+
"timeout": 30
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"commandRan": true,
|
|
28
|
+
"result": {
|
|
29
|
+
"subtype": "success",
|
|
30
|
+
"result": "DONE"
|
|
31
|
+
},
|
|
32
|
+
"notification": {
|
|
33
|
+
"type": "system",
|
|
34
|
+
"subtype": "notification",
|
|
35
|
+
"key": "stop-hook-error",
|
|
36
|
+
"text": "stop hook problem · ctrl+o to see"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"assert": {
|
|
40
|
+
"requiredPaths": ["registrations.0.event", "registrations.2.event"],
|
|
41
|
+
"equals": {
|
|
42
|
+
"commandRan": true,
|
|
43
|
+
"result.subtype": "success",
|
|
44
|
+
"result.result": "DONE",
|
|
45
|
+
"notification.key": "stop-hook-error"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fixtureVersion": 1,
|
|
3
|
+
"kind": "native-payload",
|
|
4
|
+
"description": "Recorded Claude Code 2.1.329 behavior (claude -p --output-format stream-json, isolated settings, 2026-11-20): a Stop mcp_tool hook whose tool answered after 45 s, with timeout 90, did not time out, and the stream carried a progress heartbeat (tool_progress, heartbeat: true) at 30 s while it ran (2.1.323). The run then completed normally. This is why a headless final Stop may hold the inbox open for 60 s, and why the plugin's Stop hook timeout (100 s) is above that wait plus both step budgets.",
|
|
5
|
+
"payload": {
|
|
6
|
+
"claudeCodeVersion": "2.1.329",
|
|
7
|
+
"registration": {
|
|
8
|
+
"event": "Stop",
|
|
9
|
+
"type": "mcp_tool",
|
|
10
|
+
"timeout": 90
|
|
11
|
+
},
|
|
12
|
+
"toolHeldMs": 45001,
|
|
13
|
+
"heartbeats": [
|
|
14
|
+
{
|
|
15
|
+
"type": "tool_progress",
|
|
16
|
+
"tool_name": "Stop",
|
|
17
|
+
"heartbeat": true,
|
|
18
|
+
"elapsed_time_seconds": 30
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"result": {
|
|
22
|
+
"subtype": "success",
|
|
23
|
+
"is_error": false,
|
|
24
|
+
"terminal_reason": "completed"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"assert": {
|
|
28
|
+
"requiredPaths": [
|
|
29
|
+
"heartbeats.0.elapsed_time_seconds"
|
|
30
|
+
],
|
|
31
|
+
"equals": {
|
|
32
|
+
"heartbeats.0.type": "tool_progress",
|
|
33
|
+
"heartbeats.0.tool_name": "Stop",
|
|
34
|
+
"heartbeats.0.heartbeat": true,
|
|
35
|
+
"heartbeats.0.elapsed_time_seconds": 30,
|
|
36
|
+
"result.subtype": "success",
|
|
37
|
+
"result.is_error": false
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fixtureVersion": 1,
|
|
3
|
+
"kind": "source-guard",
|
|
4
|
+
"description": "A Claude Code plugin cannot ship a `statusLine`, so `ovld agent-setup claude --status-line` writes one to the user's settings.json. It is opt-in, never replaces an existing status line (the user gets a hint to pipe the same stdin into `ovld status-line` from their own script) and leaves an unreadable settings file untouched. The command reads the status-line JSON on stdin and refreshes every 10 s so an answer or a new question shows while the session is idle.",
|
|
5
|
+
"path": "cli/src/claude-status-line.ts",
|
|
6
|
+
"assert": {
|
|
7
|
+
"mustContain": [
|
|
8
|
+
"'ovld status-line --agent claude --payload-file -'",
|
|
9
|
+
"type: 'command'",
|
|
10
|
+
"refreshInterval: CLAUDE_STATUS_LINE_REFRESH_SECONDS",
|
|
11
|
+
"status: 'kept-existing'",
|
|
12
|
+
"status: 'unreadable'"
|
|
13
|
+
],
|
|
14
|
+
"mustNotContain": ["writeOwnerOnlyFileAtomically", "--dangerously"]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fixtureVersion": 1,
|
|
3
|
+
"kind": "native-payload",
|
|
4
|
+
"description": "Recorded live on Claude Code 2.1.329 (interactive, tmux, `--settings` with a `statusLine` command and `refreshInterval: 2`): the JSON Claude pipes to a status line command on stdin, trimmed of usage fields and with local paths replaced. It carries the conversation's `session_id` (the same value the command's environment exports as `CLAUDE_CODE_SESSION_ID`), so `ovld status-line --agent claude --payload-file -` can look up the native-session index that attach wrote. The command's environment also inherits the launch environment (`OVERLORD_MISSION_ID`, `OVERLORD_OBJECTIVE_ID`) and `COLUMNS`. Claude runs the command at session start, after each assistant message and other UI events (debounced 300 ms, an in-flight run is cancelled) and every `refreshInterval` seconds; output is shown only after exit 0, and empty output leaves the line blank.",
|
|
5
|
+
"payload": {
|
|
6
|
+
"session_id": "131fb042-ffe6-4876-9e5d-72b0ede9819c",
|
|
7
|
+
"transcript_path": "/home/user/.claude/projects/-repo/131fb042-ffe6-4876-9e5d-72b0ede9819c.jsonl",
|
|
8
|
+
"cwd": "/repo",
|
|
9
|
+
"effort": { "level": "medium" },
|
|
10
|
+
"model": { "id": "claude-haiku-5-5", "display_name": "Haiku 5.5" },
|
|
11
|
+
"workspace": { "current_dir": "/repo", "project_dir": "/repo", "added_dirs": [] },
|
|
12
|
+
"version": "2.1.329",
|
|
13
|
+
"output_style": { "name": "default" },
|
|
14
|
+
"cost": {
|
|
15
|
+
"total_cost_usd": 0,
|
|
16
|
+
"total_duration_ms": 24477,
|
|
17
|
+
"total_api_duration_ms": 0,
|
|
18
|
+
"total_lines_added": 0,
|
|
19
|
+
"total_lines_removed": 0
|
|
20
|
+
},
|
|
21
|
+
"exceeds_200k_tokens": false,
|
|
22
|
+
"fast_mode": false,
|
|
23
|
+
"thinking": { "enabled": true }
|
|
24
|
+
},
|
|
25
|
+
"assert": {
|
|
26
|
+
"requiredPaths": ["session_id", "cwd", "workspace.current_dir", "version"],
|
|
27
|
+
"bindingField": "session_id"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fixtureVersion": 1,
|
|
3
|
+
"kind": "source-guard",
|
|
4
|
+
"description": "`ovld status-line` answers from local state only: an unbound session reads no cache, spawns nothing and makes no network call, and a stale snapshot starts one detached, lock-guarded refresh. The refresh uses only side-effect-free reads (display-id mission search, the mission's objectives, the objective's open agent requests). It never reads `GET /api/missions/:id`, which marks the mission's blocking-question indicator seen, and never writes to stderr.",
|
|
5
|
+
"path": "cli/src/status-line.ts",
|
|
6
|
+
"assert": {
|
|
7
|
+
"mustContain": [
|
|
8
|
+
"`/api/missions/search?q=${missionRef}&limit=5`",
|
|
9
|
+
"`/api/missions/${missionRef}/objectives`",
|
|
10
|
+
"`/api/agent-requests?${requestParams.toString()}`",
|
|
11
|
+
"claimStatusLineRefresh(binding.missionId, binding.objectiveId, now)",
|
|
12
|
+
"detached: true"
|
|
13
|
+
],
|
|
14
|
+
"mustNotContain": ["`/api/missions/${missionRef}`", "process.stderr", "console.error"]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fixtureVersion": 1,
|
|
3
|
+
"kind": "native-payload",
|
|
4
|
+
"description": "Recorded Claude Code 2.1.329 hook payloads (claude -p, isolated settings, 2026-11-20). Subagents and forks: every hook inside a subagent, including a fork, carries the PARENT's session_id and adds agent_id and agent_type; mcp_tool templating of ${agent_id}/${agent_type} gives the same values and \"\" in the main agent. Compaction: PreCompact, PostCompact and the post-compaction SessionStart keep the session_id and carry no agent_id for main-thread compaction (the compaction itself runs as an internal subagent whose SubagentStop has an empty agent_type). Nested claude -p (run from a Bash tool of another session): it gets its own session_id, also with CLAUDE_CODE_DISABLE_NESTED_SESSION_ID=1 on this version; its hooks server sets CLAUDE_CODE_ENTRYPOINT itself but inherits the outer session's CLAUDE_PID, which differs from the server's parent pid. A top-level hooks server has no CLAUDE_PID. So session_id binding routes subagent and fork work to the parent's binding, survives compaction, and never matches a nested session's own id.",
|
|
5
|
+
"payload": {
|
|
6
|
+
"claudeCodeVersion": "2.1.329",
|
|
7
|
+
"subagent": {
|
|
8
|
+
"parentSessionId": "07b92dcb-df48-43c7-a0b9-cfa4ae04952c",
|
|
9
|
+
"subagentStart": {
|
|
10
|
+
"hook_event_name": "SubagentStart",
|
|
11
|
+
"session_id": "07b92dcb-df48-43c7-a0b9-cfa4ae04952c",
|
|
12
|
+
"agent_id": "a80c7982385fd680b",
|
|
13
|
+
"agent_type": "general-purpose"
|
|
14
|
+
},
|
|
15
|
+
"subagentPostToolUse": {
|
|
16
|
+
"hook_event_name": "PostToolUse",
|
|
17
|
+
"session_id": "07b92dcb-df48-43c7-a0b9-cfa4ae04952c",
|
|
18
|
+
"agent_id": "a80c7982385fd680b",
|
|
19
|
+
"agent_type": "general-purpose",
|
|
20
|
+
"tool_name": "Bash"
|
|
21
|
+
},
|
|
22
|
+
"mainPostToolUse": {
|
|
23
|
+
"hook_event_name": "PostToolUse",
|
|
24
|
+
"session_id": "07b92dcb-df48-43c7-a0b9-cfa4ae04952c",
|
|
25
|
+
"tool_name": "Bash"
|
|
26
|
+
},
|
|
27
|
+
"mcpToolInputs": [
|
|
28
|
+
{
|
|
29
|
+
"hook_event_name": "PostToolUse",
|
|
30
|
+
"session_id": "07b92dcb-df48-43c7-a0b9-cfa4ae04952c",
|
|
31
|
+
"agent_id": "a80c7982385fd680b",
|
|
32
|
+
"agent_type": "general-purpose"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"hook_event_name": "PostToolUse",
|
|
36
|
+
"session_id": "07b92dcb-df48-43c7-a0b9-cfa4ae04952c",
|
|
37
|
+
"agent_id": "",
|
|
38
|
+
"agent_type": ""
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
"fork": {
|
|
43
|
+
"subagentStart": {
|
|
44
|
+
"hook_event_name": "SubagentStart",
|
|
45
|
+
"session_id": "3a993469-c74b-4b7f-9078-039cc65ab8d1",
|
|
46
|
+
"agent_id": "a637d505a0e4fac48",
|
|
47
|
+
"agent_type": "fork"
|
|
48
|
+
},
|
|
49
|
+
"subagentPostToolUse": {
|
|
50
|
+
"hook_event_name": "PostToolUse",
|
|
51
|
+
"session_id": "3a993469-c74b-4b7f-9078-039cc65ab8d1",
|
|
52
|
+
"agent_id": "a637d505a0e4fac48",
|
|
53
|
+
"agent_type": "fork",
|
|
54
|
+
"tool_name": "Bash"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"compaction": {
|
|
58
|
+
"preCompact": {
|
|
59
|
+
"hook_event_name": "PreCompact",
|
|
60
|
+
"session_id": "07b92dcb-df48-43c7-a0b9-cfa4ae04952c",
|
|
61
|
+
"trigger": "manual"
|
|
62
|
+
},
|
|
63
|
+
"postCompact": {
|
|
64
|
+
"hook_event_name": "PostCompact",
|
|
65
|
+
"session_id": "07b92dcb-df48-43c7-a0b9-cfa4ae04952c",
|
|
66
|
+
"trigger": "manual"
|
|
67
|
+
},
|
|
68
|
+
"sessionStartAfterCompact": {
|
|
69
|
+
"hook_event_name": "SessionStart",
|
|
70
|
+
"session_id": "07b92dcb-df48-43c7-a0b9-cfa4ae04952c",
|
|
71
|
+
"source": "compact"
|
|
72
|
+
},
|
|
73
|
+
"compactionSubagentStop": {
|
|
74
|
+
"hook_event_name": "SubagentStop",
|
|
75
|
+
"session_id": "07b92dcb-df48-43c7-a0b9-cfa4ae04952c",
|
|
76
|
+
"agent_id": "a0f73ba34b44ca4c8",
|
|
77
|
+
"agent_type": ""
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"nested": {
|
|
81
|
+
"topLevelHooksServer": {
|
|
82
|
+
"CLAUDE_PID": null,
|
|
83
|
+
"CLAUDE_CODE_ENTRYPOINT": "sdk-cli"
|
|
84
|
+
},
|
|
85
|
+
"default": {
|
|
86
|
+
"disableNestedSessionId": false,
|
|
87
|
+
"parentSessionId": "2c00e064-b073-432d-815a-752e3ed1d20f",
|
|
88
|
+
"parentClaudePid": "9917",
|
|
89
|
+
"nestedSessionId": "7bc827e6-1f00-4bd4-a1d0-add0b072f9ec",
|
|
90
|
+
"nestedClaudePid": "14053",
|
|
91
|
+
"hooksServer": {
|
|
92
|
+
"CLAUDE_CODE_SESSION_ID": "7bc827e6-1f00-4bd4-a1d0-add0b072f9ec",
|
|
93
|
+
"CLAUDE_PID": "9917",
|
|
94
|
+
"ppid": "14053",
|
|
95
|
+
"CLAUDE_CODE_ENTRYPOINT": "sdk-cli"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"disableNestedSessionId": {
|
|
99
|
+
"disableNestedSessionId": true,
|
|
100
|
+
"parentSessionId": "2c00e064-b073-432d-815a-752e3ed1d20f",
|
|
101
|
+
"parentClaudePid": "9917",
|
|
102
|
+
"nestedSessionId": "2119e9f3-22d7-4468-a284-63218ac7c5b9",
|
|
103
|
+
"nestedClaudePid": "14055",
|
|
104
|
+
"hooksServer": {
|
|
105
|
+
"CLAUDE_CODE_SESSION_ID": "2119e9f3-22d7-4468-a284-63218ac7c5b9",
|
|
106
|
+
"CLAUDE_PID": "9917",
|
|
107
|
+
"ppid": "14055",
|
|
108
|
+
"CLAUDE_CODE_ENTRYPOINT": "sdk-cli"
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"assert": {
|
|
114
|
+
"requiredPaths": [
|
|
115
|
+
"subagent.subagentStart.agent_id",
|
|
116
|
+
"subagent.subagentPostToolUse.agent_id",
|
|
117
|
+
"subagent.subagentPostToolUse.agent_type",
|
|
118
|
+
"fork.subagentPostToolUse.agent_id",
|
|
119
|
+
"nested.default.nestedSessionId",
|
|
120
|
+
"nested.default.hooksServer.CLAUDE_PID"
|
|
121
|
+
],
|
|
122
|
+
"equals": {
|
|
123
|
+
"subagent.subagentStart.session_id": "07b92dcb-df48-43c7-a0b9-cfa4ae04952c",
|
|
124
|
+
"subagent.subagentPostToolUse.session_id": "07b92dcb-df48-43c7-a0b9-cfa4ae04952c",
|
|
125
|
+
"subagent.subagentPostToolUse.agent_type": "general-purpose",
|
|
126
|
+
"subagent.mainPostToolUse.session_id": "07b92dcb-df48-43c7-a0b9-cfa4ae04952c",
|
|
127
|
+
"subagent.mcpToolInputs.0.agent_id": "a80c7982385fd680b",
|
|
128
|
+
"subagent.mcpToolInputs.1.agent_id": "",
|
|
129
|
+
"fork.subagentStart.agent_type": "fork",
|
|
130
|
+
"fork.subagentPostToolUse.session_id": "3a993469-c74b-4b7f-9078-039cc65ab8d1",
|
|
131
|
+
"compaction.preCompact.session_id": "07b92dcb-df48-43c7-a0b9-cfa4ae04952c",
|
|
132
|
+
"compaction.postCompact.session_id": "07b92dcb-df48-43c7-a0b9-cfa4ae04952c",
|
|
133
|
+
"compaction.sessionStartAfterCompact.session_id": "07b92dcb-df48-43c7-a0b9-cfa4ae04952c",
|
|
134
|
+
"compaction.sessionStartAfterCompact.source": "compact",
|
|
135
|
+
"nested.topLevelHooksServer.CLAUDE_PID": null,
|
|
136
|
+
"nested.default.parentSessionId": "2c00e064-b073-432d-815a-752e3ed1d20f",
|
|
137
|
+
"nested.default.nestedSessionId": "7bc827e6-1f00-4bd4-a1d0-add0b072f9ec",
|
|
138
|
+
"nested.default.hooksServer.CLAUDE_PID": "9917",
|
|
139
|
+
"nested.default.hooksServer.CLAUDE_CODE_ENTRYPOINT": "sdk-cli",
|
|
140
|
+
"nested.disableNestedSessionId.nestedSessionId": "2119e9f3-22d7-4468-a284-63218ac7c5b9"
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fixtureVersion": 1,
|
|
3
|
+
"kind": "native-payload",
|
|
4
|
+
"description": "Recorded Claude Code 2.1.329 subagent lifecycle (claude -p, isolated settings, 2026-11-20). A background subagent is still running when the main agent's first Stop fires; that Stop reports it in background_tasks. The subagent's end fires SubagentStop (parent session_id plus agent_id/agent_type), not Stop. Claude then wakes the main agent with a harness-written UserPromptSubmit whose prompt is a <task-notification>, and that turn ends in a second main Stop with background_tasks empty. Templated into an mcp_tool hook, ${background_tasks} arrives as a JSON string. So the main Stop does run after subagent work completes; Overlord defers its delivery reminder and headless inbox wait while background_tasks has a running entry, and never records a <task-notification> prompt as a user follow-up. Paths and the task output file are redacted from the recorded prompt.",
|
|
5
|
+
"payload": {
|
|
6
|
+
"claudeCodeVersion": "2.1.329",
|
|
7
|
+
"firstStop": {
|
|
8
|
+
"hook_event_name": "Stop",
|
|
9
|
+
"session_id": "07b92dcb-df48-43c7-a0b9-cfa4ae04952c",
|
|
10
|
+
"stop_hook_active": false,
|
|
11
|
+
"background_tasks": [
|
|
12
|
+
{
|
|
13
|
+
"id": "a80c7982385fd680b",
|
|
14
|
+
"type": "subagent",
|
|
15
|
+
"status": "running",
|
|
16
|
+
"description": "Run echo from-sub",
|
|
17
|
+
"agent_type": "general-purpose"
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
"subagentStop": {
|
|
22
|
+
"hook_event_name": "SubagentStop",
|
|
23
|
+
"session_id": "07b92dcb-df48-43c7-a0b9-cfa4ae04952c",
|
|
24
|
+
"agent_id": "a80c7982385fd680b",
|
|
25
|
+
"agent_type": "general-purpose",
|
|
26
|
+
"stop_hook_active": false
|
|
27
|
+
},
|
|
28
|
+
"taskNotificationPrompt": {
|
|
29
|
+
"hook_event_name": "UserPromptSubmit",
|
|
30
|
+
"session_id": "07b92dcb-df48-43c7-a0b9-cfa4ae04952c",
|
|
31
|
+
"prompt": "<task-notification>\n<task-id>a80c7982385fd680b</task-id>\n<status>completed</status>\n<summary>Agent \"Run echo from-sub\" finished</summary>\n<result>from-sub</result>\n</task-notification>"
|
|
32
|
+
},
|
|
33
|
+
"finalStop": {
|
|
34
|
+
"hook_event_name": "Stop",
|
|
35
|
+
"session_id": "07b92dcb-df48-43c7-a0b9-cfa4ae04952c",
|
|
36
|
+
"stop_hook_active": false,
|
|
37
|
+
"background_tasks": []
|
|
38
|
+
},
|
|
39
|
+
"result": {
|
|
40
|
+
"num_turns": 2,
|
|
41
|
+
"origin": {
|
|
42
|
+
"kind": "task-notification"
|
|
43
|
+
},
|
|
44
|
+
"subagent_stats": {
|
|
45
|
+
"started_in_background": 1,
|
|
46
|
+
"completed": 1
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"mcpToolStopInputs": [
|
|
50
|
+
{
|
|
51
|
+
"hook_event_name": "Stop",
|
|
52
|
+
"stop_hook_active": "false",
|
|
53
|
+
"background_tasks": "[{\"id\":\"a637d505a0e4fac48\",\"type\":\"subagent\",\"status\":\"running\",\"description\":\"Run sleep and echo command\",\"agent_type\":\"fork\"}]",
|
|
54
|
+
"agent_id": ""
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"hook_event_name": "SubagentStop",
|
|
58
|
+
"stop_hook_active": "false",
|
|
59
|
+
"background_tasks": "[{\"id\":\"a637d505a0e4fac48\",\"type\":\"subagent\",\"status\":\"running\",\"description\":\"Run sleep and echo command\",\"agent_type\":\"fork\"}]",
|
|
60
|
+
"agent_id": "a637d505a0e4fac48"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"hook_event_name": "Stop",
|
|
64
|
+
"stop_hook_active": "false",
|
|
65
|
+
"background_tasks": "[]",
|
|
66
|
+
"agent_id": ""
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
"assert": {
|
|
71
|
+
"requiredPaths": [
|
|
72
|
+
"firstStop.background_tasks.0.status",
|
|
73
|
+
"subagentStop.agent_id",
|
|
74
|
+
"taskNotificationPrompt.prompt",
|
|
75
|
+
"finalStop.background_tasks"
|
|
76
|
+
],
|
|
77
|
+
"equals": {
|
|
78
|
+
"firstStop.hook_event_name": "Stop",
|
|
79
|
+
"firstStop.stop_hook_active": false,
|
|
80
|
+
"firstStop.background_tasks.0.type": "subagent",
|
|
81
|
+
"firstStop.background_tasks.0.status": "running",
|
|
82
|
+
"subagentStop.hook_event_name": "SubagentStop",
|
|
83
|
+
"subagentStop.session_id": "07b92dcb-df48-43c7-a0b9-cfa4ae04952c",
|
|
84
|
+
"subagentStop.agent_id": "a80c7982385fd680b",
|
|
85
|
+
"taskNotificationPrompt.session_id": "07b92dcb-df48-43c7-a0b9-cfa4ae04952c",
|
|
86
|
+
"finalStop.hook_event_name": "Stop",
|
|
87
|
+
"result.origin.kind": "task-notification",
|
|
88
|
+
"result.num_turns": 2,
|
|
89
|
+
"mcpToolStopInputs.0.hook_event_name": "Stop",
|
|
90
|
+
"mcpToolStopInputs.0.background_tasks": "[{\"id\":\"a637d505a0e4fac48\",\"type\":\"subagent\",\"status\":\"running\",\"description\":\"Run sleep and echo command\",\"agent_type\":\"fork\"}]",
|
|
91
|
+
"mcpToolStopInputs.1.hook_event_name": "SubagentStop",
|
|
92
|
+
"mcpToolStopInputs.2.background_tasks": "[]"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
@@ -1,26 +1,148 @@
|
|
|
1
1
|
{
|
|
2
2
|
"fixtureVersion": 1,
|
|
3
3
|
"kind": "script-io",
|
|
4
|
-
"description": "Mandatory negative test
|
|
5
|
-
"script": "connectors/core/scripts/
|
|
4
|
+
"description": "Mandatory negative test. In a Claude session with no Overlord binding, the plugin hooks server (the rendered shim in --hooks mode, which every hook calls) lists no tools and answers every hook tool with `{}` without spawning the CLI or writing a file.",
|
|
5
|
+
"script": "connectors/core/scripts/overlord-mcp.mjs",
|
|
6
6
|
"adapterKey": "claude",
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
"args": ["--hooks"],
|
|
8
|
+
"stdinMessages": [
|
|
9
|
+
{
|
|
10
|
+
"jsonrpc": "2.0",
|
|
11
|
+
"id": 1,
|
|
12
|
+
"method": "tools/list"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"jsonrpc": "2.0",
|
|
16
|
+
"id": 2,
|
|
17
|
+
"method": "tools/call",
|
|
18
|
+
"params": {
|
|
19
|
+
"name": "overlord_hook_user_prompt_submit",
|
|
20
|
+
"arguments": {
|
|
21
|
+
"hook_event_name": "UserPromptSubmit",
|
|
22
|
+
"session_id": "11111111-2222-3333-4444-555555555555",
|
|
23
|
+
"cwd": "/private/unrelated-project",
|
|
24
|
+
"prompt": "hello"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"jsonrpc": "2.0",
|
|
30
|
+
"id": 3,
|
|
31
|
+
"method": "tools/call",
|
|
32
|
+
"params": {
|
|
33
|
+
"name": "overlord_hook_post_tool_use",
|
|
34
|
+
"arguments": {
|
|
35
|
+
"hook_event_name": "PostToolUse",
|
|
36
|
+
"session_id": "11111111-2222-3333-4444-555555555555",
|
|
37
|
+
"cwd": "/private/unrelated-project",
|
|
38
|
+
"tool_name": "Write",
|
|
39
|
+
"tool_use_id": "toolu_1",
|
|
40
|
+
"tool_input": "{\"file_path\": \"/private/unrelated-project/notes.md\"}"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"jsonrpc": "2.0",
|
|
46
|
+
"id": 4,
|
|
47
|
+
"method": "tools/call",
|
|
48
|
+
"params": {
|
|
49
|
+
"name": "overlord_hook_stop",
|
|
50
|
+
"arguments": {
|
|
51
|
+
"hook_event_name": "Stop",
|
|
52
|
+
"session_id": "11111111-2222-3333-4444-555555555555",
|
|
53
|
+
"cwd": "/private/unrelated-project",
|
|
54
|
+
"stop_hook_active": "false"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"jsonrpc": "2.0",
|
|
60
|
+
"id": 5,
|
|
61
|
+
"method": "tools/call",
|
|
62
|
+
"params": {
|
|
63
|
+
"name": "overlord_hook_permission_request",
|
|
64
|
+
"arguments": {
|
|
65
|
+
"hook_event_name": "PermissionRequest",
|
|
66
|
+
"session_id": "11111111-2222-3333-4444-555555555555",
|
|
67
|
+
"cwd": "/private/unrelated-project",
|
|
68
|
+
"permission_mode": "default",
|
|
69
|
+
"tool_name": "Bash",
|
|
70
|
+
"tool_input": "{\"command\": \"ls\"}",
|
|
71
|
+
"hookTimeoutSeconds": 300
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
],
|
|
14
76
|
"env": {
|
|
15
77
|
"MISSION_ID": null,
|
|
16
|
-
"
|
|
78
|
+
"OVERLORD_MISSION_ID": null,
|
|
79
|
+
"OVERLORD_OBJECTIVE_ID": null,
|
|
17
80
|
"OVERLORD_SESSION_CHANNEL_ID": null,
|
|
18
|
-
"OVERLORD_SESSION_CHANNEL_TOKEN": null
|
|
81
|
+
"OVERLORD_SESSION_CHANNEL_TOKEN": null,
|
|
82
|
+
"SESSION_KEY": null,
|
|
83
|
+
"OVLD_HOME": null,
|
|
84
|
+
"CLAUDE_CODE_SESSION_ID": null
|
|
19
85
|
},
|
|
20
86
|
"expect": {
|
|
21
87
|
"exitCode": 0,
|
|
22
|
-
"stdout": "",
|
|
23
88
|
"stderr": "",
|
|
89
|
+
"responses": [
|
|
90
|
+
{
|
|
91
|
+
"jsonrpc": "2.0",
|
|
92
|
+
"id": 1,
|
|
93
|
+
"result": {
|
|
94
|
+
"tools": []
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"jsonrpc": "2.0",
|
|
99
|
+
"id": 2,
|
|
100
|
+
"result": {
|
|
101
|
+
"content": [
|
|
102
|
+
{
|
|
103
|
+
"type": "text",
|
|
104
|
+
"text": "{}"
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"jsonrpc": "2.0",
|
|
111
|
+
"id": 3,
|
|
112
|
+
"result": {
|
|
113
|
+
"content": [
|
|
114
|
+
{
|
|
115
|
+
"type": "text",
|
|
116
|
+
"text": "{}"
|
|
117
|
+
}
|
|
118
|
+
]
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"jsonrpc": "2.0",
|
|
123
|
+
"id": 4,
|
|
124
|
+
"result": {
|
|
125
|
+
"content": [
|
|
126
|
+
{
|
|
127
|
+
"type": "text",
|
|
128
|
+
"text": "{}"
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"jsonrpc": "2.0",
|
|
135
|
+
"id": 5,
|
|
136
|
+
"result": {
|
|
137
|
+
"content": [
|
|
138
|
+
{
|
|
139
|
+
"type": "text",
|
|
140
|
+
"text": "{}"
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
],
|
|
24
146
|
"cliInvocations": [],
|
|
25
147
|
"sandboxWrites": []
|
|
26
148
|
}
|