@asteroidai/cli 1.9.80 → 1.9.96

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/asteroid.js CHANGED
@@ -378,7 +378,7 @@ var COMMANDS = [
378
378
  flag: "executions-write-back",
379
379
  type: "boolean",
380
380
  required: false,
381
- 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. Must be on with an Anchor sticky IP, which saves every session."
381
+ 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. A run that uses its profile's sticky IP saves anyway."
382
382
  }
383
383
  ]
384
384
  },
@@ -795,7 +795,7 @@ var COMMANDS = [
795
795
  flag: "executions-write-back",
796
796
  type: "boolean",
797
797
  required: false,
798
- 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. Must be on with an Anchor sticky IP, which saves every session."
798
+ 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. A run that uses its profile's sticky IP saves anyway."
799
799
  }
800
800
  ]
801
801
  },
@@ -1903,6 +1903,26 @@ var COMMANDS = [
1903
1903
  readOnly: true,
1904
1904
  destructive: false
1905
1905
  },
1906
+ {
1907
+ command: "portal-skills add",
1908
+ tool: "portal_skills_add",
1909
+ title: "Add portal skills",
1910
+ description: "Add a portal's skills to an organization, by portal id. It is general knowledge about how a portal works. Needs a Startup plan or above. Astro loads the portal's skills once it is added. Adding one the organization already has is a no-op.",
1911
+ method: "POST",
1912
+ path: "/agents/v2/portal-skills/{portalId}",
1913
+ args: [
1914
+ {
1915
+ name: "portalId",
1916
+ flag: "portal-id",
1917
+ type: "string",
1918
+ required: true
1919
+ }
1920
+ ],
1921
+ query: [],
1922
+ binary: false,
1923
+ readOnly: false,
1924
+ destructive: false
1925
+ },
1906
1926
  {
1907
1927
  command: "profile clear-cache",
1908
1928
  tool: "profile_clear_browser_cache",
@@ -1952,6 +1972,13 @@ var COMMANDS = [
1952
1972
  type: "string",
1953
1973
  required: true
1954
1974
  },
1975
+ {
1976
+ name: "stickyIP",
1977
+ flag: "sticky-ip",
1978
+ type: "boolean",
1979
+ required: false,
1980
+ description: "Give browser runs on this profile one dedicated IP. Applies when the environment uses the managed proxy or no proxy."
1981
+ },
1955
1982
  {
1956
1983
  name: "secretIds",
1957
1984
  flag: "secret-ids",
@@ -2175,6 +2202,13 @@ var COMMANDS = [
2175
2202
  type: "string",
2176
2203
  required: false
2177
2204
  },
2205
+ {
2206
+ name: "stickyIP",
2207
+ flag: "sticky-ip",
2208
+ type: "boolean",
2209
+ required: false,
2210
+ description: "Turn the dedicated IP on or off. A change clears the profile's saved browser state, and is refused while a run uses the profile."
2211
+ },
2178
2212
  {
2179
2213
  name: "secretIds",
2180
2214
  flag: "secret-ids",
@@ -6615,7 +6649,7 @@ var ApiError = class extends Error {
6615
6649
  status;
6616
6650
  body;
6617
6651
  };
6618
- var VERSION = "1.9.80";
6652
+ var VERSION = "1.9.96";
6619
6653
  function problem(status, body, fallback) {
6620
6654
  if (body && typeof body === "object") {
6621
6655
  const record2 = body;
package/dist/core.js CHANGED
@@ -399,7 +399,7 @@ var COMMANDS = [
399
399
  flag: "executions-write-back",
400
400
  type: "boolean",
401
401
  required: false,
402
- 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. Must be on with an Anchor sticky IP, which saves every session."
402
+ 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. A run that uses its profile's sticky IP saves anyway."
403
403
  }
404
404
  ]
405
405
  },
@@ -816,7 +816,7 @@ var COMMANDS = [
816
816
  flag: "executions-write-back",
817
817
  type: "boolean",
818
818
  required: false,
819
- 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. Must be on with an Anchor sticky IP, which saves every session."
819
+ 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. A run that uses its profile's sticky IP saves anyway."
820
820
  }
821
821
  ]
822
822
  },
@@ -1924,6 +1924,26 @@ var COMMANDS = [
1924
1924
  readOnly: true,
1925
1925
  destructive: false
1926
1926
  },
1927
+ {
1928
+ command: "portal-skills add",
1929
+ tool: "portal_skills_add",
1930
+ title: "Add portal skills",
1931
+ description: "Add a portal's skills to an organization, by portal id. It is general knowledge about how a portal works. Needs a Startup plan or above. Astro loads the portal's skills once it is added. Adding one the organization already has is a no-op.",
1932
+ method: "POST",
1933
+ path: "/agents/v2/portal-skills/{portalId}",
1934
+ args: [
1935
+ {
1936
+ name: "portalId",
1937
+ flag: "portal-id",
1938
+ type: "string",
1939
+ required: true
1940
+ }
1941
+ ],
1942
+ query: [],
1943
+ binary: false,
1944
+ readOnly: false,
1945
+ destructive: false
1946
+ },
1927
1947
  {
1928
1948
  command: "profile clear-cache",
1929
1949
  tool: "profile_clear_browser_cache",
@@ -1973,6 +1993,13 @@ var COMMANDS = [
1973
1993
  type: "string",
1974
1994
  required: true
1975
1995
  },
1996
+ {
1997
+ name: "stickyIP",
1998
+ flag: "sticky-ip",
1999
+ type: "boolean",
2000
+ required: false,
2001
+ description: "Give browser runs on this profile one dedicated IP. Applies when the environment uses the managed proxy or no proxy."
2002
+ },
1976
2003
  {
1977
2004
  name: "secretIds",
1978
2005
  flag: "secret-ids",
@@ -2196,6 +2223,13 @@ var COMMANDS = [
2196
2223
  type: "string",
2197
2224
  required: false
2198
2225
  },
2226
+ {
2227
+ name: "stickyIP",
2228
+ flag: "sticky-ip",
2229
+ type: "boolean",
2230
+ required: false,
2231
+ description: "Turn the dedicated IP on or off. A change clears the profile's saved browser state, and is refused while a run uses the profile."
2232
+ },
2199
2233
  {
2200
2234
  name: "secretIds",
2201
2235
  flag: "secret-ids",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asteroidai/cli",
3
- "version": "1.9.80",
3
+ "version": "1.9.96",
4
4
  "description": "The asteroid command-line interface for the Asteroid platform.",
5
5
  "type": "module",
6
6
  "license": "MIT",