@maudecode/talaria-web-contracts 1.18.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.
Files changed (95) hide show
  1. package/dist/context-detail.d.ts +75 -0
  2. package/dist/context-detail.js +18 -0
  3. package/dist/context-detail.js.map +1 -0
  4. package/dist/gateway-session.d.ts +475 -0
  5. package/dist/gateway-session.js +106 -0
  6. package/dist/gateway-session.js.map +1 -0
  7. package/dist/index.d.ts +4 -0
  8. package/dist/index.js +4 -0
  9. package/dist/index.js.map +1 -1
  10. package/dist/openapi.js +4 -0
  11. package/dist/openapi.js.map +1 -1
  12. package/dist/router.d.ts +5503 -251
  13. package/dist/routes/automation.d.ts +100 -18
  14. package/dist/routes/automation.js +7 -4
  15. package/dist/routes/automation.js.map +1 -1
  16. package/dist/routes/chat.d.ts +1605 -47
  17. package/dist/routes/chat.js +7 -2
  18. package/dist/routes/chat.js.map +1 -1
  19. package/dist/routes/core.d.ts +15 -4
  20. package/dist/routes/core.js +2 -2
  21. package/dist/routes/core.js.map +1 -1
  22. package/dist/routes/git.d.ts +9 -0
  23. package/dist/routes/git.js +6 -1
  24. package/dist/routes/git.js.map +1 -1
  25. package/dist/routes/raw.js +10 -6
  26. package/dist/routes/raw.js.map +1 -1
  27. package/dist/routes/sessions.d.ts +3189 -181
  28. package/dist/routes/sessions.js +24 -7
  29. package/dist/routes/sessions.js.map +1 -1
  30. package/dist/routes/settings.d.ts +445 -11
  31. package/dist/routes/settings.js +5 -4
  32. package/dist/routes/settings.js.map +1 -1
  33. package/dist/routes/tools.d.ts +945 -34
  34. package/dist/routes/tools.js +75 -8
  35. package/dist/routes/tools.js.map +1 -1
  36. package/dist/routes/workspaces.d.ts +4 -4
  37. package/dist/run-status.d.ts +39 -0
  38. package/dist/run-status.js +13 -0
  39. package/dist/run-status.js.map +1 -0
  40. package/dist/sidecar/methods.d.ts +1906 -52
  41. package/dist/sidecar/methods.js +9 -2
  42. package/dist/sidecar/methods.js.map +1 -1
  43. package/dist/sidecar/namespaces.d.ts +2421 -54
  44. package/dist/sidecar/namespaces.js +390 -36
  45. package/dist/sidecar/namespaces.js.map +1 -1
  46. package/dist/sidecar/rpc.d.ts +1 -0
  47. package/dist/sidecar/rpc.js +2 -0
  48. package/dist/sidecar/rpc.js.map +1 -1
  49. package/dist/sidecar/runtime.d.ts +74 -0
  50. package/dist/sidecar/runtime.js +29 -0
  51. package/dist/sidecar/runtime.js.map +1 -1
  52. package/dist/sidecar/version.d.ts +1 -1
  53. package/dist/sidecar/version.js +1 -1
  54. package/dist/speed.d.ts +14 -0
  55. package/dist/speed.js +6 -0
  56. package/dist/speed.js.map +1 -0
  57. package/dist/sse.d.ts +868 -5
  58. package/dist/sse.js +30 -7
  59. package/dist/sse.js.map +1 -1
  60. package/dist/transcribe-stream.d.ts +34 -0
  61. package/dist/transcribe-stream.js +23 -0
  62. package/dist/transcribe-stream.js.map +1 -0
  63. package/dist/views.d.ts +2627 -176
  64. package/dist/views.js +321 -52
  65. package/dist/views.js.map +1 -1
  66. package/fixtures/sidecar/aux.json +142 -0
  67. package/fixtures/sidecar/chat.json +28 -0
  68. package/fixtures/sidecar/checkpoints.json +12 -7
  69. package/fixtures/sidecar/commands.json +216 -108
  70. package/fixtures/sidecar/config.json +15 -0
  71. package/fixtures/sidecar/connectors.json +218 -0
  72. package/fixtures/sidecar/context-detail.json +77 -0
  73. package/fixtures/sidecar/cron.json +1004 -32
  74. package/fixtures/sidecar/dashboard_plugins.json +59 -0
  75. package/fixtures/sidecar/gateway.json +202 -0
  76. package/fixtures/sidecar/goals.json +5 -3
  77. package/fixtures/sidecar/kanban.json +139 -49
  78. package/fixtures/sidecar/memory.json +50 -0
  79. package/fixtures/sidecar/models.json +122 -0
  80. package/fixtures/sidecar/personalities.json +92 -0
  81. package/fixtures/sidecar/plugin-catalog.json +4 -0
  82. package/fixtures/sidecar/plugins.json +171 -27
  83. package/fixtures/sidecar/process.json +63 -0
  84. package/fixtures/sidecar/profiles.json +2 -0
  85. package/fixtures/sidecar/providers.json +14 -1
  86. package/fixtures/sidecar/rpc.json +39 -1
  87. package/fixtures/sidecar/runtime.json +130 -14
  88. package/fixtures/sidecar/skills.json +256 -13
  89. package/fixtures/sidecar/state_db.json +29 -2
  90. package/fixtures/sidecar/stt.json +62 -1
  91. package/fixtures/sidecar/text.json +20 -2
  92. package/fixtures/sidecar/toolsets.json +468 -0
  93. package/fixtures/sidecar/usage.json +22 -2
  94. package/fixtures/sidecar/write_approval.json +98 -0
  95. 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
