@asteroidai/cli 1.9.440 → 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 +5 -5
- package/dist/core.js +4 -4
- package/package.json +1 -1
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
|
|
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
|
|
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",
|
|
@@ -8119,7 +8119,7 @@ var ApiError = class extends Error {
|
|
|
8119
8119
|
status;
|
|
8120
8120
|
body;
|
|
8121
8121
|
};
|
|
8122
|
-
var VERSION = "1.9.
|
|
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
|
|
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
|
|
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",
|