@work-shape/catalyst-cli 0.8.0-rc.31 → 0.8.0-rc.33
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/README.md +2 -2
- package/dist/index.d.ts +553 -15
- package/dist/index.js +647 -129
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -65,6 +65,12 @@ interface AgentConfig {
|
|
|
65
65
|
modelReasoningEfforts?: Record<string, ReasoningEffortConfig>;
|
|
66
66
|
maxSteps?: number;
|
|
67
67
|
toolNames: string[];
|
|
68
|
+
/**
|
|
69
|
+
* Whether a run its person starts in their own private chat is offered the tools of the MCP
|
|
70
|
+
* servers that person added for themselves, in the group "Deine MCP-Server" (PMCP-4). Unset
|
|
71
|
+
* is on; `false` keeps outside tools away from an agent whose instructions must not meet them.
|
|
72
|
+
*/
|
|
73
|
+
ownServers?: boolean;
|
|
68
74
|
/**
|
|
69
75
|
* The other agents this agent may start as subagents with `run_agent`, besides itself. Each
|
|
70
76
|
* is started only where the person may use it in the conversation's workspace.
|
|
@@ -158,7 +164,7 @@ type OperationScope = Exclude<FirstPartyAuthScope, "*">;
|
|
|
158
164
|
* Every right of the platform, one file per domain under `contract-values/`. The order is kept:
|
|
159
165
|
* `GRANTABLE_ACTIONS` filters it, and the rights dialog lists rights in it.
|
|
160
166
|
*/
|
|
161
|
-
declare const ACTIONS: readonly ["agent.read", "agent.write", "agent.publish", "agent.approve", "agent.delete", "agent.use", "skill.read", "skill.write", "skill.publish", "skill.delete", "skill.approve", "connection.read", "connection.use", "connection.write", "connection.delete", "connection.approve", "app.read", "app.write", "app.publish", "app.approve", "app.delete", "app.use", "workflow.read", "workflow.write", "workflow.publish", "workflow.approve", "workflow.delete", "workflow.use", "workflow.read_run_data", "data_store.read", "data_store.write", "data_store.publish", "data_store.delete", "data_store.insert", "data_store.execute", "data_store.records", "knowledge_base.read", "knowledge_base.write", "knowledge_base.ingest", "knowledge_base.publish", "knowledge_base.delete", "knowledge_base.use", "mail_sender.use", "guardrail.read", "guardrail.write", "guardrail.publish", "guardrail.delete", "operations.approve", "feedback.review", "users.manage", "users.delete", "usage.view", "limits.manage", "policy.manage", "usage.view_users", "audit.view", "system.view", "jobs.retry", "api_access.manage", "service_principals.manage", "agent_models.manage", "roles.edit_built_in", "assets.release", "builder", "publisher", "project.read", "project.write", "project.delete"];
|
|
167
|
+
declare const ACTIONS: readonly ["agent.read", "agent.write", "agent.publish", "agent.approve", "agent.delete", "agent.use", "skill.read", "skill.write", "skill.publish", "skill.delete", "skill.approve", "connection.read", "connection.use", "connection.write", "connection.delete", "connection.approve", "connection.add_own", "app.read", "app.write", "app.publish", "app.approve", "app.delete", "app.use", "workflow.read", "workflow.write", "workflow.publish", "workflow.approve", "workflow.delete", "workflow.use", "workflow.read_run_data", "data_store.read", "data_store.write", "data_store.publish", "data_store.delete", "data_store.insert", "data_store.execute", "data_store.records", "knowledge_base.read", "knowledge_base.write", "knowledge_base.ingest", "knowledge_base.publish", "knowledge_base.delete", "knowledge_base.use", "mail_sender.use", "guardrail.read", "guardrail.write", "guardrail.publish", "guardrail.delete", "operations.approve", "feedback.review", "users.manage", "users.delete", "usage.view", "limits.manage", "policy.manage", "usage.view_users", "audit.view", "system.view", "jobs.retry", "api_access.manage", "service_principals.manage", "agent_models.manage", "roles.edit_built_in", "assets.release", "builder", "publisher", "project.read", "project.write", "project.delete"];
|
|
162
168
|
type PlatformAction = (typeof ACTIONS)[number];
|
|
163
169
|
type OperationEffect = (typeof OPERATION_EFFECTS)[number];
|
|
164
170
|
declare const OPERATION_EFFECTS: readonly ["reading", "changing"];
|
|
@@ -3623,6 +3629,7 @@ declare const agentOperations: {
|
|
|
3623
3629
|
mode: zod.ZodEnum<{
|
|
3624
3630
|
all: "all";
|
|
3625
3631
|
selected: "selected";
|
|
3632
|
+
all_except: "all_except";
|
|
3626
3633
|
}>;
|
|
3627
3634
|
personalWorkspaces: zod.ZodBoolean;
|
|
3628
3635
|
collaborationWorkspaceIds: zod.ZodArray<zod.ZodString>;
|
|
@@ -4182,6 +4189,13 @@ declare const agentOperations: {
|
|
|
4182
4189
|
}, zod_v4_core.$strip>>;
|
|
4183
4190
|
creationTarget: zod.ZodOptional<zod.ZodLiteral<"instance">>;
|
|
4184
4191
|
projectId: zod.ZodOptional<zod.ZodString>;
|
|
4192
|
+
people: zod.ZodArray<zod.ZodObject<{
|
|
4193
|
+
userId: zod.ZodString;
|
|
4194
|
+
displayLabel: zod.ZodString;
|
|
4195
|
+
addedAt: zod.ZodISODateTime;
|
|
4196
|
+
deactivated: zod.ZodOptional<zod.ZodLiteral<true>>;
|
|
4197
|
+
}, zod_v4_core.$strip>>;
|
|
4198
|
+
createdByDisplayLabel: zod.ZodOptional<zod.ZodString>;
|
|
4185
4199
|
}, zod_v4_core.$strip>;
|
|
4186
4200
|
preview: zod.ZodLiteral<true>;
|
|
4187
4201
|
}, zod_v4_core.$strip>;
|
|
@@ -6644,6 +6658,7 @@ declare const approvalRequestOperations: {
|
|
|
6644
6658
|
agentName: zod.ZodString;
|
|
6645
6659
|
}, zod_v4_core.$strip>>;
|
|
6646
6660
|
addresseeUserId: zod.ZodOptional<zod.ZodString>;
|
|
6661
|
+
requesterDecides: zod.ZodOptional<zod.ZodLiteral<true>>;
|
|
6647
6662
|
status: zod.ZodEnum<{
|
|
6648
6663
|
rejected: "rejected";
|
|
6649
6664
|
approved: "approved";
|
|
@@ -6709,6 +6724,7 @@ declare const approvalRequestOperations: {
|
|
|
6709
6724
|
}>>;
|
|
6710
6725
|
scope: zod.ZodOptional<zod.ZodEnum<{
|
|
6711
6726
|
decided: "decided";
|
|
6727
|
+
others_own: "others_own";
|
|
6712
6728
|
}>>;
|
|
6713
6729
|
limit: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
|
|
6714
6730
|
cursor: zod.ZodOptional<zod.ZodString>;
|
|
@@ -6733,6 +6749,7 @@ declare const approvalRequestOperations: {
|
|
|
6733
6749
|
agentName: zod.ZodString;
|
|
6734
6750
|
}, zod_v4_core.$strip>>;
|
|
6735
6751
|
addresseeUserId: zod.ZodOptional<zod.ZodString>;
|
|
6752
|
+
requesterDecides: zod.ZodOptional<zod.ZodLiteral<true>>;
|
|
6736
6753
|
status: zod.ZodEnum<{
|
|
6737
6754
|
rejected: "rejected";
|
|
6738
6755
|
approved: "approved";
|
|
@@ -6815,6 +6832,7 @@ declare const approvalRequestOperations: {
|
|
|
6815
6832
|
agentName: zod.ZodString;
|
|
6816
6833
|
}, zod_v4_core.$strip>>;
|
|
6817
6834
|
addresseeUserId: zod.ZodOptional<zod.ZodString>;
|
|
6835
|
+
requesterDecides: zod.ZodOptional<zod.ZodLiteral<true>>;
|
|
6818
6836
|
status: zod.ZodEnum<{
|
|
6819
6837
|
rejected: "rejected";
|
|
6820
6838
|
approved: "approved";
|
|
@@ -6879,6 +6897,7 @@ declare const approvalRequestOperations: {
|
|
|
6879
6897
|
count: zod.ZodNumber;
|
|
6880
6898
|
canReview: zod.ZodBoolean;
|
|
6881
6899
|
decided: zod.ZodNumber;
|
|
6900
|
+
othersOwn: zod.ZodNumber;
|
|
6882
6901
|
mine: zod.ZodObject<{
|
|
6883
6902
|
pending: zod.ZodNumber;
|
|
6884
6903
|
total: zod.ZodNumber;
|
|
@@ -6928,6 +6947,7 @@ declare const approvalRequestOperations: {
|
|
|
6928
6947
|
agentName: zod.ZodString;
|
|
6929
6948
|
}, zod_v4_core.$strip>>;
|
|
6930
6949
|
addresseeUserId: zod.ZodOptional<zod.ZodString>;
|
|
6950
|
+
requesterDecides: zod.ZodOptional<zod.ZodLiteral<true>>;
|
|
6931
6951
|
status: zod.ZodEnum<{
|
|
6932
6952
|
rejected: "rejected";
|
|
6933
6953
|
approved: "approved";
|
|
@@ -6997,6 +7017,7 @@ declare const approvalRequestOperations: {
|
|
|
6997
7017
|
agentName: zod.ZodString;
|
|
6998
7018
|
}, zod_v4_core.$strip>>;
|
|
6999
7019
|
addresseeUserId: zod.ZodOptional<zod.ZodString>;
|
|
7020
|
+
requesterDecides: zod.ZodOptional<zod.ZodLiteral<true>>;
|
|
7000
7021
|
status: zod.ZodEnum<{
|
|
7001
7022
|
rejected: "rejected";
|
|
7002
7023
|
approved: "approved";
|
|
@@ -7065,6 +7086,7 @@ declare const approvalRequestOperations: {
|
|
|
7065
7086
|
agentName: zod.ZodString;
|
|
7066
7087
|
}, zod_v4_core.$strip>>;
|
|
7067
7088
|
addresseeUserId: zod.ZodOptional<zod.ZodString>;
|
|
7089
|
+
requesterDecides: zod.ZodOptional<zod.ZodLiteral<true>>;
|
|
7068
7090
|
status: zod.ZodEnum<{
|
|
7069
7091
|
rejected: "rejected";
|
|
7070
7092
|
approved: "approved";
|
|
@@ -7123,6 +7145,7 @@ declare const assetOperations: {
|
|
|
7123
7145
|
prefix: zod.ZodOptional<zod.ZodString>;
|
|
7124
7146
|
text: zod.ZodOptional<zod.ZodString>;
|
|
7125
7147
|
workspaceId: zod.ZodOptional<zod.ZodString>;
|
|
7148
|
+
owners: zod.ZodOptional<zod.ZodString>;
|
|
7126
7149
|
locale: zod.ZodOptional<zod.ZodString>;
|
|
7127
7150
|
}, zod_v4_core.$strip>;
|
|
7128
7151
|
readonly response: {
|
|
@@ -7775,6 +7798,7 @@ declare const assetOperations: {
|
|
|
7775
7798
|
mode: zod.ZodEnum<{
|
|
7776
7799
|
all: "all";
|
|
7777
7800
|
selected: "selected";
|
|
7801
|
+
all_except: "all_except";
|
|
7778
7802
|
}>;
|
|
7779
7803
|
personalWorkspaces: zod.ZodBoolean;
|
|
7780
7804
|
collaborationWorkspaceIds: zod.ZodArray<zod.ZodString>;
|
|
@@ -7790,6 +7814,7 @@ declare const assetOperations: {
|
|
|
7790
7814
|
mode: zod.ZodEnum<{
|
|
7791
7815
|
all: "all";
|
|
7792
7816
|
selected: "selected";
|
|
7817
|
+
all_except: "all_except";
|
|
7793
7818
|
}>;
|
|
7794
7819
|
personalWorkspaces: zod.ZodBoolean;
|
|
7795
7820
|
collaborationWorkspaceIds: zod.ZodArray<zod.ZodString>;
|
|
@@ -7880,6 +7905,7 @@ declare const assetOperations: {
|
|
|
7880
7905
|
availabilityMode: zod.ZodOptional<zod.ZodEnum<{
|
|
7881
7906
|
all: "all";
|
|
7882
7907
|
selected: "selected";
|
|
7908
|
+
all_except: "all_except";
|
|
7883
7909
|
}>>;
|
|
7884
7910
|
availabilityPersonalWorkspaces: zod.ZodOptional<zod.ZodEnum<{
|
|
7885
7911
|
true: "true";
|
|
@@ -8060,6 +8086,7 @@ declare const assetOperations: {
|
|
|
8060
8086
|
mode: zod.ZodEnum<{
|
|
8061
8087
|
all: "all";
|
|
8062
8088
|
selected: "selected";
|
|
8089
|
+
all_except: "all_except";
|
|
8063
8090
|
}>;
|
|
8064
8091
|
personalWorkspaces: zod.ZodBoolean;
|
|
8065
8092
|
collaborationWorkspaceIds: zod.ZodArray<zod.ZodString>;
|
|
@@ -8069,6 +8096,7 @@ declare const assetOperations: {
|
|
|
8069
8096
|
mode: zod.ZodEnum<{
|
|
8070
8097
|
all: "all";
|
|
8071
8098
|
selected: "selected";
|
|
8099
|
+
all_except: "all_except";
|
|
8072
8100
|
}>;
|
|
8073
8101
|
personalWorkspaces: zod.ZodBoolean;
|
|
8074
8102
|
collaborationWorkspaceIds: zod.ZodArray<zod.ZodString>;
|
|
@@ -8208,6 +8236,7 @@ declare const assetOperations: {
|
|
|
8208
8236
|
mode: zod.ZodEnum<{
|
|
8209
8237
|
all: "all";
|
|
8210
8238
|
selected: "selected";
|
|
8239
|
+
all_except: "all_except";
|
|
8211
8240
|
}>;
|
|
8212
8241
|
personalWorkspaces: zod.ZodBoolean;
|
|
8213
8242
|
collaborationWorkspaceIds: zod.ZodArray<zod.ZodString>;
|
|
@@ -8390,6 +8419,7 @@ declare const assetOperations: {
|
|
|
8390
8419
|
mode: zod.ZodEnum<{
|
|
8391
8420
|
all: "all";
|
|
8392
8421
|
selected: "selected";
|
|
8422
|
+
all_except: "all_except";
|
|
8393
8423
|
}>;
|
|
8394
8424
|
personalWorkspaces: zod.ZodBoolean;
|
|
8395
8425
|
collaborationWorkspaceIds: zod.ZodArray<zod.ZodString>;
|
|
@@ -9115,6 +9145,7 @@ declare const assetOperations: {
|
|
|
9115
9145
|
mode: zod.ZodEnum<{
|
|
9116
9146
|
all: "all";
|
|
9117
9147
|
selected: "selected";
|
|
9148
|
+
all_except: "all_except";
|
|
9118
9149
|
}>;
|
|
9119
9150
|
personalWorkspaces: zod.ZodOptional<zod.ZodBoolean>;
|
|
9120
9151
|
collaborationWorkspaceIds: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
@@ -9123,6 +9154,7 @@ declare const assetOperations: {
|
|
|
9123
9154
|
mode: zod.ZodEnum<{
|
|
9124
9155
|
all: "all";
|
|
9125
9156
|
selected: "selected";
|
|
9157
|
+
all_except: "all_except";
|
|
9126
9158
|
}>;
|
|
9127
9159
|
personalWorkspaces: zod.ZodBoolean;
|
|
9128
9160
|
collaborationWorkspaceIds: zod.ZodArray<zod.ZodString>;
|
|
@@ -9135,6 +9167,7 @@ declare const assetOperations: {
|
|
|
9135
9167
|
mode: zod.ZodEnum<{
|
|
9136
9168
|
all: "all";
|
|
9137
9169
|
selected: "selected";
|
|
9170
|
+
all_except: "all_except";
|
|
9138
9171
|
}>;
|
|
9139
9172
|
personalWorkspaces: zod.ZodBoolean;
|
|
9140
9173
|
collaborationWorkspaceIds: zod.ZodArray<zod.ZodString>;
|
|
@@ -12997,6 +13030,7 @@ declare const configAssetOperations: {
|
|
|
12997
13030
|
mode: zod.ZodEnum<{
|
|
12998
13031
|
all: "all";
|
|
12999
13032
|
selected: "selected";
|
|
13033
|
+
all_except: "all_except";
|
|
13000
13034
|
}>;
|
|
13001
13035
|
personalWorkspaces: zod.ZodBoolean;
|
|
13002
13036
|
collaborationWorkspaceIds: zod.ZodArray<zod.ZodString>;
|
|
@@ -13135,6 +13169,14 @@ declare const connectionOperations: {
|
|
|
13135
13169
|
}>;
|
|
13136
13170
|
version: z.ZodNumber;
|
|
13137
13171
|
}, z.core.$strip>>;
|
|
13172
|
+
ownServer: z.ZodOptional<z.ZodObject<{
|
|
13173
|
+
host: z.ZodString;
|
|
13174
|
+
enabled: z.ZodBoolean;
|
|
13175
|
+
tools: z.ZodNumber;
|
|
13176
|
+
}, z.core.$strip>>;
|
|
13177
|
+
}, z.core.$strip>>;
|
|
13178
|
+
ownServers: z.ZodOptional<z.ZodObject<{
|
|
13179
|
+
mayAdd: z.ZodBoolean;
|
|
13138
13180
|
}, z.core.$strip>>;
|
|
13139
13181
|
}, z.core.$strip>;
|
|
13140
13182
|
};
|
|
@@ -13629,6 +13671,7 @@ declare const connectionOperations: {
|
|
|
13629
13671
|
network_denied: "network_denied";
|
|
13630
13672
|
unavailable: "unavailable";
|
|
13631
13673
|
oauth_required: "oauth_required";
|
|
13674
|
+
token_required: "token_required";
|
|
13632
13675
|
}>;
|
|
13633
13676
|
testedAt: z.ZodISODateTime;
|
|
13634
13677
|
}, z.core.$strip>;
|
|
@@ -14470,7 +14513,32 @@ declare const connectionOperations: {
|
|
|
14470
14513
|
optional: z.ZodBoolean;
|
|
14471
14514
|
setting: z.ZodOptional<z.ZodString>;
|
|
14472
14515
|
secret: z.ZodBoolean;
|
|
14516
|
+
value: z.ZodOptional<z.ZodEnum<{
|
|
14517
|
+
number: "number";
|
|
14518
|
+
text: "text";
|
|
14519
|
+
list: "list";
|
|
14520
|
+
}>>;
|
|
14521
|
+
default: z.ZodOptional<z.ZodString>;
|
|
14522
|
+
advanced: z.ZodOptional<z.ZodLiteral<true>>;
|
|
14523
|
+
}, z.core.$strip>>;
|
|
14524
|
+
sharedAccountNote: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
14525
|
+
en: z.ZodOptional<z.ZodString>;
|
|
14526
|
+
de: z.ZodOptional<z.ZodString>;
|
|
14527
|
+
}, z.core.$strict>]>>;
|
|
14528
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
14529
|
+
name: z.ZodString;
|
|
14530
|
+
description: z.ZodString;
|
|
14531
|
+
effect: z.ZodEnum<{
|
|
14532
|
+
reading: "reading";
|
|
14533
|
+
changing: "changing";
|
|
14534
|
+
}>;
|
|
14473
14535
|
}, z.core.$strip>>;
|
|
14536
|
+
exposures: z.ZodArray<z.ZodEnum<{
|
|
14537
|
+
agent: "agent";
|
|
14538
|
+
bridge: "bridge";
|
|
14539
|
+
workflow: "workflow";
|
|
14540
|
+
outside: "outside";
|
|
14541
|
+
}>>;
|
|
14474
14542
|
}, z.core.$strip>>;
|
|
14475
14543
|
entries: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
14476
14544
|
id: z.ZodString;
|
|
@@ -16937,6 +17005,13 @@ declare const conversationOperations: {
|
|
|
16937
17005
|
}, z.core.$strip>>;
|
|
16938
17006
|
creationTarget: z.ZodOptional<z.ZodLiteral<"instance">>;
|
|
16939
17007
|
projectId: z.ZodOptional<z.ZodString>;
|
|
17008
|
+
people: z.ZodArray<z.ZodObject<{
|
|
17009
|
+
userId: z.ZodString;
|
|
17010
|
+
displayLabel: z.ZodString;
|
|
17011
|
+
addedAt: z.ZodISODateTime;
|
|
17012
|
+
deactivated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
17013
|
+
}, z.core.$strip>>;
|
|
17014
|
+
createdByDisplayLabel: z.ZodOptional<z.ZodString>;
|
|
16940
17015
|
latestMessageAt: z.ZodOptional<z.ZodISODateTime>;
|
|
16941
17016
|
activeRun: z.ZodOptional<z.ZodObject<{
|
|
16942
17017
|
id: z.ZodString;
|
|
@@ -16969,6 +17044,86 @@ declare const conversationOperations: {
|
|
|
16969
17044
|
readonly errors: readonly ["NOT_FOUND"];
|
|
16970
17045
|
readonly rateClass: "read";
|
|
16971
17046
|
}>;
|
|
17047
|
+
readonly "conversations.shared_from_outside.list": Operation<{
|
|
17048
|
+
readonly id: "conversations.shared_from_outside.list";
|
|
17049
|
+
readonly method: "GET";
|
|
17050
|
+
readonly path: "/api/v1/conversations/shared-from-outside";
|
|
17051
|
+
readonly summary: "List the chats shared with the caller from workspaces they are no member of";
|
|
17052
|
+
readonly tag: "Conversations";
|
|
17053
|
+
readonly auth: "user";
|
|
17054
|
+
readonly scope: "conversation:read";
|
|
17055
|
+
readonly requires: readonly [];
|
|
17056
|
+
readonly effect: "reading";
|
|
17057
|
+
readonly query: z.ZodObject<{
|
|
17058
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
17059
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
17060
|
+
query: z.ZodOptional<z.ZodString>;
|
|
17061
|
+
}, z.core.$strip>;
|
|
17062
|
+
readonly response: {
|
|
17063
|
+
readonly kind: "page";
|
|
17064
|
+
readonly schema: z.ZodObject<{
|
|
17065
|
+
items: z.ZodArray<z.ZodObject<{
|
|
17066
|
+
id: z.ZodString;
|
|
17067
|
+
clientInstanceId: z.ZodString;
|
|
17068
|
+
collaborationWorkspaceId: z.ZodString;
|
|
17069
|
+
createdByUserId: z.ZodString;
|
|
17070
|
+
createdByExternalUserId: z.ZodString;
|
|
17071
|
+
visibility: z.ZodEnum<{
|
|
17072
|
+
workspace: "workspace";
|
|
17073
|
+
private: "private";
|
|
17074
|
+
}>;
|
|
17075
|
+
title: z.ZodString;
|
|
17076
|
+
status: z.ZodString;
|
|
17077
|
+
createdAt: z.ZodISODateTime;
|
|
17078
|
+
updatedAt: z.ZodISODateTime;
|
|
17079
|
+
retainedUntil: z.ZodISODateTime;
|
|
17080
|
+
deletedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
17081
|
+
subject: z.ZodOptional<z.ZodObject<{
|
|
17082
|
+
kind: z.ZodString;
|
|
17083
|
+
name: z.ZodString;
|
|
17084
|
+
}, z.core.$strip>>;
|
|
17085
|
+
creationTarget: z.ZodOptional<z.ZodLiteral<"instance">>;
|
|
17086
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
17087
|
+
people: z.ZodArray<z.ZodObject<{
|
|
17088
|
+
userId: z.ZodString;
|
|
17089
|
+
displayLabel: z.ZodString;
|
|
17090
|
+
addedAt: z.ZodISODateTime;
|
|
17091
|
+
deactivated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
17092
|
+
}, z.core.$strip>>;
|
|
17093
|
+
createdByDisplayLabel: z.ZodOptional<z.ZodString>;
|
|
17094
|
+
latestMessageAt: z.ZodOptional<z.ZodISODateTime>;
|
|
17095
|
+
activeRun: z.ZodOptional<z.ZodObject<{
|
|
17096
|
+
id: z.ZodString;
|
|
17097
|
+
conversationId: z.ZodString;
|
|
17098
|
+
ownerUserId: z.ZodOptional<z.ZodString>;
|
|
17099
|
+
inputMessageId: z.ZodOptional<z.ZodString>;
|
|
17100
|
+
agentName: z.ZodString;
|
|
17101
|
+
status: z.ZodEnum<{
|
|
17102
|
+
failed: "failed";
|
|
17103
|
+
running: "running";
|
|
17104
|
+
queued: "queued";
|
|
17105
|
+
cancelled: "cancelled";
|
|
17106
|
+
waiting_for_decision: "waiting_for_decision";
|
|
17107
|
+
waiting_for_subagents: "waiting_for_subagents";
|
|
17108
|
+
cancelling: "cancelling";
|
|
17109
|
+
completed: "completed";
|
|
17110
|
+
}>;
|
|
17111
|
+
startedAt: z.ZodISODateTime;
|
|
17112
|
+
updatedAt: z.ZodISODateTime;
|
|
17113
|
+
lastSequence: z.ZodNumber;
|
|
17114
|
+
}, z.core.$strip>>;
|
|
17115
|
+
unread: z.ZodOptional<z.ZodBoolean>;
|
|
17116
|
+
lastViewedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
17117
|
+
workspaceName: z.ZodString;
|
|
17118
|
+
}, z.core.$strip>>;
|
|
17119
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
17120
|
+
}, z.core.$strip>;
|
|
17121
|
+
readonly order: readonly string[];
|
|
17122
|
+
readonly descending: boolean;
|
|
17123
|
+
};
|
|
17124
|
+
readonly errors: readonly [];
|
|
17125
|
+
readonly rateClass: "read";
|
|
17126
|
+
}>;
|
|
16972
17127
|
readonly "conversations.create": Operation<{
|
|
16973
17128
|
readonly id: "conversations.create";
|
|
16974
17129
|
readonly method: "POST";
|
|
@@ -17019,6 +17174,13 @@ declare const conversationOperations: {
|
|
|
17019
17174
|
}, z.core.$strip>>;
|
|
17020
17175
|
creationTarget: z.ZodOptional<z.ZodLiteral<"instance">>;
|
|
17021
17176
|
projectId: z.ZodOptional<z.ZodString>;
|
|
17177
|
+
people: z.ZodArray<z.ZodObject<{
|
|
17178
|
+
userId: z.ZodString;
|
|
17179
|
+
displayLabel: z.ZodString;
|
|
17180
|
+
addedAt: z.ZodISODateTime;
|
|
17181
|
+
deactivated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
17182
|
+
}, z.core.$strip>>;
|
|
17183
|
+
createdByDisplayLabel: z.ZodOptional<z.ZodString>;
|
|
17022
17184
|
}, z.core.$strip>;
|
|
17023
17185
|
};
|
|
17024
17186
|
readonly errors: readonly ["NOT_FOUND", "FORBIDDEN", "CONFLICT", "VALIDATION_FAILED"];
|
|
@@ -17061,6 +17223,13 @@ declare const conversationOperations: {
|
|
|
17061
17223
|
}, z.core.$strip>>;
|
|
17062
17224
|
creationTarget: z.ZodOptional<z.ZodLiteral<"instance">>;
|
|
17063
17225
|
projectId: z.ZodOptional<z.ZodString>;
|
|
17226
|
+
people: z.ZodArray<z.ZodObject<{
|
|
17227
|
+
userId: z.ZodString;
|
|
17228
|
+
displayLabel: z.ZodString;
|
|
17229
|
+
addedAt: z.ZodISODateTime;
|
|
17230
|
+
deactivated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
17231
|
+
}, z.core.$strip>>;
|
|
17232
|
+
createdByDisplayLabel: z.ZodOptional<z.ZodString>;
|
|
17064
17233
|
}, z.core.$strip>;
|
|
17065
17234
|
};
|
|
17066
17235
|
readonly errors: readonly ["NOT_FOUND"];
|
|
@@ -17105,6 +17274,13 @@ declare const conversationOperations: {
|
|
|
17105
17274
|
}, z.core.$strip>>;
|
|
17106
17275
|
creationTarget: z.ZodOptional<z.ZodLiteral<"instance">>;
|
|
17107
17276
|
projectId: z.ZodOptional<z.ZodString>;
|
|
17277
|
+
people: z.ZodArray<z.ZodObject<{
|
|
17278
|
+
userId: z.ZodString;
|
|
17279
|
+
displayLabel: z.ZodString;
|
|
17280
|
+
addedAt: z.ZodISODateTime;
|
|
17281
|
+
deactivated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
17282
|
+
}, z.core.$strip>>;
|
|
17283
|
+
createdByDisplayLabel: z.ZodOptional<z.ZodString>;
|
|
17108
17284
|
}, z.core.$strip>;
|
|
17109
17285
|
};
|
|
17110
17286
|
readonly errors: readonly ["NOT_FOUND", "CONFLICT"];
|
|
@@ -17447,11 +17623,212 @@ declare const conversationOperations: {
|
|
|
17447
17623
|
}, z.core.$strip>>;
|
|
17448
17624
|
creationTarget: z.ZodOptional<z.ZodLiteral<"instance">>;
|
|
17449
17625
|
projectId: z.ZodOptional<z.ZodString>;
|
|
17626
|
+
people: z.ZodArray<z.ZodObject<{
|
|
17627
|
+
userId: z.ZodString;
|
|
17628
|
+
displayLabel: z.ZodString;
|
|
17629
|
+
addedAt: z.ZodISODateTime;
|
|
17630
|
+
deactivated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
17631
|
+
}, z.core.$strip>>;
|
|
17632
|
+
createdByDisplayLabel: z.ZodOptional<z.ZodString>;
|
|
17450
17633
|
}, z.core.$strip>;
|
|
17451
17634
|
};
|
|
17452
17635
|
readonly errors: readonly ["NOT_FOUND", "CONFLICT"];
|
|
17453
17636
|
readonly rateClass: "write";
|
|
17454
17637
|
}>;
|
|
17638
|
+
readonly "conversations.add_person": Operation<{
|
|
17639
|
+
readonly id: "conversations.add_person";
|
|
17640
|
+
readonly method: "POST";
|
|
17641
|
+
readonly path: "/api/v1/conversations/:conversationId/people";
|
|
17642
|
+
readonly summary: "Name a member of the chat's workspace to read and write in the creator's private chat";
|
|
17643
|
+
readonly tag: "Conversations";
|
|
17644
|
+
readonly auth: "user";
|
|
17645
|
+
readonly scope: "conversation:write";
|
|
17646
|
+
readonly requires: readonly [];
|
|
17647
|
+
readonly effect: "changing";
|
|
17648
|
+
readonly body: z.ZodObject<{
|
|
17649
|
+
userId: z.ZodString;
|
|
17650
|
+
}, z.core.$strict>;
|
|
17651
|
+
readonly response: {
|
|
17652
|
+
readonly kind: "json";
|
|
17653
|
+
readonly schema: z.ZodObject<{
|
|
17654
|
+
id: z.ZodString;
|
|
17655
|
+
clientInstanceId: z.ZodString;
|
|
17656
|
+
collaborationWorkspaceId: z.ZodString;
|
|
17657
|
+
createdByUserId: z.ZodString;
|
|
17658
|
+
createdByExternalUserId: z.ZodString;
|
|
17659
|
+
visibility: z.ZodEnum<{
|
|
17660
|
+
workspace: "workspace";
|
|
17661
|
+
private: "private";
|
|
17662
|
+
}>;
|
|
17663
|
+
title: z.ZodString;
|
|
17664
|
+
status: z.ZodString;
|
|
17665
|
+
createdAt: z.ZodISODateTime;
|
|
17666
|
+
updatedAt: z.ZodISODateTime;
|
|
17667
|
+
retainedUntil: z.ZodISODateTime;
|
|
17668
|
+
deletedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
17669
|
+
subject: z.ZodOptional<z.ZodObject<{
|
|
17670
|
+
kind: z.ZodString;
|
|
17671
|
+
name: z.ZodString;
|
|
17672
|
+
}, z.core.$strip>>;
|
|
17673
|
+
creationTarget: z.ZodOptional<z.ZodLiteral<"instance">>;
|
|
17674
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
17675
|
+
people: z.ZodArray<z.ZodObject<{
|
|
17676
|
+
userId: z.ZodString;
|
|
17677
|
+
displayLabel: z.ZodString;
|
|
17678
|
+
addedAt: z.ZodISODateTime;
|
|
17679
|
+
deactivated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
17680
|
+
}, z.core.$strip>>;
|
|
17681
|
+
createdByDisplayLabel: z.ZodOptional<z.ZodString>;
|
|
17682
|
+
}, z.core.$strip>;
|
|
17683
|
+
};
|
|
17684
|
+
readonly errors: readonly ["NOT_FOUND", "FORBIDDEN", "CONFLICT", "VALIDATION_FAILED"];
|
|
17685
|
+
readonly rateClass: "write";
|
|
17686
|
+
}>;
|
|
17687
|
+
readonly "conversations.remove_person": Operation<{
|
|
17688
|
+
readonly id: "conversations.remove_person";
|
|
17689
|
+
readonly method: "DELETE";
|
|
17690
|
+
readonly path: "/api/v1/conversations/:conversationId/people/:userId";
|
|
17691
|
+
readonly summary: "Take a named person off a private chat: its creator removes anyone, a named person leaves";
|
|
17692
|
+
readonly tag: "Conversations";
|
|
17693
|
+
readonly auth: "user";
|
|
17694
|
+
readonly scope: "conversation:write";
|
|
17695
|
+
readonly requires: readonly [];
|
|
17696
|
+
readonly effect: "changing";
|
|
17697
|
+
readonly response: {
|
|
17698
|
+
readonly kind: "json";
|
|
17699
|
+
readonly schema: z.ZodObject<{
|
|
17700
|
+
conversationId: z.ZodString;
|
|
17701
|
+
userId: z.ZodString;
|
|
17702
|
+
removed: z.ZodBoolean;
|
|
17703
|
+
}, z.core.$strip>;
|
|
17704
|
+
};
|
|
17705
|
+
readonly errors: readonly ["NOT_FOUND", "FORBIDDEN", "CONFLICT"];
|
|
17706
|
+
readonly rateClass: "write";
|
|
17707
|
+
}>;
|
|
17708
|
+
readonly "conversations.share_candidates": Operation<{
|
|
17709
|
+
readonly id: "conversations.share_candidates";
|
|
17710
|
+
readonly method: "GET";
|
|
17711
|
+
readonly path: "/api/v1/conversations/:conversationId/share-candidates";
|
|
17712
|
+
readonly summary: "The people of the instance the chat's creator may name, preselected or searched";
|
|
17713
|
+
readonly tag: "Conversations";
|
|
17714
|
+
readonly auth: "user";
|
|
17715
|
+
readonly scope: "conversation:read";
|
|
17716
|
+
readonly requires: readonly [];
|
|
17717
|
+
readonly effect: "reading";
|
|
17718
|
+
readonly query: z.ZodObject<{
|
|
17719
|
+
query: z.ZodOptional<z.ZodString>;
|
|
17720
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
17721
|
+
}, z.core.$strip>;
|
|
17722
|
+
readonly response: {
|
|
17723
|
+
readonly kind: "json";
|
|
17724
|
+
readonly schema: z.ZodObject<{
|
|
17725
|
+
candidates: z.ZodArray<z.ZodObject<{
|
|
17726
|
+
userId: z.ZodString;
|
|
17727
|
+
displayLabel: z.ZodString;
|
|
17728
|
+
email: z.ZodOptional<z.ZodString>;
|
|
17729
|
+
hasAccess: z.ZodBoolean;
|
|
17730
|
+
member: z.ZodBoolean;
|
|
17731
|
+
}, z.core.$strip>>;
|
|
17732
|
+
}, z.core.$strip>;
|
|
17733
|
+
};
|
|
17734
|
+
readonly errors: readonly ["NOT_FOUND", "FORBIDDEN", "RATE_LIMITED"];
|
|
17735
|
+
readonly rateClass: "read";
|
|
17736
|
+
}>;
|
|
17737
|
+
readonly "conversations.reader_offer.get": Operation<{
|
|
17738
|
+
readonly id: "conversations.reader_offer.get";
|
|
17739
|
+
readonly method: "GET";
|
|
17740
|
+
readonly path: "/api/v1/conversations/:conversationId/reader-offer";
|
|
17741
|
+
readonly summary: "What the caller is offered in a chat they read: its workspace, and their agents";
|
|
17742
|
+
readonly tag: "Conversations";
|
|
17743
|
+
readonly auth: "user";
|
|
17744
|
+
readonly scope: "conversation:read";
|
|
17745
|
+
readonly requires: readonly [];
|
|
17746
|
+
readonly effect: "reading";
|
|
17747
|
+
readonly query: z.ZodObject<{
|
|
17748
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
17749
|
+
}, z.core.$strip>;
|
|
17750
|
+
readonly response: {
|
|
17751
|
+
readonly kind: "json";
|
|
17752
|
+
readonly schema: z.ZodObject<{
|
|
17753
|
+
workspace: z.ZodObject<{
|
|
17754
|
+
id: z.ZodString;
|
|
17755
|
+
name: z.ZodString;
|
|
17756
|
+
}, z.core.$strip>;
|
|
17757
|
+
outside: z.ZodBoolean;
|
|
17758
|
+
defaultAgentName: z.ZodOptional<z.ZodString>;
|
|
17759
|
+
agents: z.ZodArray<z.ZodObject<{
|
|
17760
|
+
name: z.ZodString;
|
|
17761
|
+
displayName: z.ZodString;
|
|
17762
|
+
description: z.ZodOptional<z.ZodString>;
|
|
17763
|
+
defaultModelBindingId: z.ZodOptional<z.ZodString>;
|
|
17764
|
+
selectableModels: z.ZodArray<z.ZodObject<{
|
|
17765
|
+
bindingId: z.ZodOptional<z.ZodString>;
|
|
17766
|
+
model: z.ZodString;
|
|
17767
|
+
compactThresholdTokens: z.ZodOptional<z.ZodNumber>;
|
|
17768
|
+
label: z.ZodOptional<z.ZodString>;
|
|
17769
|
+
vendor: z.ZodOptional<z.ZodString>;
|
|
17770
|
+
description: z.ZodOptional<z.ZodString>;
|
|
17771
|
+
region: z.ZodOptional<z.ZodString>;
|
|
17772
|
+
personalDataBlocked: z.ZodOptional<z.ZodLiteral<true>>;
|
|
17773
|
+
usageTier: z.ZodOptional<z.ZodEnum<{
|
|
17774
|
+
low: "low";
|
|
17775
|
+
high: "high";
|
|
17776
|
+
very_low: "very_low";
|
|
17777
|
+
moderate: "moderate";
|
|
17778
|
+
elevated: "elevated";
|
|
17779
|
+
very_high: "very_high";
|
|
17780
|
+
}>>;
|
|
17781
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
17782
|
+
none: "none";
|
|
17783
|
+
low: "low";
|
|
17784
|
+
medium: "medium";
|
|
17785
|
+
high: "high";
|
|
17786
|
+
xhigh: "xhigh";
|
|
17787
|
+
max: "max";
|
|
17788
|
+
}>>;
|
|
17789
|
+
selectableReasoningEfforts: z.ZodArray<z.ZodEnum<{
|
|
17790
|
+
none: "none";
|
|
17791
|
+
low: "low";
|
|
17792
|
+
medium: "medium";
|
|
17793
|
+
high: "high";
|
|
17794
|
+
xhigh: "xhigh";
|
|
17795
|
+
max: "max";
|
|
17796
|
+
}>>;
|
|
17797
|
+
}, z.core.$strip>>;
|
|
17798
|
+
compactThresholdTokens: z.ZodOptional<z.ZodNumber>;
|
|
17799
|
+
buildsAssets: z.ZodOptional<z.ZodBoolean>;
|
|
17800
|
+
welcomeMessage: z.ZodOptional<z.ZodString>;
|
|
17801
|
+
welcomeSubtitle: z.ZodOptional<z.ZodString>;
|
|
17802
|
+
initialPrompts: z.ZodArray<z.ZodObject<{
|
|
17803
|
+
title: z.ZodString;
|
|
17804
|
+
prompt: z.ZodString;
|
|
17805
|
+
}, z.core.$strip>>;
|
|
17806
|
+
starters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17807
|
+
skillName: z.ZodString;
|
|
17808
|
+
title: z.ZodString;
|
|
17809
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
17810
|
+
prompt: z.ZodString;
|
|
17811
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
17812
|
+
}, z.core.$strip>>>;
|
|
17813
|
+
connections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17814
|
+
name: z.ZodString;
|
|
17815
|
+
title: z.ZodString;
|
|
17816
|
+
service: z.ZodOptional<z.ZodString>;
|
|
17817
|
+
connectorType: z.ZodOptional<z.ZodString>;
|
|
17818
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
17819
|
+
toolName: z.ZodString;
|
|
17820
|
+
effect: z.ZodEnum<{
|
|
17821
|
+
reading: "reading";
|
|
17822
|
+
changing: "changing";
|
|
17823
|
+
}>;
|
|
17824
|
+
}, z.core.$strip>>;
|
|
17825
|
+
}, z.core.$strip>>>;
|
|
17826
|
+
}, z.core.$strip>>;
|
|
17827
|
+
}, z.core.$strip>;
|
|
17828
|
+
};
|
|
17829
|
+
readonly errors: readonly ["NOT_FOUND"];
|
|
17830
|
+
readonly rateClass: "read";
|
|
17831
|
+
}>;
|
|
17455
17832
|
readonly "conversations.thread.get": Operation<{
|
|
17456
17833
|
readonly id: "conversations.thread.get";
|
|
17457
17834
|
readonly method: "GET";
|
|
@@ -17527,6 +17904,13 @@ declare const conversationOperations: {
|
|
|
17527
17904
|
}, z.core.$strip>>;
|
|
17528
17905
|
creationTarget: z.ZodOptional<z.ZodLiteral<"instance">>;
|
|
17529
17906
|
projectId: z.ZodOptional<z.ZodString>;
|
|
17907
|
+
people: z.ZodArray<z.ZodObject<{
|
|
17908
|
+
userId: z.ZodString;
|
|
17909
|
+
displayLabel: z.ZodString;
|
|
17910
|
+
addedAt: z.ZodISODateTime;
|
|
17911
|
+
deactivated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
17912
|
+
}, z.core.$strip>>;
|
|
17913
|
+
createdByDisplayLabel: z.ZodOptional<z.ZodString>;
|
|
17530
17914
|
}, z.core.$strip>;
|
|
17531
17915
|
messages: z.ZodArray<z.ZodObject<{
|
|
17532
17916
|
id: z.ZodString;
|
|
@@ -17644,6 +18028,8 @@ declare const conversationOperations: {
|
|
|
17644
18028
|
page: z.ZodOptional<z.ZodNumber>;
|
|
17645
18029
|
sheet: z.ZodOptional<z.ZodString>;
|
|
17646
18030
|
originLink: z.ZodOptional<z.ZodString>;
|
|
18031
|
+
statedAt: z.ZodOptional<z.ZodString>;
|
|
18032
|
+
retrievedAt: z.ZodOptional<z.ZodString>;
|
|
17647
18033
|
}, z.core.$strip>>>;
|
|
17648
18034
|
citations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17649
18035
|
sourceId: z.ZodString;
|
|
@@ -18257,6 +18643,8 @@ declare const conversationOperations: {
|
|
|
18257
18643
|
runAgents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18258
18644
|
inputMessageId: z.ZodString;
|
|
18259
18645
|
agentName: z.ZodString;
|
|
18646
|
+
ownerUserId: z.ZodOptional<z.ZodString>;
|
|
18647
|
+
ownerDisplayLabel: z.ZodOptional<z.ZodString>;
|
|
18260
18648
|
}, z.core.$strip>>>;
|
|
18261
18649
|
modelSelection: z.ZodOptional<z.ZodObject<{
|
|
18262
18650
|
modelBindingId: z.ZodOptional<z.ZodString>;
|
|
@@ -18418,6 +18806,8 @@ declare const conversationOperations: {
|
|
|
18418
18806
|
page: z.ZodOptional<z.ZodNumber>;
|
|
18419
18807
|
sheet: z.ZodOptional<z.ZodString>;
|
|
18420
18808
|
originLink: z.ZodOptional<z.ZodString>;
|
|
18809
|
+
statedAt: z.ZodOptional<z.ZodString>;
|
|
18810
|
+
retrievedAt: z.ZodOptional<z.ZodString>;
|
|
18421
18811
|
}, z.core.$strip>>>;
|
|
18422
18812
|
citations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18423
18813
|
sourceId: z.ZodString;
|
|
@@ -18930,6 +19320,13 @@ declare const conversationOperations: {
|
|
|
18930
19320
|
}, z.core.$strip>>;
|
|
18931
19321
|
creationTarget: z.ZodOptional<z.ZodLiteral<"instance">>;
|
|
18932
19322
|
projectId: z.ZodOptional<z.ZodString>;
|
|
19323
|
+
people: z.ZodArray<z.ZodObject<{
|
|
19324
|
+
userId: z.ZodString;
|
|
19325
|
+
displayLabel: z.ZodString;
|
|
19326
|
+
addedAt: z.ZodISODateTime;
|
|
19327
|
+
deactivated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
19328
|
+
}, z.core.$strip>>;
|
|
19329
|
+
createdByDisplayLabel: z.ZodOptional<z.ZodString>;
|
|
18933
19330
|
}, z.core.$strip>;
|
|
18934
19331
|
userMessage: z.ZodObject<{
|
|
18935
19332
|
id: z.ZodString;
|
|
@@ -19047,6 +19444,8 @@ declare const conversationOperations: {
|
|
|
19047
19444
|
page: z.ZodOptional<z.ZodNumber>;
|
|
19048
19445
|
sheet: z.ZodOptional<z.ZodString>;
|
|
19049
19446
|
originLink: z.ZodOptional<z.ZodString>;
|
|
19447
|
+
statedAt: z.ZodOptional<z.ZodString>;
|
|
19448
|
+
retrievedAt: z.ZodOptional<z.ZodString>;
|
|
19050
19449
|
}, z.core.$strip>>>;
|
|
19051
19450
|
citations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19052
19451
|
sourceId: z.ZodString;
|
|
@@ -19213,6 +19612,13 @@ declare const conversationOperations: {
|
|
|
19213
19612
|
}, z.core.$strip>>;
|
|
19214
19613
|
creationTarget: z.ZodOptional<z.ZodLiteral<"instance">>;
|
|
19215
19614
|
projectId: z.ZodOptional<z.ZodString>;
|
|
19615
|
+
people: z.ZodArray<z.ZodObject<{
|
|
19616
|
+
userId: z.ZodString;
|
|
19617
|
+
displayLabel: z.ZodString;
|
|
19618
|
+
addedAt: z.ZodISODateTime;
|
|
19619
|
+
deactivated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
19620
|
+
}, z.core.$strip>>;
|
|
19621
|
+
createdByDisplayLabel: z.ZodOptional<z.ZodString>;
|
|
19216
19622
|
}, z.core.$strip>;
|
|
19217
19623
|
messages: z.ZodArray<z.ZodObject<{
|
|
19218
19624
|
id: z.ZodString;
|
|
@@ -19330,6 +19736,8 @@ declare const conversationOperations: {
|
|
|
19330
19736
|
page: z.ZodOptional<z.ZodNumber>;
|
|
19331
19737
|
sheet: z.ZodOptional<z.ZodString>;
|
|
19332
19738
|
originLink: z.ZodOptional<z.ZodString>;
|
|
19739
|
+
statedAt: z.ZodOptional<z.ZodString>;
|
|
19740
|
+
retrievedAt: z.ZodOptional<z.ZodString>;
|
|
19333
19741
|
}, z.core.$strip>>>;
|
|
19334
19742
|
citations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19335
19743
|
sourceId: z.ZodString;
|
|
@@ -19943,6 +20351,8 @@ declare const conversationOperations: {
|
|
|
19943
20351
|
runAgents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19944
20352
|
inputMessageId: z.ZodString;
|
|
19945
20353
|
agentName: z.ZodString;
|
|
20354
|
+
ownerUserId: z.ZodOptional<z.ZodString>;
|
|
20355
|
+
ownerDisplayLabel: z.ZodOptional<z.ZodString>;
|
|
19946
20356
|
}, z.core.$strip>>>;
|
|
19947
20357
|
modelSelection: z.ZodOptional<z.ZodObject<{
|
|
19948
20358
|
modelBindingId: z.ZodOptional<z.ZodString>;
|
|
@@ -20163,6 +20573,13 @@ declare const conversationOperations: {
|
|
|
20163
20573
|
}, z.core.$strip>>;
|
|
20164
20574
|
creationTarget: z.ZodOptional<z.ZodLiteral<"instance">>;
|
|
20165
20575
|
projectId: z.ZodOptional<z.ZodString>;
|
|
20576
|
+
people: z.ZodArray<z.ZodObject<{
|
|
20577
|
+
userId: z.ZodString;
|
|
20578
|
+
displayLabel: z.ZodString;
|
|
20579
|
+
addedAt: z.ZodISODateTime;
|
|
20580
|
+
deactivated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
20581
|
+
}, z.core.$strip>>;
|
|
20582
|
+
createdByDisplayLabel: z.ZodOptional<z.ZodString>;
|
|
20166
20583
|
}, z.core.$strip>;
|
|
20167
20584
|
userMessage: z.ZodObject<{
|
|
20168
20585
|
id: z.ZodString;
|
|
@@ -20280,6 +20697,8 @@ declare const conversationOperations: {
|
|
|
20280
20697
|
page: z.ZodOptional<z.ZodNumber>;
|
|
20281
20698
|
sheet: z.ZodOptional<z.ZodString>;
|
|
20282
20699
|
originLink: z.ZodOptional<z.ZodString>;
|
|
20700
|
+
statedAt: z.ZodOptional<z.ZodString>;
|
|
20701
|
+
retrievedAt: z.ZodOptional<z.ZodString>;
|
|
20283
20702
|
}, z.core.$strip>>>;
|
|
20284
20703
|
citations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
20285
20704
|
sourceId: z.ZodString;
|
|
@@ -20446,6 +20865,13 @@ declare const conversationOperations: {
|
|
|
20446
20865
|
}, z.core.$strip>>;
|
|
20447
20866
|
creationTarget: z.ZodOptional<z.ZodLiteral<"instance">>;
|
|
20448
20867
|
projectId: z.ZodOptional<z.ZodString>;
|
|
20868
|
+
people: z.ZodArray<z.ZodObject<{
|
|
20869
|
+
userId: z.ZodString;
|
|
20870
|
+
displayLabel: z.ZodString;
|
|
20871
|
+
addedAt: z.ZodISODateTime;
|
|
20872
|
+
deactivated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
20873
|
+
}, z.core.$strip>>;
|
|
20874
|
+
createdByDisplayLabel: z.ZodOptional<z.ZodString>;
|
|
20449
20875
|
}, z.core.$strip>;
|
|
20450
20876
|
messages: z.ZodArray<z.ZodObject<{
|
|
20451
20877
|
id: z.ZodString;
|
|
@@ -20563,6 +20989,8 @@ declare const conversationOperations: {
|
|
|
20563
20989
|
page: z.ZodOptional<z.ZodNumber>;
|
|
20564
20990
|
sheet: z.ZodOptional<z.ZodString>;
|
|
20565
20991
|
originLink: z.ZodOptional<z.ZodString>;
|
|
20992
|
+
statedAt: z.ZodOptional<z.ZodString>;
|
|
20993
|
+
retrievedAt: z.ZodOptional<z.ZodString>;
|
|
20566
20994
|
}, z.core.$strip>>>;
|
|
20567
20995
|
citations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
20568
20996
|
sourceId: z.ZodString;
|
|
@@ -21176,6 +21604,8 @@ declare const conversationOperations: {
|
|
|
21176
21604
|
runAgents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
21177
21605
|
inputMessageId: z.ZodString;
|
|
21178
21606
|
agentName: z.ZodString;
|
|
21607
|
+
ownerUserId: z.ZodOptional<z.ZodString>;
|
|
21608
|
+
ownerDisplayLabel: z.ZodOptional<z.ZodString>;
|
|
21179
21609
|
}, z.core.$strip>>>;
|
|
21180
21610
|
modelSelection: z.ZodOptional<z.ZodObject<{
|
|
21181
21611
|
modelBindingId: z.ZodOptional<z.ZodString>;
|
|
@@ -21649,6 +22079,13 @@ declare const conversationOperations: {
|
|
|
21649
22079
|
}, z.core.$strip>>;
|
|
21650
22080
|
creationTarget: z.ZodOptional<z.ZodLiteral<"instance">>;
|
|
21651
22081
|
projectId: z.ZodOptional<z.ZodString>;
|
|
22082
|
+
people: z.ZodArray<z.ZodObject<{
|
|
22083
|
+
userId: z.ZodString;
|
|
22084
|
+
displayLabel: z.ZodString;
|
|
22085
|
+
addedAt: z.ZodISODateTime;
|
|
22086
|
+
deactivated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
22087
|
+
}, z.core.$strip>>;
|
|
22088
|
+
createdByDisplayLabel: z.ZodOptional<z.ZodString>;
|
|
21652
22089
|
}, z.core.$strip>;
|
|
21653
22090
|
};
|
|
21654
22091
|
readonly errors: readonly ["NOT_FOUND", "CONFLICT"];
|
|
@@ -26370,6 +26807,13 @@ declare const knowledgeOperations: {
|
|
|
26370
26807
|
addedBytes: z.ZodOptional<z.ZodNumber>;
|
|
26371
26808
|
limitBytes: z.ZodOptional<z.ZodNumber>;
|
|
26372
26809
|
}, z.core.$strict>>;
|
|
26810
|
+
schedule: z.ZodOptional<z.ZodObject<{
|
|
26811
|
+
changes: z.ZodUnion<readonly [z.ZodLiteral<"off">, z.ZodNumber]>;
|
|
26812
|
+
full: z.ZodString;
|
|
26813
|
+
defaultChanges: z.ZodNumber;
|
|
26814
|
+
defaultFull: z.ZodString;
|
|
26815
|
+
minChanges: z.ZodOptional<z.ZodNumber>;
|
|
26816
|
+
}, z.core.$strict>>;
|
|
26373
26817
|
lastChangeAt: z.ZodOptional<z.ZodString>;
|
|
26374
26818
|
oldestOpenChangeAt: z.ZodOptional<z.ZodString>;
|
|
26375
26819
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -26388,6 +26832,13 @@ declare const knowledgeOperations: {
|
|
|
26388
26832
|
itemsPerMinute: z.ZodOptional<z.ZodNumber>;
|
|
26389
26833
|
estimatedEndAt: z.ZodOptional<z.ZodString>;
|
|
26390
26834
|
}, z.core.$strict>>;
|
|
26835
|
+
schedule: z.ZodOptional<z.ZodObject<{
|
|
26836
|
+
changes: z.ZodUnion<readonly [z.ZodLiteral<"off">, z.ZodNumber]>;
|
|
26837
|
+
full: z.ZodString;
|
|
26838
|
+
defaultChanges: z.ZodNumber;
|
|
26839
|
+
defaultFull: z.ZodString;
|
|
26840
|
+
minChanges: z.ZodOptional<z.ZodNumber>;
|
|
26841
|
+
}, z.core.$strict>>;
|
|
26391
26842
|
failures: z.ZodArray<z.ZodObject<{
|
|
26392
26843
|
code: z.ZodUnion<readonly [z.ZodEnum<{
|
|
26393
26844
|
knowledge_file_format_unsupported: "knowledge_file_format_unsupported";
|
|
@@ -28100,6 +28551,8 @@ declare const knowledgeOperations: {
|
|
|
28100
28551
|
text: z.ZodString;
|
|
28101
28552
|
score: z.ZodNumber;
|
|
28102
28553
|
originLink: z.ZodOptional<z.ZodString>;
|
|
28554
|
+
statedAt: z.ZodOptional<z.ZodString>;
|
|
28555
|
+
retrievedAt: z.ZodOptional<z.ZodString>;
|
|
28103
28556
|
}, z.core.$strip>>;
|
|
28104
28557
|
signals: z.ZodArray<z.ZodEnum<{
|
|
28105
28558
|
semantic: "semantic";
|
|
@@ -31270,6 +31723,13 @@ declare const projectOperations: {
|
|
|
31270
31723
|
}, zod_v4_core.$strip>>;
|
|
31271
31724
|
creationTarget: zod.ZodOptional<zod.ZodLiteral<"instance">>;
|
|
31272
31725
|
projectId: zod.ZodOptional<zod.ZodString>;
|
|
31726
|
+
people: zod.ZodArray<zod.ZodObject<{
|
|
31727
|
+
userId: zod.ZodString;
|
|
31728
|
+
displayLabel: zod.ZodString;
|
|
31729
|
+
addedAt: zod.ZodISODateTime;
|
|
31730
|
+
deactivated: zod.ZodOptional<zod.ZodLiteral<true>>;
|
|
31731
|
+
}, zod_v4_core.$strip>>;
|
|
31732
|
+
createdByDisplayLabel: zod.ZodOptional<zod.ZodString>;
|
|
31273
31733
|
}, zod_v4_core.$strip>;
|
|
31274
31734
|
};
|
|
31275
31735
|
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "VALIDATION_FAILED"];
|
|
@@ -38432,6 +38892,7 @@ declare const assetSchema: z.ZodObject<{
|
|
|
38432
38892
|
mode: z.ZodEnum<{
|
|
38433
38893
|
all: "all";
|
|
38434
38894
|
selected: "selected";
|
|
38895
|
+
all_except: "all_except";
|
|
38435
38896
|
}>;
|
|
38436
38897
|
personalWorkspaces: z.ZodBoolean;
|
|
38437
38898
|
collaborationWorkspaceIds: z.ZodArray<z.ZodString>;
|
|
@@ -38441,6 +38902,7 @@ declare const assetSchema: z.ZodObject<{
|
|
|
38441
38902
|
mode: z.ZodEnum<{
|
|
38442
38903
|
all: "all";
|
|
38443
38904
|
selected: "selected";
|
|
38905
|
+
all_except: "all_except";
|
|
38444
38906
|
}>;
|
|
38445
38907
|
personalWorkspaces: z.ZodBoolean;
|
|
38446
38908
|
collaborationWorkspaceIds: z.ZodArray<z.ZodString>;
|
|
@@ -38822,6 +39284,89 @@ declare function redactSecret(message: string, secret: string): string;
|
|
|
38822
39284
|
|
|
38823
39285
|
/** CLI and server ship one contract per release; build metadata does not change it. */
|
|
38824
39286
|
declare function cliCompatibilityError(cliVersion: string, serverVersion: string): Error | undefined;
|
|
39287
|
+
/**
|
|
39288
|
+
* The release a server names, without its build metadata, where it is a valid SemVer version;
|
|
39289
|
+
* otherwise nothing. Only such a version is ever handed to npm.
|
|
39290
|
+
*/
|
|
39291
|
+
declare function releaseVersionOf(serverVersion: string): string | undefined;
|
|
39292
|
+
declare class CliVersionError extends Error {
|
|
39293
|
+
readonly cliVersion: string;
|
|
39294
|
+
readonly serverVersion: string;
|
|
39295
|
+
constructor(cliVersion: string, serverVersion: string,
|
|
39296
|
+
/** What to run instead of the global install, for a CLI installed in a project. */
|
|
39297
|
+
instead?: string);
|
|
39298
|
+
}
|
|
39299
|
+
|
|
39300
|
+
/** The variables this package reads by a fixed name. */
|
|
39301
|
+
interface ConfigCliEnv {
|
|
39302
|
+
/** A key provisioned for automation. It wins over a key `catalyst login` saved. */
|
|
39303
|
+
readonly CATALYST_API_KEY?: string | undefined;
|
|
39304
|
+
/** The folder of the saved keys, in place of `$XDG_CONFIG_HOME/catalyst`. */
|
|
39305
|
+
readonly CATALYST_CONFIG_HOME?: string | undefined;
|
|
39306
|
+
readonly XDG_CONFIG_HOME?: string | undefined;
|
|
39307
|
+
/** The person's home folder, where `catalyst setup` writes the skill of their tool. */
|
|
39308
|
+
readonly HOME?: string | undefined;
|
|
39309
|
+
/** Claude Code's own folder in place of `~/.claude`, where `catalyst setup` writes its skill. */
|
|
39310
|
+
readonly CLAUDE_CONFIG_DIR?: string | undefined;
|
|
39311
|
+
/** Set to anything but `0` or `false`, the CLI never installs another version of itself. */
|
|
39312
|
+
readonly CATALYST_NO_AUTO_UPDATE?: string | undefined;
|
|
39313
|
+
/** Set by the CLI on the command it runs again after updating itself: the old version. */
|
|
39314
|
+
readonly CATALYST_CLI_UPDATED_FROM?: string | undefined;
|
|
39315
|
+
/** Set by CI services; there the CLI never updates itself. */
|
|
39316
|
+
readonly CI?: string | undefined;
|
|
39317
|
+
}
|
|
39318
|
+
|
|
39319
|
+
interface Ran {
|
|
39320
|
+
status: number | null;
|
|
39321
|
+
stdout: string;
|
|
39322
|
+
stderr: string;
|
|
39323
|
+
}
|
|
39324
|
+
/** What the self-update touches of the computer. Tests pass one that touches nothing. */
|
|
39325
|
+
interface SelfUpdateHost {
|
|
39326
|
+
/** The arguments of the command, run again after the update. */
|
|
39327
|
+
argv: readonly string[];
|
|
39328
|
+
env: ConfigCliEnv;
|
|
39329
|
+
/** Whether a person is at the terminal: standard input and standard error are both one. */
|
|
39330
|
+
interactive: boolean;
|
|
39331
|
+
platform: NodeJS.Platform;
|
|
39332
|
+
execPath: string;
|
|
39333
|
+
/** The folder of the package this process runs from. */
|
|
39334
|
+
packageRoot: string;
|
|
39335
|
+
exists: (path: string) => boolean;
|
|
39336
|
+
readText: (path: string) => string | undefined;
|
|
39337
|
+
realpath: (path: string) => string;
|
|
39338
|
+
/** Whether the entry at the path is a symbolic link, as `npm link` leaves one. */
|
|
39339
|
+
isLink: (path: string) => boolean;
|
|
39340
|
+
/**
|
|
39341
|
+
* Runs a program without a shell and captures its output; with `againFrom`, the command run
|
|
39342
|
+
* again, on the terminal, told the version it was updated from.
|
|
39343
|
+
*/
|
|
39344
|
+
run: (file: string, args: readonly string[], options: {
|
|
39345
|
+
againFrom?: string;
|
|
39346
|
+
}) => Ran;
|
|
39347
|
+
stderr: (text: string) => void;
|
|
39348
|
+
exit: (code: number) => never;
|
|
39349
|
+
}
|
|
39350
|
+
/**
|
|
39351
|
+
* How to run npm without a shell: the npm that ships with this Node, run by this Node, which
|
|
39352
|
+
* also covers Windows, where `npm.cmd` cannot be started without one. Elsewhere `npm` on PATH.
|
|
39353
|
+
*/
|
|
39354
|
+
declare function npmCommand(host: SelfUpdateHost): {
|
|
39355
|
+
file: string;
|
|
39356
|
+
args: string[];
|
|
39357
|
+
} | undefined;
|
|
39358
|
+
/**
|
|
39359
|
+
* On a CLI that does not match its instance: installs the instance's version of the CLI where
|
|
39360
|
+
* this one is installed globally and runs the same command again, once, with one line saying
|
|
39361
|
+
* so. Answers the error to report where it did not: today's, or for a project's CLI the
|
|
39362
|
+
* project's install command.
|
|
39363
|
+
*/
|
|
39364
|
+
declare function updateToServerVersion(mismatch: CliVersionError, host: SelfUpdateHost): CliVersionError;
|
|
39365
|
+
/**
|
|
39366
|
+
* Turns the self-update on for this process, the `catalyst` command run with `argv`, and
|
|
39367
|
+
* answers how to turn it off. Tests pass the host.
|
|
39368
|
+
*/
|
|
39369
|
+
declare function enableSelfUpdate(argv: readonly string[], host?: SelfUpdateHost): () => void;
|
|
38825
39370
|
|
|
38826
39371
|
type SkillFolderFile = {
|
|
38827
39372
|
path: string;
|
|
@@ -38853,19 +39398,6 @@ declare function canonicalizeSkillConfig(input: unknown): SkillConfig;
|
|
|
38853
39398
|
declare function serializeSkillMarkdown(input: unknown, provenance?: AssetProvenance): string;
|
|
38854
39399
|
declare function serializeSkillPackageForDisplay(input: unknown): string;
|
|
38855
39400
|
|
|
38856
|
-
/** The variables this package reads by a fixed name. */
|
|
38857
|
-
interface ConfigCliEnv {
|
|
38858
|
-
/** A key provisioned for automation. It wins over a key `catalyst login` saved. */
|
|
38859
|
-
readonly CATALYST_API_KEY?: string | undefined;
|
|
38860
|
-
/** The folder of the saved keys, in place of `$XDG_CONFIG_HOME/catalyst`. */
|
|
38861
|
-
readonly CATALYST_CONFIG_HOME?: string | undefined;
|
|
38862
|
-
readonly XDG_CONFIG_HOME?: string | undefined;
|
|
38863
|
-
/** The person's home folder, where `catalyst setup` writes the skill of their tool. */
|
|
38864
|
-
readonly HOME?: string | undefined;
|
|
38865
|
-
/** Claude Code's own folder in place of `~/.claude`, where `catalyst setup` writes its skill. */
|
|
38866
|
-
readonly CLAUDE_CONFIG_DIR?: string | undefined;
|
|
38867
|
-
}
|
|
38868
|
-
|
|
38869
39401
|
declare const MANIFEST_FILENAME = "catalyst.yaml";
|
|
38870
39402
|
declare const STATE_FILENAME = ".catalyst-state.json";
|
|
38871
39403
|
interface ManifestInstance {
|
|
@@ -39062,9 +39594,15 @@ declare function createSkillFileDiff(name: string, oldFiles: SkillFolderFile[],
|
|
|
39062
39594
|
|
|
39063
39595
|
/** The skill file this CLI writes: the shipped skill with a mark of who wrote it. */
|
|
39064
39596
|
declare function renderCatalystSkill(): Promise<string>;
|
|
39597
|
+
/**
|
|
39598
|
+
* After the CLI updated itself: rewrites every Catalyst skill `catalyst setup` wrote and nobody
|
|
39599
|
+
* changed since with this version's skill, and answers their paths. A skill a person changed,
|
|
39600
|
+
* and anything that is no file, stays as it is.
|
|
39601
|
+
*/
|
|
39602
|
+
declare function refreshWrittenSkills(env: ConfigCliEnv): Promise<string[]>;
|
|
39065
39603
|
|
|
39066
39604
|
declare function commandNames(): string[];
|
|
39067
39605
|
|
|
39068
39606
|
declare function runCli(argv: string[], runtime?: CliRuntimeOptions): Promise<number>;
|
|
39069
39607
|
|
|
39070
|
-
export { ApiKeyExchangeError, type AssetBaseline, type AssetProvenance, CANONICAL_FORM_VERSION, type CatalystManifest, type CatalystState, type CliRuntimeOptions, type ConfigApi, ConfigApiError, type ConfigApiOptions, type ConfigCommandName, type ConfigCommandOptions, type DeletedAssetBaseline, type DiffFile, type InstanceBaseline, MANIFEST_FILENAME, type ManifestInstance, type PublishReview, type ResolvedInstance, STATE_FILENAME, type SyncBatch, type SyncOutcome, type SyncOutput, type WorkingCopyBundle, type WorkingCopyIssue, WorkingCopyValidationError, agentAssetPath, assertSafeApiKeyExchangeUrl, bindManifestWorkspace, canonicalBundleFiles, canonicalizeAgentConfig, canonicalizeSkillConfig, cliCompatibilityError, commandNames, createConfigApi, createSkillFileDiff, createUnifiedDiff, diffConfig, guardrailAssetPath, instanceFetch, listConfig, matchManifestFiles, matchesManifestPath, parseAgentYaml, parseManifest, parseSkillFile, publishReview, pullConfig, pushConfig, readManifest, readManifestIfPresent, readSkillResources, readStateFile, readWorkingCopy, redactSecret, removeStaleManifestAssets, renderCatalystSkill, resolveInstance, resolveSkillResourceTarget, runCli, runConfigCommand, serializeAgentYaml, serializeSkillMarkdown, serializeSkillPackageForDisplay, showConfig, skillAssetPath, toConfigApiError, updateManifestDefaultAgent, validateConfig, walkFiles, writeStateFile };
|
|
39608
|
+
export { ApiKeyExchangeError, type AssetBaseline, type AssetProvenance, CANONICAL_FORM_VERSION, type CatalystManifest, type CatalystState, type CliRuntimeOptions, CliVersionError, type ConfigApi, ConfigApiError, type ConfigApiOptions, type ConfigCommandName, type ConfigCommandOptions, type DeletedAssetBaseline, type DiffFile, type InstanceBaseline, MANIFEST_FILENAME, type ManifestInstance, type PublishReview, type ResolvedInstance, STATE_FILENAME, type SelfUpdateHost, type SyncBatch, type SyncOutcome, type SyncOutput, type WorkingCopyBundle, type WorkingCopyIssue, WorkingCopyValidationError, agentAssetPath, assertSafeApiKeyExchangeUrl, bindManifestWorkspace, canonicalBundleFiles, canonicalizeAgentConfig, canonicalizeSkillConfig, cliCompatibilityError, commandNames, createConfigApi, createSkillFileDiff, createUnifiedDiff, diffConfig, enableSelfUpdate, guardrailAssetPath, instanceFetch, listConfig, matchManifestFiles, matchesManifestPath, npmCommand, parseAgentYaml, parseManifest, parseSkillFile, publishReview, pullConfig, pushConfig, readManifest, readManifestIfPresent, readSkillResources, readStateFile, readWorkingCopy, redactSecret, refreshWrittenSkills, releaseVersionOf, removeStaleManifestAssets, renderCatalystSkill, resolveInstance, resolveSkillResourceTarget, runCli, runConfigCommand, serializeAgentYaml, serializeSkillMarkdown, serializeSkillPackageForDisplay, showConfig, skillAssetPath, toConfigApiError, updateManifestDefaultAgent, updateToServerVersion, validateConfig, walkFiles, writeStateFile };
|