@ellipsis-dev/sdk 0.43.0 → 0.44.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.
@@ -3799,7 +3799,7 @@
3799
3799
  },
3800
3800
  "ComputeConfig": {
3801
3801
  "additionalProperties": false,
3802
- "description": "Environment compute sizing. Every field is optional; an omitted field\ninherits the platform default (2 vCPU / 4096 MiB / 3600s). A resolved value\noutside the platform bounds fails validation loudly (a sync error on the\nconfig) rather than being clamped silently.\n\n`memory` and `timeout` each accept a shorthand string (\"8GB\", \"30m\") or an\nexplicit units object ({gb: 8}, {minutes: 30}); the `memory_mib` /\n`timeout_seconds` properties resolve either form to the canonical integer\nthe environment is sized with.\n\n`timeout` is the max wall-clock the agent may run in one environment before\nit is stopped, capped at 1h (equal to the default, so today the knob only\nshortens a session; the cap matches the 1-hour validity of the session's\nGitHub token).\n\nCompute currently uses a temporary flat one-cent amount each time an\nenvironment is started for a session, subject to the account's existing\nfree-compute exemptions.",
3802
+ "description": "The size and lifetime of the environment. Every field is optional. An\nomitted field takes the platform default (2 vCPUs, 4096 MiB, a 4h timeout,\n10m idle). A value outside the platform bounds fails validation.\n\n`memory` accepts a string such as `8GB` or an object such as `{gb: 8}`.\n`timeout` and `idle` accept a duration string such as `30m`, `8h`, or\n`1h30m`.\n\n`timeout` is the longest one message's work may run before it is stopped,\n1m to 22h, default 4h. The message ends `stopped` with reason `timeout`.\n\n`idle` is how long the environment stays awake after the agent finishes\nwith no message waiting, 10s to 1h, default 10m. Then it pauses, and the\nnext message resumes it. Only an interactive session pauses. A session\nthat runs once ends when its message ends.",
3803
3803
  "properties": {
3804
3804
  "cpu": {
3805
3805
  "anyOf": [
@@ -3815,6 +3815,18 @@
3815
3815
  "default": null,
3816
3816
  "title": "Cpu"
3817
3817
  },
3818
+ "idle": {
3819
+ "anyOf": [
3820
+ {
3821
+ "type": "string"
3822
+ },
3823
+ {
3824
+ "type": "null"
3825
+ }
3826
+ ],
3827
+ "default": null,
3828
+ "title": "Idle"
3829
+ },
3818
3830
  "memory": {
3819
3831
  "anyOf": [
3820
3832
  {
@@ -3835,9 +3847,6 @@
3835
3847
  {
3836
3848
  "type": "string"
3837
3849
  },
3838
- {
3839
- "$ref": "#/$defs/Duration"
3840
- },
3841
3850
  {
3842
3851
  "type": "null"
3843
3852
  }
@@ -3848,6 +3857,7 @@
3848
3857
  },
3849
3858
  "required": [
3850
3859
  "cpu",
3860
+ "idle",
3851
3861
  "memory",
3852
3862
  "timeout"
3853
3863
  ],
@@ -4021,58 +4031,6 @@
4021
4031
  "title": "DeltaFrame",
4022
4032
  "type": "object"
4023
4033
  },
4024
- "Duration": {
4025
- "additionalProperties": false,
4026
- "description": "A duration as explicit units, summed. Set any of `hours`/`minutes`/\n`seconds` (at least one). The alternative to the `30m`-style shorthand\nstring wherever a duration is accepted.",
4027
- "properties": {
4028
- "hours": {
4029
- "anyOf": [
4030
- {
4031
- "minimum": 0,
4032
- "type": "integer"
4033
- },
4034
- {
4035
- "type": "null"
4036
- }
4037
- ],
4038
- "default": null,
4039
- "title": "Hours"
4040
- },
4041
- "minutes": {
4042
- "anyOf": [
4043
- {
4044
- "minimum": 0,
4045
- "type": "integer"
4046
- },
4047
- {
4048
- "type": "null"
4049
- }
4050
- ],
4051
- "default": null,
4052
- "title": "Minutes"
4053
- },
4054
- "seconds": {
4055
- "anyOf": [
4056
- {
4057
- "minimum": 0,
4058
- "type": "integer"
4059
- },
4060
- {
4061
- "type": "null"
4062
- }
4063
- ],
4064
- "default": null,
4065
- "title": "Seconds"
4066
- }
4067
- },
4068
- "required": [
4069
- "hours",
4070
- "minutes",
4071
- "seconds"
4072
- ],
4073
- "title": "Duration",
4074
- "type": "object"
4075
- },
4076
4034
  "EffortLevel": {
4077
4035
  "enum": [
4078
4036
  "low",
@@ -4187,6 +4145,7 @@
4187
4145
  "$ref": "#/$defs/ComputeConfig",
4188
4146
  "default": {
4189
4147
  "cpu": null,
4148
+ "idle": null,
4190
4149
  "memory": null,
4191
4150
  "timeout": null
4192
4151
  }
@@ -5024,7 +4983,8 @@
5024
4983
  "unsupported_configuration",
5025
4984
  "execution_disabled",
5026
4985
  "interrupted",
5027
- "stopped"
4986
+ "stopped",
4987
+ "timeout"
5028
4988
  ],
5029
4989
  "title": "ErrorReason",
5030
4990
  "type": "string"
@@ -10397,6 +10357,7 @@
10397
10357
  "default": {
10398
10358
  "compute": {
10399
10359
  "cpu": null,
10360
+ "idle": null,
10400
10361
  "memory": null,
10401
10362
  "timeout": null
10402
10363
  },
@@ -10531,6 +10492,7 @@
10531
10492
  "$ref": "#/$defs/ComputeConfig",
10532
10493
  "default": {
10533
10494
  "cpu": null,
10495
+ "idle": null,
10534
10496
  "memory": null,
10535
10497
  "timeout": null
10536
10498
  }
@@ -192,7 +192,8 @@
192
192
  "unsupported_configuration",
193
193
  "execution_disabled",
194
194
  "interrupted",
195
- "stopped"
195
+ "stopped",
196
+ "timeout"
196
197
  ],
197
198
  "title": "ErrorReason",
198
199
  "type": "string"