@ellipsis-dev/sdk 0.11.0 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  interface paths {
2
- '/agents/configs': {
2
+ '/v1/agents/configs': {
3
3
  parameters: {
4
4
  query?: never;
5
5
  header?: never;
@@ -32,7 +32,7 @@ interface paths {
32
32
  patch?: never;
33
33
  trace?: never;
34
34
  };
35
- '/agents/configs/{config_id}': {
35
+ '/v1/agents/configs/{config_id}': {
36
36
  parameters: {
37
37
  query?: never;
38
38
  header?: never;
@@ -70,7 +70,7 @@ interface paths {
70
70
  patch?: never;
71
71
  trace?: never;
72
72
  };
73
- '/agents/configs/{config_id}/link': {
73
+ '/v1/agents/configs/{config_id}/link': {
74
74
  parameters: {
75
75
  query?: never;
76
76
  header?: never;
@@ -95,7 +95,7 @@ interface paths {
95
95
  patch?: never;
96
96
  trace?: never;
97
97
  };
98
- '/agents/configs/{config_id}/unlink': {
98
+ '/v1/agents/configs/{config_id}/unlink': {
99
99
  parameters: {
100
100
  query?: never;
101
101
  header?: never;
@@ -119,7 +119,7 @@ interface paths {
119
119
  patch?: never;
120
120
  trace?: never;
121
121
  };
122
- '/agents/defaults': {
122
+ '/v1/agents/defaults': {
123
123
  parameters: {
124
124
  query?: never;
125
125
  header?: never;
@@ -165,7 +165,7 @@ interface paths {
165
165
  patch?: never;
166
166
  trace?: never;
167
167
  };
168
- '/agents/templates': {
168
+ '/v1/agents/templates': {
169
169
  parameters: {
170
170
  query?: never;
171
171
  header?: never;
@@ -188,7 +188,7 @@ interface paths {
188
188
  patch?: never;
189
189
  trace?: never;
190
190
  };
191
- '/agents/templates/{template_id}': {
191
+ '/v1/agents/templates/{template_id}': {
192
192
  parameters: {
193
193
  query?: never;
194
194
  header?: never;
@@ -208,7 +208,7 @@ interface paths {
208
208
  patch?: never;
209
209
  trace?: never;
210
210
  };
211
- '/alerts': {
211
+ '/v1/alerts': {
212
212
  parameters: {
213
213
  query?: never;
214
214
  header?: never;
@@ -233,7 +233,7 @@ interface paths {
233
233
  patch?: never;
234
234
  trace?: never;
235
235
  };
236
- '/alerts/{alert_id}': {
236
+ '/v1/alerts/{alert_id}': {
237
237
  parameters: {
238
238
  query?: never;
239
239
  header?: never;
@@ -255,7 +255,7 @@ interface paths {
255
255
  patch?: never;
256
256
  trace?: never;
257
257
  };
258
- '/alerts/{alert_id}/dismiss': {
258
+ '/v1/alerts/{alert_id}/dismiss': {
259
259
  parameters: {
260
260
  query?: never;
261
261
  header?: never;
@@ -277,7 +277,7 @@ interface paths {
277
277
  patch?: never;
278
278
  trace?: never;
279
279
  };
280
- '/analytics/metrics': {
280
+ '/v1/analytics/metrics': {
281
281
  parameters: {
282
282
  query?: never;
283
283
  header?: never;
@@ -305,7 +305,7 @@ interface paths {
305
305
  patch?: never;
306
306
  trace?: never;
307
307
  };
308
- '/analytics/pull-requests': {
308
+ '/v1/analytics/pull-requests': {
309
309
  parameters: {
310
310
  query?: never;
311
311
  header?: never;
@@ -328,7 +328,7 @@ interface paths {
328
328
  patch?: never;
329
329
  trace?: never;
330
330
  };
331
- '/analytics/reviews': {
331
+ '/v1/analytics/reviews': {
332
332
  parameters: {
333
333
  query?: never;
334
334
  header?: never;
@@ -353,7 +353,7 @@ interface paths {
353
353
  patch?: never;
354
354
  trace?: never;
355
355
  };
356
- '/auth/cli/poll': {
356
+ '/v1/auth/cli/poll': {
357
357
  parameters: {
358
358
  query?: never;
359
359
  header?: never;
@@ -375,7 +375,7 @@ interface paths {
375
375
  patch?: never;
376
376
  trace?: never;
377
377
  };
378
- '/auth/cli/start': {
378
+ '/v1/auth/cli/start': {
379
379
  parameters: {
380
380
  query?: never;
381
381
  header?: never;
@@ -399,7 +399,7 @@ interface paths {
399
399
  patch?: never;
400
400
  trace?: never;
401
401
  };
402
- '/budget': {
402
+ '/v1/budget': {
403
403
  parameters: {
404
404
  query?: never;
405
405
  header?: never;
@@ -419,7 +419,7 @@ interface paths {
419
419
  patch?: never;
420
420
  trace?: never;
421
421
  };
422
- '/files': {
422
+ '/v1/files': {
423
423
  parameters: {
424
424
  query?: never;
425
425
  header?: never;
@@ -452,7 +452,7 @@ interface paths {
452
452
  patch?: never;
453
453
  trace?: never;
454
454
  };
455
- '/files/{file_id}': {
455
+ '/v1/files/{file_id}': {
456
456
  parameters: {
457
457
  query?: never;
458
458
  header?: never;
@@ -490,7 +490,7 @@ interface paths {
490
490
  patch?: never;
491
491
  trace?: never;
492
492
  };
493
- '/integrations': {
493
+ '/v1/integrations': {
494
494
  parameters: {
495
495
  query?: never;
496
496
  header?: never;
@@ -517,7 +517,7 @@ interface paths {
517
517
  patch?: never;
518
518
  trace?: never;
519
519
  };
520
- '/integrations/github/members': {
520
+ '/v1/integrations/github/members': {
521
521
  parameters: {
522
522
  query?: never;
523
523
  header?: never;
@@ -543,7 +543,7 @@ interface paths {
543
543
  patch?: never;
544
544
  trace?: never;
545
545
  };
546
- '/integrations/github/repos': {
546
+ '/v1/integrations/github/repos': {
547
547
  parameters: {
548
548
  query?: never;
549
549
  header?: never;
@@ -563,7 +563,7 @@ interface paths {
563
563
  patch?: never;
564
564
  trace?: never;
565
565
  };
566
- '/integrations/linear/teams': {
566
+ '/v1/integrations/linear/teams': {
567
567
  parameters: {
568
568
  query?: never;
569
569
  header?: never;
@@ -583,7 +583,7 @@ interface paths {
583
583
  patch?: never;
584
584
  trace?: never;
585
585
  };
586
- '/integrations/sentry/organizations': {
586
+ '/v1/integrations/sentry/organizations': {
587
587
  parameters: {
588
588
  query?: never;
589
589
  header?: never;
@@ -603,7 +603,7 @@ interface paths {
603
603
  patch?: never;
604
604
  trace?: never;
605
605
  };
606
- '/integrations/slack/channels': {
606
+ '/v1/integrations/slack/channels': {
607
607
  parameters: {
608
608
  query?: never;
609
609
  header?: never;
@@ -624,7 +624,7 @@ interface paths {
624
624
  patch?: never;
625
625
  trace?: never;
626
626
  };
627
- '/integrations/slack/members': {
627
+ '/v1/integrations/slack/members': {
628
628
  parameters: {
629
629
  query?: never;
630
630
  header?: never;
@@ -645,7 +645,7 @@ interface paths {
645
645
  patch?: never;
646
646
  trace?: never;
647
647
  };
648
- '/me': {
648
+ '/v1/me': {
649
649
  parameters: {
650
650
  query?: never;
651
651
  header?: never;
@@ -665,7 +665,7 @@ interface paths {
665
665
  patch?: never;
666
666
  trace?: never;
667
667
  };
668
- '/memories': {
668
+ '/v1/memories': {
669
669
  parameters: {
670
670
  query?: never;
671
671
  header?: never;
@@ -702,7 +702,7 @@ interface paths {
702
702
  patch?: never;
703
703
  trace?: never;
704
704
  };
705
- '/memories/{memory_id}': {
705
+ '/v1/memories/{memory_id}': {
706
706
  parameters: {
707
707
  query?: never;
708
708
  header?: never;
@@ -743,7 +743,7 @@ interface paths {
743
743
  patch?: never;
744
744
  trace?: never;
745
745
  };
746
- '/models': {
746
+ '/v1/models': {
747
747
  parameters: {
748
748
  query?: never;
749
749
  header?: never;
@@ -770,7 +770,7 @@ interface paths {
770
770
  patch?: never;
771
771
  trace?: never;
772
772
  };
773
- '/reviews': {
773
+ '/v1/reviews': {
774
774
  parameters: {
775
775
  query?: never;
776
776
  header?: never;
@@ -809,7 +809,7 @@ interface paths {
809
809
  patch?: never;
810
810
  trace?: never;
811
811
  };
812
- '/reviews/{review_id}': {
812
+ '/v1/reviews/{review_id}': {
813
813
  parameters: {
814
814
  query?: never;
815
815
  header?: never;
@@ -836,7 +836,7 @@ interface paths {
836
836
  patch?: never;
837
837
  trace?: never;
838
838
  };
839
- '/secrets': {
839
+ '/v1/secrets': {
840
840
  parameters: {
841
841
  query?: never;
842
842
  header?: never;
@@ -868,7 +868,7 @@ interface paths {
868
868
  patch?: never;
869
869
  trace?: never;
870
870
  };
871
- '/secrets/{name}': {
871
+ '/v1/secrets/{name}': {
872
872
  parameters: {
873
873
  query?: never;
874
874
  header?: never;
@@ -891,7 +891,7 @@ interface paths {
891
891
  patch?: never;
892
892
  trace?: never;
893
893
  };
894
- '/sessions': {
894
+ '/v1/sessions': {
895
895
  parameters: {
896
896
  query?: never;
897
897
  header?: never;
@@ -927,7 +927,7 @@ interface paths {
927
927
  patch?: never;
928
928
  trace?: never;
929
929
  };
930
- '/sessions/search': {
930
+ '/v1/sessions/search': {
931
931
  parameters: {
932
932
  query?: never;
933
933
  header?: never;
@@ -955,7 +955,7 @@ interface paths {
955
955
  patch?: never;
956
956
  trace?: never;
957
957
  };
958
- '/sessions/sync': {
958
+ '/v1/sessions/sync': {
959
959
  parameters: {
960
960
  query?: never;
961
961
  header?: never;
@@ -979,7 +979,7 @@ interface paths {
979
979
  patch?: never;
980
980
  trace?: never;
981
981
  };
982
- '/sessions/{session_id}': {
982
+ '/v1/sessions/{session_id}': {
983
983
  parameters: {
984
984
  query?: never;
985
985
  header?: never;
@@ -1006,7 +1006,7 @@ interface paths {
1006
1006
  patch?: never;
1007
1007
  trace?: never;
1008
1008
  };
1009
- '/sessions/{session_id}/executions': {
1009
+ '/v1/sessions/{session_id}/executions': {
1010
1010
  parameters: {
1011
1011
  query?: never;
1012
1012
  header?: never;
@@ -1034,7 +1034,7 @@ interface paths {
1034
1034
  patch?: never;
1035
1035
  trace?: never;
1036
1036
  };
1037
- '/sessions/{session_id}/export': {
1037
+ '/v1/sessions/{session_id}/export': {
1038
1038
  parameters: {
1039
1039
  query?: never;
1040
1040
  header?: never;
@@ -1063,35 +1063,7 @@ interface paths {
1063
1063
  patch?: never;
1064
1064
  trace?: never;
1065
1065
  };
1066
- '/sessions/{session_id}/ide': {
1067
- parameters: {
1068
- query?: never;
1069
- header?: never;
1070
- path?: never;
1071
- cookie?: never;
1072
- };
1073
- /**
1074
- * Get Agent Session Ide
1075
- * @description Return the IDE link for the session's sandbox.
1076
- *
1077
- * The membership-gated dashboard page, which performs the sandbox
1078
- * proxy handoff itself.
1079
- *
1080
- * No credential is minted here — the URL grants nothing by
1081
- * possession. 409 when the sandbox isn't running (send the
1082
- * session a message to wake it first). Backs the `agent session
1083
- * ide` CLI verb.
1084
- */
1085
- get: operations['get_agent_session_ide'];
1086
- put?: never;
1087
- post?: never;
1088
- delete?: never;
1089
- options?: never;
1090
- head?: never;
1091
- patch?: never;
1092
- trace?: never;
1093
- };
1094
- '/sessions/{session_id}/messages': {
1066
+ '/v1/sessions/{session_id}/messages': {
1095
1067
  parameters: {
1096
1068
  query?: never;
1097
1069
  header?: never;
@@ -1116,7 +1088,7 @@ interface paths {
1116
1088
  patch?: never;
1117
1089
  trace?: never;
1118
1090
  };
1119
- '/sessions/{session_id}/output': {
1091
+ '/v1/sessions/{session_id}/output': {
1120
1092
  parameters: {
1121
1093
  query?: never;
1122
1094
  header?: never;
@@ -1129,7 +1101,7 @@ interface paths {
1129
1101
  *
1130
1102
  * The payload the agent submitted through its config-declared
1131
1103
  * output.json_schema, as the raw JSON body with no envelope. 404
1132
- * while the session is still running (poll GET /sessions/{id}),
1104
+ * while the session is still running (poll GET /v1/sessions/{id}),
1133
1105
  * when the agent declares no output block, or when no execution
1134
1106
  * produced output.
1135
1107
  */
@@ -1142,32 +1114,7 @@ interface paths {
1142
1114
  patch?: never;
1143
1115
  trace?: never;
1144
1116
  };
1145
- '/sessions/{session_id}/ports/{port}': {
1146
- parameters: {
1147
- query?: never;
1148
- header?: never;
1149
- path?: never;
1150
- cookie?: never;
1151
- };
1152
- /**
1153
- * Get Agent Session Port
1154
- * @description Return a preview link for a sandbox port.
1155
- *
1156
- * For a dev server running in the session's live sandbox: the
1157
- * same dashboard page as the IDE, deep-linked to the port.
1158
- *
1159
- * Backs `agent session port`.
1160
- */
1161
- get: operations['get_agent_session_port'];
1162
- put?: never;
1163
- post?: never;
1164
- delete?: never;
1165
- options?: never;
1166
- head?: never;
1167
- patch?: never;
1168
- trace?: never;
1169
- };
1170
- '/sessions/{session_id}/records': {
1117
+ '/v1/sessions/{session_id}/records': {
1171
1118
  parameters: {
1172
1119
  query?: never;
1173
1120
  header?: never;
@@ -1194,7 +1141,7 @@ interface paths {
1194
1141
  patch?: never;
1195
1142
  trace?: never;
1196
1143
  };
1197
- '/sessions/{session_id}/replay': {
1144
+ '/v1/sessions/{session_id}/replay': {
1198
1145
  parameters: {
1199
1146
  query?: never;
1200
1147
  header?: never;
@@ -1219,7 +1166,7 @@ interface paths {
1219
1166
  patch?: never;
1220
1167
  trace?: never;
1221
1168
  };
1222
- '/sessions/{session_id}/stop': {
1169
+ '/v1/sessions/{session_id}/stop': {
1223
1170
  parameters: {
1224
1171
  query?: never;
1225
1172
  header?: never;
@@ -1242,7 +1189,7 @@ interface paths {
1242
1189
  patch?: never;
1243
1190
  trace?: never;
1244
1191
  };
1245
- '/sessions/{session_id}/transcript': {
1192
+ '/v1/sessions/{session_id}/transcript': {
1246
1193
  parameters: {
1247
1194
  query?: never;
1248
1195
  header?: never;
@@ -1267,7 +1214,7 @@ interface paths {
1267
1214
  patch?: never;
1268
1215
  trace?: never;
1269
1216
  };
1270
- '/usage': {
1217
+ '/v1/usage': {
1271
1218
  parameters: {
1272
1219
  query?: never;
1273
1220
  header?: never;
@@ -1305,7 +1252,6 @@ interface components {
1305
1252
  /**
1306
1253
  * @default {
1307
1254
  * "enabled": true,
1308
- * "ide": true,
1309
1255
  * "interactive": true,
1310
1256
  * "metadata": {
1311
1257
  * "annotations": {},
@@ -1320,12 +1266,6 @@ interface components {
1320
1266
  * "compute": {},
1321
1267
  * "hooks": {},
1322
1268
  * "image": {},
1323
- * "ports": [
1324
- * 3000,
1325
- * 5173,
1326
- * 8000,
1327
- * 8080
1328
- * ],
1329
1269
  * "repositories": [],
1330
1270
  * "variables": []
1331
1271
  * }
@@ -1402,7 +1342,7 @@ interface components {
1402
1342
  AgentConfigCodex: {
1403
1343
  /**
1404
1344
  * Model
1405
- * @default bedrock-gpt-5.6-terra
1345
+ * @default gpt-5.6-terra
1406
1346
  */
1407
1347
  model: string;
1408
1348
  /**
@@ -1470,18 +1410,17 @@ interface components {
1470
1410
  * AgentConfigEllipsis
1471
1411
  * @description The Ellipsis product namespace for a config file: which schema this is
1472
1412
  * (`version`), the human-facing identity (`name`/`description`), freeform
1473
- * organizational `metadata`, whether the agent is `enabled`, and the two
1474
- * human-access flags (`interactive`/`ide`). The presence of a top-level
1475
- * `ellipsis:` mapping is what marks a YAML file as an Ellipsis agent config (vs
1476
- * arbitrary YAML that merely lives under a config directory) — see
1413
+ * organizational `metadata`, whether the agent is `enabled`, and the
1414
+ * human-access flag `interactive`. The presence of a top-level `ellipsis:`
1415
+ * mapping is what marks a YAML file as an Ellipsis agent config (vs arbitrary
1416
+ * YAML that merely lives under a config directory) — see
1477
1417
  * `yaml_is_ellipsis_config`.
1478
1418
  *
1479
- * `enabled`/`interactive`/`ide` are agent behavior, not freeform metadata, so
1480
- * they stay inside the config `sha` (only `metadata` is sha-excluded).
1481
- * `interactive` and `ide` are sibling human-access flags: `interactive` lets a
1482
- * human `agent session connect` to a live session (CLI relay); `ide` lets a
1483
- * human open an editor / a port URL into the sandbox. Neither decides whether a
1484
- * session is ephemeral or durable — that is the trigger's job.
1419
+ * `enabled`/`interactive` are agent behavior, not freeform metadata, so they
1420
+ * stay inside the config `sha` (only `metadata` is sha-excluded).
1421
+ * `interactive` lets a human `agent session connect` to a live session (CLI
1422
+ * relay). It does not decide whether a session is ephemeral or durable — that
1423
+ * is the trigger's job.
1485
1424
  */
1486
1425
  AgentConfigEllipsis: {
1487
1426
  /** Description */
@@ -1491,11 +1430,6 @@ interface components {
1491
1430
  * @default true
1492
1431
  */
1493
1432
  enabled: boolean;
1494
- /**
1495
- * Ide
1496
- * @default true
1497
- */
1498
- ide: boolean;
1499
1433
  /**
1500
1434
  * Interactive
1501
1435
  * @default true
@@ -1548,16 +1482,6 @@ interface components {
1548
1482
  hooks: components['schemas']['AgentConfigEnvironmentHooks'];
1549
1483
  /** @default {} */
1550
1484
  image: components['schemas']['AgentConfigEnvironmentImage'];
1551
- /**
1552
- * Ports
1553
- * @default [
1554
- * 3000,
1555
- * 5173,
1556
- * 8000,
1557
- * 8080
1558
- * ]
1559
- */
1560
- ports: number[];
1561
1485
  /**
1562
1486
  * Repositories
1563
1487
  * @default []
@@ -1623,7 +1547,7 @@ interface components {
1623
1547
  * `value`, when set, is a literal injected as-is — use it for non-secret
1624
1548
  * config (LOG_LEVEL, an API base URL). When `value` is omitted the value is
1625
1549
  * resolved at run time from the account's sandbox-secrets store (dashboard
1626
- * / `PUT /secrets`) by `name`, so a secret can be injected without
1550
+ * / `PUT /v1/secrets`) by `name`, so a secret can be injected without
1627
1551
  * ever putting it in the config file. Either way the variable only reaches
1628
1552
  * agents that name it.
1629
1553
  */
@@ -1665,7 +1589,7 @@ interface components {
1665
1589
  * when it happens; this is what goes in).
1666
1590
  *
1667
1591
  * `json_schema` types the payload a caller-started session takes
1668
- * (`POST /sessions` `input`, validated at the door; required when
1592
+ * (`POST /v1/sessions` `input`, validated at the door; required when
1669
1593
  * declared). It is illegal on a react-triggered agent — react payloads are
1670
1594
  * platform-shaped (the published surface field sets), not caller-shaped.
1671
1595
  *
@@ -1763,7 +1687,7 @@ interface components {
1763
1687
  * AgentConfigOutput
1764
1688
  * @description The typed output contract: the JSON Schema the agent must exit through
1765
1689
  * (the StructuredOutput exit tool). Read back via
1766
- * GET /sessions/{id}/output.
1690
+ * GET /v1/sessions/{id}/output.
1767
1691
  */
1768
1692
  AgentConfigOutput: {
1769
1693
  /** Json Schema */
@@ -2411,7 +2335,7 @@ interface components {
2411
2335
  CliAuthPollRequest: {
2412
2336
  /**
2413
2337
  * Device Code
2414
- * @description The device code returned by POST /auth/cli/start.
2338
+ * @description The device code returned by POST /v1/auth/cli/start.
2415
2339
  */
2416
2340
  device_code: string;
2417
2341
  };
@@ -2563,7 +2487,7 @@ interface components {
2563
2487
  repository?: string | null;
2564
2488
  /**
2565
2489
  * Template Id
2566
- * @description A gallery template slug (see GET /agents/templates).
2490
+ * @description A gallery template slug (see GET /v1/agents/templates).
2567
2491
  */
2568
2492
  template_id?: string | null;
2569
2493
  };
@@ -2995,17 +2919,6 @@ interface components {
2995
2919
  /** @description The connected Slack workspace, or null if not connected. */
2996
2920
  slack?: components['schemas']['SlackIntegrationSummary'] | null;
2997
2921
  };
2998
- /**
2999
- * GetSessionIdeResponse
3000
- * @description The IDE link for a session's live sandbox.
3001
- */
3002
- GetSessionIdeResponse: {
3003
- /**
3004
- * Url
3005
- * @description The membership-gated dashboard page for the session's sandbox. The page performs the proxy handoff itself, so the URL carries no credential — safe to share with any org member, in a transcript, or in a Slack message.
3006
- */
3007
- url: string;
3008
- };
3009
2922
  /**
3010
2923
  * GetSessionLogResponse
3011
2924
  * @description The session log manifest: the complete, ordered, downloadable history
@@ -3053,22 +2966,6 @@ interface components {
3053
2966
  */
3054
2967
  session_id: string;
3055
2968
  };
3056
- /**
3057
- * GetSessionPortResponse
3058
- * @description A preview link for a port in a session's live sandbox.
3059
- */
3060
- GetSessionPortResponse: {
3061
- /**
3062
- * Port
3063
- * @description The sandbox port the link previews.
3064
- */
3065
- port: number;
3066
- /**
3067
- * Url
3068
- * @description The same membership-gated dashboard page as the IDE URL, deep-linked to a preview port (a dev server the agent or the IDE user started).
3069
- */
3070
- url: string;
3071
- };
3072
2969
  /**
3073
2970
  * GetUsageDashboardResponse
3074
2971
  * @description The account's usage over a period: token and cost totals, a per-day
@@ -3740,9 +3637,9 @@ interface components {
3740
3637
  * Serving path is irrelevant here. Anthropic built every Claude model, so all of
3741
3638
  * them are ANTHROPIC whether we reach them through the first-party Anthropic API
3742
3639
  * or through Bedrock -- a choice made per request by the llm_providers chain, so
3743
- * it is not even a fixed property of the model. Likewise the `bedrock-gpt-5.6-*`
3744
- * rows are OPENAI (OpenAI's models, served by AWS), and GLM is ZAI (Z.ai's model,
3745
- * served by Concentrate).
3640
+ * it is not even a fixed property of the model. Likewise the `gpt-5.6-*` rows
3641
+ * are OPENAI (OpenAI's models, served by AWS via bedrock-mantle), and GLM is ZAI
3642
+ * (Z.ai's model, served by Concentrate).
3746
3643
  *
3747
3644
  * So this is deliberately NOT derived from `EgressRoute.provider`: routing is an
3748
3645
  * infrastructure fact that changes when we move a model between providers, while
@@ -5361,7 +5258,7 @@ interface components {
5361
5258
  /**
5362
5259
  * Session
5363
5260
  * @description An agent session: one conversation with an agent, from trigger to
5364
- * terminal state. Returned by `GET /sessions/{id}` and carried by the
5261
+ * terminal state. Returned by `GET /v1/sessions/{id}` and carried by the
5365
5262
  * session stream's `session`/`snapshot` frames — REST and stream never
5366
5263
  * disagree about what a session looks like.
5367
5264
  */
@@ -5370,23 +5267,11 @@ interface components {
5370
5267
  attribution?: components['schemas']['SessionAttribution'];
5371
5268
  /** @description The spend budget enforced for this session. */
5372
5269
  budget?: components['schemas']['SessionBudget'];
5373
- /**
5374
- * Client Version
5375
- * @description Version of the client that started the session, if reported.
5376
- */
5377
- client_version?: string | null;
5378
5270
  /**
5379
5271
  * Config Id
5380
5272
  * @description Identifier of the saved agent config the session ran on, if any.
5381
5273
  */
5382
5274
  config_id?: string | null;
5383
- /**
5384
- * Config Override
5385
- * @description The partial-config diff applied for this run; null when the config was unmodified.
5386
- */
5387
- config_override?: {
5388
- [key: string]: unknown;
5389
- } | null;
5390
5275
  /**
5391
5276
  * Context Repository
5392
5277
  * @description The "owner/name" repository context the session was started in, if any.
@@ -5448,16 +5333,6 @@ interface components {
5448
5333
  prompt?: string | null;
5449
5334
  /** @description Whether a client may send this session a message and, when it may not, the reason to show instead of a composer. */
5450
5335
  prompting: components['schemas']['SessionPrompting'];
5451
- /**
5452
- * Sandbox Id
5453
- * @description Identifier of the sandbox the session runs in, if any.
5454
- */
5455
- sandbox_id?: string | null;
5456
- /**
5457
- * Session Key
5458
- * @description Key identifying the durable conversation this session belongs to, or null for single-shot sessions.
5459
- */
5460
- session_key?: string | null;
5461
5336
  /** @description Lifecycle state of the durable conversation, or null for sessions without one. */
5462
5337
  session_state?: components['schemas']['SessionState'] | null;
5463
5338
  /** @description Where the session came from (e.g. react, manual, api, cli, mention, cron, laptop). */
@@ -5481,13 +5356,6 @@ interface components {
5481
5356
  * @description When the session was last updated.
5482
5357
  */
5483
5358
  updated_at: string;
5484
- /**
5485
- * Webhook Id
5486
- * @description Identifier of the webhook event that triggered the session, if any.
5487
- */
5488
- webhook_id?: string | null;
5489
- /** @description Type of the webhook event that triggered the session, if any. */
5490
- webhook_type?: components['schemas']['WebhookType'] | null;
5491
5359
  };
5492
5360
  /**
5493
5361
  * SessionAttribution
@@ -6121,7 +5989,7 @@ interface components {
6121
5989
  next_cursor?: string | null;
6122
5990
  /**
6123
5991
  * Sessions
6124
- * @description Lean wire rows — the same shape GET /sessions/{id} and the stream's session frames carry. The heavy blobs (config snapshot, input/output) live on the detail endpoints.
5992
+ * @description Lean wire rows — the same shape GET /v1/sessions/{id} and the stream's session frames carry. The heavy blobs (config snapshot, input/output) live on the detail endpoints.
6125
5993
  */
6126
5994
  sessions: components['schemas']['Session'][];
6127
5995
  };
@@ -6582,11 +6450,6 @@ interface components {
6582
6450
  /** Error Type */
6583
6451
  type: string;
6584
6452
  };
6585
- /**
6586
- * WebhookType
6587
- * @enum {string}
6588
- */
6589
- WebhookType: 'github.issue' | 'github.issue_comment' | 'github.push' | 'github.pull_request' | 'github.pull_request_comment' | 'github.pull_request_review' | 'github.pull_request_review_comment' | 'slack.app_mention' | 'slack.message' | 'slack.channel_created' | 'linear.issue' | 'linear.issue_comment' | 'sentry.event_alert' | 'sentry.metric_alert' | 'user.message';
6590
6453
  /**
6591
6454
  * WhoAmIResponse
6592
6455
  * @description The identity behind the caller's credential.
@@ -9806,75 +9669,6 @@ interface operations {
9806
9669
  };
9807
9670
  };
9808
9671
  };
9809
- get_agent_session_ide: {
9810
- parameters: {
9811
- query?: never;
9812
- header?: {
9813
- 'user-agent'?: string | null;
9814
- };
9815
- path: {
9816
- session_id: string;
9817
- };
9818
- cookie?: never;
9819
- };
9820
- requestBody?: never;
9821
- responses: {
9822
- /** @description Successful Response */
9823
- 200: {
9824
- headers: {
9825
- [name: string]: unknown;
9826
- };
9827
- content: {
9828
- 'application/json': components['schemas']['GetSessionIdeResponse'];
9829
- };
9830
- };
9831
- /** @description The bearer token is missing, invalid, or revoked. */
9832
- 401: {
9833
- headers: {
9834
- [name: string]: unknown;
9835
- };
9836
- content: {
9837
- 'application/json': components['schemas']['ErrorResponse'];
9838
- };
9839
- };
9840
- /** @description The credential may not perform this action, or the account is blocked. */
9841
- 403: {
9842
- headers: {
9843
- [name: string]: unknown;
9844
- };
9845
- content: {
9846
- 'application/json': components['schemas']['ErrorResponse'];
9847
- };
9848
- };
9849
- /** @description No such session in your account. */
9850
- 404: {
9851
- headers: {
9852
- [name: string]: unknown;
9853
- };
9854
- content: {
9855
- 'application/json': components['schemas']['ErrorResponse'];
9856
- };
9857
- };
9858
- /** @description The session's sandbox is not running; send it a message to wake it first. */
9859
- 409: {
9860
- headers: {
9861
- [name: string]: unknown;
9862
- };
9863
- content: {
9864
- 'application/json': components['schemas']['ErrorResponse'];
9865
- };
9866
- };
9867
- /** @description Validation Error */
9868
- 422: {
9869
- headers: {
9870
- [name: string]: unknown;
9871
- };
9872
- content: {
9873
- 'application/json': components['schemas']['HTTPValidationError'];
9874
- };
9875
- };
9876
- };
9877
- };
9878
9672
  send_agent_session_message: {
9879
9673
  parameters: {
9880
9674
  query?: never;
@@ -10017,76 +9811,6 @@ interface operations {
10017
9811
  };
10018
9812
  };
10019
9813
  };
10020
- get_agent_session_port: {
10021
- parameters: {
10022
- query?: never;
10023
- header?: {
10024
- 'user-agent'?: string | null;
10025
- };
10026
- path: {
10027
- session_id: string;
10028
- port: number;
10029
- };
10030
- cookie?: never;
10031
- };
10032
- requestBody?: never;
10033
- responses: {
10034
- /** @description Successful Response */
10035
- 200: {
10036
- headers: {
10037
- [name: string]: unknown;
10038
- };
10039
- content: {
10040
- 'application/json': components['schemas']['GetSessionPortResponse'];
10041
- };
10042
- };
10043
- /** @description The bearer token is missing, invalid, or revoked. */
10044
- 401: {
10045
- headers: {
10046
- [name: string]: unknown;
10047
- };
10048
- content: {
10049
- 'application/json': components['schemas']['ErrorResponse'];
10050
- };
10051
- };
10052
- /** @description The credential may not perform this action, or the account is blocked. */
10053
- 403: {
10054
- headers: {
10055
- [name: string]: unknown;
10056
- };
10057
- content: {
10058
- 'application/json': components['schemas']['ErrorResponse'];
10059
- };
10060
- };
10061
- /** @description No such session in your account, or the port is not a valid TCP port. */
10062
- 404: {
10063
- headers: {
10064
- [name: string]: unknown;
10065
- };
10066
- content: {
10067
- 'application/json': components['schemas']['ErrorResponse'];
10068
- };
10069
- };
10070
- /** @description The session's sandbox is not running; send it a message to wake it first. */
10071
- 409: {
10072
- headers: {
10073
- [name: string]: unknown;
10074
- };
10075
- content: {
10076
- 'application/json': components['schemas']['ErrorResponse'];
10077
- };
10078
- };
10079
- /** @description Validation Error */
10080
- 422: {
10081
- headers: {
10082
- [name: string]: unknown;
10083
- };
10084
- content: {
10085
- 'application/json': components['schemas']['HTTPValidationError'];
10086
- };
10087
- };
10088
- };
10089
- };
10090
9814
  get_agent_session_records: {
10091
9815
  parameters: {
10092
9816
  query?: {
@@ -10426,7 +10150,7 @@ interface operations {
10426
10150
  }
10427
10151
 
10428
10152
  /**
10429
- * One server-to-client frame of the Ellipsis session stream protocol v3 (WS /sessions/{id}/stream?protocol=3). Clients MUST ignore frames with unknown `type` values — additive frames are not a protocol break.
10153
+ * One server-to-client frame of the Ellipsis session stream protocol v3 (WS /v1/sessions/{id}/stream?protocol=3). Clients MUST ignore frames with unknown `type` values — additive frames are not a protocol break.
10430
10154
  */
10431
10155
  type SessionStreamFrame = SnapshotFrame | RecordsAppendFrame | SessionFrame | DeltaFrame | HeartbeatFrame | DoneFrame | ErrorFrame;
10432
10156
  type AttributionType = 'github_user' | 'linear_user' | 'slack_user' | 'api_key';
@@ -10501,7 +10225,6 @@ type RunStatus = 'scheduled' | 'starting' | 'working' | 'waiting' | 'done' | 'fa
10501
10225
  * The durable conversation axis (backs the surfaced `session` field).
10502
10226
  */
10503
10227
  type SessionLiveness = 'alive' | 'sleeping' | 'closed';
10504
- type WebhookType = 'github.issue' | 'github.issue_comment' | 'github.push' | 'github.pull_request' | 'github.pull_request_comment' | 'github.pull_request_review' | 'github.pull_request_review_comment' | 'slack.app_mention' | 'slack.message' | 'slack.channel_created' | 'linear.issue' | 'linear.issue_comment' | 'sentry.event_alert' | 'sentry.metric_alert' | 'user.message';
10505
10228
  /**
10506
10229
  * The first frame after the stream connects: the session plus its open
10507
10230
  * inbox. Records always arrive separately via records_append frames.
@@ -10575,20 +10298,10 @@ interface SessionMessage {
10575
10298
  interface Session {
10576
10299
  attribution: SessionAttribution;
10577
10300
  budget: SessionBudget;
10578
- /**
10579
- * Version of the client that started the session, if reported.
10580
- */
10581
- client_version: string | null;
10582
10301
  /**
10583
10302
  * Identifier of the saved agent config the session ran on, if any.
10584
10303
  */
10585
10304
  config_id: string | null;
10586
- /**
10587
- * The partial-config diff applied for this run; null when the config was unmodified.
10588
- */
10589
- config_override: {
10590
- [k: string]: unknown;
10591
- } | null;
10592
10305
  /**
10593
10306
  * The "owner/name" repository context the session was started in, if any.
10594
10307
  */
@@ -10639,14 +10352,6 @@ interface Session {
10639
10352
  */
10640
10353
  prompt: string | null;
10641
10354
  prompting: SessionPrompting;
10642
- /**
10643
- * Identifier of the sandbox the session runs in, if any.
10644
- */
10645
- sandbox_id: string | null;
10646
- /**
10647
- * Key identifying the durable conversation this session belongs to, or null for single-shot sessions.
10648
- */
10649
- session_key: string | null;
10650
10355
  /**
10651
10356
  * Lifecycle state of the durable conversation, or null for sessions without one.
10652
10357
  */
@@ -10667,14 +10372,6 @@ interface Session {
10667
10372
  * When the session was last updated.
10668
10373
  */
10669
10374
  updated_at: string;
10670
- /**
10671
- * Identifier of the webhook event that triggered the session, if any.
10672
- */
10673
- webhook_id: string | null;
10674
- /**
10675
- * Type of the webhook event that triggered the session, if any.
10676
- */
10677
- webhook_type: WebhookType | null;
10678
10375
  }
10679
10376
  /**
10680
10377
  * The principal this session is attributed to.
@@ -10956,20 +10653,10 @@ interface SessionFrame {
10956
10653
  interface Session1 {
10957
10654
  attribution: SessionAttribution;
10958
10655
  budget: SessionBudget;
10959
- /**
10960
- * Version of the client that started the session, if reported.
10961
- */
10962
- client_version: string | null;
10963
10656
  /**
10964
10657
  * Identifier of the saved agent config the session ran on, if any.
10965
10658
  */
10966
10659
  config_id: string | null;
10967
- /**
10968
- * The partial-config diff applied for this run; null when the config was unmodified.
10969
- */
10970
- config_override: {
10971
- [k: string]: unknown;
10972
- } | null;
10973
10660
  /**
10974
10661
  * The "owner/name" repository context the session was started in, if any.
10975
10662
  */
@@ -11020,14 +10707,6 @@ interface Session1 {
11020
10707
  */
11021
10708
  prompt: string | null;
11022
10709
  prompting: SessionPrompting;
11023
- /**
11024
- * Identifier of the sandbox the session runs in, if any.
11025
- */
11026
- sandbox_id: string | null;
11027
- /**
11028
- * Key identifying the durable conversation this session belongs to, or null for single-shot sessions.
11029
- */
11030
- session_key: string | null;
11031
10710
  /**
11032
10711
  * Lifecycle state of the durable conversation, or null for sessions without one.
11033
10712
  */
@@ -11048,14 +10727,6 @@ interface Session1 {
11048
10727
  * When the session was last updated.
11049
10728
  */
11050
10729
  updated_at: string;
11051
- /**
11052
- * Identifier of the webhook event that triggered the session, if any.
11053
- */
11054
- webhook_id: string | null;
11055
- /**
11056
- * Type of the webhook event that triggered the session, if any.
11057
- */
11058
- webhook_type: WebhookType | null;
11059
10730
  }
11060
10731
  /**
11061
10732
  * Fire-and-forget partial assistant output for the current response.