@runtypelabs/cli 2.35.1 → 2.35.3
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/CHANGELOG.md +2427 -0
- package/dist/index.js +7772 -4601
- package/package.json +7 -7
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,2427 @@
|
|
|
1
|
+
# @runtypelabs/cli
|
|
2
|
+
|
|
3
|
+
## 2.35.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [95e48e6]
|
|
8
|
+
- @runtypelabs/sdk@9.3.1
|
|
9
|
+
|
|
10
|
+
## 2.35.2
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 6bfcfa0: `runtype agents execute --stream` now follows a durable turn's watch-lease detach: the command routes through the SDK's `agents.executeStream()`, which reopens the run on `awaitReason: 'detached'` and keeps printing events until a real terminal arrives.
|
|
15
|
+
- Updated dependencies [20f2a28]
|
|
16
|
+
- Updated dependencies [6bfcfa0]
|
|
17
|
+
- Updated dependencies [9ac677d]
|
|
18
|
+
- Updated dependencies [9ac677d]
|
|
19
|
+
- Updated dependencies [e1111dc]
|
|
20
|
+
- Updated dependencies [6bfcfa0]
|
|
21
|
+
- @runtypelabs/sdk@9.3.0
|
|
22
|
+
|
|
23
|
+
## 2.35.1
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- Updated dependencies [a370a11]
|
|
28
|
+
- @runtypelabs/sdk@9.2.1
|
|
29
|
+
|
|
30
|
+
## 2.35.0
|
|
31
|
+
|
|
32
|
+
### Minor Changes
|
|
33
|
+
|
|
34
|
+
- dae3030: Add `runtype api-keys request` and `runtype api-keys claim` for agent-initiated
|
|
35
|
+
API key requests: the CLI generates a PKCE verifier/challenge, files the
|
|
36
|
+
request, opens the approval page for a human, polls until they decide, and
|
|
37
|
+
redeems the approval into a canonical `runtype.api-key/v1` key file
|
|
38
|
+
(`~/.runtype/keys/<name>.json`, mode 0600), a Runtype secret reference
|
|
39
|
+
(`--secret`), or stdout (`--inline`). `runtype api-keys create --out` writes the
|
|
40
|
+
same key-file format, so there is one on-disk artifact across the CLI,
|
|
41
|
+
dashboard, and MCP guidance.
|
|
42
|
+
- 235751c: Report exact raw Runtype-funded provider and hosted-tool cost separately from blended execution cost.
|
|
43
|
+
|
|
44
|
+
### Patch Changes
|
|
45
|
+
|
|
46
|
+
- Updated dependencies [d129b45]
|
|
47
|
+
- Updated dependencies [005b795]
|
|
48
|
+
- Updated dependencies [b216c6a]
|
|
49
|
+
- Updated dependencies [235751c]
|
|
50
|
+
- Updated dependencies [edefa3c]
|
|
51
|
+
- Updated dependencies [dd54ba0]
|
|
52
|
+
- Updated dependencies [b2ac8a0]
|
|
53
|
+
- Updated dependencies [dae3030]
|
|
54
|
+
- Updated dependencies [f95b02e]
|
|
55
|
+
- Updated dependencies [f5250b6]
|
|
56
|
+
- Updated dependencies [c5a5baf]
|
|
57
|
+
- Updated dependencies [e305a29]
|
|
58
|
+
- Updated dependencies [2783291]
|
|
59
|
+
- @runtypelabs/sdk@9.2.0
|
|
60
|
+
|
|
61
|
+
## 2.34.1
|
|
62
|
+
|
|
63
|
+
### Patch Changes
|
|
64
|
+
|
|
65
|
+
- Updated dependencies [7aea953]
|
|
66
|
+
- Updated dependencies [9c9eb47]
|
|
67
|
+
- @runtypelabs/sdk@9.1.1
|
|
68
|
+
|
|
69
|
+
## 2.34.0
|
|
70
|
+
|
|
71
|
+
### Minor Changes
|
|
72
|
+
|
|
73
|
+
- ccdc5f6: Expose the first-class record/conversation `ownerId` on every client surface (#3395)
|
|
74
|
+
- **CLI**: `records list`, `records create`, and `records export` take `--owner-id`; `records update` takes `--owner-id` plus `--clear-owner` (an explicit `null`, which clears the stored owner — omitting both leaves it untouched). `conversations list` takes `--owner-id`. `records get`/`update` render the owner, and the CSV export gains an `ownerId` column.
|
|
75
|
+
- **SDK**: `CreateRecordRequest.ownerId` and `CreateConversationRequest.ownerId` / `UpdateConversationRequest.ownerId` accept `string | null`, so `records.update()` and `conversations.update()` can clear an owner.
|
|
76
|
+
- **MCP**: `create_record` / `create_conversation` accept `owner_id`; `update_record` / `update_conversation` accept a nullable `owner_id` where `null` clears the owner.
|
|
77
|
+
- **Code Mode MCP**: the `listRecords` / `createRecord` / `updateRecord` / `listConversations` / `createConversation` / `updateConversation` method docs describe `ownerId` and its null-clears semantics.
|
|
78
|
+
|
|
79
|
+
### Patch Changes
|
|
80
|
+
|
|
81
|
+
- Updated dependencies [b4c1858]
|
|
82
|
+
- Updated dependencies [cf8dd74]
|
|
83
|
+
- Updated dependencies [ccdc5f6]
|
|
84
|
+
- Updated dependencies [ccdc5f6]
|
|
85
|
+
- Updated dependencies [901ee20]
|
|
86
|
+
- Updated dependencies [86212a3]
|
|
87
|
+
- Updated dependencies [840934b]
|
|
88
|
+
- @runtypelabs/sdk@9.1.0
|
|
89
|
+
|
|
90
|
+
## 2.33.16
|
|
91
|
+
|
|
92
|
+
### Patch Changes
|
|
93
|
+
|
|
94
|
+
- 4406dc3: Serve large static reference data from a new `runtype-catalog` worker instead of
|
|
95
|
+
bundling it into every consumer.
|
|
96
|
+
|
|
97
|
+
The rich model catalog (~848 KB) and the rich tier of the built-in tool registry
|
|
98
|
+
(~430 KB: `parametersSchema`, `managedExecution`, `description`,
|
|
99
|
+
`documentationUrl`, `configSchema`) move into `apps/catalog`, reached over the
|
|
100
|
+
new `CATALOG` service binding. The api keeps a lean tool index and merges rich
|
|
101
|
+
fields per lookup, batching through `prefetchBuiltInToolRichData` once per
|
|
102
|
+
execution.
|
|
103
|
+
|
|
104
|
+
Measured: api Worker upload 13,662.65 KiB → 12,889.70 KiB (−772.95 KiB), gzip
|
|
105
|
+
3,387.60 → 3,314.10 KiB, eager-evaluated bytes 6.05 MiB → 5.73 MiB. The
|
|
106
|
+
dashboard's initial client JavaScript drops 75.8 KiB gzip (−14.1%).
|
|
107
|
+
|
|
108
|
+
`@runtypelabs/shared` is a minor because the barrel surface changed:
|
|
109
|
+
`getBuiltInToolById` now returns a `LeanBuiltInToolDefinition`, and
|
|
110
|
+
`ORTHOGONAL_PLATFORM_TOOLS`, `validateToolConfig`, `validateConfigAgainstSchema`,
|
|
111
|
+
`getBuiltInToolsByProvider`, and `getBuiltInToolsByCategory` are no longer
|
|
112
|
+
exported from it. The full definitions live behind the
|
|
113
|
+
`@runtypelabs/shared/builtin-tools-full` subpath.
|
|
114
|
+
|
|
115
|
+
- Updated dependencies [b01026e]
|
|
116
|
+
- Updated dependencies [7a5cf94]
|
|
117
|
+
- @runtypelabs/sdk@9.0.0
|
|
118
|
+
|
|
119
|
+
## 2.33.15
|
|
120
|
+
|
|
121
|
+
### Patch Changes
|
|
122
|
+
|
|
123
|
+
- Updated dependencies [e154387]
|
|
124
|
+
- @runtypelabs/sdk@8.0.3
|
|
125
|
+
|
|
126
|
+
## 2.33.14
|
|
127
|
+
|
|
128
|
+
### Patch Changes
|
|
129
|
+
|
|
130
|
+
- 3b4f69c: Normalize package authorship and copyright metadata.
|
|
131
|
+
|
|
132
|
+
The `author` field reads `Runtype` rather than `Runtype Labs` across every
|
|
133
|
+
workspace package that set it, and the copyright holder in each license file is
|
|
134
|
+
now `Runtype, Inc` — replacing `Travrse Labs, Inc` in the CLI and the four Fern
|
|
135
|
+
SDKs, and the `Runtype Labs` that the new `flue-otel` license was written with.
|
|
136
|
+
|
|
137
|
+
Metadata only: no source, dependency, or behavior change.
|
|
138
|
+
|
|
139
|
+
- Updated dependencies [3b4f69c]
|
|
140
|
+
- @runtypelabs/terminal-animations@0.2.4
|
|
141
|
+
- @runtypelabs/ink-components@0.3.7
|
|
142
|
+
- @runtypelabs/sdk@8.0.2
|
|
143
|
+
|
|
144
|
+
## 2.33.13
|
|
145
|
+
|
|
146
|
+
### Patch Changes
|
|
147
|
+
|
|
148
|
+
- Updated dependencies [047a57b]
|
|
149
|
+
- @runtypelabs/sdk@8.0.1
|
|
150
|
+
|
|
151
|
+
## 2.33.12
|
|
152
|
+
|
|
153
|
+
### Patch Changes
|
|
154
|
+
|
|
155
|
+
- 3c7309f: Bump `@runtypelabs/persona` from 4.17.0 to 4.17.1 across the consuming
|
|
156
|
+
workspaces (dashboard-spa, dotapp, marketing, end-user-usage-lab, assistant,
|
|
157
|
+
cli, shared); assistant's peer range `>=4.9.0` is unchanged. 4.17.1 regenerates
|
|
158
|
+
the Runtype OpenAPI contract types to match the current public API spec (adds
|
|
159
|
+
visitor/identity fields to client init, `conversationId`/`conversationRevision`/
|
|
160
|
+
`visitor`/`app`/`targetId` on the init response, a `requests[]` array and
|
|
161
|
+
`externalAgent` on await events, `stepErrorCount` on execution completion, and
|
|
162
|
+
`displayContent` on chat request messages) and bumps `@mcp-b/webmcp-polyfill`
|
|
163
|
+
to 4.0.0. Also widened the `minimumReleaseAgeExclude` entry so pnpm accepts the
|
|
164
|
+
just-published 4.17.1.
|
|
165
|
+
|
|
166
|
+
## 2.33.11
|
|
167
|
+
|
|
168
|
+
### Patch Changes
|
|
169
|
+
|
|
170
|
+
- Updated dependencies [7d284c9]
|
|
171
|
+
- Updated dependencies [93387f9]
|
|
172
|
+
- Updated dependencies [af59a67]
|
|
173
|
+
- Updated dependencies [c29f1ce]
|
|
174
|
+
- Updated dependencies [8847973]
|
|
175
|
+
- Updated dependencies [4776fa0]
|
|
176
|
+
- Updated dependencies [3ea4dd2]
|
|
177
|
+
- Updated dependencies [59e5efa]
|
|
178
|
+
- Updated dependencies [60e39b1]
|
|
179
|
+
- Updated dependencies [553da9d]
|
|
180
|
+
- Updated dependencies [a2c4ec7]
|
|
181
|
+
- Updated dependencies [6671abd]
|
|
182
|
+
- Updated dependencies [f3aef36]
|
|
183
|
+
- @runtypelabs/sdk@8.0.0
|
|
184
|
+
|
|
185
|
+
## 2.33.10
|
|
186
|
+
|
|
187
|
+
### Patch Changes
|
|
188
|
+
|
|
189
|
+
- Updated dependencies [5df5995]
|
|
190
|
+
- Updated dependencies [1419c72]
|
|
191
|
+
- Updated dependencies [948ceed]
|
|
192
|
+
- Updated dependencies [c56a67e]
|
|
193
|
+
- Updated dependencies [212bd10]
|
|
194
|
+
- Updated dependencies [5ae8a9c]
|
|
195
|
+
- @runtypelabs/sdk@7.3.1
|
|
196
|
+
|
|
197
|
+
## 2.33.9
|
|
198
|
+
|
|
199
|
+
### Patch Changes
|
|
200
|
+
|
|
201
|
+
- 790e4a6: Remove copy-only tests so user-facing text can change without breaking behavior-focused coverage.
|
|
202
|
+
- Updated dependencies [d1ba834]
|
|
203
|
+
- @runtypelabs/sdk@7.3.0
|
|
204
|
+
|
|
205
|
+
## 2.33.8
|
|
206
|
+
|
|
207
|
+
### Patch Changes
|
|
208
|
+
|
|
209
|
+
- Updated dependencies [083846c]
|
|
210
|
+
- @runtypelabs/sdk@7.2.1
|
|
211
|
+
|
|
212
|
+
## 2.33.7
|
|
213
|
+
|
|
214
|
+
### Patch Changes
|
|
215
|
+
|
|
216
|
+
- Updated dependencies [6ae01b5]
|
|
217
|
+
- @runtypelabs/sdk@7.2.0
|
|
218
|
+
|
|
219
|
+
## 2.33.6
|
|
220
|
+
|
|
221
|
+
### Patch Changes
|
|
222
|
+
|
|
223
|
+
- Updated dependencies [8d85ce9]
|
|
224
|
+
- Updated dependencies [cdff95a]
|
|
225
|
+
- Updated dependencies [27d0b95]
|
|
226
|
+
- @runtypelabs/sdk@7.1.0
|
|
227
|
+
|
|
228
|
+
## 2.33.5
|
|
229
|
+
|
|
230
|
+
### Patch Changes
|
|
231
|
+
|
|
232
|
+
- Updated dependencies [a634b53]
|
|
233
|
+
- Updated dependencies [836fc82]
|
|
234
|
+
- Updated dependencies [dda50f3]
|
|
235
|
+
- @runtypelabs/sdk@7.0.0
|
|
236
|
+
|
|
237
|
+
## 2.33.4
|
|
238
|
+
|
|
239
|
+
### Patch Changes
|
|
240
|
+
|
|
241
|
+
- 308c44c: Stop every consumer surface from claiming execution-count caps that no longer exist (remove-execution-caps Slice 3).
|
|
242
|
+
|
|
243
|
+
Slice 2 removed execution-count caps from enforcement. This makes the dashboard, the REST responses, and the docs agree with that: a card-on-file account is never bounded by execution count, and the only remaining bound is the code-owned protective daily ceiling for accounts with no payment method, framed as "add a payment method to remove", never "upgrade your plan".
|
|
244
|
+
- `ExecutionStats` gains `executionCapReason` (`'no_card_ceiling' | null`), the single signal a surface may branch on. The neutral fallbacks (rate-limit block, spend-cap block, DO fail-open, failed display read) no longer report a ceiling-shaped limit.
|
|
245
|
+
- `GET /usage-limits` and `/usage-limits/daily` expose `executionCapReason` and always key the payload under `daily`; `inSlowMode` / `isOverage` / `overageCount` / `periodType` stay on the wire but are documented as inert.
|
|
246
|
+
- `GET /v1/billing/status` gains `usage.executionsToday` (`executionsThisMonth` is a deprecated alias carrying the same daily count); `isApproachingLimits` / `isOverLimits` are documented as always `false`.
|
|
247
|
+
- Dashboard: usage banners render only for a no-card account, the slow-mode modal is deleted (it had no producer), and the dev billing tester models the carded/no-card matrix instead of retired plan pools.
|
|
248
|
+
- CLI: `runtype billing status` and `runtype auth whoami` read `executionsToday` instead of `executionsUsed` / `executionsLimit`, which the API has never returned, so both printed "Executions: 0" against a live API. They now show a plain count (no invented denominator) and say "unavailable" when the usage read failed.
|
|
249
|
+
|
|
250
|
+
- Updated dependencies [f59e62b]
|
|
251
|
+
- Updated dependencies [308c44c]
|
|
252
|
+
- @runtypelabs/sdk@6.6.3
|
|
253
|
+
|
|
254
|
+
## 2.33.3
|
|
255
|
+
|
|
256
|
+
### Patch Changes
|
|
257
|
+
|
|
258
|
+
- 8721b57: Bump `@runtypelabs/persona` from 4.15.0 to 4.17.0 across the consuming workspaces.
|
|
259
|
+
4.17.0 bundles `dompurify@3.4.13`, fixing GHSA-55q2-fjhq-7xh7 (IN_PLACE
|
|
260
|
+
hook-removal XSS) and GHSA-c2j3-45gr-mqc4 (`CUSTOM_ELEMENT_HANDLING` bypass).
|
|
261
|
+
|
|
262
|
+
## 2.33.2
|
|
263
|
+
|
|
264
|
+
### Patch Changes
|
|
265
|
+
|
|
266
|
+
- Updated dependencies [941f500]
|
|
267
|
+
- @runtypelabs/sdk@6.6.2
|
|
268
|
+
|
|
269
|
+
## 2.33.1
|
|
270
|
+
|
|
271
|
+
### Patch Changes
|
|
272
|
+
|
|
273
|
+
- 1238c60: Distinguish an unreachable API from an invalid key during auth. Key validation now
|
|
274
|
+
returns "invalid" only when the API answers 401; any other HTTP status (an egress
|
|
275
|
+
proxy's 403, a 407, an API 5xx) reports the real problem and names the host that
|
|
276
|
+
needs to be reachable, instead of telling users their API key is bad.
|
|
277
|
+
- Updated dependencies [5ad8bac]
|
|
278
|
+
- Updated dependencies [58f5a8a]
|
|
279
|
+
- Updated dependencies [e12b556]
|
|
280
|
+
- Updated dependencies [e23af15]
|
|
281
|
+
- @runtypelabs/sdk@6.6.1
|
|
282
|
+
|
|
283
|
+
## 2.33.0
|
|
284
|
+
|
|
285
|
+
### Minor Changes
|
|
286
|
+
|
|
287
|
+
- bcf78f5: Add typed record collections end to end (Records→Collections plan §5.1/§5.2). The SDK gains an augmentable `RecordCollections` map, a `CollectionMeta<S>` helper, and `client.records.from(slug)` — a typed scope whose `.list/.get/.create/.update` pin the record `type` to the slug and type `metadata` for that collection (`.get`/`.update` guard against cross-collection ids). A new authed `GET /v1/collections/types.d.ts` endpoint hand-emits a `.d.ts` (one interface per schematized collection plus a `declare module '@runtypelabs/sdk'` augmentation, with `// skipped:` markers for rows whose stored schema no longer parses) from the constrained schema dialect. `runtype records typegen [-o <file>]` fetches it (commit and diff-check the output in CI to catch collection-schema drift). The typegen endpoint is fanned out across surfaces: the `get_collection_types` MCP tool (standard + code-mode `getCollectionTypegen`) and the CLI.
|
|
288
|
+
|
|
289
|
+
### Patch Changes
|
|
290
|
+
|
|
291
|
+
- 5a8e7db: Bump react to 19.2.8, react-dom to 19.2.8, and @types/react to 19.2.17 (devDependencies).
|
|
292
|
+
- db37a92: Bump `@runtypelabs/persona` from 4.14.0 to 4.15.0 across the consuming workspaces.
|
|
293
|
+
- b83dfd2: Group dependency bumps: add-mcp 1.14.0 → 2.0.0, ws ^8.21.0 → ^8.21.1, @radix-ui/react-separator 1.1.8 → 1.1.15, eslint-config-next 16.2.9 → 16.2.12, and @cloudflare/workers-types ^5.20260703.1 → ^5.20260804.1 (workspace override + minimum-release-age exclude lifted).
|
|
294
|
+
- Updated dependencies [5a8e7db]
|
|
295
|
+
- Updated dependencies [bcf78f5]
|
|
296
|
+
- @runtypelabs/ink-components@0.3.6
|
|
297
|
+
- @runtypelabs/terminal-animations@0.2.3
|
|
298
|
+
- @runtypelabs/sdk@6.6.0
|
|
299
|
+
|
|
300
|
+
## 2.32.5
|
|
301
|
+
|
|
302
|
+
### Patch Changes
|
|
303
|
+
|
|
304
|
+
- Updated dependencies [22ab25a]
|
|
305
|
+
- @runtypelabs/sdk@6.5.1
|
|
306
|
+
|
|
307
|
+
## 2.32.4
|
|
308
|
+
|
|
309
|
+
### Patch Changes
|
|
310
|
+
|
|
311
|
+
- eab2128: Pin first-party dispatch helpers to the response mode selected by their JSON or streaming transport.
|
|
312
|
+
- Updated dependencies [9dca3bc]
|
|
313
|
+
- Updated dependencies [e76a310]
|
|
314
|
+
- Updated dependencies [eab2128]
|
|
315
|
+
- Updated dependencies [25412dc]
|
|
316
|
+
- Updated dependencies [7ab031f]
|
|
317
|
+
- Updated dependencies [eab2128]
|
|
318
|
+
- @runtypelabs/sdk@6.5.0
|
|
319
|
+
|
|
320
|
+
## 2.32.3
|
|
321
|
+
|
|
322
|
+
### Patch Changes
|
|
323
|
+
|
|
324
|
+
- ad943b9: Align public dispatch request types and clients with the canonical API schema.
|
|
325
|
+
- 7fe10a4: Align portable runtime provider configuration with ModelRouter: honor Together
|
|
326
|
+
dedicated endpoints, the operator Mixlayer Cloudflare Gateway overlay, native
|
|
327
|
+
OpenAI/Anthropic gateway policy, and Bedrock/Vertex region defaults. Provider
|
|
328
|
+
endpoint parsing and defaults now have one shared implementation, and CLI
|
|
329
|
+
deploys no longer require region/location values that execution defaults.
|
|
330
|
+
- 938ec68: Bump `@runtypelabs/persona` from 4.13.0 to 4.14.0 and adopt the new `preferences` config key in the dashboard chat. `PersonaChat` accepts an optional `preferences` prop (a `WidgetPreferenceSlice` of per-instance display overrides applied over `features` through Persona's allowlist, with live updates and explicit-undefined clearing), and the dashboard's artifact features now set a default display ruleset: documents and components render as reference cards, file-backed code artifacts render inline, and previewable HTML/SVG files get the sandboxed iframe preview in inline mode. The playground's chat panel consolidates its two header rows into one bar: Chat / Payload / Events tabs (Events opens the widget's event stream full-pane), a Display menu with artifact, tool call, and reasoning preference groups wired through the new prop (applying live and clearing back to dashboard defaults), and Logs / Clear on the right. PersonaChat gains `header="none"` plus an `onControlsChange` callback so a parent can own the chrome; all other call sites keep the built-in header. The Display menu is a shared component (`chat-display-menu.tsx`) now present across every test chat: PersonaChat's default header (agent test sheet, flow run sheet), the surface test chat, and the Claude Managed capability chat, with the latter two also picking up the dashboard's default artifact display rules.
|
|
331
|
+
- a62d543: Preserve request-scoped local model routing inside nested flow tools and keep
|
|
332
|
+
defaulted Bedrock and Vertex region overrides visible as optional deployment
|
|
333
|
+
settings without requiring them as credentials.
|
|
334
|
+
- Updated dependencies [c576866]
|
|
335
|
+
- Updated dependencies [ad943b9]
|
|
336
|
+
- Updated dependencies [15f3980]
|
|
337
|
+
- Updated dependencies [41a2650]
|
|
338
|
+
- Updated dependencies [050c834]
|
|
339
|
+
- Updated dependencies [17382d8]
|
|
340
|
+
- Updated dependencies [17382d8]
|
|
341
|
+
- Updated dependencies [9e19bc0]
|
|
342
|
+
- @runtypelabs/sdk@6.4.0
|
|
343
|
+
|
|
344
|
+
## 2.32.2
|
|
345
|
+
|
|
346
|
+
### Patch Changes
|
|
347
|
+
|
|
348
|
+
- Updated dependencies [19e0d21]
|
|
349
|
+
- @runtypelabs/sdk@6.3.6
|
|
350
|
+
|
|
351
|
+
## 2.32.1
|
|
352
|
+
|
|
353
|
+
### Patch Changes
|
|
354
|
+
|
|
355
|
+
- a548a79: Bump `@runtypelabs/persona` from 4.12.0 to 4.13.0 across the consuming workspaces.
|
|
356
|
+
- d3bb1ed: Apply security overrides for dev/build tooling (batch 1), resolving 29 Dependabot
|
|
357
|
+
alerts. Adds bounded `overrides` entries for `@tootallnate/once`, `ajv`,
|
|
358
|
+
`minimatch`, `path-to-regexp`, `smol-toml`, `rollup`, `@babel/core`, `js-yaml`,
|
|
359
|
+
`brace-expansion`, `undici` (<6 only) and `sharp`, and bumps the
|
|
360
|
+
`vercel-functions-hello` example's `vercel` devDependency 44 -> 58 so
|
|
361
|
+
`@vercel/fun` stops pinning `tar@6.2.1` (which no `tar` override could clear).
|
|
362
|
+
|
|
363
|
+
No runtime source changed; this is a lockfile/root-config change. Notable
|
|
364
|
+
resolution shifts: `sharp` 0.34.5 -> 0.35.2 (prebuilt binary set swap, verified
|
|
365
|
+
against the marketing Next.js build), `rollup` 4.57.0 -> 4.62.0, and `tar@6.2.1`
|
|
366
|
+
removed from the tree entirely. `undici@7.28.0` is deliberately untouched for
|
|
367
|
+
miniflare / wrangler / `@cloudflare/vitest-pool-workers`.
|
|
368
|
+
|
|
369
|
+
- 13b718f: Apply security overrides for runtime-reachable dependencies (batch 2). Adds bounded
|
|
370
|
+
`overrides` entries for `fast-uri`, `form-data` (3.x and 4.x), `lodash`, `uuid` (13.x),
|
|
371
|
+
`basic-ftp`, `defu`, `flatted`, `body-parser` (2.x), `js-yaml` (4.x),
|
|
372
|
+
`brace-expansion` (5.x), `ip-address` (10.x) and `dompurify`.
|
|
373
|
+
|
|
374
|
+
Unlike batch 1 these are reachable from shipped code, not just dev/build tooling:
|
|
375
|
+
`fast-uri` sits under `ajv` in the API worker's MCP/schema path, `form-data` and
|
|
376
|
+
`uuid` are pulled in by the API, runtime and sandbox dependency trees, `js-yaml` 4.x
|
|
377
|
+
reaches `@runtypelabs/cli`, and `brace-expansion` 5.x reaches
|
|
378
|
+
`@runtypelabs/model-execution`. The `dompurify` entry drops the vulnerable 3.3.3 copy
|
|
379
|
+
that `posthog-js` pulled in and consolidates on 3.4.12, the version
|
|
380
|
+
`@runtypelabs/persona` already ships in the same tree.
|
|
381
|
+
|
|
382
|
+
No runtime source changed; this is a lockfile/root-config change. Every override
|
|
383
|
+
carries a deliberate upper bound, since a bare `>=X` override resolves to the newest
|
|
384
|
+
match across all majors. Verified: no downgrades anywhere in the lockfile.
|
|
385
|
+
|
|
386
|
+
- Updated dependencies [6784100]
|
|
387
|
+
- Updated dependencies [d3bb1ed]
|
|
388
|
+
- Updated dependencies [13b718f]
|
|
389
|
+
- @runtypelabs/sdk@6.3.5
|
|
390
|
+
|
|
391
|
+
## 2.32.0
|
|
392
|
+
|
|
393
|
+
### Minor Changes
|
|
394
|
+
|
|
395
|
+
- 17b9d49: Migrate from the v1 MCP SDK monolith (`@modelcontextprotocol/sdk` 1.29.0) to the v2 scoped packages (`@modelcontextprotocol/{server,client,core}` 2.0.0-beta.5, pinned exact until the stable release lands with the 2026-07-28 spec). The hosted API transport now serves both protocol eras: legacy `initialize` clients (2025-11-25 and earlier) take the unchanged production path, and 2026-07-28 envelope-carrying requests (including `server/discover`) are served through the SDK's modern handler. `@hono/mcp` is replaced by driving the SDK's web-standard transport directly.
|
|
396
|
+
|
|
397
|
+
### Patch Changes
|
|
398
|
+
|
|
399
|
+
- 739cd8c: Bump `@runtypelabs/persona` from 4.10.0 to 4.12.0 across the consuming workspaces.
|
|
400
|
+
- Updated dependencies [400c1f1]
|
|
401
|
+
- Updated dependencies [400c1f1]
|
|
402
|
+
- Updated dependencies [93a3c5b]
|
|
403
|
+
- @runtypelabs/sdk@6.3.4
|
|
404
|
+
|
|
405
|
+
## 2.31.6
|
|
406
|
+
|
|
407
|
+
### Patch Changes
|
|
408
|
+
|
|
409
|
+
- Updated dependencies [844b742]
|
|
410
|
+
- @runtypelabs/sdk@6.3.3
|
|
411
|
+
|
|
412
|
+
## 2.31.5
|
|
413
|
+
|
|
414
|
+
### Patch Changes
|
|
415
|
+
|
|
416
|
+
- Updated dependencies [f0ec44b]
|
|
417
|
+
- @runtypelabs/sdk@6.3.2
|
|
418
|
+
|
|
419
|
+
## 2.31.4
|
|
420
|
+
|
|
421
|
+
### Patch Changes
|
|
422
|
+
|
|
423
|
+
- e9fef9f: Bump `@runtypelabs/persona` from 4.9.0 to 4.10.0 across the consuming workspaces.
|
|
424
|
+
- Updated dependencies [d547ab3]
|
|
425
|
+
- Updated dependencies [c065bb9]
|
|
426
|
+
- @runtypelabs/sdk@6.3.1
|
|
427
|
+
|
|
428
|
+
## 2.31.3
|
|
429
|
+
|
|
430
|
+
### Patch Changes
|
|
431
|
+
|
|
432
|
+
- Updated dependencies [401acbd]
|
|
433
|
+
- Updated dependencies [cb8cb9e]
|
|
434
|
+
- Updated dependencies [7f77e9f]
|
|
435
|
+
- Updated dependencies [20737ee]
|
|
436
|
+
- @runtypelabs/sdk@6.3.0
|
|
437
|
+
|
|
438
|
+
## 2.31.2
|
|
439
|
+
|
|
440
|
+
### Patch Changes
|
|
441
|
+
|
|
442
|
+
- Updated dependencies [68a503e]
|
|
443
|
+
- @runtypelabs/sdk@6.2.1
|
|
444
|
+
|
|
445
|
+
## 2.31.1
|
|
446
|
+
|
|
447
|
+
### Patch Changes
|
|
448
|
+
|
|
449
|
+
- 064d62e: Bump `@runtypelabs/persona` from 4.6.1 to 4.8.0: refreshed WebMCP clientTools snapshot on client-token resume (4.7.0) and the artifact system overhaul (4.8.0) with sandboxed file previews, display modes, inline artifact blocks, syntax-highlighted source views, and detached/flush panel appearances.
|
|
450
|
+
- Updated dependencies [b967727]
|
|
451
|
+
- Updated dependencies [2c8cf42]
|
|
452
|
+
- Updated dependencies [2c8cf42]
|
|
453
|
+
- @runtypelabs/sdk@6.2.0
|
|
454
|
+
|
|
455
|
+
## 2.31.0
|
|
456
|
+
|
|
457
|
+
### Minor Changes
|
|
458
|
+
|
|
459
|
+
- 47cd4cb: Browserless agent signup: `runtype auth register --email` / `claim` / `verify` wrap the agent-auth claim ceremony so coding agents can create and verify a Runtype account from a non-TTY shell with no browser. Non-TTY `auth login`/`signup` now print actionable guidance instead of a dead-end TTY error, `auth status` reports pending-signup state with the exact next command, and `whoami` falls back to `/users/profile` for key classes that `/auth/me` rejects. The runtype.ai agent onboarding instructions now lead with this flow (the user is only ever asked for their email and the emailed 6-digit code), and auth.md documents the CLI as the preferred protocol client.
|
|
460
|
+
|
|
461
|
+
## 2.30.1
|
|
462
|
+
|
|
463
|
+
### Patch Changes
|
|
464
|
+
|
|
465
|
+
- Updated dependencies [843b702]
|
|
466
|
+
- @runtypelabs/sdk@6.1.4
|
|
467
|
+
|
|
468
|
+
## 2.30.0
|
|
469
|
+
|
|
470
|
+
### Minor Changes
|
|
471
|
+
|
|
472
|
+
- 180154f: Add `runtype onboard`, a single npx-able command that collapses the agent golden path: it signs in, installs Runtype agent skills and the hosted OAuth MCP server for the current coding agent, and prints an explicit next-step payload (with `--print-instructions` to emit the canonical agent onboarding markdown verbatim).
|
|
473
|
+
|
|
474
|
+
## 2.29.0
|
|
475
|
+
|
|
476
|
+
### Minor Changes
|
|
477
|
+
|
|
478
|
+
- 88cc64f: Add `runtype devices` commands that securely install and control the native macOS device provider, pair local Macs, manage policy and lifecycle, inspect relay status, and discover each device's managed MCP endpoint.
|
|
479
|
+
|
|
480
|
+
## 2.28.1
|
|
481
|
+
|
|
482
|
+
### Patch Changes
|
|
483
|
+
|
|
484
|
+
- Updated dependencies [1acada7]
|
|
485
|
+
- Updated dependencies [db2cf06]
|
|
486
|
+
- @runtypelabs/sdk@6.1.3
|
|
487
|
+
|
|
488
|
+
## 2.28.0
|
|
489
|
+
|
|
490
|
+
### Minor Changes
|
|
491
|
+
|
|
492
|
+
- 5a95da5: Add generic `runtype mcp tools`, `inspect`, and `call` commands for dynamically discovering and invoking the primary or Code Mode MCP server, with typed fields, JSON file/stdin input, and machine-readable results.
|
|
493
|
+
|
|
494
|
+
## 2.27.1
|
|
495
|
+
|
|
496
|
+
### Patch Changes
|
|
497
|
+
|
|
498
|
+
- Updated dependencies [158223e]
|
|
499
|
+
- Updated dependencies [3abba4d]
|
|
500
|
+
- @runtypelabs/sdk@6.1.2
|
|
501
|
+
|
|
502
|
+
## 2.27.0
|
|
503
|
+
|
|
504
|
+
### Minor Changes
|
|
505
|
+
|
|
506
|
+
- 43f040b: Automatically install verified stable CLI releases into a user-owned version cache, activate them
|
|
507
|
+
on the next invocation, and add manual check, update, and rollback controls.
|
|
508
|
+
- 9cb48c2: Add a native-first `runtype install-mcp` command that detects the active coding harness, installs its Runtype skills, configures the hosted user-level MCP server, starts client-owned OAuth when supported, and gives explicit restart instructions. Replace runtype.ai's branching OAuth/API-key/CLI setup tree with one CLI-first-session to OAuth-MCP golden path, keeping API keys as a linked headless exception and moving task-specific detail into installed skills.
|
|
509
|
+
|
|
510
|
+
## 2.26.1
|
|
511
|
+
|
|
512
|
+
### Patch Changes
|
|
513
|
+
|
|
514
|
+
- Updated dependencies [40cb003]
|
|
515
|
+
- @runtypelabs/sdk@6.1.1
|
|
516
|
+
|
|
517
|
+
## 2.26.0
|
|
518
|
+
|
|
519
|
+
### Minor Changes
|
|
520
|
+
|
|
521
|
+
- cfacf11: feat: record collections on every non-REST surface
|
|
522
|
+
|
|
523
|
+
Fans the `/v1/collections` REST API (Records→Collections Phase 1) out to the
|
|
524
|
+
remaining surfaces, closing the Phase 1 acceptance loop — create → infer →
|
|
525
|
+
warn → validate-existing → enforce → 422 works identically via REST, SDK, MCP,
|
|
526
|
+
and CLI:
|
|
527
|
+
- **MCP** (`@runtypelabs/mcp` + the api-internal client): seven tools —
|
|
528
|
+
`list_collections`, `get_collection`, `create_collection`,
|
|
529
|
+
`update_collection`, `delete_collection`, `infer_collection_schema`,
|
|
530
|
+
`validate_collection_records` — with
|
|
531
|
+
read-only/destructive annotations, next-step hints, and collections-domain
|
|
532
|
+
error recovery hints.
|
|
533
|
+
- **Code Mode MCP**: matching `runtype.listCollections(...)` /
|
|
534
|
+
`getCollection` / `createCollection` / `updateCollection` /
|
|
535
|
+
`deleteCollection` / `inferCollectionSchema` / `validateExistingRecords`
|
|
536
|
+
executor methods with overlay docs and examples.
|
|
537
|
+
- **SDK**: `client.collections` endpoint class
|
|
538
|
+
(list/get/create/update/delete/inferSchema/validateExisting) with response
|
|
539
|
+
types derived from the generated OpenAPI spec.
|
|
540
|
+
- **CLI**: `runtype collections list|get|create|update|delete|infer|validate`,
|
|
541
|
+
including `--schema-file` round-tripping and the infer → update adoption
|
|
542
|
+
flow.
|
|
543
|
+
- **Docs**: new user-guide page "Defining a schema" plus a collections section
|
|
544
|
+
in the MCP server integration guide.
|
|
545
|
+
|
|
546
|
+
The dashboard assistant deliberately excludes the new tools
|
|
547
|
+
(`phase2:collections`) until the Collections UI ships.
|
|
548
|
+
|
|
549
|
+
### Patch Changes
|
|
550
|
+
|
|
551
|
+
- 0da0e61: Close three friction points the onboarding E2E tester hit: document `allow_draft: true` for deploying draft examples via `create_product_from_example`, add an `execute_agent` request example (the `messages` array shape) to the runtype.ai agent prose, and make `runtype auth whoami` honor `RUNTYPE_API_KEY` (it previously read only the credential store and reported "unauthenticated" for env-key-only sessions, contradicting the documented contract that CLI commands work with the env key alone). Also carves `agent-onboarding-content` out of the shared barrel into a subpath export so the API Worker's eager graph no longer carries it.
|
|
552
|
+
- Updated dependencies [c26556c]
|
|
553
|
+
- Updated dependencies [cfacf11]
|
|
554
|
+
- Updated dependencies [2c315c5]
|
|
555
|
+
- Updated dependencies [644e057]
|
|
556
|
+
- Updated dependencies [cd1133f]
|
|
557
|
+
- @runtypelabs/sdk@6.1.0
|
|
558
|
+
|
|
559
|
+
## 2.25.15
|
|
560
|
+
|
|
561
|
+
### Patch Changes
|
|
562
|
+
|
|
563
|
+
- Updated dependencies [a948051]
|
|
564
|
+
- @runtypelabs/sdk@6.0.2
|
|
565
|
+
|
|
566
|
+
## 2.25.14
|
|
567
|
+
|
|
568
|
+
### Patch Changes
|
|
569
|
+
|
|
570
|
+
- Updated dependencies [4b4bbe9]
|
|
571
|
+
- Updated dependencies [9a3dd1a]
|
|
572
|
+
- Updated dependencies [aab02e1]
|
|
573
|
+
- Updated dependencies [ebb401b]
|
|
574
|
+
- @runtypelabs/sdk@6.0.1
|
|
575
|
+
|
|
576
|
+
## 2.25.13
|
|
577
|
+
|
|
578
|
+
### Patch Changes
|
|
579
|
+
|
|
580
|
+
- 5cff576: Enforce full-workspace ESLint coverage for published TypeScript packages.
|
|
581
|
+
- Updated dependencies [5cff576]
|
|
582
|
+
- Updated dependencies [51ab2d1]
|
|
583
|
+
- Updated dependencies [a27eea9]
|
|
584
|
+
- Updated dependencies [5f08625]
|
|
585
|
+
- Updated dependencies [9ab9197]
|
|
586
|
+
- @runtypelabs/sdk@6.0.0
|
|
587
|
+
- @runtypelabs/ink-components@0.3.5
|
|
588
|
+
- @runtypelabs/terminal-animations@0.2.2
|
|
589
|
+
|
|
590
|
+
## 2.25.12
|
|
591
|
+
|
|
592
|
+
### Patch Changes
|
|
593
|
+
|
|
594
|
+
- 4849a3a: Upgrade the dashboard SPA build toolchain to Vite 8.1 (Rolldown/Oxc), @vitejs/plugin-react 6, and @cloudflare/vite-plugin 1.43. Removes the obsolete esbuild `supported: { destructuring }` workaround (no esbuild in the Vite 8 pipeline) and renames `build.rollupOptions` to `build.rolldownOptions`. Bumps @runtypelabs/persona to 4.6.1 monorepo-wide: 4.6.1 rewrites its `"message" in e` guards to `Reflect.has`, so its minified dist no longer contains the for-init arrow `in`-expression shape that Oxc rejects at parse time and Rolldown otherwise silently emits as an empty chunk — no build-side workaround needed. No user-facing behavior change.
|
|
595
|
+
- Updated dependencies [6aac451]
|
|
596
|
+
- @runtypelabs/sdk@5.15.0
|
|
597
|
+
|
|
598
|
+
## 2.25.11
|
|
599
|
+
|
|
600
|
+
### Patch Changes
|
|
601
|
+
|
|
602
|
+
- 29ce53f: Finish hiding pre-GA Runtype Apps from public SDK/docs/CLI surfaces and keep app-only client sessions fail-closed behind the feature flag.
|
|
603
|
+
- Updated dependencies [29ce53f]
|
|
604
|
+
- Updated dependencies [5d828d9]
|
|
605
|
+
- @runtypelabs/sdk@5.14.3
|
|
606
|
+
|
|
607
|
+
## 2.25.10
|
|
608
|
+
|
|
609
|
+
### Patch Changes
|
|
610
|
+
|
|
611
|
+
- b00dea7: Hide pre-GA Runtype Apps surfaces from public tool catalogs, docs, schemas, skills indexes, SDK generation, and unauthenticated CLI help; keep runtime/tool access fail-closed behind the feature flag.
|
|
612
|
+
- Updated dependencies [b00dea7]
|
|
613
|
+
- @runtypelabs/sdk@5.14.2
|
|
614
|
+
|
|
615
|
+
## 2.25.9
|
|
616
|
+
|
|
617
|
+
### Patch Changes
|
|
618
|
+
|
|
619
|
+
- Updated dependencies [0d4b1b8]
|
|
620
|
+
- @runtypelabs/sdk@5.14.1
|
|
621
|
+
|
|
622
|
+
## 2.25.8
|
|
623
|
+
|
|
624
|
+
### Patch Changes
|
|
625
|
+
|
|
626
|
+
- Updated dependencies [facb5d9]
|
|
627
|
+
- @runtypelabs/sdk@5.14.0
|
|
628
|
+
|
|
629
|
+
## 2.25.7
|
|
630
|
+
|
|
631
|
+
### Patch Changes
|
|
632
|
+
|
|
633
|
+
- Updated dependencies [89dbb72]
|
|
634
|
+
- @runtypelabs/sdk@5.13.0
|
|
635
|
+
|
|
636
|
+
## 2.25.6
|
|
637
|
+
|
|
638
|
+
### Patch Changes
|
|
639
|
+
|
|
640
|
+
- Updated dependencies [b2badd2]
|
|
641
|
+
- @runtypelabs/sdk@5.12.1
|
|
642
|
+
|
|
643
|
+
## 2.25.5
|
|
644
|
+
|
|
645
|
+
### Patch Changes
|
|
646
|
+
|
|
647
|
+
- Updated dependencies [2821ddb]
|
|
648
|
+
- Updated dependencies [9a527cd]
|
|
649
|
+
- Updated dependencies [ec895c9]
|
|
650
|
+
- @runtypelabs/sdk@5.12.0
|
|
651
|
+
|
|
652
|
+
## 2.25.4
|
|
653
|
+
|
|
654
|
+
### Patch Changes
|
|
655
|
+
|
|
656
|
+
- Updated dependencies [8f998e7]
|
|
657
|
+
- Updated dependencies [e6b97e1]
|
|
658
|
+
- Updated dependencies [e88000e]
|
|
659
|
+
- Updated dependencies [3ac490c]
|
|
660
|
+
- Updated dependencies [9a47ef1]
|
|
661
|
+
- Updated dependencies [d7780b7]
|
|
662
|
+
- @runtypelabs/sdk@5.11.0
|
|
663
|
+
|
|
664
|
+
## 2.25.3
|
|
665
|
+
|
|
666
|
+
### Patch Changes
|
|
667
|
+
|
|
668
|
+
- 3458218: Remove dead code identified by an audit: the unused prompt-library table/dialog components, the unregistered CLI `talk` command (and its orphaned test), seven orphaned root scripts, the never-exposed eval-suite CRUD surface on the MCP `RuntypeClient` interface (and its API-side mirror), a one-line re-export shim in the flow-execution code-tool resolver, and duplicated local tail-event types in the CLI `tail` command in favor of the canonical `@runtypelabs/shared` exports. No behavior changes.
|
|
669
|
+
- Updated dependencies [36d84c1]
|
|
670
|
+
- Updated dependencies [e769fbf]
|
|
671
|
+
- Updated dependencies [5d07273]
|
|
672
|
+
- @runtypelabs/sdk@5.10.0
|
|
673
|
+
|
|
674
|
+
## 2.25.2
|
|
675
|
+
|
|
676
|
+
### Patch Changes
|
|
677
|
+
|
|
678
|
+
- ae6f98e: Degrade gracefully when R2 SQL fails on the logs read path. When the historical (R2 SQL) leg of a merged GET /v1/logs or /v1/logs/stats query fails (e.g. the Iceberg manifest scan limit, error 40020), the request now serves hot-tier (recent) entries and counts with a new optional `degraded: true` field on the response data instead of failing the whole request with a 500. Degraded stats responses are never cached. The dashboard logs page shows a "historical logs temporarily unavailable" banner when the flag is set.
|
|
679
|
+
- 48d0dd5: Upgrade `@cloudflare/workers-types` from v4 to v5 (`5.20260703.1`) across the monorepo.
|
|
680
|
+
|
|
681
|
+
v5 ships only the latest runtime types and removes the dated entrypoints (`@cloudflare/workers-types/2023-07-01`, etc.); the bare and `/experimental` entrypoints are retained. The repo-wide pin (`pnpm.overrides`) and all workspace `devDependencies` ranges are moved to v5, and `apps/tail-worker` switches off its now-removed `/2023-07-01` dated entrypoint onto the bare entrypoint.
|
|
682
|
+
|
|
683
|
+
The newer compat-date globals in v5 required a few type-only adjustments in the API and Code Mode MCP workers: the Cloudflare `ExecutionContext` now carries required `exports`/`tracing` members (so Hono's narrower `c.executionCtx` is cast where passed to Workers APIs), and `navigator` is no longer a member of `typeof globalThis`. No runtime behavior changes. The CLI deploy scaffold now emits `@cloudflare/workers-types@^5.0.0` for generated projects.
|
|
684
|
+
|
|
685
|
+
- Updated dependencies [e85c67e]
|
|
686
|
+
- Updated dependencies [ae6f98e]
|
|
687
|
+
- Updated dependencies [f5ad9c0]
|
|
688
|
+
- @runtypelabs/sdk@5.9.0
|
|
689
|
+
|
|
690
|
+
## 2.25.1
|
|
691
|
+
|
|
692
|
+
### Patch Changes
|
|
693
|
+
|
|
694
|
+
- Updated dependencies [9087295]
|
|
695
|
+
- Updated dependencies [7007359]
|
|
696
|
+
- Updated dependencies [ee51039]
|
|
697
|
+
- Updated dependencies [db60b0c]
|
|
698
|
+
- Updated dependencies [40874d8]
|
|
699
|
+
- Updated dependencies [41b296a]
|
|
700
|
+
- @runtypelabs/sdk@5.8.1
|
|
701
|
+
|
|
702
|
+
## 2.25.0
|
|
703
|
+
|
|
704
|
+
### Minor Changes
|
|
705
|
+
|
|
706
|
+
- 1b707f9: Add tenancy-scope parameters to the hand-written `create_secret` surfaces so they
|
|
707
|
+
reach parity with the REST route + generated SDKs (multi-tenancy V1, inc 5). The
|
|
708
|
+
MCP `create_secret` tool gains optional `product_tenant_id` / `end_user_id` inputs
|
|
709
|
+
(mapped to `productTenantId` / `endUserId` on `POST /v1/secrets`), and the CLI
|
|
710
|
+
`secrets create` command gains `--product-tenant-id` / `--end-user-id` flags. Omit
|
|
711
|
+
both for an org-level secret (unchanged default); a scoped secret requires a value.
|
|
712
|
+
|
|
713
|
+
### Patch Changes
|
|
714
|
+
|
|
715
|
+
- 451f923: Bump commander from ^12.0.0 to ^15.0.0. No runtime code changes needed: the CLI is already ESM-only with the modern .opts()/action signature, single parse() with exitOverride, and no reliance on silently-ignored excess arguments. Tightens engines.node to >=22.12.0 to match commander 15's floor. Fixes the tail command unit-test harness, which passed a bogus ['node','test'] prefix with { from: 'user' } that commander 14+ now correctly rejects as excess arguments.
|
|
716
|
+
- 96aba76: Harden the synchronous `/eval/run` CI gate. The run now enforces a 4-minute total wall-clock deadline for case execution (cases the deadline prevents from running are returned as failed with an actionable message instead of letting the CLI's HTTP stack sever the buffered response client-side), releases the reserved daily-eval quota slot when a run throws after reservation (new `releaseEvalCount` on UsageTrackerDO + `DailyEvalLimitService.release`), and fixes `step_order` / `ran_step` trace grading for interleaved flows: the grading trace is now built in true execution order from `step_start` events (the eval dispatch runs in debug mode so `streamOutput: false` steps are captured too), and step labels match by name, type, or step id. Adds command-level tests for `runtype eval run` (exit codes, `--strict`, `--virtual`, `--junit`, ensure→run sequencing, abort-on-first-API-error) plus ensure update-path and run-service happy-path/402/deadline/release coverage.
|
|
717
|
+
- 4c17349: Eval score persistence (Beginner-First Evals Phase 1, PR-A): grader scores now have a durable home.
|
|
718
|
+
- **Saved-suite runs of `POST /v1/eval/run` persist by default**: the run gets a `batchExecutions` anchor row (`executionType='eval'`, `evalSuiteId` set) and one `eval_case_scores` row per (case, grader) — the data source for run history, baselines, and score-over-time. Pass `virtual: true` to keep a run ephemeral; inline `definition` runs stay ephemeral always. The response (and SDK `RunEvalResult`) gains `runId`.
|
|
719
|
+
- **Suite-linked batch runs are scored at completion**: `completeBatch()` now grades a run with `batchExecutions.evalSuiteId` set from its persisted step results — including trace-grader coverage rebuilt from `flowStepResults` + `tool_executions` (closing the deferred batch-trace gap). Idempotent and non-fatal; dormant until a producer links batches to suites.
|
|
720
|
+
- **New read endpoint `GET /v1/eval/runs/{batchId}/scores`** returning per-case grader outcomes in the same shape as the sync run response.
|
|
721
|
+
- **Four new AI grader presets**: Stays on task, Same language, Refuses when it should, No personal data (mirrored in the SDK `judges.*` builders).
|
|
722
|
+
- CLI `runtype eval run` prints the persisted run id.
|
|
723
|
+
|
|
724
|
+
- ad19f94: Make the global `--json` and `--api-url` flags actually work. Commander stores an option on the command that declared it, so both flags landed on the root program's opts and were silently ignored: leaf actions reading `options.json` got an empty object (even when the subcommand declared its own `--json`), and nothing ever read the parsed `--api-url` (`getApiUrl()` only consulted the env var). A new preAction forwarding hook copies `--api-url` into `RUNTYPE_API_URL` (the single seam every client/auth path reads, flag overrides env) and injects `--json` into the action command's options. Long-standing behavior present on every published version.
|
|
725
|
+
- 2238a2e: Fix "An unexpected error occurred: CommanderError: (outputHelp)" noise printed after `--help` output. The top-level error handler recognized `commander.help` (thrown by `.help()`) but not `commander.helpDisplayed`, which is what commander's exitOverride throws when `--help`/`-h` displays help. Long-standing bug present on every published version; surfaced by a smoke test of the commander 15 bump.
|
|
726
|
+
- 5371c45: Fix "An unexpected error occurred" dump after `error: unknown command '...'`. The top-level error handler did not recognize commander's `commander.unknownCommand` code, so a typo'd subcommand printed the proper one-line error followed by a raw CommanderError stack. Commander already writes the message to stderr; the handler now just exits 1. Pre-existing on every published version; found in the same smoke test as the --help fix.
|
|
727
|
+
- Updated dependencies [1422e92]
|
|
728
|
+
- Updated dependencies [d0df6a8]
|
|
729
|
+
- Updated dependencies [de60a30]
|
|
730
|
+
- Updated dependencies [4c17349]
|
|
731
|
+
- Updated dependencies [f89cb41]
|
|
732
|
+
- Updated dependencies [9736850]
|
|
733
|
+
- Updated dependencies [8f13a37]
|
|
734
|
+
- Updated dependencies [fa6d18a]
|
|
735
|
+
- Updated dependencies [9002f51]
|
|
736
|
+
- Updated dependencies [4520c60]
|
|
737
|
+
- Updated dependencies [49d599f]
|
|
738
|
+
- Updated dependencies [9cbdba8]
|
|
739
|
+
- Updated dependencies [b82d8f1]
|
|
740
|
+
- Updated dependencies [edae98b]
|
|
741
|
+
- @runtypelabs/sdk@5.8.0
|
|
742
|
+
|
|
743
|
+
## 2.24.1
|
|
744
|
+
|
|
745
|
+
### Patch Changes
|
|
746
|
+
|
|
747
|
+
- Updated dependencies [fd2e18e]
|
|
748
|
+
- @runtypelabs/sdk@5.7.0
|
|
749
|
+
|
|
750
|
+
## 2.24.0
|
|
751
|
+
|
|
752
|
+
### Minor Changes
|
|
753
|
+
|
|
754
|
+
- 78e6f0e: feat(evals): grader severity (`gate`/`soft`) + functional `--strict`, and inline `evals:` on `flows.ensure` (code-colocated evals increment 5)
|
|
755
|
+
- **Severity.** Every grader now carries an optional `severity: 'gate' | 'soft'` (absent ⇒ `gate`, the historical hard-gate behavior). A `soft` grader miss is tracked-but-not-failing — reported per-outcome but it does not fail the case unless the run is strict. `casePassed(outcomes, { strict })` in `@runtypelabs/shared` owns the aggregation; `EvalScoringService.scoreRun` threads a `strict` flag and stamps each outcome's severity.
|
|
756
|
+
- **`runtype eval --strict` is now functional** (previously a stub): it sends `strict: true` to `POST /v1/eval/run`, and the server-computed severity-aware `passed` drives the exit code (a soft miss alone exits `0` without `--strict`, `1` with it; a gate miss always exits `1`). The CLI also surfaces soft misses on passing cases as warnings.
|
|
757
|
+
- **SDK chainable severity handles.** Grader builders (`contains(...)`, `judge(...)`, `calledTool(...)`, …) return a `Gradeable` with `.gate()` / `.soft()` handles (and `.atLeast(n)` on AI graders to set the 1-5 judge cutoff). The handles are non-enumerable, so a grader still serializes byte-identically to its plain wire shape and the content hash of an un-annotated grader is unchanged.
|
|
758
|
+
- **Inline `evals:` on `flows.ensure`.** `defineFlow({ ..., evals: [...] })` attaches eval suites that converge with the flow; an inline eval that omits `target` defaults to the enclosing flow. This is SDK-orchestrated and honors the eval-endpoints-only rule — the flow converges through `/flows/ensure` (its `{ name, steps }` wire shape and content hash are unchanged; `evals` is never sent there) and each inline suite converges through the existing `/eval/ensure`. `Runtype.flows.ensure(...)` returns the per-suite converge outcomes under `evals`.
|
|
759
|
+
|
|
760
|
+
### Patch Changes
|
|
761
|
+
|
|
762
|
+
- Updated dependencies [78e6f0e]
|
|
763
|
+
- @runtypelabs/sdk@5.6.0
|
|
764
|
+
|
|
765
|
+
## 2.23.1
|
|
766
|
+
|
|
767
|
+
### Patch Changes
|
|
768
|
+
|
|
769
|
+
- Updated dependencies [edf1724]
|
|
770
|
+
- @runtypelabs/sdk@5.5.0
|
|
771
|
+
|
|
772
|
+
## 2.23.0
|
|
773
|
+
|
|
774
|
+
### Minor Changes
|
|
775
|
+
|
|
776
|
+
- a7b06ce: Code-colocated evals increment 3: the `runtype eval run` CI gate plus the
|
|
777
|
+
synchronous run+score endpoint behind it.
|
|
778
|
+
|
|
779
|
+
New `POST /v1/eval/run` runs every case of an eval suite (a saved suite by id, or
|
|
780
|
+
an inline `--virtual` definition) against its target flow/saved-agent, grades the
|
|
781
|
+
outputs with the suite graders via `EvalScoringService`, and returns the suite
|
|
782
|
+
score + per-case grader outcomes in one response. Synchronous and ephemeral — no
|
|
783
|
+
batch is created and no `eval_case_scores` are persisted (AI-grader spend is
|
|
784
|
+
still metered); bounded by a per-run case ceiling, with a per-case timeout.
|
|
785
|
+
`claude_managed` agents and inline/virtual agent targets are rejected with an
|
|
786
|
+
actionable error.
|
|
787
|
+
|
|
788
|
+
The SDK gains `client.evals.runSuite({ suiteId } | { definition })` (and the
|
|
789
|
+
`runEvalSuite` helper) returning the typed `RunEvalResult`.
|
|
790
|
+
|
|
791
|
+
The CLI gains `runtype eval run [idOrDirPrefix]`: it discovers `**/*.eval.ts`,
|
|
792
|
+
loads each `defineEval(...)` default export via jiti, `ensure`s the suite (or runs
|
|
793
|
+
it inline with `--virtual`), runs it, and maps the result to eve-style exit codes
|
|
794
|
+
(`0` pass / `1` gate failure / `2` config error). Supports `--junit <path>`,
|
|
795
|
+
`--url <api>`, `--cwd <dir>`, and a `--strict` stub (grader severity lands in a
|
|
796
|
+
later increment).
|
|
797
|
+
|
|
798
|
+
### Patch Changes
|
|
799
|
+
|
|
800
|
+
- Updated dependencies [0cd1d82]
|
|
801
|
+
- Updated dependencies [a7b06ce]
|
|
802
|
+
- Updated dependencies [17f7b6b]
|
|
803
|
+
- @runtypelabs/sdk@5.4.0
|
|
804
|
+
|
|
805
|
+
## 2.22.17
|
|
806
|
+
|
|
807
|
+
### Patch Changes
|
|
808
|
+
|
|
809
|
+
- Updated dependencies [2260366]
|
|
810
|
+
- @runtypelabs/sdk@5.3.1
|
|
811
|
+
|
|
812
|
+
## 2.22.16
|
|
813
|
+
|
|
814
|
+
### Patch Changes
|
|
815
|
+
|
|
816
|
+
- Updated dependencies [83d57ad]
|
|
817
|
+
- Updated dependencies [9ed5154]
|
|
818
|
+
- @runtypelabs/sdk@5.3.0
|
|
819
|
+
|
|
820
|
+
## 2.22.15
|
|
821
|
+
|
|
822
|
+
### Patch Changes
|
|
823
|
+
|
|
824
|
+
- 346f947: Run workspace type-checking on the TypeScript 7 native compiler (`tsgo`, from `@typescript/native-preview`). The per-package `typecheck` / `type-check` scripts now invoke `tsgo --noEmit` instead of `tsc --noEmit` (~5x faster across the workspace). This is a type-check-only change: `typescript` stays pinned at `^6.0.3` for builds, lint, and codegen — whose compiler-API consumers (tsup `.d.ts` emit, typescript-eslint, ts-morph) are not stable on the 7.x API until ~7.1 — so no package's runtime behavior or emitted types change. The `typecheck:native` benchmark harness is updated to stay version-agnostic (it derives the `tsc` baseline for `--compare`), `@typescript/native-preview` is bumped to the latest tracked build, and the orphaned `@runtypelabs/system-product-generator` package's stray `typescript@^5.9.3` pin is aligned to `^6.0.3`.
|
|
825
|
+
- Updated dependencies [346f947]
|
|
826
|
+
- @runtypelabs/sdk@5.2.3
|
|
827
|
+
- @runtypelabs/ink-components@0.3.4
|
|
828
|
+
|
|
829
|
+
## 2.22.14
|
|
830
|
+
|
|
831
|
+
### Patch Changes
|
|
832
|
+
|
|
833
|
+
- ba0a50b: Upgrade the workspace TypeScript toolchain from 5.9 to 6.0 (`^6.0.3`, the transitional release before the Go-native 7.0). This is a build and type-check toolchain change only: `typescript` is a devDependency and the edits are tsconfig-level, so no package's runtime behavior changes.
|
|
834
|
+
|
|
835
|
+
Config migrations required by 6.0: removed the deprecated `baseUrl` option (paths now resolve relative to the tsconfig), added `ignoreDeprecations: "6.0"` where tsup's DTS build injects a `baseUrl`, and set explicit `rootDir` / `types` where 6.0's new defaults (`types: []`, `noUncheckedSideEffectImports: true`) required it. typescript-eslint 8.61 already supports 6.0; build, typecheck, and lint are green. See `docs/typescript-6-upgrade.md`.
|
|
836
|
+
|
|
837
|
+
- Updated dependencies [ba0a50b]
|
|
838
|
+
- @runtypelabs/ink-components@0.3.3
|
|
839
|
+
|
|
840
|
+
## 2.22.13
|
|
841
|
+
|
|
842
|
+
### Patch Changes
|
|
843
|
+
|
|
844
|
+
- 01e44aa: Add a local Persona Playground demo option to `runtype persona init` with WebMCP-ready provisioning and generated HTML.
|
|
845
|
+
|
|
846
|
+
## 2.22.12
|
|
847
|
+
|
|
848
|
+
### Patch Changes
|
|
849
|
+
|
|
850
|
+
- 23a75ec: chore: bump @runtypelabs/persona to 4.3.1
|
|
851
|
+
|
|
852
|
+
## 2.22.11
|
|
853
|
+
|
|
854
|
+
### Patch Changes
|
|
855
|
+
|
|
856
|
+
- 1a25b10: Bump `@runtypelabs/persona` to 4.1.0
|
|
857
|
+
- 012eb68: Bump `@runtypelabs/persona` to 4.2.0
|
|
858
|
+
|
|
859
|
+
## 2.22.10
|
|
860
|
+
|
|
861
|
+
### Patch Changes
|
|
862
|
+
|
|
863
|
+
- a3c41f5: Bump `@runtypelabs/persona` from 3.37.0 to 4.0.0. The embedded 4.x widget consumes the unified SSE vocabulary natively, so the dashboard no longer forces the `?events=legacy` override on its dispatch/execute/test/approve fetches. Removed the transitional `persona-legacy-sse` adapter; the two still-needed canonical helpers (`getPersonaSseErrorMessage`, `parsePersonaCanonicalSseEvent`) now live in `persona-sse.ts`.
|
|
864
|
+
- Updated dependencies [c09b0af]
|
|
865
|
+
- @runtypelabs/sdk@5.2.2
|
|
866
|
+
|
|
867
|
+
## 2.22.9
|
|
868
|
+
|
|
869
|
+
### Patch Changes
|
|
870
|
+
|
|
871
|
+
- Updated dependencies [9a77df1]
|
|
872
|
+
- @runtypelabs/sdk@5.2.1
|
|
873
|
+
|
|
874
|
+
## 2.22.8
|
|
875
|
+
|
|
876
|
+
### Patch Changes
|
|
877
|
+
|
|
878
|
+
- Updated dependencies [049bcf9]
|
|
879
|
+
- @runtypelabs/sdk@5.2.0
|
|
880
|
+
|
|
881
|
+
## 2.22.7
|
|
882
|
+
|
|
883
|
+
### Patch Changes
|
|
884
|
+
|
|
885
|
+
- Updated dependencies [97a3431]
|
|
886
|
+
- Updated dependencies [82d897c]
|
|
887
|
+
- @runtypelabs/sdk@5.1.0
|
|
888
|
+
|
|
889
|
+
## 2.22.6
|
|
890
|
+
|
|
891
|
+
### Patch Changes
|
|
892
|
+
|
|
893
|
+
- Updated dependencies [44779c1]
|
|
894
|
+
- @runtypelabs/sdk@5.0.0
|
|
895
|
+
|
|
896
|
+
## 2.22.5
|
|
897
|
+
|
|
898
|
+
### Patch Changes
|
|
899
|
+
|
|
900
|
+
- Updated dependencies [4bef8db]
|
|
901
|
+
- Updated dependencies [2b788c7]
|
|
902
|
+
- Updated dependencies [b43088f]
|
|
903
|
+
- @runtypelabs/sdk@4.21.0
|
|
904
|
+
|
|
905
|
+
## 2.22.4
|
|
906
|
+
|
|
907
|
+
### Patch Changes
|
|
908
|
+
|
|
909
|
+
- Updated dependencies [3fdf801]
|
|
910
|
+
- @runtypelabs/sdk@4.20.0
|
|
911
|
+
|
|
912
|
+
## 2.22.3
|
|
913
|
+
|
|
914
|
+
### Patch Changes
|
|
915
|
+
|
|
916
|
+
- f3ef273: Bump `@runtypelabs/persona` to 3.37.0 across the application.
|
|
917
|
+
|
|
918
|
+
The 3.35.0 release split `createThemePreview` (and `ThemePreviewHandle` /
|
|
919
|
+
`PreviewDevice`) out of `@runtypelabs/persona/theme-editor` into a new
|
|
920
|
+
`@runtypelabs/persona/theme-editor/preview` subpath, so the dashboard's
|
|
921
|
+
`WidgetStyleDrawer` and `now/preview-content` imports are updated to the new path.
|
|
922
|
+
|
|
923
|
+
## 2.22.2
|
|
924
|
+
|
|
925
|
+
### Patch Changes
|
|
926
|
+
|
|
927
|
+
- Updated dependencies [d5b9f87]
|
|
928
|
+
- Updated dependencies [6d5ba51]
|
|
929
|
+
- @runtypelabs/sdk@4.19.2
|
|
930
|
+
|
|
931
|
+
## 2.22.1
|
|
932
|
+
|
|
933
|
+
### Patch Changes
|
|
934
|
+
|
|
935
|
+
- Updated dependencies [cd7b402]
|
|
936
|
+
- @runtypelabs/sdk@4.19.1
|
|
937
|
+
|
|
938
|
+
## 2.22.0
|
|
939
|
+
|
|
940
|
+
### Minor Changes
|
|
941
|
+
|
|
942
|
+
- 9efb803: Marathon playbooks: opt-in `fallbackOnEmpty` to recover from empty (text-less)
|
|
943
|
+
model output.
|
|
944
|
+
|
|
945
|
+
Set `fallbackOnEmpty: true` on a milestone (or at the playbook top level as a
|
|
946
|
+
default) to make that milestone's `fallbackModels` chain also fire when the model
|
|
947
|
+
finishes successfully but returns no visible text — the "thinking model spends its
|
|
948
|
+
whole budget reasoning and answers nothing" failure — instead of only on errors.
|
|
949
|
+
It attaches the execution engine's existing `empty-output` fallback trigger to the
|
|
950
|
+
agent `errorHandling` the marathon writes. Off by default (never automatic) and
|
|
951
|
+
only effective when `fallbackModels` is configured; the playbook loader warns when
|
|
952
|
+
it is enabled without a fallback chain. No API change.
|
|
953
|
+
|
|
954
|
+
- 9efb803: Marathon: support per-session `maxTokens` and `temperature` overrides for the
|
|
955
|
+
**primary** model, settable from the CLI (`--max-tokens` / `--temperature`) and
|
|
956
|
+
in playbooks (per-milestone fields plus top-level defaults).
|
|
957
|
+
- API: `POST /v1/agents/:id/execute` now accepts request-level `temperature` and
|
|
958
|
+
`maxTokens`, merged into the agent config before `buildVirtualFlow` (mirrors the
|
|
959
|
+
existing `model` / `systemPrompt` overrides). Out-of-range values are ignored.
|
|
960
|
+
- SDK: `RunTaskOptions`, `AgentExecuteRequest`, and `WorkflowMilestoneConfig` gain
|
|
961
|
+
optional `temperature` / `maxTokens`; the marathon runner threads them into each
|
|
962
|
+
session's execute request.
|
|
963
|
+
- CLI: resolves both per phase with precedence per-milestone playbook value >
|
|
964
|
+
global CLI flag > playbook top-level default.
|
|
965
|
+
|
|
966
|
+
Previously only a fallback model could carry a `maxTokens`, so a "thinking"
|
|
967
|
+
primary model that spent its budget reasoning could return no tool call and stall
|
|
968
|
+
the run with nothing to show.
|
|
969
|
+
|
|
970
|
+
### Patch Changes
|
|
971
|
+
|
|
972
|
+
- 009a396: Extract the marathon TUI steering/follow-up message queues into a standalone,
|
|
973
|
+
unit-tested `createSteeringQueue` module. Behavior-preserving refactor: it
|
|
974
|
+
removes the push/drain/count bookkeeping duplicated across the composer submit
|
|
975
|
+
handler, the Esc-Esc abort path, and the `streamRef` drain actions, and creates
|
|
976
|
+
a single injection point so a message can be enqueued from any producer (the
|
|
977
|
+
local keyboard today, a remote control channel later) without knowing how
|
|
978
|
+
draining or the count display works. Groundwork for marathon tethered mode
|
|
979
|
+
(local execution, remote control).
|
|
980
|
+
- Updated dependencies [e96edad]
|
|
981
|
+
- Updated dependencies [9efb803]
|
|
982
|
+
- Updated dependencies [9efb803]
|
|
983
|
+
- @runtypelabs/sdk@4.19.0
|
|
984
|
+
|
|
985
|
+
## 2.21.6
|
|
986
|
+
|
|
987
|
+
### Patch Changes
|
|
988
|
+
|
|
989
|
+
- Updated dependencies [266280e]
|
|
990
|
+
- @runtypelabs/sdk@4.18.0
|
|
991
|
+
|
|
992
|
+
## 2.21.5
|
|
993
|
+
|
|
994
|
+
### Patch Changes
|
|
995
|
+
|
|
996
|
+
- Updated dependencies [408e8f4]
|
|
997
|
+
- Updated dependencies [fee4239]
|
|
998
|
+
- @runtypelabs/sdk@4.17.1
|
|
999
|
+
|
|
1000
|
+
## 2.21.4
|
|
1001
|
+
|
|
1002
|
+
### Patch Changes
|
|
1003
|
+
|
|
1004
|
+
- Updated dependencies [83e5921]
|
|
1005
|
+
- @runtypelabs/sdk@4.17.0
|
|
1006
|
+
|
|
1007
|
+
## 2.21.3
|
|
1008
|
+
|
|
1009
|
+
### Patch Changes
|
|
1010
|
+
|
|
1011
|
+
- Updated dependencies [46624dc]
|
|
1012
|
+
- Updated dependencies [845d81b]
|
|
1013
|
+
- Updated dependencies [45aaaa7]
|
|
1014
|
+
- Updated dependencies [3396ef1]
|
|
1015
|
+
- Updated dependencies [f9b537d]
|
|
1016
|
+
- @runtypelabs/sdk@4.16.0
|
|
1017
|
+
|
|
1018
|
+
## 2.21.2
|
|
1019
|
+
|
|
1020
|
+
### Patch Changes
|
|
1021
|
+
|
|
1022
|
+
- Updated dependencies [0dcd669]
|
|
1023
|
+
- @runtypelabs/sdk@4.15.0
|
|
1024
|
+
|
|
1025
|
+
## 2.21.1
|
|
1026
|
+
|
|
1027
|
+
### Patch Changes
|
|
1028
|
+
|
|
1029
|
+
- Updated dependencies [fec3688]
|
|
1030
|
+
- Updated dependencies [26c393c]
|
|
1031
|
+
- @runtypelabs/sdk@4.14.0
|
|
1032
|
+
|
|
1033
|
+
## 2.21.0
|
|
1034
|
+
|
|
1035
|
+
### Minor Changes
|
|
1036
|
+
|
|
1037
|
+
- dc36176: `runtype records get` now renders a record's `messages` (previously only id/name/
|
|
1038
|
+
type/metadata were shown). Multi-modal message content renders as text plus
|
|
1039
|
+
compact `[image …]` / `[file …]` / `[attachment …]` markers, and on terminals with
|
|
1040
|
+
an inline-image graphics protocol (iTerm2, WezTerm, Kitty, Ghostty) image parts
|
|
1041
|
+
render inline — mirroring `conversations get`. Inline images are TTY-gated and can
|
|
1042
|
+
be disabled with `--no-images`. Records carry rehydrated inline image data URIs on
|
|
1043
|
+
the read path as of the asset-offload records GET seam, so a record created with
|
|
1044
|
+
inline media now displays that media instead of hiding it. The shared content-walk
|
|
1045
|
+
helper (`renderMessageContent`) was lifted into `lib/message-content.ts` and is now
|
|
1046
|
+
shared by both commands.
|
|
1047
|
+
|
|
1048
|
+
## 2.20.0
|
|
1049
|
+
|
|
1050
|
+
### Minor Changes
|
|
1051
|
+
|
|
1052
|
+
- 5e4f47c: Render conversation image attachments inline in `runtype conversations get` on terminals that support a graphics protocol. When stdout is an interactive terminal that implements the iTerm2 inline-images protocol (iTerm2, WezTerm) or the Kitty graphics protocol (Kitty, Ghostty), image parts are displayed inline instead of as a `[image …]` marker. The rehydrated `data:` URI bytes are passed straight to the protocol with no image-decoding dependency (iTerm2 handles any format; Kitty renders PNG dependency-free and falls back to the marker for other formats). Non-interactive output (pipes, CI), unknown terminals, and `--no-images` keep the text marker.
|
|
1053
|
+
|
|
1054
|
+
## 2.19.4
|
|
1055
|
+
|
|
1056
|
+
### Patch Changes
|
|
1057
|
+
|
|
1058
|
+
- e444f67: Fix `runtype conversations get` rendering multi-modal / offloaded message content as `[object Object]`. A conversation message's `content` can be an array of typed parts (text + `image`/`file`, and rehydrated or raw `asset_ref` attachments), not just a string. The CLI now renders text parts inline and collapses each media/attachment part to a compact `[image …]` / `[file …]` / `[attachment …]` marker in both the non-TTY and TTY output paths.
|
|
1059
|
+
|
|
1060
|
+
## 2.19.3
|
|
1061
|
+
|
|
1062
|
+
### Patch Changes
|
|
1063
|
+
|
|
1064
|
+
- Updated dependencies [8bffeb2]
|
|
1065
|
+
- @runtypelabs/sdk@4.13.1
|
|
1066
|
+
|
|
1067
|
+
## 2.19.2
|
|
1068
|
+
|
|
1069
|
+
### Patch Changes
|
|
1070
|
+
|
|
1071
|
+
- c9959e9: Bump `@runtypelabs/persona` to 3.34.1 across the repo.
|
|
1072
|
+
- 78f5be1: Marathon: route fresh build-and-deploy / game goals to the deploy and game
|
|
1073
|
+
workflows when a deploy-capable sandbox (`--sandbox daytona` or
|
|
1074
|
+
`runtype-sandbox`) is explicitly enabled, instead of falling through to the
|
|
1075
|
+
default create workflow (which confines writes to `public/` and never calls
|
|
1076
|
+
`deploy_sandbox`). When the goal looks deploy/game-shaped but no deploy-capable
|
|
1077
|
+
sandbox is enabled, the CLI now prints an actionable hint to re-run with
|
|
1078
|
+
`--sandbox daytona`. Auto-enabling a sandbox from keywords alone is still
|
|
1079
|
+
intentionally avoided.
|
|
1080
|
+
- ac35549: Marathon ledger unification (increment 2): instrument session-search indexing cost.
|
|
1081
|
+
|
|
1082
|
+
The default-on session-search revisit trigger was unevaluable because the `/session-context/index` POST was a silent `.catch(() => {})`. Now the marathon command:
|
|
1083
|
+
- Counts indexed chunks and serialized payload bytes across all sessions and checkpoint restarts, and prints a cumulative `Indexed: N chunks (M KB)` line in the final task summary.
|
|
1084
|
+
- Surfaces a context notice (`session_indexed`) when a single session's indexing payload exceeds 512 KB — the signal the revisit trigger watches for.
|
|
1085
|
+
- Logs indexing failures once per task (`indexing_failed` notice) instead of swallowing them silently, so "search finds nothing because indexing has been failing" is diagnosable. The POST stays non-blocking.
|
|
1086
|
+
|
|
1087
|
+
CLI-side observability only; no API changes.
|
|
1088
|
+
|
|
1089
|
+
- Updated dependencies [04db6c7]
|
|
1090
|
+
- Updated dependencies [7ea7ece]
|
|
1091
|
+
- Updated dependencies [3a162cc]
|
|
1092
|
+
- Updated dependencies [ee6f248]
|
|
1093
|
+
- @runtypelabs/sdk@4.13.0
|
|
1094
|
+
|
|
1095
|
+
## 2.19.1
|
|
1096
|
+
|
|
1097
|
+
### Patch Changes
|
|
1098
|
+
|
|
1099
|
+
- b7c3ab8: Bump `@runtypelabs/persona` 3.31.0 → 3.34.0. This picks up the push-dock fix (persona#287/#285): the docked push reveal now offsets its track with `margin-left` instead of a CSS `transform`, so it no longer establishes a containing block that pushed viewport-`fixed`/`sticky` host chrome (e.g. the dashboard editor toolbar) off-screen. Unblocks the docked dashboard-assistant rollout.
|
|
1100
|
+
- 4cfef88: Marathon ledger unification (increment 1): route SDK hot-tail tool-output offloads through one artifact store.
|
|
1101
|
+
- SDK: new `offloadRecorder` option on `RunTaskOptions` (and exported `RunTaskOffloadRecorder` type). When supplied, `offloadToolResult` delegates persistence to the recorder and splices its reference into the send view instead of writing to the unledgered `.runtype/marathons/<slug>/tool-outputs/` fallback. The SDK still owns the offload decision (its inline threshold); the recorder owns storage. Declining (returning `undefined`/throwing) falls back to the built-in store, so non-marathon and browser consumers are unchanged.
|
|
1102
|
+
- CLI: supplies a recorder backed by the existing content-addressed ledger store (`offloadToolOutput`), so the 500–100k char band becomes a first-class ledger citizen (content-addressed `art_<sha256>`, hashed, `read_offloaded_output`-resolvable, deduped, on-timeline) instead of a separate unledgered store.
|
|
1103
|
+
- CLI: fix the per-offload `loadTreeLog` reload — `recordOffloadedArtifact` now appends through a shared head accessor (`getOrLoadTreeLogSync`) so artifact entries land on-chain at the live head instead of as sibling stubs off a stale, disk-reloaded head, and offload cost is O(1) rather than O(tree-log size).
|
|
1104
|
+
|
|
1105
|
+
- 062e5bd: Neutralize CSV formula injection on record export. Cells whose first character is `=`, `+`, `-`, `@`, or a leading tab/carriage return/newline are now prefixed with a single quote so spreadsheet applications (Excel, Sheets, LibreOffice) treat them as text instead of executing them as formulas. Record metadata is frequently written from external/agent input, so exported values were attacker-controllable. The trigger set lives in a single shared helper (`neutralizeCsvFormula` in `@runtypelabs/shared`) consumed by both the API export (`escapeCsvValue`) and the CLI's local CSV export (`csvEscape`), so the two surfaces cannot drift.
|
|
1106
|
+
- 6c475fe: Close record-tool surface-parity gaps (P0.7): expose already-existing `/v1/records` API capabilities on the client surfaces that lacked them.
|
|
1107
|
+
- MCP: add the `delete_record` tool (input schema, schema-map registration, destructive tool definition, execution handler, and `deleteRecord` on the `RuntypeClient` interface + both implementers).
|
|
1108
|
+
- Code-Mode MCP: add `deleteRecord(id)` → `DELETE /v1/records/:id` to the executor and code-spec overlay.
|
|
1109
|
+
- SDK: add `records.getStepResults(id, params?)` → `GET /v1/records/:id/step-results` and `records.getCosts(id)` → `GET /v1/records/:id/costs` to `RecordsEndpoint`.
|
|
1110
|
+
- CLI: add `records results <id>` and `records costs <id>` subcommands routed through the SDK.
|
|
1111
|
+
|
|
1112
|
+
- Updated dependencies [cf9eae0]
|
|
1113
|
+
- Updated dependencies [d895f91]
|
|
1114
|
+
- Updated dependencies [2392c5e]
|
|
1115
|
+
- Updated dependencies [4cfef88]
|
|
1116
|
+
- Updated dependencies [04dc52c]
|
|
1117
|
+
- Updated dependencies [6c475fe]
|
|
1118
|
+
- Updated dependencies [6f6dd80]
|
|
1119
|
+
- @runtypelabs/sdk@4.12.0
|
|
1120
|
+
|
|
1121
|
+
## 2.19.0
|
|
1122
|
+
|
|
1123
|
+
### Minor Changes
|
|
1124
|
+
|
|
1125
|
+
- e7a7c22: Add workflow stall policy and richer marathon playbooks. WorkflowDefinition gains an optional `stallPolicy` (`nudgeAfter` / `escalateModelAfter` / `stopAfter`) keyed on the consecutive-empty-sessions counter, so narration-only sessions trigger a recovery nudge, a model-escalation signal (`state.stallEscalationRequested`), or a configurable stall threshold instead of silently dying after 3 empty sessions. Playbooks can now declare per-milestone `recovery` messages (triggered on the same stall counter), `transitionSummary` strings, and a top-level `stallPolicy`; policy blocks also compile into model-facing tool guidance so enforced constraints (write globs, outputRoot, plan-first) are stated to the model instead of silently blocking it. The CLI consumes the escalation signal by restarting the marathon on the milestone's next `fallbackModels` entry, and surfaces playbook authoring warnings (e.g. no milestone sets `canAcceptCompletion: true`) at load time. Default (non-playbook) marathon behavior is unchanged.
|
|
1126
|
+
- e7a7c22: TypeScript playbooks. Marathon playbooks can now be `.ts`/`.mts` modules, loaded at runtime via jiti (no Node version or transpile-step requirements) from the same search paths as YAML/JSON. Every workflow config behavior slot (instructions, tool guidance, completion criteria, recovery, transition summaries, intercepts, force-end-turn, accept-completion, classify/bootstrap/candidate-block) now accepts a plain function in addition to inline data and hook references, so TypeScript playbooks express custom logic directly without registry ceremony; `definePlaybook(...)` is exported from the SDK as optional type-inference sugar. A module playbook's default export is either a config object or a factory receiving the injected `{ registerWorkflowHook }` API for named-hook registration. Load failures, missing default exports, and non-config exports fail with actionable errors naming the playbook path.
|
|
1127
|
+
- e7a7c22: Workflow hook registry and the default marathon workflow as data (Phase 3). The SDK gains a named hook registry (`registerWorkflowHook` with a reserved `builtin:` namespace, slot-kind validation, and actionable load-time errors) and an environment-free `compileWorkflowConfig` that turns declarative workflow configs into `WorkflowDefinition`s, with glob matching injected via deps. The default workflow's behaviors (classification, bootstrap discovery, per-phase instructions/guards/recovery/completion heuristics) are now registered as `builtin:*` hooks and composed by an exported `defaultWorkflowConfig` compiled through the same function — so playbooks and the default share one compile path and a user playbook can reuse or override any slice of the default by hook name. The CLI playbook loader delegates compilation to the SDK and adds: hook references in every behavior slot (`instructions: builtin:research-instructions`, `completionCriteria: { type: acme:my-completion }`), per-milestone `intercept`/`forceEndTurn` slots, and a `plugins:` field that loads JS modules (confined to the playbook's directory) which register custom hooks via an injected `registerWorkflowHook` API. `loadPlaybook` is now async. Compiled output for the default workflow is behavior-identical (pinned by the existing workflow test suite).
|
|
1128
|
+
|
|
1129
|
+
### Patch Changes
|
|
1130
|
+
|
|
1131
|
+
- Updated dependencies [713e743]
|
|
1132
|
+
- Updated dependencies [e7a7c22]
|
|
1133
|
+
- Updated dependencies [e7a7c22]
|
|
1134
|
+
- Updated dependencies [e7a7c22]
|
|
1135
|
+
- Updated dependencies [e7a7c22]
|
|
1136
|
+
- @runtypelabs/sdk@4.11.0
|
|
1137
|
+
|
|
1138
|
+
## 2.18.0
|
|
1139
|
+
|
|
1140
|
+
### Minor Changes
|
|
1141
|
+
|
|
1142
|
+
- f07ceb8: Add marathon context-ledger artifact plumbing, derive tool-result context views without mutating saved history, and enable session context recall by default.
|
|
1143
|
+
- 7d398a2: Mid-session hard abort for marathon (Esc Esc). The SDK's `runTask` and `executeWithLocalTools` accept an `abortSignal` that cancels the in-flight SSE stream and ends the run gracefully (cost and tokens preserved, state persisted, status `paused`/resumable). In the marathon TUI, pressing Esc twice while the agent works interrupts the turn, restores any queued steering messages and composer draft into the checkpoint input, and lands at a "stopped" checkpoint where Enter exits or new instructions continue the task.
|
|
1144
|
+
- 6ecce93: Runtype Apps increment 1, PR 3: agent + developer deploy surfaces. Adds six MCP tools (`create_app`, `deploy_app_version`, `activate_app_version`, `list_apps`, `get_app`, `delete_app`) on both MCP servers (standard + Code Mode `runtype.*` methods), an SDK `client.apps` endpoint (incl. raw-zip `uploadVersion` and JSON `uploadVersionFiles`), a `runtype apps` CLI command family (`create`, `deploy <dir>`, `list`, `versions`, `activate`, `delete`), a JSON `{ files, filesBase64 }` upload variant on `POST /v1/apps/:id/versions` (the API zips server-side for surfaces that cannot stream binary bodies), and the `build-runtype-app` agent skill.
|
|
1145
|
+
|
|
1146
|
+
### Patch Changes
|
|
1147
|
+
|
|
1148
|
+
- 92c6ae3: Marathon context ledger: window-base compaction and persistence fixes.
|
|
1149
|
+
|
|
1150
|
+
SDK: compaction now records a send-window base (`RunTaskState.contextWindowBaseIndex`). After a compaction, sessions send `[stored summary, messages since base, continuation]` and only re-compact when that window itself re-crosses the threshold — previously every post-threshold session re-summarized the whole task and dropped all recent raw turns from the send. The persist path appends exactly the new continuation message per session, fixing duplicated (and fidelity-degraded) history once replay trimming made the send view shorter than the source. Send-view derivation no longer deep-clones the full history per send, and hot-tail offload skips rewriting files that already exist. Offload reference markers now live in a shared `offload-markers` module with locale-pinned size formatting.
|
|
1151
|
+
|
|
1152
|
+
CLI: tree-log delta checkpoints no longer re-embed compaction summary text on every save (summary ledger entries are the durable copy; materialization and `/tree` navigation rebuild them from the chain). Repeated offloads of identical output record one artifact entry. `read_offloaded_output` verifies content against the recorded sha256 and warns on mismatch. Tools rebuilt after a `/tools` or sandbox checkpoint change keep their offload wrapping. The unused artifact GC stub (which would have deleted still-readable legacy offload files) was removed.
|
|
1153
|
+
|
|
1154
|
+
- Updated dependencies [ad2dd30]
|
|
1155
|
+
- Updated dependencies [90a4707]
|
|
1156
|
+
- Updated dependencies [7027149]
|
|
1157
|
+
- Updated dependencies [df3a66d]
|
|
1158
|
+
- Updated dependencies [f07ceb8]
|
|
1159
|
+
- Updated dependencies [7d398a2]
|
|
1160
|
+
- Updated dependencies [92c6ae3]
|
|
1161
|
+
- Updated dependencies [518018a]
|
|
1162
|
+
- Updated dependencies [6ecce93]
|
|
1163
|
+
- Updated dependencies [2bb37c4]
|
|
1164
|
+
- Updated dependencies [c7bad37]
|
|
1165
|
+
- Updated dependencies [4e3999f]
|
|
1166
|
+
- Updated dependencies [6e53e7f]
|
|
1167
|
+
- @runtypelabs/sdk@4.10.0
|
|
1168
|
+
|
|
1169
|
+
## 2.17.0
|
|
1170
|
+
|
|
1171
|
+
### Minor Changes
|
|
1172
|
+
|
|
1173
|
+
- e60f98e: Marathon gains `/tree` and `/fork` at checkpoints: browse the session tree (branches recorded in the `<task>.tree.jsonl` log), switch the conversation head to any prior entry, or fork from an earlier user message and steer the new branch. The original timeline is never lost.
|
|
1174
|
+
- 96ec88a: Mid-run steering queue for marathon (Pi-style): press Enter while the agent is working to open a composer and queue a steering message. Queued steers end the in-flight session at the next local-tool pause and are delivered at the start of the next session; Tab toggles delivery to "after all work" (follow-up). `runTask` gains additive `getQueuedUserMessages` / `hasQueuedUserMessages` options.
|
|
1175
|
+
|
|
1176
|
+
### Patch Changes
|
|
1177
|
+
|
|
1178
|
+
- 727ce76: Fix headless API-key authentication: the CLI validated `RUNTYPE_API_KEY` (and `auth login --api-key` / `auth status`) against `/auth/me`, which only accepted Clerk sessions, so valid keys always fell through to interactive login. Key validation now probes `/users/profile`, `/auth/me` accepts API keys, and the CLI parses the endpoint's actual camelCase response shape.
|
|
1179
|
+
- d14293a: Marathon help panel documents the steering composer shortcuts and the `/tree` and `/fork` checkpoint commands.
|
|
1180
|
+
- aebb6c5: Marathon now mirrors every persisted state save into a tree-capable JSONL session log (`<task>.tree.jsonl`) recording the conversation as a parent-linked entry tree. Groundwork for `/fork` and `/tree`; no behavior change yet (the `.json` state file remains the source of truth for resume).
|
|
1181
|
+
- Updated dependencies [96ec88a]
|
|
1182
|
+
- @runtypelabs/sdk@4.9.0
|
|
1183
|
+
|
|
1184
|
+
## 2.16.20
|
|
1185
|
+
|
|
1186
|
+
### Patch Changes
|
|
1187
|
+
|
|
1188
|
+
- 849b346: Bump safe dependencies: radix-ui patch updates (react-avatar 1.1.12, react-slot 1.2.5), conf major (15.1.0, CLI tests green), cloud-run example Node 22→26
|
|
1189
|
+
|
|
1190
|
+
## 2.16.19
|
|
1191
|
+
|
|
1192
|
+
### Patch Changes
|
|
1193
|
+
|
|
1194
|
+
- Updated dependencies [15b4a2f]
|
|
1195
|
+
- Updated dependencies [698edda]
|
|
1196
|
+
- @runtypelabs/sdk@4.8.1
|
|
1197
|
+
|
|
1198
|
+
## 2.16.18
|
|
1199
|
+
|
|
1200
|
+
### Patch Changes
|
|
1201
|
+
|
|
1202
|
+
- 4756305: Bump @runtypelabs/persona from 3.29.1 to 3.31.0
|
|
1203
|
+
|
|
1204
|
+
## 2.16.17
|
|
1205
|
+
|
|
1206
|
+
### Patch Changes
|
|
1207
|
+
|
|
1208
|
+
- Updated dependencies [982da6c]
|
|
1209
|
+
- Updated dependencies [8aeda2c]
|
|
1210
|
+
- @runtypelabs/sdk@4.8.0
|
|
1211
|
+
|
|
1212
|
+
## 2.16.16
|
|
1213
|
+
|
|
1214
|
+
### Patch Changes
|
|
1215
|
+
|
|
1216
|
+
- f3ec545: Bump @runtypelabs/persona to 3.29.1 across consuming workspaces.
|
|
1217
|
+
|
|
1218
|
+
## 2.16.15
|
|
1219
|
+
|
|
1220
|
+
### Patch Changes
|
|
1221
|
+
|
|
1222
|
+
- 9e775c7: Route `persona init` snippet generation through the single source of truth — `generateCodeSnippet` from the pure `@runtypelabs/persona/codegen` subpath — instead of the hand-rolled copy in `persona-snippets.ts`. This retires the last divergent snippet generator: the CLI now emits the same install code the dashboard and MCP `generate_persona_embed_code` tool produce.
|
|
1223
|
+
|
|
1224
|
+
Behavior changes for `runtype persona init`:
|
|
1225
|
+
- `script-installer` carries the client token (and `--target` selector) in `data-config` and pins the CDN URL to the persona version (matching the dashboard), instead of the old `data-runtype-token` attribute with `@latest`.
|
|
1226
|
+
- `script-manual` now maps to Persona's real CDN global-script setup (previously mis-mapped to the heavier DOM-collecting `script-advanced`), and `esm` maps to the non-React ESM init.
|
|
1227
|
+
- `--target` is threaded through as the generator's mount-target option (added in `@runtypelabs/persona@3.29.0`), so it works across all formats without the CLI's own templating.
|
|
1228
|
+
|
|
1229
|
+
The pure `/codegen` subpath is bundled into the CLI (tsup `noExternal`), so no browser-SDK runtime (idiomorph/marked) is pulled into a user's install.
|
|
1230
|
+
|
|
1231
|
+
- Updated dependencies [2c12987]
|
|
1232
|
+
- @runtypelabs/sdk@4.7.1
|
|
1233
|
+
|
|
1234
|
+
## 2.16.14
|
|
1235
|
+
|
|
1236
|
+
### Patch Changes
|
|
1237
|
+
|
|
1238
|
+
- Updated dependencies [5d3eada]
|
|
1239
|
+
- Updated dependencies [6efd928]
|
|
1240
|
+
- Updated dependencies [6730e12]
|
|
1241
|
+
- @runtypelabs/sdk@4.7.0
|
|
1242
|
+
|
|
1243
|
+
## 2.16.13
|
|
1244
|
+
|
|
1245
|
+
### Patch Changes
|
|
1246
|
+
|
|
1247
|
+
- Updated dependencies [cf15960]
|
|
1248
|
+
- @runtypelabs/sdk@4.6.1
|
|
1249
|
+
|
|
1250
|
+
## 2.16.12
|
|
1251
|
+
|
|
1252
|
+
### Patch Changes
|
|
1253
|
+
|
|
1254
|
+
- Updated dependencies [e7eefe0]
|
|
1255
|
+
- @runtypelabs/sdk@4.6.0
|
|
1256
|
+
|
|
1257
|
+
## 2.16.11
|
|
1258
|
+
|
|
1259
|
+
### Patch Changes
|
|
1260
|
+
|
|
1261
|
+
- Updated dependencies [55eb091]
|
|
1262
|
+
- Updated dependencies [3f65083]
|
|
1263
|
+
- @runtypelabs/sdk@4.5.0
|
|
1264
|
+
|
|
1265
|
+
## 2.16.10
|
|
1266
|
+
|
|
1267
|
+
### Patch Changes
|
|
1268
|
+
|
|
1269
|
+
- Updated dependencies [59fd1b6]
|
|
1270
|
+
- @runtypelabs/sdk@4.4.0
|
|
1271
|
+
|
|
1272
|
+
## 2.16.9
|
|
1273
|
+
|
|
1274
|
+
### Patch Changes
|
|
1275
|
+
|
|
1276
|
+
- Updated dependencies [e133753]
|
|
1277
|
+
- Updated dependencies [26401de]
|
|
1278
|
+
- @runtypelabs/sdk@4.3.0
|
|
1279
|
+
|
|
1280
|
+
## 2.16.8
|
|
1281
|
+
|
|
1282
|
+
### Patch Changes
|
|
1283
|
+
|
|
1284
|
+
- Updated dependencies [52091ac]
|
|
1285
|
+
- Updated dependencies [0aa81ed]
|
|
1286
|
+
- @runtypelabs/sdk@4.2.0
|
|
1287
|
+
|
|
1288
|
+
## 2.16.7
|
|
1289
|
+
|
|
1290
|
+
### Patch Changes
|
|
1291
|
+
|
|
1292
|
+
- Updated dependencies [88d04d6]
|
|
1293
|
+
- Updated dependencies [2711b97]
|
|
1294
|
+
- Updated dependencies [ac87cbe]
|
|
1295
|
+
- Updated dependencies [84ab7da]
|
|
1296
|
+
- @runtypelabs/sdk@4.1.0
|
|
1297
|
+
|
|
1298
|
+
## 2.16.6
|
|
1299
|
+
|
|
1300
|
+
### Patch Changes
|
|
1301
|
+
|
|
1302
|
+
- e6efe4f: Bump several low-risk dependencies (combines the safe open Dependabot PRs) and drop one unused dependency:
|
|
1303
|
+
- `yaml` 2.8.3 → 2.9.0 (minor) in `@runtypelabs/api`, `@runtypelabs/cli`, and the workspace root
|
|
1304
|
+
- `@ai-sdk/xai` 3.0.91 → 3.0.93 (patch) in `@runtypelabs/api` and `@runtypelabs/model-execution`
|
|
1305
|
+
- Remove `react-day-picker` from `@runtypelabs/dashboard` entirely — it had no imports anywhere in the codebase, so rather than take the Dependabot v10 major bump we drop the dead dependency
|
|
1306
|
+
|
|
1307
|
+
Also bumps four GitHub Actions to their latest SHA-pinned releases (CI-only, no package impact): `actions/checkout` 6.0.2 → 6.0.3, `github/codeql-action` 4.36.0 → 4.36.1, `astral-sh/setup-uv` 8.1.0 → 8.2.0, and `changesets/action` 1.8.0 → 1.9.0.
|
|
1308
|
+
|
|
1309
|
+
- Updated dependencies [2e3a776]
|
|
1310
|
+
- @runtypelabs/sdk@4.0.4
|
|
1311
|
+
|
|
1312
|
+
## 2.16.5
|
|
1313
|
+
|
|
1314
|
+
### Patch Changes
|
|
1315
|
+
|
|
1316
|
+
- 31ef33f: FPO validation no longer short-circuits on a Zod schema failure. `validateProductObject` and the four `validate*Only` helpers now run the shared semantic validators on the parsed-where-possible object and merge their findings with the schema errors, so a single `validate_product` call surfaces schema AND semantic issues together. Zod `issue.code` discriminators are preserved (`SCHEMA_<CODE>`) instead of flattening everything to `SCHEMA_ERROR`.
|
|
1317
|
+
|
|
1318
|
+
The CLI's `runtype validate-product` is brought into parity with the API: its local `runValidation` applies the same schema/semantic merge and the same preserved `SCHEMA_<CODE>` mapping, so the CLI and `POST /v1/public/products/validate` return identical codes and finding sets for the same invalid FPO. Template schema failures (`validateFPOTemplate`) likewise preserve `SCHEMA_<CODE>`.
|
|
1319
|
+
|
|
1320
|
+
Duplicate-ID detection is collapsed to a single source of truth: it now lives only in the imperative `validateFPO` (so it still runs when the schema parse fails) and was removed from the `fullProductObjectSchema` `.superRefine`.
|
|
1321
|
+
|
|
1322
|
+
- da0df2b: Centralize FPO Zod schema issue mapping and schema-plus-semantic validation merging in the shared product-generation validators so the API, CLI, and template validator preserve `SCHEMA_<CODE>` validation codes consistently.
|
|
1323
|
+
- Updated dependencies [8f11ab5]
|
|
1324
|
+
- Updated dependencies [edf2b2a]
|
|
1325
|
+
- @runtypelabs/sdk@4.0.3
|
|
1326
|
+
|
|
1327
|
+
## 2.16.4
|
|
1328
|
+
|
|
1329
|
+
### Patch Changes
|
|
1330
|
+
|
|
1331
|
+
- Updated dependencies [d4ca2dd]
|
|
1332
|
+
- @runtypelabs/sdk@4.0.2
|
|
1333
|
+
|
|
1334
|
+
## 2.16.3
|
|
1335
|
+
|
|
1336
|
+
### Patch Changes
|
|
1337
|
+
|
|
1338
|
+
- Updated dependencies [a7cb0d9]
|
|
1339
|
+
- @runtypelabs/sdk@4.0.1
|
|
1340
|
+
|
|
1341
|
+
## 2.16.2
|
|
1342
|
+
|
|
1343
|
+
### Patch Changes
|
|
1344
|
+
|
|
1345
|
+
- 89b107f: feat(sdk): alias Flow/FlowStep/Tool from the OpenAPI spec; fix flow + tool response-schema drift
|
|
1346
|
+
|
|
1347
|
+
Continues the OpenAPI codegen swap (after #3645/#3665). Three coupled changes that all touch `entities.ts` + the regenerated spec + SDK `types.ts`:
|
|
1348
|
+
- **Flow phantom fix (API spec accuracy):** the flow `GET`/`LIST`/`POST` response schemas advertised a `status` field the handlers stopped returning (removed in #3404), and the shared detail schema carried a `draftVersionId` that only the `PUT` handler returns. Removed `status` everywhere and split a dedicated `UpdatedFlowResponseSchema` (`FlowDetailSchema.extend({ draftVersionId })`) for the update route so `GET`/`POST` no longer promise it.
|
|
1349
|
+
- **Tool schema split:** `GET /v1/tools/{id}` never attaches `validation` (only create/update/convert do, when custom-tool code produces warnings). Split `ToolDetailSchema` (base, GET) from `ToolWithValidationSchema` (create/update/convert).
|
|
1350
|
+
- **SDK aliases:** `Flow`, `FlowStep`, and `Tool` are now `paths[...]`-derived from the generated spec instead of hand-written interfaces. Added a `FlowListItem` alias for the lighter `GET /v1/flows` list item and retyped `flows.list()` to `PaginationResponse<FlowListItem>` (it was incorrectly typed as the detail shape). `FlowListItem` is named to avoid colliding with the flow-execution `FlowSummary` already exported by `flow-builder.ts`.
|
|
1351
|
+
|
|
1352
|
+
This is a **major** bump for `@runtypelabs/sdk` because the generated shapes are looser/more accurate than the old interfaces: the GET flow detail no longer carries `status`/`description`, flow steps have optional `name`/`order`/`enabled`/`config`, the tool GET shape drops `validation`, and tool `config`/`parametersSchema` are typed as the JSONB records the API actually returns. Dashboard and CLI consumers are updated in lockstep.
|
|
1353
|
+
|
|
1354
|
+
- Updated dependencies [c3536a2]
|
|
1355
|
+
- Updated dependencies [8fefe6f]
|
|
1356
|
+
- Updated dependencies [a0b30f3]
|
|
1357
|
+
- Updated dependencies [aa97266]
|
|
1358
|
+
- Updated dependencies [42979fc]
|
|
1359
|
+
- Updated dependencies [55d5817]
|
|
1360
|
+
- Updated dependencies [89b107f]
|
|
1361
|
+
- Updated dependencies [e1a4368]
|
|
1362
|
+
- Updated dependencies [af80a8a]
|
|
1363
|
+
- @runtypelabs/sdk@4.0.0
|
|
1364
|
+
|
|
1365
|
+
## 2.16.1
|
|
1366
|
+
|
|
1367
|
+
### Patch Changes
|
|
1368
|
+
|
|
1369
|
+
- 53bfe49: Let dispatch stream callbacks infer their event types from the SDK's `StreamCallbacks` instead of hard-coding narrower param shapes, so they stay compatible with the spec-derived streaming event union.
|
|
1370
|
+
- Updated dependencies [53bfe49]
|
|
1371
|
+
- @runtypelabs/sdk@3.0.0
|
|
1372
|
+
|
|
1373
|
+
## 2.16.0
|
|
1374
|
+
|
|
1375
|
+
### Minor Changes
|
|
1376
|
+
|
|
1377
|
+
- 1a29b74: Expand the CLI to cover more of the API: add secrets, tools, logs, conversations, integrations, and surfaces commands; add update (and create/delete) verbs to flows, agents, records, prompts, and schedules; add batch summary/cost inspection and products list/get.
|
|
1378
|
+
- 75c7cbd: CLI consistency polish: standardize output and pagination flags, bump Node engine
|
|
1379
|
+
- Unify the `--json` flag description to `Output as JSON` across commands and the
|
|
1380
|
+
root program (semantically distinct variants on `tail`, `agents task`, and
|
|
1381
|
+
`persona init` are intentionally preserved).
|
|
1382
|
+
- Standardize pagination flags on list commands whose API supports cursor
|
|
1383
|
+
pagination: `--limit <n>` + `--cursor <cursor>`, with an actionable
|
|
1384
|
+
"fetch the next page with `--cursor …`" hint when more results exist.
|
|
1385
|
+
- Added to: `flows`, `prompts`, `records`, `agents`, `schedules`,
|
|
1386
|
+
`conversations`, `tools`, `products`.
|
|
1387
|
+
- `--limit` has no forced default — when omitted, the API's own page size
|
|
1388
|
+
applies (avoids silently shrinking existing default result counts).
|
|
1389
|
+
- `conversations`/`tools` previously printed a dead-end "pass ?limit and
|
|
1390
|
+
?cursor" hint without exposing the flags; they now work.
|
|
1391
|
+
- Add shared `buildListParams` / `printNextCursorHint` helpers in `lib/output.ts`
|
|
1392
|
+
(normalizing the `nextCursor`/`cursor` and `hasMore`/`hasNextPage` response
|
|
1393
|
+
variants) and adopt them in `surfaces` and `logs`, replacing hand-rolled query
|
|
1394
|
+
builders and inline hints (also fixes a `surfaces` hint that rendered a trailing
|
|
1395
|
+
space when no cursor was present).
|
|
1396
|
+
- Bump `engines.node` from `>=18.0.0` to `>=22.0.0` for `@runtypelabs/cli`,
|
|
1397
|
+
`@runtypelabs/sdk`, `@runtypelabs/ink-components`, and
|
|
1398
|
+
`@runtypelabs/terminal-animations`. Node 18 is EOL; 22 is the current LTS. (The
|
|
1399
|
+
repo root requires `>=24`, but these are published/consumer-installed packages,
|
|
1400
|
+
so the floor is held at the current LTS rather than the dev-toolchain version.)
|
|
1401
|
+
|
|
1402
|
+
- 4c5d416: Add `runtype skills` command and a one-time prompt to install Runtype agent skills into detected AI coding agents (Claude Code, Cursor, Codex, OpenCode, Copilot, Gemini CLI, …). Detection and installation are delegated to `rosie-skills`, pulling skills from the public `runtypelabs/skills` mirror. `runtype skills list` shows detected agents; `runtype skills install` installs (with `--agent`, `--yes`, `--json` for non-interactive use). The passive offer fires once per machine on the first interactive, non-CI command run.
|
|
1403
|
+
|
|
1404
|
+
### Patch Changes
|
|
1405
|
+
|
|
1406
|
+
- 64f7081: Fix `flows create` so `--name` and `--description` override values loaded from `--from-file` instead of being silently dropped (consistent with the update commands).
|
|
1407
|
+
- 3b357cc: Route all CLI API access through the SDK client instead of a hand-rolled raw HTTP client. Every command now constructs a configured `@runtypelabs/sdk` client via `createCliClient`, using typed endpoint methods (e.g. `client.flows.list()`) where available and the SDK's generic methods elsewhere. This makes the SDK the CLI's single source of truth for the API surface, so the CLI stops drifting behind the API, and a new `runtype/cli-use-sdk` lint rule prevents reintroducing a parallel raw client. The CLI client disables request timeouts by default for long-running executions via the SDK's new `timeout: null` support. Also fixes two latent bugs surfaced during the migration: `flows run --no-stream` now correctly requests a non-streamed response (`options.streamResponse`), and `flows get` displays the step count from the actual `flowSteps`/`stepCount` response fields.
|
|
1408
|
+
- 91df87d: Fix marathon stream session/cost/token totals for single-turn agents now that agent_iteration_complete is no longer emitted — derive sessionCount and final totals from agent_complete.
|
|
1409
|
+
- 422b660: Route CLI delete-by-id resource commands through the SDK's typed endpoint methods (`client.<resource>.delete(id)`) instead of generic string-path calls, gaining compile-time API-contract checking. Covers agents, api-keys, client-tokens, conversations, prompts, records, schedules, secrets, and tools. List, get, create, update, and streaming calls intentionally remain on the SDK's sanctioned generic methods, since their call sites consume CLI-local summary interfaces that diverge structurally from the SDK entity types (migrating them would require disallowed casts).
|
|
1410
|
+
- Updated dependencies [75c7cbd]
|
|
1411
|
+
- Updated dependencies [3b357cc]
|
|
1412
|
+
- Updated dependencies [f676234]
|
|
1413
|
+
- @runtypelabs/sdk@2.2.0
|
|
1414
|
+
- @runtypelabs/ink-components@0.3.2
|
|
1415
|
+
- @runtypelabs/terminal-animations@0.2.1
|
|
1416
|
+
|
|
1417
|
+
## 2.15.6
|
|
1418
|
+
|
|
1419
|
+
### Patch Changes
|
|
1420
|
+
|
|
1421
|
+
- Updated dependencies [3b6779b]
|
|
1422
|
+
- @runtypelabs/sdk@2.1.1
|
|
1423
|
+
|
|
1424
|
+
## 2.15.5
|
|
1425
|
+
|
|
1426
|
+
### Patch Changes
|
|
1427
|
+
|
|
1428
|
+
- Updated dependencies [7d37b2f]
|
|
1429
|
+
- @runtypelabs/sdk@2.1.0
|
|
1430
|
+
|
|
1431
|
+
## 2.15.4
|
|
1432
|
+
|
|
1433
|
+
### Patch Changes
|
|
1434
|
+
|
|
1435
|
+
- Updated dependencies [89dc476]
|
|
1436
|
+
- @runtypelabs/sdk@2.0.1
|
|
1437
|
+
|
|
1438
|
+
## 2.15.3
|
|
1439
|
+
|
|
1440
|
+
### Patch Changes
|
|
1441
|
+
|
|
1442
|
+
- 1da2af7: Fix MCP OAuth2 dynamic client registration for servers that return non-standard field types (e.g. PlanetScale returning `client_secret_expires_at` as a non-number)
|
|
1443
|
+
- dc704fb: Remove the unused `status` lifecycle field from Flows and Agents (Option A from the status-field planning doc). The field gated nothing at runtime — dispatch always ran the live config row — and conflated lifecycle and draft/publish concerns. Dropped the `flows.status` and `agents.status` columns (and their now-redundant indexes), removed `status` from the REST list/create/update routes, the SDK `Flow` type, the MCP create/update agent + flow tools and list filters, the FPO agent schema, and the dashboard status pill/selectors.
|
|
1444
|
+
|
|
1445
|
+
Breaking: API responses for flows/agents no longer include `status`; the create/update endpoints and MCP tools no longer accept it; `Flow.status` is removed from `@runtypelabs/sdk`. Surface status, product status, and execution/run status are unaffected. Draft vs. published is now owned entirely by the versioning system.
|
|
1446
|
+
|
|
1447
|
+
- Updated dependencies [fed76a8]
|
|
1448
|
+
- Updated dependencies [102e70b]
|
|
1449
|
+
- Updated dependencies [cd6d918]
|
|
1450
|
+
- Updated dependencies [dc704fb]
|
|
1451
|
+
- Updated dependencies [95df762]
|
|
1452
|
+
- @runtypelabs/sdk@2.0.0
|
|
1453
|
+
|
|
1454
|
+
## 2.15.2
|
|
1455
|
+
|
|
1456
|
+
### Patch Changes
|
|
1457
|
+
|
|
1458
|
+
- Updated dependencies [bade11f]
|
|
1459
|
+
- Updated dependencies [6fbe4ed]
|
|
1460
|
+
- @runtypelabs/sdk@1.24.2
|
|
1461
|
+
|
|
1462
|
+
## 2.15.1
|
|
1463
|
+
|
|
1464
|
+
### Patch Changes
|
|
1465
|
+
|
|
1466
|
+
- Updated dependencies [d659976]
|
|
1467
|
+
- Updated dependencies [0442e36]
|
|
1468
|
+
- @runtypelabs/sdk@1.24.1
|
|
1469
|
+
|
|
1470
|
+
## 2.15.0
|
|
1471
|
+
|
|
1472
|
+
### Minor Changes
|
|
1473
|
+
|
|
1474
|
+
- d4bffd9: Add `--target cloudflare` and `--target vercel` to `runtype deploy`, and fix `applyParameterMapping` target-key collision in the api
|
|
1475
|
+
|
|
1476
|
+
**CLI (`@runtypelabs/cli`)**
|
|
1477
|
+
|
|
1478
|
+
`runtype deploy` now accepts `--target <cloud-run|cloudflare|vercel>` (default: `cloud-run`).
|
|
1479
|
+
- `--target cloudflare` scaffolds a Cloudflare Workers project: raw `fetch` handler with `CloudflareAdapter`, one static JSON import per agent slug (required because Workers has no `fs` access — Wrangler bundles them at deploy time), `wrangler.toml`, `setup.sh` (pnpm pack + `file:` rewrite pattern), and a `README.md` with `wrangler secret put` instructions.
|
|
1480
|
+
- `--target vercel` scaffolds a Vercel Functions project: Hono + `hono/vercel` catch-all route with `VercelAdapter`, static JSON imports, `vercel.json` (60 s maxDuration), `setup.sh`, and a `README.md` with `vercel env add` instructions.
|
|
1481
|
+
- `--target cloud-run` (default) is unchanged.
|
|
1482
|
+
- Unknown `--target` values exit with an actionable error.
|
|
1483
|
+
|
|
1484
|
+
**API (`@runtypelabs/api`)**
|
|
1485
|
+
|
|
1486
|
+
Fixed a target-key collision bug in both copies of `applyParameterMapping`:
|
|
1487
|
+
- `apps/api/src/services/tool-executor.ts` (private method)
|
|
1488
|
+
- `apps/api/src/lib/flow-execution/engine.ts` (public method)
|
|
1489
|
+
|
|
1490
|
+
With `parameterMapping = { foo: 'bar' }` and the model supplying `{ foo: 'A', bar: 'B' }`, the passthrough loop's `!(key in parameterMapping)` check only tested source keys, so the raw `bar: 'B'` overwrote the renamed `bar: 'A'`. Fix: pre-compute a `Set` of cleaned target key names and skip passthrough for keys in that set so the rename always wins. Regression test added to `apps/api/tests/parameter-mapping.test.ts`.
|
|
1491
|
+
|
|
1492
|
+
### Patch Changes
|
|
1493
|
+
|
|
1494
|
+
- Updated dependencies [761dd74]
|
|
1495
|
+
- @runtypelabs/sdk@1.24.0
|
|
1496
|
+
|
|
1497
|
+
## 2.14.0
|
|
1498
|
+
|
|
1499
|
+
### Minor Changes
|
|
1500
|
+
|
|
1501
|
+
- ed8ad80: Add versioning to agents (mirrors flow versioning). New `agent_versions` table, `published_version_id` / `draft_version_id` pointers on agents, audit pointer on `agent_executions`. New `/v1/agent-versions` API, `list_agent_versions` / `get_agent_version` / `get_published_agent_version` / `publish_agent_version` MCP tools, `runtype agent-versions` CLI subcommands, and an Agent Versions dashboard sheet for browsing/restoring history. Flow and agent versioning now share a generic `version-service-factory` with retry-on-conflict, and version snapshot creation is best-effort so a snapshot failure cannot fail the underlying agent save.
|
|
1502
|
+
|
|
1503
|
+
## 2.13.0
|
|
1504
|
+
|
|
1505
|
+
### Minor Changes
|
|
1506
|
+
|
|
1507
|
+
- a97d521: Add `runtype deploy` CLI command: exports an agent or flow via the `/export-runtime` API and scaffolds a ready-to-deploy Cloud Run project directory with `server.ts`, `Dockerfile`, `tsconfig.json`, `package.json`, `setup.sh`, and `README.md`. The runtime package is wired as a `file:` tarball (private distribution model preserved).
|
|
1508
|
+
|
|
1509
|
+
### Patch Changes
|
|
1510
|
+
|
|
1511
|
+
- Updated dependencies [96b2f28]
|
|
1512
|
+
- Updated dependencies [5b7e3fe]
|
|
1513
|
+
- @runtypelabs/sdk@1.23.0
|
|
1514
|
+
|
|
1515
|
+
## 2.12.8
|
|
1516
|
+
|
|
1517
|
+
### Patch Changes
|
|
1518
|
+
|
|
1519
|
+
- Updated dependencies [de7f600]
|
|
1520
|
+
- @runtypelabs/sdk@1.22.0
|
|
1521
|
+
|
|
1522
|
+
## 2.12.7
|
|
1523
|
+
|
|
1524
|
+
### Patch Changes
|
|
1525
|
+
|
|
1526
|
+
- 7542451: Address `/review` findings on the schedules pagination work:
|
|
1527
|
+
- Internal MCP client (`apps/api/src/lib/mcp-internal-client.ts`) now forwards `search` and `status` to `GET /v1/schedules`. Previously the public `RuntypeApiClient` and the Code-Mode executor forwarded these new filter params, but the internal client (used by the API's own `/api/mcp` endpoint) silently dropped them — so `list_schedules({ search, status })` returned unfiltered results.
|
|
1528
|
+
- CLI `runtype schedules list` (non-TTY / `--json` path) now prints a yellow warning when `pagination.hasMore` is true, telling the user they're seeing only the first N results. Matches the existing API `Warning: 199` header signal so users with >50 schedules know to paginate instead of silently losing rows.
|
|
1529
|
+
- Code-Mode MCP spec example for `listSchedules` now destructures `const { data: schedules } = ...` (was `const { schedules }`, which was always `undefined` — the API returns `{ data, pagination }`). The `returns:` description was also updated to match. Other `list*` examples in `spec.ts` have the same pre-existing key mismatch and are out of scope here.
|
|
1530
|
+
|
|
1531
|
+
## 2.12.6
|
|
1532
|
+
|
|
1533
|
+
### Patch Changes
|
|
1534
|
+
|
|
1535
|
+
- Updated dependencies [569e7d5]
|
|
1536
|
+
- @runtypelabs/sdk@1.21.3
|
|
1537
|
+
|
|
1538
|
+
## 2.12.5
|
|
1539
|
+
|
|
1540
|
+
### Patch Changes
|
|
1541
|
+
|
|
1542
|
+
- 2a11be5: Enforce strict TypeScript checking across all projects in CI
|
|
1543
|
+
- Updated dependencies [b3a580e]
|
|
1544
|
+
- @runtypelabs/sdk@1.21.2
|
|
1545
|
+
|
|
1546
|
+
## 2.12.4
|
|
1547
|
+
|
|
1548
|
+
### Patch Changes
|
|
1549
|
+
|
|
1550
|
+
- d05fa77: Add a `name` column to schedules, snapshotted server-side from the target flow or agent at create time and re-snapshotted whenever the target changes. The dashboard table and detail sheet now read `s.name` directly instead of looking up the target name on every render. Existing rows are backfilled in the migration. The column is server-managed — clients cannot override it via REST or MCP. The snapshot helper (`snapshotScheduleTargetName`) is ownership-scoped via `ownershipFilter`, so a target flow/agent the caller does not own resolves to a generic 404 — closing both a cross-org name-disclosure leak and a flow-existence enumeration oracle on `PUT /v1/schedules/:id`. All three insert sites for `flow_schedules` (the public schedules route, the product-surfaces schedules route, and the FPO product assembly path) now share the helper and persist a populated `name`. The `create_schedule` and `update_schedule` MCP tool descriptions document the snapshot behavior. The CLI `schedules create` subcommand was already broken (wrong payload shape and a `--name` flag the API never honored); fixed to emit the correct `target` / `trigger` envelope and dropped the dead `--name` flag in favor of a now-required `--timezone`.
|
|
1551
|
+
- Updated dependencies [c5e0c1d]
|
|
1552
|
+
- @runtypelabs/sdk@1.21.1
|
|
1553
|
+
|
|
1554
|
+
## 2.12.3
|
|
1555
|
+
|
|
1556
|
+
### Patch Changes
|
|
1557
|
+
|
|
1558
|
+
- a8f5949: Remove dotenv dependency from CLI (inline minimal .env loader) and move to devDependencies in api
|
|
1559
|
+
|
|
1560
|
+
## 2.12.2
|
|
1561
|
+
|
|
1562
|
+
### Patch Changes
|
|
1563
|
+
|
|
1564
|
+
- Updated dependencies [5190fd0]
|
|
1565
|
+
- @runtypelabs/sdk@1.21.0
|
|
1566
|
+
|
|
1567
|
+
## 2.12.1
|
|
1568
|
+
|
|
1569
|
+
### Patch Changes
|
|
1570
|
+
|
|
1571
|
+
- Updated dependencies [f777029]
|
|
1572
|
+
- @runtypelabs/sdk@1.20.0
|
|
1573
|
+
|
|
1574
|
+
## 2.12.0
|
|
1575
|
+
|
|
1576
|
+
### Minor Changes
|
|
1577
|
+
|
|
1578
|
+
- f519af1: Rename 'cloudflare-sandbox' to 'runtype-sandbox' across all customer-facing and internal interfaces. Old value accepted for backwards compatibility.
|
|
1579
|
+
|
|
1580
|
+
## 2.11.8
|
|
1581
|
+
|
|
1582
|
+
### Patch Changes
|
|
1583
|
+
|
|
1584
|
+
- 54dee3e: Build `@runtypelabs/shared` with tsup as dual ESM+CJS and declare `"sideEffects": false`. The React-importing `use-flow-execution-streaming` hook is moved out of the main barrel into its own subpath export (`@runtypelabs/shared/hooks/use-flow-execution-streaming`), so Next.js Server Component bundles no longer transitively load React. The CLI switches from deep `dist/*` imports to barrel imports; the runtype-ai worker switches from `src/*` deep import to barrel import.
|
|
1585
|
+
|
|
1586
|
+
## 2.11.7
|
|
1587
|
+
|
|
1588
|
+
### Patch Changes
|
|
1589
|
+
|
|
1590
|
+
- db40ddb: Support OAuth 2.1 client ID metadata document flow for MCP server connections
|
|
1591
|
+
|
|
1592
|
+
When an MCP server's OAuth authorization server advertises `client_id_metadata_document_supported: true`, the API now uses a hosted client metadata document URL as the `client_id` instead of attempting Dynamic Client Registration (DCR). This fixes 403 errors when connecting to servers like Airtable that block server-to-server DCR from Cloudflare Worker IPs. The mock API also gains MCP OAuth2 test endpoints for validating both flows.
|
|
1593
|
+
|
|
1594
|
+
- Updated dependencies [7712f0d]
|
|
1595
|
+
- @runtypelabs/sdk@1.19.1
|
|
1596
|
+
|
|
1597
|
+
## 2.11.6
|
|
1598
|
+
|
|
1599
|
+
### Patch Changes
|
|
1600
|
+
|
|
1601
|
+
- Updated dependencies [e6d59df]
|
|
1602
|
+
- @runtypelabs/sdk@1.19.0
|
|
1603
|
+
|
|
1604
|
+
## 2.11.5
|
|
1605
|
+
|
|
1606
|
+
### Patch Changes
|
|
1607
|
+
|
|
1608
|
+
- 0bed197: Expose GPT Image 2 as a built-in image generation tool and route legacy DALL-E tool usage through GPT Image 2 with token-based pricing.
|
|
1609
|
+
|
|
1610
|
+
## 2.11.4
|
|
1611
|
+
|
|
1612
|
+
### Patch Changes
|
|
1613
|
+
|
|
1614
|
+
- Updated dependencies [778a8be]
|
|
1615
|
+
- @runtypelabs/sdk@1.18.1
|
|
1616
|
+
|
|
1617
|
+
## 2.11.3
|
|
1618
|
+
|
|
1619
|
+
### Patch Changes
|
|
1620
|
+
|
|
1621
|
+
- Updated dependencies [e886078]
|
|
1622
|
+
- Updated dependencies [e6fcbe6]
|
|
1623
|
+
- Updated dependencies [94261ac]
|
|
1624
|
+
- Updated dependencies [91db7b9]
|
|
1625
|
+
- Updated dependencies [7070cfb]
|
|
1626
|
+
- @runtypelabs/sdk@1.18.0
|
|
1627
|
+
|
|
1628
|
+
## 2.11.2
|
|
1629
|
+
|
|
1630
|
+
### Patch Changes
|
|
1631
|
+
|
|
1632
|
+
- 92cd427: Bump @vercel/analytics to v2.0.1; remove unused uuid dependency from CLI
|
|
1633
|
+
|
|
1634
|
+
## 2.11.1
|
|
1635
|
+
|
|
1636
|
+
### Patch Changes
|
|
1637
|
+
|
|
1638
|
+
- Updated dependencies [28f126c]
|
|
1639
|
+
- @runtypelabs/sdk@1.17.1
|
|
1640
|
+
|
|
1641
|
+
## 2.11.0
|
|
1642
|
+
|
|
1643
|
+
### Minor Changes
|
|
1644
|
+
|
|
1645
|
+
- ed60fc9: Add GCP-style `?account=<clerk_id>` deep-link support to the dashboard. The parameter auto-switches the active Clerk organization (`org_...`) or personal account (`user_...`) on page load, with membership validation and a signed-in-as-wrong-user recovery screen. MCP tools, CLI output, API OAuth callbacks, and billing notification emails now include `account=` in dashboard URLs when the authenticated context is known, so recipients land in the right account regardless of which one is currently active in their browser.
|
|
1646
|
+
|
|
1647
|
+
### Patch Changes
|
|
1648
|
+
|
|
1649
|
+
- Updated dependencies [060278a]
|
|
1650
|
+
- @runtypelabs/sdk@1.17.0
|
|
1651
|
+
|
|
1652
|
+
## 2.10.9
|
|
1653
|
+
|
|
1654
|
+
### Patch Changes
|
|
1655
|
+
|
|
1656
|
+
- Updated dependencies [23b42c8]
|
|
1657
|
+
- @runtypelabs/sdk@1.16.0
|
|
1658
|
+
|
|
1659
|
+
## 2.10.8
|
|
1660
|
+
|
|
1661
|
+
### Patch Changes
|
|
1662
|
+
|
|
1663
|
+
- ce93ba6: Fix CLI vitest failing on cold checkout by aliasing `@runtypelabs/shared/dist` to the shared package source. Tests no longer require shared to be pre-built.
|
|
1664
|
+
- 60dbf93: Improve `deploy_sandbox` on the Cloudflare Sandbox provider: auto-create parent directories when writing nested `files` entries, reject reserved port 3000 up front with a clear message, default to port 8080, and return a `stage` field plus captured stdout/stderr in `output` on failure for easier debugging.
|
|
1665
|
+
- Updated dependencies [60dbf93]
|
|
1666
|
+
- @runtypelabs/sdk@1.15.3
|
|
1667
|
+
|
|
1668
|
+
## 2.10.7
|
|
1669
|
+
|
|
1670
|
+
### Patch Changes
|
|
1671
|
+
|
|
1672
|
+
- 5e438d2: Bump Marathon TUI tool preview truncation from 48 to 96 chars so preview URLs (e.g. sandbox `runtype.run` links) render more usefully in tool output.
|
|
1673
|
+
|
|
1674
|
+
## 2.10.6
|
|
1675
|
+
|
|
1676
|
+
### Patch Changes
|
|
1677
|
+
|
|
1678
|
+
- Updated dependencies [64dfdb5]
|
|
1679
|
+
- @runtypelabs/sdk@1.15.2
|
|
1680
|
+
|
|
1681
|
+
## 2.10.5
|
|
1682
|
+
|
|
1683
|
+
### Patch Changes
|
|
1684
|
+
|
|
1685
|
+
- 4271b9a: Replace stale `meta/llama3.1-8b-instruct-free` defaults across dashboard onboarding, magic buttons, schedule/cron assistants, marketing demo flow + allowlist, usage-stats mock data, smoke-test templates, and integration tests.
|
|
1686
|
+
|
|
1687
|
+
Runtime code (dashboard, marketing, usage-stats, CLI README) imports `DEFAULT_MODEL_ID` from `@runtypelabs/shared` (currently `qwen/qwen3.5-9b`) so it tracks whatever model is marked as the new-account default. Tests, smoke-test JSON templates, bruno fixtures, and eval configs pin to `google/gemma-4-26b-a4b-it` so test behavior doesn't silently shift when the default rotates.
|
|
1688
|
+
|
|
1689
|
+
The deprecated model stays in the catalog so existing saved configs still resolve — this is pure noise cleanup so newly-created surfaces no longer suggest a deprecated model.
|
|
1690
|
+
|
|
1691
|
+
- 4dd8b2d: Fix `Dynamic require of "react" is not supported` at CLI startup by importing `DEFAULT_MODEL_ID` from the `@runtypelabs/shared/dist/default-models` subpath instead of the barrel. The shared barrel re-exports a React hook; bundling it into the CLI's ESM output left `require('react')` in the dist and broke every command (including `marathon`) since the import runs at startup. Adds an ESLint `no-restricted-imports` rule and a `node dist/index.js --version` CI smoke test to prevent regressions.
|
|
1692
|
+
|
|
1693
|
+
## 2.10.4
|
|
1694
|
+
|
|
1695
|
+
### Patch Changes
|
|
1696
|
+
|
|
1697
|
+
- 43806a4: Migrate FALLBACK_MODEL and all default-model literals from `meta/llama3.1-8b-instruct-free` to `DEFAULT_MODEL_ID` (currently `qwen/qwen3.5-9b`). Updates DB schema defaults (new prompts get the modern default; drizzle migration `0019_parched_cyclops.sql` updates the `ALTER COLUMN ... SET DEFAULT`). The old model remains in `DEPRECATED_MODELS` so existing references continue to resolve.
|
|
1698
|
+
|
|
1699
|
+
## 2.10.3
|
|
1700
|
+
|
|
1701
|
+
### Patch Changes
|
|
1702
|
+
|
|
1703
|
+
- Updated dependencies [ca82595]
|
|
1704
|
+
- @runtypelabs/sdk@1.15.1
|
|
1705
|
+
|
|
1706
|
+
## 2.10.2
|
|
1707
|
+
|
|
1708
|
+
### Patch Changes
|
|
1709
|
+
|
|
1710
|
+
- 16f49e2: Re-publish `@runtypelabs/cli` to npm. Previous Version Packages merges (#2217 / #2219 / #2223 / #2236 / #2247) skipped the publish step due to a stuck ignored-only changeset in `.changeset/`, so versions 2.9.0 / 2.9.1 / 2.10.0 were tagged in the repo but never pushed to npm. This changeset forces a new Version Packages PR that, when merged, drains the queue.
|
|
1711
|
+
|
|
1712
|
+
## 2.10.1
|
|
1713
|
+
|
|
1714
|
+
### Patch Changes
|
|
1715
|
+
|
|
1716
|
+
- 2e144ac: Include `cloudflare-sandbox` in the `runtype marathon --sandbox` invalid-value error message so the hint matches the providers actually accepted by `parseSandboxProvider`.
|
|
1717
|
+
|
|
1718
|
+
## 2.10.0
|
|
1719
|
+
|
|
1720
|
+
### Minor Changes
|
|
1721
|
+
|
|
1722
|
+
- 2820927: Replace the `cloudflare-shell` sandbox provider with `cloudflare-sandbox`, backed by `@cloudflare/sandbox`.
|
|
1723
|
+
- `sandboxProvider` on transform-data steps and custom runtime tools accepts `'cloudflare-sandbox'` instead of `'cloudflare-shell'`.
|
|
1724
|
+
- New `CloudflareSandboxDO` container-backed Durable Object replaces `ShellSandboxDO`. Each sandbox is a full Linux computer (Node 22, Python 3.12, pnpm, tsx, uv, git) with snapshot-backed persistence, preview URLs, and Active-CPU pricing.
|
|
1725
|
+
- New routes: `POST /tools/sandbox/cf-sandbox/deploy` and `DELETE /tools/sandbox/cf-sandbox/:sandboxId`. The old `cf-shell` routes are removed.
|
|
1726
|
+
- SDK: `deployCfShell` / `cleanupCfShell` renamed to `deployCfSandbox` / `cleanupCfSandbox`. `DeployCfShellRequest` / `DeployCfShellResponse` renamed to `DeployCfSandboxRequest` / `DeployCfSandboxResponse`.
|
|
1727
|
+
- CLI: `createDeployCfShellLocalTool` / `cleanupCfShellWorkers` renamed to `createDeployCfSandboxLocalTool` / `cleanupCfSandboxes`. Python is now a supported language for Cloudflare Sandbox.
|
|
1728
|
+
- Infrastructure: wrangler migration `v7` drops `ShellSandboxDO` and adds `CloudflareSandboxDO`. `SHELL_STORAGE` R2 binding renamed to `SANDBOX_STORAGE`. Requires Workers Paid + Containers add-on on the Cloudflare account.
|
|
1729
|
+
|
|
1730
|
+
Breaking change: any caller passing `sandboxProvider: 'cloudflare-shell'` must switch to `'cloudflare-sandbox'`. There was no production usage of the old provider, so the impact is limited to internal testing.
|
|
1731
|
+
|
|
1732
|
+
### Patch Changes
|
|
1733
|
+
|
|
1734
|
+
- Updated dependencies [2820927]
|
|
1735
|
+
- @runtypelabs/sdk@1.15.0
|
|
1736
|
+
|
|
1737
|
+
## 2.9.1
|
|
1738
|
+
|
|
1739
|
+
### Patch Changes
|
|
1740
|
+
|
|
1741
|
+
- 3ab8900: Auto-validate every FPO and FPO template under `docs/templates/` as part of the CLI test suite. The new `packages/cli/test/integration/published-templates.test.ts` discovers all `*.json` files recursively, skips `flows/**` (flow exports are a different artifact type) and `_`-prefixed files (drafts), and asserts each one validates cleanly via the same `detectKind` + `runValidation` functions `runtype validate-product` uses. Moved `autonomous-research-content-pipeline.json` into `docs/templates/flows/` so the FPO glob is unambiguous. See `docs/templates/README.md` for the directory conventions.
|
|
1742
|
+
|
|
1743
|
+
## 2.9.0
|
|
1744
|
+
|
|
1745
|
+
### Minor Changes
|
|
1746
|
+
|
|
1747
|
+
- 50eb108: Add `runtype validate-product` command that validates FPOs (Full Product Objects) and FPO templates locally using the shared validators. Accepts a file path, raw JSON, or stdin; auto-detects FPO vs template; supports `--json`, `--quiet`, `--fpo`, and `--template` flags. Surfaces template default-resolution errors (e.g. required variables without defaults). Exits 0 when valid, 1 on errors or IO failure.
|
|
1748
|
+
|
|
1749
|
+
## 2.8.5
|
|
1750
|
+
|
|
1751
|
+
### Patch Changes
|
|
1752
|
+
|
|
1753
|
+
- Updated dependencies [799f8db]
|
|
1754
|
+
- @runtypelabs/sdk@1.14.1
|
|
1755
|
+
|
|
1756
|
+
## 2.8.4
|
|
1757
|
+
|
|
1758
|
+
### Patch Changes
|
|
1759
|
+
|
|
1760
|
+
- Updated dependencies [040c7e8]
|
|
1761
|
+
- @runtypelabs/sdk@1.14.0
|
|
1762
|
+
|
|
1763
|
+
## 2.8.3
|
|
1764
|
+
|
|
1765
|
+
### Patch Changes
|
|
1766
|
+
|
|
1767
|
+
- ca1921e: fix: show error state for failed marathon sessions in TUI
|
|
1768
|
+
- Display error message in Overview tab when viewing a session that ended with an error (e.g., context_length_exceeded)
|
|
1769
|
+
- Show error indicator on session tabs: "Run N ✗" for errors, "Run N $" for budget exceeded
|
|
1770
|
+
- Thread error messages through session snapshots so they persist and display on resume
|
|
1771
|
+
- Fix live session snapshot to recognize error phase instead of showing blank screen
|
|
1772
|
+
|
|
1773
|
+
## 2.8.2
|
|
1774
|
+
|
|
1775
|
+
### Patch Changes
|
|
1776
|
+
|
|
1777
|
+
- 24626bc: fix: show error state for failed marathon sessions in TUI
|
|
1778
|
+
- Display error message in Overview tab when viewing a session that ended with an error (e.g., context_length_exceeded)
|
|
1779
|
+
- Show error indicator on session tabs: "Run N ✗" for errors, "Run N $" for budget exceeded
|
|
1780
|
+
- Thread error messages through session snapshots so they persist and display on resume
|
|
1781
|
+
- Fix live session snapshot to recognize error phase instead of showing blank screen
|
|
1782
|
+
|
|
1783
|
+
## 2.8.1
|
|
1784
|
+
|
|
1785
|
+
### Patch Changes
|
|
1786
|
+
|
|
1787
|
+
- e10c4d4: Add marathon `/copy-trimmed` and session menu option to copy the same session JSON with large code and tool payloads trimmed for LLM context limits.
|
|
1788
|
+
|
|
1789
|
+
Publish a marketing changelog entry for the feature.
|
|
1790
|
+
|
|
1791
|
+
- Updated dependencies [e10c4d4]
|
|
1792
|
+
- @runtypelabs/sdk@1.13.3
|
|
1793
|
+
|
|
1794
|
+
## 2.8.0
|
|
1795
|
+
|
|
1796
|
+
### Minor Changes
|
|
1797
|
+
|
|
1798
|
+
- 99e67a2: Add `runtype auth export-key` command that prints the stored API key to stdout
|
|
1799
|
+
|
|
1800
|
+
Enables scripts and setup tools to programmatically retrieve the authenticated API key without creating new keys. Follows the same pattern as `gh auth token` and `gcloud auth print-access-token`.
|
|
1801
|
+
|
|
1802
|
+
### Patch Changes
|
|
1803
|
+
|
|
1804
|
+
- 36483b1: Fix flaky tail command tests that timed out due to real retry back-off delays
|
|
1805
|
+
- Updated dependencies [7f727ab]
|
|
1806
|
+
- Updated dependencies [19b9c08]
|
|
1807
|
+
- @runtypelabs/sdk@1.13.2
|
|
1808
|
+
|
|
1809
|
+
## 2.7.1
|
|
1810
|
+
|
|
1811
|
+
### Patch Changes
|
|
1812
|
+
|
|
1813
|
+
- d73361a: Disable source maps in published packages to reduce npm package size
|
|
1814
|
+
- Updated dependencies [d73361a]
|
|
1815
|
+
- @runtypelabs/sdk@1.13.1
|
|
1816
|
+
- @runtypelabs/ink-components@0.3.1
|
|
1817
|
+
|
|
1818
|
+
## 2.7.0
|
|
1819
|
+
|
|
1820
|
+
### Minor Changes
|
|
1821
|
+
|
|
1822
|
+
- 9936443: feat: add live tail log streaming with type-safe event emission
|
|
1823
|
+
|
|
1824
|
+
Adds real-time log streaming across API, CLI, and dashboard using Cloudflare's Tail Worker infrastructure with per-org tenant isolation via TailFanoutDO.
|
|
1825
|
+
- Type-safe `LogData` discriminated union: `{ tail: true }` requires `audience` and `category` at compile time
|
|
1826
|
+
- Logger `child()` immutable pattern for safe async context propagation
|
|
1827
|
+
- TailFanoutDO with hibernatable WebSockets, connection limits, and `tail_gap` backpressure
|
|
1828
|
+
- Thin tail worker relay with dual-heuristic loop suppression
|
|
1829
|
+
- CLI `runtype tail` command with SSE streaming, reconnect, and formatted output
|
|
1830
|
+
- Dashboard `TailLogPanel` integrated into surface, capability, and conversations panels
|
|
1831
|
+
|
|
1832
|
+
## 2.6.2
|
|
1833
|
+
|
|
1834
|
+
### Patch Changes
|
|
1835
|
+
|
|
1836
|
+
- e88481e: chore: prefer Gemini 3.1 Flash-Lite and Flash Image in defaults and examples
|
|
1837
|
+
|
|
1838
|
+
Use routed `gemini-3-1-flash-lite` and `gemini-3-1-flash-image` instead of `gemini-3-flash` and `gemini-3-pro-image` for new-account defaults, lightweight picks, provider routing metadata, product templates, marketing MDX examples, and the CLI talk model picker.
|
|
1839
|
+
|
|
1840
|
+
## 2.6.1
|
|
1841
|
+
|
|
1842
|
+
### Patch Changes
|
|
1843
|
+
|
|
1844
|
+
- 2de3530: Fix two hangs in `persona init`: clipboard copy now uses execFileSync (promisified execFile silently ignores `input`), and quitting via 'q'/Escape now pauses stdin so the process exits cleanly
|
|
1845
|
+
- 2de3530: Fix persona init: default agent name to "Persona Test", fix interactive key menu exiting immediately, and create agents with model (qwen3.5-35b-a3b), system prompt, and description
|
|
1846
|
+
- Updated dependencies [2de3530]
|
|
1847
|
+
- @runtypelabs/sdk@1.13.0
|
|
1848
|
+
|
|
1849
|
+
## 2.6.0
|
|
1850
|
+
|
|
1851
|
+
### Minor Changes
|
|
1852
|
+
|
|
1853
|
+
- ee55324: Add `runtype persona init` to create an agent, a scoped client token, and a Persona embed snippet in one command (`--json` and non-interactive flags supported).
|
|
1854
|
+
|
|
1855
|
+
## 2.5.0
|
|
1856
|
+
|
|
1857
|
+
### Minor Changes
|
|
1858
|
+
|
|
1859
|
+
- 62c2f83: Add Cloudflare Shell as a new sandbox provider for Marathon CLI
|
|
1860
|
+
|
|
1861
|
+
Introduces `cloudflare-shell` as an alternative to Daytona for agent code execution in Marathon. Uses `@cloudflare/worker-bundler` for runtime TypeScript compilation and npm dependency resolution, and `@cloudflare/shell` for virtual filesystem persistence backed by SQLite + R2.
|
|
1862
|
+
|
|
1863
|
+
Key features:
|
|
1864
|
+
- JavaScript and TypeScript execution with npm dependencies
|
|
1865
|
+
- Virtual filesystem persistence via `@cloudflare/shell` Workspace
|
|
1866
|
+
- Deploy-with-preview via persistent Dynamic Workers
|
|
1867
|
+
- No API key required (uses existing Cloudflare Workers infrastructure)
|
|
1868
|
+
- ~1-5ms startup vs ~100-500ms for Daytona
|
|
1869
|
+
|
|
1870
|
+
Usage: `runtype task "your task" --sandbox cloudflare-shell`
|
|
1871
|
+
|
|
1872
|
+
### Patch Changes
|
|
1873
|
+
|
|
1874
|
+
- Updated dependencies [62c2f83]
|
|
1875
|
+
- @runtypelabs/sdk@1.12.0
|
|
1876
|
+
|
|
1877
|
+
## 2.4.0
|
|
1878
|
+
|
|
1879
|
+
### Minor Changes
|
|
1880
|
+
|
|
1881
|
+
- 4b0a612: Add client token management and Persona embed code generation across CLI and MCP server. CLI gets `client-tokens` command group (list, get, create, delete, regenerate). MCP server gets matching tools plus `generate_persona_embed_code` which uses Persona's `generateCodeSnippet` directly to produce script-installer and React component embed code. Both CLI and MCP default `allowedOrigins` to `["*"]` when not provided, matching the dashboard onboarding behavior.
|
|
1882
|
+
|
|
1883
|
+
## 2.3.0
|
|
1884
|
+
|
|
1885
|
+
### Minor Changes
|
|
1886
|
+
|
|
1887
|
+
- cc9ff7a: Add Orthogonal-backed platform tools with hierarchical `platform:orthogonal:company:tool` ID format, catalog generation, managed execution, and spend tracking via DO + Analytics Engine.
|
|
1888
|
+
|
|
1889
|
+
### Patch Changes
|
|
1890
|
+
|
|
1891
|
+
- Updated dependencies [cc9ff7a]
|
|
1892
|
+
- @runtypelabs/sdk@1.11.0
|
|
1893
|
+
|
|
1894
|
+
## 2.2.1
|
|
1895
|
+
|
|
1896
|
+
### Patch Changes
|
|
1897
|
+
|
|
1898
|
+
- a6cf1cd: Fix environment variable exfiltration via npm script injection in run_check tool
|
|
1899
|
+
- Sanitize subprocess environment to whitelist-only safe variables (PATH, HOME, etc.)
|
|
1900
|
+
- Add output secret redaction as defense-in-depth against leaked values
|
|
1901
|
+
- Block npm/pnpm script commands when package.json has uncommitted modifications
|
|
1902
|
+
|
|
1903
|
+
- 9e3fee1: Fix marathon session reliability: resolve completion deadlocks (verification auto-waive, premature TASK_COMPLETE), fix write loops and stall detection, retain accumulated cost across checkpoint restarts, retry server-side network errors in session loop, and add 'o' key to open files from Files tab or open agent in dashboard
|
|
1904
|
+
- Updated dependencies [9e3fee1]
|
|
1905
|
+
- @runtypelabs/sdk@1.10.2
|
|
1906
|
+
|
|
1907
|
+
## 2.2.0
|
|
1908
|
+
|
|
1909
|
+
### Minor Changes
|
|
1910
|
+
|
|
1911
|
+
- 0327529: Add session context search for marathon CLI (RLM-inspired)
|
|
1912
|
+
|
|
1913
|
+
Introduces semantic search over marathon session history using a platform-owned Cloudflare Vectorize index. When marathon sessions complete, content is automatically chunked and indexed. Agents can use the new `search_session_history` tool to recall information from earlier sessions that may have been compacted away.
|
|
1914
|
+
- API: New `/v1/session-context/index`, `/v1/session-context/search`, and `DELETE /v1/session-context` endpoints
|
|
1915
|
+
- API: New `SessionContextService` using platform Vectorize credentials with tenant namespace isolation
|
|
1916
|
+
- CLI: New `search_session_history` local tool registered by default in marathon tasks
|
|
1917
|
+
- CLI: Session content auto-indexed after each session via `onSession` callback
|
|
1918
|
+
- CLI: New `--no-session-search` flag to disable the feature
|
|
1919
|
+
- Cost tracking via `session-context:embedding` in service cost registry
|
|
1920
|
+
|
|
1921
|
+
### Patch Changes
|
|
1922
|
+
|
|
1923
|
+
- ce76184: Add user-friendly error messages when marathon fails due to network issues, distinguishing between local network being offline, server being unreachable, and request timeouts
|
|
1924
|
+
- Updated dependencies [ce76184]
|
|
1925
|
+
- @runtypelabs/sdk@1.10.1
|
|
1926
|
+
|
|
1927
|
+
## 2.1.0
|
|
1928
|
+
|
|
1929
|
+
### Minor Changes
|
|
1930
|
+
|
|
1931
|
+
- 190adf8: Add agent fallback-model and playbook policy support across the API, CLI, and SDK.
|
|
1932
|
+
|
|
1933
|
+
Improve marathon task execution with safer verification handling, creation-task output constraints, and better recovery when verification is repeatedly blocked.
|
|
1934
|
+
|
|
1935
|
+
### Patch Changes
|
|
1936
|
+
|
|
1937
|
+
- Updated dependencies [190adf8]
|
|
1938
|
+
- @runtypelabs/sdk@1.10.0
|
|
1939
|
+
|
|
1940
|
+
## 2.0.2
|
|
1941
|
+
|
|
1942
|
+
### Patch Changes
|
|
1943
|
+
|
|
1944
|
+
- bd08d42: Wire streamed tool input through the API, SDK, and Marathon CLI, keep local tools active through client-side execution, and enable Anthropic eager input streaming behind a feature flag.
|
|
1945
|
+
- 73d6d60: Fix marathon session complete banner to show accumulated totals from all sessions instead of only the last session's tool calls
|
|
1946
|
+
- bd08d42: Improve marathon CLI scrolling performance by caching rendered detail content between scroll updates.
|
|
1947
|
+
- Updated dependencies [bd08d42]
|
|
1948
|
+
- @runtypelabs/sdk@1.9.2
|
|
1949
|
+
|
|
1950
|
+
## 2.0.1
|
|
1951
|
+
|
|
1952
|
+
### Patch Changes
|
|
1953
|
+
|
|
1954
|
+
- 8494865: Wire streamed tool input through the API, SDK, and Marathon CLI, keep local tools active through client-side execution, and enable Anthropic eager input streaming behind a feature flag.
|
|
1955
|
+
- f49d2d6: Improve Marathon build-and-serve workflow routing for prompts that ask the agent to create a runnable web app, serve it, and verify routes.
|
|
1956
|
+
- 8494865: Improve marathon CLI scrolling performance by caching rendered detail content between scroll updates.
|
|
1957
|
+
- Updated dependencies [8494865]
|
|
1958
|
+
- Updated dependencies [f49d2d6]
|
|
1959
|
+
- @runtypelabs/sdk@1.9.1
|
|
1960
|
+
|
|
1961
|
+
## 2.0.0
|
|
1962
|
+
|
|
1963
|
+
### Major Changes
|
|
1964
|
+
|
|
1965
|
+
- b6d2ceb: feat(cli): custom playbooks, visual milestone progress, and steering→checkpoint rename
|
|
1966
|
+
- Rename "steering" to "checkpoint" throughout marathon TUI and CLI flags (`--no-steer` → `--no-checkpoint`, `--steer-timeout` → `--checkpoint-timeout`)
|
|
1967
|
+
- Add milestone progress bar in SessionHeader showing `✓ research ── ● planning ── ○ execution` with live updates as the agent progresses through workflow phases
|
|
1968
|
+
- Add `--playbook <name>` flag to load custom YAML playbook files from `.runtype/marathons/playbooks/` (repo-level or user-level), defining milestones, per-milestone model overrides, verification settings, and rules in a single file
|
|
1969
|
+
- Remove recipe system (`--recipe` flag and `.marathon/recipes/`) — playbooks replace it entirely
|
|
1970
|
+
- Add `yaml` dependency for playbook parsing
|
|
1971
|
+
- Update CLI README with playbook documentation, YAML schema example, and marathon anatomy diagram
|
|
1972
|
+
|
|
1973
|
+
### Patch Changes
|
|
1974
|
+
|
|
1975
|
+
- b6d2ceb: feat(marathon): add ghost vector startup backgrounds
|
|
1976
|
+
- add viewport-aware `vector3d-ghost-wave` and `vector3d-ghost-box-drift` variants to `@runtypelabs/terminal-animations`
|
|
1977
|
+
- extend `AnimatedVariant` with optional `width` and `height` props so background variants can fill the active terminal viewport without wrapping
|
|
1978
|
+
- render a randomly selected ghost vector scene behind the marathon startup splash, resume prompt, model picker, and playbook model confirmation screen
|
|
1979
|
+
|
|
1980
|
+
- Updated dependencies [152019b]
|
|
1981
|
+
- Updated dependencies [b6d2ceb]
|
|
1982
|
+
- Updated dependencies [b6d2ceb]
|
|
1983
|
+
- @runtypelabs/sdk@1.9.0
|
|
1984
|
+
- @runtypelabs/terminal-animations@0.2.0
|
|
1985
|
+
|
|
1986
|
+
## 1.9.4
|
|
1987
|
+
|
|
1988
|
+
### Patch Changes
|
|
1989
|
+
|
|
1990
|
+
- b65465e: Replace `uuid` package with native `crypto.randomUUID()` for session ID generation
|
|
1991
|
+
|
|
1992
|
+
## 1.9.3
|
|
1993
|
+
|
|
1994
|
+
### Patch Changes
|
|
1995
|
+
|
|
1996
|
+
- c7229a9: Standardize marathon sidecar event logs on one-based session numbering so resumed runs load Events correctly from `session-1.jsonl`, `session-2.jsonl`, and so on.
|
|
1997
|
+
- c7229a9: Tighten marathon local tool filesystem access so agents cannot read or write outside the workspace root or inside restricted internal state directories, and switch hot-tail offload retrieval to opaque ids via `read_offloaded_output`.
|
|
1998
|
+
- Updated dependencies [c7229a9]
|
|
1999
|
+
- Updated dependencies [c7229a9]
|
|
2000
|
+
- @runtypelabs/sdk@1.8.2
|
|
2001
|
+
|
|
2002
|
+
## 1.9.2
|
|
2003
|
+
|
|
2004
|
+
### Patch Changes
|
|
2005
|
+
|
|
2006
|
+
- b31908e: Fix typo in CLI README: "store in wthin" → "store it within"
|
|
2007
|
+
|
|
2008
|
+
## 1.9.1
|
|
2009
|
+
|
|
2010
|
+
### Patch Changes
|
|
2011
|
+
|
|
2012
|
+
- 4ec90b5: Fix `--compact-threshold` parsing to remove ambiguous bare-ratio format. The flag now accepts only two formats: percent (e.g. `--compact-threshold 80%`) and absolute token count (e.g. `--compact-threshold 120000`). Bare decimal values like `0.8` are no longer interpreted as ratios. Also ensure provider-native compaction lifecycle cleanup fires even when session execution throws, preventing a stuck compaction indicator in the TUI.
|
|
2013
|
+
- 4ec90b5: Add provider-aware marathon context management with model-budget-aware compaction thresholds, compaction lifecycle telemetry, structured compact summaries, CLI controls for compaction strategy and instructions, and tool-output guardrails that surface or offload oversized local tool results.
|
|
2014
|
+
- Updated dependencies [4ec90b5]
|
|
2015
|
+
- Updated dependencies [4ec90b5]
|
|
2016
|
+
- @runtypelabs/sdk@1.8.1
|
|
2017
|
+
|
|
2018
|
+
## 1.9.0
|
|
2019
|
+
|
|
2020
|
+
### Minor Changes
|
|
2021
|
+
|
|
2022
|
+
- cb1b95d: Files tab: render markdown for .md files and show copy hint
|
|
2023
|
+
|
|
2024
|
+
Markdown files (.md/.mdx) in the marathon Files tab detail view now render with terminal-styled formatting (headings, code blocks, bold, links, etc.) instead of raw text. The detail header also now displays a "c: copy" hint matching the Events and Tools panels. Added ANSI-aware line wrapping to keep scroll math correct with styled content.
|
|
2025
|
+
|
|
2026
|
+
### Patch Changes
|
|
2027
|
+
|
|
2028
|
+
- 5d64851: Add automatic retry with exponential backoff for transient network errors during marathon execution. When a network connection drops mid-marathon, the CLI now retries up to 3 times (5s, 10s, 20s backoff) before falling back to saving state and exiting. Previously, any network interruption would immediately terminate the marathon.
|
|
2029
|
+
- 097e1fd: Add Marathon execution attribution end-to-end. Marathon CLI requests now send standard CLI headers plus `X-Runtype-Client-Origin`, the API propagates `clientOrigin` through flow and agent execution context into usage analytics and execution telemetry, and usage-stats can filter and visualize Marathon-origin traffic separately from existing execution `source` values.
|
|
2030
|
+
- Updated dependencies [cb1b95d]
|
|
2031
|
+
- @runtypelabs/ink-components@0.3.0
|
|
2032
|
+
|
|
2033
|
+
## 1.8.5
|
|
2034
|
+
|
|
2035
|
+
### Patch Changes
|
|
2036
|
+
|
|
2037
|
+
- 45e99f3: perf: defer telemetry redaction to async flush path; fix secret-detection test values and CLI update-check test
|
|
2038
|
+
- 105c8f6: Fix update-check test failing in CI by clearing the CI environment variable in test setup
|
|
2039
|
+
|
|
2040
|
+
## 1.8.4
|
|
2041
|
+
|
|
2042
|
+
### Patch Changes
|
|
2043
|
+
|
|
2044
|
+
- 16c0ef0: Add CLI upgrade notifications and API minimum CLI version enforcement.
|
|
2045
|
+
- 16c0ef0: Add a cinematic fullscreen startup splash for marathon mode with centered resume prompts and a fade handoff into the Ink UI.
|
|
2046
|
+
- 16c0ef0: Fix Daytona sandbox deployments to reuse existing sandboxes and persist beyond CLI exit
|
|
2047
|
+
- Uses `daytona.get(sandboxId)` to reconnect to existing sandboxes when the in-memory cache misses (stateless Cloudflare Workers)
|
|
2048
|
+
- Sets auto-stop interval to 120 minutes so deploy sandboxes stay alive after CLI exits
|
|
2049
|
+
- Stops deleting sandboxes on marathon exit — users can revisit preview URLs or reconnect via --resume
|
|
2050
|
+
- Kills existing server process on port before redeployment to avoid conflicts
|
|
2051
|
+
- Fixes cleanup method to reconnect to sandboxes for proper deletion
|
|
2052
|
+
|
|
2053
|
+
- 16c0ef0: Fix Marathon tools-screen crashes when opening a tool detail view.
|
|
2054
|
+
- 16c0ef0: Restore the steering prompt when resuming a paused marathon without new instructions, warn clearly when a resumed state has no saved `messages` history, derive resume recap token totals from saved session summaries when aggregate totals are missing, label steering recap token usage explicitly as input/output, stage steering command changes until explicit submit, keep steer-time review navigation available for scrolling and tab/event browsing, pause the steering countdown when the user starts reviewing prior output, align marathon text-area delete shortcuts with terminal editor expectations, simplify marathon progress chrome so tabs and the runner track do not duplicate run numbering, and remove decorative runner animation fields from persisted marathon state.
|
|
2055
|
+
|
|
2056
|
+
## 1.8.3
|
|
2057
|
+
|
|
2058
|
+
### Patch Changes
|
|
2059
|
+
|
|
2060
|
+
- b6f8291: docs: add documentation for --tools flag in CLI README
|
|
2061
|
+
- 6db3feb: Fix marathon runner emoji orientation to face right on the top row and left on the bottom row
|
|
2062
|
+
- 951e5fc: Fix marathon track growing 1 row taller when runner emoji reaches the border
|
|
2063
|
+
|
|
2064
|
+
## 1.8.2
|
|
2065
|
+
|
|
2066
|
+
### Patch Changes
|
|
2067
|
+
|
|
2068
|
+
- 3f9eb94: Import from specific @runtypelabs/shared subpaths instead of barrel export to avoid bundling React hooks, fixing "Dynamic require of react is not supported" error at runtime.
|
|
2069
|
+
|
|
2070
|
+
## 1.8.1
|
|
2071
|
+
|
|
2072
|
+
### Patch Changes
|
|
2073
|
+
|
|
2074
|
+
- cbe7dbd: Bundle @runtypelabs/shared into CLI dist instead of treating it as an external npm dependency. Fixes installation failure caused by npm trying to resolve the private shared package from the registry.
|
|
2075
|
+
|
|
2076
|
+
## 1.8.0
|
|
2077
|
+
|
|
2078
|
+
### Minor Changes
|
|
2079
|
+
|
|
2080
|
+
- 564d33c: Add --tools flag to marathon command for enabling built-in tools (exa, firecrawl, dalle, web search, etc.) during agent runs
|
|
2081
|
+
|
|
2082
|
+
### Patch Changes
|
|
2083
|
+
|
|
2084
|
+
- 5f683ed: Disable talk command from available CLI commands
|
|
2085
|
+
- Updated dependencies [564d33c]
|
|
2086
|
+
- @runtypelabs/sdk@1.8.0
|
|
2087
|
+
|
|
2088
|
+
## 1.7.0
|
|
2089
|
+
|
|
2090
|
+
### Minor Changes
|
|
2091
|
+
|
|
2092
|
+
- 7f95a76: Improved model selector UI with searchable model list, arrow key navigation, and all available platform models
|
|
2093
|
+
|
|
2094
|
+
## 1.6.0
|
|
2095
|
+
|
|
2096
|
+
### Minor Changes
|
|
2097
|
+
|
|
2098
|
+
- 6ecb8a5: Improved model selector UI with searchable model list, arrow key navigation, and all available platform models
|
|
2099
|
+
|
|
2100
|
+
## 1.5.4
|
|
2101
|
+
|
|
2102
|
+
### Patch Changes
|
|
2103
|
+
|
|
2104
|
+
- 6292d58: Ring the terminal bell when marathon steering prompt appears, notifying users that the marathon is waiting for input after each iteration
|
|
2105
|
+
|
|
2106
|
+
## 1.5.3
|
|
2107
|
+
|
|
2108
|
+
### Patch Changes
|
|
2109
|
+
|
|
2110
|
+
- f9b1333: Switch SDK build from tsc (CommonJS) to tsup (dual ESM + CJS) to fix named export errors when consumed by ESM packages like the CLI on Node.js v24+
|
|
2111
|
+
- Updated dependencies [f9b1333]
|
|
2112
|
+
- @runtypelabs/sdk@1.7.3
|
|
2113
|
+
|
|
2114
|
+
## 1.5.2
|
|
2115
|
+
|
|
2116
|
+
### Patch Changes
|
|
2117
|
+
|
|
2118
|
+
- 1b18b6d: Publish @runtypelabs/terminal-animations to npm (previously private, causing install failures for CLI users)
|
|
2119
|
+
- Updated dependencies [1b18b6d]
|
|
2120
|
+
- @runtypelabs/terminal-animations@0.1.1
|
|
2121
|
+
|
|
2122
|
+
## 1.5.1
|
|
2123
|
+
|
|
2124
|
+
### Patch Changes
|
|
2125
|
+
|
|
2126
|
+
- a9c25a3: Fix SessionHeader test truncation by widening trackWidth
|
|
2127
|
+
|
|
2128
|
+
## 1.5.0
|
|
2129
|
+
|
|
2130
|
+
### Minor Changes
|
|
2131
|
+
|
|
2132
|
+
- c746431: Decompose marathon command into focused modules and add new features
|
|
2133
|
+
- **Decomposition**: Extract monolithic agents-task.ts (2400 lines) into 10 focused modules under `packages/cli/src/marathon/`:
|
|
2134
|
+
- `verification.ts` - Command safety validation
|
|
2135
|
+
- `checkpoint.ts` - File checkpoint management
|
|
2136
|
+
- `errors.ts` - API error formatting
|
|
2137
|
+
- `repo-discovery.ts` - File search and tree utilities
|
|
2138
|
+
- `sandbox.ts` - Sandboxed code execution
|
|
2139
|
+
- `local-tools.ts` - Agent tool definitions
|
|
2140
|
+
- `state.ts` - State persistence and session management
|
|
2141
|
+
- `index.ts` - Barrel export
|
|
2142
|
+
- **Loop Detection** (`loop-detector.ts`): Detects repeating action subsequences (length 2-5, threshold 3 repeats) and injects steering messages to break agent loops
|
|
2143
|
+
- **Context Offloading** (`context-offload.ts`): Saves large tool outputs (>threshold chars) to files, returning compact references to reduce context window pressure
|
|
2144
|
+
- **Workflow Recipes** (`recipes.ts`): Declarative JSON configuration for phases, rules, model cascading, and verification settings via `.marathon/recipes/` directory
|
|
2145
|
+
- **Scoped Rules**: Load markdown rule files from `.marathon/rules/` with optional YAML frontmatter for glob-based and phase-based scoping
|
|
2146
|
+
- **Model Cascading**: New `--planning-model` and `--execution-model` CLI flags for using different models during research/planning vs execution phases
|
|
2147
|
+
- **Enhanced Steering**: New `/plan`, `/status`, and `/revert` steering commands
|
|
2148
|
+
- **Context Offloading Flag**: New `--offload-threshold` flag to enable automatic tool output offloading
|
|
2149
|
+
|
|
2150
|
+
### Patch Changes
|
|
2151
|
+
|
|
2152
|
+
- c746431: Polish the Ink terminal UI with a warmer low-contrast palette, calmer chrome, themed select menus, and more cohesive markdown rendering for marathon and talk flows.
|
|
2153
|
+
- c746431: Preserve Marathon `agent_await` payloads in the Event Stream panel so local tool wait events show their real metadata instead of `{}`.
|
|
2154
|
+
- Updated dependencies [c746431]
|
|
2155
|
+
- @runtypelabs/ink-components@0.2.2
|
|
2156
|
+
|
|
2157
|
+
## 1.4.0
|
|
2158
|
+
|
|
2159
|
+
### Minor Changes
|
|
2160
|
+
|
|
2161
|
+
- cb689ac: Add animated loading indicator before tokens stream in marathon UI
|
|
2162
|
+
- New `@runtypelabs/terminal-animations` package (internal) with AnimatedVariant and LoadingAnimation
|
|
2163
|
+
- Marathon shows a randomly-selected terminal animation (neon-pulse, matrix-drip, tron variants, marathon POV, etc.) centered in the content area while waiting for first tokens
|
|
2164
|
+
- Loading displays during idle and thinking phases when no content/reasoning/tools are shown yet
|
|
2165
|
+
|
|
2166
|
+
### Patch Changes
|
|
2167
|
+
|
|
2168
|
+
- cb689ac: Improve marathon safety and verification by checkpointing original files before writes, adding rollback and guarded verification tools, and requiring successful verification before completion.
|
|
2169
|
+
- cb689ac: Add marathon session history tabs with persisted replay snapshots.
|
|
2170
|
+
- cb689ac: Improve interactive CLI selection prompts with arrow-key navigation in TTY mode while preserving numeric shortcuts and non-interactive fallbacks.
|
|
2171
|
+
- cb689ac: Render marathon upgrade prompts as a dismissible modal overlay with direct billing-page shortcuts.
|
|
2172
|
+
- cb689ac: Fix marathon resume and execution-state handling so resumed or restarted runs keep their workflow phase, advance cleanly from planning into execution, avoid reusing the wrong local-tool results across resume cycles, and stop reporting errored runs as completed.
|
|
2173
|
+
- cb689ac: Improve marathon state handling by prompting before reusing or overwriting saved local state and adding a `--fresh` flag for explicit fresh starts.
|
|
2174
|
+
- cb689ac: Tighten marathon execution target tracking by trimming candidate paths, ignoring scratch-file writes as targets, blocking planning/execution writes to undeclared files, sanitizing poisoned saved marathon state on resume, and surfacing clearer rate-limit details when marathon hits a 429.
|
|
2175
|
+
- cb689ac: Improve marathon transcript readability and reasoning panel contrast.
|
|
2176
|
+
- Updated dependencies [cb689ac]
|
|
2177
|
+
- Updated dependencies [cb689ac]
|
|
2178
|
+
- Updated dependencies [cb689ac]
|
|
2179
|
+
- Updated dependencies [cb689ac]
|
|
2180
|
+
- Updated dependencies [cb689ac]
|
|
2181
|
+
- @runtypelabs/sdk@1.7.2
|
|
2182
|
+
|
|
2183
|
+
## 1.3.1
|
|
2184
|
+
|
|
2185
|
+
### Patch Changes
|
|
2186
|
+
|
|
2187
|
+
- Updated dependencies [458711d]
|
|
2188
|
+
- @runtypelabs/sdk@1.7.1
|
|
2189
|
+
|
|
2190
|
+
## 1.3.0
|
|
2191
|
+
|
|
2192
|
+
### Minor Changes
|
|
2193
|
+
|
|
2194
|
+
- 1ef582e: feat: add OAuth2 authentication for external MCP server connections
|
|
2195
|
+
|
|
2196
|
+
Adds full OAuth2 support (RFC 9728) for connecting to external MCP servers that require OAuth2 authentication. Includes:
|
|
2197
|
+
- OAuth2 auto-discovery via .well-known/oauth-authorization-server
|
|
2198
|
+
- PKCE authorization code flow with dynamic client registration
|
|
2199
|
+
- Token refresh with automatic retry-on-401
|
|
2200
|
+
- Dashboard UI with popup-based OAuth2 login flow
|
|
2201
|
+
- CLI OAuth2 auth flow using local callback server
|
|
2202
|
+
- Test OAuth2 MCP Worker for smoke testing
|
|
2203
|
+
|
|
2204
|
+
### Patch Changes
|
|
2205
|
+
|
|
2206
|
+
- d8d5e28: fix: implement RFC 9728 three-phase OAuth2 Protected Resource Metadata discovery
|
|
2207
|
+
|
|
2208
|
+
The OAuth2 discovery endpoint now follows the MCP spec's two-step protocol for servers where the Authorization Server is at a different origin than the MCP server (e.g., `mcp.linear.app` with AS at `linear.app`).
|
|
2209
|
+
|
|
2210
|
+
Phase 1a: Probe MCP URL → parse `resource_metadata` from `WWW-Authenticate` on 401 → extract `authorization_servers[0]` → discover AS metadata.
|
|
2211
|
+
Phase 1b: Try `/.well-known/oauth-protected-resource` at the MCP URL → extract `authorization_servers[0]` → discover AS metadata.
|
|
2212
|
+
Phase 2: Origin fallback — try `/.well-known/oauth-authorization-server` at MCP server's origin (backward compat).
|
|
2213
|
+
|
|
2214
|
+
Also fixes BugBot finding where the discover endpoint used `id: 'discovery_temp'` causing `refreshOAuth2Token` to persist tokens under a non-existent DB name.
|
|
2215
|
+
|
|
2216
|
+
## 1.2.1
|
|
2217
|
+
|
|
2218
|
+
### Patch Changes
|
|
2219
|
+
|
|
2220
|
+
- 6d08460: chore: bump dependencies (42 minor/patch updates, 15 unused deps removed)
|
|
2221
|
+
- Updated dependencies [6d08460]
|
|
2222
|
+
- @runtypelabs/ink-components@0.2.1
|
|
2223
|
+
|
|
2224
|
+
## 1.2.0
|
|
2225
|
+
|
|
2226
|
+
### Minor Changes
|
|
2227
|
+
|
|
2228
|
+
- 3531abb: Make Cloudflare Worker the default sandbox provider for transform-data steps, soft-deprecating QuickJS as legacy
|
|
2229
|
+
|
|
2230
|
+
### Patch Changes
|
|
2231
|
+
|
|
2232
|
+
- Updated dependencies [3531abb]
|
|
2233
|
+
- @runtypelabs/sdk@1.7.0
|
|
2234
|
+
|
|
2235
|
+
## 1.1.5
|
|
2236
|
+
|
|
2237
|
+
### Patch Changes
|
|
2238
|
+
|
|
2239
|
+
- Updated dependencies [57ca1e0]
|
|
2240
|
+
- @runtypelabs/sdk@1.6.0
|
|
2241
|
+
|
|
2242
|
+
## 1.1.4
|
|
2243
|
+
|
|
2244
|
+
### Patch Changes
|
|
2245
|
+
|
|
2246
|
+
- 8976cd0: Ensure agents-task restores the primary terminal screen when Ink render fails.
|
|
2247
|
+
|
|
2248
|
+
The marathon command now creates the Ink UI inside the existing try/catch block, matching talk's safety pattern. This guarantees `exitAltScreen()` is called before error output when `render()` throws, preventing errors from being written to the alternate screen buffer and disappearing when the process exits.
|
|
2249
|
+
|
|
2250
|
+
- 8976cd0: Fix marathon and talk scrollback in tmux by using the alternate screen buffer
|
|
2251
|
+
|
|
2252
|
+
Fullscreen Ink TUI apps (marathon, talk) now enter the terminal's alternate screen buffer before rendering. This prevents render cycles from polluting the scrollback history, which was making scrollback unusable in terminal multiplexers like tmux. When the app exits, the original terminal content is restored — matching the behavior of vim, less, and htop.
|
|
2253
|
+
|
|
2254
|
+
## 1.1.3
|
|
2255
|
+
|
|
2256
|
+
### Patch Changes
|
|
2257
|
+
|
|
2258
|
+
- 077b0ff: Internal maintenance: update comments and rename imports for clarity
|
|
2259
|
+
- Updated dependencies [077b0ff]
|
|
2260
|
+
- @runtypelabs/sdk@1.5.1
|
|
2261
|
+
|
|
2262
|
+
## 1.1.2
|
|
2263
|
+
|
|
2264
|
+
### Patch Changes
|
|
2265
|
+
|
|
2266
|
+
- 28da130: Rename @runtypelabs/ink dependency to @runtypelabs/ink-components
|
|
2267
|
+
|
|
2268
|
+
The ink shared component library has been renamed from @runtypelabs/ink to
|
|
2269
|
+
@runtypelabs/ink-components so it can be published to npm without conflicting
|
|
2270
|
+
with the existing "ink" package name.
|
|
2271
|
+
|
|
2272
|
+
- Updated dependencies [8505d96]
|
|
2273
|
+
- Updated dependencies [a52e64d]
|
|
2274
|
+
- Updated dependencies [a96ce5d]
|
|
2275
|
+
- @runtypelabs/sdk@1.5.0
|
|
2276
|
+
- @runtypelabs/ink-components@0.2.0
|
|
2277
|
+
|
|
2278
|
+
## 1.1.1
|
|
2279
|
+
|
|
2280
|
+
### Patch Changes
|
|
2281
|
+
|
|
2282
|
+
- ed4d85a: Unify SSE event naming across the platform
|
|
2283
|
+
- Rename `step_chunk` to `step_delta` (aligns with Anthropic/OpenAI/Vercel convention)
|
|
2284
|
+
- Rename `flow_paused` to `flow_await`, `step_waiting_local` to `step_await`, `agent_paused` to `agent_await`
|
|
2285
|
+
- Consolidate fallback events: merge `fallbacks_initiated` into `fallback_start`, unify `fallback_success`/`fallback_fail` into `fallback_complete`, rename `fallbacks_exhausted` to `fallback_exhausted`
|
|
2286
|
+
- Add structured TypeScript interfaces for tool events (`ToolStartEventData`, `ToolCompleteEventData`, `ToolErrorEventData`)
|
|
2287
|
+
- Formalize `tool_error` as a first-class event type with `emitToolError()` method
|
|
2288
|
+
|
|
2289
|
+
All renames use dual-emit for backwards compatibility: the API sends both the new and legacy event names during the transition period. SDK consumers accept both names.
|
|
2290
|
+
|
|
2291
|
+
- Updated dependencies [ed4d85a]
|
|
2292
|
+
- @runtypelabs/sdk@1.4.0
|
|
2293
|
+
|
|
2294
|
+
## 1.1.0
|
|
2295
|
+
|
|
2296
|
+
### Minor Changes
|
|
2297
|
+
|
|
2298
|
+
- e4040c8: Add 'o' keyboard shortcut in marathon mode to open the agent page in the Runtype dashboard. The status bar shows the hint and the dashboard URL is printed in the post-completion summary.
|
|
2299
|
+
|
|
2300
|
+
## 1.0.0
|
|
2301
|
+
|
|
2302
|
+
### Major Changes
|
|
2303
|
+
|
|
2304
|
+
- ffab49e: BREAKING: Complete Ink TUI migration — replaced readline/inquirer with Ink for talk, init, Marathon, and all CRUD commands. Output format and interactive behavior changed. Marathon continuity: terminal steering, resume, model/tools switching.
|
|
2305
|
+
|
|
2306
|
+
### Patch Changes
|
|
2307
|
+
|
|
2308
|
+
- e6846a4: Fix integration test failures in non-TTY/CI environments. Add section headers to non-TTY list output, add non-TTY path for dispatch --no-stream to prevent timeout, and improve billing portal non-TTY messages.
|
|
2309
|
+
- Updated dependencies [ffab49e]
|
|
2310
|
+
- @runtypelabs/sdk@1.3.0
|
|
2311
|
+
|
|
2312
|
+
## 0.2.6
|
|
2313
|
+
|
|
2314
|
+
### Patch Changes
|
|
2315
|
+
|
|
2316
|
+
- b7f10cd: Fix `runtype talk` 404 and improve fetch error handling: use versioned dispatch URL (/v1/dispatch) and surface underlying cause plus local-API tip on "fetch failed".
|
|
2317
|
+
|
|
2318
|
+
## 0.2.5
|
|
2319
|
+
|
|
2320
|
+
### Patch Changes
|
|
2321
|
+
|
|
2322
|
+
- d59a2d0: Remove backward-compatibility tests for auth callback; callback now expects token only.
|
|
2323
|
+
|
|
2324
|
+
## 0.2.4
|
|
2325
|
+
|
|
2326
|
+
### Patch Changes
|
|
2327
|
+
|
|
2328
|
+
- 5ca7894: Fix CLI auth login in production: exchange Clerk JWT directly with the Runtype API instead of using an in-memory temp code on the dashboard (which broke on Vercel's serverless functions). The CLI callback server now accepts `token` parameter alongside legacy `code` for backward compatibility.
|
|
2329
|
+
|
|
2330
|
+
## 0.2.3
|
|
2331
|
+
|
|
2332
|
+
### Patch Changes
|
|
2333
|
+
|
|
2334
|
+
- Updated dependencies [0e5a64a]
|
|
2335
|
+
- @runtypelabs/sdk@1.2.1
|
|
2336
|
+
|
|
2337
|
+
## 0.2.2
|
|
2338
|
+
|
|
2339
|
+
### Patch Changes
|
|
2340
|
+
|
|
2341
|
+
- 76c322c: Fix CLI auth login in production: use dashboard URL from config (getDashboardUrl) for token exchange instead of hardcoding localhost:3001, so `runtype auth login` works against https://use.runtype.com without setting RUNTYPE_DASHBOARD_URL.
|
|
2342
|
+
|
|
2343
|
+
## 0.2.1
|
|
2344
|
+
|
|
2345
|
+
### Patch Changes
|
|
2346
|
+
|
|
2347
|
+
- b0bada9: Add `end_turn` stop reason to distinguish "turn ended" from "task completed." Non-loop agents now return `end_turn` instead of `complete`, enabling multi-session marathon execution to continue across sessions. SDK includes client-side stop-phrase detection as a fallback for non-loop agents.
|
|
2348
|
+
- Updated dependencies [b0bada9]
|
|
2349
|
+
- @runtypelabs/sdk@1.2.0
|
|
2350
|
+
|
|
2351
|
+
## 0.2.0
|
|
2352
|
+
|
|
2353
|
+
### Minor Changes
|
|
2354
|
+
|
|
2355
|
+
- ebe3c6b: Add `agents task` command and top-level `marathon` alias for multi-session long-task agent execution with streaming output, local state persistence, and `--track` flag for dashboard sync. Rename `agents run-task` to `agents task` and `--track-progress` to `--track`.
|
|
2356
|
+
|
|
2357
|
+
### Patch Changes
|
|
2358
|
+
|
|
2359
|
+
- Updated dependencies [ebe3c6b]
|
|
2360
|
+
- @runtypelabs/sdk@1.1.0
|
|
2361
|
+
|
|
2362
|
+
## 0.1.10
|
|
2363
|
+
|
|
2364
|
+
### Patch Changes
|
|
2365
|
+
|
|
2366
|
+
- Updated dependencies [aa97d84]
|
|
2367
|
+
- @runtypelabs/sdk@1.0.2
|
|
2368
|
+
|
|
2369
|
+
## 0.1.9
|
|
2370
|
+
|
|
2371
|
+
### Patch Changes
|
|
2372
|
+
|
|
2373
|
+
- Updated dependencies [de81f99]
|
|
2374
|
+
- @runtypelabs/sdk@1.0.1
|
|
2375
|
+
|
|
2376
|
+
## 0.1.8
|
|
2377
|
+
|
|
2378
|
+
### Patch Changes
|
|
2379
|
+
|
|
2380
|
+
- Updated dependencies [065de96]
|
|
2381
|
+
- @runtypelabs/sdk@1.0.0
|
|
2382
|
+
|
|
2383
|
+
## 0.1.7
|
|
2384
|
+
|
|
2385
|
+
### Patch Changes
|
|
2386
|
+
|
|
2387
|
+
- Updated dependencies [0140d17]
|
|
2388
|
+
- @runtypelabs/sdk@0.5.0
|
|
2389
|
+
|
|
2390
|
+
## 0.1.6
|
|
2391
|
+
|
|
2392
|
+
### Patch Changes
|
|
2393
|
+
|
|
2394
|
+
- Updated dependencies [cf6fcdc]
|
|
2395
|
+
- @runtypelabs/sdk@0.4.0
|
|
2396
|
+
|
|
2397
|
+
## 0.1.5
|
|
2398
|
+
|
|
2399
|
+
### Patch Changes
|
|
2400
|
+
|
|
2401
|
+
- Updated dependencies [9ec83bd]
|
|
2402
|
+
- Updated dependencies [a63f268]
|
|
2403
|
+
- @runtypelabs/sdk@0.3.0
|
|
2404
|
+
|
|
2405
|
+
## 0.1.4
|
|
2406
|
+
|
|
2407
|
+
### Patch Changes
|
|
2408
|
+
|
|
2409
|
+
- 8506aa1: Remove private @runtypelabs/shared dependency from all public packages by inlining types and constants. This fixes npm installation errors where users couldn't install packages due to the unpublished internal shared package dependency.
|
|
2410
|
+
- Updated dependencies [8506aa1]
|
|
2411
|
+
- @runtypelabs/sdk@0.2.1
|
|
2412
|
+
|
|
2413
|
+
## 0.1.3
|
|
2414
|
+
|
|
2415
|
+
### Patch Changes
|
|
2416
|
+
|
|
2417
|
+
- Updated dependencies
|
|
2418
|
+
- Updated dependencies [06ac26d]
|
|
2419
|
+
- @runtypelabs/sdk@0.2.0
|
|
2420
|
+
|
|
2421
|
+
## 0.1.2
|
|
2422
|
+
|
|
2423
|
+
### Patch Changes
|
|
2424
|
+
|
|
2425
|
+
- 2eb58c6: Add official CLI tool badge to README
|
|
2426
|
+
- Updated dependencies [2eb58c6]
|
|
2427
|
+
- @runtypelabs/sdk@0.1.3
|