@asteroidai/cli 1.9.242 → 1.9.257

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.
Files changed (3) hide show
  1. package/dist/asteroid.js +52 -186
  2. package/dist/core.js +51 -185
  3. package/package.json +1 -1
package/dist/asteroid.js CHANGED
@@ -572,7 +572,7 @@ var COMMANDS = [
572
572
  flag: "warm-pool",
573
573
  type: "json",
574
574
  required: false,
575
- description: "Warm pool configuration. Absent means the environment is not kept warm. Exclusive with warmCache and dedicated.",
575
+ description: "Warm pool configuration. Absent means the environment is not kept warm. Exclusive with warmCache.",
576
576
  fields: [
577
577
  {
578
578
  name: "targetSize",
@@ -670,6 +670,29 @@ var COMMANDS = [
670
670
  description: "On a browser base: a JavaScript expression evaluated in the member's open page. `await` is allowed. It must evaluate, or resolve, to true while the session is live and to false once it is not. Example: `fetch('/api/session', {credentials: 'include'}).then(r => r.ok)`. It runs with no attached execution, so it must not navigate. On a Linux base: a bash script. On a Windows base: a PowerShell script. Exit code 0 means the session is live; any other exit code means it is dead."
671
671
  }
672
672
  ]
673
+ },
674
+ {
675
+ name: "workers",
676
+ flag: "workers",
677
+ type: "json",
678
+ required: false,
679
+ description: "Runs the pool's executions on workers. Needs a browser base and a reusable reuse policy of at most 20 executions per environment. Absent means the members run executions themselves. Omitting it on update keeps the stored workers; set enabled to false to remove them.",
680
+ fields: [
681
+ {
682
+ name: "enabled",
683
+ flag: "enabled",
684
+ type: "boolean",
685
+ required: false,
686
+ description: "False removes the workers. Absent or true keeps them on. A save that omits workers keeps the stored ones, so only false turns them off."
687
+ },
688
+ {
689
+ name: "count",
690
+ flag: "count",
691
+ type: "integer",
692
+ required: false,
693
+ description: "Workers the pool keeps, 1 to 8. Each drives every member environment and takes any execution; add more for volume. Absent means one per member profile, at most 8"
694
+ }
695
+ ]
673
696
  }
674
697
  ]
675
698
  },