+ }
@@ -0,0 +1,202 @@
1
+ {
2
+ "gateway.mode": [
3
+ {
4
+ "params": {
5
+ "profile_home": "<home>",
6
+ "name": "default",
7
+ "is_default": true
8
+ },
9
+ "result": {
10
+ "gateway_mode": "stopped"
11
+ }
12
+ },
13
+ {
14
+ "params": {
15
+ "profile_home": "<profile>",
16
+ "name": "alpha",
17
+ "is_default": false
18
+ },
19
+ "result": {
20
+ "gateway_mode": "stopped"
21
+ }
22
+ }
23
+ ],
24
+ "gateway.session": [
25
+ {
26
+ "params": {
27
+ "profile_home": "<home>",
28
+ "session_id": "not-running",
29
+ "action": "snapshot"
30
+ },
31
+ "result": {
32
+ "state": "incompatible",
33
+ "reason": "native_sessions_unavailable",
34
+ "snapshot": null,
35
+ "receipt": null
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
+ }
200
+ }
201
+ ]
202
+ }
@@ -8,6 +8,7 @@
8
8
  "result": {
9
9
  "goal": null,
10
10
  "active": false,
11
+ "parked": null,
11
12
  "message": "No active goal. Set one with /goal <text>.",
12
13
  "message_key": "goal_status_none"
13
14
  }
@@ -23,7 +24,7 @@
23
24
  "result": {
24
25
  "ok": true,
25
26
  "action": "set",
26
- "message": "⊙ Goal set (20-turn budget): ship the sidecar\nI'll keep working until the goal is done, you pause/clear it, or the budget is exhausted.\nControls: /goal status · /goal pause · /goal resume · /goal clear",
27
+ "message": "⊙ Goal set (20-turn budget): ship the sidecar\nAfter each turn, a judge model checks if the goal is done. Hermes keeps working until it is, you pause/clear it, or the budget is exhausted. Use /goal status, /goal show, /goal pause, /goal resume, /goal clear.",
27
28
  "goal": {
28
29
  "goal": "ship the sidecar",
29
30
  "status": "active",
@@ -75,7 +76,7 @@
75
76
  "result": {
76
77
  "ok": true,
77
78
  "action": "resume",
78
- "message": "▶ Goal resumed: ship the sidecar\nSend a new message, or type continue, to kick it off.",
79
+ "message": "▶ Goal resumed: ship the sidecar",
79
80
  "goal": {
80
81
  "goal": "ship the sidecar",
81
82
  "status": "active",
@@ -85,6 +86,7 @@
85
86
  "last_reason": "goal_judge auxiliary client unavailable: No LLM provider configured for task=goal_judge provider=auto. Run: hermes setup",
86
87
  "paused_reason": null
87
88
  },
89
+ "kickoff_prompt": "[Continuing toward your standing goal]\nGoal: ship the sidecar\n\nContinue working toward this goal. Take the next concrete step. If you believe the goal is complete, state so explicitly and stop. If you are blocked and need input from the user, say so clearly and stop.",
88
90
  "message_key": "goal_resumed",
89
91
  "message_args": [
90
92
  "ship the sidecar"
@@ -122,7 +124,7 @@
122
124
  "last_reason": null,
123
125
  "paused_reason": null
124
126
  },
125
- "snapshot": "{\"goal\": \"ship the sidecar\", \"status\": \"active\", \"turns_used\": 0, \"max_turns\": 20, \"created_at\": 1791736145.897059, \"last_turn_at\": 0.0, \"last_verdict\": null, \"last_reason\": null, \"paused_reason\": null, \"consecutive_parse_failures\": 0, \"consecutive_transport_failures\": 0, \"subgoals\": [], \"waiting_on_pid\": null, \"waiting_on_session\": null, \"waiting_until\": 0.0, \"waiting_on_delegations\": 0, \"waiting_reason\": null, \"waiting_since\": 0.0, \"contract\": {\"outcome\": \"\", \"verification\": \"\", \"constraints\": \"\", \"boundaries\": \"\", \"stop_when\": \"\"}, \"gates\": []}"
127
+ "snapshot": "{\"goal\": \"ship the sidecar\", \"status\": \"active\", \"turns_used\": 0, \"max_turns\": 20, \"created_at\": 1791951630.947169, \"last_turn_at\": 0.0, \"last_verdict\": null, \"last_reason\": null, \"paused_reason\": null, \"consecutive_parse_failures\": 0, \"consecutive_transport_failures\": 0, \"subgoals\": [], \"waiting_on_pid\": null, \"waiting_on_session\": null, \"waiting_until\": 0.0, \"waiting_on_delegations\": 0, \"waiting_reason\": null, \"waiting_since\": 0.0, \"contract\": {\"outcome\": \"\", \"verification\": \"\", \"constraints\": \"\", \"boundaries\": \"\", \"stop_when\": \"\"}, \"gates\": []}"
126
128
  }
127
129
  }
128
130
  ],