@maudecode/talaria-web-contracts 1.19.0 → 1.20.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/context-detail.d.ts +75 -0
- package/dist/context-detail.js +18 -0
- package/dist/context-detail.js.map +1 -0
- package/dist/gateway-session.d.ts +253 -7
- package/dist/gateway-session.js +63 -3
- package/dist/gateway-session.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/router.d.ts +1398 -191
- package/dist/routes/automation.d.ts +9 -7
- package/dist/routes/automation.js +1 -1
- package/dist/routes/automation.js.map +1 -1
- package/dist/routes/chat.d.ts +303 -40
- package/dist/routes/chat.js +4 -3
- package/dist/routes/chat.js.map +1 -1
- package/dist/routes/core.d.ts +4 -4
- package/dist/routes/git.d.ts +9 -0
- package/dist/routes/git.js +6 -1
- package/dist/routes/git.js.map +1 -1
- package/dist/routes/raw.js +9 -5
- package/dist/routes/raw.js.map +1 -1
- package/dist/routes/sessions.d.ts +921 -124
- package/dist/routes/sessions.js +6 -0
- package/dist/routes/sessions.js.map +1 -1
- package/dist/routes/settings.d.ts +29 -13
- package/dist/routes/settings.js +3 -2
- package/dist/routes/settings.js.map +1 -1
- package/dist/routes/tools.d.ts +314 -30
- package/dist/routes/tools.js +14 -4
- package/dist/routes/tools.js.map +1 -1
- package/dist/routes/workspaces.d.ts +4 -4
- package/dist/sidecar/methods.d.ts +816 -19
- package/dist/sidecar/methods.js +2 -2
- package/dist/sidecar/methods.js.map +1 -1
- package/dist/sidecar/namespaces.d.ts +959 -28
- package/dist/sidecar/namespaces.js +101 -14
- package/dist/sidecar/namespaces.js.map +1 -1
- package/dist/sidecar/rpc.d.ts +1 -0
- package/dist/sidecar/rpc.js +2 -0
- package/dist/sidecar/rpc.js.map +1 -1
- package/dist/sidecar/runtime.d.ts +13 -0
- package/dist/sidecar/runtime.js +9 -0
- package/dist/sidecar/runtime.js.map +1 -1
- package/dist/sidecar/version.d.ts +1 -1
- package/dist/sidecar/version.js +1 -1
- package/dist/sse.d.ts +83 -12
- package/dist/sse.js +8 -2
- package/dist/sse.js.map +1 -1
- package/dist/views.d.ts +584 -103
- package/dist/views.js +54 -11
- package/dist/views.js.map +1 -1
- package/fixtures/sidecar/aux.json +8 -0
- package/fixtures/sidecar/chat.json +14 -0
- package/fixtures/sidecar/checkpoints.json +7 -2
- package/fixtures/sidecar/context-detail.json +77 -0
- package/fixtures/sidecar/cron.json +3 -1
- package/fixtures/sidecar/dashboard_plugins.json +59 -0
- package/fixtures/sidecar/gateway.json +163 -0
- package/fixtures/sidecar/plugin-catalog.json +4 -0
- package/fixtures/sidecar/plugins.json +56 -1
- package/fixtures/sidecar/process.json +32 -0
- package/fixtures/sidecar/rpc.json +4 -0
- package/fixtures/sidecar/runtime.json +3 -3
- package/fixtures/sidecar/state_db.json +10 -0
- package/package.json +1 -1
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"plugins.dashboard_list": [
|
|
3
|
+
{
|
|
4
|
+
"params": {
|
|
5
|
+
"profile_home": "/tmp/hermes"
|
|
6
|
+
},
|
|
7
|
+
"result": {
|
|
8
|
+
"supported": true,
|
|
9
|
+
"plugins": []
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"plugins.dashboard_toggle": [
|
|
14
|
+
{
|
|
15
|
+
"params": {
|
|
16
|
+
"profile_home": "/tmp/hermes",
|
|
17
|
+
"name": "board",
|
|
18
|
+
"enabled": true
|
|
19
|
+
},
|
|
20
|
+
"result": {
|
|
21
|
+
"ok": true
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"plugins.dashboard_asset": [
|
|
26
|
+
{
|
|
27
|
+
"params": {
|
|
28
|
+
"profile_home": "/tmp/hermes",
|
|
29
|
+
"name": "board",
|
|
30
|
+
"path": "dist/index.html"
|
|
31
|
+
},
|
|
32
|
+
"result": {
|
|
33
|
+
"status": 404,
|
|
34
|
+
"body": "",
|
|
35
|
+
"content_type": "application/octet-stream"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"plugins.dashboard_request": [
|
|
40
|
+
{
|
|
41
|
+
"params": {
|
|
42
|
+
"profile_home": "/tmp/hermes",
|
|
43
|
+
"name": "board",
|
|
44
|
+
"path": "/",
|
|
45
|
+
"method": "GET",
|
|
46
|
+
"query": "",
|
|
47
|
+
"headers": {},
|
|
48
|
+
"body": "",
|
|
49
|
+
"authenticated": true,
|
|
50
|
+
"websocket": false
|
|
51
|
+
},
|
|
52
|
+
"result": {
|
|
53
|
+
"status": 404,
|
|
54
|
+
"body": "",
|
|
55
|
+
"content_type": "application/octet-stream"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
}
|
|
@@ -34,6 +34,169 @@
|
|
|
34
34
|
"snapshot": null,
|
|
35
35
|
"receipt": null
|
|
36
36
|
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"params": {
|
|
40
|
+
"profile_home": "<home>",
|
|
41
|
+
"session_id": "native-model",
|
|
42
|
+
"action": "mutate",
|
|
43
|
+
"request_id": "pick",
|
|
44
|
+
"expected_revision": 2,
|
|
45
|
+
"execution_generation": 1,
|
|
46
|
+
"operation": "model",
|
|
47
|
+
"payload": {
|
|
48
|
+
"model": "picked"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"result": {
|
|
52
|
+
"state": "attached",
|
|
53
|
+
"reason": null,
|
|
54
|
+
"snapshot": {
|
|
55
|
+
"session_id": "native-model",
|
|
56
|
+
"stored_session_id": "native-model",
|
|
57
|
+
"messages": [],
|
|
58
|
+
"message_count": 0,
|
|
59
|
+
"running": false,
|
|
60
|
+
"authority_epoch": 1,
|
|
61
|
+
"replay_epoch": "synthetic-epoch",
|
|
62
|
+
"last_sequence": 4,
|
|
63
|
+
"subscription_id": "viewer",
|
|
64
|
+
"revision": 2,
|
|
65
|
+
"execution_generation": 1,
|
|
66
|
+
"pending": [],
|
|
67
|
+
"prompts": [],
|
|
68
|
+
"info": {
|
|
69
|
+
"model": "old-model"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"receipt": {
|
|
73
|
+
"operation": "model",
|
|
74
|
+
"model": "picked",
|
|
75
|
+
"revision": 3,
|
|
76
|
+
"execution_generation": 1
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"params": {
|
|
82
|
+
"profile_home": "<home>",
|
|
83
|
+
"session_id": "native-model",
|
|
84
|
+
"action": "mutate",
|
|
85
|
+
"request_id": "pick",
|
|
86
|
+
"expected_revision": 2,
|
|
87
|
+
"execution_generation": 1,
|
|
88
|
+
"operation": "model",
|
|
89
|
+
"payload": {
|
|
90
|
+
"model": "picked"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"result": {
|
|
94
|
+
"state": "attached",
|
|
95
|
+
"reason": null,
|
|
96
|
+
"snapshot": {
|
|
97
|
+
"session_id": "native-model",
|
|
98
|
+
"stored_session_id": "native-model",
|
|
99
|
+
"messages": [],
|
|
100
|
+
"message_count": 0,
|
|
101
|
+
"running": false,
|
|
102
|
+
"authority_epoch": 1,
|
|
103
|
+
"replay_epoch": "synthetic-epoch",
|
|
104
|
+
"last_sequence": 4,
|
|
105
|
+
"subscription_id": "viewer",
|
|
106
|
+
"revision": 2,
|
|
107
|
+
"execution_generation": 1,
|
|
108
|
+
"pending": [],
|
|
109
|
+
"prompts": [],
|
|
110
|
+
"info": {
|
|
111
|
+
"model": "old-model"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"receipt": {
|
|
115
|
+
"operation": "model",
|
|
116
|
+
"status": "deferred",
|
|
117
|
+
"model": "picked",
|
|
118
|
+
"revision": 2,
|
|
119
|
+
"execution_generation": 1
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"params": {
|
|
125
|
+
"profile_home": "<home>",
|
|
126
|
+
"session_id": "native-model",
|
|
127
|
+
"action": "mutate",
|
|
128
|
+
"request_id": "pick",
|
|
129
|
+
"expected_revision": 2,
|
|
130
|
+
"execution_generation": 1,
|
|
131
|
+
"operation": "model",
|
|
132
|
+
"payload": {
|
|
133
|
+
"model": "picked"
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"result": {
|
|
137
|
+
"state": "attached",
|
|
138
|
+
"reason": null,
|
|
139
|
+
"snapshot": {
|
|
140
|
+
"session_id": "native-model",
|
|
141
|
+
"stored_session_id": "native-model",
|
|
142
|
+
"messages": [],
|
|
143
|
+
"message_count": 0,
|
|
144
|
+
"running": false,
|
|
145
|
+
"authority_epoch": 1,
|
|
146
|
+
"replay_epoch": "synthetic-epoch",
|
|
147
|
+
"last_sequence": 4,
|
|
148
|
+
"subscription_id": "viewer",
|
|
149
|
+
"revision": 2,
|
|
150
|
+
"execution_generation": 1,
|
|
151
|
+
"pending": [],
|
|
152
|
+
"prompts": [],
|
|
153
|
+
"info": {
|
|
154
|
+
"model": "old-model"
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"receipt": {
|
|
158
|
+
"operation": "model",
|
|
159
|
+
"status": "confirmation_required",
|
|
160
|
+
"confirm": "synthetic-token",
|
|
161
|
+
"confirm_message": "Guard warning",
|
|
162
|
+
"target_model": "picked",
|
|
163
|
+
"target_provider": "custom"
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"params": {
|
|
169
|
+
"profile_home": "<home>",
|
|
170
|
+
"session_id": "native-export",
|
|
171
|
+
"action": "export",
|
|
172
|
+
"format": "markdown",
|
|
173
|
+
"redact": true
|
|
174
|
+
},
|
|
175
|
+
"result": {
|
|
176
|
+
"state": "attached",
|
|
177
|
+
"reason": null,
|
|
178
|
+
"snapshot": null,
|
|
179
|
+
"receipt": null,
|
|
180
|
+
"export": {
|
|
181
|
+
"format": "markdown",
|
|
182
|
+
"filename": "hermes_session_native-export.md",
|
|
183
|
+
"content": "# Native export\n\nCurrent owner transcript\n"
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
],
|
|
188
|
+
"gateway.create": [
|
|
189
|
+
{
|
|
190
|
+
"params": {
|
|
191
|
+
"profile_home": "<home>",
|
|
192
|
+
"probe": true
|
|
193
|
+
},
|
|
194
|
+
"result": {
|
|
195
|
+
"state": "incompatible",
|
|
196
|
+
"reason": "native_sessions_unavailable",
|
|
197
|
+
"snapshot": null,
|
|
198
|
+
"receipt": null
|
|
199
|
+
}
|
|
37
200
|
}
|
|
38
201
|
]
|
|
39
202
|
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
{
|
|
2
|
+
"plugins.catalog": [{"params":{"profile_home":"<home>","query":"","offset":0,"limit":20},"result":{"supported":true,"entries":[{"name":"catalog-probe","title":"Catalog probe","description":"Synthetic pinned plugin","repo":"https://example.invalid/plugins/catalog-probe","sha":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","tier":"official","category":"tools","requirements":[],"installed_key":null,"installed_sha":null,"can_install":true,"refusal":null}],"total":1,"next_offset":null}}],
|
|
3
|
+
"plugins.install": [{"params":{"profile_home":"<home>","name":"catalog-probe"},"result":{"name":"catalog-probe","status":"needs_consent","findings":"Installs disabled. No dependency or capability permission is granted.","consent_token":"synthetic-preview"}}]
|
|
4
|
+
}
|
|
@@ -748,8 +748,63 @@
|
|
|
748
748
|
"env": "FAKE_SETTINGS_API_KEY",
|
|
749
749
|
"has_value": false
|
|
750
750
|
}
|
|
751
|
-
]
|
|
751
|
+
],
|
|
752
|
+
"runtime_application": "applied"
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
],
|
|
756
|
+
"plugins.oauth_status": [
|
|
757
|
+
{
|
|
758
|
+
"params": {
|
|
759
|
+
"profile_home": "<home>"
|
|
760
|
+
},
|
|
761
|
+
"result": {
|
|
762
|
+
"supported": false,
|
|
763
|
+
"plugins": []
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
],
|
|
767
|
+
"plugins.update": [
|
|
768
|
+
{
|
|
769
|
+
"params": {
|
|
770
|
+
"profile_home": "<home>",
|
|
771
|
+
"key": "update-probe",
|
|
772
|
+
"accept_caution": false
|
|
773
|
+
},
|
|
774
|
+
"result": {
|
|
775
|
+
"key": "update-probe",
|
|
776
|
+
"status": "needs_consent",
|
|
777
|
+
"verdict": "caution",
|
|
778
|
+
"findings": "Review this revision",
|
|
779
|
+
"consent_token": "synthetic-consent"
|
|
780
|
+
}
|
|
781
|
+
},
|
|
782
|
+
{
|
|
783
|
+
"params": {
|
|
784
|
+
"profile_home": "<home>",
|
|
785
|
+
"key": "update-probe",
|
|
786
|
+
"accept_caution": true,
|
|
787
|
+
"consent_token": "synthetic-consent"
|
|
788
|
+
},
|
|
789
|
+
"result": {
|
|
790
|
+
"key": "update-probe",
|
|
791
|
+
"status": "updated"
|
|
792
|
+
}
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
"params": {
|
|
796
|
+
"profile_home": "<home>",
|
|
797
|
+
"key": "update-probe",
|
|
798
|
+
"accept_caution": true,
|
|
799
|
+
"consent_token": "synthetic-consent"
|
|
800
|
+
},
|
|
801
|
+
"result": {
|
|
802
|
+
"key": "update-probe",
|
|
803
|
+
"status": "blocked",
|
|
804
|
+
"verdict": "dangerous",
|
|
805
|
+
"findings": "Dangerous revision"
|
|
752
806
|
}
|
|
753
807
|
}
|
|
808
|
+
|
|
754
809
|
]
|
|
755
810
|
}
|
|
@@ -197,5 +197,37 @@
|
|
|
197
197
|
"text": ""
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
|
+
],
|
|
201
|
+
"process.stop": [
|
|
202
|
+
{
|
|
203
|
+
"params": {
|
|
204
|
+
"profile_home": "<home>",
|
|
205
|
+
"session_id": "web-1",
|
|
206
|
+
"process_id": "proc_1"
|
|
207
|
+
},
|
|
208
|
+
"result": {
|
|
209
|
+
"outcome": "stopped"
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"params": {
|
|
214
|
+
"profile_home": "<home>",
|
|
215
|
+
"session_id": "web-1",
|
|
216
|
+
"process_id": "proc_1"
|
|
217
|
+
},
|
|
218
|
+
"result": {
|
|
219
|
+
"outcome": "not_running"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"params": {
|
|
224
|
+
"profile_home": "<home>",
|
|
225
|
+
"session_id": "web-1",
|
|
226
|
+
"process_id": "proc_1"
|
|
227
|
+
},
|
|
228
|
+
"result": {
|
|
229
|
+
"outcome": "not_found"
|
|
230
|
+
}
|
|
231
|
+
}
|
|
200
232
|
]
|
|
201
233
|
}
|
|
@@ -98,9 +98,12 @@
|
|
|
98
98
|
"oauth.cancel",
|
|
99
99
|
"oauth.poll",
|
|
100
100
|
"oauth.start",
|
|
101
|
+
"oauth.submit_redirect",
|
|
101
102
|
"personalities.list",
|
|
102
103
|
"plugins.isolation",
|
|
103
104
|
"plugins.list",
|
|
105
|
+
"plugins.oauth_logout",
|
|
106
|
+
"plugins.oauth_status",
|
|
104
107
|
"plugins.providers",
|
|
105
108
|
"plugins.settings",
|
|
106
109
|
"plugins.settings_save",
|
|
@@ -160,6 +163,7 @@
|
|
|
160
163
|
"usage.pool",
|
|
161
164
|
"usage.pool_providers",
|
|
162
165
|
"worktree.create",
|
|
166
|
+
"worktree.retain",
|
|
163
167
|
"write_approval.approve",
|
|
164
168
|
"write_approval.pending",
|
|
165
169
|
"write_approval.reject"
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"runtime.handshake": [
|
|
3
3
|
{
|
|
4
4
|
"params": {
|
|
5
|
-
"rpc_version":
|
|
5
|
+
"rpc_version": 53
|
|
6
6
|
},
|
|
7
7
|
"result": {
|
|
8
|
-
"rpc_version":
|
|
8
|
+
"rpc_version": 53,
|
|
9
9
|
"python": "<python>",
|
|
10
10
|
"python_version": "3.14.7",
|
|
11
11
|
"agent_dir": "<agent>",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
{
|
|
26
26
|
"params": {},
|
|
27
27
|
"result": {
|
|
28
|
-
"rpc_version":
|
|
28
|
+
"rpc_version": 53,
|
|
29
29
|
"python": "<python>",
|
|
30
30
|
"python_version": "3.14.7",
|
|
31
31
|
"agent_dir": "<agent>",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maudecode/talaria-web-contracts",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.20.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Talaria Web contract package: oRPC route contract, Zod schemas, SSE event unions, sidecar RPC schema, and the OpenAPI generator.",
|
|
6
6
|
"exports": {
|