@ellipsis-dev/sdk 0.37.0 → 0.43.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/README.md +4 -3
- package/dist/index.d.ts +166 -317
- package/dist/index.js +88 -320
- package/dist/store/index.d.ts +9 -3
- package/dist/store/index.js +10 -2
- package/dist/stream/index.d.ts +1 -1
- package/dist/{types-BXbnHOQe.d.ts → types-BAJ82SH6.d.ts} +838 -2675
- package/package.json +1 -1
- package/schema/collection_frames.schema.json +360 -25
- package/schema/frames.schema.json +373 -25
- package/schema/lifecycle.schema.json +13 -0
- package/schema/openapi.v1.json +2580 -5745
- package/schema/trigger_fields.schema.json +6 -1
|
@@ -6811,11 +6811,82 @@
|
|
|
6811
6811
|
},
|
|
6812
6812
|
"LinearIssueAction": {
|
|
6813
6813
|
"enum": [
|
|
6814
|
-
"opened"
|
|
6814
|
+
"opened",
|
|
6815
|
+
"updated"
|
|
6815
6816
|
],
|
|
6816
6817
|
"title": "LinearIssueAction",
|
|
6817
6818
|
"type": "string"
|
|
6818
6819
|
},
|
|
6820
|
+
"LinearIssueChanged": {
|
|
6821
|
+
"additionalProperties": false,
|
|
6822
|
+
"description": "The fields an `updated` event watches. Every listed field must change in\nthe same edit.",
|
|
6823
|
+
"properties": {
|
|
6824
|
+
"assignee": {
|
|
6825
|
+
"anyOf": [
|
|
6826
|
+
{
|
|
6827
|
+
"$ref": "#/$defs/LinearValueChange"
|
|
6828
|
+
},
|
|
6829
|
+
{
|
|
6830
|
+
"type": "null"
|
|
6831
|
+
}
|
|
6832
|
+
],
|
|
6833
|
+
"default": null
|
|
6834
|
+
},
|
|
6835
|
+
"labels": {
|
|
6836
|
+
"anyOf": [
|
|
6837
|
+
{
|
|
6838
|
+
"$ref": "#/$defs/LinearLabelsChange"
|
|
6839
|
+
},
|
|
6840
|
+
{
|
|
6841
|
+
"type": "null"
|
|
6842
|
+
}
|
|
6843
|
+
],
|
|
6844
|
+
"default": null
|
|
6845
|
+
},
|
|
6846
|
+
"priority": {
|
|
6847
|
+
"anyOf": [
|
|
6848
|
+
{
|
|
6849
|
+
"$ref": "#/$defs/LinearValueChange"
|
|
6850
|
+
},
|
|
6851
|
+
{
|
|
6852
|
+
"type": "null"
|
|
6853
|
+
}
|
|
6854
|
+
],
|
|
6855
|
+
"default": null
|
|
6856
|
+
},
|
|
6857
|
+
"project": {
|
|
6858
|
+
"anyOf": [
|
|
6859
|
+
{
|
|
6860
|
+
"$ref": "#/$defs/LinearValueChange"
|
|
6861
|
+
},
|
|
6862
|
+
{
|
|
6863
|
+
"type": "null"
|
|
6864
|
+
}
|
|
6865
|
+
],
|
|
6866
|
+
"default": null
|
|
6867
|
+
},
|
|
6868
|
+
"state": {
|
|
6869
|
+
"anyOf": [
|
|
6870
|
+
{
|
|
6871
|
+
"$ref": "#/$defs/LinearValueChange"
|
|
6872
|
+
},
|
|
6873
|
+
{
|
|
6874
|
+
"type": "null"
|
|
6875
|
+
}
|
|
6876
|
+
],
|
|
6877
|
+
"default": null
|
|
6878
|
+
}
|
|
6879
|
+
},
|
|
6880
|
+
"required": [
|
|
6881
|
+
"assignee",
|
|
6882
|
+
"labels",
|
|
6883
|
+
"priority",
|
|
6884
|
+
"project",
|
|
6885
|
+
"state"
|
|
6886
|
+
],
|
|
6887
|
+
"title": "LinearIssueChanged",
|
|
6888
|
+
"type": "object"
|
|
6889
|
+
},
|
|
6819
6890
|
"LinearIssueEvent": {
|
|
6820
6891
|
"properties": {
|
|
6821
6892
|
"action": {
|
|
@@ -6887,6 +6958,115 @@
|
|
|
6887
6958
|
"title": "LinearIssueEvent",
|
|
6888
6959
|
"type": "object"
|
|
6889
6960
|
},
|
|
6961
|
+
"LinearLabelsChange": {
|
|
6962
|
+
"additionalProperties": false,
|
|
6963
|
+
"description": "A change to the issue's labels. `added` matches when a listed label was\nadded and `removed` when a listed label was removed. `{}` is any label\nchange.",
|
|
6964
|
+
"properties": {
|
|
6965
|
+
"added": {
|
|
6966
|
+
"anyOf": [
|
|
6967
|
+
{
|
|
6968
|
+
"$ref": "#/$defs/LinearValueFilter"
|
|
6969
|
+
},
|
|
6970
|
+
{
|
|
6971
|
+
"type": "null"
|
|
6972
|
+
}
|
|
6973
|
+
],
|
|
6974
|
+
"default": null
|
|
6975
|
+
},
|
|
6976
|
+
"removed": {
|
|
6977
|
+
"anyOf": [
|
|
6978
|
+
{
|
|
6979
|
+
"$ref": "#/$defs/LinearValueFilter"
|
|
6980
|
+
},
|
|
6981
|
+
{
|
|
6982
|
+
"type": "null"
|
|
6983
|
+
}
|
|
6984
|
+
],
|
|
6985
|
+
"default": null
|
|
6986
|
+
}
|
|
6987
|
+
},
|
|
6988
|
+
"required": [
|
|
6989
|
+
"added",
|
|
6990
|
+
"removed"
|
|
6991
|
+
],
|
|
6992
|
+
"title": "LinearLabelsChange",
|
|
6993
|
+
"type": "object"
|
|
6994
|
+
},
|
|
6995
|
+
"LinearValueChange": {
|
|
6996
|
+
"additionalProperties": false,
|
|
6997
|
+
"description": "A change to one issue field. `from` matches the value before the change\nand `to` the value after it. Leaving either out matches any value, so `{}`\nis any change to the field.",
|
|
6998
|
+
"properties": {
|
|
6999
|
+
"from": {
|
|
7000
|
+
"anyOf": [
|
|
7001
|
+
{
|
|
7002
|
+
"$ref": "#/$defs/LinearValueFilter"
|
|
7003
|
+
},
|
|
7004
|
+
{
|
|
7005
|
+
"type": "null"
|
|
7006
|
+
}
|
|
7007
|
+
],
|
|
7008
|
+
"default": null
|
|
7009
|
+
},
|
|
7010
|
+
"to": {
|
|
7011
|
+
"anyOf": [
|
|
7012
|
+
{
|
|
7013
|
+
"$ref": "#/$defs/LinearValueFilter"
|
|
7014
|
+
},
|
|
7015
|
+
{
|
|
7016
|
+
"type": "null"
|
|
7017
|
+
}
|
|
7018
|
+
],
|
|
7019
|
+
"default": null
|
|
7020
|
+
}
|
|
7021
|
+
},
|
|
7022
|
+
"required": [
|
|
7023
|
+
"from",
|
|
7024
|
+
"to"
|
|
7025
|
+
],
|
|
7026
|
+
"title": "LinearValueChange",
|
|
7027
|
+
"type": "object"
|
|
7028
|
+
},
|
|
7029
|
+
"LinearValueFilter": {
|
|
7030
|
+
"anyOf": [
|
|
7031
|
+
{
|
|
7032
|
+
"additionalProperties": false,
|
|
7033
|
+
"description": "Linear names to match, include minus exclude. A bare list or a bare\nstring is shorthand for `include`. It matches when one of the issue's\nvalues is included (or nothing is) and none is excluded. `none` names an\nunset assignee or project, and `any` names any set assignee.",
|
|
7034
|
+
"properties": {
|
|
7035
|
+
"exclude": {
|
|
7036
|
+
"default": [],
|
|
7037
|
+
"items": {
|
|
7038
|
+
"type": "string"
|
|
7039
|
+
},
|
|
7040
|
+
"title": "Exclude",
|
|
7041
|
+
"type": "array"
|
|
7042
|
+
},
|
|
7043
|
+
"include": {
|
|
7044
|
+
"default": [],
|
|
7045
|
+
"items": {
|
|
7046
|
+
"type": "string"
|
|
7047
|
+
},
|
|
7048
|
+
"title": "Include",
|
|
7049
|
+
"type": "array"
|
|
7050
|
+
}
|
|
7051
|
+
},
|
|
7052
|
+
"required": [
|
|
7053
|
+
"exclude",
|
|
7054
|
+
"include"
|
|
7055
|
+
],
|
|
7056
|
+
"title": "LinearValueFilter",
|
|
7057
|
+
"type": "object"
|
|
7058
|
+
},
|
|
7059
|
+
{
|
|
7060
|
+
"items": {
|
|
7061
|
+
"type": "string"
|
|
7062
|
+
},
|
|
7063
|
+
"type": "array"
|
|
7064
|
+
},
|
|
7065
|
+
{
|
|
7066
|
+
"type": "string"
|
|
7067
|
+
}
|
|
7068
|
+
]
|
|
7069
|
+
},
|
|
6890
7070
|
"LlmCost": {
|
|
6891
7071
|
"description": "What LLM tokens cost, in total and by model.",
|
|
6892
7072
|
"properties": {
|
|
@@ -8096,7 +8276,8 @@
|
|
|
8096
8276
|
"non_interactive",
|
|
8097
8277
|
"harness_single_turn",
|
|
8098
8278
|
"budget_exhausted",
|
|
8099
|
-
"closed"
|
|
8279
|
+
"closed",
|
|
8280
|
+
"archived"
|
|
8100
8281
|
],
|
|
8101
8282
|
"title": "PromptBlockedReason",
|
|
8102
8283
|
"type": "string"
|
|
@@ -8137,9 +8318,6 @@
|
|
|
8137
8318
|
"type": "array"
|
|
8138
8319
|
},
|
|
8139
8320
|
"on": {
|
|
8140
|
-
"default": [
|
|
8141
|
-
"failed"
|
|
8142
|
-
],
|
|
8143
8321
|
"items": {
|
|
8144
8322
|
"$ref": "#/$defs/CheckRunAction"
|
|
8145
8323
|
},
|
|
@@ -8184,9 +8362,6 @@
|
|
|
8184
8362
|
"$ref": "#/$defs/GithubAccountSelector"
|
|
8185
8363
|
},
|
|
8186
8364
|
"on": {
|
|
8187
|
-
"default": [
|
|
8188
|
-
"failed"
|
|
8189
|
-
],
|
|
8190
8365
|
"items": {
|
|
8191
8366
|
"$ref": "#/$defs/CheckSuiteAction"
|
|
8192
8367
|
},
|
|
@@ -8243,24 +8418,106 @@
|
|
|
8243
8418
|
},
|
|
8244
8419
|
"ReactLinearIssue": {
|
|
8245
8420
|
"additionalProperties": false,
|
|
8421
|
+
"description": "A Linear issue being created (`opened`) or changed (`updated`). An\n`updated` event fires only when every field under `changed` changed in\none edit. `team`, `state`, `labels`, `project`, `assignee`, and\n`priority` filter on the issue as it is after the event. `state` matches\na status name or a status type. `for` is the person who created or\nchanged the issue.",
|
|
8246
8422
|
"properties": {
|
|
8423
|
+
"assignee": {
|
|
8424
|
+
"anyOf": [
|
|
8425
|
+
{
|
|
8426
|
+
"$ref": "#/$defs/LinearValueFilter"
|
|
8427
|
+
},
|
|
8428
|
+
{
|
|
8429
|
+
"type": "null"
|
|
8430
|
+
}
|
|
8431
|
+
],
|
|
8432
|
+
"default": null
|
|
8433
|
+
},
|
|
8434
|
+
"changed": {
|
|
8435
|
+
"anyOf": [
|
|
8436
|
+
{
|
|
8437
|
+
"$ref": "#/$defs/LinearIssueChanged"
|
|
8438
|
+
},
|
|
8439
|
+
{
|
|
8440
|
+
"type": "null"
|
|
8441
|
+
}
|
|
8442
|
+
],
|
|
8443
|
+
"default": null
|
|
8444
|
+
},
|
|
8247
8445
|
"for": {
|
|
8248
8446
|
"$ref": "#/$defs/GithubAccountSelector"
|
|
8249
8447
|
},
|
|
8250
|
-
"
|
|
8251
|
-
"
|
|
8252
|
-
|
|
8448
|
+
"labels": {
|
|
8449
|
+
"anyOf": [
|
|
8450
|
+
{
|
|
8451
|
+
"$ref": "#/$defs/LinearValueFilter"
|
|
8452
|
+
},
|
|
8453
|
+
{
|
|
8454
|
+
"type": "null"
|
|
8455
|
+
}
|
|
8253
8456
|
],
|
|
8457
|
+
"default": null
|
|
8458
|
+
},
|
|
8459
|
+
"on": {
|
|
8254
8460
|
"items": {
|
|
8255
8461
|
"$ref": "#/$defs/LinearIssueAction"
|
|
8256
8462
|
},
|
|
8257
8463
|
"title": "On",
|
|
8258
8464
|
"type": "array"
|
|
8465
|
+
},
|
|
8466
|
+
"priority": {
|
|
8467
|
+
"anyOf": [
|
|
8468
|
+
{
|
|
8469
|
+
"$ref": "#/$defs/LinearValueFilter"
|
|
8470
|
+
},
|
|
8471
|
+
{
|
|
8472
|
+
"type": "null"
|
|
8473
|
+
}
|
|
8474
|
+
],
|
|
8475
|
+
"default": null
|
|
8476
|
+
},
|
|
8477
|
+
"project": {
|
|
8478
|
+
"anyOf": [
|
|
8479
|
+
{
|
|
8480
|
+
"$ref": "#/$defs/LinearValueFilter"
|
|
8481
|
+
},
|
|
8482
|
+
{
|
|
8483
|
+
"type": "null"
|
|
8484
|
+
}
|
|
8485
|
+
],
|
|
8486
|
+
"default": null
|
|
8487
|
+
},
|
|
8488
|
+
"state": {
|
|
8489
|
+
"anyOf": [
|
|
8490
|
+
{
|
|
8491
|
+
"$ref": "#/$defs/LinearValueFilter"
|
|
8492
|
+
},
|
|
8493
|
+
{
|
|
8494
|
+
"type": "null"
|
|
8495
|
+
}
|
|
8496
|
+
],
|
|
8497
|
+
"default": null
|
|
8498
|
+
},
|
|
8499
|
+
"team": {
|
|
8500
|
+
"anyOf": [
|
|
8501
|
+
{
|
|
8502
|
+
"$ref": "#/$defs/LinearValueFilter"
|
|
8503
|
+
},
|
|
8504
|
+
{
|
|
8505
|
+
"type": "null"
|
|
8506
|
+
}
|
|
8507
|
+
],
|
|
8508
|
+
"default": null
|
|
8259
8509
|
}
|
|
8260
8510
|
},
|
|
8261
8511
|
"required": [
|
|
8512
|
+
"assignee",
|
|
8513
|
+
"changed",
|
|
8262
8514
|
"for",
|
|
8263
|
-
"
|
|
8515
|
+
"labels",
|
|
8516
|
+
"on",
|
|
8517
|
+
"priority",
|
|
8518
|
+
"project",
|
|
8519
|
+
"state",
|
|
8520
|
+
"team"
|
|
8264
8521
|
],
|
|
8265
8522
|
"title": "ReactLinearIssue",
|
|
8266
8523
|
"type": "object"
|
|
@@ -8382,9 +8639,6 @@
|
|
|
8382
8639
|
"$ref": "#/$defs/GithubAccountSelector"
|
|
8383
8640
|
},
|
|
8384
8641
|
"on": {
|
|
8385
|
-
"default": [
|
|
8386
|
-
"published"
|
|
8387
|
-
],
|
|
8388
8642
|
"items": {
|
|
8389
8643
|
"$ref": "#/$defs/ReleaseAction"
|
|
8390
8644
|
},
|
|
@@ -8481,9 +8735,6 @@
|
|
|
8481
8735
|
"type": "array"
|
|
8482
8736
|
},
|
|
8483
8737
|
"on": {
|
|
8484
|
-
"default": [
|
|
8485
|
-
"failed"
|
|
8486
|
-
],
|
|
8487
8738
|
"items": {
|
|
8488
8739
|
"$ref": "#/$defs/StatusAction"
|
|
8489
8740
|
},
|
|
@@ -8683,9 +8934,6 @@
|
|
|
8683
8934
|
"type": "array"
|
|
8684
8935
|
},
|
|
8685
8936
|
"on": {
|
|
8686
|
-
"default": [
|
|
8687
|
-
"failed"
|
|
8688
|
-
],
|
|
8689
8937
|
"items": {
|
|
8690
8938
|
"$ref": "#/$defs/WorkflowRunAction"
|
|
8691
8939
|
},
|
|
@@ -9434,7 +9682,7 @@
|
|
|
9434
9682
|
}
|
|
9435
9683
|
],
|
|
9436
9684
|
"default": null,
|
|
9437
|
-
"description": "When and by whom the session was archived
|
|
9685
|
+
"description": "When and by whom the session was archived, or null when it isn't. A session is archived when it closes, after the account's archive_inactive_sessions_days without a message, or by PUT /v1/sessions/{id}. An archived session takes no messages, and a reply on the Slack thread, pull request, issue, or Linear issue it answers starts a new session."
|
|
9438
9686
|
},
|
|
9439
9687
|
"attribution": {
|
|
9440
9688
|
"$ref": "#/$defs/SessionAttribution",
|
|
@@ -9470,6 +9718,20 @@
|
|
|
9470
9718
|
"default": null,
|
|
9471
9719
|
"description": "Codex input and native options. Set exactly one of claude_code, codex, or gemini."
|
|
9472
9720
|
},
|
|
9721
|
+
"content_deleted_at": {
|
|
9722
|
+
"anyOf": [
|
|
9723
|
+
{
|
|
9724
|
+
"format": "date-time",
|
|
9725
|
+
"type": "string"
|
|
9726
|
+
},
|
|
9727
|
+
{
|
|
9728
|
+
"type": "null"
|
|
9729
|
+
}
|
|
9730
|
+
],
|
|
9731
|
+
"default": null,
|
|
9732
|
+
"description": "When session log retention deleted the session's records, messages, and prompt, or null. The session's status, cost, tokens, and summary stay.",
|
|
9733
|
+
"title": "Content Deleted At"
|
|
9734
|
+
},
|
|
9473
9735
|
"conversation": {
|
|
9474
9736
|
"$ref": "#/$defs/SessionConversation",
|
|
9475
9737
|
"description": "Whether the session can take more messages, and whether an agent is warm to answer one."
|
|
@@ -9645,6 +9907,18 @@
|
|
|
9645
9907
|
"$ref": "#/$defs/PermissionsConfig",
|
|
9646
9908
|
"description": "What the session may touch, per minted credential."
|
|
9647
9909
|
},
|
|
9910
|
+
"review": {
|
|
9911
|
+
"anyOf": [
|
|
9912
|
+
{
|
|
9913
|
+
"$ref": "#/$defs/SessionReview"
|
|
9914
|
+
},
|
|
9915
|
+
{
|
|
9916
|
+
"type": "null"
|
|
9917
|
+
}
|
|
9918
|
+
],
|
|
9919
|
+
"default": null,
|
|
9920
|
+
"description": "The code review this session ran for; null unless the source is `code_review`."
|
|
9921
|
+
},
|
|
9648
9922
|
"skills": {
|
|
9649
9923
|
"description": "Skills installed for this session.",
|
|
9650
9924
|
"items": {
|
|
@@ -9682,6 +9956,19 @@
|
|
|
9682
9956
|
"format": "date-time",
|
|
9683
9957
|
"title": "Updated At",
|
|
9684
9958
|
"type": "string"
|
|
9959
|
+
},
|
|
9960
|
+
"wait_ms": {
|
|
9961
|
+
"anyOf": [
|
|
9962
|
+
{
|
|
9963
|
+
"type": "integer"
|
|
9964
|
+
},
|
|
9965
|
+
{
|
|
9966
|
+
"type": "null"
|
|
9967
|
+
}
|
|
9968
|
+
],
|
|
9969
|
+
"default": null,
|
|
9970
|
+
"description": "Milliseconds from when the session was created to when it started, including any time it waited because your account already had its limit of sessions alive. Null until the session starts, and for sessions created before this field was added.",
|
|
9971
|
+
"title": "Wait Ms"
|
|
9685
9972
|
}
|
|
9686
9973
|
},
|
|
9687
9974
|
"required": [
|
|
@@ -9691,6 +9978,7 @@
|
|
|
9691
9978
|
"budget",
|
|
9692
9979
|
"claude_code",
|
|
9693
9980
|
"codex",
|
|
9981
|
+
"content_deleted_at",
|
|
9694
9982
|
"conversation",
|
|
9695
9983
|
"cost",
|
|
9696
9984
|
"created_at",
|
|
@@ -9705,12 +9993,14 @@
|
|
|
9705
9993
|
"output",
|
|
9706
9994
|
"parent",
|
|
9707
9995
|
"permissions",
|
|
9996
|
+
"review",
|
|
9708
9997
|
"skills",
|
|
9709
9998
|
"source",
|
|
9710
9999
|
"status",
|
|
9711
10000
|
"summary",
|
|
9712
10001
|
"tokens",
|
|
9713
|
-
"updated_at"
|
|
10002
|
+
"updated_at",
|
|
10003
|
+
"wait_ms"
|
|
9714
10004
|
],
|
|
9715
10005
|
"title": "Session",
|
|
9716
10006
|
"type": "object"
|
|
@@ -9763,11 +10053,26 @@
|
|
|
9763
10053
|
],
|
|
9764
10054
|
"default": null,
|
|
9765
10055
|
"description": "The GitHub user who archived the session; null if unknown or unavailable."
|
|
10056
|
+
},
|
|
10057
|
+
"deletes_at": {
|
|
10058
|
+
"anyOf": [
|
|
10059
|
+
{
|
|
10060
|
+
"format": "date-time",
|
|
10061
|
+
"type": "string"
|
|
10062
|
+
},
|
|
10063
|
+
{
|
|
10064
|
+
"type": "null"
|
|
10065
|
+
}
|
|
10066
|
+
],
|
|
10067
|
+
"default": null,
|
|
10068
|
+
"description": "When the session's records and messages are deleted, from the account's current session log retention. It moves when the retention changes. Null when the account keeps them or they're already deleted.",
|
|
10069
|
+
"title": "Deletes At"
|
|
9766
10070
|
}
|
|
9767
10071
|
},
|
|
9768
10072
|
"required": [
|
|
9769
10073
|
"at",
|
|
9770
|
-
"by"
|
|
10074
|
+
"by",
|
|
10075
|
+
"deletes_at"
|
|
9771
10076
|
],
|
|
9772
10077
|
"title": "SessionArchived",
|
|
9773
10078
|
"type": "object"
|
|
@@ -10714,6 +11019,19 @@
|
|
|
10714
11019
|
"SessionMessageImage": {
|
|
10715
11020
|
"description": "One image on a message, metadata only. `index` is the N in the\n`[Image #N]` placeholder in the message body.",
|
|
10716
11021
|
"properties": {
|
|
11022
|
+
"id": {
|
|
11023
|
+
"anyOf": [
|
|
11024
|
+
{
|
|
11025
|
+
"type": "string"
|
|
11026
|
+
},
|
|
11027
|
+
{
|
|
11028
|
+
"type": "null"
|
|
11029
|
+
}
|
|
11030
|
+
],
|
|
11031
|
+
"default": null,
|
|
11032
|
+
"description": "The image's ID. `GET /v1/sessions/{session_id}/images/{id}` returns its bytes. Null when the image can't be fetched.",
|
|
11033
|
+
"title": "Id"
|
|
11034
|
+
},
|
|
10717
11035
|
"index": {
|
|
10718
11036
|
"description": "1-based position: the N in `[Image #N]`.",
|
|
10719
11037
|
"title": "Index",
|
|
@@ -10869,6 +11187,21 @@
|
|
|
10869
11187
|
}
|
|
10870
11188
|
]
|
|
10871
11189
|
},
|
|
11190
|
+
"SessionReview": {
|
|
11191
|
+
"description": "The code review a reviewer session ran for.",
|
|
11192
|
+
"properties": {
|
|
11193
|
+
"id": {
|
|
11194
|
+
"description": "Identifier of the code review.",
|
|
11195
|
+
"title": "Id",
|
|
11196
|
+
"type": "string"
|
|
11197
|
+
}
|
|
11198
|
+
},
|
|
11199
|
+
"required": [
|
|
11200
|
+
"id"
|
|
11201
|
+
],
|
|
11202
|
+
"title": "SessionReview",
|
|
11203
|
+
"type": "object"
|
|
11204
|
+
},
|
|
10872
11205
|
"SessionSource": {
|
|
10873
11206
|
"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.",
|
|
10874
11207
|
"enum": [
|
|
@@ -10916,15 +11249,30 @@
|
|
|
10916
11249
|
"description": "One-line description of what the session is doing.",
|
|
10917
11250
|
"title": "Description",
|
|
10918
11251
|
"type": "string"
|
|
11252
|
+
},
|
|
11253
|
+
"source": {
|
|
11254
|
+
"$ref": "#/$defs/SessionSummarySource",
|
|
11255
|
+
"description": "Where this summary came from. `prompt` is the first line of the prompt the session started with, `generated` is written by Ellipsis as the session runs, and `user` was set by a person and is never replaced by a generated one."
|
|
10919
11256
|
}
|
|
10920
11257
|
},
|
|
10921
11258
|
"required": [
|
|
10922
11259
|
"created_at",
|
|
10923
|
-
"description"
|
|
11260
|
+
"description",
|
|
11261
|
+
"source"
|
|
10924
11262
|
],
|
|
10925
11263
|
"title": "SessionSummary",
|
|
10926
11264
|
"type": "object"
|
|
10927
11265
|
},
|
|
11266
|
+
"SessionSummarySource": {
|
|
11267
|
+
"description": "Where a session's summary came from.",
|
|
11268
|
+
"enum": [
|
|
11269
|
+
"prompt",
|
|
11270
|
+
"generated",
|
|
11271
|
+
"user"
|
|
11272
|
+
],
|
|
11273
|
+
"title": "SessionSummarySource",
|
|
11274
|
+
"type": "string"
|
|
11275
|
+
},
|
|
10928
11276
|
"SettingsRef": {
|
|
10929
11277
|
"additionalProperties": false,
|
|
10930
11278
|
"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`.",
|
|
@@ -533,6 +533,19 @@
|
|
|
533
533
|
"SessionMessageImage": {
|
|
534
534
|
"description": "One image on a message, metadata only. `index` is the N in the\n`[Image #N]` placeholder in the message body.",
|
|
535
535
|
"properties": {
|
|
536
|
+
"id": {
|
|
537
|
+
"anyOf": [
|
|
538
|
+
{
|
|
539
|
+
"type": "string"
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"type": "null"
|
|
543
|
+
}
|
|
544
|
+
],
|
|
545
|
+
"default": null,
|
|
546
|
+
"description": "The image's ID. `GET /v1/sessions/{session_id}/images/{id}` returns its bytes. Null when the image can't be fetched.",
|
|
547
|
+
"title": "Id"
|
|
548
|
+
},
|
|
536
549
|
"index": {
|
|
537
550
|
"description": "1-based position: the N in `[Image #N]`.",
|
|
538
551
|
"title": "Index",
|