@@ -678,7 +701,7 @@ var COMMANDS = [
678
701
  flag: "warm-cache",
679
702
  type: "json",
680
703
  required: false,
681
- description: "Warm cache configuration. Absent means no login agent keeps the profiles' cookies fresh. Exclusive with warmPool and dedicated.",
704
+ description: "Warm cache configuration. Absent means no login agent keeps the profiles' cookies fresh. Exclusive with warmPool.",
682
705
  fields: [
683
706
  {
684
707
  name: "intervalMins",
@@ -748,96 +771,6 @@ var COMMANDS = [
748
771
  description: "Whether executions on the environment save the browser profile when they stop. Off by default: only the login agent saves it, so a run that ends logged out cannot overwrite the session for later runs. The first run that uses its profile's sticky IP saves anyway."
749
772
  }
750
773
  ]
751
- },
752
- {
753
- name: "dedicated",
754
- flag: "dedicated",
755
- type: "json",
756
- required: false,
757
- description: "Admin only, and returned to admins only. Dedicated workers and environments. Absent means no workers are kept. Exclusive with warmPool and warmCache.",
758
- fields: [
759
- {
760
- name: "targetSize",
761
- flag: "target-size",
762
- type: "integer",
763
- required: false,
764
- description: "Baseline number of environments to keep ready outside any scheduled window. 0 drains the custom environment."
765
- },
766
- {
767
- name: "schedule",
768
- flag: "schedule",
769
- type: "json",
770
- required: false,
771
- description: "Hour windows that override the baseline target size. Absent means the baseline applies around the clock.",
772
- fields: [
773
- {
774
- name: "timezone",
775
- flag: "timezone",
776
- type: "string",
777
- required: false,
778
- description: "IANA time zone the windows are evaluated in, such as Europe/London"
779
- },
780
- {
781
- name: "windows",
782
- flag: "windows",
783
- type: "json",
784
- required: false
785
- }
786
- ]
787
- },
788
- {
789
- name: "maxAgeMins",
790
- flag: "max-age-mins",
791
- type: "integer",
792
- required: false,
793
- description: "Member max age in minutes. As for a warm pool, the replacement boots ahead of it. At most 180 on an Anchor browser base, which ends a session at about 4 hours."
794
- },
795
- {
796
- name: "executionsPerEnvironment",
797
- flag: "executions-per-environment",
798
- type: "integer",
799
- required: false,
800
- description: "Executions one environment runs at once. On a browser base they share its active tab"
801
- },
802
- {
803
- name: "workers",
804
- flag: "workers",
805
- type: "integer",
806
- required: false,
807
- description: "Workers the environment keeps, 1 to 8. Each drives every member environment and takes any execution; add more for volume. Absent means one per member profile"
808
- },
809
- {
810
- name: "initialization",
811
- flag: "initialization",
812
- type: "json",
813
- required: false,
814
- description: "Workflow that initialises each member before a worker drives it, such as a sign-in. Absent means a worker drives it as soon as the environment has booted.",
815
- fields: [
816
- {
817
- name: "workflowId",
818
- flag: "workflow-id",
819
- type: "string",
820
- required: false,
821
- description: "The initialising workflow"
822
- },
823
- {
824
- name: "inputs",
825
- flag: "inputs",
826
- type: "json",
827
- required: false,
828
- description: "Fixed inputs for the initialising run",
829
- record: "json"
830
- },
831
- {
832
- name: "successOutcomes",
833
- flag: "success-outcomes",
834
- type: "string[]",
835
- required: false,
836
- description: "Outcomes of the initialising run that count as a success. A run that completes with any other outcome is treated as a failed run: a warm pool tears the member down, a warm cache records a failed login. Each must be an outcome of the agent's published version. Absent or empty means any completed run counts."
837
- }
838
- ]
839
- }
840
- ]
841
774
  }
842
775
  ],
843
776
  files: [],
