@ellipsis-dev/sdk 0.31.0 → 0.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +541 -426
- package/dist/index.js +171 -390
- package/dist/store/index.d.ts +1 -1
- package/dist/stream/index.d.ts +1 -1
- package/dist/{types-BQxZcD0_.d.ts → types-CtvhpMyt.d.ts} +2703 -2997
- package/package.json +1 -1
- package/schema/collection_frames.schema.json +1245 -142
- package/schema/frames.schema.json +1215 -321
- package/schema/lifecycle.schema.json +0 -45
- package/schema/openapi.v1.json +4693 -5009
- package/schema/trigger_fields.schema.json +565 -0
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
},
|
|
60
60
|
"AgentIdentity": {
|
|
61
61
|
"additionalProperties": false,
|
|
62
|
-
"description": "The Ellipsis product namespace for a config file: which schema this is\n(`version`), the human-facing identity (`name`/`description`), freeform\norganizational `metadata`, and whether the agent is `enabled`. The\npresence of a top-level `ellipsis:` mapping is what marks a YAML file as\nan Ellipsis agent (vs arbitrary YAML that merely lives under a\nconfig directory) \u2014 see `yaml_is_ellipsis_config`.\n\n`enabled` is agent behavior, not freeform metadata, so it stays inside\nthe config `sha` (only `metadata` is sha-excluded).
|
|
62
|
+
"description": "The Ellipsis product namespace for a config file: which schema this is\n(`version`), the human-facing identity (`name`/`description`), freeform\norganizational `metadata`, and whether the agent is `enabled`. The\npresence of a top-level `ellipsis:` mapping is what marks a YAML file as\nan Ellipsis agent (vs arbitrary YAML that merely lives under a\nconfig directory) \u2014 see `yaml_is_ellipsis_config`.\n\n`enabled` is agent behavior, not freeform metadata, so it stays inside\nthe config `sha` (only `metadata` is sha-excluded).",
|
|
63
63
|
"properties": {
|
|
64
64
|
"description": {
|
|
65
65
|
"anyOf": [
|
|
@@ -131,6 +131,7 @@
|
|
|
131
131
|
},
|
|
132
132
|
"BudgetConfig": {
|
|
133
133
|
"additionalProperties": false,
|
|
134
|
+
"description": "A saved agent's spend limits: the per-session cap plus its total spend\nover the trailing 1, 7, and 28 days.",
|
|
134
135
|
"properties": {
|
|
135
136
|
"day": {
|
|
136
137
|
"anyOf": [
|
|
@@ -142,6 +143,7 @@
|
|
|
142
143
|
}
|
|
143
144
|
],
|
|
144
145
|
"default": null,
|
|
146
|
+
"description": "The most the agent may spend over the last day, in US dollars.",
|
|
145
147
|
"title": "Day"
|
|
146
148
|
},
|
|
147
149
|
"month": {
|
|
@@ -154,6 +156,7 @@
|
|
|
154
156
|
}
|
|
155
157
|
],
|
|
156
158
|
"default": null,
|
|
159
|
+
"description": "The most the agent may spend over the last 28 days, in US dollars.",
|
|
157
160
|
"title": "Month"
|
|
158
161
|
},
|
|
159
162
|
"session": {
|
|
@@ -167,6 +170,7 @@
|
|
|
167
170
|
}
|
|
168
171
|
],
|
|
169
172
|
"default": null,
|
|
173
|
+
"description": "The most one session may spend, in US dollars.",
|
|
170
174
|
"title": "Session"
|
|
171
175
|
},
|
|
172
176
|
"week": {
|
|
@@ -179,6 +183,7 @@
|
|
|
179
183
|
}
|
|
180
184
|
],
|
|
181
185
|
"default": null,
|
|
186
|
+
"description": "The most the agent may spend over the last 7 days, in US dollars.",
|
|
182
187
|
"title": "Week"
|
|
183
188
|
}
|
|
184
189
|
},
|
|
@@ -191,6 +196,42 @@
|
|
|
191
196
|
"title": "BudgetConfig",
|
|
192
197
|
"type": "object"
|
|
193
198
|
},
|
|
199
|
+
"CheckRunAction": {
|
|
200
|
+
"description": "The state of a check run when GitHub reports it. A run created before it finishes fires its status, and `in_progress` is `started`. A finished run fires its conclusion, `success` is `passed` and `failure` is `failed`. Every other value is the GitHub word.",
|
|
201
|
+
"enum": [
|
|
202
|
+
"requested",
|
|
203
|
+
"queued",
|
|
204
|
+
"waiting",
|
|
205
|
+
"pending",
|
|
206
|
+
"started",
|
|
207
|
+
"passed",
|
|
208
|
+
"failed",
|
|
209
|
+
"timed_out",
|
|
210
|
+
"cancelled",
|
|
211
|
+
"skipped",
|
|
212
|
+
"neutral",
|
|
213
|
+
"action_required",
|
|
214
|
+
"stale"
|
|
215
|
+
],
|
|
216
|
+
"title": "CheckRunAction",
|
|
217
|
+
"type": "string"
|
|
218
|
+
},
|
|
219
|
+
"CheckSuiteAction": {
|
|
220
|
+
"description": "The conclusion of a finished check suite. `success` is `passed` and `failure` is `failed`. Every other value is the GitHub word.",
|
|
221
|
+
"enum": [
|
|
222
|
+
"passed",
|
|
223
|
+
"failed",
|
|
224
|
+
"timed_out",
|
|
225
|
+
"cancelled",
|
|
226
|
+
"skipped",
|
|
227
|
+
"neutral",
|
|
228
|
+
"action_required",
|
|
229
|
+
"stale",
|
|
230
|
+
"startup_failure"
|
|
231
|
+
],
|
|
232
|
+
"title": "CheckSuiteAction",
|
|
233
|
+
"type": "string"
|
|
234
|
+
},
|
|
194
235
|
"ClaudeAssistantEvent": {
|
|
195
236
|
"additionalProperties": true,
|
|
196
237
|
"properties": {
|
|
@@ -411,16 +452,9 @@
|
|
|
411
452
|
"title": "Max Turns"
|
|
412
453
|
},
|
|
413
454
|
"model": {
|
|
414
|
-
"
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
},
|
|
418
|
-
{
|
|
419
|
-
"type": "null"
|
|
420
|
-
}
|
|
421
|
-
],
|
|
422
|
-
"default": null,
|
|
423
|
-
"title": "Model"
|
|
455
|
+
"description": "The model the session runs on: an alias or canonical id from the models table. Required.",
|
|
456
|
+
"title": "Model",
|
|
457
|
+
"type": "string"
|
|
424
458
|
},
|
|
425
459
|
"prompt": {
|
|
426
460
|
"anyOf": [
|
|
@@ -1876,7 +1910,7 @@
|
|
|
1876
1910
|
},
|
|
1877
1911
|
"CodexConfig": {
|
|
1878
1912
|
"additionalProperties": false,
|
|
1879
|
-
"description": "Native options supported by the current Codex adapter
|
|
1913
|
+
"description": "Native options supported by the current Codex adapter.",
|
|
1880
1914
|
"properties": {
|
|
1881
1915
|
"effort": {
|
|
1882
1916
|
"anyOf": [
|
|
@@ -1891,7 +1925,7 @@
|
|
|
1891
1925
|
"description": "Reasoning effort for every turn. Omit to use the model default."
|
|
1892
1926
|
},
|
|
1893
1927
|
"model": {
|
|
1894
|
-
"
|
|
1928
|
+
"description": "The model the session runs on: a Responses-capable id from the models table. Required.",
|
|
1895
1929
|
"title": "Model",
|
|
1896
1930
|
"type": "string"
|
|
1897
1931
|
},
|
|
@@ -3790,9 +3824,64 @@
|
|
|
3790
3824
|
"title": "ConfigMetadata",
|
|
3791
3825
|
"type": "object"
|
|
3792
3826
|
},
|
|
3827
|
+
"Cost": {
|
|
3828
|
+
"description": "What something cost, in millicents.",
|
|
3829
|
+
"properties": {
|
|
3830
|
+
"charged": {
|
|
3831
|
+
"default": 0,
|
|
3832
|
+
"description": "What Ellipsis charged to credit, in millicents. It is everything except subscription tokens, and it is what the budget caps.",
|
|
3833
|
+
"title": "Charged",
|
|
3834
|
+
"type": "integer"
|
|
3835
|
+
},
|
|
3836
|
+
"cpu": {
|
|
3837
|
+
"default": 0,
|
|
3838
|
+
"description": "CPU spend in millicents.",
|
|
3839
|
+
"title": "Cpu",
|
|
3840
|
+
"type": "integer"
|
|
3841
|
+
},
|
|
3842
|
+
"fee": {
|
|
3843
|
+
"default": 0,
|
|
3844
|
+
"description": "Platform fee in millicents.",
|
|
3845
|
+
"title": "Fee",
|
|
3846
|
+
"type": "integer"
|
|
3847
|
+
},
|
|
3848
|
+
"llm": {
|
|
3849
|
+
"$ref": "#/$defs/LlmCost",
|
|
3850
|
+
"description": "LLM token cost, in total and by model, split by who paid."
|
|
3851
|
+
},
|
|
3852
|
+
"memory": {
|
|
3853
|
+
"default": 0,
|
|
3854
|
+
"description": "Memory spend in millicents.",
|
|
3855
|
+
"title": "Memory",
|
|
3856
|
+
"type": "integer"
|
|
3857
|
+
},
|
|
3858
|
+
"total": {
|
|
3859
|
+
"default": 0,
|
|
3860
|
+
"description": "Everything it cost, whoever paid, in millicents. It is the sum of llm.all.total, cpu, memory, and fee.",
|
|
3861
|
+
"title": "Total",
|
|
3862
|
+
"type": "integer"
|
|
3863
|
+
}
|
|
3864
|
+
},
|
|
3865
|
+
"required": [
|
|
3866
|
+
"charged",
|
|
3867
|
+
"cpu",
|
|
3868
|
+
"fee",
|
|
3869
|
+
"llm",
|
|
3870
|
+
"memory",
|
|
3871
|
+
"total"
|
|
3872
|
+
],
|
|
3873
|
+
"title": "Cost",
|
|
3874
|
+
"type": "object"
|
|
3875
|
+
},
|
|
3793
3876
|
"CronTrigger": {
|
|
3794
3877
|
"additionalProperties": false,
|
|
3878
|
+
"description": "A schedule: `schedule` is a five-field cron expression in UTC.\n\n`enabled: false` pauses the trigger and keeps its definition: the schedule\nstops firing while the agent stays live for on-demand starts and open\nsessions keep taking follow-ups (`ellipsis.enabled: false` pauses the\nwhole file instead). Re-enabling resumes at the next scheduled time; runs\nmissed while paused are not made up.",
|
|
3795
3879
|
"properties": {
|
|
3880
|
+
"enabled": {
|
|
3881
|
+
"default": true,
|
|
3882
|
+
"title": "Enabled",
|
|
3883
|
+
"type": "boolean"
|
|
3884
|
+
},
|
|
3796
3885
|
"schedule": {
|
|
3797
3886
|
"title": "Schedule",
|
|
3798
3887
|
"type": "string"
|
|
@@ -3805,6 +3894,7 @@
|
|
|
3805
3894
|
}
|
|
3806
3895
|
},
|
|
3807
3896
|
"required": [
|
|
3897
|
+
"enabled",
|
|
3808
3898
|
"schedule",
|
|
3809
3899
|
"type"
|
|
3810
3900
|
],
|
|
@@ -3955,7 +4045,7 @@
|
|
|
3955
4045
|
},
|
|
3956
4046
|
"EllipsisGrant": {
|
|
3957
4047
|
"additionalProperties": false,
|
|
3958
|
-
"description": "One grant entry: a level, optionally narrowed to instances whose\nnatural key (a file's name, a
|
|
4048
|
+
"description": "One grant entry: a level, optionally narrowed to instances whose\nnatural key (a file's name, a secret's name, a config's name, a session's\nid) matches any of the `match` globs.",
|
|
3959
4049
|
"properties": {
|
|
3960
4050
|
"level": {
|
|
3961
4051
|
"$ref": "#/$defs/Level"
|
|
@@ -4948,17 +5038,26 @@
|
|
|
4948
5038
|
},
|
|
4949
5039
|
"GithubAccountSelector": {
|
|
4950
5040
|
"additionalProperties": false,
|
|
4951
|
-
"description": "A selector of GitHub accounts \u2014 the `for:` audience gate on react\nsurfaces
|
|
5041
|
+
"description": "A selector of GitHub accounts \u2014 the `for:` audience gate on react\nsurfaces, classified on the stable entity author (the pusher for `push`,\nthe PR author for a pull request). `users` selects human\naccounts, `bots` selects bot accounts; each is a `GithubAccountFilter`\n(include minus exclude, with bare bool/list shorthand).\n\n`teams` narrows further to members of any of the listed GitHub teams of\nthe installation's organization, by slug (`platform` for\n`@org/platform`). It applies on top of `users`: the author must pass the\nusers filter AND belong to a listed team. A bot is never a team member,\nso a selector with `teams` never admits one. Membership is resolved live\nat match time (see `TriggerEventContext.is_author_team_member`), and the\nconfig sync refuses a team that does not exist when the file is\naccepted.",
|
|
4952
5042
|
"properties": {
|
|
4953
5043
|
"bots": {
|
|
4954
5044
|
"$ref": "#/$defs/GithubAccountFilter"
|
|
4955
5045
|
},
|
|
5046
|
+
"teams": {
|
|
5047
|
+
"default": [],
|
|
5048
|
+
"items": {
|
|
5049
|
+
"type": "string"
|
|
5050
|
+
},
|
|
5051
|
+
"title": "Teams",
|
|
5052
|
+
"type": "array"
|
|
5053
|
+
},
|
|
4956
5054
|
"users": {
|
|
4957
5055
|
"$ref": "#/$defs/GithubAccountFilter"
|
|
4958
5056
|
}
|
|
4959
5057
|
},
|
|
4960
5058
|
"required": [
|
|
4961
5059
|
"bots",
|
|
5060
|
+
"teams",
|
|
4962
5061
|
"users"
|
|
4963
5062
|
],
|
|
4964
5063
|
"title": "GithubAccountSelector",
|
|
@@ -4979,6 +5078,18 @@
|
|
|
4979
5078
|
"title": "Login",
|
|
4980
5079
|
"type": "string"
|
|
4981
5080
|
},
|
|
5081
|
+
"name": {
|
|
5082
|
+
"anyOf": [
|
|
5083
|
+
{
|
|
5084
|
+
"type": "string"
|
|
5085
|
+
},
|
|
5086
|
+
{
|
|
5087
|
+
"type": "null"
|
|
5088
|
+
}
|
|
5089
|
+
],
|
|
5090
|
+
"default": null,
|
|
5091
|
+
"title": "Name"
|
|
5092
|
+
},
|
|
4982
5093
|
"type": {
|
|
4983
5094
|
"$ref": "#/$defs/GithubAccountType"
|
|
4984
5095
|
}
|
|
@@ -4987,6 +5098,7 @@
|
|
|
4987
5098
|
"avatar_url",
|
|
4988
5099
|
"id",
|
|
4989
5100
|
"login",
|
|
5101
|
+
"name",
|
|
4990
5102
|
"type"
|
|
4991
5103
|
],
|
|
4992
5104
|
"title": "GithubAccountSnippet",
|
|
@@ -5002,6 +5114,194 @@
|
|
|
5002
5114
|
"title": "GithubAccountType",
|
|
5003
5115
|
"type": "string"
|
|
5004
5116
|
},
|
|
5117
|
+
"GithubCheckRunEvent": {
|
|
5118
|
+
"properties": {
|
|
5119
|
+
"action": {
|
|
5120
|
+
"$ref": "#/$defs/CheckRunAction"
|
|
5121
|
+
},
|
|
5122
|
+
"actor": {
|
|
5123
|
+
"anyOf": [
|
|
5124
|
+
{
|
|
5125
|
+
"$ref": "#/$defs/SessionEventActor"
|
|
5126
|
+
},
|
|
5127
|
+
{
|
|
5128
|
+
"type": "null"
|
|
5129
|
+
}
|
|
5130
|
+
],
|
|
5131
|
+
"default": null
|
|
5132
|
+
},
|
|
5133
|
+
"branch": {
|
|
5134
|
+
"anyOf": [
|
|
5135
|
+
{
|
|
5136
|
+
"type": "string"
|
|
5137
|
+
},
|
|
5138
|
+
{
|
|
5139
|
+
"type": "null"
|
|
5140
|
+
}
|
|
5141
|
+
],
|
|
5142
|
+
"default": null,
|
|
5143
|
+
"title": "Branch"
|
|
5144
|
+
},
|
|
5145
|
+
"conclusion": {
|
|
5146
|
+
"anyOf": [
|
|
5147
|
+
{
|
|
5148
|
+
"type": "string"
|
|
5149
|
+
},
|
|
5150
|
+
{
|
|
5151
|
+
"type": "null"
|
|
5152
|
+
}
|
|
5153
|
+
],
|
|
5154
|
+
"default": null,
|
|
5155
|
+
"title": "Conclusion"
|
|
5156
|
+
},
|
|
5157
|
+
"head_sha": {
|
|
5158
|
+
"title": "Head Sha",
|
|
5159
|
+
"type": "string"
|
|
5160
|
+
},
|
|
5161
|
+
"name": {
|
|
5162
|
+
"title": "Name",
|
|
5163
|
+
"type": "string"
|
|
5164
|
+
},
|
|
5165
|
+
"pull_request_number": {
|
|
5166
|
+
"anyOf": [
|
|
5167
|
+
{
|
|
5168
|
+
"type": "integer"
|
|
5169
|
+
},
|
|
5170
|
+
{
|
|
5171
|
+
"type": "null"
|
|
5172
|
+
}
|
|
5173
|
+
],
|
|
5174
|
+
"default": null,
|
|
5175
|
+
"title": "Pull Request Number"
|
|
5176
|
+
},
|
|
5177
|
+
"repository": {
|
|
5178
|
+
"title": "Repository",
|
|
5179
|
+
"type": "string"
|
|
5180
|
+
},
|
|
5181
|
+
"type": {
|
|
5182
|
+
"const": "github.check_run",
|
|
5183
|
+
"default": "github.check_run",
|
|
5184
|
+
"title": "Type",
|
|
5185
|
+
"type": "string"
|
|
5186
|
+
},
|
|
5187
|
+
"url": {
|
|
5188
|
+
"title": "Url",
|
|
5189
|
+
"type": "string"
|
|
5190
|
+
}
|
|
5191
|
+
},
|
|
5192
|
+
"required": [
|
|
5193
|
+
"action",
|
|
5194
|
+
"actor",
|
|
5195
|
+
"branch",
|
|
5196
|
+
"conclusion",
|
|
5197
|
+
"head_sha",
|
|
5198
|
+
"name",
|
|
5199
|
+
"pull_request_number",
|
|
5200
|
+
"repository",
|
|
5201
|
+
"type",
|
|
5202
|
+
"url"
|
|
5203
|
+
],
|
|
5204
|
+
"title": "GithubCheckRunEvent",
|
|
5205
|
+
"type": "object"
|
|
5206
|
+
},
|
|
5207
|
+
"GithubCheckSuiteEvent": {
|
|
5208
|
+
"properties": {
|
|
5209
|
+
"action": {
|
|
5210
|
+
"$ref": "#/$defs/CheckSuiteAction"
|
|
5211
|
+
},
|
|
5212
|
+
"actor": {
|
|
5213
|
+
"anyOf": [
|
|
5214
|
+
{
|
|
5215
|
+
"$ref": "#/$defs/SessionEventActor"
|
|
5216
|
+
},
|
|
5217
|
+
{
|
|
5218
|
+
"type": "null"
|
|
5219
|
+
}
|
|
5220
|
+
],
|
|
5221
|
+
"default": null
|
|
5222
|
+
},
|
|
5223
|
+
"app": {
|
|
5224
|
+
"anyOf": [
|
|
5225
|
+
{
|
|
5226
|
+
"type": "string"
|
|
5227
|
+
},
|
|
5228
|
+
{
|
|
5229
|
+
"type": "null"
|
|
5230
|
+
}
|
|
5231
|
+
],
|
|
5232
|
+
"default": null,
|
|
5233
|
+
"title": "App"
|
|
5234
|
+
},
|
|
5235
|
+
"branch": {
|
|
5236
|
+
"anyOf": [
|
|
5237
|
+
{
|
|
5238
|
+
"type": "string"
|
|
5239
|
+
},
|
|
5240
|
+
{
|
|
5241
|
+
"type": "null"
|
|
5242
|
+
}
|
|
5243
|
+
],
|
|
5244
|
+
"default": null,
|
|
5245
|
+
"title": "Branch"
|
|
5246
|
+
},
|
|
5247
|
+
"conclusion": {
|
|
5248
|
+
"anyOf": [
|
|
5249
|
+
{
|
|
5250
|
+
"type": "string"
|
|
5251
|
+
},
|
|
5252
|
+
{
|
|
5253
|
+
"type": "null"
|
|
5254
|
+
}
|
|
5255
|
+
],
|
|
5256
|
+
"default": null,
|
|
5257
|
+
"title": "Conclusion"
|
|
5258
|
+
},
|
|
5259
|
+
"head_sha": {
|
|
5260
|
+
"title": "Head Sha",
|
|
5261
|
+
"type": "string"
|
|
5262
|
+
},
|
|
5263
|
+
"pull_request_number": {
|
|
5264
|
+
"anyOf": [
|
|
5265
|
+
{
|
|
5266
|
+
"type": "integer"
|
|
5267
|
+
},
|
|
5268
|
+
{
|
|
5269
|
+
"type": "null"
|
|
5270
|
+
}
|
|
5271
|
+
],
|
|
5272
|
+
"default": null,
|
|
5273
|
+
"title": "Pull Request Number"
|
|
5274
|
+
},
|
|
5275
|
+
"repository": {
|
|
5276
|
+
"title": "Repository",
|
|
5277
|
+
"type": "string"
|
|
5278
|
+
},
|
|
5279
|
+
"type": {
|
|
5280
|
+
"const": "github.check_suite",
|
|
5281
|
+
"default": "github.check_suite",
|
|
5282
|
+
"title": "Type",
|
|
5283
|
+
"type": "string"
|
|
5284
|
+
},
|
|
5285
|
+
"url": {
|
|
5286
|
+
"title": "Url",
|
|
5287
|
+
"type": "string"
|
|
5288
|
+
}
|
|
5289
|
+
},
|
|
5290
|
+
"required": [
|
|
5291
|
+
"action",
|
|
5292
|
+
"actor",
|
|
5293
|
+
"app",
|
|
5294
|
+
"branch",
|
|
5295
|
+
"conclusion",
|
|
5296
|
+
"head_sha",
|
|
5297
|
+
"pull_request_number",
|
|
5298
|
+
"repository",
|
|
5299
|
+
"type",
|
|
5300
|
+
"url"
|
|
5301
|
+
],
|
|
5302
|
+
"title": "GithubCheckSuiteEvent",
|
|
5303
|
+
"type": "object"
|
|
5304
|
+
},
|
|
5005
5305
|
"GithubIssueEvent": {
|
|
5006
5306
|
"properties": {
|
|
5007
5307
|
"action": {
|
|
@@ -5055,7 +5355,7 @@
|
|
|
5055
5355
|
},
|
|
5056
5356
|
"GithubPermissions": {
|
|
5057
5357
|
"additionalProperties": false,
|
|
5058
|
-
"description": "The agent's GitHub access: the scope of the installation token minted for\nits session's environment \u2014 the credential `git
|
|
5358
|
+
"description": "The agent's GitHub access: the scope of the installation token minted for\nits session's environment \u2014 the credential `git` and `gh` authenticate\nwith.\n\nBy default the token carries the installation's full permissions on all of\nthe installation's repositories. `permissions` narrows what it may do:\nthe string `read_only` grants read access to every scope the installation\ngranted; a map requests explicit levels per GitHub App permission\nscope (e.g. `{contents: read, pull_requests: write}`) and may never exceed\nwhat the installation granted. `repositories` scopes the token to exactly\nthe listed repos, by name (they must belong to the installation).\n\nRestriction is enforced by GitHub, not by Ellipsis: the token itself is\nminted with the reduced scope, so nothing running in the environment can\nexceed it.",
|
|
5059
5359
|
"properties": {
|
|
5060
5360
|
"permissions": {
|
|
5061
5361
|
"anyOf": [
|
|
@@ -5216,23 +5516,264 @@
|
|
|
5216
5516
|
"title": "GithubPushEvent",
|
|
5217
5517
|
"type": "object"
|
|
5218
5518
|
},
|
|
5219
|
-
"
|
|
5220
|
-
"description": "The service whose events a handler responds to.",
|
|
5221
|
-
"enum": [
|
|
5222
|
-
"slack",
|
|
5223
|
-
"github",
|
|
5224
|
-
"linear",
|
|
5225
|
-
"sentry"
|
|
5226
|
-
],
|
|
5227
|
-
"title": "HandlerService",
|
|
5228
|
-
"type": "string"
|
|
5229
|
-
},
|
|
5230
|
-
"HeartbeatFrame": {
|
|
5231
|
-
"description": "A keepalive sent after a period of idleness; doubles as the dead-socket\nprobe. Clients should treat roughly twice the heartbeat interval of\nsilence as a dead connection.",
|
|
5519
|
+
"GithubReleaseEvent": {
|
|
5232
5520
|
"properties": {
|
|
5233
|
-
"
|
|
5234
|
-
"
|
|
5235
|
-
|
|
5521
|
+
"action": {
|
|
5522
|
+
"$ref": "#/$defs/ReleaseAction"
|
|
5523
|
+
},
|
|
5524
|
+
"actor": {
|
|
5525
|
+
"anyOf": [
|
|
5526
|
+
{
|
|
5527
|
+
"$ref": "#/$defs/SessionEventActor"
|
|
5528
|
+
},
|
|
5529
|
+
{
|
|
5530
|
+
"type": "null"
|
|
5531
|
+
}
|
|
5532
|
+
],
|
|
5533
|
+
"default": null
|
|
5534
|
+
},
|
|
5535
|
+
"name": {
|
|
5536
|
+
"anyOf": [
|
|
5537
|
+
{
|
|
5538
|
+
"type": "string"
|
|
5539
|
+
},
|
|
5540
|
+
{
|
|
5541
|
+
"type": "null"
|
|
5542
|
+
}
|
|
5543
|
+
],
|
|
5544
|
+
"default": null,
|
|
5545
|
+
"title": "Name"
|
|
5546
|
+
},
|
|
5547
|
+
"prerelease": {
|
|
5548
|
+
"title": "Prerelease",
|
|
5549
|
+
"type": "boolean"
|
|
5550
|
+
},
|
|
5551
|
+
"repository": {
|
|
5552
|
+
"title": "Repository",
|
|
5553
|
+
"type": "string"
|
|
5554
|
+
},
|
|
5555
|
+
"tag": {
|
|
5556
|
+
"title": "Tag",
|
|
5557
|
+
"type": "string"
|
|
5558
|
+
},
|
|
5559
|
+
"type": {
|
|
5560
|
+
"const": "github.release",
|
|
5561
|
+
"default": "github.release",
|
|
5562
|
+
"title": "Type",
|
|
5563
|
+
"type": "string"
|
|
5564
|
+
},
|
|
5565
|
+
"url": {
|
|
5566
|
+
"title": "Url",
|
|
5567
|
+
"type": "string"
|
|
5568
|
+
}
|
|
5569
|
+
},
|
|
5570
|
+
"required": [
|
|
5571
|
+
"action",
|
|
5572
|
+
"actor",
|
|
5573
|
+
"name",
|
|
5574
|
+
"prerelease",
|
|
5575
|
+
"repository",
|
|
5576
|
+
"tag",
|
|
5577
|
+
"type",
|
|
5578
|
+
"url"
|
|
5579
|
+
],
|
|
5580
|
+
"title": "GithubReleaseEvent",
|
|
5581
|
+
"type": "object"
|
|
5582
|
+
},
|
|
5583
|
+
"GithubStatusEvent": {
|
|
5584
|
+
"properties": {
|
|
5585
|
+
"action": {
|
|
5586
|
+
"$ref": "#/$defs/StatusAction"
|
|
5587
|
+
},
|
|
5588
|
+
"actor": {
|
|
5589
|
+
"anyOf": [
|
|
5590
|
+
{
|
|
5591
|
+
"$ref": "#/$defs/SessionEventActor"
|
|
5592
|
+
},
|
|
5593
|
+
{
|
|
5594
|
+
"type": "null"
|
|
5595
|
+
}
|
|
5596
|
+
],
|
|
5597
|
+
"default": null
|
|
5598
|
+
},
|
|
5599
|
+
"branch": {
|
|
5600
|
+
"anyOf": [
|
|
5601
|
+
{
|
|
5602
|
+
"type": "string"
|
|
5603
|
+
},
|
|
5604
|
+
{
|
|
5605
|
+
"type": "null"
|
|
5606
|
+
}
|
|
5607
|
+
],
|
|
5608
|
+
"default": null,
|
|
5609
|
+
"title": "Branch"
|
|
5610
|
+
},
|
|
5611
|
+
"context": {
|
|
5612
|
+
"title": "Context",
|
|
5613
|
+
"type": "string"
|
|
5614
|
+
},
|
|
5615
|
+
"head_sha": {
|
|
5616
|
+
"title": "Head Sha",
|
|
5617
|
+
"type": "string"
|
|
5618
|
+
},
|
|
5619
|
+
"pull_request_number": {
|
|
5620
|
+
"anyOf": [
|
|
5621
|
+
{
|
|
5622
|
+
"type": "integer"
|
|
5623
|
+
},
|
|
5624
|
+
{
|
|
5625
|
+
"type": "null"
|
|
5626
|
+
}
|
|
5627
|
+
],
|
|
5628
|
+
"default": null,
|
|
5629
|
+
"title": "Pull Request Number"
|
|
5630
|
+
},
|
|
5631
|
+
"repository": {
|
|
5632
|
+
"title": "Repository",
|
|
5633
|
+
"type": "string"
|
|
5634
|
+
},
|
|
5635
|
+
"state": {
|
|
5636
|
+
"title": "State",
|
|
5637
|
+
"type": "string"
|
|
5638
|
+
},
|
|
5639
|
+
"type": {
|
|
5640
|
+
"const": "github.status",
|
|
5641
|
+
"default": "github.status",
|
|
5642
|
+
"title": "Type",
|
|
5643
|
+
"type": "string"
|
|
5644
|
+
},
|
|
5645
|
+
"url": {
|
|
5646
|
+
"title": "Url",
|
|
5647
|
+
"type": "string"
|
|
5648
|
+
}
|
|
5649
|
+
},
|
|
5650
|
+
"required": [
|
|
5651
|
+
"action",
|
|
5652
|
+
"actor",
|
|
5653
|
+
"branch",
|
|
5654
|
+
"context",
|
|
5655
|
+
"head_sha",
|
|
5656
|
+
"pull_request_number",
|
|
5657
|
+
"repository",
|
|
5658
|
+
"state",
|
|
5659
|
+
"type",
|
|
5660
|
+
"url"
|
|
5661
|
+
],
|
|
5662
|
+
"title": "GithubStatusEvent",
|
|
5663
|
+
"type": "object"
|
|
5664
|
+
},
|
|
5665
|
+
"GithubWorkflowRunEvent": {
|
|
5666
|
+
"properties": {
|
|
5667
|
+
"action": {
|
|
5668
|
+
"$ref": "#/$defs/WorkflowRunAction"
|
|
5669
|
+
},
|
|
5670
|
+
"actor": {
|
|
5671
|
+
"anyOf": [
|
|
5672
|
+
{
|
|
5673
|
+
"$ref": "#/$defs/SessionEventActor"
|
|
5674
|
+
},
|
|
5675
|
+
{
|
|
5676
|
+
"type": "null"
|
|
5677
|
+
}
|
|
5678
|
+
],
|
|
5679
|
+
"default": null
|
|
5680
|
+
},
|
|
5681
|
+
"branch": {
|
|
5682
|
+
"anyOf": [
|
|
5683
|
+
{
|
|
5684
|
+
"type": "string"
|
|
5685
|
+
},
|
|
5686
|
+
{
|
|
5687
|
+
"type": "null"
|
|
5688
|
+
}
|
|
5689
|
+
],
|
|
5690
|
+
"default": null,
|
|
5691
|
+
"title": "Branch"
|
|
5692
|
+
},
|
|
5693
|
+
"conclusion": {
|
|
5694
|
+
"anyOf": [
|
|
5695
|
+
{
|
|
5696
|
+
"type": "string"
|
|
5697
|
+
},
|
|
5698
|
+
{
|
|
5699
|
+
"type": "null"
|
|
5700
|
+
}
|
|
5701
|
+
],
|
|
5702
|
+
"default": null,
|
|
5703
|
+
"title": "Conclusion"
|
|
5704
|
+
},
|
|
5705
|
+
"head_sha": {
|
|
5706
|
+
"title": "Head Sha",
|
|
5707
|
+
"type": "string"
|
|
5708
|
+
},
|
|
5709
|
+
"name": {
|
|
5710
|
+
"title": "Name",
|
|
5711
|
+
"type": "string"
|
|
5712
|
+
},
|
|
5713
|
+
"pull_request_number": {
|
|
5714
|
+
"anyOf": [
|
|
5715
|
+
{
|
|
5716
|
+
"type": "integer"
|
|
5717
|
+
},
|
|
5718
|
+
{
|
|
5719
|
+
"type": "null"
|
|
5720
|
+
}
|
|
5721
|
+
],
|
|
5722
|
+
"default": null,
|
|
5723
|
+
"title": "Pull Request Number"
|
|
5724
|
+
},
|
|
5725
|
+
"repository": {
|
|
5726
|
+
"title": "Repository",
|
|
5727
|
+
"type": "string"
|
|
5728
|
+
},
|
|
5729
|
+
"run_number": {
|
|
5730
|
+
"title": "Run Number",
|
|
5731
|
+
"type": "integer"
|
|
5732
|
+
},
|
|
5733
|
+
"type": {
|
|
5734
|
+
"const": "github.workflow_run",
|
|
5735
|
+
"default": "github.workflow_run",
|
|
5736
|
+
"title": "Type",
|
|
5737
|
+
"type": "string"
|
|
5738
|
+
},
|
|
5739
|
+
"url": {
|
|
5740
|
+
"title": "Url",
|
|
5741
|
+
"type": "string"
|
|
5742
|
+
}
|
|
5743
|
+
},
|
|
5744
|
+
"required": [
|
|
5745
|
+
"action",
|
|
5746
|
+
"actor",
|
|
5747
|
+
"branch",
|
|
5748
|
+
"conclusion",
|
|
5749
|
+
"head_sha",
|
|
5750
|
+
"name",
|
|
5751
|
+
"pull_request_number",
|
|
5752
|
+
"repository",
|
|
5753
|
+
"run_number",
|
|
5754
|
+
"type",
|
|
5755
|
+
"url"
|
|
5756
|
+
],
|
|
5757
|
+
"title": "GithubWorkflowRunEvent",
|
|
5758
|
+
"type": "object"
|
|
5759
|
+
},
|
|
5760
|
+
"HandlerService": {
|
|
5761
|
+
"description": "The service whose events a handler responds to.",
|
|
5762
|
+
"enum": [
|
|
5763
|
+
"slack",
|
|
5764
|
+
"github",
|
|
5765
|
+
"linear",
|
|
5766
|
+
"sentry"
|
|
5767
|
+
],
|
|
5768
|
+
"title": "HandlerService",
|
|
5769
|
+
"type": "string"
|
|
5770
|
+
},
|
|
5771
|
+
"HeartbeatFrame": {
|
|
5772
|
+
"description": "A keepalive sent after a period of idleness; doubles as the dead-socket\nprobe. Clients should treat roughly twice the heartbeat interval of\nsilence as a dead connection.",
|
|
5773
|
+
"properties": {
|
|
5774
|
+
"ts": {
|
|
5775
|
+
"description": "Server time when the heartbeat was sent.",
|
|
5776
|
+
"format": "date-time",
|
|
5236
5777
|
"title": "Ts",
|
|
5237
5778
|
"type": "string"
|
|
5238
5779
|
},
|
|
@@ -5252,7 +5793,7 @@
|
|
|
5252
5793
|
},
|
|
5253
5794
|
"InputContract": {
|
|
5254
5795
|
"additionalProperties": false,
|
|
5255
|
-
"description": "The typed input contract: what goes INTO a session (the trigger is\nwhen it happens; this is what goes in).\n\n`json_schema` validates customer data sent as `input` to\n`POST /v1/agents/{id}/sessions` and stored as `session.input
|
|
5796
|
+
"description": "The typed input contract: what goes INTO a session (the trigger is\nwhen it happens; this is what goes in).\n\n`json_schema` validates customer data sent as `input` to\n`POST /v1/agents/{id}/sessions` (the dashboard and the CLI start\nthrough the same door) and stored as `session.input`. An on-demand\nstart requires input when a schema is declared. A trigger fires\nwithout it: a cron fire has no payload and a react fire carries the\nplatform-shaped event, so an agent may declare a schema alongside\neither trigger and the schema governs only its on-demand starts.\n\n`message` is the initial-message template: exact `{{path}}` substitution\nover the payload the session has (the caller payload on an on-demand\nstart, the surface's published fields on a react fire, the empty\nobject on a cron fire), no conditionals/loops/filters. Refs are\nvalidated at deploy time against every governing field set (see\nAgentConfig's `_check_input`): the caller schema's paths, the react\nsurface's published fields, and both when the agent has a react trigger\nand a schema, so one template renders fully on either door (declare the\nsurface's field names in the schema). Omit `message` to let each door\nrender its default. An unresolved ref renders as the empty string (a\ncron fire, an optional field the payload omitted).",
|
|
5256
5797
|
"properties": {
|
|
5257
5798
|
"json_schema": {
|
|
5258
5799
|
"anyOf": [
|
|
@@ -5668,7 +6209,10 @@
|
|
|
5668
6209
|
"$ref": "#/$defs/LinearIssueAction"
|
|
5669
6210
|
},
|
|
5670
6211
|
{
|
|
5671
|
-
"
|
|
6212
|
+
"enum": [
|
|
6213
|
+
"commented",
|
|
6214
|
+
"delegated"
|
|
6215
|
+
],
|
|
5672
6216
|
"type": "string"
|
|
5673
6217
|
}
|
|
5674
6218
|
],
|
|
@@ -5728,6 +6272,66 @@
|
|
|
5728
6272
|
"title": "LinearIssueEvent",
|
|
5729
6273
|
"type": "object"
|
|
5730
6274
|
},
|
|
6275
|
+
"LlmCost": {
|
|
6276
|
+
"description": "What LLM tokens cost, in total and by model.",
|
|
6277
|
+
"properties": {
|
|
6278
|
+
"all": {
|
|
6279
|
+
"$ref": "#/$defs/LlmCostSplit",
|
|
6280
|
+
"description": "Token cost across every model."
|
|
6281
|
+
},
|
|
6282
|
+
"by_model": {
|
|
6283
|
+
"description": "Token cost for each model that used tokens.",
|
|
6284
|
+
"items": {
|
|
6285
|
+
"$ref": "#/$defs/ModelLlmCostSplit"
|
|
6286
|
+
},
|
|
6287
|
+
"title": "By Model",
|
|
6288
|
+
"type": "array"
|
|
6289
|
+
}
|
|
6290
|
+
},
|
|
6291
|
+
"required": [
|
|
6292
|
+
"all",
|
|
6293
|
+
"by_model"
|
|
6294
|
+
],
|
|
6295
|
+
"title": "LlmCost",
|
|
6296
|
+
"type": "object"
|
|
6297
|
+
},
|
|
6298
|
+
"LlmCostSplit": {
|
|
6299
|
+
"description": "What LLM tokens cost, in millicents, split by who paid (Ellipsis credit or the user's own subscription).",
|
|
6300
|
+
"properties": {
|
|
6301
|
+
"claude_subscription": {
|
|
6302
|
+
"default": 0,
|
|
6303
|
+
"description": "Token cost paid by a Claude subscription, at Ellipsis rates, in millicents.",
|
|
6304
|
+
"title": "Claude Subscription",
|
|
6305
|
+
"type": "integer"
|
|
6306
|
+
},
|
|
6307
|
+
"codex_subscription": {
|
|
6308
|
+
"default": 0,
|
|
6309
|
+
"description": "Token cost paid by a Codex subscription, at Ellipsis rates, in millicents.",
|
|
6310
|
+
"title": "Codex Subscription",
|
|
6311
|
+
"type": "integer"
|
|
6312
|
+
},
|
|
6313
|
+
"platform": {
|
|
6314
|
+
"default": 0,
|
|
6315
|
+
"description": "Token cost charged to Ellipsis credit, in millicents.",
|
|
6316
|
+
"title": "Platform",
|
|
6317
|
+
"type": "integer"
|
|
6318
|
+
},
|
|
6319
|
+
"total": {
|
|
6320
|
+
"default": 0,
|
|
6321
|
+
"description": "All token cost, in millicents. It is the sum of platform, claude_subscription, and codex_subscription.",
|
|
6322
|
+
"title": "Total",
|
|
6323
|
+
"type": "integer"
|
|
6324
|
+
}
|
|
6325
|
+
},
|
|
6326
|
+
"required": [
|
|
6327
|
+
"claude_subscription",
|
|
6328
|
+
"codex_subscription",
|
|
6329
|
+
"platform",
|
|
6330
|
+
"total"
|
|
6331
|
+
],
|
|
6332
|
+
"title": "LlmCostSplit",
|
|
6333
|
+
"type": "object"
|
|
6334
|
+
},
|
|
5731
6335
|
"McpRemoteServer": {
|
|
5732
6336
|
"additionalProperties": false,
|
|
5733
6337
|
"description": "A bring-your-own remote MCP server: the harness talks HTTP to `url`.\nNothing runs in the environment image. `headers` carry static auth (e.g.\n`Authorization: Bearer ${TOKEN}`); values may embed `${NAME}` secret\nreferences, resolved at run time from the account's secrets store.",
|
|
@@ -5759,7 +6363,7 @@
|
|
|
5759
6363
|
},
|
|
5760
6364
|
"McpServerRef": {
|
|
5761
6365
|
"additionalProperties": false,
|
|
5762
|
-
"description": "One built-in MCP server this agent
|
|
6366
|
+
"description": "One built-in MCP server this agent attaches by name (`linear`/`slack`).\nA name reference over the connected built-in set \u2014 the platform manages the\nserver's transport and credentials. A session gets a built-in server only\nwhen its config names it here or the session started from that server's\nown surface. For a server the platform does not provide, define it instead\n(`McpStdioServer` / `McpRemoteServer`).",
|
|
5763
6367
|
"properties": {
|
|
5764
6368
|
"name": {
|
|
5765
6369
|
"title": "Name",
|
|
@@ -6453,206 +7057,98 @@
|
|
|
6453
7057
|
"type": "object",
|
|
6454
7058
|
"x-ellipsis-preserve-payload": true
|
|
6455
7059
|
},
|
|
6456
|
-
"
|
|
6457
|
-
"
|
|
6458
|
-
"description": "outbox_collected: the platform read a code_review session's\n/ellipsis/outbox/* when its turn ended. Carries both raw and parsed so\nthe feed alone tells the whole delivery story; the code_review_outbox\ntable is the queryable projection of this record.",
|
|
7060
|
+
"ModelLlmCostSplit": {
|
|
7061
|
+
"description": "What one model's tokens cost, in millicents, split by who paid.",
|
|
6459
7062
|
"properties": {
|
|
6460
|
-
"
|
|
6461
|
-
"default":
|
|
6462
|
-
"
|
|
6463
|
-
|
|
6464
|
-
|
|
6465
|
-
},
|
|
6466
|
-
"title": "Findings",
|
|
6467
|
-
"type": "array"
|
|
7063
|
+
"claude_subscription": {
|
|
7064
|
+
"default": 0,
|
|
7065
|
+
"description": "Token cost paid by a Claude subscription, at Ellipsis rates, in millicents.",
|
|
7066
|
+
"title": "Claude Subscription",
|
|
7067
|
+
"type": "integer"
|
|
6468
7068
|
},
|
|
6469
|
-
"
|
|
6470
|
-
"default":
|
|
6471
|
-
"
|
|
6472
|
-
|
|
6473
|
-
|
|
6474
|
-
},
|
|
6475
|
-
"title": "Parse Errors",
|
|
6476
|
-
"type": "array"
|
|
7069
|
+
"codex_subscription": {
|
|
7070
|
+
"default": 0,
|
|
7071
|
+
"description": "Token cost paid by a Codex subscription, at Ellipsis rates, in millicents.",
|
|
7072
|
+
"title": "Codex Subscription",
|
|
7073
|
+
"type": "integer"
|
|
6477
7074
|
},
|
|
6478
|
-
"
|
|
6479
|
-
"
|
|
7075
|
+
"model": {
|
|
7076
|
+
"description": "The model that used these tokens.",
|
|
7077
|
+
"title": "Model",
|
|
6480
7078
|
"type": "string"
|
|
6481
7079
|
},
|
|
6482
|
-
"
|
|
6483
|
-
"
|
|
6484
|
-
|
|
6485
|
-
|
|
6486
|
-
"
|
|
6487
|
-
|
|
6488
|
-
|
|
7080
|
+
"platform": {
|
|
7081
|
+
"default": 0,
|
|
7082
|
+
"description": "Token cost charged to Ellipsis credit, in millicents.",
|
|
7083
|
+
"title": "Platform",
|
|
7084
|
+
"type": "integer"
|
|
7085
|
+
},
|
|
7086
|
+
"total": {
|
|
7087
|
+
"default": 0,
|
|
7088
|
+
"description": "All token cost, in millicents. It is the sum of platform, claude_subscription, and codex_subscription.",
|
|
7089
|
+
"title": "Total",
|
|
7090
|
+
"type": "integer"
|
|
6489
7091
|
}
|
|
6490
7092
|
},
|
|
6491
7093
|
"required": [
|
|
6492
|
-
"
|
|
7094
|
+
"claude_subscription",
|
|
7095
|
+
"codex_subscription",
|
|
7096
|
+
"model",
|
|
7097
|
+
"platform",
|
|
7098
|
+
"total"
|
|
6493
7099
|
],
|
|
6494
|
-
"title": "
|
|
7100
|
+
"title": "ModelLlmCostSplit",
|
|
6495
7101
|
"type": "object"
|
|
6496
7102
|
},
|
|
6497
|
-
"
|
|
7103
|
+
"ModelTokenCounts": {
|
|
7104
|
+
"description": "Token counts for one model.",
|
|
6498
7105
|
"properties": {
|
|
6499
|
-
"
|
|
6500
|
-
"
|
|
6501
|
-
|
|
6502
|
-
|
|
6503
|
-
},
|
|
6504
|
-
{
|
|
6505
|
-
"type": "null"
|
|
6506
|
-
}
|
|
6507
|
-
],
|
|
6508
|
-
"default": null,
|
|
6509
|
-
"title": "Cost"
|
|
6510
|
-
},
|
|
6511
|
-
"created_at": {
|
|
6512
|
-
"format": "date-time",
|
|
6513
|
-
"title": "Created At",
|
|
6514
|
-
"type": "string"
|
|
6515
|
-
},
|
|
6516
|
-
"duration": {
|
|
6517
|
-
"anyOf": [
|
|
6518
|
-
{
|
|
6519
|
-
"type": "integer"
|
|
6520
|
-
},
|
|
6521
|
-
{
|
|
6522
|
-
"type": "null"
|
|
6523
|
-
}
|
|
6524
|
-
],
|
|
6525
|
-
"default": null,
|
|
6526
|
-
"title": "Duration"
|
|
6527
|
-
},
|
|
6528
|
-
"feed_seq": {
|
|
6529
|
-
"description": "Position in the session feed and the stream's resume cursor.",
|
|
6530
|
-
"title": "Feed Seq",
|
|
7106
|
+
"cache_creation": {
|
|
7107
|
+
"default": 0,
|
|
7108
|
+
"description": "Tokens written to the prompt cache.",
|
|
7109
|
+
"title": "Cache Creation",
|
|
6531
7110
|
"type": "integer"
|
|
6532
7111
|
},
|
|
6533
|
-
"
|
|
6534
|
-
"
|
|
6535
|
-
"
|
|
6536
|
-
"
|
|
7112
|
+
"cache_read": {
|
|
7113
|
+
"default": 0,
|
|
7114
|
+
"description": "Tokens read from the prompt cache.",
|
|
7115
|
+
"title": "Cache Read",
|
|
7116
|
+
"type": "integer"
|
|
6537
7117
|
},
|
|
6538
|
-
"
|
|
6539
|
-
"
|
|
6540
|
-
"
|
|
6541
|
-
"title": "
|
|
6542
|
-
"type": "
|
|
7118
|
+
"input": {
|
|
7119
|
+
"default": 0,
|
|
7120
|
+
"description": "Input tokens used.",
|
|
7121
|
+
"title": "Input",
|
|
7122
|
+
"type": "integer"
|
|
6543
7123
|
},
|
|
6544
7124
|
"model": {
|
|
6545
|
-
"
|
|
6546
|
-
|
|
6547
|
-
"type": "string"
|
|
6548
|
-
},
|
|
6549
|
-
{
|
|
6550
|
-
"type": "null"
|
|
6551
|
-
}
|
|
6552
|
-
],
|
|
6553
|
-
"default": null,
|
|
6554
|
-
"title": "Model"
|
|
6555
|
-
},
|
|
6556
|
-
"payload": {
|
|
6557
|
-
"$ref": "#/$defs/OutboxCollectedPayload"
|
|
6558
|
-
},
|
|
6559
|
-
"record_format": {
|
|
6560
|
-
"const": "ellipsis_lifecycle@1",
|
|
6561
|
-
"default": "ellipsis_lifecycle@1",
|
|
6562
|
-
"title": "Record Format",
|
|
6563
|
-
"type": "string"
|
|
6564
|
-
},
|
|
6565
|
-
"record_type": {
|
|
6566
|
-
"const": "outbox_collected",
|
|
6567
|
-
"default": "outbox_collected",
|
|
6568
|
-
"title": "Record Type",
|
|
6569
|
-
"type": "string"
|
|
6570
|
-
},
|
|
6571
|
-
"session_id": {
|
|
6572
|
-
"description": "Session containing this record.",
|
|
6573
|
-
"title": "Session Id",
|
|
6574
|
-
"type": "string"
|
|
6575
|
-
},
|
|
6576
|
-
"session_message_id": {
|
|
6577
|
-
"anyOf": [
|
|
6578
|
-
{
|
|
6579
|
-
"type": "string"
|
|
6580
|
-
},
|
|
6581
|
-
{
|
|
6582
|
-
"type": "null"
|
|
6583
|
-
}
|
|
6584
|
-
],
|
|
6585
|
-
"default": null,
|
|
6586
|
-
"description": "Message this record receives, delivers, requeues, or echoes.",
|
|
6587
|
-
"title": "Session Message Id"
|
|
6588
|
-
},
|
|
6589
|
-
"source": {
|
|
6590
|
-
"const": "lifecycle",
|
|
6591
|
-
"default": "lifecycle",
|
|
6592
|
-
"title": "Source",
|
|
7125
|
+
"description": "The model that used these tokens.",
|
|
7126
|
+
"title": "Model",
|
|
6593
7127
|
"type": "string"
|
|
6594
7128
|
},
|
|
6595
|
-
"
|
|
6596
|
-
"
|
|
6597
|
-
|
|
6598
|
-
|
|
6599
|
-
|
|
6600
|
-
{
|
|
6601
|
-
"type": "null"
|
|
6602
|
-
}
|
|
6603
|
-
],
|
|
6604
|
-
"default": null
|
|
6605
|
-
},
|
|
6606
|
-
"tools": {
|
|
6607
|
-
"anyOf": [
|
|
6608
|
-
{
|
|
6609
|
-
"items": {
|
|
6610
|
-
"type": "string"
|
|
6611
|
-
},
|
|
6612
|
-
"type": "array"
|
|
6613
|
-
},
|
|
6614
|
-
{
|
|
6615
|
-
"type": "null"
|
|
6616
|
-
}
|
|
6617
|
-
],
|
|
6618
|
-
"default": null,
|
|
6619
|
-
"title": "Tools"
|
|
7129
|
+
"output": {
|
|
7130
|
+
"default": 0,
|
|
7131
|
+
"description": "Output tokens used.",
|
|
7132
|
+
"title": "Output",
|
|
7133
|
+
"type": "integer"
|
|
6620
7134
|
},
|
|
6621
|
-
"
|
|
6622
|
-
"
|
|
6623
|
-
|
|
6624
|
-
|
|
6625
|
-
|
|
6626
|
-
{
|
|
6627
|
-
"type": "null"
|
|
6628
|
-
}
|
|
6629
|
-
],
|
|
6630
|
-
"default": null,
|
|
6631
|
-
"description": "Turn containing this record, when applicable.",
|
|
6632
|
-
"title": "Turn Id"
|
|
7135
|
+
"total": {
|
|
7136
|
+
"default": 0,
|
|
7137
|
+
"description": "All tokens used, including prompt cache reads and writes. Token cost is priced on this.",
|
|
7138
|
+
"title": "Total",
|
|
7139
|
+
"type": "integer"
|
|
6633
7140
|
}
|
|
6634
7141
|
},
|
|
6635
7142
|
"required": [
|
|
6636
|
-
"
|
|
6637
|
-
"
|
|
6638
|
-
"
|
|
6639
|
-
"feed_seq",
|
|
6640
|
-
"id",
|
|
6641
|
-
"kind",
|
|
7143
|
+
"cache_creation",
|
|
7144
|
+
"cache_read",
|
|
7145
|
+
"input",
|
|
6642
7146
|
"model",
|
|
6643
|
-
"
|
|
6644
|
-
"
|
|
6645
|
-
"record_type",
|
|
6646
|
-
"session_id",
|
|
6647
|
-
"session_message_id",
|
|
6648
|
-
"source",
|
|
6649
|
-
"tokens_info",
|
|
6650
|
-
"tools",
|
|
6651
|
-
"turn_id"
|
|
7147
|
+
"output",
|
|
7148
|
+
"total"
|
|
6652
7149
|
],
|
|
6653
|
-
"title": "
|
|
6654
|
-
"type": "object"
|
|
6655
|
-
"x-ellipsis-preserve-payload": true
|
|
7150
|
+
"title": "ModelTokenCounts",
|
|
7151
|
+
"type": "object"
|
|
6656
7152
|
},
|
|
6657
7153
|
"OutputConfig": {
|
|
6658
7154
|
"additionalProperties": false,
|
|
@@ -6672,7 +7168,7 @@
|
|
|
6672
7168
|
},
|
|
6673
7169
|
"PermissionsConfig": {
|
|
6674
7170
|
"additionalProperties": false,
|
|
6675
|
-
"description": "What the agent is allowed to touch, per credential the platform mints\ninto its session's environment. Distinct from `environment:`, which is\nwhere the agent runs; this is what it may do from there.\n\n`ellipsis` scopes the session's Ellipsis API token (`ELLIPSIS_API_TOKEN`,\nwhat the `
|
|
7171
|
+
"description": "What the agent is allowed to touch, per credential the platform mints\ninto its session's environment. Distinct from `environment:`, which is\nwhere the agent runs; this is what it may do from there.\n\n`ellipsis` scopes the session's Ellipsis API token (`ELLIPSIS_API_TOKEN`,\nwhat the `ellipsis` CLI running inside the session authenticates with).\n`true` / the string `all` (the default) grant the full session token\nceiling \u2014 everything a session token can ever do. A map narrows it per\nresource (see `EllipsisPermissions`); the minted token carries\nthe intersection, so a config can only ever reduce access. `false` fails\nvalidation \u2014 an agent with no API token cannot report its own progress.\n\n`github` scopes the session's GitHub installation token (`GH_TOKEN`) \u2014\nsee `GithubPermissions`. GitHub enforces it at mint time.",
|
|
6676
7172
|
"properties": {
|
|
6677
7173
|
"ellipsis": {
|
|
6678
7174
|
"anyOf": [
|
|
@@ -6713,7 +7209,6 @@
|
|
|
6713
7209
|
"message_delivered": "#/$defs/MessageDeliveredRecord",
|
|
6714
7210
|
"message_received": "#/$defs/MessageReceivedRecord",
|
|
6715
7211
|
"message_requeued": "#/$defs/MessageRequeuedRecord",
|
|
6716
|
-
"outbox_collected": "#/$defs/OutboxCollectedRecord",
|
|
6717
7212
|
"session_closed": "#/$defs/SessionClosedRecord",
|
|
6718
7213
|
"turn_ended": "#/$defs/TurnEndedRecord",
|
|
6719
7214
|
"turn_started": "#/$defs/TurnStartedRecord"
|
|
@@ -6747,9 +7242,6 @@
|
|
|
6747
7242
|
},
|
|
6748
7243
|
{
|
|
6749
7244
|
"$ref": "#/$defs/EnvironmentReadyRecord"
|
|
6750
|
-
},
|
|
6751
|
-
{
|
|
6752
|
-
"$ref": "#/$defs/OutboxCollectedRecord"
|
|
6753
7245
|
}
|
|
6754
7246
|
]
|
|
6755
7247
|
},
|
|
@@ -6757,7 +7249,6 @@
|
|
|
6757
7249
|
"description": "Why direct prompting is refused. Absent when prompting is allowed.",
|
|
6758
7250
|
"enum": [
|
|
6759
7251
|
"mention_surface",
|
|
6760
|
-
"ephemeral_trigger",
|
|
6761
7252
|
"non_interactive",
|
|
6762
7253
|
"harness_single_turn",
|
|
6763
7254
|
"budget_exhausted",
|
|
@@ -6778,6 +7269,100 @@
|
|
|
6778
7269
|
"title": "PullRequestAction",
|
|
6779
7270
|
"type": "string"
|
|
6780
7271
|
},
|
|
7272
|
+
"ReactCheckRun": {
|
|
7273
|
+
"additionalProperties": false,
|
|
7274
|
+
"description": "A check run changing state on a commit. A check run is a GitHub Actions job or a check another CI app reports. `on` lists the states that fire. `names` matches check names exactly or by a prefix ending in `*`. `branch` is the branch the check ran on. `for` is the author of the commit the check ran on. Needs the Checks permission.",
|
|
7275
|
+
"properties": {
|
|
7276
|
+
"branch": {
|
|
7277
|
+
"default": [],
|
|
7278
|
+
"items": {
|
|
7279
|
+
"type": "string"
|
|
7280
|
+
},
|
|
7281
|
+
"title": "Branch",
|
|
7282
|
+
"type": "array"
|
|
7283
|
+
},
|
|
7284
|
+
"for": {
|
|
7285
|
+
"$ref": "#/$defs/GithubAccountSelector"
|
|
7286
|
+
},
|
|
7287
|
+
"names": {
|
|
7288
|
+
"default": [],
|
|
7289
|
+
"items": {
|
|
7290
|
+
"type": "string"
|
|
7291
|
+
},
|
|
7292
|
+
"title": "Names",
|
|
7293
|
+
"type": "array"
|
|
7294
|
+
},
|
|
7295
|
+
"on": {
|
|
7296
|
+
"default": [
|
|
7297
|
+
"failed"
|
|
7298
|
+
],
|
|
7299
|
+
"items": {
|
|
7300
|
+
"$ref": "#/$defs/CheckRunAction"
|
|
7301
|
+
},
|
|
7302
|
+
"title": "On",
|
|
7303
|
+
"type": "array"
|
|
7304
|
+
},
|
|
7305
|
+
"repositories": {
|
|
7306
|
+
"$ref": "#/$defs/RepositoryFilter"
|
|
7307
|
+
}
|
|
7308
|
+
},
|
|
7309
|
+
"required": [
|
|
7310
|
+
"branch",
|
|
7311
|
+
"for",
|
|
7312
|
+
"names",
|
|
7313
|
+
"on",
|
|
7314
|
+
"repositories"
|
|
7315
|
+
],
|
|
7316
|
+
"title": "ReactCheckRun",
|
|
7317
|
+
"type": "object"
|
|
7318
|
+
},
|
|
7319
|
+
"ReactCheckSuite": {
|
|
7320
|
+
"additionalProperties": false,
|
|
7321
|
+
"description": "Every check one CI app reported on a commit finishing. GitHub reports a check suite only when it finishes, so `on` takes only finished states. `apps` matches the reporting app slug, such as `github-actions`, exactly or by a prefix ending in `*`. `branch` and `for` work as on `check_run`. Needs the Checks permission.",
|
|
7322
|
+
"properties": {
|
|
7323
|
+
"apps": {
|
|
7324
|
+
"default": [],
|
|
7325
|
+
"items": {
|
|
7326
|
+
"type": "string"
|
|
7327
|
+
},
|
|
7328
|
+
"title": "Apps",
|
|
7329
|
+
"type": "array"
|
|
7330
|
+
},
|
|
7331
|
+
"branch": {
|
|
7332
|
+
"default": [],
|
|
7333
|
+
"items": {
|
|
7334
|
+
"type": "string"
|
|
7335
|
+
},
|
|
7336
|
+
"title": "Branch",
|
|
7337
|
+
"type": "array"
|
|
7338
|
+
},
|
|
7339
|
+
"for": {
|
|
7340
|
+
"$ref": "#/$defs/GithubAccountSelector"
|
|
7341
|
+
},
|
|
7342
|
+
"on": {
|
|
7343
|
+
"default": [
|
|
7344
|
+
"failed"
|
|
7345
|
+
],
|
|
7346
|
+
"items": {
|
|
7347
|
+
"$ref": "#/$defs/CheckSuiteAction"
|
|
7348
|
+
},
|
|
7349
|
+
"title": "On",
|
|
7350
|
+
"type": "array"
|
|
7351
|
+
},
|
|
7352
|
+
"repositories": {
|
|
7353
|
+
"$ref": "#/$defs/RepositoryFilter"
|
|
7354
|
+
}
|
|
7355
|
+
},
|
|
7356
|
+
"required": [
|
|
7357
|
+
"apps",
|
|
7358
|
+
"branch",
|
|
7359
|
+
"for",
|
|
7360
|
+
"on",
|
|
7361
|
+
"repositories"
|
|
7362
|
+
],
|
|
7363
|
+
"title": "ReactCheckSuite",
|
|
7364
|
+
"type": "object"
|
|
7365
|
+
},
|
|
6781
7366
|
"ReactIssue": {
|
|
6782
7367
|
"additionalProperties": false,
|
|
6783
7368
|
"properties": {
|
|
@@ -6945,6 +7530,57 @@
|
|
|
6945
7530
|
"title": "ReactPush",
|
|
6946
7531
|
"type": "object"
|
|
6947
7532
|
},
|
|
7533
|
+
"ReactRelease": {
|
|
7534
|
+
"additionalProperties": false,
|
|
7535
|
+
"description": "A GitHub release being published \u2014 a release or prerelease published\ndirectly, or a draft published later. `tag` narrows to the release tags\nthat match (exact, or a prefix ending in `*`, so `v*`); `prerelease`\nselects prereleases or full releases, like `draft` on pull requests. The\n`for:` audience is the release's author, which for a release cut by CI is\na bot and needs `bots` to opt in.",
|
|
7536
|
+
"properties": {
|
|
7537
|
+
"for": {
|
|
7538
|
+
"$ref": "#/$defs/GithubAccountSelector"
|
|
7539
|
+
},
|
|
7540
|
+
"on": {
|
|
7541
|
+
"default": [
|
|
7542
|
+
"published"
|
|
7543
|
+
],
|
|
7544
|
+
"items": {
|
|
7545
|
+
"$ref": "#/$defs/ReleaseAction"
|
|
7546
|
+
},
|
|
7547
|
+
"title": "On",
|
|
7548
|
+
"type": "array"
|
|
7549
|
+
},
|
|
7550
|
+
"prerelease": {
|
|
7551
|
+
"anyOf": [
|
|
7552
|
+
{
|
|
7553
|
+
"type": "boolean"
|
|
7554
|
+
},
|
|
7555
|
+
{
|
|
7556
|
+
"type": "null"
|
|
7557
|
+
}
|
|
7558
|
+
],
|
|
7559
|
+
"default": null,
|
|
7560
|
+
"title": "Prerelease"
|
|
7561
|
+
},
|
|
7562
|
+
"repositories": {
|
|
7563
|
+
"$ref": "#/$defs/RepositoryFilter"
|
|
7564
|
+
},
|
|
7565
|
+
"tag": {
|
|
7566
|
+
"default": [],
|
|
7567
|
+
"items": {
|
|
7568
|
+
"type": "string"
|
|
7569
|
+
},
|
|
7570
|
+
"title": "Tag",
|
|
7571
|
+
"type": "array"
|
|
7572
|
+
}
|
|
7573
|
+
},
|
|
7574
|
+
"required": [
|
|
7575
|
+
"for",
|
|
7576
|
+
"on",
|
|
7577
|
+
"prerelease",
|
|
7578
|
+
"repositories",
|
|
7579
|
+
"tag"
|
|
7580
|
+
],
|
|
7581
|
+
"title": "ReactRelease",
|
|
7582
|
+
"type": "object"
|
|
7583
|
+
},
|
|
6948
7584
|
"ReactSentry": {
|
|
6949
7585
|
"additionalProperties": false,
|
|
6950
7586
|
"properties": {
|
|
@@ -6977,9 +7613,84 @@
|
|
|
6977
7613
|
"title": "ReactSlackChannel",
|
|
6978
7614
|
"type": "object"
|
|
6979
7615
|
},
|
|
7616
|
+
"ReactStatus": {
|
|
7617
|
+
"additionalProperties": false,
|
|
7618
|
+
"description": "A commit status changing state, from CI that posts statuses instead of checks. `names` matches status contexts exactly or by a prefix ending in `*`. `branch` matches when any branch GitHub lists for the commit matches. `for` works as on `check_run`. Needs the Commit statuses permission.",
|
|
7619
|
+
"properties": {
|
|
7620
|
+
"branch": {
|
|
7621
|
+
"default": [],
|
|
7622
|
+
"items": {
|
|
7623
|
+
"type": "string"
|
|
7624
|
+
},
|
|
7625
|
+
"title": "Branch",
|
|
7626
|
+
"type": "array"
|
|
7627
|
+
},
|
|
7628
|
+
"for": {
|
|
7629
|
+
"$ref": "#/$defs/GithubAccountSelector"
|
|
7630
|
+
},
|
|
7631
|
+
"names": {
|
|
7632
|
+
"default": [],
|
|
7633
|
+
"items": {
|
|
7634
|
+
"type": "string"
|
|
7635
|
+
},
|
|
7636
|
+
"title": "Names",
|
|
7637
|
+
"type": "array"
|
|
7638
|
+
},
|
|
7639
|
+
"on": {
|
|
7640
|
+
"default": [
|
|
7641
|
+
"failed"
|
|
7642
|
+
],
|
|
7643
|
+
"items": {
|
|
7644
|
+
"$ref": "#/$defs/StatusAction"
|
|
7645
|
+
},
|
|
7646
|
+
"title": "On",
|
|
7647
|
+
"type": "array"
|
|
7648
|
+
},
|
|
7649
|
+
"repositories": {
|
|
7650
|
+
"$ref": "#/$defs/RepositoryFilter"
|
|
7651
|
+
}
|
|
7652
|
+
},
|
|
7653
|
+
"required": [
|
|
7654
|
+
"branch",
|
|
7655
|
+
"for",
|
|
7656
|
+
"names",
|
|
7657
|
+
"on",
|
|
7658
|
+
"repositories"
|
|
7659
|
+
],
|
|
7660
|
+
"title": "ReactStatus",
|
|
7661
|
+
"type": "object"
|
|
7662
|
+
},
|
|
6980
7663
|
"ReactTrigger": {
|
|
6981
7664
|
"additionalProperties": false,
|
|
7665
|
+
"description": "An event trigger: exactly one surface block names the events to match.\n\n`enabled: false` pauses the trigger and keeps its definition: events stop\nmatching while the agent stays live for on-demand starts and open\nsessions keep taking follow-ups (`ellipsis.enabled: false` pauses the\nwhole file instead).",
|
|
6982
7666
|
"properties": {
|
|
7667
|
+
"check_run": {
|
|
7668
|
+
"anyOf": [
|
|
7669
|
+
{
|
|
7670
|
+
"$ref": "#/$defs/ReactCheckRun"
|
|
7671
|
+
},
|
|
7672
|
+
{
|
|
7673
|
+
"type": "null"
|
|
7674
|
+
}
|
|
7675
|
+
],
|
|
7676
|
+
"default": null
|
|
7677
|
+
},
|
|
7678
|
+
"check_suite": {
|
|
7679
|
+
"anyOf": [
|
|
7680
|
+
{
|
|
7681
|
+
"$ref": "#/$defs/ReactCheckSuite"
|
|
7682
|
+
},
|
|
7683
|
+
{
|
|
7684
|
+
"type": "null"
|
|
7685
|
+
}
|
|
7686
|
+
],
|
|
7687
|
+
"default": null
|
|
7688
|
+
},
|
|
7689
|
+
"enabled": {
|
|
7690
|
+
"default": true,
|
|
7691
|
+
"title": "Enabled",
|
|
7692
|
+
"type": "boolean"
|
|
7693
|
+
},
|
|
6983
7694
|
"issue": {
|
|
6984
7695
|
"anyOf": [
|
|
6985
7696
|
{
|
|
@@ -7024,6 +7735,17 @@
|
|
|
7024
7735
|
],
|
|
7025
7736
|
"default": null
|
|
7026
7737
|
},
|
|
7738
|
+
"release": {
|
|
7739
|
+
"anyOf": [
|
|
7740
|
+
{
|
|
7741
|
+
"$ref": "#/$defs/ReactRelease"
|
|
7742
|
+
},
|
|
7743
|
+
{
|
|
7744
|
+
"type": "null"
|
|
7745
|
+
}
|
|
7746
|
+
],
|
|
7747
|
+
"default": null
|
|
7748
|
+
},
|
|
7027
7749
|
"sentry": {
|
|
7028
7750
|
"anyOf": [
|
|
7029
7751
|
{
|
|
@@ -7038,7 +7760,18 @@
|
|
|
7038
7760
|
"slack_channel": {
|
|
7039
7761
|
"anyOf": [
|
|
7040
7762
|
{
|
|
7041
|
-
"$ref": "#/$defs/ReactSlackChannel"
|
|
7763
|
+
"$ref": "#/$defs/ReactSlackChannel"
|
|
7764
|
+
},
|
|
7765
|
+
{
|
|
7766
|
+
"type": "null"
|
|
7767
|
+
}
|
|
7768
|
+
],
|
|
7769
|
+
"default": null
|
|
7770
|
+
},
|
|
7771
|
+
"status": {
|
|
7772
|
+
"anyOf": [
|
|
7773
|
+
{
|
|
7774
|
+
"$ref": "#/$defs/ReactStatus"
|
|
7042
7775
|
},
|
|
7043
7776
|
{
|
|
7044
7777
|
"type": "null"
|
|
@@ -7051,20 +7784,84 @@
|
|
|
7051
7784
|
"default": "react",
|
|
7052
7785
|
"title": "Type",
|
|
7053
7786
|
"type": "string"
|
|
7787
|
+
},
|
|
7788
|
+
"workflow_run": {
|
|
7789
|
+
"anyOf": [
|
|
7790
|
+
{
|
|
7791
|
+
"$ref": "#/$defs/ReactWorkflowRun"
|
|
7792
|
+
},
|
|
7793
|
+
{
|
|
7794
|
+
"type": "null"
|
|
7795
|
+
}
|
|
7796
|
+
],
|
|
7797
|
+
"default": null
|
|
7054
7798
|
}
|
|
7055
7799
|
},
|
|
7056
7800
|
"required": [
|
|
7801
|
+
"check_run",
|
|
7802
|
+
"check_suite",
|
|
7803
|
+
"enabled",
|
|
7057
7804
|
"issue",
|
|
7058
7805
|
"linear_issue",
|
|
7059
7806
|
"pull_request",
|
|
7060
7807
|
"push",
|
|
7808
|
+
"release",
|
|
7061
7809
|
"sentry",
|
|
7062
7810
|
"slack_channel",
|
|
7063
|
-
"
|
|
7811
|
+
"status",
|
|
7812
|
+
"type",
|
|
7813
|
+
"workflow_run"
|
|
7064
7814
|
],
|
|
7065
7815
|
"title": "ReactTrigger",
|
|
7066
7816
|
"type": "object"
|
|
7067
7817
|
},
|
|
7818
|
+
"ReactWorkflowRun": {
|
|
7819
|
+
"additionalProperties": false,
|
|
7820
|
+
"description": "A GitHub Actions workflow run changing state. `names` matches workflow names exactly or by a prefix ending in `*`. `branch` is the branch the run is for. `for` works as on `check_run`. Needs the Actions permission.",
|
|
7821
|
+
"properties": {
|
|
7822
|
+
"branch": {
|
|
7823
|
+
"default": [],
|
|
7824
|
+
"items": {
|
|
7825
|
+
"type": "string"
|
|
7826
|
+
},
|
|
7827
|
+
"title": "Branch",
|
|
7828
|
+
"type": "array"
|
|
7829
|
+
},
|
|
7830
|
+
"for": {
|
|
7831
|
+
"$ref": "#/$defs/GithubAccountSelector"
|
|
7832
|
+
},
|
|
7833
|
+
"names": {
|
|
7834
|
+
"default": [],
|
|
7835
|
+
"items": {
|
|
7836
|
+
"type": "string"
|
|
7837
|
+
},
|
|
7838
|
+
"title": "Names",
|
|
7839
|
+
"type": "array"
|
|
7840
|
+
},
|
|
7841
|
+
"on": {
|
|
7842
|
+
"default": [
|
|
7843
|
+
"failed"
|
|
7844
|
+
],
|
|
7845
|
+
"items": {
|
|
7846
|
+
"$ref": "#/$defs/WorkflowRunAction"
|
|
7847
|
+
},
|
|
7848
|
+
"title": "On",
|
|
7849
|
+
"type": "array"
|
|
7850
|
+
},
|
|
7851
|
+
"repositories": {
|
|
7852
|
+
"$ref": "#/$defs/RepositoryFilter"
|
|
7853
|
+
}
|
|
7854
|
+
},
|
|
7855
|
+
"required": [
|
|
7856
|
+
"branch",
|
|
7857
|
+
"for",
|
|
7858
|
+
"names",
|
|
7859
|
+
"on",
|
|
7860
|
+
"repositories"
|
|
7861
|
+
],
|
|
7862
|
+
"title": "ReactWorkflowRun",
|
|
7863
|
+
"type": "object"
|
|
7864
|
+
},
|
|
7068
7865
|
"RecordsAppendFrame": {
|
|
7069
7866
|
"description": "Cursored append-only delivery of session records, ordered by feed_seq,\nfrom all sources. Every record in the frame advances the resume cursor \u2014\nincluding ones a client renders as nothing.",
|
|
7070
7867
|
"properties": {
|
|
@@ -7090,6 +7887,14 @@
|
|
|
7090
7887
|
"title": "RecordsAppendFrame",
|
|
7091
7888
|
"type": "object"
|
|
7092
7889
|
},
|
|
7890
|
+
"ReleaseAction": {
|
|
7891
|
+
"description": "What happened to a GitHub release. `published` is the one moment a\nrelease becomes visible: a release or prerelease published directly, or a\ndraft published later. Edits, deletions, and unpublishes never fire.",
|
|
7892
|
+
"enum": [
|
|
7893
|
+
"published"
|
|
7894
|
+
],
|
|
7895
|
+
"title": "ReleaseAction",
|
|
7896
|
+
"type": "string"
|
|
7897
|
+
},
|
|
7093
7898
|
"RepositoryFilter": {
|
|
7094
7899
|
"anyOf": [
|
|
7095
7900
|
{
|
|
@@ -7174,14 +7979,13 @@
|
|
|
7174
7979
|
"account",
|
|
7175
7980
|
"alerts",
|
|
7176
7981
|
"sessions",
|
|
7177
|
-
"memories",
|
|
7178
|
-
"reviews",
|
|
7179
7982
|
"configs",
|
|
7180
7983
|
"defaults",
|
|
7181
7984
|
"environments",
|
|
7182
7985
|
"secrets",
|
|
7183
7986
|
"templates",
|
|
7184
7987
|
"integrations",
|
|
7988
|
+
"reviews",
|
|
7185
7989
|
"tokens",
|
|
7186
7990
|
"webhooks",
|
|
7187
7991
|
"user"
|
|
@@ -7768,9 +8572,9 @@
|
|
|
7768
8572
|
},
|
|
7769
8573
|
"budget": {
|
|
7770
8574
|
"default": 0,
|
|
7771
|
-
"description": "The spend budget enforced for this session, in
|
|
8575
|
+
"description": "The spend budget enforced for this session, in millicents, after resolving defaults and ceilings.",
|
|
7772
8576
|
"title": "Budget",
|
|
7773
|
-
"type": "
|
|
8577
|
+
"type": "integer"
|
|
7774
8578
|
},
|
|
7775
8579
|
"claude_code": {
|
|
7776
8580
|
"anyOf": [
|
|
@@ -7801,8 +8605,8 @@
|
|
|
7801
8605
|
"description": "Whether the session can take more messages, and whether an agent is warm to answer one."
|
|
7802
8606
|
},
|
|
7803
8607
|
"cost": {
|
|
7804
|
-
"$ref": "#/$defs/
|
|
7805
|
-
"description": "What the session has cost so far
|
|
8608
|
+
"$ref": "#/$defs/Cost",
|
|
8609
|
+
"description": "What the session has cost so far."
|
|
7806
8610
|
},
|
|
7807
8611
|
"created_at": {
|
|
7808
8612
|
"description": "When the session was created.",
|
|
@@ -7819,9 +8623,14 @@
|
|
|
7819
8623
|
{
|
|
7820
8624
|
"discriminator": {
|
|
7821
8625
|
"mapping": {
|
|
8626
|
+
"github.check_run": "#/$defs/GithubCheckRunEvent",
|
|
8627
|
+
"github.check_suite": "#/$defs/GithubCheckSuiteEvent",
|
|
7822
8628
|
"github.issue": "#/$defs/GithubIssueEvent",
|
|
7823
8629
|
"github.pull_request": "#/$defs/GithubPullRequestEvent",
|
|
7824
8630
|
"github.push": "#/$defs/GithubPushEvent",
|
|
8631
|
+
"github.release": "#/$defs/GithubReleaseEvent",
|
|
8632
|
+
"github.status": "#/$defs/GithubStatusEvent",
|
|
8633
|
+
"github.workflow_run": "#/$defs/GithubWorkflowRunEvent",
|
|
7825
8634
|
"linear.issue": "#/$defs/LinearIssueEvent",
|
|
7826
8635
|
"sentry.alert": "#/$defs/SentryAlertEvent",
|
|
7827
8636
|
"slack.channel_created": "#/$defs/SlackChannelCreatedEvent",
|
|
@@ -7839,6 +8648,21 @@
|
|
|
7839
8648
|
{
|
|
7840
8649
|
"$ref": "#/$defs/GithubPushEvent"
|
|
7841
8650
|
},
|
|
8651
|
+
{
|
|
8652
|
+
"$ref": "#/$defs/GithubCheckRunEvent"
|
|
8653
|
+
},
|
|
8654
|
+
{
|
|
8655
|
+
"$ref": "#/$defs/GithubCheckSuiteEvent"
|
|
8656
|
+
},
|
|
8657
|
+
{
|
|
8658
|
+
"$ref": "#/$defs/GithubWorkflowRunEvent"
|
|
8659
|
+
},
|
|
8660
|
+
{
|
|
8661
|
+
"$ref": "#/$defs/GithubStatusEvent"
|
|
8662
|
+
},
|
|
8663
|
+
{
|
|
8664
|
+
"$ref": "#/$defs/GithubReleaseEvent"
|
|
8665
|
+
},
|
|
7842
8666
|
{
|
|
7843
8667
|
"$ref": "#/$defs/LinearIssueEvent"
|
|
7844
8668
|
},
|
|
@@ -7902,14 +8726,14 @@
|
|
|
7902
8726
|
"output": {
|
|
7903
8727
|
"anyOf": [
|
|
7904
8728
|
{
|
|
7905
|
-
"$ref": "#/$defs/
|
|
8729
|
+
"$ref": "#/$defs/SessionOutput"
|
|
7906
8730
|
},
|
|
7907
8731
|
{
|
|
7908
8732
|
"type": "null"
|
|
7909
8733
|
}
|
|
7910
8734
|
],
|
|
7911
8735
|
"default": null,
|
|
7912
|
-
"description": "The structured
|
|
8736
|
+
"description": "The session's structured output: the `json_schema` the agent must satisfy and, once a turn has submitted it, the `result`."
|
|
7913
8737
|
},
|
|
7914
8738
|
"parent": {
|
|
7915
8739
|
"anyOf": [
|
|
@@ -7952,8 +8776,8 @@
|
|
|
7952
8776
|
"description": "The latest live summary of the session's progress while it runs, and when it was generated."
|
|
7953
8777
|
},
|
|
7954
8778
|
"tokens": {
|
|
7955
|
-
"$ref": "#/$defs/
|
|
7956
|
-
"description": "The tokens the session
|
|
8779
|
+
"$ref": "#/$defs/Tokens",
|
|
8780
|
+
"description": "The tokens the session has used so far."
|
|
7957
8781
|
},
|
|
7958
8782
|
"turn": {
|
|
7959
8783
|
"anyOf": [
|
|
@@ -8020,7 +8844,7 @@
|
|
|
8020
8844
|
}
|
|
8021
8845
|
],
|
|
8022
8846
|
"default": null,
|
|
8023
|
-
"description": "Identifier of the saved agent this session's snapshot was taken from. Null for a routing-file agent
|
|
8847
|
+
"description": "Identifier of the saved agent this session's snapshot was taken from. Null for a routing-file agent or the built-in mention agent, which have no saved agent behind them. Points at the agent as it exists now, which may have changed since.",
|
|
8024
8848
|
"title": "Id"
|
|
8025
8849
|
}
|
|
8026
8850
|
},
|
|
@@ -8349,6 +9173,12 @@
|
|
|
8349
9173
|
"default": null,
|
|
8350
9174
|
"description": "Codex input and native options. Set exactly one of claude_code or codex."
|
|
8351
9175
|
},
|
|
9176
|
+
"conversation": {
|
|
9177
|
+
"$ref": "#/$defs/SessionConversationConfig",
|
|
9178
|
+
"default": {
|
|
9179
|
+
"interactive": true
|
|
9180
|
+
}
|
|
9181
|
+
},
|
|
8352
9182
|
"environment": {
|
|
8353
9183
|
"anyOf": [
|
|
8354
9184
|
{
|
|
@@ -8377,6 +9207,15 @@
|
|
|
8377
9207
|
},
|
|
8378
9208
|
"title": "Environment"
|
|
8379
9209
|
},
|
|
9210
|
+
"metadata": {
|
|
9211
|
+
"additionalProperties": {
|
|
9212
|
+
"type": "string"
|
|
9213
|
+
},
|
|
9214
|
+
"default": {},
|
|
9215
|
+
"description": "Arbitrary string key/value metadata stored on every session.",
|
|
9216
|
+
"title": "Metadata",
|
|
9217
|
+
"type": "object"
|
|
9218
|
+
},
|
|
8380
9219
|
"output": {
|
|
8381
9220
|
"anyOf": [
|
|
8382
9221
|
{
|
|
@@ -8411,7 +9250,9 @@
|
|
|
8411
9250
|
"budget",
|
|
8412
9251
|
"claude_code",
|
|
8413
9252
|
"codex",
|
|
9253
|
+
"conversation",
|
|
8414
9254
|
"environment",
|
|
9255
|
+
"metadata",
|
|
8415
9256
|
"output",
|
|
8416
9257
|
"permissions",
|
|
8417
9258
|
"skills"
|
|
@@ -8450,48 +9291,21 @@
|
|
|
8450
9291
|
"title": "SessionConversation",
|
|
8451
9292
|
"type": "object"
|
|
8452
9293
|
},
|
|
8453
|
-
"
|
|
8454
|
-
"
|
|
9294
|
+
"SessionConversationConfig": {
|
|
9295
|
+
"additionalProperties": false,
|
|
9296
|
+
"description": "Conversation settings for a session, set on a saved agent or sent when starting a session or running an agent.",
|
|
8455
9297
|
"properties": {
|
|
8456
|
-
"
|
|
8457
|
-
"default":
|
|
8458
|
-
"description": "
|
|
8459
|
-
"title": "
|
|
8460
|
-
"type": "
|
|
8461
|
-
},
|
|
8462
|
-
"fee": {
|
|
8463
|
-
"default": 0,
|
|
8464
|
-
"description": "Platform fee in millicents.",
|
|
8465
|
-
"title": "Fee",
|
|
8466
|
-
"type": "integer"
|
|
8467
|
-
},
|
|
8468
|
-
"llm": {
|
|
8469
|
-
"default": 0,
|
|
8470
|
-
"description": "LLM spend in millicents.",
|
|
8471
|
-
"title": "Llm",
|
|
8472
|
-
"type": "integer"
|
|
8473
|
-
},
|
|
8474
|
-
"memory": {
|
|
8475
|
-
"default": 0,
|
|
8476
|
-
"description": "Memory spend in millicents.",
|
|
8477
|
-
"title": "Memory",
|
|
8478
|
-
"type": "integer"
|
|
8479
|
-
},
|
|
8480
|
-
"total": {
|
|
8481
|
-
"default": 0,
|
|
8482
|
-
"description": "The grand total in millicents: llm + cpu + memory + fee.",
|
|
8483
|
-
"title": "Total",
|
|
8484
|
-
"type": "integer"
|
|
9298
|
+
"interactive": {
|
|
9299
|
+
"default": true,
|
|
9300
|
+
"description": "Whether the session stays open after its first turn. Defaults to true; false runs once and requires a prompt. Requires the model's interactive capability when true. Direct message acceptance is reported separately in conversation.prompting.",
|
|
9301
|
+
"title": "Interactive",
|
|
9302
|
+
"type": "boolean"
|
|
8485
9303
|
}
|
|
8486
9304
|
},
|
|
8487
9305
|
"required": [
|
|
8488
|
-
"
|
|
8489
|
-
"fee",
|
|
8490
|
-
"llm",
|
|
8491
|
-
"memory",
|
|
8492
|
-
"total"
|
|
9306
|
+
"interactive"
|
|
8493
9307
|
],
|
|
8494
|
-
"title": "
|
|
9308
|
+
"title": "SessionConversationConfig",
|
|
8495
9309
|
"type": "object"
|
|
8496
9310
|
},
|
|
8497
9311
|
"SessionEnvironment": {
|
|
@@ -9062,6 +9876,37 @@
|
|
|
9062
9876
|
"title": "SessionMessageStatus",
|
|
9063
9877
|
"type": "string"
|
|
9064
9878
|
},
|
|
9879
|
+
"SessionOutput": {
|
|
9880
|
+
"description": "Structured output on the wire: the contract and, when a turn has\nsubmitted one, the payload. `result` is None while the session runs and\nwhen no turn submitted anything; it is the agent's own JSON, in the\nshape of `json_schema`.",
|
|
9881
|
+
"properties": {
|
|
9882
|
+
"json_schema": {
|
|
9883
|
+
"additionalProperties": true,
|
|
9884
|
+
"description": "JSON Schema the agent's result must satisfy.",
|
|
9885
|
+
"title": "Json Schema",
|
|
9886
|
+
"type": "object"
|
|
9887
|
+
},
|
|
9888
|
+
"result": {
|
|
9889
|
+
"anyOf": [
|
|
9890
|
+
{
|
|
9891
|
+
"additionalProperties": true,
|
|
9892
|
+
"type": "object"
|
|
9893
|
+
},
|
|
9894
|
+
{
|
|
9895
|
+
"type": "null"
|
|
9896
|
+
}
|
|
9897
|
+
],
|
|
9898
|
+
"default": null,
|
|
9899
|
+
"description": "The payload the agent submitted, or null until a turn submits one.",
|
|
9900
|
+
"title": "Result"
|
|
9901
|
+
}
|
|
9902
|
+
},
|
|
9903
|
+
"required": [
|
|
9904
|
+
"json_schema",
|
|
9905
|
+
"result"
|
|
9906
|
+
],
|
|
9907
|
+
"title": "SessionOutput",
|
|
9908
|
+
"type": "object"
|
|
9909
|
+
},
|
|
9065
9910
|
"SessionParent": {
|
|
9066
9911
|
"description": "The predecessor session this session continues.",
|
|
9067
9912
|
"properties": {
|
|
@@ -9160,9 +10005,10 @@
|
|
|
9160
10005
|
]
|
|
9161
10006
|
},
|
|
9162
10007
|
"SessionSource": {
|
|
9163
|
-
"description": "Where a session came from: the credential that started it (web app,\nAPI key, CLI) or the trigger that fired (react, mention, cron). Never
|
|
10008
|
+
"description": "Where a session came from: the credential that started it (web app,\nAPI key, CLI) or the trigger that fired (react, mention, cron, code\nreview). Never taken from a request body.",
|
|
9164
10009
|
"enum": [
|
|
9165
10010
|
"react",
|
|
10011
|
+
"code_review",
|
|
9166
10012
|
"web",
|
|
9167
10013
|
"api",
|
|
9168
10014
|
"cli",
|
|
@@ -9240,62 +10086,11 @@
|
|
|
9240
10086
|
"title": "SessionSummary",
|
|
9241
10087
|
"type": "object"
|
|
9242
10088
|
},
|
|
9243
|
-
"SessionTokens": {
|
|
9244
|
-
"description": "The token counts a session (or turn) spent, and the model they went to.\n\n`total` INCLUDES the cache lanes, unlike the old flat `tokens_total` which\ncounted input+output+thinking only and left callers to add cache reads and\nwrites back themselves (the deleted `tokensTotalAll` helper). Cache tokens\ndominate an agent run's token bill, so a \"total\" that omits them is the\nwrong default and produced two competing totals in the dashboard.",
|
|
9245
|
-
"properties": {
|
|
9246
|
-
"cache_creation": {
|
|
9247
|
-
"default": 0,
|
|
9248
|
-
"description": "Tokens written to the prompt cache.",
|
|
9249
|
-
"title": "Cache Creation",
|
|
9250
|
-
"type": "integer"
|
|
9251
|
-
},
|
|
9252
|
-
"cache_read": {
|
|
9253
|
-
"default": 0,
|
|
9254
|
-
"description": "Tokens read from the prompt cache.",
|
|
9255
|
-
"title": "Cache Read",
|
|
9256
|
-
"type": "integer"
|
|
9257
|
-
},
|
|
9258
|
-
"input": {
|
|
9259
|
-
"default": 0,
|
|
9260
|
-
"description": "Input tokens used.",
|
|
9261
|
-
"title": "Input",
|
|
9262
|
-
"type": "integer"
|
|
9263
|
-
},
|
|
9264
|
-
"model": {
|
|
9265
|
-
"default": "",
|
|
9266
|
-
"description": "The model the token counts are attributed to.",
|
|
9267
|
-
"title": "Model",
|
|
9268
|
-
"type": "string"
|
|
9269
|
-
},
|
|
9270
|
-
"output": {
|
|
9271
|
-
"default": 0,
|
|
9272
|
-
"description": "Output tokens used.",
|
|
9273
|
-
"title": "Output",
|
|
9274
|
-
"type": "integer"
|
|
9275
|
-
},
|
|
9276
|
-
"total": {
|
|
9277
|
-
"default": 0,
|
|
9278
|
-
"description": "Total tokens consumed, INCLUDING the prompt-cache reads and writes \u2014 the same basis the token cost is priced on.",
|
|
9279
|
-
"title": "Total",
|
|
9280
|
-
"type": "integer"
|
|
9281
|
-
}
|
|
9282
|
-
},
|
|
9283
|
-
"required": [
|
|
9284
|
-
"cache_creation",
|
|
9285
|
-
"cache_read",
|
|
9286
|
-
"input",
|
|
9287
|
-
"model",
|
|
9288
|
-
"output",
|
|
9289
|
-
"total"
|
|
9290
|
-
],
|
|
9291
|
-
"title": "SessionTokens",
|
|
9292
|
-
"type": "object"
|
|
9293
|
-
},
|
|
9294
10089
|
"SessionTurn": {
|
|
9295
10090
|
"description": "One message and the agent's answer to it. A turn is `pending` from the\nmoment its message is received until the agent starts on it, `running`\nwhile the agent works, then `completed`, `failed`, `stopped`, or\n`cancelled`.",
|
|
9296
10091
|
"properties": {
|
|
9297
10092
|
"cost": {
|
|
9298
|
-
"$ref": "#/$defs/
|
|
10093
|
+
"$ref": "#/$defs/Cost",
|
|
9299
10094
|
"description": "What the turn cost so far, in millicents, broken down by leg."
|
|
9300
10095
|
},
|
|
9301
10096
|
"created_at": {
|
|
@@ -9384,7 +10179,7 @@
|
|
|
9384
10179
|
"description": "When and by whom a stop was requested; null when none was."
|
|
9385
10180
|
},
|
|
9386
10181
|
"tokens": {
|
|
9387
|
-
"$ref": "#/$defs/
|
|
10182
|
+
"$ref": "#/$defs/Tokens",
|
|
9388
10183
|
"description": "The tokens the turn spent and the model they went to."
|
|
9389
10184
|
}
|
|
9390
10185
|
},
|
|
@@ -9406,7 +10201,7 @@
|
|
|
9406
10201
|
},
|
|
9407
10202
|
"SettingsRef": {
|
|
9408
10203
|
"additionalProperties": false,
|
|
9409
|
-
"description": "A
|
|
10204
|
+
"description": "A Claude Code settings.json read from a repository and applied to the\nsession. It adds permission rules and other Claude Code settings; rules the\nplatform sets stay in force. Supported models list `settings` in\n`/v1/account/models`.",
|
|
9410
10205
|
"properties": {
|
|
9411
10206
|
"path": {
|
|
9412
10207
|
"title": "Path",
|
|
@@ -9635,6 +10430,84 @@
|
|
|
9635
10430
|
"title": "SnapshotFrame",
|
|
9636
10431
|
"type": "object"
|
|
9637
10432
|
},
|
|
10433
|
+
"StatusAction": {
|
|
10434
|
+
"description": "The state of a commit status. `success` is `passed`, `failure` is `failed`, and `error` is `errored`.",
|
|
10435
|
+
"enum": [
|
|
10436
|
+
"pending",
|
|
10437
|
+
"passed",
|
|
10438
|
+
"failed",
|
|
10439
|
+
"errored"
|
|
10440
|
+
],
|
|
10441
|
+
"title": "StatusAction",
|
|
10442
|
+
"type": "string"
|
|
10443
|
+
},
|
|
10444
|
+
"TokenCounts": {
|
|
10445
|
+
"description": "Token counts.",
|
|
10446
|
+
"properties": {
|
|
10447
|
+
"cache_creation": {
|
|
10448
|
+
"default": 0,
|
|
10449
|
+
"description": "Tokens written to the prompt cache.",
|
|
10450
|
+
"title": "Cache Creation",
|
|
10451
|
+
"type": "integer"
|
|
10452
|
+
},
|
|
10453
|
+
"cache_read": {
|
|
10454
|
+
"default": 0,
|
|
10455
|
+
"description": "Tokens read from the prompt cache.",
|
|
10456
|
+
"title": "Cache Read",
|
|
10457
|
+
"type": "integer"
|
|
10458
|
+
},
|
|
10459
|
+
"input": {
|
|
10460
|
+
"default": 0,
|
|
10461
|
+
"description": "Input tokens used.",
|
|
10462
|
+
"title": "Input",
|
|
10463
|
+
"type": "integer"
|
|
10464
|
+
},
|
|
10465
|
+
"output": {
|
|
10466
|
+
"default": 0,
|
|
10467
|
+
"description": "Output tokens used.",
|
|
10468
|
+
"title": "Output",
|
|
10469
|
+
"type": "integer"
|
|
10470
|
+
},
|
|
10471
|
+
"total": {
|
|
10472
|
+
"default": 0,
|
|
10473
|
+
"description": "All tokens used, including prompt cache reads and writes. Token cost is priced on this.",
|
|
10474
|
+
"title": "Total",
|
|
10475
|
+
"type": "integer"
|
|
10476
|
+
}
|
|
10477
|
+
},
|
|
10478
|
+
"required": [
|
|
10479
|
+
"cache_creation",
|
|
10480
|
+
"cache_read",
|
|
10481
|
+
"input",
|
|
10482
|
+
"output",
|
|
10483
|
+
"total"
|
|
10484
|
+
],
|
|
10485
|
+
"title": "TokenCounts",
|
|
10486
|
+
"type": "object"
|
|
10487
|
+
},
|
|
10488
|
+
"Tokens": {
|
|
10489
|
+
"description": "Tokens used, in total and by model.",
|
|
10490
|
+
"properties": {
|
|
10491
|
+
"all": {
|
|
10492
|
+
"$ref": "#/$defs/TokenCounts",
|
|
10493
|
+
"description": "Token counts across every model."
|
|
10494
|
+
},
|
|
10495
|
+
"by_model": {
|
|
10496
|
+
"description": "Token counts for each model that used tokens.",
|
|
10497
|
+
"items": {
|
|
10498
|
+
"$ref": "#/$defs/ModelTokenCounts"
|
|
10499
|
+
},
|
|
10500
|
+
"title": "By Model",
|
|
10501
|
+
"type": "array"
|
|
10502
|
+
}
|
|
10503
|
+
},
|
|
10504
|
+
"required": [
|
|
10505
|
+
"all",
|
|
10506
|
+
"by_model"
|
|
10507
|
+
],
|
|
10508
|
+
"title": "Tokens",
|
|
10509
|
+
"type": "object"
|
|
10510
|
+
},
|
|
9638
10511
|
"TokensInfo": {
|
|
9639
10512
|
"additionalProperties": false,
|
|
9640
10513
|
"description": "Token/cost usage, per record (one API call's counts, aggregate fields at\ntheir zero defaults) or aggregated per turn/session\n(compute_spend_from_records derives num_turns and cost_usd).\n\nStrict on purpose: this is our own persisted schema, so an unknown key is a\nwriter bug (the num_turns=0 bug shipped because a Claude Code usage dict\nvalidated leniently against this model, silently zeroing every\nnon-overlapping field). Legacy keys were dropped from persisted blobs by\nthe 2026-07-26 tokens_info migration; per-model usage (CC's modelUsage,\nverbatim) is stored separately, not here.",
|
|
@@ -10269,6 +11142,27 @@
|
|
|
10269
11142
|
"title": "UnknownSessionRecord",
|
|
10270
11143
|
"type": "object",
|
|
10271
11144
|
"x-ellipsis-preserve-payload": true
|
|
11145
|
+
},
|
|
11146
|
+
"WorkflowRunAction": {
|
|
11147
|
+
"description": "The state of a GitHub Actions workflow run when GitHub reports it. Before the run finishes it is the status, and `in_progress` is `started`. After it finishes it is the conclusion, `success` is `passed` and `failure` is `failed`. Every other value is the GitHub word.",
|
|
11148
|
+
"enum": [
|
|
11149
|
+
"requested",
|
|
11150
|
+
"queued",
|
|
11151
|
+
"waiting",
|
|
11152
|
+
"pending",
|
|
11153
|
+
"started",
|
|
11154
|
+
"passed",
|
|
11155
|
+
"failed",
|
|
11156
|
+
"timed_out",
|
|
11157
|
+
"cancelled",
|
|
11158
|
+
"skipped",
|
|
11159
|
+
"neutral",
|
|
11160
|
+
"action_required",
|
|
11161
|
+
"stale",
|
|
11162
|
+
"startup_failure"
|
|
11163
|
+
],
|
|
11164
|
+
"title": "WorkflowRunAction",
|
|
11165
|
+
"type": "string"
|
|
10272
11166
|
}
|
|
10273
11167
|
},
|
|
10274
11168
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|