@asteroidai/cli 1.9.95 → 1.9.98

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. A run that uses its profile's sticky IP saves anyway."
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. The first 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. A run that uses its profile's sticky IP saves anyway."
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. The first 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",
@@ -6629,7 +6649,7 @@ var ApiError = class extends Error {
6629
6649
  status;
6630
6650
  body;
6631
6651
  };
6632
- var VERSION = "1.9.95";
6652
+ var VERSION = "1.9.98";
6633
6653
  function problem(status, body, fallback) {
6634
6654
  if (body && typeof body === "object") {
6635
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. A run that uses its profile's sticky IP saves anyway."
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. The first 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. A run that uses its profile's sticky IP saves anyway."
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. The first 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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asteroidai/cli",
3
- "version": "1.9.95",
3
+ "version": "1.9.98",
4
4
  "description": "The asteroid command-line interface for the Asteroid platform.",
5
5
  "type": "module",
6
6
  "license": "MIT",