@work-shape/catalyst-cli 0.8.0-rc.37 → 0.8.0-rc.38
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/index.d.ts +10 -3
- package/dist/index.js +19 -6
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -72,10 +72,11 @@ interface AgentConfig {
|
|
|
72
72
|
*/
|
|
73
73
|
ownServers?: boolean;
|
|
74
74
|
/**
|
|
75
|
-
* The other agents this agent may start as subagents with `run_agent`, besides itself
|
|
76
|
-
* is started only where the person may use it in the
|
|
75
|
+
* The other agents this agent may start as subagents with `run_agent`, besides itself, or
|
|
76
|
+
* `"*"` for every agent (CR-3m). Each is started only where the person may use it in the
|
|
77
|
+
* conversation's workspace.
|
|
77
78
|
*/
|
|
78
|
-
subagentNames?: string[];
|
|
79
|
+
subagentNames?: string[] | "*";
|
|
79
80
|
skillNames: string[];
|
|
80
81
|
/**
|
|
81
82
|
* The Knowledge Bases the agent answers from, by id. However many it lists, the agent has one
|
|
@@ -13546,6 +13547,7 @@ declare const connectionOperations: {
|
|
|
13546
13547
|
}>;
|
|
13547
13548
|
lastTestedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
13548
13549
|
lastErrorCode: z.ZodOptional<z.ZodString>;
|
|
13550
|
+
recordedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
13549
13551
|
secret: z.ZodObject<{
|
|
13550
13552
|
state: z.ZodEnum<{
|
|
13551
13553
|
set: "set";
|
|
@@ -19094,6 +19096,11 @@ declare const conversationOperations: {
|
|
|
19094
19096
|
parentRunId: z.ZodString;
|
|
19095
19097
|
toolCallId: z.ZodString;
|
|
19096
19098
|
agentName: z.ZodString;
|
|
19099
|
+
agentDisplayName: z.ZodOptional<z.ZodString>;
|
|
19100
|
+
model: z.ZodOptional<z.ZodObject<{
|
|
19101
|
+
model: z.ZodString;
|
|
19102
|
+
label: z.ZodOptional<z.ZodString>;
|
|
19103
|
+
}, z.core.$strip>>;
|
|
19097
19104
|
description: z.ZodString;
|
|
19098
19105
|
status: z.ZodEnum<{
|
|
19099
19106
|
failed: "failed";
|
package/dist/index.js
CHANGED
|
@@ -1051,12 +1051,16 @@ var agentConfigSchema = z.object({
|
|
|
1051
1051
|
*/
|
|
1052
1052
|
ownServers: z.boolean().optional(),
|
|
1053
1053
|
/**
|
|
1054
|
-
* The agents this agent may start as subagents through `run_agent`, beside itself
|
|
1055
|
-
* agent whose `toolNames` lists
|
|
1054
|
+
* The agents this agent may start as subagents through `run_agent`, beside itself, or `"*"`
|
|
1055
|
+
* for every agent the person may use (CR-3m). Only an agent whose `toolNames` lists
|
|
1056
|
+
* `run_agent` starts any.
|
|
1056
1057
|
*/
|
|
1057
|
-
subagentNames: z.
|
|
1058
|
-
|
|
1059
|
-
|
|
1058
|
+
subagentNames: z.union([
|
|
1059
|
+
z.literal("*"),
|
|
1060
|
+
z.array(agentNameSchema).refine((names2) => new Set(names2).size === names2.length, {
|
|
1061
|
+
message: "A subagent is listed once"
|
|
1062
|
+
})
|
|
1063
|
+
]).optional(),
|
|
1060
1064
|
skillNames: z.array(skillNameSchema).default([]),
|
|
1061
1065
|
knowledgeBases: z.array(z.string().min(1)).refine((names2) => new Set(names2).size === names2.length, {
|
|
1062
1066
|
message: "A Knowledge Base is listed once"
|
|
@@ -2849,7 +2853,7 @@ import { z as z68 } from "zod";
|
|
|
2849
2853
|
// ../api-contract/package.json
|
|
2850
2854
|
var package_default = {
|
|
2851
2855
|
name: "@work-shape/catalyst-api-contract",
|
|
2852
|
-
version: "0.8.0-rc.
|
|
2856
|
+
version: "0.8.0-rc.38",
|
|
2853
2857
|
license: "MIT",
|
|
2854
2858
|
repository: {
|
|
2855
2859
|
type: "git",
|
|
@@ -6470,6 +6474,10 @@ var subagentSummarySchema = z33.object({
|
|
|
6470
6474
|
parentRunId: z33.string(),
|
|
6471
6475
|
toolCallId: z33.string(),
|
|
6472
6476
|
agentName: z33.string(),
|
|
6477
|
+
/** The agent's display name in the reader's locale; its name for an agent that is gone. */
|
|
6478
|
+
agentDisplayName: z33.string().optional(),
|
|
6479
|
+
/** The model the subagent runs on: its id, and the label release config gives it. */
|
|
6480
|
+
model: z33.object({ model: z33.string(), label: z33.string().optional() }).optional(),
|
|
6473
6481
|
description: z33.string(),
|
|
6474
6482
|
status: agentRunStatusSchema,
|
|
6475
6483
|
startedAt: timestampSchema,
|
|
@@ -9099,6 +9107,11 @@ var connectionDetailSchema = z44.object({
|
|
|
9099
9107
|
health: z44.enum(CONNECTION_HEALTH_STATES),
|
|
9100
9108
|
lastTestedAt: timestampSchema.optional(),
|
|
9101
9109
|
lastErrorCode: z44.string().optional(),
|
|
9110
|
+
/**
|
|
9111
|
+
* When the instance last wrote the Connection's state: a test, a discovery, a call that
|
|
9112
|
+
* failed, or a write that reset it. Absent while nothing was written.
|
|
9113
|
+
*/
|
|
9114
|
+
recordedAt: timestampSchema.optional(),
|
|
9102
9115
|
secret: connectionSecretStateSchema,
|
|
9103
9116
|
/** One credential for everyone who may use the Connection. The page says so. */
|
|
9104
9117
|
sharedCredential: z44.boolean(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@work-shape/catalyst-cli",
|
|
3
|
-
"version": "0.8.0-rc.
|
|
3
|
+
"version": "0.8.0-rc.38",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"@types/node": "^24.13.1",
|
|
41
41
|
"tsup": "^8.5.1",
|
|
42
42
|
"typescript": "^6.0.3",
|
|
43
|
-
"@work-shape/catalyst-api-client": "0.8.0-rc.
|
|
44
|
-
"@work-shape/catalyst-api-contract": "0.8.0-rc.
|
|
45
|
-
"@work-shape/catalyst-asset-schemas": "0.8.0-rc.
|
|
43
|
+
"@work-shape/catalyst-api-client": "0.8.0-rc.38",
|
|
44
|
+
"@work-shape/catalyst-api-contract": "0.8.0-rc.38",
|
|
45
|
+
"@work-shape/catalyst-asset-schemas": "0.8.0-rc.38"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "tsup",
|