@asteroidai/cli 1.9.438 → 1.9.446

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
@@ -2423,7 +2423,7 @@ var COMMANDS = [
2423
2423
  command: "memory create",
2424
2424
  tool: "memory_create",
2425
2425
  title: "Create memory",
2426
- description: "Save something the next agent in this organization needs to know: how a portal behaves, why a workflow is built the way it is, a customer's or facility's rules. Give a one-line `description` and plain-text `content`. Link the `portalId` (from `skills_list`) or `portal` name, and the `workflowId`, when the memory is about them, and add `tags`. Run `memory_list` first and update a memory that already covers it instead of adding another. Never store patient names, member IDs, dates of birth or anything else about one patient or case: keep only what helps the next agent build or fix a workflow.",
2426
+ description: "Save something the next agent in this organization needs to know: how a portal behaves, why a workflow is built the way it is, a customer's or facility's rules. Give a one-line `description` and plain-text `content`. Link the `portalId` (from `skills_list`) or `portal` name when the memory is about a portal, and add `tags`. Set `workflowId` only when the memory is about how that one workflow works: leave it out for portal facts and anything another workflow could use. Run `memory_list` first and update a memory that already covers it instead of adding another. Never store patient names, member IDs, dates of birth or anything else about one patient or case: keep only what helps the next agent build or fix a workflow.",
2427
2427
  method: "POST",
2428
2428
  path: "/astro/v2/memory",
2429
2429
  args: [],
@@ -2468,7 +2468,7 @@ var COMMANDS = [
2468
2468
  flag: "workflow-id",
2469
2469
  type: "string",
2470
2470
  required: false,
2471
- description: "The workflow the memory is about."
2471
+ description: "The workflow the memory is about, set only when it is about how that one workflow works. Portal facts, and anything another workflow could use, have none."
2472
2472
  },
2473
2473
  {
2474
2474
  name: "tags",
@@ -2526,7 +2526,7 @@ var COMMANDS = [
2526
2526
  command: "memory list",
2527
2527
  tool: "memory_list",
2528
2528
  title: "List memory",
2529
- description: "List the organization's memory: what its agents learned while building, one line per memory with its `description`, linked `portal`, `portalId`, `workflowId` and `tags`, newest first. Call it once at the start of a conversation, before other work, and pass `nextCursor` as `cursor` while one comes back. Filter by `workflowId`, `portalId` or `tag`, or search with `query`. `memory_get` returns a memory's content.",
2529
+ description: "List the organization's memory: what its agents learned while building, one line per memory with its `description`, linked `portal`, `portalId`, `workflowId` and `tags`, newest first. Call it once at the start of a conversation, before other work, and pass `nextCursor` as `cursor` while one comes back. Filter by `workflowId`, `portalId` or `tag`, or search with `query`. A `workflowId` filter leaves out portal facts, which have no workflow. `memory_get` returns a memory's content.",
2530
2530
  method: "GET",
2531
2531
  path: "/astro/v2/memory",
2532
2532
  args: [],
@@ -2543,7 +2543,7 @@ var COMMANDS = [
2543
2543
  flag: "workflow-id",
2544
2544
  type: "string",
2545
2545
  required: false,
2546
- description: "Only memories about this workflow."
2546
+ description: "Only memories linked to this workflow. Portal facts have no workflow, so this filter leaves them out."
2547
2547
  },
2548
2548
  {
2549
2549
  name: "tag",
@@ -7376,7 +7376,7 @@ var BUILTINS = [
7376
7376
  {
7377
7377
  command: "auth token",
7378
7378
  usage: "asteroid auth token",
7379
- description: 'Print the access token the CLI sends for the active organization, refreshed from your sign-in when needed. Like `gh auth token`, it lets a script call the API as you: `curl -H "Authorization: Bearer $(asteroid auth token)" ...`. The token lasts a few minutes, so fetch it right before each call. With `--json`, also prints when it expires and which organization it acts in.',
7379
+ description: 'Print the access token the CLI sends for the active organization, refreshed from your sign-in when needed. Like `gh auth token`, it lets a script call the API as you: `curl -H "Authorization: Bearer $(asteroid auth token)" ...`. A sign-in token lasts a few minutes, so fetch it right before each call. With staff access from `asteroid use --reason`, it prints the staff token, which lasts up to 8 hours. With `--json`, also prints when it expires, which organization it acts in and whether it is a staff token. Unset `ASTEROID_API_KEY` first: an API key has no access token, so the command refuses it.',
7380
7380
  args: 0
7381
7381
  },
7382
7382
  {
@@ -8119,7 +8119,7 @@ var ApiError = class extends Error {
8119
8119
  status;
8120
8120
  body;
8121
8121
  };
8122
- var VERSION = "1.9.438";
8122
+ var VERSION = "1.9.446";
8123
8123
  function problem(status, body, fallback) {
8124
8124
  if (body && typeof body === "object") {
8125
8125
  const record2 = body;
package/dist/core.js CHANGED
@@ -2444,7 +2444,7 @@ var COMMANDS = [
2444
2444
  command: "memory create",
2445
2445
  tool: "memory_create",
2446
2446
  title: "Create memory",
2447
- description: "Save something the next agent in this organization needs to know: how a portal behaves, why a workflow is built the way it is, a customer's or facility's rules. Give a one-line `description` and plain-text `content`. Link the `portalId` (from `skills_list`) or `portal` name, and the `workflowId`, when the memory is about them, and add `tags`. Run `memory_list` first and update a memory that already covers it instead of adding another. Never store patient names, member IDs, dates of birth or anything else about one patient or case: keep only what helps the next agent build or fix a workflow.",
2447
+ description: "Save something the next agent in this organization needs to know: how a portal behaves, why a workflow is built the way it is, a customer's or facility's rules. Give a one-line `description` and plain-text `content`. Link the `portalId` (from `skills_list`) or `portal` name when the memory is about a portal, and add `tags`. Set `workflowId` only when the memory is about how that one workflow works: leave it out for portal facts and anything another workflow could use. Run `memory_list` first and update a memory that already covers it instead of adding another. Never store patient names, member IDs, dates of birth or anything else about one patient or case: keep only what helps the next agent build or fix a workflow.",
2448
2448
  method: "POST",
2449
2449
  path: "/astro/v2/memory",
2450
2450
  args: [],
@@ -2489,7 +2489,7 @@ var COMMANDS = [
2489
2489
  flag: "workflow-id",
2490
2490
  type: "string",
2491
2491
  required: false,
2492
- description: "The workflow the memory is about."
2492
+ description: "The workflow the memory is about, set only when it is about how that one workflow works. Portal facts, and anything another workflow could use, have none."
2493
2493
  },
2494
2494
  {
2495
2495
  name: "tags",
@@ -2547,7 +2547,7 @@ var COMMANDS = [
2547
2547
  command: "memory list",
2548
2548
  tool: "memory_list",
2549
2549
  title: "List memory",
2550
- description: "List the organization's memory: what its agents learned while building, one line per memory with its `description`, linked `portal`, `portalId`, `workflowId` and `tags`, newest first. Call it once at the start of a conversation, before other work, and pass `nextCursor` as `cursor` while one comes back. Filter by `workflowId`, `portalId` or `tag`, or search with `query`. `memory_get` returns a memory's content.",
2550
+ description: "List the organization's memory: what its agents learned while building, one line per memory with its `description`, linked `portal`, `portalId`, `workflowId` and `tags`, newest first. Call it once at the start of a conversation, before other work, and pass `nextCursor` as `cursor` while one comes back. Filter by `workflowId`, `portalId` or `tag`, or search with `query`. A `workflowId` filter leaves out portal facts, which have no workflow. `memory_get` returns a memory's content.",
2551
2551
  method: "GET",
2552
2552
  path: "/astro/v2/memory",
2553
2553
  args: [],
@@ -2564,7 +2564,7 @@ var COMMANDS = [
2564
2564
  flag: "workflow-id",
2565
2565
  type: "string",
2566
2566
  required: false,
2567
- description: "Only memories about this workflow."
2567
+ description: "Only memories linked to this workflow. Portal facts have no workflow, so this filter leaves them out."
2568
2568
  },
2569
2569
  {
2570
2570
  name: "tag",
@@ -7137,7 +7137,7 @@ var BUILTINS = [
7137
7137
  {
7138
7138
  command: "auth token",
7139
7139
  usage: "asteroid auth token",
7140
- description: 'Print the access token the CLI sends for the active organization, refreshed from your sign-in when needed. Like `gh auth token`, it lets a script call the API as you: `curl -H "Authorization: Bearer $(asteroid auth token)" ...`. The token lasts a few minutes, so fetch it right before each call. With `--json`, also prints when it expires and which organization it acts in.',
7140
+ description: 'Print the access token the CLI sends for the active organization, refreshed from your sign-in when needed. Like `gh auth token`, it lets a script call the API as you: `curl -H "Authorization: Bearer $(asteroid auth token)" ...`. A sign-in token lasts a few minutes, so fetch it right before each call. With staff access from `asteroid use --reason`, it prints the staff token, which lasts up to 8 hours. With `--json`, also prints when it expires, which organization it acts in and whether it is a staff token. Unset `ASTEROID_API_KEY` first: an API key has no access token, so the command refuses it.',
7141
7141
  args: 0
7142
7142
  },
7143
7143
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asteroidai/cli",
3
- "version": "1.9.438",
3
+ "version": "1.9.446",
4
4
  "description": "The asteroid command-line interface for the Asteroid platform.",
5
5
  "type": "module",
6
6
  "license": "MIT",