@ellipsis-dev/sdk 0.15.1 → 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 +318 -4
- package/dist/stream/index.d.ts +1 -1
- package/dist/stream/index.js +18 -189
- package/dist/{types-D9g-eZui.d.ts → types-DB1hOyQE.d.ts} +106 -98
- package/package.json +1 -1
- package/schema/frames.schema.json +172 -127
- package/schema/openapi.v1.json +167 -135
package/schema/openapi.v1.json
CHANGED
|
@@ -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,32 +8573,6 @@
|
|
|
8566
8573
|
"title": "Metadata",
|
|
8567
8574
|
"type": "object"
|
|
8568
8575
|
},
|
|
8569
|
-
"output_diff": {
|
|
8570
|
-
"anyOf": [
|
|
8571
|
-
{
|
|
8572
|
-
"$ref": "#/components/schemas/SessionDiff"
|
|
8573
|
-
},
|
|
8574
|
-
{
|
|
8575
|
-
"type": "null"
|
|
8576
|
-
}
|
|
8577
|
-
],
|
|
8578
|
-
"description": "Per-file line counts for the uncommitted changes in the session's workspace. Work the session committed is not included here \u2014 see output_prs. Null if no diff was ever captured."
|
|
8579
|
-
},
|
|
8580
|
-
"output_prs": {
|
|
8581
|
-
"anyOf": [
|
|
8582
|
-
{
|
|
8583
|
-
"items": {
|
|
8584
|
-
"$ref": "#/components/schemas/SessionPr"
|
|
8585
|
-
},
|
|
8586
|
-
"type": "array"
|
|
8587
|
-
},
|
|
8588
|
-
{
|
|
8589
|
-
"type": "null"
|
|
8590
|
-
}
|
|
8591
|
-
],
|
|
8592
|
-
"description": "Pull requests the session created or updated.",
|
|
8593
|
-
"title": "Output Prs"
|
|
8594
|
-
},
|
|
8595
8576
|
"parent": {
|
|
8596
8577
|
"$ref": "#/components/schemas/SessionParent",
|
|
8597
8578
|
"description": "What preceded this session, if anything."
|
|
@@ -8833,57 +8814,6 @@
|
|
|
8833
8814
|
"title": "SessionCost",
|
|
8834
8815
|
"type": "object"
|
|
8835
8816
|
},
|
|
8836
|
-
"SessionDiff": {
|
|
8837
|
-
"description": "The counts half of a session's working-tree diff, small enough to ride on\nagent_sessions and be returned by every session read. The patch text lives\nin `agent_session_diffs` and is fetched on demand.\n\nScope is UNCOMMITTED work only (`git diff HEAD`), so this answers \"is there\nunlanded work in this sandbox?\" \u2014 a session that committed and pushed shows\nno files here and its created PR instead.",
|
|
8838
|
-
"properties": {
|
|
8839
|
-
"files": {
|
|
8840
|
-
"items": {
|
|
8841
|
-
"$ref": "#/components/schemas/SessionDiffFile"
|
|
8842
|
-
},
|
|
8843
|
-
"title": "Files",
|
|
8844
|
-
"type": "array"
|
|
8845
|
-
}
|
|
8846
|
-
},
|
|
8847
|
-
"required": [
|
|
8848
|
-
"files"
|
|
8849
|
-
],
|
|
8850
|
-
"title": "SessionDiff",
|
|
8851
|
-
"type": "object"
|
|
8852
|
-
},
|
|
8853
|
-
"SessionDiffFile": {
|
|
8854
|
-
"description": "One file's uncommitted change in a session's sandbox, as `git diff HEAD`\n--numstat reports it (with intent-to-add so new files count).",
|
|
8855
|
-
"properties": {
|
|
8856
|
-
"additions": {
|
|
8857
|
-
"title": "Additions",
|
|
8858
|
-
"type": "integer"
|
|
8859
|
-
},
|
|
8860
|
-
"deletions": {
|
|
8861
|
-
"title": "Deletions",
|
|
8862
|
-
"type": "integer"
|
|
8863
|
-
},
|
|
8864
|
-
"path": {
|
|
8865
|
-
"title": "Path",
|
|
8866
|
-
"type": "string"
|
|
8867
|
-
},
|
|
8868
|
-
"repo": {
|
|
8869
|
-
"title": "Repo",
|
|
8870
|
-
"type": "string"
|
|
8871
|
-
},
|
|
8872
|
-
"status": {
|
|
8873
|
-
"title": "Status",
|
|
8874
|
-
"type": "string"
|
|
8875
|
-
}
|
|
8876
|
-
},
|
|
8877
|
-
"required": [
|
|
8878
|
-
"repo",
|
|
8879
|
-
"path",
|
|
8880
|
-
"status",
|
|
8881
|
-
"additions",
|
|
8882
|
-
"deletions"
|
|
8883
|
-
],
|
|
8884
|
-
"title": "SessionDiffFile",
|
|
8885
|
-
"type": "object"
|
|
8886
|
-
},
|
|
8887
8817
|
"SessionExecution": {
|
|
8888
8818
|
"description": "One runtime attempt of a session \u2014 the initial start, a cold wake of a\ndurable conversation, or an infrastructure retry \u2014 including the launch\ncontext the model was actually given.",
|
|
8889
8819
|
"properties": {
|
|
@@ -9028,6 +8958,154 @@
|
|
|
9028
8958
|
"title": "SessionExitStatus",
|
|
9029
8959
|
"type": "string"
|
|
9030
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
|
+
},
|
|
9031
9109
|
"SessionLiveness": {
|
|
9032
9110
|
"description": "The durable conversation axis (backs the surfaced `session` field).",
|
|
9033
9111
|
"enum": [
|
|
@@ -9258,52 +9336,6 @@
|
|
|
9258
9336
|
"title": "SessionParent",
|
|
9259
9337
|
"type": "object"
|
|
9260
9338
|
},
|
|
9261
|
-
"SessionPr": {
|
|
9262
|
-
"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.",
|
|
9263
|
-
"properties": {
|
|
9264
|
-
"gh_pr_id": {
|
|
9265
|
-
"anyOf": [
|
|
9266
|
-
{
|
|
9267
|
-
"type": "integer"
|
|
9268
|
-
},
|
|
9269
|
-
{
|
|
9270
|
-
"type": "null"
|
|
9271
|
-
}
|
|
9272
|
-
],
|
|
9273
|
-
"title": "Gh Pr Id"
|
|
9274
|
-
},
|
|
9275
|
-
"number": {
|
|
9276
|
-
"title": "Number",
|
|
9277
|
-
"type": "integer"
|
|
9278
|
-
},
|
|
9279
|
-
"repo_full_name": {
|
|
9280
|
-
"title": "Repo Full Name",
|
|
9281
|
-
"type": "string"
|
|
9282
|
-
},
|
|
9283
|
-
"title": {
|
|
9284
|
-
"anyOf": [
|
|
9285
|
-
{
|
|
9286
|
-
"type": "string"
|
|
9287
|
-
},
|
|
9288
|
-
{
|
|
9289
|
-
"type": "null"
|
|
9290
|
-
}
|
|
9291
|
-
],
|
|
9292
|
-
"title": "Title"
|
|
9293
|
-
},
|
|
9294
|
-
"url": {
|
|
9295
|
-
"title": "Url",
|
|
9296
|
-
"type": "string"
|
|
9297
|
-
}
|
|
9298
|
-
},
|
|
9299
|
-
"required": [
|
|
9300
|
-
"repo_full_name",
|
|
9301
|
-
"number",
|
|
9302
|
-
"url"
|
|
9303
|
-
],
|
|
9304
|
-
"title": "SessionPr",
|
|
9305
|
-
"type": "object"
|
|
9306
|
-
},
|
|
9307
9339
|
"SessionPrompting": {
|
|
9308
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.",
|
|
9309
9341
|
"properties": {
|