@@ -921,7 +854,7 @@ var COMMANDS = [
921
854
  command: "custom-environment update",
922
855
  tool: "custom_environment_update",
923
856
  title: "Update custom environment",
924
- description: "Replace a custom environment's configuration. Send the full config, as `custom_environment_get` returns it: a field left out is cleared, except proxy passwords and a managed proxy's provider, which keep their stored values. Changes apply to environments booted afterwards. Turning keep-warm off is refused while members exist: set `warmPool.targetSize` to 0 first and wait for them to retire.",
857
+ description: "Replace a custom environment's configuration. Send the full config, as `custom_environment_get` returns it: a field left out is cleared, except proxy passwords, a managed proxy's provider and `warmPool.workers`, which keep their stored values. Set `warmPool.workers.enabled` to false to remove workers. Changes apply to environments booted afterwards. Turning keep-warm off is refused while members exist: set `warmPool.targetSize` to 0 first and wait for them to retire.",
925
858
  method: "PATCH",
926
859
  path: "/agents/v2/custom-environments/{customEnvironmentId}",
927
860
  args: [
@@ -989,7 +922,7 @@ var COMMANDS = [
989
922
  flag: "warm-pool",
990
923
  type: "json",
991
924
  required: false,
992
- description: "Warm pool configuration. Absent means the environment is not kept warm. Exclusive with warmCache and dedicated.",
925
+ description: "Warm pool configuration. Absent means the environment is not kept warm. Exclusive with warmCache.",
993
926
  fields: [
994
927
  {
995
928
  name: "targetSize",
@@ -1087,6 +1020,29 @@ var COMMANDS = [
1087
1020
  description: "On a browser base: a JavaScript expression evaluated in the member's open page. `await` is allowed. It must evaluate, or resolve, to true while the session is live and to false once it is not. Example: `fetch('/api/session', {credentials: 'include'}).then(r => r.ok)`. It runs with no attached execution, so it must not navigate. On a Linux base: a bash script. On a Windows base: a PowerShell script. Exit code 0 means the session is live; any other exit code means it is dead."
1088
1021
  }
1089
1022
  ]
1023
+ },
1024
+ {
1025
+ name: "workers",
1026
+ flag: "workers",
1027
+ type: "json",
1028
+ required: false,
1029
+ description: "Runs the pool's executions on workers. Needs a browser base and a reusable reuse policy of at most 20 executions per environment. Absent means the members run executions themselves. Omitting it on update keeps the stored workers; set enabled to false to remove them.",
1030
+ fields: [
1031
+ {
1032
+ name: "enabled",
1033
+ flag: "enabled",
1034
+ type: "boolean",
1035
+ required: false,
1036
+ description: "False removes the workers. Absent or true keeps them on. A save that omits workers keeps the stored ones, so only false turns them off."
1037
+ },
1038
+ {
1039
+ name: "count",
1040
+ flag: "count",
1041
+ type: "integer",
1042
+ required: false,
1043
+ description: "Workers the pool keeps, 1 to 8. Each drives every member environment and takes any execution; add more for volume. Absent means one per member profile, at most 8"
1044
+ }
1045
+ ]
1090
1046
  }
1091
1047
  ]
1092
1048
  },
@@ -1095,7 +1051,7 @@ var COMMANDS = [
1095
1051
  flag: "warm-cache",
1096
1052
  type: "json",
1097
1053
  required: false,
1098
- description: "Warm cache configuration. Absent means no login agent keeps the profiles' cookies fresh. Exclusive with warmPool and dedicated.",
1054
+ description: "Warm cache configuration. Absent means no login agent keeps the profiles' cookies fresh. Exclusive with warmPool.",
1099
1055
  fields: [
1100
1056
  {
1101
1057
  name: "intervalMins",
@@ -1165,96 +1121,6 @@ var COMMANDS = [
1165
1121
  description: "Whether executions on the environment save the browser profile when they stop. Off by default: only the login agent saves it, so a run that ends logged out cannot overwrite the session for later runs. The first run that uses its profile's sticky IP saves anyway."
1166
1122
  }
1167
1123
  ]
1168
- },
1169
- {
1170
- name: "dedicated",
1171
- flag: "dedicated",
1172
- type: "json",
1173
- required: false,
1174
- description: "Admin only, and returned to admins only. Dedicated workers and environments. Absent means no workers are kept. Exclusive with warmPool and warmCache.",
1175
- fields: [
1176
- {
1177
- name: "targetSize",
1178
- flag: "target-size",
1179
- type: "integer",
1180
- required: false,
1181
- description: "Baseline number of environments to keep ready outside any scheduled window. 0 drains the custom environment."
1182
- },
1183
- {
1184
- name: "schedule",
1185
- flag: "schedule",
1186
- type: "json",
1187
- required: false,
1188
- description: "Hour windows that override the baseline target size. Absent means the baseline applies around the clock.",
1189
- fields: [
1190
- {
1191
- name: "timezone",
1192
- flag: "timezone",
1193
- type: "string",
1194
- required: false,
1195
- description: "IANA time zone the windows are evaluated in, such as Europe/London"
1196
- },
1197
- {
1198
- name: "windows",
1199
- flag: "windows",
1200
- type: "json",
1201
- required: false
1202
- }
1203
- ]
1204
- },
1205
- {
1206
- name: "maxAgeMins",
1207
- flag: "max-age-mins",
1208
- type: "integer",
1209
- required: false,
1210
- description: "Member max age in minutes. As for a warm pool, the replacement boots ahead of it. At most 180 on an Anchor browser base, which ends a session at about 4 hours."
1211
- },
1212
- {
1213
- name: "executionsPerEnvironment",
1214
- flag: "executions-per-environment",
1215
- type: "integer",
1216
- required: false,
1217
- description: "Executions one environment runs at once. On a browser base they share its active tab"
1218
- },
1219
- {
1220
- name: "workers",
1221
- flag: "workers",
1222
- type: "integer",
1223
- required: false,
1224
- description: "Workers the environment keeps, 1 to 8. Each drives every member environment and takes any execution; add more for volume. Absent means one per member profile"
1225
- },
1226
- {
1227
- name: "initialization",
1228
- flag: "initialization",
1229
- type: "json",
1230
- required: false,
1231
- description: "Workflow that initialises each member before a worker drives it, such as a sign-in. Absent means a worker drives it as soon as the environment has booted.",
1232
- fields: [
1233
- {
1234
- name: "workflowId",
1235
- flag: "workflow-id",
1236
- type: "string",
1237
- required: false,
1238
- description: "The initialising workflow"
1239
- },
1240
- {
1241
- name: "inputs",
1242
- flag: "inputs",
1243
- type: "json",
1244
- required: false,
1245
- description: "Fixed inputs for the initialising run",
1246
- record: "json"
1247
- },
1248
- {
1249
- name: "successOutcomes",
1250
- flag: "success-outcomes",
1251
- type: "string[]",
1252
- required: false,
1253
- description: "Outcomes of the initialising run that count as a success. A run that completes with any other outcome is treated as a failed run: a warm pool tears the member down, a warm cache records a failed login. Each must be an outcome of the agent's published version. Absent or empty means any completed run counts."
1254
- }
1255
- ]
1256
- }
1257
- ]
1258
1124
  }
1259
1125
  ],
1260
1126
  files: [],
@@ -7749,7 +7615,7 @@ var ApiError = class extends Error {
7749
7615
  status;
7750
7616
  body;
7751
7617
  };
7752
- var VERSION = "1.9.242";
7618
+ var VERSION = "1.9.257";
7753
7619
  function problem(status, body, fallback) {
7754
7620
  if (body && typeof body === "object") {
7755
7621
  const record2 = body;
package/dist/core.js CHANGED
@@ -593,7 +593,7 @@ var COMMANDS = [
593
593
  flag: "warm-pool",
594
594
  type: "json",
595
595
  required: false,
596
- description: "Warm pool configuration. Absent means the environment is not kept warm. Exclusive with warmCache and dedicated.",
596
+ description: "Warm pool configuration. Absent means the environment is not kept warm. Exclusive with warmCache.",
597
597
  fields: [
598
598
  {
599
599
  name: "targetSize",
@@ -691,6 +691,29 @@ var COMMANDS = [
691
691
  description: "On a browser base: a JavaScript expression evaluated in the member's open page. `await` is allowed. It must evaluate, or resolve, to true while the session is live and to false once it is not. Example: `fetch('/api/session', {credentials: 'include'}).then(r => r.ok)`. It runs with no attached execution, so it must not navigate. On a Linux base: a bash script. On a Windows base: a PowerShell script. Exit code 0 means the session is live; any other exit code means it is dead."
692
692
  }
693
693
  ]
694
+ },
695
+ {
696
+ name: "workers",
697
+ flag: "workers",
698
+ type: "json",
699
+ required: false,
700
+ description: "Runs the pool's executions on workers. Needs a browser base and a reusable reuse policy of at most 20 executions per environment. Absent means the members run executions themselves. Omitting it on update keeps the stored workers; set enabled to false to remove them.",
701
+ fields: [
702
+ {
703
+ name: "enabled",
704
+ flag: "enabled",
705
+ type: "boolean",
706
+ required: false,
707
+ description: "False removes the workers. Absent or true keeps them on. A save that omits workers keeps the stored ones, so only false turns them off."
708
+ },
709
+ {
710
+ name: "count",
711
+ flag: "count",
712
+ type: "integer",
713
+ required: false,
714
+ description: "Workers the pool keeps, 1 to 8. Each drives every member environment and takes any execution; add more for volume. Absent means one per member profile, at most 8"
715
+ }
716
+ ]
694
717
  }
695
718
  ]
696
719
  },
@@ -699,7 +722,7 @@ var COMMANDS = [
699
722
  flag: "warm-cache",
700
723
  type: "json",
701
724
  required: false,
702
- description: "Warm cache configuration. Absent means no login agent keeps the profiles' cookies fresh. Exclusive with warmPool and dedicated.",
725
+ description: "Warm cache configuration. Absent means no login agent keeps the profiles' cookies fresh. Exclusive with warmPool.",
703
726
  fields: [
704
727
  {
705
728
  name: "intervalMins",
@@ -769,96 +792,6 @@ var COMMANDS = [
769
792
  description: "Whether executions on the environment save the browser profile when they stop. Off by default: only the login agent saves it, so a run that ends logged out cannot overwrite the session for later runs. The first run that uses its profile's sticky IP saves anyway."
770
793
  }
771
794
  ]
772
- },
773
- {
774
- name: "dedicated",
775
- flag: "dedicated",
776
- type: "json",
777
- required: false,
778
- description: "Admin only, and returned to admins only. Dedicated workers and environments. Absent means no workers are kept. Exclusive with warmPool and warmCache.",
779
- fields: [
780
- {
781
- name: "targetSize",
782
- flag: "target-size",
783
- type: "integer",
784
- required: false,
785
- description: "Baseline number of environments to keep ready outside any scheduled window. 0 drains the custom environment."
786
- },
787
- {
788
- name: "schedule",
789
- flag: "schedule",
790
- type: "json",
791
- required: false,
792
- description: "Hour windows that override the baseline target size. Absent means the baseline applies around the clock.",
793
- fields: [
794
- {
795
- name: "timezone",
796
- flag: "timezone",
797
- type: "string",
798
- required: false,
799
- description: "IANA time zone the windows are evaluated in, such as Europe/London"
800
- },
801
- {
802
- name: "windows",
803
- flag: "windows",
804
- type: "json",
805
- required: false
806
- }
807
- ]
808
- },
809
- {
810
- name: "maxAgeMins",
811
- flag: "max-age-mins",
812
- type: "integer",
813
- required: false,
814
- description: "Member max age in minutes. As for a warm pool, the replacement boots ahead of it. At most 180 on an Anchor browser base, which ends a session at about 4 hours."
815
- },
816
- {
817
- name: "executionsPerEnvironment",
818
- flag: "executions-per-environment",
819
- type: "integer",
820
- required: false,
821
- description: "Executions one environment runs at once. On a browser base they share its active tab"
822
- },
823
- {
824
- name: "workers",
825
- flag: "workers",
826
- type: "integer",
827
- required: false,
828
- description: "Workers the environment keeps, 1 to 8. Each drives every member environment and takes any execution; add more for volume. Absent means one per member profile"
829
- },
830
- {
831
- name: "initialization",
832
- flag: "initialization",
833
- type: "json",
834
- required: false,
835
- description: "Workflow that initialises each member before a worker drives it, such as a sign-in. Absent means a worker drives it as soon as the environment has booted.",
836
- fields: [
837
- {
838
- name: "workflowId",
839
- flag: "workflow-id",
840
- type: "string",
841
- required: false,
842
- description: "The initialising workflow"
843
- },
844
- {
845
- name: "inputs",
846
- flag: "inputs",
847
- type: "json",
848
- required: false,
849
- description: "Fixed inputs for the initialising run",
850
- record: "json"
851
- },
852
- {
853
- name: "successOutcomes",
854
- flag: "success-outcomes",
855
- type: "string[]",
856
- required: false,
857
- description: "Outcomes of the initialising run that count as a success. A run that completes with any other outcome is treated as a failed run: a warm pool tears the member down, a warm cache records a failed login. Each must be an outcome of the agent's published version. Absent or empty means any completed run counts."
858
- }
859
- ]
860
- }
861
- ]
862
795
  }
863
796
  ],
864
797
  files: [],
@@ -942,7 +875,7 @@ var COMMANDS = [
942
875
  command: "custom-environment update",
943
876
  tool: "custom_environment_update",
944
877
  title: "Update custom environment",
945
- description: "Replace a custom environment's configuration. Send the full config, as `custom_environment_get` returns it: a field left out is cleared, except proxy passwords and a managed proxy's provider, which keep their stored values. Changes apply to environments booted afterwards. Turning keep-warm off is refused while members exist: set `warmPool.targetSize` to 0 first and wait for them to retire.",
878
+ description: "Replace a custom environment's configuration. Send the full config, as `custom_environment_get` returns it: a field left out is cleared, except proxy passwords, a managed proxy's provider and `warmPool.workers`, which keep their stored values. Set `warmPool.workers.enabled` to false to remove workers. Changes apply to environments booted afterwards. Turning keep-warm off is refused while members exist: set `warmPool.targetSize` to 0 first and wait for them to retire.",
946
879
  method: "PATCH",
947
880
  path: "/agents/v2/custom-environments/{customEnvironmentId}",
948
881
  args: [
@@ -1010,7 +943,7 @@ var COMMANDS = [
1010
943
  flag: "warm-pool",
1011
944
  type: "json",
1012
945
  required: false,
1013
- description: "Warm pool configuration. Absent means the environment is not kept warm. Exclusive with warmCache and dedicated.",
946
+ description: "Warm pool configuration. Absent means the environment is not kept warm. Exclusive with warmCache.",
1014
947
  fields: [
1015
948
  {
1016
949
  name: "targetSize",
@@ -1108,6 +1041,29 @@ var COMMANDS = [
1108
1041
  description: "On a browser base: a JavaScript expression evaluated in the member's open page. `await` is allowed. It must evaluate, or resolve, to true while the session is live and to false once it is not. Example: `fetch('/api/session', {credentials: 'include'}).then(r => r.ok)`. It runs with no attached execution, so it must not navigate. On a Linux base: a bash script. On a Windows base: a PowerShell script. Exit code 0 means the session is live; any other exit code means it is dead."
1109
1042
  }
1110
1043
  ]
1044
+ },
1045
+ {
1046
+ name: "workers",
1047
+ flag: "workers",
1048
+ type: "json",
1049
+ required: false,
1050
+ description: "Runs the pool's executions on workers. Needs a browser base and a reusable reuse policy of at most 20 executions per environment. Absent means the members run executions themselves. Omitting it on update keeps the stored workers; set enabled to false to remove them.",
1051
+ fields: [
1052
+ {
1053
+ name: "enabled",
1054
+ flag: "enabled",
1055
+ type: "boolean",
1056
+ required: false,
1057
+ description: "False removes the workers. Absent or true keeps them on. A save that omits workers keeps the stored ones, so only false turns them off."
1058
+ },
1059
+ {
1060
+ name: "count",
1061
+ flag: "count",
1062
+ type: "integer",
1063
+ required: false,
1064
+ description: "Workers the pool keeps, 1 to 8. Each drives every member environment and takes any execution; add more for volume. Absent means one per member profile, at most 8"
1065
+ }
1066
+ ]
1111
1067
  }
1112
1068
  ]
1113
1069
  },
@@ -1116,7 +1072,7 @@ var COMMANDS = [
1116
1072
  flag: "warm-cache",
1117
1073
  type: "json",
1118
1074
  required: false,
1119
- description: "Warm cache configuration. Absent means no login agent keeps the profiles' cookies fresh. Exclusive with warmPool and dedicated.",
1075
+ description: "Warm cache configuration. Absent means no login agent keeps the profiles' cookies fresh. Exclusive with warmPool.",
1120
1076
  fields: [
1121
1077
  {
1122
1078
  name: "intervalMins",
@@ -1186,96 +1142,6 @@ var COMMANDS = [
1186
1142
  description: "Whether executions on the environment save the browser profile when they stop. Off by default: only the login agent saves it, so a run that ends logged out cannot overwrite the session for later runs. The first run that uses its profile's sticky IP saves anyway."
1187
1143
  }
1188
1144
  ]
1189
- },
1190
- {
1191
- name: "dedicated",
1192
- flag: "dedicated",
1193
- type: "json",
1194
- required: false,
1195
- description: "Admin only, and returned to admins only. Dedicated workers and environments. Absent means no workers are kept. Exclusive with warmPool and warmCache.",
1196
- fields: [
1197
- {
1198
- name: "targetSize",
1199
- flag: "target-size",
1200
- type: "integer",
1201
- required: false,
1202
- description: "Baseline number of environments to keep ready outside any scheduled window. 0 drains the custom environment."
1203
- },
1204
- {
1205
- name: "schedule",
1206
- flag: "schedule",
1207
- type: "json",
1208
- required: false,
1209
- description: "Hour windows that override the baseline target size. Absent means the baseline applies around the clock.",
1210
- fields: [
1211
- {
1212
- name: "timezone",
1213
- flag: "timezone",
1214
- type: "string",
1215
- required: false,
1216
- description: "IANA time zone the windows are evaluated in, such as Europe/London"
1217
- },
1218
- {
1219
- name: "windows",
1220
- flag: "windows",
1221
- type: "json",
1222
- required: false
1223
- }
1224
- ]
1225
- },
1226
- {
1227
- name: "maxAgeMins",
1228
- flag: "max-age-mins",
1229
- type: "integer",
1230
- required: false,
1231
- description: "Member max age in minutes. As for a warm pool, the replacement boots ahead of it. At most 180 on an Anchor browser base, which ends a session at about 4 hours."
1232
- },
1233
- {
1234
- name: "executionsPerEnvironment",
1235
- flag: "executions-per-environment",
1236
- type: "integer",
1237
- required: false,
1238
- description: "Executions one environment runs at once. On a browser base they share its active tab"
1239
- },
1240
- {
1241
- name: "workers",
1242
- flag: "workers",
1243
- type: "integer",
1244
- required: false,
1245
- description: "Workers the environment keeps, 1 to 8. Each drives every member environment and takes any execution; add more for volume. Absent means one per member profile"
1246
- },
1247
- {
1248
- name: "initialization",
1249
- flag: "initialization",
1250
- type: "json",
1251
- required: false,
1252
- description: "Workflow that initialises each member before a worker drives it, such as a sign-in. Absent means a worker drives it as soon as the environment has booted.",
1253
- fields: [
1254
- {
1255
- name: "workflowId",
1256
- flag: "workflow-id",
1257
- type: "string",
1258
- required: false,
1259
- description: "The initialising workflow"
1260
- },
1261
- {
1262
- name: "inputs",
1263
- flag: "inputs",
1264
- type: "json",
1265
- required: false,
1266
- description: "Fixed inputs for the initialising run",
1267
- record: "json"
1268
- },
1269
- {
1270
- name: "successOutcomes",
1271
- flag: "success-outcomes",
1272
- type: "string[]",
1273
- required: false,
1274
- description: "Outcomes of the initialising run that count as a success. A run that completes with any other outcome is treated as a failed run: a warm pool tears the member down, a warm cache records a failed login. Each must be an outcome of the agent's published version. Absent or empty means any completed run counts."
1275
- }
1276
- ]
1277
- }
1278
- ]
1279
1145
  }
1280
1146
  ],
1281
1147
  files: [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asteroidai/cli",
3
- "version": "1.9.242",
3
+ "version": "1.9.257",
4
4
  "description": "The asteroid command-line interface for the Asteroid platform.",
5
5
  "type": "module",
6
6
  "license": "MIT",