@ellipsis-dev/sdk 0.17.0 → 0.18.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.
@@ -114,51 +114,6 @@ interface paths {
114
114
  patch?: never;
115
115
  trace?: never;
116
116
  };
117
- '/v1/agents/defaults': {
118
- parameters: {
119
- query?: never;
120
- header?: never;
121
- path?: never;
122
- cookie?: never;
123
- };
124
- /**
125
- * List Agent Defaults
126
- * @description Get the default agent configs.
127
- *
128
- * The account-wide default and the per-repository defaults, as config
129
- * ids. Repo rungs are keyed "owner/name"; a repository this
130
- * installation can no longer see is omitted.
131
- */
132
- get: operations['list_agent_defaults'];
133
- /**
134
- * Put Agent Default
135
- * @description Set a default agent config.
136
- *
137
- * Addressed by rung: the account rung (repository omitted) or a
138
- * repository rung ("owner/name"); the config by id or by the
139
- * agent's name. Returns the full resulting ladder.
140
- *
141
- * Refused for sandbox tokens (potentially prompt-injected code
142
- * must not repoint the account's ambient default); an unknown or
143
- * foreign repository is a 404.
144
- */
145
- put: operations['put_agent_default'];
146
- post?: never;
147
- /**
148
- * Delete Agent Default
149
- * @description Clear a default agent config.
150
- *
151
- * Addressed by rung: the account rung (repository omitted) or a
152
- * repository rung.
153
- *
154
- * Refused for sandbox tokens.
155
- */
156
- delete: operations['delete_agent_default'];
157
- options?: never;
158
- head?: never;
159
- patch?: never;
160
- trace?: never;
161
- };
162
117
  '/v1/agents/templates': {
163
118
  parameters: {
164
119
  query?: never;
@@ -441,44 +396,6 @@ interface paths {
441
396
  patch?: never;
442
397
  trace?: never;
443
398
  };
444
- '/v1/environments/defaults': {
445
- parameters: {
446
- query?: never;
447
- header?: never;
448
- path?: never;
449
- cookie?: never;
450
- };
451
- /**
452
- * List Environment Defaults
453
- * @description Get the default environments.
454
- *
455
- * The account-wide default and the per-repository defaults, as
456
- * environment ids. Repo rungs are keyed "owner/name".
457
- */
458
- get: operations['list_environment_defaults'];
459
- /**
460
- * Put Environment Default
461
- * @description Set a default environment.
462
- *
463
- * Addressed by rung: the account rung (repository omitted) or a
464
- * repository rung ("owner/name"); the environment by id or name.
465
- * Returns the full resulting ladder. Refused for sandbox tokens.
466
- */
467
- put: operations['put_environment_default'];
468
- post?: never;
469
- /**
470
- * Delete Environment Default
471
- * @description Clear a default environment.
472
- *
473
- * Addressed by rung: the account rung (repository omitted) or a
474
- * repository rung. Refused for sandbox tokens.
475
- */
476
- delete: operations['delete_environment_default'];
477
- options?: never;
478
- head?: never;
479
- patch?: never;
480
- trace?: never;
481
- };
482
399
  '/v1/environments/{environment_id}': {
483
400
  parameters: {
484
401
  query?: never;
@@ -597,7 +514,7 @@ interface paths {
597
514
  cookie?: never;
598
515
  };
599
516
  /**
600
- * Get Integrations
517
+ * List Integrations
601
518
  * @description List connected integrations.
602
519
  *
603
520
  * A read-only view, so an agent authoring another agent's
@@ -752,7 +669,7 @@ interface paths {
752
669
  cookie?: never;
753
670
  };
754
671
  /**
755
- * Whoami
672
+ * Current Identity
756
673
  * @description Return the identity behind the caller's credential.
757
674
  */
758
675
  get: operations['whoami'];
@@ -951,7 +868,7 @@ interface paths {
951
868
  */
952
869
  get: operations['list_secrets'];
953
870
  /**
954
- * Put Secrets
871
+ * Set Secrets
955
872
  * @description Upsert secrets.
956
873
  *
957
874
  * Returns only the secrets this call wrote, names and timestamps
@@ -1011,13 +928,14 @@ interface paths {
1011
928
  * Start Agent Session
1012
929
  * @description Start a cloud agent session.
1013
930
  *
1014
- * Provide at most one of config_id (an id or an agent name) or
1015
- * config; with neither, the account's default-config ladder
1016
- * resolves the config. `prompt` is the first message; omit it and
931
+ * The base is `from_config_id` (an id or an agent name) or, omitted,
932
+ * the bare ad-hoc config; every AgentConfig key on the request
933
+ * deep-merges on top, so the body is both the pointer and the
934
+ * per-session override. `prompt` is the first message; omit it and
1017
935
  * the session starts idle, waiting for one. 400 when
1018
- * interactive=false and there is no prompt or input. 422 when the
1019
- * agent declares an input schema and the request's input is absent
1020
- * or invalid.
936
+ * ellipsis.interactive=false and there is no prompt or input. 422
937
+ * when the agent declares an input schema and the request's input
938
+ * is absent or invalid.
1021
939
  */
1022
940
  post: operations['start_agent_session'];
1023
941
  delete?: never;
@@ -1034,7 +952,7 @@ interface paths {
1034
952
  cookie?: never;
1035
953
  };
1036
954
  /**
1037
- * Search Sessions
955
+ * Search Agent Sessions
1038
956
  * @description Search sessions over steps, recaps, and pull requests.
1039
957
  *
1040
958
  * Grouped by session, over everything a session left behind: step text, recap text, created
@@ -1097,8 +1015,7 @@ interface paths {
1097
1015
  * instructions + the config's own instructions).
1098
1016
  *
1099
1017
  * Per execution because each cold wake persists its own launch
1100
- * config (a config edit or replay override between wakes changes
1101
- * it).
1018
+ * config (a config edit between wakes changes it).
1102
1019
  */
1103
1020
  get: operations['get_agent_session_executions'];
1104
1021
  put?: never;
@@ -1215,7 +1132,7 @@ interface paths {
1215
1132
  patch?: never;
1216
1133
  trace?: never;
1217
1134
  };
1218
- '/v1/sessions/{session_id}/replay': {
1135
+ '/v1/sessions/{session_id}/stop': {
1219
1136
  parameters: {
1220
1137
  query?: never;
1221
1138
  header?: never;
@@ -1225,22 +1142,20 @@ interface paths {
1225
1142
  get?: never;
1226
1143
  put?: never;
1227
1144
  /**
1228
- * Replay Agent Session
1229
- * @description Replay a session as a new session.
1145
+ * Stop Agent Session
1146
+ * @description Stop an in-flight session and return it.
1230
1147
  *
1231
- * Reuses the original config snapshot unless config_id is given,
1232
- * and accepts the same config_override as session start — e.g.
1233
- * {"claude": {"model": ...}} to replay the same input on a
1234
- * different model.
1148
+ * stopped_by is recorded only when the caller's credential maps
1149
+ * to a GitHub account.
1235
1150
  */
1236
- post: operations['replay_agent_session'];
1151
+ post: operations['stop_agent_session'];
1237
1152
  delete?: never;
1238
1153
  options?: never;
1239
1154
  head?: never;
1240
1155
  patch?: never;
1241
1156
  trace?: never;
1242
1157
  };
1243
- '/v1/sessions/{session_id}/stop': {
1158
+ '/v1/sessions/{session_id}/transcript': {
1244
1159
  parameters: {
1245
1160
  query?: never;
1246
1161
  header?: never;
@@ -1250,38 +1165,47 @@ interface paths {
1250
1165
  get?: never;
1251
1166
  put?: never;
1252
1167
  /**
1253
- * Stop Agent Session
1254
- * @description Stop an in-flight session and return it.
1168
+ * Ingest Agent Session Transcript
1169
+ * @description Append transcript lines to a session's record.
1255
1170
  *
1256
- * stopped_by is recorded only when the caller's credential maps
1257
- * to a GitHub account.
1171
+ * The in-sandbox tailer for interactive sessions.
1172
+ *
1173
+ * A sandbox token may only push its own session's transcript.
1174
+ * Idempotent by transcript line uuid; tolerant of malformed lines.
1258
1175
  */
1259
- post: operations['stop_agent_session'];
1176
+ post: operations['ingest_agent_session_transcript'];
1260
1177
  delete?: never;
1261
1178
  options?: never;
1262
1179
  head?: never;
1263
1180
  patch?: never;
1264
1181
  trace?: never;
1265
1182
  };
1266
- '/v1/sessions/{session_id}/transcript': {
1183
+ '/v1/settings/sessions/defaults': {
1267
1184
  parameters: {
1268
1185
  query?: never;
1269
1186
  header?: never;
1270
1187
  path?: never;
1271
1188
  cookie?: never;
1272
1189
  };
1273
- get?: never;
1274
- put?: never;
1275
1190
  /**
1276
- * Ingest Agent Session Transcript
1277
- * @description Append transcript lines to a session's record.
1191
+ * Get Session Defaults
1192
+ * @description Get the account-wide session defaults.
1278
1193
  *
1279
- * The in-sandbox tailer for interactive sessions.
1194
+ * Today one setting: the default model every session falls back to
1195
+ * when neither its request nor its agent config names one.
1196
+ */
1197
+ get: operations['get_session_defaults'];
1198
+ /**
1199
+ * Set Session Defaults
1200
+ * @description Set the account-wide session defaults.
1280
1201
  *
1281
- * A sandbox token may only push its own session's transcript.
1282
- * Idempotent by transcript line uuid; tolerant of malformed lines.
1202
+ * `model` accepts an alias or canonical id and is stored canonical;
1203
+ * null clears it (sessions then fall back to the platform default).
1204
+ * Refused for sandbox tokens (potentially prompt-injected code must
1205
+ * not repoint the account's default model).
1283
1206
  */
1284
- post: operations['ingest_agent_session_transcript'];
1207
+ put: operations['put_session_defaults'];
1208
+ post?: never;
1285
1209
  delete?: never;
1286
1210
  options?: never;
1287
1211
  head?: never;
@@ -1296,7 +1220,7 @@ interface paths {
1296
1220
  cookie?: never;
1297
1221
  };
1298
1222
  /**
1299
- * Get Usage Endpoint
1223
+ * Get Usage
1300
1224
  * @description Return the caller's usage dashboard data.
1301
1225
  */
1302
1226
  get: operations['get_usage_endpoint'];
@@ -1317,7 +1241,6 @@ interface components {
1317
1241
  budget: components['schemas']['AgentConfigBudget'];
1318
1242
  /**
1319
1243
  * @default {
1320
- * "model": "claude-opus-5",
1321
1244
  * "system": ""
1322
1245
  * }
1323
1246
  */
@@ -1381,11 +1304,8 @@ interface components {
1381
1304
  fallback_model?: string | null;
1382
1305
  /** Max Turns */
1383
1306
  max_turns?: number | null;
1384
- /**
1385
- * Model
1386
- * @default claude-opus-5
1387
- */
1388
- model: string;
1307
+ /** Model */
1308
+ model?: string | null;
1389
1309
  settings?: components['schemas']['AgentConfigSettingsRef'] | null;
1390
1310
  /**
1391
1311
  * System
@@ -1751,9 +1671,14 @@ interface components {
1751
1671
  /**
1752
1672
  * AgentConfigMentionPlatform
1753
1673
  * @description The surface an @ellipsis mention can come from.
1674
+ *
1675
+ * No SLACK member: Slack routing is not a trigger on an agent config, it is the
1676
+ * `slack.yaml` routing file (`SlackConfig`), which answers the questions a
1677
+ * platform list cannot — which channel, and whose DM. A mention trigger listing
1678
+ * `slack` is therefore a config error, not a silently-never-fires config.
1754
1679
  * @enum {string}
1755
1680
  */
1756
- AgentConfigMentionPlatform: 'github' | 'slack' | 'linear';
1681
+ AgentConfigMentionPlatform: 'github' | 'linear';
1757
1682
  /** AgentConfigMentionTrigger */
1758
1683
  AgentConfigMentionTrigger: {
1759
1684
  /**
@@ -1924,31 +1849,6 @@ interface components {
1924
1849
  */
1925
1850
  configs: components['schemas']['Config'][];
1926
1851
  };
1927
- /**
1928
- * AgentDefaults
1929
- * @description Which agent config serves sessions started without an explicit config:
1930
- * one account-wide rung, plus a rung per repository.
1931
- *
1932
- * Values are config ids — stable across renames, unlike the agent's name.
1933
- * A repo rung whose repository this installation can no longer see is absent
1934
- * from `repositories`; its row is left in place, so re-installing the repo
1935
- * brings the rung back.
1936
- */
1937
- AgentDefaults: {
1938
- /**
1939
- * Account
1940
- * @description Config id serving sessions with no repository context, or null when no account default is set.
1941
- */
1942
- account?: string | null;
1943
- /**
1944
- * Repositories
1945
- * @description Config id per repository, keyed "owner/name". A repository with no default set is absent.
1946
- * @default {}
1947
- */
1948
- repositories: {
1949
- [key: string]: string;
1950
- };
1951
- };
1952
1852
  /**
1953
1853
  * AgentTemplate
1954
1854
  * @description A built-in agent template: a ready-to-use agent config plus the
@@ -3308,27 +3208,6 @@ interface components {
3308
3208
  /** Name */
3309
3209
  name?: string | null;
3310
3210
  };
3311
- /**
3312
- * EnvironmentDefaults
3313
- * @description Which environment serves sessions whose config carries no environment
3314
- * of its own: one account-wide rung, plus a rung per repository. Values are
3315
- * environment ids — stable across renames, unlike names.
3316
- */
3317
- EnvironmentDefaults: {
3318
- /**
3319
- * Account
3320
- * @description Environment id serving sessions with no repository context, or null when no account default is set.
3321
- */
3322
- account?: string | null;
3323
- /**
3324
- * Repositories
3325
- * @description Environment id per repository, keyed "owner/name". A repository with no default set is absent.
3326
- * @default {}
3327
- */
3328
- repositories: {
3329
- [key: string]: string;
3330
- };
3331
- };
3332
3211
  /**
3333
3212
  * EnvironmentResponse
3334
3213
  * @description One saved environment.
@@ -4680,40 +4559,6 @@ interface components {
4680
4559
  */
4681
4560
  prs: number;
4682
4561
  };
4683
- /**
4684
- * PutAgentDefaultRequest
4685
- * @description Parameters for setting a default agent config, at either the account
4686
- * or the repository level.
4687
- */
4688
- PutAgentDefaultRequest: {
4689
- /**
4690
- * Config Id
4691
- * @description The config to make the default: a config id, or the agent's customer-unique `ellipsis.name`.
4692
- */
4693
- config_id: string;
4694
- /**
4695
- * Repository
4696
- * @description The rung to set: "owner/name" for a repo default; omit to set the account default. Unlike session start's silent ignore, an unknown or foreign repo here is a 404.
4697
- */
4698
- repository?: string | null;
4699
- };
4700
- /**
4701
- * PutEnvironmentDefaultRequest
4702
- * @description Parameters for setting a default environment, at either the account or
4703
- * the repository level.
4704
- */
4705
- PutEnvironmentDefaultRequest: {
4706
- /**
4707
- * Environment
4708
- * @description The environment to make the default: an environment id, or its customer-unique name.
4709
- */
4710
- environment: string;
4711
- /**
4712
- * Repository
4713
- * @description The rung to set: "owner/name" for a repo default; omit to set the account default. An unknown or foreign repo is a 404.
4714
- */
4715
- repository?: string | null;
4716
- };
4717
4562
  /**
4718
4563
  * PutSecretsRequest
4719
4564
  * @description Store secrets for the account's sandboxes. Each secret is upserted by
@@ -4962,30 +4807,6 @@ interface components {
4962
4807
  * @enum {string}
4963
4808
  */
4964
4809
  RecordSource: 'lifecycle' | 'claude_code' | 'codex';
4965
- /**
4966
- * ReplayAgentSessionRequest
4967
- * @description Parameters for re-running an existing run's original trigger input as
4968
- * a new run.
4969
- */
4970
- ReplayAgentSessionRequest: {
4971
- /**
4972
- * Config Id
4973
- * @description A saved config to replay against. By default the original run's frozen config snapshot is reused.
4974
- */
4975
- config_id?: string | null;
4976
- /**
4977
- * Override
4978
- * @description Optional partial patch on the replayed config, applied last — e.g. {"claude": {"model": "claude-opus-4-8"}} to replay the run on a different model, or {"budget": {"session": 5.0}} to raise its budget.
4979
- */
4980
- override?: {
4981
- [key: string]: unknown;
4982
- } | null;
4983
- /**
4984
- * Prompt
4985
- * @description Per-run instructions. Omit to inherit the original run's prompt (a bare replay re-runs the same instructions); pass "" to clear it.
4986
- */
4987
- prompt?: string | null;
4988
- };
4989
4810
  /**
4990
4811
  * RepoFacet
4991
4812
  * @description A repository filter option, counted over the unfiltered window so
@@ -6433,6 +6254,17 @@ interface components {
6433
6254
  */
6434
6255
  total: number;
6435
6256
  };
6257
+ /**
6258
+ * SessionDefaults
6259
+ * @description The account-wide session defaults.
6260
+ */
6261
+ SessionDefaults: {
6262
+ /**
6263
+ * Model
6264
+ * @description Canonical model id every session falls back to when neither the request nor its agent config names one, or null when unset (sessions then run the platform default).
6265
+ */
6266
+ model?: string | null;
6267
+ };
6436
6268
  /**
6437
6269
  * SessionEnvironment
6438
6270
  * @description The environment this session resolved: which saved environment (as it
@@ -7119,27 +6951,28 @@ interface components {
7119
6951
  };
7120
6952
  /**
7121
6953
  * StartAgentSessionRequest
7122
- * @description Parameters for starting a new agent session.
6954
+ * @description Parameters for starting a new agent session: an optional base config
6955
+ * pointer, the message fields, and any AgentConfig keys to patch on top.
7123
6956
  */
7124
6957
  StartAgentSessionRequest: {
7125
- /** @description An inline agent config to run under. At most one of config_id or config may be set; if neither is, the run resolves the account's default-config ladder (repo default, then account default, then the platform default config). */
7126
- config?: components['schemas']['AgentConfig'] | null;
7127
- /**
7128
- * Config Id
7129
- * @description A saved agent config to run under: its id, or the agent's customer-unique `ellipsis.name`.
7130
- */
7131
- config_id?: string | null;
6958
+ /** @description The session's spend limits, e.g. {"session": 5.0}. */
6959
+ budget?: components['schemas']['AgentConfigBudget'] | null;
6960
+ /** @description The Claude-harness block: `{"model": ...}` to pick this session's model, plus system/effort/fallback_model/max_turns/settings. */
6961
+ claude?: components['schemas']['AgentConfigClaude'] | null;
6962
+ /** @description The Codex-harness block. Its presence on the EFFECTIVE config selects the Codex harness, exactly as in a saved config. */
6963
+ codex?: components['schemas']['AgentConfigCodex'] | null;
6964
+ /** @description Platform housekeeping: metadata, interactive, force_rebuild. */
6965
+ ellipsis?: components['schemas']['StartSessionEllipsis'];
7132
6966
  /**
7133
6967
  * Environment
7134
- * @description The environment to run in: a saved environment's id (`env_...`) or its customer-unique name. Only for sessions with no explicit config (the agent config decides its own environment; 400 when combined with config/config_id). Omitted, the default-environment ladder resolves: repo default, then account default, then the built-in basic sandbox.
6968
+ * @description Where the session runs. A STRING (a saved environment's `env_...` id or name) re-picks that environment wholesale it beats the base config's own reference. An OBJECT deep-merges onto the resolved environment (repositories merge by identity, see above).
7135
6969
  */
7136
- environment?: string | null;
6970
+ environment?: string | components['schemas']['AgentConfigEnvironment'] | null;
7137
6971
  /**
7138
- * Force Rebuild
7139
- * @description Skip the image cache for this session's initial provision: a fresh full build whose snapshot then refreshes the cache for later runs. A wake of a durable session provisions through the cache as usual. The CLI's `--rebuild`.
7140
- * @default false
6972
+ * From Config Id
6973
+ * @description The saved agent config to use as this session's base: its id, or the agent's customer-unique `ellipsis.name`. Omitted, the base is the bare ad-hoc config an empty system prompt on the account's default model in the basic sandbox — so the request's own keys and prompt fully describe the run.
7141
6974
  */
7142
- force_rebuild: boolean;
6975
+ from_config_id?: string | null;
7143
6976
  /**
7144
6977
  * Input
7145
6978
  * @description The typed payload for an agent that declares input.json_schema: validated against the effective config's schema (422 on mismatch), rendered into the session's initial message (the agent's input.message template, or a JSON block). Required when the agent declares a schema; rejected when it does not.
@@ -7147,37 +6980,20 @@ interface components {
7147
6980
  input?: {
7148
6981
  [key: string]: unknown;
7149
6982
  } | null;
7150
- /**
7151
- * Interactive
7152
- * @description Whether the session stays open for messages after its first turn. Set false for a one-shot run that does its job and closes without holding a warm sandbox; a one-shot run must carry a prompt (or input), since nothing can ever be sent to it later. Agents on the Codex harness are one-shot regardless.
7153
- * @default true
7154
- */
7155
- interactive: boolean;
7156
- /**
7157
- * Metadata
7158
- * @description Arbitrary string key/value metadata stored on the session.
7159
- * @default {}
7160
- */
7161
- metadata: {
7162
- [key: string]: string;
7163
- };
7164
- /**
7165
- * Override
7166
- * @description Optional partial patch on the RESOLVED session config, applied last — after the config and environment are chosen and the environment is substituted in. Nested objects merge key by key; scalars and arrays replace. E.g. {"environment": {"compute": {"memory": "16GB"}}} for just this session, or {"claude": {"model": "claude-opus-4-8"}}. It cannot swap in a different saved environment (it patches the resolved document; it never re-runs resolution).
7167
- */
7168
- override?: {
7169
- [key: string]: unknown;
7170
- } | null;
6983
+ /** @description The structured-output exit contract for this session. */
6984
+ output?: components['schemas']['AgentConfigOutput'] | null;
6985
+ /** @description What the session may touch, per minted credential. */
6986
+ permissions?: components['schemas']['AgentConfigPermissions'] | null;
7171
6987
  /**
7172
6988
  * Prompt
7173
6989
  * @description The session's first message. Omit it and the session starts idle: the sandbox spins up, the agent waits at the prompt, and the first message you send opens turn 0.
7174
6990
  */
7175
6991
  prompt?: string | null;
7176
6992
  /**
7177
- * Repository
7178
- * @description The "owner/name" repository the client is standing in (the CLI's detected git remote). Selects the repo rung of the defaults ladder, and is merged into the sandbox repository set (cloned at its default branch) regardless of which config source is used. An unknown or foreign repo is ignored.
6993
+ * Skills
6994
+ * @description Config-declared skills; replaces the base config's list.
7179
6995
  */
7180
- repository?: string | null;
6996
+ skills?: components['schemas']['AgentConfigSkill'][] | null;
7181
6997
  };
7182
6998
  /**
7183
6999
  * StartCliAuthResponse
@@ -7216,6 +7032,35 @@ interface components {
7216
7032
  */
7217
7033
  verification_uri_complete: string;
7218
7034
  };
7035
+ /**
7036
+ * StartSessionEllipsis
7037
+ * @description Platform housekeeping for the session — the request-side `ellipsis`
7038
+ * block. Session-scoped: unlike a config file's `ellipsis` block it carries
7039
+ * no `name`/`enabled` (those describe a saved agent, not a run) — and
7040
+ * sending them here is a 422, not a silent drop.
7041
+ */
7042
+ StartSessionEllipsis: {
7043
+ /**
7044
+ * Force Rebuild
7045
+ * @description Skip the image cache for this session's initial provision: a fresh full build whose snapshot then refreshes the cache for later runs. A wake of a durable session provisions through the cache as usual. The CLI's `--rebuild`.
7046
+ * @default false
7047
+ */
7048
+ force_rebuild: boolean;
7049
+ /**
7050
+ * Interactive
7051
+ * @description Whether the session stays open for messages after its first turn. Set false for a one-shot run that does its job and closes without holding a warm sandbox; a one-shot run must carry a prompt (or input), since nothing can ever be sent to it later. Agents on the Codex harness are one-shot regardless.
7052
+ * @default true
7053
+ */
7054
+ interactive: boolean;
7055
+ /**
7056
+ * Metadata
7057
+ * @description Arbitrary string key/value metadata stored on the session.
7058
+ * @default {}
7059
+ */
7060
+ metadata: {
7061
+ [key: string]: string;
7062
+ };
7063
+ };
7219
7064
  /**
7220
7065
  * TokensInfo
7221
7066
  * @description Token/cost usage, per record (one API call's counts, aggregate fields at
@@ -7890,7 +7735,7 @@ interface operations {
7890
7735
  };
7891
7736
  };
7892
7737
  };
7893
- list_agent_defaults: {
7738
+ list_agent_templates: {
7894
7739
  parameters: {
7895
7740
  query?: never;
7896
7741
  header?: {
@@ -7907,7 +7752,7 @@ interface operations {
7907
7752
  [name: string]: unknown;
7908
7753
  };
7909
7754
  content: {
7910
- 'application/json': components['schemas']['AgentDefaults'];
7755
+ 'application/json': components['schemas']['AgentTemplatesListResponse'];
7911
7756
  };
7912
7757
  };
7913
7758
  /** @description The bearer token is missing, invalid, or revoked. */
@@ -7939,20 +7784,18 @@ interface operations {
7939
7784
  };
7940
7785
  };
7941
7786
  };
7942
- put_agent_default: {
7787
+ get_agent_template: {
7943
7788
  parameters: {
7944
7789
  query?: never;
7945
7790
  header?: {
7946
7791
  'user-agent'?: string | null;
7947
7792
  };
7948
- path?: never;
7949
- cookie?: never;
7950
- };
7951
- requestBody: {
7952
- content: {
7953
- 'application/json': components['schemas']['PutAgentDefaultRequest'];
7793
+ path: {
7794
+ template_id: string;
7954
7795
  };
7796
+ cookie?: never;
7955
7797
  };
7798
+ requestBody?: never;
7956
7799
  responses: {
7957
7800
  /** @description Successful Response */
7958
7801
  200: {
@@ -7960,16 +7803,7 @@ interface operations {
7960
7803
  [name: string]: unknown;
7961
7804
  };
7962
7805
  content: {
7963
- 'application/json': components['schemas']['AgentDefaults'];
7964
- };
7965
- };
7966
- /** @description The config is not eligible as a default: its pull request has not merged, or it is disabled. */
7967
- 400: {
7968
- headers: {
7969
- [name: string]: unknown;
7970
- };
7971
- content: {
7972
- 'application/json': components['schemas']['ErrorResponse'];
7806
+ 'application/json': components['schemas']['AgentTemplate'];
7973
7807
  };
7974
7808
  };
7975
7809
  /** @description The bearer token is missing, invalid, or revoked. */
@@ -7990,7 +7824,7 @@ interface operations {
7990
7824
  'application/json': components['schemas']['ErrorResponse'];
7991
7825
  };
7992
7826
  };
7993
- /** @description The config or repository was not found in your account. */
7827
+ /** @description No such template. */
7994
7828
  404: {
7995
7829
  headers: {
7996
7830
  [name: string]: unknown;
@@ -8010,11 +7844,13 @@ interface operations {
8010
7844
  };
8011
7845
  };
8012
7846
  };
8013
- delete_agent_default: {
7847
+ list_alerts: {
8014
7848
  parameters: {
8015
7849
  query?: {
8016
- /** @description Repo rung to clear ("owner/name"); omit to clear the account default. */
8017
- repository?: string | null;
7850
+ status?: components['schemas']['AlertStatus'] | null;
7851
+ source?: components['schemas']['AlertSource'] | null;
7852
+ limit?: number;
7853
+ cursor?: string | null;
8018
7854
  };
8019
7855
  header?: {
8020
7856
  'user-agent'?: string | null;
@@ -8025,11 +7861,13 @@ interface operations {
8025
7861
  requestBody?: never;
8026
7862
  responses: {
8027
7863
  /** @description Successful Response */
8028
- 204: {
7864
+ 200: {
8029
7865
  headers: {
8030
7866
  [name: string]: unknown;
8031
7867
  };
8032
- content?: never;
7868
+ content: {
7869
+ 'application/json': components['schemas']['AlertsListResponse'];
7870
+ };
8033
7871
  };
8034
7872
  /** @description The bearer token is missing, invalid, or revoked. */
8035
7873
  401: {
@@ -8049,15 +7887,6 @@ interface operations {
8049
7887
  'application/json': components['schemas']['ErrorResponse'];
8050
7888
  };
8051
7889
  };
8052
- /** @description No default is set at that rung, or the repository was not found in your account. */
8053
- 404: {
8054
- headers: {
8055
- [name: string]: unknown;
8056
- };
8057
- content: {
8058
- 'application/json': components['schemas']['ErrorResponse'];
8059
- };
8060
- };
8061
7890
  /** @description Validation Error */
8062
7891
  422: {
8063
7892
  headers: {
@@ -8069,13 +7898,15 @@ interface operations {
8069
7898
  };
8070
7899
  };
8071
7900
  };
8072
- list_agent_templates: {
7901
+ get_alert: {
8073
7902
  parameters: {
8074
7903
  query?: never;
8075
7904
  header?: {
8076
7905
  'user-agent'?: string | null;
8077
7906
  };
8078
- path?: never;
7907
+ path: {
7908
+ alert_id: string;
7909
+ };
8079
7910
  cookie?: never;
8080
7911
  };
8081
7912
  requestBody?: never;
@@ -8086,172 +7917,7 @@ interface operations {
8086
7917
  [name: string]: unknown;
8087
7918
  };
8088
7919
  content: {
8089
- 'application/json': components['schemas']['AgentTemplatesListResponse'];
8090
- };
8091
- };
8092
- /** @description The bearer token is missing, invalid, or revoked. */
8093
- 401: {
8094
- headers: {
8095
- [name: string]: unknown;
8096
- };
8097
- content: {
8098
- 'application/json': components['schemas']['ErrorResponse'];
8099
- };
8100
- };
8101
- /** @description The credential may not perform this action, or the account is blocked. */
8102
- 403: {
8103
- headers: {
8104
- [name: string]: unknown;
8105
- };
8106
- content: {
8107
- 'application/json': components['schemas']['ErrorResponse'];
8108
- };
8109
- };
8110
- /** @description Validation Error */
8111
- 422: {
8112
- headers: {
8113
- [name: string]: unknown;
8114
- };
8115
- content: {
8116
- 'application/json': components['schemas']['HTTPValidationError'];
8117
- };
8118
- };
8119
- };
8120
- };
8121
- get_agent_template: {
8122
- parameters: {
8123
- query?: never;
8124
- header?: {
8125
- 'user-agent'?: string | null;
8126
- };
8127
- path: {
8128
- template_id: string;
8129
- };
8130
- cookie?: never;
8131
- };
8132
- requestBody?: never;
8133
- responses: {
8134
- /** @description Successful Response */
8135
- 200: {
8136
- headers: {
8137
- [name: string]: unknown;
8138
- };
8139
- content: {
8140
- 'application/json': components['schemas']['AgentTemplate'];
8141
- };
8142
- };
8143
- /** @description The bearer token is missing, invalid, or revoked. */
8144
- 401: {
8145
- headers: {
8146
- [name: string]: unknown;
8147
- };
8148
- content: {
8149
- 'application/json': components['schemas']['ErrorResponse'];
8150
- };
8151
- };
8152
- /** @description The credential may not perform this action, or the account is blocked. */
8153
- 403: {
8154
- headers: {
8155
- [name: string]: unknown;
8156
- };
8157
- content: {
8158
- 'application/json': components['schemas']['ErrorResponse'];
8159
- };
8160
- };
8161
- /** @description No such template. */
8162
- 404: {
8163
- headers: {
8164
- [name: string]: unknown;
8165
- };
8166
- content: {
8167
- 'application/json': components['schemas']['ErrorResponse'];
8168
- };
8169
- };
8170
- /** @description Validation Error */
8171
- 422: {
8172
- headers: {
8173
- [name: string]: unknown;
8174
- };
8175
- content: {
8176
- 'application/json': components['schemas']['HTTPValidationError'];
8177
- };
8178
- };
8179
- };
8180
- };
8181
- list_alerts: {
8182
- parameters: {
8183
- query?: {
8184
- status?: components['schemas']['AlertStatus'] | null;
8185
- source?: components['schemas']['AlertSource'] | null;
8186
- limit?: number;
8187
- cursor?: string | null;
8188
- };
8189
- header?: {
8190
- 'user-agent'?: string | null;
8191
- };
8192
- path?: never;
8193
- cookie?: never;
8194
- };
8195
- requestBody?: never;
8196
- responses: {
8197
- /** @description Successful Response */
8198
- 200: {
8199
- headers: {
8200
- [name: string]: unknown;
8201
- };
8202
- content: {
8203
- 'application/json': components['schemas']['AlertsListResponse'];
8204
- };
8205
- };
8206
- /** @description The bearer token is missing, invalid, or revoked. */
8207
- 401: {
8208
- headers: {
8209
- [name: string]: unknown;
8210
- };
8211
- content: {
8212
- 'application/json': components['schemas']['ErrorResponse'];
8213
- };
8214
- };
8215
- /** @description The credential may not perform this action, or the account is blocked. */
8216
- 403: {
8217
- headers: {
8218
- [name: string]: unknown;
8219
- };
8220
- content: {
8221
- 'application/json': components['schemas']['ErrorResponse'];
8222
- };
8223
- };
8224
- /** @description Validation Error */
8225
- 422: {
8226
- headers: {
8227
- [name: string]: unknown;
8228
- };
8229
- content: {
8230
- 'application/json': components['schemas']['HTTPValidationError'];
8231
- };
8232
- };
8233
- };
8234
- };
8235
- get_alert: {
8236
- parameters: {
8237
- query?: never;
8238
- header?: {
8239
- 'user-agent'?: string | null;
8240
- };
8241
- path: {
8242
- alert_id: string;
8243
- };
8244
- cookie?: never;
8245
- };
8246
- requestBody?: never;
8247
- responses: {
8248
- /** @description Successful Response */
8249
- 200: {
8250
- headers: {
8251
- [name: string]: unknown;
8252
- };
8253
- content: {
8254
- 'application/json': components['schemas']['AlertResponse'];
7920
+ 'application/json': components['schemas']['AlertResponse'];
8255
7921
  };
8256
7922
  };
8257
7923
  /** @description The bearer token is missing, invalid, or revoked. */
@@ -8830,176 +8496,6 @@ interface operations {
8830
8496
  };
8831
8497
  };
8832
8498
  };
8833
- list_environment_defaults: {
8834
- parameters: {
8835
- query?: never;
8836
- header?: {
8837
- 'user-agent'?: string | null;
8838
- };
8839
- path?: never;
8840
- cookie?: never;
8841
- };
8842
- requestBody?: never;
8843
- responses: {
8844
- /** @description Successful Response */
8845
- 200: {
8846
- headers: {
8847
- [name: string]: unknown;
8848
- };
8849
- content: {
8850
- 'application/json': components['schemas']['EnvironmentDefaults'];
8851
- };
8852
- };
8853
- /** @description The bearer token is missing, invalid, or revoked. */
8854
- 401: {
8855
- headers: {
8856
- [name: string]: unknown;
8857
- };
8858
- content: {
8859
- 'application/json': components['schemas']['ErrorResponse'];
8860
- };
8861
- };
8862
- /** @description The credential may not perform this action, or the account is blocked. */
8863
- 403: {
8864
- headers: {
8865
- [name: string]: unknown;
8866
- };
8867
- content: {
8868
- 'application/json': components['schemas']['ErrorResponse'];
8869
- };
8870
- };
8871
- /** @description Validation Error */
8872
- 422: {
8873
- headers: {
8874
- [name: string]: unknown;
8875
- };
8876
- content: {
8877
- 'application/json': components['schemas']['HTTPValidationError'];
8878
- };
8879
- };
8880
- };
8881
- };
8882
- put_environment_default: {
8883
- parameters: {
8884
- query?: never;
8885
- header?: {
8886
- 'user-agent'?: string | null;
8887
- };
8888
- path?: never;
8889
- cookie?: never;
8890
- };
8891
- requestBody: {
8892
- content: {
8893
- 'application/json': components['schemas']['PutEnvironmentDefaultRequest'];
8894
- };
8895
- };
8896
- responses: {
8897
- /** @description Successful Response */
8898
- 200: {
8899
- headers: {
8900
- [name: string]: unknown;
8901
- };
8902
- content: {
8903
- 'application/json': components['schemas']['EnvironmentDefaults'];
8904
- };
8905
- };
8906
- /** @description The bearer token is missing, invalid, or revoked. */
8907
- 401: {
8908
- headers: {
8909
- [name: string]: unknown;
8910
- };
8911
- content: {
8912
- 'application/json': components['schemas']['ErrorResponse'];
8913
- };
8914
- };
8915
- /** @description The credential may not perform this action, or the account is blocked. */
8916
- 403: {
8917
- headers: {
8918
- [name: string]: unknown;
8919
- };
8920
- content: {
8921
- 'application/json': components['schemas']['ErrorResponse'];
8922
- };
8923
- };
8924
- /** @description The environment or repository was not found in your account. */
8925
- 404: {
8926
- headers: {
8927
- [name: string]: unknown;
8928
- };
8929
- content: {
8930
- 'application/json': components['schemas']['ErrorResponse'];
8931
- };
8932
- };
8933
- /** @description Validation Error */
8934
- 422: {
8935
- headers: {
8936
- [name: string]: unknown;
8937
- };
8938
- content: {
8939
- 'application/json': components['schemas']['HTTPValidationError'];
8940
- };
8941
- };
8942
- };
8943
- };
8944
- delete_environment_default: {
8945
- parameters: {
8946
- query?: {
8947
- /** @description Repo rung to clear ("owner/name"); omit to clear the account default. */
8948
- repository?: string | null;
8949
- };
8950
- header?: {
8951
- 'user-agent'?: string | null;
8952
- };
8953
- path?: never;
8954
- cookie?: never;
8955
- };
8956
- requestBody?: never;
8957
- responses: {
8958
- /** @description Successful Response */
8959
- 204: {
8960
- headers: {
8961
- [name: string]: unknown;
8962
- };
8963
- content?: never;
8964
- };
8965
- /** @description The bearer token is missing, invalid, or revoked. */
8966
- 401: {
8967
- headers: {
8968
- [name: string]: unknown;
8969
- };
8970
- content: {
8971
- 'application/json': components['schemas']['ErrorResponse'];
8972
- };
8973
- };
8974
- /** @description The credential may not perform this action, or the account is blocked. */
8975
- 403: {
8976
- headers: {
8977
- [name: string]: unknown;
8978
- };
8979
- content: {
8980
- 'application/json': components['schemas']['ErrorResponse'];
8981
- };
8982
- };
8983
- /** @description No default is set at that rung, or the repository was not found in your account. */
8984
- 404: {
8985
- headers: {
8986
- [name: string]: unknown;
8987
- };
8988
- content: {
8989
- 'application/json': components['schemas']['ErrorResponse'];
8990
- };
8991
- };
8992
- /** @description Validation Error */
8993
- 422: {
8994
- headers: {
8995
- [name: string]: unknown;
8996
- };
8997
- content: {
8998
- 'application/json': components['schemas']['HTTPValidationError'];
8999
- };
9000
- };
9001
- };
9002
- };
9003
8499
  get_environment: {
9004
8500
  parameters: {
9005
8501
  query?: never;
@@ -10698,7 +10194,7 @@ interface operations {
10698
10194
  'application/json': components['schemas']['SessionResponse'];
10699
10195
  };
10700
10196
  };
10701
- /** @description The request combines incompatible fields (both config sources, or a one-shot run with no prompt or input), or the config override is invalid. */
10197
+ /** @description The request is incompatible with itself (a one-shot run with no prompt or input) or its config keys produce an invalid config. */
10702
10198
  400: {
10703
10199
  headers: {
10704
10200
  [name: string]: unknown;
@@ -10725,7 +10221,7 @@ interface operations {
10725
10221
  'application/json': components['schemas']['ErrorResponse'];
10726
10222
  };
10727
10223
  };
10728
- /** @description The named agent does not exist in your account. */
10224
+ /** @description The named agent or environment does not exist in your account. */
10729
10225
  404: {
10730
10226
  headers: {
10731
10227
  [name: string]: unknown;
@@ -10734,15 +10230,6 @@ interface operations {
10734
10230
  'application/json': components['schemas']['ErrorResponse'];
10735
10231
  };
10736
10232
  };
10737
- /** @description The resolved default config is broken (deleted, disabled, unmerged, or on an inaccessible repository). */
10738
- 409: {
10739
- headers: {
10740
- [name: string]: unknown;
10741
- };
10742
- content: {
10743
- 'application/json': components['schemas']['ErrorResponse'];
10744
- };
10745
- };
10746
10233
  /** @description The agent requires 'input' matching its input schema (missing or failed validation), or declares no input schema and 'input' was sent. */
10747
10234
  422: {
10748
10235
  headers: {
@@ -11212,7 +10699,7 @@ interface operations {
11212
10699
  };
11213
10700
  };
11214
10701
  };
11215
- replay_agent_session: {
10702
+ stop_agent_session: {
11216
10703
  parameters: {
11217
10704
  query?: never;
11218
10705
  header?: {
@@ -11223,14 +10710,10 @@ interface operations {
11223
10710
  };
11224
10711
  cookie?: never;
11225
10712
  };
11226
- requestBody: {
11227
- content: {
11228
- 'application/json': components['schemas']['ReplayAgentSessionRequest'];
11229
- };
11230
- };
10713
+ requestBody?: never;
11231
10714
  responses: {
11232
10715
  /** @description Successful Response */
11233
- 201: {
10716
+ 200: {
11234
10717
  headers: {
11235
10718
  [name: string]: unknown;
11236
10719
  };
@@ -11238,8 +10721,8 @@ interface operations {
11238
10721
  'application/json': components['schemas']['SessionResponse'];
11239
10722
  };
11240
10723
  };
11241
- /** @description The named config does not exist, or the config override is invalid. */
11242
- 400: {
10724
+ /** @description The bearer token is missing, invalid, or revoked. */
10725
+ 401: {
11243
10726
  headers: {
11244
10727
  [name: string]: unknown;
11245
10728
  };
@@ -11247,8 +10730,8 @@ interface operations {
11247
10730
  'application/json': components['schemas']['ErrorResponse'];
11248
10731
  };
11249
10732
  };
11250
- /** @description The bearer token is missing, invalid, or revoked. */
11251
- 401: {
10733
+ /** @description The credential may not perform this action, or the account is blocked. */
10734
+ 403: {
11252
10735
  headers: {
11253
10736
  [name: string]: unknown;
11254
10737
  };
@@ -11256,8 +10739,8 @@ interface operations {
11256
10739
  'application/json': components['schemas']['ErrorResponse'];
11257
10740
  };
11258
10741
  };
11259
- /** @description The credential may not perform this action, or the account is blocked. */
11260
- 403: {
10742
+ /** @description No such session in your account. */
10743
+ 404: {
11261
10744
  headers: {
11262
10745
  [name: string]: unknown;
11263
10746
  };
@@ -11265,8 +10748,8 @@ interface operations {
11265
10748
  'application/json': components['schemas']['ErrorResponse'];
11266
10749
  };
11267
10750
  };
11268
- /** @description No such session in your account. */
11269
- 404: {
10751
+ /** @description The session has already finished. */
10752
+ 409: {
11270
10753
  headers: {
11271
10754
  [name: string]: unknown;
11272
10755
  };
@@ -11285,7 +10768,7 @@ interface operations {
11285
10768
  };
11286
10769
  };
11287
10770
  };
11288
- stop_agent_session: {
10771
+ ingest_agent_session_transcript: {
11289
10772
  parameters: {
11290
10773
  query?: never;
11291
10774
  header?: {
@@ -11296,7 +10779,11 @@ interface operations {
11296
10779
  };
11297
10780
  cookie?: never;
11298
10781
  };
11299
- requestBody?: never;
10782
+ requestBody: {
10783
+ content: {
10784
+ 'application/json': components['schemas']['IngestTranscriptRequest'];
10785
+ };
10786
+ };
11300
10787
  responses: {
11301
10788
  /** @description Successful Response */
11302
10789
  200: {
@@ -11304,7 +10791,7 @@ interface operations {
11304
10791
  [name: string]: unknown;
11305
10792
  };
11306
10793
  content: {
11307
- 'application/json': components['schemas']['SessionResponse'];
10794
+ 'application/json': components['schemas']['TranscriptIngestResult'];
11308
10795
  };
11309
10796
  };
11310
10797
  /** @description The bearer token is missing, invalid, or revoked. */
@@ -11334,7 +10821,7 @@ interface operations {
11334
10821
  'application/json': components['schemas']['ErrorResponse'];
11335
10822
  };
11336
10823
  };
11337
- /** @description The session has already finished. */
10824
+ /** @description The session has no execution yet to attach transcript records to. */
11338
10825
  409: {
11339
10826
  headers: {
11340
10827
  [name: string]: unknown;
@@ -11354,22 +10841,16 @@ interface operations {
11354
10841
  };
11355
10842
  };
11356
10843
  };
11357
- ingest_agent_session_transcript: {
10844
+ get_session_defaults: {
11358
10845
  parameters: {
11359
10846
  query?: never;
11360
10847
  header?: {
11361
10848
  'user-agent'?: string | null;
11362
10849
  };
11363
- path: {
11364
- session_id: string;
11365
- };
10850
+ path?: never;
11366
10851
  cookie?: never;
11367
10852
  };
11368
- requestBody: {
11369
- content: {
11370
- 'application/json': components['schemas']['IngestTranscriptRequest'];
11371
- };
11372
- };
10853
+ requestBody?: never;
11373
10854
  responses: {
11374
10855
  /** @description Successful Response */
11375
10856
  200: {
@@ -11377,7 +10858,7 @@ interface operations {
11377
10858
  [name: string]: unknown;
11378
10859
  };
11379
10860
  content: {
11380
- 'application/json': components['schemas']['TranscriptIngestResult'];
10861
+ 'application/json': components['schemas']['SessionDefaults'];
11381
10862
  };
11382
10863
  };
11383
10864
  /** @description The bearer token is missing, invalid, or revoked. */
@@ -11398,8 +10879,43 @@ interface operations {
11398
10879
  'application/json': components['schemas']['ErrorResponse'];
11399
10880
  };
11400
10881
  };
11401
- /** @description No such session in your account. */
11402
- 404: {
10882
+ /** @description Validation Error */
10883
+ 422: {
10884
+ headers: {
10885
+ [name: string]: unknown;
10886
+ };
10887
+ content: {
10888
+ 'application/json': components['schemas']['HTTPValidationError'];
10889
+ };
10890
+ };
10891
+ };
10892
+ };
10893
+ put_session_defaults: {
10894
+ parameters: {
10895
+ query?: never;
10896
+ header?: {
10897
+ 'user-agent'?: string | null;
10898
+ };
10899
+ path?: never;
10900
+ cookie?: never;
10901
+ };
10902
+ requestBody: {
10903
+ content: {
10904
+ 'application/json': components['schemas']['SessionDefaults'];
10905
+ };
10906
+ };
10907
+ responses: {
10908
+ /** @description Successful Response */
10909
+ 200: {
10910
+ headers: {
10911
+ [name: string]: unknown;
10912
+ };
10913
+ content: {
10914
+ 'application/json': components['schemas']['SessionDefaults'];
10915
+ };
10916
+ };
10917
+ /** @description The model id is unknown, internal-only, or not runnable on the Claude Code harness. */
10918
+ 400: {
11403
10919
  headers: {
11404
10920
  [name: string]: unknown;
11405
10921
  };
@@ -11407,8 +10923,17 @@ interface operations {
11407
10923
  'application/json': components['schemas']['ErrorResponse'];
11408
10924
  };
11409
10925
  };
11410
- /** @description The session has no execution yet to attach transcript records to. */
11411
- 409: {
10926
+ /** @description The bearer token is missing, invalid, or revoked. */
10927
+ 401: {
10928
+ headers: {
10929
+ [name: string]: unknown;
10930
+ };
10931
+ content: {
10932
+ 'application/json': components['schemas']['ErrorResponse'];
10933
+ };
10934
+ };
10935
+ /** @description The credential may not perform this action, or the account is blocked. */
10936
+ 403: {
11412
10937
  headers: {
11413
10938
  [name: string]: unknown;
11414
10939
  };
@@ -11508,8 +11033,13 @@ type PullRequestAction = 'opened' | 'pushed' | 'merged' | 'closed' | 'review_sub
11508
11033
  type SentryAction = 'issue_alert' | 'metric_alert';
11509
11034
  /**
11510
11035
  * The surface an @ellipsis mention can come from.
11036
+ *
11037
+ * No SLACK member: Slack routing is not a trigger on an agent config, it is the
11038
+ * `slack.yaml` routing file (`SlackConfig`), which answers the questions a
11039
+ * platform list cannot — which channel, and whose DM. A mention trigger listing
11040
+ * `slack` is therefore a config error, not a silently-never-fires config.
11511
11041
  */
11512
- type AgentConfigMentionPlatform = 'github' | 'slack' | 'linear';
11042
+ type AgentConfigMentionPlatform = 'github' | 'linear';
11513
11043
  /**
11514
11044
  * How this session's config was chosen.
11515
11045
  */
@@ -11764,7 +11294,7 @@ interface AgentConfigClaude {
11764
11294
  effort: EffortLevel | null;
11765
11295
  fallback_model: string | null;
11766
11296
  max_turns: number | null;
11767
- model: string;
11297
+ model: string | null;
11768
11298
  settings: AgentConfigSettingsRef | null;
11769
11299
  system: string | AgentConfigSystemFileRef | (string | AgentConfigSystemFileRef)[];
11770
11300
  }