@ellipsis-dev/sdk 0.15.0 → 0.16.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/chunk-RMPAMUAE.js +208 -0
- package/dist/index.d.ts +2 -2
- package/dist/store/index.d.ts +45 -2
- package/dist/store/index.js +320 -4
- package/dist/stream/index.d.ts +1 -1
- package/dist/stream/index.js +18 -189
- package/dist/{types-DtVn9Yj3.d.ts → types-DB1hOyQE.d.ts} +120 -49
- package/package.json +1 -1
- package/schema/frames.schema.json +176 -67
- package/schema/openapi.v1.json +168 -74
package/schema/openapi.v1.json
CHANGED
|
@@ -5206,7 +5206,7 @@
|
|
|
5206
5206
|
"type": "object"
|
|
5207
5207
|
},
|
|
5208
5208
|
"ModelManufacturer": {
|
|
5209
|
-
"description": "Who BUILT a model. Never who serves it.\n\nServing path is irrelevant here. Anthropic built every Claude model, so all of\nthem are ANTHROPIC
|
|
5209
|
+
"description": "Who BUILT a model. Never who serves it.\n\nServing path is irrelevant here. Anthropic built every Claude model, so all of\nthem are ANTHROPIC even though OpenRouter is what actually serves them.\nLikewise the `gpt-5.6-*` rows are OPENAI (OpenAI's models, resold to us by\nOpenRouter), and GLM is ZAI (Z.ai's model, served by DeepInfra via\nOpenRouter).\n\nSo this is deliberately NOT derived from `EgressRoute.provider`: routing is an\ninfrastructure fact that changes when we move a model between providers, while\nthe manufacturer is a property of the model itself and never changes.\n\nThe frontend renders a vendor logo per model, which is why it needs the maker.\nKeying that UI off the egress provider would put an AWS logo on a GPT model and\nan OpenAI logo on GLM.",
|
|
5210
5210
|
"enum": [
|
|
5211
5211
|
"anthropic",
|
|
5212
5212
|
"openai",
|
|
@@ -6050,25 +6050,21 @@
|
|
|
6050
6050
|
"description": "The session execution that produced the record, or null for session-scoped lifecycle records.",
|
|
6051
6051
|
"title": "Execution Id"
|
|
6052
6052
|
},
|
|
6053
|
-
"
|
|
6054
|
-
"description": "The matching record's unique identifier.",
|
|
6055
|
-
"title": "Id",
|
|
6056
|
-
"type": "string"
|
|
6057
|
-
},
|
|
6058
|
-
"output_prs": {
|
|
6053
|
+
"git": {
|
|
6059
6054
|
"anyOf": [
|
|
6060
6055
|
{
|
|
6061
|
-
"
|
|
6062
|
-
"$ref": "#/components/schemas/SessionPr"
|
|
6063
|
-
},
|
|
6064
|
-
"type": "array"
|
|
6056
|
+
"$ref": "#/components/schemas/SessionGit"
|
|
6065
6057
|
},
|
|
6066
6058
|
{
|
|
6067
6059
|
"type": "null"
|
|
6068
6060
|
}
|
|
6069
6061
|
],
|
|
6070
|
-
"description": "
|
|
6071
|
-
|
|
6062
|
+
"description": "What the session did to git, per repository, so a result row can show what it shipped without fetching the session."
|
|
6063
|
+
},
|
|
6064
|
+
"id": {
|
|
6065
|
+
"description": "The matching record's unique identifier.",
|
|
6066
|
+
"title": "Id",
|
|
6067
|
+
"type": "string"
|
|
6072
6068
|
},
|
|
6073
6069
|
"record_type": {
|
|
6074
6070
|
"description": "The record's event type.",
|
|
@@ -8522,6 +8518,17 @@
|
|
|
8522
8518
|
],
|
|
8523
8519
|
"description": "How the session ended; null until it is terminal."
|
|
8524
8520
|
},
|
|
8521
|
+
"git": {
|
|
8522
|
+
"anyOf": [
|
|
8523
|
+
{
|
|
8524
|
+
"$ref": "#/components/schemas/SessionGit"
|
|
8525
|
+
},
|
|
8526
|
+
{
|
|
8527
|
+
"type": "null"
|
|
8528
|
+
}
|
|
8529
|
+
],
|
|
8530
|
+
"description": "What the session did to git, one entry per repository in its workspace: the commit and branch it sits on, per-file line counts for its uncommitted changes, and the pull requests it opened. Null if nothing was ever captured."
|
|
8531
|
+
},
|
|
8525
8532
|
"harness": {
|
|
8526
8533
|
"$ref": "#/components/schemas/Harness",
|
|
8527
8534
|
"description": "The coding-agent harness the session runs on."
|
|
@@ -8566,21 +8573,6 @@
|
|
|
8566
8573
|
"title": "Metadata",
|
|
8567
8574
|
"type": "object"
|
|
8568
8575
|
},
|
|
8569
|
-
"output_prs": {
|
|
8570
|
-
"anyOf": [
|
|
8571
|
-
{
|
|
8572
|
-
"items": {
|
|
8573
|
-
"$ref": "#/components/schemas/SessionPr"
|
|
8574
|
-
},
|
|
8575
|
-
"type": "array"
|
|
8576
|
-
},
|
|
8577
|
-
{
|
|
8578
|
-
"type": "null"
|
|
8579
|
-
}
|
|
8580
|
-
],
|
|
8581
|
-
"description": "Pull requests the session created or updated.",
|
|
8582
|
-
"title": "Output Prs"
|
|
8583
|
-
},
|
|
8584
8576
|
"parent": {
|
|
8585
8577
|
"$ref": "#/components/schemas/SessionParent",
|
|
8586
8578
|
"description": "What preceded this session, if anything."
|
|
@@ -8966,6 +8958,154 @@
|
|
|
8966
8958
|
"title": "SessionExitStatus",
|
|
8967
8959
|
"type": "string"
|
|
8968
8960
|
},
|
|
8961
|
+
"SessionGit": {
|
|
8962
|
+
"description": "Every repo the session touched. Small enough to ride on `agent_sessions`\nand be returned by every session read.",
|
|
8963
|
+
"properties": {
|
|
8964
|
+
"repos": {
|
|
8965
|
+
"default": [],
|
|
8966
|
+
"items": {
|
|
8967
|
+
"$ref": "#/components/schemas/SessionGitRepo"
|
|
8968
|
+
},
|
|
8969
|
+
"title": "Repos",
|
|
8970
|
+
"type": "array"
|
|
8971
|
+
}
|
|
8972
|
+
},
|
|
8973
|
+
"title": "SessionGit",
|
|
8974
|
+
"type": "object"
|
|
8975
|
+
},
|
|
8976
|
+
"SessionGitFile": {
|
|
8977
|
+
"description": "One file's uncommitted change, as `git diff HEAD --numstat` reports it\n(with intent-to-add, so a brand-new file still counts).",
|
|
8978
|
+
"properties": {
|
|
8979
|
+
"additions": {
|
|
8980
|
+
"title": "Additions",
|
|
8981
|
+
"type": "integer"
|
|
8982
|
+
},
|
|
8983
|
+
"deletions": {
|
|
8984
|
+
"title": "Deletions",
|
|
8985
|
+
"type": "integer"
|
|
8986
|
+
},
|
|
8987
|
+
"path": {
|
|
8988
|
+
"title": "Path",
|
|
8989
|
+
"type": "string"
|
|
8990
|
+
},
|
|
8991
|
+
"status": {
|
|
8992
|
+
"title": "Status",
|
|
8993
|
+
"type": "string"
|
|
8994
|
+
}
|
|
8995
|
+
},
|
|
8996
|
+
"required": [
|
|
8997
|
+
"path",
|
|
8998
|
+
"status",
|
|
8999
|
+
"additions",
|
|
9000
|
+
"deletions"
|
|
9001
|
+
],
|
|
9002
|
+
"title": "SessionGitFile",
|
|
9003
|
+
"type": "object"
|
|
9004
|
+
},
|
|
9005
|
+
"SessionGitPr": {
|
|
9006
|
+
"description": "A pull request the session opened in this repo, denormalized at capture\ntime so a surface renders a labeled link without joining gh_prs. Live PR\nstate (open/merged/closed) is not stored \u2014 read gh_prs where a view needs\nit. The repo is the parent object, so it is not repeated here.",
|
|
9007
|
+
"properties": {
|
|
9008
|
+
"gh_pr_id": {
|
|
9009
|
+
"anyOf": [
|
|
9010
|
+
{
|
|
9011
|
+
"type": "integer"
|
|
9012
|
+
},
|
|
9013
|
+
{
|
|
9014
|
+
"type": "null"
|
|
9015
|
+
}
|
|
9016
|
+
],
|
|
9017
|
+
"title": "Gh Pr Id"
|
|
9018
|
+
},
|
|
9019
|
+
"number": {
|
|
9020
|
+
"title": "Number",
|
|
9021
|
+
"type": "integer"
|
|
9022
|
+
},
|
|
9023
|
+
"title": {
|
|
9024
|
+
"anyOf": [
|
|
9025
|
+
{
|
|
9026
|
+
"type": "string"
|
|
9027
|
+
},
|
|
9028
|
+
{
|
|
9029
|
+
"type": "null"
|
|
9030
|
+
}
|
|
9031
|
+
],
|
|
9032
|
+
"title": "Title"
|
|
9033
|
+
},
|
|
9034
|
+
"url": {
|
|
9035
|
+
"title": "Url",
|
|
9036
|
+
"type": "string"
|
|
9037
|
+
}
|
|
9038
|
+
},
|
|
9039
|
+
"required": [
|
|
9040
|
+
"number",
|
|
9041
|
+
"url"
|
|
9042
|
+
],
|
|
9043
|
+
"title": "SessionGitPr",
|
|
9044
|
+
"type": "object"
|
|
9045
|
+
},
|
|
9046
|
+
"SessionGitRepo": {
|
|
9047
|
+
"description": "One checkout in the session's sandbox and everything the session did to\nit, split by whether it survived the sandbox.",
|
|
9048
|
+
"properties": {
|
|
9049
|
+
"full_name": {
|
|
9050
|
+
"title": "Full Name",
|
|
9051
|
+
"type": "string"
|
|
9052
|
+
},
|
|
9053
|
+
"local_commit": {
|
|
9054
|
+
"anyOf": [
|
|
9055
|
+
{
|
|
9056
|
+
"type": "string"
|
|
9057
|
+
},
|
|
9058
|
+
{
|
|
9059
|
+
"type": "null"
|
|
9060
|
+
}
|
|
9061
|
+
],
|
|
9062
|
+
"title": "Local Commit"
|
|
9063
|
+
},
|
|
9064
|
+
"local_uncommitted_files": {
|
|
9065
|
+
"default": [],
|
|
9066
|
+
"items": {
|
|
9067
|
+
"$ref": "#/components/schemas/SessionGitFile"
|
|
9068
|
+
},
|
|
9069
|
+
"title": "Local Uncommitted Files",
|
|
9070
|
+
"type": "array"
|
|
9071
|
+
},
|
|
9072
|
+
"prs": {
|
|
9073
|
+
"default": [],
|
|
9074
|
+
"items": {
|
|
9075
|
+
"$ref": "#/components/schemas/SessionGitPr"
|
|
9076
|
+
},
|
|
9077
|
+
"title": "Prs",
|
|
9078
|
+
"type": "array"
|
|
9079
|
+
},
|
|
9080
|
+
"remote_branch": {
|
|
9081
|
+
"anyOf": [
|
|
9082
|
+
{
|
|
9083
|
+
"type": "string"
|
|
9084
|
+
},
|
|
9085
|
+
{
|
|
9086
|
+
"type": "null"
|
|
9087
|
+
}
|
|
9088
|
+
],
|
|
9089
|
+
"title": "Remote Branch"
|
|
9090
|
+
},
|
|
9091
|
+
"remote_commit": {
|
|
9092
|
+
"anyOf": [
|
|
9093
|
+
{
|
|
9094
|
+
"type": "string"
|
|
9095
|
+
},
|
|
9096
|
+
{
|
|
9097
|
+
"type": "null"
|
|
9098
|
+
}
|
|
9099
|
+
],
|
|
9100
|
+
"title": "Remote Commit"
|
|
9101
|
+
}
|
|
9102
|
+
},
|
|
9103
|
+
"required": [
|
|
9104
|
+
"full_name"
|
|
9105
|
+
],
|
|
9106
|
+
"title": "SessionGitRepo",
|
|
9107
|
+
"type": "object"
|
|
9108
|
+
},
|
|
8969
9109
|
"SessionLiveness": {
|
|
8970
9110
|
"description": "The durable conversation axis (backs the surfaced `session` field).",
|
|
8971
9111
|
"enum": [
|
|
@@ -9196,52 +9336,6 @@
|
|
|
9196
9336
|
"title": "SessionParent",
|
|
9197
9337
|
"type": "object"
|
|
9198
9338
|
},
|
|
9199
|
-
"SessionPr": {
|
|
9200
|
-
"description": "A pull request this session created, denormalized at capture time so\nsession surfaces render a labeled link without joining gh_prs. Live PR\nstate (open/merged/closed) is not stored here \u2014 read it from gh_prs where\na view needs it.",
|
|
9201
|
-
"properties": {
|
|
9202
|
-
"gh_pr_id": {
|
|
9203
|
-
"anyOf": [
|
|
9204
|
-
{
|
|
9205
|
-
"type": "integer"
|
|
9206
|
-
},
|
|
9207
|
-
{
|
|
9208
|
-
"type": "null"
|
|
9209
|
-
}
|
|
9210
|
-
],
|
|
9211
|
-
"title": "Gh Pr Id"
|
|
9212
|
-
},
|
|
9213
|
-
"number": {
|
|
9214
|
-
"title": "Number",
|
|
9215
|
-
"type": "integer"
|
|
9216
|
-
},
|
|
9217
|
-
"repo_full_name": {
|
|
9218
|
-
"title": "Repo Full Name",
|
|
9219
|
-
"type": "string"
|
|
9220
|
-
},
|
|
9221
|
-
"title": {
|
|
9222
|
-
"anyOf": [
|
|
9223
|
-
{
|
|
9224
|
-
"type": "string"
|
|
9225
|
-
},
|
|
9226
|
-
{
|
|
9227
|
-
"type": "null"
|
|
9228
|
-
}
|
|
9229
|
-
],
|
|
9230
|
-
"title": "Title"
|
|
9231
|
-
},
|
|
9232
|
-
"url": {
|
|
9233
|
-
"title": "Url",
|
|
9234
|
-
"type": "string"
|
|
9235
|
-
}
|
|
9236
|
-
},
|
|
9237
|
-
"required": [
|
|
9238
|
-
"repo_full_name",
|
|
9239
|
-
"number",
|
|
9240
|
-
"url"
|
|
9241
|
-
],
|
|
9242
|
-
"title": "SessionPr",
|
|
9243
|
-
"type": "object"
|
|
9244
|
-
},
|
|
9245
9339
|
"SessionPrompting": {
|
|
9246
9340
|
"description": "The prompt-affordance projection. `enabled` answers \"would a send work\",\nand when it wouldn't, `blocked_reason` + `detail` say why.\n\n`surface_name` is set only for MENTION_SURFACE, naming where to reply.",
|
|
9247
9341
|
"properties": {
|