@ellipsis-dev/sdk 0.34.1 → 0.35.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 +5 -7
- package/dist/index.d.ts +97 -171
- package/dist/index.js +19 -183
- package/dist/store/index.d.ts +1 -1
- package/dist/store/index.js +246 -127
- package/dist/stream/index.d.ts +4 -7
- package/dist/stream/index.js +187 -21
- package/dist/{types-DV2H5ZsR.d.ts → types-BrLpRRde.d.ts} +879 -1169
- package/package.json +1 -1
- package/schema/collection_frames.schema.json +162 -17
- package/schema/frames.schema.json +770 -87
- package/schema/openapi.v1.json +8182 -8711
- package/dist/chunk-6V7QTLLF.js +0 -214
|
@@ -3829,7 +3829,7 @@
|
|
|
3829
3829
|
"properties": {
|
|
3830
3830
|
"charged": {
|
|
3831
3831
|
"default": 0,
|
|
3832
|
-
"description": "What Ellipsis charged to credit, in millicents. It is everything except subscription tokens
|
|
3832
|
+
"description": "What Ellipsis charged to credit, in millicents. It is everything except subscription tokens.",
|
|
3833
3833
|
"title": "Charged",
|
|
3834
3834
|
"type": "integer"
|
|
3835
3835
|
},
|
|
@@ -3857,7 +3857,7 @@
|
|
|
3857
3857
|
},
|
|
3858
3858
|
"total": {
|
|
3859
3859
|
"default": 0,
|
|
3860
|
-
"description": "Everything it cost, whoever paid, in millicents. It is the sum of llm.all.total, cpu, memory, and fee.",
|
|
3860
|
+
"description": "Everything it cost, whoever paid, in millicents. It is the sum of llm.all.total, cpu, memory, and fee, and it is what the budget caps.",
|
|
3861
3861
|
"title": "Total",
|
|
3862
3862
|
"type": "integer"
|
|
3863
3863
|
}
|
|
@@ -4157,7 +4157,8 @@
|
|
|
4157
4157
|
"before_start": null,
|
|
4158
4158
|
"build_base": null,
|
|
4159
4159
|
"post_clone": null,
|
|
4160
|
-
"post_start": null
|
|
4160
|
+
"post_start": null,
|
|
4161
|
+
"validate": null
|
|
4161
4162
|
}
|
|
4162
4163
|
},
|
|
4163
4164
|
"mcp_servers": {
|
|
@@ -4210,7 +4211,7 @@
|
|
|
4210
4211
|
},
|
|
4211
4212
|
"EnvironmentHooks": {
|
|
4212
4213
|
"additionalProperties": false,
|
|
4213
|
-
"description": "Environment lifecycle scripts, in order: build_base, after_checkout,\nbefore_start. The first two produce reusable snapshots
|
|
4214
|
+
"description": "Environment lifecycle scripts, in order: build_base, after_checkout,\nbefore_start, validate. The first two produce reusable snapshots;\nbefore_start runs before an agent starts or resumes its session, and\nvalidate runs last to check that the environment has what the agent needs.\nScripts run as the environment's user in the workspace directory\n`/sandbox`. A nonzero exit fails the session.\n\nLegacy post_start/post_clone scripts remain supported for existing configs;\nboth run after workspace preparation, before the agent starts or resumes.\nThey cannot be combined with the new lifecycle fields.",
|
|
4214
4215
|
"properties": {
|
|
4215
4216
|
"after_checkout": {
|
|
4216
4217
|
"anyOf": [
|
|
@@ -4285,6 +4286,22 @@
|
|
|
4285
4286
|
"default": null,
|
|
4286
4287
|
"description": "Legacy session startup script. Use before_start in new configurations.",
|
|
4287
4288
|
"title": "Post Start"
|
|
4289
|
+
},
|
|
4290
|
+
"validate": {
|
|
4291
|
+
"anyOf": [
|
|
4292
|
+
{
|
|
4293
|
+
"$ref": "#/$defs/EnvironmentScript"
|
|
4294
|
+
},
|
|
4295
|
+
{
|
|
4296
|
+
"type": "string"
|
|
4297
|
+
},
|
|
4298
|
+
{
|
|
4299
|
+
"type": "null"
|
|
4300
|
+
}
|
|
4301
|
+
],
|
|
4302
|
+
"default": null,
|
|
4303
|
+
"description": "Check that the environment works, for example that required tools are on PATH. Runs last, after before_start, each time a session starts or resumes and each time the environment is built after a change. A nonzero exit fails the session or the build. Not cached.",
|
|
4304
|
+
"title": "Validate"
|
|
4288
4305
|
}
|
|
4289
4306
|
},
|
|
4290
4307
|
"required": [
|
|
@@ -4292,7 +4309,8 @@
|
|
|
4292
4309
|
"before_start",
|
|
4293
4310
|
"build_base",
|
|
4294
4311
|
"post_clone",
|
|
4295
|
-
"post_start"
|
|
4312
|
+
"post_start",
|
|
4313
|
+
"validate"
|
|
4296
4314
|
],
|
|
4297
4315
|
"title": "EnvironmentHooks",
|
|
4298
4316
|
"type": "object"
|
|
@@ -4726,30 +4744,500 @@
|
|
|
4726
4744
|
"duration_ms": {
|
|
4727
4745
|
"anyOf": [
|
|
4728
4746
|
{
|
|
4729
|
-
"type": "integer"
|
|
4747
|
+
"type": "integer"
|
|
4748
|
+
},
|
|
4749
|
+
{
|
|
4750
|
+
"type": "null"
|
|
4751
|
+
}
|
|
4752
|
+
],
|
|
4753
|
+
"default": null,
|
|
4754
|
+
"title": "Duration Ms"
|
|
4755
|
+
},
|
|
4756
|
+
"repositories": {
|
|
4757
|
+
"items": {
|
|
4758
|
+
"type": "string"
|
|
4759
|
+
},
|
|
4760
|
+
"title": "Repositories",
|
|
4761
|
+
"type": "array"
|
|
4762
|
+
}
|
|
4763
|
+
},
|
|
4764
|
+
"required": [
|
|
4765
|
+
"repositories"
|
|
4766
|
+
],
|
|
4767
|
+
"title": "EnvironmentReadyPayload",
|
|
4768
|
+
"type": "object"
|
|
4769
|
+
},
|
|
4770
|
+
"EnvironmentReadyRecord": {
|
|
4771
|
+
"properties": {
|
|
4772
|
+
"cost": {
|
|
4773
|
+
"anyOf": [
|
|
4774
|
+
{
|
|
4775
|
+
"type": "integer"
|
|
4776
|
+
},
|
|
4777
|
+
{
|
|
4778
|
+
"type": "null"
|
|
4779
|
+
}
|
|
4780
|
+
],
|
|
4781
|
+
"default": null,
|
|
4782
|
+
"title": "Cost"
|
|
4783
|
+
},
|
|
4784
|
+
"created_at": {
|
|
4785
|
+
"format": "date-time",
|
|
4786
|
+
"title": "Created At",
|
|
4787
|
+
"type": "string"
|
|
4788
|
+
},
|
|
4789
|
+
"duration": {
|
|
4790
|
+
"anyOf": [
|
|
4791
|
+
{
|
|
4792
|
+
"type": "integer"
|
|
4793
|
+
},
|
|
4794
|
+
{
|
|
4795
|
+
"type": "null"
|
|
4796
|
+
}
|
|
4797
|
+
],
|
|
4798
|
+
"default": null,
|
|
4799
|
+
"title": "Duration"
|
|
4800
|
+
},
|
|
4801
|
+
"feed_seq": {
|
|
4802
|
+
"description": "Position in the session feed and the stream's resume cursor.",
|
|
4803
|
+
"title": "Feed Seq",
|
|
4804
|
+
"type": "integer"
|
|
4805
|
+
},
|
|
4806
|
+
"id": {
|
|
4807
|
+
"description": "Unique identifier of the record.",
|
|
4808
|
+
"title": "Id",
|
|
4809
|
+
"type": "string"
|
|
4810
|
+
},
|
|
4811
|
+
"kind": {
|
|
4812
|
+
"const": "platform",
|
|
4813
|
+
"default": "platform",
|
|
4814
|
+
"title": "Kind",
|
|
4815
|
+
"type": "string"
|
|
4816
|
+
},
|
|
4817
|
+
"model": {
|
|
4818
|
+
"anyOf": [
|
|
4819
|
+
{
|
|
4820
|
+
"type": "string"
|
|
4821
|
+
},
|
|
4822
|
+
{
|
|
4823
|
+
"type": "null"
|
|
4824
|
+
}
|
|
4825
|
+
],
|
|
4826
|
+
"default": null,
|
|
4827
|
+
"title": "Model"
|
|
4828
|
+
},
|
|
4829
|
+
"payload": {
|
|
4830
|
+
"$ref": "#/$defs/EnvironmentReadyPayload"
|
|
4831
|
+
},
|
|
4832
|
+
"record_format": {
|
|
4833
|
+
"const": "ellipsis_lifecycle@1",
|
|
4834
|
+
"default": "ellipsis_lifecycle@1",
|
|
4835
|
+
"title": "Record Format",
|
|
4836
|
+
"type": "string"
|
|
4837
|
+
},
|
|
4838
|
+
"record_type": {
|
|
4839
|
+
"const": "environment_ready",
|
|
4840
|
+
"default": "environment_ready",
|
|
4841
|
+
"title": "Record Type",
|
|
4842
|
+
"type": "string"
|
|
4843
|
+
},
|
|
4844
|
+
"session_id": {
|
|
4845
|
+
"description": "Session containing this record.",
|
|
4846
|
+
"title": "Session Id",
|
|
4847
|
+
"type": "string"
|
|
4848
|
+
},
|
|
4849
|
+
"session_message_id": {
|
|
4850
|
+
"anyOf": [
|
|
4851
|
+
{
|
|
4852
|
+
"type": "string"
|
|
4853
|
+
},
|
|
4854
|
+
{
|
|
4855
|
+
"type": "null"
|
|
4856
|
+
}
|
|
4857
|
+
],
|
|
4858
|
+
"default": null,
|
|
4859
|
+
"description": "Message this record receives, delivers, requeues, or echoes.",
|
|
4860
|
+
"title": "Session Message Id"
|
|
4861
|
+
},
|
|
4862
|
+
"source": {
|
|
4863
|
+
"const": "lifecycle",
|
|
4864
|
+
"default": "lifecycle",
|
|
4865
|
+
"title": "Source",
|
|
4866
|
+
"type": "string"
|
|
4867
|
+
},
|
|
4868
|
+
"tokens_info": {
|
|
4869
|
+
"anyOf": [
|
|
4870
|
+
{
|
|
4871
|
+
"$ref": "#/$defs/TokensInfo"
|
|
4872
|
+
},
|
|
4873
|
+
{
|
|
4874
|
+
"type": "null"
|
|
4875
|
+
}
|
|
4876
|
+
],
|
|
4877
|
+
"default": null
|
|
4878
|
+
},
|
|
4879
|
+
"tools": {
|
|
4880
|
+
"anyOf": [
|
|
4881
|
+
{
|
|
4882
|
+
"items": {
|
|
4883
|
+
"type": "string"
|
|
4884
|
+
},
|
|
4885
|
+
"type": "array"
|
|
4886
|
+
},
|
|
4887
|
+
{
|
|
4888
|
+
"type": "null"
|
|
4889
|
+
}
|
|
4890
|
+
],
|
|
4891
|
+
"default": null,
|
|
4892
|
+
"title": "Tools"
|
|
4893
|
+
},
|
|
4894
|
+
"turn_id": {
|
|
4895
|
+
"anyOf": [
|
|
4896
|
+
{
|
|
4897
|
+
"type": "string"
|
|
4898
|
+
},
|
|
4899
|
+
{
|
|
4900
|
+
"type": "null"
|
|
4901
|
+
}
|
|
4902
|
+
],
|
|
4903
|
+
"default": null,
|
|
4904
|
+
"description": "Turn containing this record, when applicable.",
|
|
4905
|
+
"title": "Turn Id"
|
|
4906
|
+
}
|
|
4907
|
+
},
|
|
4908
|
+
"required": [
|
|
4909
|
+
"cost",
|
|
4910
|
+
"created_at",
|
|
4911
|
+
"duration",
|
|
4912
|
+
"feed_seq",
|
|
4913
|
+
"id",
|
|
4914
|
+
"kind",
|
|
4915
|
+
"model",
|
|
4916
|
+
"payload",
|
|
4917
|
+
"record_format",
|
|
4918
|
+
"record_type",
|
|
4919
|
+
"session_id",
|
|
4920
|
+
"session_message_id",
|
|
4921
|
+
"source",
|
|
4922
|
+
"tokens_info",
|
|
4923
|
+
"tools",
|
|
4924
|
+
"turn_id"
|
|
4925
|
+
],
|
|
4926
|
+
"title": "EnvironmentReadyRecord",
|
|
4927
|
+
"type": "object",
|
|
4928
|
+
"x-ellipsis-preserve-payload": true
|
|
4929
|
+
},
|
|
4930
|
+
"EnvironmentScript": {
|
|
4931
|
+
"additionalProperties": false,
|
|
4932
|
+
"description": "An inline shell script run as the environment's user, with the workspace\ndirectory `/sandbox` as cwd.",
|
|
4933
|
+
"properties": {
|
|
4934
|
+
"run": {
|
|
4935
|
+
"description": "Shell script to run in the workspace directory `/sandbox`.",
|
|
4936
|
+
"minLength": 1,
|
|
4937
|
+
"title": "Run",
|
|
4938
|
+
"type": "string"
|
|
4939
|
+
}
|
|
4940
|
+
},
|
|
4941
|
+
"required": [
|
|
4942
|
+
"run"
|
|
4943
|
+
],
|
|
4944
|
+
"title": "EnvironmentScript",
|
|
4945
|
+
"type": "object"
|
|
4946
|
+
},
|
|
4947
|
+
"EnvironmentSource": {
|
|
4948
|
+
"description": "How a session's environment was chosen. None (the field is nullable)\nwhen the config carried an inline environment block and no resolution ran \u2014\nan inline environment is not a reference, so there is nothing to record.\n\nNot derivable from the row: `environment_id` says WHICH environment, not\nhow it was chosen, and is null for the built-in basic environment.",
|
|
4949
|
+
"enum": [
|
|
4950
|
+
"request",
|
|
4951
|
+
"agent",
|
|
4952
|
+
"repo_default",
|
|
4953
|
+
"account_default",
|
|
4954
|
+
"platform_default"
|
|
4955
|
+
],
|
|
4956
|
+
"title": "EnvironmentSource",
|
|
4957
|
+
"type": "string"
|
|
4958
|
+
},
|
|
4959
|
+
"EnvironmentVariable": {
|
|
4960
|
+
"additionalProperties": false,
|
|
4961
|
+
"description": "One environment variable injected into the session's environment.\n\n`value`, when set, is a literal injected as-is \u2014 use it for non-secret\nconfig (LOG_LEVEL, an API base URL). When `value` is omitted the value is\nresolved at run time from the account's secrets store (dashboard\n/ `PUT /v1/secrets`) by `name`, so a secret can be injected without\never putting it in the config file. Either way the variable only reaches\nagents that name it.",
|
|
4962
|
+
"properties": {
|
|
4963
|
+
"name": {
|
|
4964
|
+
"title": "Name",
|
|
4965
|
+
"type": "string"
|
|
4966
|
+
},
|
|
4967
|
+
"value": {
|
|
4968
|
+
"anyOf": [
|
|
4969
|
+
{
|
|
4970
|
+
"type": "string"
|
|
4971
|
+
},
|
|
4972
|
+
{
|
|
4973
|
+
"type": "null"
|
|
4974
|
+
}
|
|
4975
|
+
],
|
|
4976
|
+
"default": null,
|
|
4977
|
+
"title": "Value"
|
|
4978
|
+
}
|
|
4979
|
+
},
|
|
4980
|
+
"required": [
|
|
4981
|
+
"name",
|
|
4982
|
+
"value"
|
|
4983
|
+
],
|
|
4984
|
+
"title": "EnvironmentVariable",
|
|
4985
|
+
"type": "object"
|
|
4986
|
+
},
|
|
4987
|
+
"ErrorFrame": {
|
|
4988
|
+
"description": "Terminal error marker, sent before the server closes with code 1011.",
|
|
4989
|
+
"properties": {
|
|
4990
|
+
"message": {
|
|
4991
|
+
"description": "A human-readable error message.",
|
|
4992
|
+
"title": "Message",
|
|
4993
|
+
"type": "string"
|
|
4994
|
+
},
|
|
4995
|
+
"type": {
|
|
4996
|
+
"const": "error",
|
|
4997
|
+
"default": "error",
|
|
4998
|
+
"title": "Type",
|
|
4999
|
+
"type": "string"
|
|
5000
|
+
}
|
|
5001
|
+
},
|
|
5002
|
+
"required": [
|
|
5003
|
+
"message",
|
|
5004
|
+
"type"
|
|
5005
|
+
],
|
|
5006
|
+
"title": "ErrorFrame",
|
|
5007
|
+
"type": "object"
|
|
5008
|
+
},
|
|
5009
|
+
"GeminiConfig": {
|
|
5010
|
+
"additionalProperties": false,
|
|
5011
|
+
"description": "Native options supported by the current Gemini CLI adapter.",
|
|
5012
|
+
"properties": {
|
|
5013
|
+
"model": {
|
|
5014
|
+
"description": "The model the session runs on: a Gemini id from the models table. Required.",
|
|
5015
|
+
"title": "Model",
|
|
5016
|
+
"type": "string"
|
|
5017
|
+
},
|
|
5018
|
+
"prompt": {
|
|
5019
|
+
"anyOf": [
|
|
5020
|
+
{
|
|
5021
|
+
"type": "string"
|
|
5022
|
+
},
|
|
5023
|
+
{
|
|
5024
|
+
"type": "null"
|
|
5025
|
+
}
|
|
5026
|
+
],
|
|
5027
|
+
"default": null,
|
|
5028
|
+
"description": "The initial user message, passed verbatim. Omit to start an interactive session with no turn, waiting for a message.",
|
|
5029
|
+
"title": "Prompt"
|
|
5030
|
+
}
|
|
5031
|
+
},
|
|
5032
|
+
"required": [
|
|
5033
|
+
"model",
|
|
5034
|
+
"prompt"
|
|
5035
|
+
],
|
|
5036
|
+
"title": "GeminiConfig",
|
|
5037
|
+
"type": "object"
|
|
5038
|
+
},
|
|
5039
|
+
"GeminiErrorEvent": {
|
|
5040
|
+
"additionalProperties": true,
|
|
5041
|
+
"properties": {
|
|
5042
|
+
"message": {
|
|
5043
|
+
"title": "Message",
|
|
5044
|
+
"type": "string"
|
|
5045
|
+
},
|
|
5046
|
+
"severity": {
|
|
5047
|
+
"anyOf": [
|
|
5048
|
+
{
|
|
5049
|
+
"type": "string"
|
|
5050
|
+
},
|
|
5051
|
+
{
|
|
5052
|
+
"type": "null"
|
|
5053
|
+
}
|
|
5054
|
+
],
|
|
5055
|
+
"default": null,
|
|
5056
|
+
"title": "Severity"
|
|
5057
|
+
},
|
|
5058
|
+
"timestamp": {
|
|
5059
|
+
"title": "Timestamp",
|
|
5060
|
+
"type": "string"
|
|
5061
|
+
},
|
|
5062
|
+
"type": {
|
|
5063
|
+
"const": "error",
|
|
5064
|
+
"default": "error",
|
|
5065
|
+
"title": "Type",
|
|
5066
|
+
"type": "string"
|
|
5067
|
+
}
|
|
5068
|
+
},
|
|
5069
|
+
"required": [
|
|
5070
|
+
"message",
|
|
5071
|
+
"timestamp",
|
|
5072
|
+
"type"
|
|
5073
|
+
],
|
|
5074
|
+
"title": "GeminiErrorEvent",
|
|
5075
|
+
"type": "object"
|
|
5076
|
+
},
|
|
5077
|
+
"GeminiInitEvent": {
|
|
5078
|
+
"additionalProperties": true,
|
|
5079
|
+
"properties": {
|
|
5080
|
+
"model": {
|
|
5081
|
+
"title": "Model",
|
|
5082
|
+
"type": "string"
|
|
5083
|
+
},
|
|
5084
|
+
"session_id": {
|
|
5085
|
+
"title": "Session Id",
|
|
5086
|
+
"type": "string"
|
|
5087
|
+
},
|
|
5088
|
+
"timestamp": {
|
|
5089
|
+
"title": "Timestamp",
|
|
5090
|
+
"type": "string"
|
|
5091
|
+
},
|
|
5092
|
+
"type": {
|
|
5093
|
+
"const": "init",
|
|
5094
|
+
"default": "init",
|
|
5095
|
+
"title": "Type",
|
|
5096
|
+
"type": "string"
|
|
5097
|
+
}
|
|
5098
|
+
},
|
|
5099
|
+
"required": [
|
|
5100
|
+
"model",
|
|
5101
|
+
"session_id",
|
|
5102
|
+
"timestamp",
|
|
5103
|
+
"type"
|
|
5104
|
+
],
|
|
5105
|
+
"title": "GeminiInitEvent",
|
|
5106
|
+
"type": "object"
|
|
5107
|
+
},
|
|
5108
|
+
"GeminiMessageEvent": {
|
|
5109
|
+
"additionalProperties": true,
|
|
5110
|
+
"properties": {
|
|
5111
|
+
"content": {
|
|
5112
|
+
"title": "Content",
|
|
5113
|
+
"type": "string"
|
|
5114
|
+
},
|
|
5115
|
+
"delta": {
|
|
5116
|
+
"anyOf": [
|
|
5117
|
+
{
|
|
5118
|
+
"type": "boolean"
|
|
5119
|
+
},
|
|
5120
|
+
{
|
|
5121
|
+
"type": "null"
|
|
5122
|
+
}
|
|
5123
|
+
],
|
|
5124
|
+
"default": null,
|
|
5125
|
+
"title": "Delta"
|
|
5126
|
+
},
|
|
5127
|
+
"role": {
|
|
5128
|
+
"enum": [
|
|
5129
|
+
"user",
|
|
5130
|
+
"assistant"
|
|
5131
|
+
],
|
|
5132
|
+
"title": "Role",
|
|
5133
|
+
"type": "string"
|
|
5134
|
+
},
|
|
5135
|
+
"timestamp": {
|
|
5136
|
+
"title": "Timestamp",
|
|
5137
|
+
"type": "string"
|
|
5138
|
+
},
|
|
5139
|
+
"type": {
|
|
5140
|
+
"const": "message",
|
|
5141
|
+
"default": "message",
|
|
5142
|
+
"title": "Type",
|
|
5143
|
+
"type": "string"
|
|
5144
|
+
}
|
|
5145
|
+
},
|
|
5146
|
+
"required": [
|
|
5147
|
+
"content",
|
|
5148
|
+
"role",
|
|
5149
|
+
"timestamp",
|
|
5150
|
+
"type"
|
|
5151
|
+
],
|
|
5152
|
+
"title": "GeminiMessageEvent",
|
|
5153
|
+
"type": "object"
|
|
5154
|
+
},
|
|
5155
|
+
"GeminiModelStats": {
|
|
5156
|
+
"additionalProperties": true,
|
|
5157
|
+
"properties": {
|
|
5158
|
+
"cached": {
|
|
5159
|
+
"default": 0,
|
|
5160
|
+
"title": "Cached",
|
|
5161
|
+
"type": "integer"
|
|
5162
|
+
},
|
|
5163
|
+
"input": {
|
|
5164
|
+
"default": 0,
|
|
5165
|
+
"title": "Input",
|
|
5166
|
+
"type": "integer"
|
|
5167
|
+
},
|
|
5168
|
+
"input_tokens": {
|
|
5169
|
+
"default": 0,
|
|
5170
|
+
"title": "Input Tokens",
|
|
5171
|
+
"type": "integer"
|
|
5172
|
+
},
|
|
5173
|
+
"output_tokens": {
|
|
5174
|
+
"default": 0,
|
|
5175
|
+
"title": "Output Tokens",
|
|
5176
|
+
"type": "integer"
|
|
5177
|
+
},
|
|
5178
|
+
"total_tokens": {
|
|
5179
|
+
"default": 0,
|
|
5180
|
+
"title": "Total Tokens",
|
|
5181
|
+
"type": "integer"
|
|
5182
|
+
}
|
|
5183
|
+
},
|
|
5184
|
+
"required": [],
|
|
5185
|
+
"title": "GeminiModelStats",
|
|
5186
|
+
"type": "object"
|
|
5187
|
+
},
|
|
5188
|
+
"GeminiResultEvent": {
|
|
5189
|
+
"additionalProperties": true,
|
|
5190
|
+
"properties": {
|
|
5191
|
+
"error": {
|
|
5192
|
+
"anyOf": [
|
|
5193
|
+
{
|
|
5194
|
+
"$ref": "#/$defs/GeminiToolError"
|
|
5195
|
+
},
|
|
5196
|
+
{
|
|
5197
|
+
"type": "null"
|
|
5198
|
+
}
|
|
5199
|
+
],
|
|
5200
|
+
"default": null
|
|
5201
|
+
},
|
|
5202
|
+
"stats": {
|
|
5203
|
+
"anyOf": [
|
|
5204
|
+
{
|
|
5205
|
+
"$ref": "#/$defs/GeminiStreamStats"
|
|
4730
5206
|
},
|
|
4731
5207
|
{
|
|
4732
5208
|
"type": "null"
|
|
4733
5209
|
}
|
|
4734
5210
|
],
|
|
4735
|
-
"default": null
|
|
4736
|
-
"title": "Duration Ms"
|
|
5211
|
+
"default": null
|
|
4737
5212
|
},
|
|
4738
|
-
"
|
|
4739
|
-
"
|
|
4740
|
-
"
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
"
|
|
5213
|
+
"status": {
|
|
5214
|
+
"enum": [
|
|
5215
|
+
"success",
|
|
5216
|
+
"error"
|
|
5217
|
+
],
|
|
5218
|
+
"title": "Status",
|
|
5219
|
+
"type": "string"
|
|
5220
|
+
},
|
|
5221
|
+
"timestamp": {
|
|
5222
|
+
"title": "Timestamp",
|
|
5223
|
+
"type": "string"
|
|
5224
|
+
},
|
|
5225
|
+
"type": {
|
|
5226
|
+
"const": "result",
|
|
5227
|
+
"default": "result",
|
|
5228
|
+
"title": "Type",
|
|
5229
|
+
"type": "string"
|
|
4744
5230
|
}
|
|
4745
5231
|
},
|
|
4746
5232
|
"required": [
|
|
4747
|
-
"
|
|
5233
|
+
"status",
|
|
5234
|
+
"timestamp",
|
|
5235
|
+
"type"
|
|
4748
5236
|
],
|
|
4749
|
-
"title": "
|
|
5237
|
+
"title": "GeminiResultEvent",
|
|
4750
5238
|
"type": "object"
|
|
4751
5239
|
},
|
|
4752
|
-
"
|
|
5240
|
+
"GeminiSessionRecord": {
|
|
4753
5241
|
"properties": {
|
|
4754
5242
|
"cost": {
|
|
4755
5243
|
"anyOf": [
|
|
@@ -4791,8 +5279,8 @@
|
|
|
4791
5279
|
"type": "string"
|
|
4792
5280
|
},
|
|
4793
5281
|
"kind": {
|
|
4794
|
-
"const": "
|
|
4795
|
-
"default": "
|
|
5282
|
+
"const": "gemini",
|
|
5283
|
+
"default": "gemini",
|
|
4796
5284
|
"title": "Kind",
|
|
4797
5285
|
"type": "string"
|
|
4798
5286
|
},
|
|
@@ -4809,17 +5297,16 @@
|
|
|
4809
5297
|
"title": "Model"
|
|
4810
5298
|
},
|
|
4811
5299
|
"payload": {
|
|
4812
|
-
"$ref": "#/$defs/
|
|
5300
|
+
"$ref": "#/$defs/GeminiStreamEvent"
|
|
4813
5301
|
},
|
|
4814
5302
|
"record_format": {
|
|
4815
|
-
"const": "
|
|
4816
|
-
"default": "
|
|
5303
|
+
"const": "gemini_stream_json@1",
|
|
5304
|
+
"default": "gemini_stream_json@1",
|
|
4817
5305
|
"title": "Record Format",
|
|
4818
5306
|
"type": "string"
|
|
4819
5307
|
},
|
|
4820
5308
|
"record_type": {
|
|
4821
|
-
"
|
|
4822
|
-
"default": "environment_ready",
|
|
5309
|
+
"description": "Original record type within its format.",
|
|
4823
5310
|
"title": "Record Type",
|
|
4824
5311
|
"type": "string"
|
|
4825
5312
|
},
|
|
@@ -4842,8 +5329,8 @@
|
|
|
4842
5329
|
"title": "Session Message Id"
|
|
4843
5330
|
},
|
|
4844
5331
|
"source": {
|
|
4845
|
-
"const": "
|
|
4846
|
-
"default": "
|
|
5332
|
+
"const": "gemini",
|
|
5333
|
+
"default": "gemini",
|
|
4847
5334
|
"title": "Source",
|
|
4848
5335
|
"type": "string"
|
|
4849
5336
|
},
|
|
@@ -4905,48 +5392,128 @@
|
|
|
4905
5392
|
"tools",
|
|
4906
5393
|
"turn_id"
|
|
4907
5394
|
],
|
|
4908
|
-
"title": "
|
|
5395
|
+
"title": "GeminiSessionRecord",
|
|
4909
5396
|
"type": "object",
|
|
4910
5397
|
"x-ellipsis-preserve-payload": true
|
|
4911
5398
|
},
|
|
4912
|
-
"
|
|
4913
|
-
"
|
|
4914
|
-
|
|
5399
|
+
"GeminiStreamEvent": {
|
|
5400
|
+
"discriminator": {
|
|
5401
|
+
"mapping": {
|
|
5402
|
+
"error": "#/$defs/GeminiErrorEvent",
|
|
5403
|
+
"init": "#/$defs/GeminiInitEvent",
|
|
5404
|
+
"message": "#/$defs/GeminiMessageEvent",
|
|
5405
|
+
"result": "#/$defs/GeminiResultEvent",
|
|
5406
|
+
"tool_result": "#/$defs/GeminiToolResultEvent",
|
|
5407
|
+
"tool_use": "#/$defs/GeminiToolUseEvent"
|
|
5408
|
+
},
|
|
5409
|
+
"propertyName": "type"
|
|
5410
|
+
},
|
|
5411
|
+
"oneOf": [
|
|
5412
|
+
{
|
|
5413
|
+
"$ref": "#/$defs/GeminiInitEvent"
|
|
5414
|
+
},
|
|
5415
|
+
{
|
|
5416
|
+
"$ref": "#/$defs/GeminiMessageEvent"
|
|
5417
|
+
},
|
|
5418
|
+
{
|
|
5419
|
+
"$ref": "#/$defs/GeminiToolUseEvent"
|
|
5420
|
+
},
|
|
5421
|
+
{
|
|
5422
|
+
"$ref": "#/$defs/GeminiToolResultEvent"
|
|
5423
|
+
},
|
|
5424
|
+
{
|
|
5425
|
+
"$ref": "#/$defs/GeminiErrorEvent"
|
|
5426
|
+
},
|
|
5427
|
+
{
|
|
5428
|
+
"$ref": "#/$defs/GeminiResultEvent"
|
|
5429
|
+
}
|
|
5430
|
+
]
|
|
5431
|
+
},
|
|
5432
|
+
"GeminiStreamStats": {
|
|
5433
|
+
"additionalProperties": true,
|
|
4915
5434
|
"properties": {
|
|
4916
|
-
"
|
|
4917
|
-
"
|
|
4918
|
-
"
|
|
4919
|
-
"
|
|
5435
|
+
"cached": {
|
|
5436
|
+
"default": 0,
|
|
5437
|
+
"title": "Cached",
|
|
5438
|
+
"type": "integer"
|
|
5439
|
+
},
|
|
5440
|
+
"duration_ms": {
|
|
5441
|
+
"default": 0,
|
|
5442
|
+
"title": "Duration Ms",
|
|
5443
|
+
"type": "integer"
|
|
5444
|
+
},
|
|
5445
|
+
"input": {
|
|
5446
|
+
"default": 0,
|
|
5447
|
+
"title": "Input",
|
|
5448
|
+
"type": "integer"
|
|
5449
|
+
},
|
|
5450
|
+
"input_tokens": {
|
|
5451
|
+
"default": 0,
|
|
5452
|
+
"title": "Input Tokens",
|
|
5453
|
+
"type": "integer"
|
|
5454
|
+
},
|
|
5455
|
+
"models": {
|
|
5456
|
+
"additionalProperties": {
|
|
5457
|
+
"$ref": "#/$defs/GeminiModelStats"
|
|
5458
|
+
},
|
|
5459
|
+
"default": {},
|
|
5460
|
+
"title": "Models",
|
|
5461
|
+
"type": "object"
|
|
5462
|
+
},
|
|
5463
|
+
"output_tokens": {
|
|
5464
|
+
"default": 0,
|
|
5465
|
+
"title": "Output Tokens",
|
|
5466
|
+
"type": "integer"
|
|
5467
|
+
},
|
|
5468
|
+
"tool_calls": {
|
|
5469
|
+
"default": 0,
|
|
5470
|
+
"title": "Tool Calls",
|
|
5471
|
+
"type": "integer"
|
|
5472
|
+
},
|
|
5473
|
+
"total_tokens": {
|
|
5474
|
+
"default": 0,
|
|
5475
|
+
"title": "Total Tokens",
|
|
5476
|
+
"type": "integer"
|
|
5477
|
+
}
|
|
5478
|
+
},
|
|
5479
|
+
"required": [],
|
|
5480
|
+
"title": "GeminiStreamStats",
|
|
5481
|
+
"type": "object"
|
|
5482
|
+
},
|
|
5483
|
+
"GeminiToolError": {
|
|
5484
|
+
"additionalProperties": true,
|
|
5485
|
+
"properties": {
|
|
5486
|
+
"message": {
|
|
5487
|
+
"title": "Message",
|
|
5488
|
+
"type": "string"
|
|
5489
|
+
},
|
|
5490
|
+
"type": {
|
|
5491
|
+
"title": "Type",
|
|
4920
5492
|
"type": "string"
|
|
4921
5493
|
}
|
|
4922
5494
|
},
|
|
4923
5495
|
"required": [
|
|
4924
|
-
"
|
|
5496
|
+
"message",
|
|
5497
|
+
"type"
|
|
4925
5498
|
],
|
|
4926
|
-
"title": "
|
|
5499
|
+
"title": "GeminiToolError",
|
|
4927
5500
|
"type": "object"
|
|
4928
5501
|
},
|
|
4929
|
-
"
|
|
4930
|
-
"
|
|
4931
|
-
"enum": [
|
|
4932
|
-
"request",
|
|
4933
|
-
"agent",
|
|
4934
|
-
"repo_default",
|
|
4935
|
-
"account_default",
|
|
4936
|
-
"platform_default"
|
|
4937
|
-
],
|
|
4938
|
-
"title": "EnvironmentSource",
|
|
4939
|
-
"type": "string"
|
|
4940
|
-
},
|
|
4941
|
-
"EnvironmentVariable": {
|
|
4942
|
-
"additionalProperties": false,
|
|
4943
|
-
"description": "One environment variable injected into the session's environment.\n\n`value`, when set, is a literal injected as-is \u2014 use it for non-secret\nconfig (LOG_LEVEL, an API base URL). When `value` is omitted the value is\nresolved at run time from the account's secrets store (dashboard\n/ `PUT /v1/secrets`) by `name`, so a secret can be injected without\never putting it in the config file. Either way the variable only reaches\nagents that name it.",
|
|
5502
|
+
"GeminiToolResultEvent": {
|
|
5503
|
+
"additionalProperties": true,
|
|
4944
5504
|
"properties": {
|
|
4945
|
-
"
|
|
4946
|
-
"
|
|
4947
|
-
|
|
5505
|
+
"error": {
|
|
5506
|
+
"anyOf": [
|
|
5507
|
+
{
|
|
5508
|
+
"$ref": "#/$defs/GeminiToolError"
|
|
5509
|
+
},
|
|
5510
|
+
{
|
|
5511
|
+
"type": "null"
|
|
5512
|
+
}
|
|
5513
|
+
],
|
|
5514
|
+
"default": null
|
|
4948
5515
|
},
|
|
4949
|
-
"
|
|
5516
|
+
"output": {
|
|
4950
5517
|
"anyOf": [
|
|
4951
5518
|
{
|
|
4952
5519
|
"type": "string"
|
|
@@ -4956,36 +5523,75 @@
|
|
|
4956
5523
|
}
|
|
4957
5524
|
],
|
|
4958
5525
|
"default": null,
|
|
4959
|
-
"title": "
|
|
5526
|
+
"title": "Output"
|
|
5527
|
+
},
|
|
5528
|
+
"status": {
|
|
5529
|
+
"enum": [
|
|
5530
|
+
"success",
|
|
5531
|
+
"error"
|
|
5532
|
+
],
|
|
5533
|
+
"title": "Status",
|
|
5534
|
+
"type": "string"
|
|
5535
|
+
},
|
|
5536
|
+
"timestamp": {
|
|
5537
|
+
"title": "Timestamp",
|
|
5538
|
+
"type": "string"
|
|
5539
|
+
},
|
|
5540
|
+
"tool_id": {
|
|
5541
|
+
"title": "Tool Id",
|
|
5542
|
+
"type": "string"
|
|
5543
|
+
},
|
|
5544
|
+
"type": {
|
|
5545
|
+
"const": "tool_result",
|
|
5546
|
+
"default": "tool_result",
|
|
5547
|
+
"title": "Type",
|
|
5548
|
+
"type": "string"
|
|
4960
5549
|
}
|
|
4961
5550
|
},
|
|
4962
5551
|
"required": [
|
|
4963
|
-
"
|
|
4964
|
-
"
|
|
5552
|
+
"status",
|
|
5553
|
+
"timestamp",
|
|
5554
|
+
"tool_id",
|
|
5555
|
+
"type"
|
|
4965
5556
|
],
|
|
4966
|
-
"title": "
|
|
5557
|
+
"title": "GeminiToolResultEvent",
|
|
4967
5558
|
"type": "object"
|
|
4968
5559
|
},
|
|
4969
|
-
"
|
|
4970
|
-
"
|
|
5560
|
+
"GeminiToolUseEvent": {
|
|
5561
|
+
"additionalProperties": true,
|
|
4971
5562
|
"properties": {
|
|
4972
|
-
"
|
|
4973
|
-
"
|
|
4974
|
-
"
|
|
5563
|
+
"parameters": {
|
|
5564
|
+
"additionalProperties": true,
|
|
5565
|
+
"default": {},
|
|
5566
|
+
"title": "Parameters",
|
|
5567
|
+
"type": "object"
|
|
5568
|
+
},
|
|
5569
|
+
"timestamp": {
|
|
5570
|
+
"title": "Timestamp",
|
|
5571
|
+
"type": "string"
|
|
5572
|
+
},
|
|
5573
|
+
"tool_id": {
|
|
5574
|
+
"title": "Tool Id",
|
|
5575
|
+
"type": "string"
|
|
5576
|
+
},
|
|
5577
|
+
"tool_name": {
|
|
5578
|
+
"title": "Tool Name",
|
|
4975
5579
|
"type": "string"
|
|
4976
5580
|
},
|
|
4977
5581
|
"type": {
|
|
4978
|
-
"const": "
|
|
4979
|
-
"default": "
|
|
5582
|
+
"const": "tool_use",
|
|
5583
|
+
"default": "tool_use",
|
|
4980
5584
|
"title": "Type",
|
|
4981
5585
|
"type": "string"
|
|
4982
5586
|
}
|
|
4983
5587
|
},
|
|
4984
5588
|
"required": [
|
|
4985
|
-
"
|
|
5589
|
+
"timestamp",
|
|
5590
|
+
"tool_id",
|
|
5591
|
+
"tool_name",
|
|
4986
5592
|
"type"
|
|
4987
5593
|
],
|
|
4988
|
-
"title": "
|
|
5594
|
+
"title": "GeminiToolUseEvent",
|
|
4989
5595
|
"type": "object"
|
|
4990
5596
|
},
|
|
4991
5597
|
"GithubAccountFilter": {
|
|
@@ -7987,7 +8593,6 @@
|
|
|
7987
8593
|
"defaults",
|
|
7988
8594
|
"environments",
|
|
7989
8595
|
"secrets",
|
|
7990
|
-
"templates",
|
|
7991
8596
|
"integrations",
|
|
7992
8597
|
"reviews",
|
|
7993
8598
|
"tokens",
|
|
@@ -8519,11 +9124,34 @@
|
|
|
8519
9124
|
},
|
|
8520
9125
|
"codex": {
|
|
8521
9126
|
"type": "null"
|
|
9127
|
+
},
|
|
9128
|
+
"gemini": {
|
|
9129
|
+
"type": "null"
|
|
9130
|
+
}
|
|
9131
|
+
},
|
|
9132
|
+
"required": [
|
|
9133
|
+
"claude_code",
|
|
9134
|
+
"codex",
|
|
9135
|
+
"gemini"
|
|
9136
|
+
]
|
|
9137
|
+
},
|
|
9138
|
+
{
|
|
9139
|
+
"properties": {
|
|
9140
|
+
"claude_code": {
|
|
9141
|
+
"type": "null"
|
|
9142
|
+
},
|
|
9143
|
+
"codex": {
|
|
9144
|
+
"additionalProperties": true,
|
|
9145
|
+
"type": "object"
|
|
9146
|
+
},
|
|
9147
|
+
"gemini": {
|
|
9148
|
+
"type": "null"
|
|
8522
9149
|
}
|
|
8523
9150
|
},
|
|
8524
9151
|
"required": [
|
|
8525
9152
|
"claude_code",
|
|
8526
|
-
"codex"
|
|
9153
|
+
"codex",
|
|
9154
|
+
"gemini"
|
|
8527
9155
|
]
|
|
8528
9156
|
},
|
|
8529
9157
|
{
|
|
@@ -8532,13 +9160,17 @@
|
|
|
8532
9160
|
"type": "null"
|
|
8533
9161
|
},
|
|
8534
9162
|
"codex": {
|
|
9163
|
+
"type": "null"
|
|
9164
|
+
},
|
|
9165
|
+
"gemini": {
|
|
8535
9166
|
"additionalProperties": true,
|
|
8536
9167
|
"type": "object"
|
|
8537
9168
|
}
|
|
8538
9169
|
},
|
|
8539
9170
|
"required": [
|
|
8540
9171
|
"claude_code",
|
|
8541
|
-
"codex"
|
|
9172
|
+
"codex",
|
|
9173
|
+
"gemini"
|
|
8542
9174
|
]
|
|
8543
9175
|
}
|
|
8544
9176
|
]
|
|
@@ -8590,7 +9222,7 @@
|
|
|
8590
9222
|
}
|
|
8591
9223
|
],
|
|
8592
9224
|
"default": null,
|
|
8593
|
-
"description": "Claude Code input and native options. Set exactly one of claude_code or
|
|
9225
|
+
"description": "Claude Code input and native options. Set exactly one of claude_code, codex, or gemini."
|
|
8594
9226
|
},
|
|
8595
9227
|
"codex": {
|
|
8596
9228
|
"anyOf": [
|
|
@@ -8602,7 +9234,7 @@
|
|
|
8602
9234
|
}
|
|
8603
9235
|
],
|
|
8604
9236
|
"default": null,
|
|
8605
|
-
"description": "Codex input and native options. Set exactly one of claude_code or
|
|
9237
|
+
"description": "Codex input and native options. Set exactly one of claude_code, codex, or gemini."
|
|
8606
9238
|
},
|
|
8607
9239
|
"conversation": {
|
|
8608
9240
|
"$ref": "#/$defs/SessionConversation",
|
|
@@ -8689,6 +9321,18 @@
|
|
|
8689
9321
|
"description": "The typed external event that started the session; null for direct and scheduled starts.",
|
|
8690
9322
|
"title": "Event"
|
|
8691
9323
|
},
|
|
9324
|
+
"gemini": {
|
|
9325
|
+
"anyOf": [
|
|
9326
|
+
{
|
|
9327
|
+
"$ref": "#/$defs/GeminiConfig"
|
|
9328
|
+
},
|
|
9329
|
+
{
|
|
9330
|
+
"type": "null"
|
|
9331
|
+
}
|
|
9332
|
+
],
|
|
9333
|
+
"default": null,
|
|
9334
|
+
"description": "Gemini CLI input and native options. Set exactly one of claude_code, codex, or gemini."
|
|
9335
|
+
},
|
|
8692
9336
|
"git": {
|
|
8693
9337
|
"anyOf": [
|
|
8694
9338
|
{
|
|
@@ -8814,6 +9458,7 @@
|
|
|
8814
9458
|
"created_at",
|
|
8815
9459
|
"environment",
|
|
8816
9460
|
"event",
|
|
9461
|
+
"gemini",
|
|
8817
9462
|
"git",
|
|
8818
9463
|
"handler",
|
|
8819
9464
|
"id",
|
|
@@ -9117,11 +9762,34 @@
|
|
|
9117
9762
|
},
|
|
9118
9763
|
"codex": {
|
|
9119
9764
|
"type": "null"
|
|
9765
|
+
},
|
|
9766
|
+
"gemini": {
|
|
9767
|
+
"type": "null"
|
|
9768
|
+
}
|
|
9769
|
+
},
|
|
9770
|
+
"required": [
|
|
9771
|
+
"claude_code",
|
|
9772
|
+
"codex",
|
|
9773
|
+
"gemini"
|
|
9774
|
+
]
|
|
9775
|
+
},
|
|
9776
|
+
{
|
|
9777
|
+
"properties": {
|
|
9778
|
+
"claude_code": {
|
|
9779
|
+
"type": "null"
|
|
9780
|
+
},
|
|
9781
|
+
"codex": {
|
|
9782
|
+
"additionalProperties": true,
|
|
9783
|
+
"type": "object"
|
|
9784
|
+
},
|
|
9785
|
+
"gemini": {
|
|
9786
|
+
"type": "null"
|
|
9120
9787
|
}
|
|
9121
9788
|
},
|
|
9122
9789
|
"required": [
|
|
9123
9790
|
"claude_code",
|
|
9124
|
-
"codex"
|
|
9791
|
+
"codex",
|
|
9792
|
+
"gemini"
|
|
9125
9793
|
]
|
|
9126
9794
|
},
|
|
9127
9795
|
{
|
|
@@ -9130,13 +9798,17 @@
|
|
|
9130
9798
|
"type": "null"
|
|
9131
9799
|
},
|
|
9132
9800
|
"codex": {
|
|
9801
|
+
"type": "null"
|
|
9802
|
+
},
|
|
9803
|
+
"gemini": {
|
|
9133
9804
|
"additionalProperties": true,
|
|
9134
9805
|
"type": "object"
|
|
9135
9806
|
}
|
|
9136
9807
|
},
|
|
9137
9808
|
"required": [
|
|
9138
9809
|
"claude_code",
|
|
9139
|
-
"codex"
|
|
9810
|
+
"codex",
|
|
9811
|
+
"gemini"
|
|
9140
9812
|
]
|
|
9141
9813
|
}
|
|
9142
9814
|
]
|
|
@@ -9163,7 +9835,7 @@
|
|
|
9163
9835
|
}
|
|
9164
9836
|
],
|
|
9165
9837
|
"default": null,
|
|
9166
|
-
"description": "Claude Code input and native options. Set exactly one of claude_code or
|
|
9838
|
+
"description": "Claude Code input and native options. Set exactly one of claude_code, codex, or gemini."
|
|
9167
9839
|
},
|
|
9168
9840
|
"codex": {
|
|
9169
9841
|
"anyOf": [
|
|
@@ -9175,7 +9847,7 @@
|
|
|
9175
9847
|
}
|
|
9176
9848
|
],
|
|
9177
9849
|
"default": null,
|
|
9178
|
-
"description": "Codex input and native options. Set exactly one of claude_code or
|
|
9850
|
+
"description": "Codex input and native options. Set exactly one of claude_code, codex, or gemini."
|
|
9179
9851
|
},
|
|
9180
9852
|
"conversation": {
|
|
9181
9853
|
"$ref": "#/$defs/SessionConversationConfig",
|
|
@@ -9203,7 +9875,8 @@
|
|
|
9203
9875
|
"before_start": null,
|
|
9204
9876
|
"build_base": null,
|
|
9205
9877
|
"post_clone": null,
|
|
9206
|
-
"post_start": null
|
|
9878
|
+
"post_start": null,
|
|
9879
|
+
"validate": null
|
|
9207
9880
|
},
|
|
9208
9881
|
"mcp_servers": [],
|
|
9209
9882
|
"repositories": [],
|
|
@@ -9211,6 +9884,18 @@
|
|
|
9211
9884
|
},
|
|
9212
9885
|
"title": "Environment"
|
|
9213
9886
|
},
|
|
9887
|
+
"gemini": {
|
|
9888
|
+
"anyOf": [
|
|
9889
|
+
{
|
|
9890
|
+
"$ref": "#/$defs/GeminiConfig"
|
|
9891
|
+
},
|
|
9892
|
+
{
|
|
9893
|
+
"type": "null"
|
|
9894
|
+
}
|
|
9895
|
+
],
|
|
9896
|
+
"default": null,
|
|
9897
|
+
"description": "Gemini CLI input and native options. Set exactly one of claude_code, codex, or gemini."
|
|
9898
|
+
},
|
|
9214
9899
|
"metadata": {
|
|
9215
9900
|
"additionalProperties": {
|
|
9216
9901
|
"type": "string"
|
|
@@ -9256,6 +9941,7 @@
|
|
|
9256
9941
|
"codex",
|
|
9257
9942
|
"conversation",
|
|
9258
9943
|
"environment",
|
|
9944
|
+
"gemini",
|
|
9259
9945
|
"metadata",
|
|
9260
9946
|
"output",
|
|
9261
9947
|
"permissions",
|
|
@@ -9331,7 +10017,8 @@
|
|
|
9331
10017
|
"before_start": null,
|
|
9332
10018
|
"build_base": null,
|
|
9333
10019
|
"post_clone": null,
|
|
9334
|
-
"post_start": null
|
|
10020
|
+
"post_start": null,
|
|
10021
|
+
"validate": null
|
|
9335
10022
|
}
|
|
9336
10023
|
},
|
|
9337
10024
|
"id": {
|
|
@@ -10000,6 +10687,9 @@
|
|
|
10000
10687
|
{
|
|
10001
10688
|
"$ref": "#/$defs/CodexAppServerSessionRecord"
|
|
10002
10689
|
},
|
|
10690
|
+
{
|
|
10691
|
+
"$ref": "#/$defs/GeminiSessionRecord"
|
|
10692
|
+
},
|
|
10003
10693
|
{
|
|
10004
10694
|
"$ref": "#/$defs/PlatformSessionRecord"
|
|
10005
10695
|
},
|
|
@@ -10407,12 +11097,6 @@
|
|
|
10407
11097
|
"title": "Messages",
|
|
10408
11098
|
"type": "array"
|
|
10409
11099
|
},
|
|
10410
|
-
"protocol": {
|
|
10411
|
-
"default": 7,
|
|
10412
|
-
"description": "Echoes the protocol version the server is serving.",
|
|
10413
|
-
"title": "Protocol",
|
|
10414
|
-
"type": "integer"
|
|
10415
|
-
},
|
|
10416
11100
|
"session": {
|
|
10417
11101
|
"$ref": "#/$defs/Session",
|
|
10418
11102
|
"description": "The session's current state."
|
|
@@ -10427,7 +11111,6 @@
|
|
|
10427
11111
|
"required": [
|
|
10428
11112
|
"earliest_feed_seq",
|
|
10429
11113
|
"messages",
|
|
10430
|
-
"protocol",
|
|
10431
11114
|
"session",
|
|
10432
11115
|
"type"
|
|
10433
11116
|
],
|
|
@@ -11356,7 +12039,7 @@
|
|
|
11356
12039
|
}
|
|
11357
12040
|
},
|
|
11358
12041
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
11359
|
-
"description": "One server-to-client frame of the Ellipsis session stream
|
|
12042
|
+
"description": "One server-to-client frame of the Ellipsis session stream (WS /v1/sessions/{id}/stream). Clients ignore frames with unknown `type` values.",
|
|
11360
12043
|
"oneOf": [
|
|
11361
12044
|
{
|
|
11362
12045
|
"$ref": "#/$defs/SnapshotFrame"
|