@work-shape/catalyst-cli 0.8.0-rc.12 → 0.8.0-rc.14
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 +298 -18
- package/dist/index.js +578 -279
- package/package.json +4 -4
- package/skills/catalyst/SKILL.md +6 -0
package/dist/index.d.ts
CHANGED
|
@@ -147,7 +147,7 @@ interface SkillResourceConfig {
|
|
|
147
147
|
content: string;
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
declare const FIRST_PARTY_AUTH_SCOPES: readonly ["*", "me:read", "me:delete", "config:read", "conversation:read", "conversation:write", "run:start", "run:observe", "run:cancel", "run:command", "collaboration_workspace:read", "collaboration_workspace:manage", "me:write", "governance:read", "governance:write", "user_admin:read", "user_admin:write", "api_access:read", "api_access:write", "config_assets:read", "config_assets:write", "config_assets:publish", "config_assets:release", "data_store_rows:read", "data_store_rows:write"];
|
|
150
|
+
declare const FIRST_PARTY_AUTH_SCOPES: readonly ["*", "me:read", "me:delete", "config:read", "conversation:read", "conversation:write", "run:start", "run:observe", "run:cancel", "run:command", "collaboration_workspace:read", "collaboration_workspace:manage", "me:write", "governance:read", "governance:write", "user_admin:read", "user_admin:write", "infrastructure:check", "api_access:read", "api_access:write", "config_assets:read", "config_assets:write", "config_assets:publish", "config_assets:release", "data_store_rows:read", "data_store_rows:write"];
|
|
151
151
|
type FirstPartyAuthScope = (typeof FIRST_PARTY_AUTH_SCOPES)[number];
|
|
152
152
|
type OperationScope = Exclude<FirstPartyAuthScope, "*">;
|
|
153
153
|
/**
|
|
@@ -280,7 +280,7 @@ type OperationConfig = OperationAccess & {
|
|
|
280
280
|
readonly path: string;
|
|
281
281
|
readonly summary: string;
|
|
282
282
|
readonly tag: string;
|
|
283
|
-
/** An alternative scope for personal keys only;
|
|
283
|
+
/** An alternative scope for personal keys only; ownership and owner rights still apply. */
|
|
284
284
|
readonly personalKeyScope?: OperationScope;
|
|
285
285
|
readonly effect: OperationEffect;
|
|
286
286
|
readonly query?: OperationQuerySchema;
|
|
@@ -2807,6 +2807,7 @@ declare const accountOperations: {
|
|
|
2807
2807
|
"governance:write": "governance:write";
|
|
2808
2808
|
"user_admin:read": "user_admin:read";
|
|
2809
2809
|
"user_admin:write": "user_admin:write";
|
|
2810
|
+
"infrastructure:check": "infrastructure:check";
|
|
2810
2811
|
"api_access:read": "api_access:read";
|
|
2811
2812
|
"api_access:write": "api_access:write";
|
|
2812
2813
|
"config_assets:read": "config_assets:read";
|
|
@@ -2909,6 +2910,7 @@ declare const accountOperations: {
|
|
|
2909
2910
|
"governance:write": "governance:write";
|
|
2910
2911
|
"user_admin:read": "user_admin:read";
|
|
2911
2912
|
"user_admin:write": "user_admin:write";
|
|
2913
|
+
"infrastructure:check": "infrastructure:check";
|
|
2912
2914
|
"api_access:read": "api_access:read";
|
|
2913
2915
|
"api_access:write": "api_access:write";
|
|
2914
2916
|
"config_assets:read": "config_assets:read";
|
|
@@ -5545,7 +5547,7 @@ declare const appOperations: {
|
|
|
5545
5547
|
readonly id: "apps.publish_review";
|
|
5546
5548
|
readonly method: "GET";
|
|
5547
5549
|
readonly path: "/api/v1/apps/:app/publish-review";
|
|
5548
|
-
readonly summary: "Read what publishing an App's draft comes to: the App and the
|
|
5550
|
+
readonly summary: "Read what publishing an App's draft comes to: the App, the Workflows it calls and the Data Stores it binds, their pending drafts and migrations, publish questions and what would refuse them";
|
|
5549
5551
|
readonly tag: "Apps";
|
|
5550
5552
|
readonly auth: "user";
|
|
5551
5553
|
readonly scope: "config_assets:read";
|
|
@@ -5565,6 +5567,7 @@ declare const appOperations: {
|
|
|
5565
5567
|
warnings: zod.ZodArray<zod.ZodString>;
|
|
5566
5568
|
}, zod_v4_core.$strip>>;
|
|
5567
5569
|
lastChangedBy: zod.ZodOptional<zod.ZodString>;
|
|
5570
|
+
href: zod.ZodOptional<zod.ZodString>;
|
|
5568
5571
|
refusals: zod.ZodArray<zod.ZodObject<{
|
|
5569
5572
|
reason: zod.ZodString;
|
|
5570
5573
|
message: zod.ZodString;
|
|
@@ -5582,6 +5585,7 @@ declare const appOperations: {
|
|
|
5582
5585
|
warnings: zod.ZodArray<zod.ZodString>;
|
|
5583
5586
|
}, zod_v4_core.$strip>>;
|
|
5584
5587
|
lastChangedBy: zod.ZodOptional<zod.ZodString>;
|
|
5588
|
+
href: zod.ZodOptional<zod.ZodString>;
|
|
5585
5589
|
refusals: zod.ZodArray<zod.ZodObject<{
|
|
5586
5590
|
reason: zod.ZodString;
|
|
5587
5591
|
message: zod.ZodString;
|
|
@@ -5603,6 +5607,27 @@ declare const appOperations: {
|
|
|
5603
5607
|
at: zod.ZodString;
|
|
5604
5608
|
}, zod_v4_core.$strip>>;
|
|
5605
5609
|
}, zod_v4_core.$strip>>;
|
|
5610
|
+
dataStores: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
5611
|
+
name: zod.ZodString;
|
|
5612
|
+
title: zod.ZodString;
|
|
5613
|
+
draftRevision: zod.ZodNumber;
|
|
5614
|
+
publishedRevision: zod.ZodOptional<zod.ZodNumber>;
|
|
5615
|
+
pending: zod.ZodBoolean;
|
|
5616
|
+
narrative: zod.ZodOptional<zod.ZodObject<{
|
|
5617
|
+
summary: zod.ZodString;
|
|
5618
|
+
warnings: zod.ZodArray<zod.ZodString>;
|
|
5619
|
+
}, zod_v4_core.$strip>>;
|
|
5620
|
+
lastChangedBy: zod.ZodOptional<zod.ZodString>;
|
|
5621
|
+
href: zod.ZodOptional<zod.ZodString>;
|
|
5622
|
+
refusals: zod.ZodArray<zod.ZodObject<{
|
|
5623
|
+
reason: zod.ZodString;
|
|
5624
|
+
message: zod.ZodString;
|
|
5625
|
+
right: zod.ZodOptional<zod.ZodString>;
|
|
5626
|
+
}, zod_v4_core.$strip>>;
|
|
5627
|
+
liveLevel: zod.ZodNumber;
|
|
5628
|
+
minSchema: zod.ZodOptional<zod.ZodNumber>;
|
|
5629
|
+
pendingMigrations: zod.ZodArray<zod.ZodString>;
|
|
5630
|
+
}, zod_v4_core.$strip>>>;
|
|
5606
5631
|
publishesTogether: zod.ZodBoolean;
|
|
5607
5632
|
ready: zod.ZodBoolean;
|
|
5608
5633
|
}, zod_v4_core.$strip>;
|
|
@@ -7019,6 +7044,171 @@ declare const assetOperations: {
|
|
|
7019
7044
|
readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
|
|
7020
7045
|
};
|
|
7021
7046
|
}>;
|
|
7047
|
+
readonly "assets.adopt_repository": Operation<{
|
|
7048
|
+
readonly id: "assets.adopt_repository";
|
|
7049
|
+
readonly method: "POST";
|
|
7050
|
+
readonly path: "/api/v1/assets/:kind/adopt-repository";
|
|
7051
|
+
readonly summary: "Give every revision of the assets of one kind written before it had a repository its commit";
|
|
7052
|
+
readonly tag: "Assets";
|
|
7053
|
+
readonly auth: "principal";
|
|
7054
|
+
readonly scope: "config_assets:release";
|
|
7055
|
+
readonly requires: readonly ["assets.release"];
|
|
7056
|
+
readonly effect: "changing";
|
|
7057
|
+
readonly body: zod.ZodObject<{
|
|
7058
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
7059
|
+
after: zod.ZodOptional<zod.ZodString>;
|
|
7060
|
+
}, zod_v4_core.$strip>;
|
|
7061
|
+
readonly response: {
|
|
7062
|
+
readonly kind: "json";
|
|
7063
|
+
readonly schema: zod.ZodObject<{
|
|
7064
|
+
adopted: zod.ZodNumber;
|
|
7065
|
+
revisions: zod.ZodNumber;
|
|
7066
|
+
commits: zod.ZodNumber;
|
|
7067
|
+
refused: zod.ZodNumber;
|
|
7068
|
+
adoptedAssetIds: zod.ZodArray<zod.ZodString>;
|
|
7069
|
+
refusedAssetIds: zod.ZodArray<zod.ZodString>;
|
|
7070
|
+
done: zod.ZodBoolean;
|
|
7071
|
+
after: zod.ZodOptional<zod.ZodString>;
|
|
7072
|
+
}, zod_v4_core.$strip>;
|
|
7073
|
+
};
|
|
7074
|
+
readonly errors: readonly ["VALIDATION_FAILED", "CONFLICT", "TIMEOUT"];
|
|
7075
|
+
readonly rateClass: "write";
|
|
7076
|
+
} & {
|
|
7077
|
+
readonly accepted: zod.ZodObject<{
|
|
7078
|
+
id: zod.ZodString;
|
|
7079
|
+
operation: zod.ZodString;
|
|
7080
|
+
effect: zod.ZodEnum<{
|
|
7081
|
+
reading: "reading";
|
|
7082
|
+
changing: "changing";
|
|
7083
|
+
}>;
|
|
7084
|
+
status: zod.ZodEnum<{
|
|
7085
|
+
failed: "failed";
|
|
7086
|
+
running: "running";
|
|
7087
|
+
pending_confirmation: "pending_confirmation";
|
|
7088
|
+
pending_approval: "pending_approval";
|
|
7089
|
+
done: "done";
|
|
7090
|
+
denied: "denied";
|
|
7091
|
+
expired: "expired";
|
|
7092
|
+
}>;
|
|
7093
|
+
actor: zod.ZodObject<{
|
|
7094
|
+
kind: zod.ZodEnum<{
|
|
7095
|
+
user: "user";
|
|
7096
|
+
service_principal: "service_principal";
|
|
7097
|
+
}>;
|
|
7098
|
+
id: zod.ZodString;
|
|
7099
|
+
label: zod.ZodString;
|
|
7100
|
+
}, zod_v4_core.$strip>;
|
|
7101
|
+
origin: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
7102
|
+
kind: zod.ZodLiteral<"agent">;
|
|
7103
|
+
agentRunId: zod.ZodString;
|
|
7104
|
+
conversationId: zod.ZodString;
|
|
7105
|
+
agentName: zod.ZodString;
|
|
7106
|
+
toolCallId: zod.ZodString;
|
|
7107
|
+
toolName: zod.ZodString;
|
|
7108
|
+
toolRevisionId: zod.ZodOptional<zod.ZodString>;
|
|
7109
|
+
boundBy: zod.ZodOptional<zod.ZodObject<{
|
|
7110
|
+
id: zod.ZodString;
|
|
7111
|
+
label: zod.ZodString;
|
|
7112
|
+
}, zod_v4_core.$strip>>;
|
|
7113
|
+
draft: zod.ZodOptional<zod.ZodObject<{
|
|
7114
|
+
kind: zod.ZodLiteral<"agent_preview">;
|
|
7115
|
+
asset: zod.ZodObject<{
|
|
7116
|
+
kind: zod.ZodString;
|
|
7117
|
+
id: zod.ZodString;
|
|
7118
|
+
name: zod.ZodString;
|
|
7119
|
+
}, zod_v4_core.$strip>;
|
|
7120
|
+
revisionId: zod.ZodString;
|
|
7121
|
+
part: zod.ZodString;
|
|
7122
|
+
}, zod_v4_core.$strip>>;
|
|
7123
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
7124
|
+
kind: zod.ZodLiteral<"user">;
|
|
7125
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
7126
|
+
kind: zod.ZodLiteral<"cli">;
|
|
7127
|
+
unattended: zod.ZodOptional<zod.ZodLiteral<true>>;
|
|
7128
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
7129
|
+
kind: zod.ZodLiteral<"mcp">;
|
|
7130
|
+
clientName: zod.ZodOptional<zod.ZodString>;
|
|
7131
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
7132
|
+
kind: zod.ZodLiteral<"app">;
|
|
7133
|
+
appName: zod.ZodOptional<zod.ZodString>;
|
|
7134
|
+
appRevisionId: zod.ZodString;
|
|
7135
|
+
actionName: zod.ZodString;
|
|
7136
|
+
pageSessionId: zod.ZodString;
|
|
7137
|
+
conversationId: zod.ZodOptional<zod.ZodString>;
|
|
7138
|
+
target: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
7139
|
+
connection: zod.ZodString;
|
|
7140
|
+
operation: zod.ZodString;
|
|
7141
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
7142
|
+
dataStore: zod.ZodString;
|
|
7143
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
7144
|
+
workflow: zod.ZodString;
|
|
7145
|
+
}, zod_v4_core.$strip>]>>;
|
|
7146
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
7147
|
+
kind: zod.ZodLiteral<"workflow">;
|
|
7148
|
+
workflowRunId: zod.ZodString;
|
|
7149
|
+
stepRunId: zod.ZodString;
|
|
7150
|
+
boundBy: zod.ZodOptional<zod.ZodObject<{
|
|
7151
|
+
id: zod.ZodString;
|
|
7152
|
+
label: zod.ZodString;
|
|
7153
|
+
}, zod_v4_core.$strip>>;
|
|
7154
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
7155
|
+
kind: zod.ZodLiteral<"schedule">;
|
|
7156
|
+
scheduleId: zod.ZodString;
|
|
7157
|
+
}, zod_v4_core.$strip>], "kind">;
|
|
7158
|
+
target: zod.ZodEnum<{
|
|
7159
|
+
live: "live";
|
|
7160
|
+
test: "test";
|
|
7161
|
+
dry_run: "dry_run";
|
|
7162
|
+
}>;
|
|
7163
|
+
app: zod.ZodOptional<zod.ZodObject<{
|
|
7164
|
+
title: zod.ZodOptional<zod.ZodString>;
|
|
7165
|
+
revision: zod.ZodOptional<zod.ZodNumber>;
|
|
7166
|
+
deleted: zod.ZodBoolean;
|
|
7167
|
+
}, zod_v4_core.$strip>>;
|
|
7168
|
+
workspaceId: zod.ZodOptional<zod.ZodString>;
|
|
7169
|
+
approvalRequestId: zod.ZodOptional<zod.ZodString>;
|
|
7170
|
+
inputHash: zod.ZodString;
|
|
7171
|
+
attempt: zod.ZodNumber;
|
|
7172
|
+
decision: zod.ZodOptional<zod.ZodObject<{
|
|
7173
|
+
mode: zod.ZodEnum<{
|
|
7174
|
+
direct: "direct";
|
|
7175
|
+
confirmed: "confirmed";
|
|
7176
|
+
approved: "approved";
|
|
7177
|
+
declined: "declined";
|
|
7178
|
+
}>;
|
|
7179
|
+
reason: zod.ZodOptional<zod.ZodEnum<{
|
|
7180
|
+
inherited_approval_not_applied: "inherited_approval_not_applied";
|
|
7181
|
+
workflow_publish: "workflow_publish";
|
|
7182
|
+
approved_by_caller: "approved_by_caller";
|
|
7183
|
+
}>>;
|
|
7184
|
+
by: zod.ZodString;
|
|
7185
|
+
byLabel: zod.ZodOptional<zod.ZodString>;
|
|
7186
|
+
at: zod.ZodISODateTime;
|
|
7187
|
+
comment: zod.ZodOptional<zod.ZodString>;
|
|
7188
|
+
}, zod_v4_core.$strip>>;
|
|
7189
|
+
error: zod.ZodOptional<zod.ZodObject<{
|
|
7190
|
+
code: zod.ZodString;
|
|
7191
|
+
message: zod.ZodString;
|
|
7192
|
+
reason: zod.ZodOptional<zod.ZodString>;
|
|
7193
|
+
}, zod_v4_core.$strip>>;
|
|
7194
|
+
usage: zod.ZodOptional<zod.ZodObject<{
|
|
7195
|
+
modelCalls: zod.ZodNumber;
|
|
7196
|
+
inputTokens: zod.ZodNumber;
|
|
7197
|
+
outputTokens: zod.ZodNumber;
|
|
7198
|
+
totalTokens: zod.ZodNumber;
|
|
7199
|
+
}, zod_v4_core.$strip>>;
|
|
7200
|
+
correlationId: zod.ZodString;
|
|
7201
|
+
createdAt: zod.ZodISODateTime;
|
|
7202
|
+
startedAt: zod.ZodOptional<zod.ZodISODateTime>;
|
|
7203
|
+
finishedAt: zod.ZodOptional<zod.ZodISODateTime>;
|
|
7204
|
+
expiresAt: zod.ZodOptional<zod.ZodISODateTime>;
|
|
7205
|
+
href: zod.ZodString;
|
|
7206
|
+
}, zod_v4_core.$strip>;
|
|
7207
|
+
readonly headers: {
|
|
7208
|
+
readonly request: readonly ["Idempotency-Key", "Catalyst-Unattended"];
|
|
7209
|
+
readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
|
|
7210
|
+
};
|
|
7211
|
+
}>;
|
|
7022
7212
|
readonly "assets.validate": Operation<{
|
|
7023
7213
|
readonly id: "assets.validate";
|
|
7024
7214
|
readonly method: "POST";
|
|
@@ -7387,10 +7577,12 @@ declare const assetOperations: {
|
|
|
7387
7577
|
}, zod_v4_core.$strip>>;
|
|
7388
7578
|
draftRevision: zod.ZodOptional<zod.ZodNumber>;
|
|
7389
7579
|
publishedRevision: zod.ZodOptional<zod.ZodNumber>;
|
|
7390
|
-
|
|
7391
|
-
|
|
7580
|
+
liveVersion: zod.ZodOptional<zod.ZodObject<{
|
|
7581
|
+
number: zod.ZodNumber;
|
|
7582
|
+
publishedAt: zod.ZodISODateTime;
|
|
7392
7583
|
by: zod.ZodOptional<zod.ZodString>;
|
|
7393
7584
|
}, zod_v4_core.$strip>>;
|
|
7585
|
+
draftChangedSinceLive: zod.ZodOptional<zod.ZodBoolean>;
|
|
7394
7586
|
id: zod.ZodString;
|
|
7395
7587
|
kind: zod.ZodString;
|
|
7396
7588
|
name: zod.ZodString;
|
|
@@ -7634,6 +7826,10 @@ declare const assetOperations: {
|
|
|
7634
7826
|
name: zod.ZodString;
|
|
7635
7827
|
revision: zod.ZodNumber;
|
|
7636
7828
|
}, zod_v4_core.$strict>>>;
|
|
7829
|
+
dataStores: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
7830
|
+
name: zod.ZodString;
|
|
7831
|
+
revision: zod.ZodNumber;
|
|
7832
|
+
}, zod_v4_core.$strict>>>;
|
|
7637
7833
|
}, zod_v4_core.$strip>;
|
|
7638
7834
|
readonly response: {
|
|
7639
7835
|
readonly kind: "json";
|
|
@@ -7642,7 +7838,10 @@ declare const assetOperations: {
|
|
|
7642
7838
|
publishedRevision: zod.ZodNumber;
|
|
7643
7839
|
replacedRevision: zod.ZodOptional<zod.ZodNumber>;
|
|
7644
7840
|
publishedWith: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
7645
|
-
kind: zod.
|
|
7841
|
+
kind: zod.ZodEnum<{
|
|
7842
|
+
workflow: "workflow";
|
|
7843
|
+
data_store: "data_store";
|
|
7844
|
+
}>;
|
|
7646
7845
|
name: zod.ZodString;
|
|
7647
7846
|
publishedRevision: zod.ZodNumber;
|
|
7648
7847
|
replacedRevision: zod.ZodOptional<zod.ZodNumber>;
|
|
@@ -7808,7 +8007,10 @@ declare const assetOperations: {
|
|
|
7808
8007
|
publishedRevision: zod.ZodNumber;
|
|
7809
8008
|
replacedRevision: zod.ZodOptional<zod.ZodNumber>;
|
|
7810
8009
|
publishedWith: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
7811
|
-
kind: zod.
|
|
8010
|
+
kind: zod.ZodEnum<{
|
|
8011
|
+
workflow: "workflow";
|
|
8012
|
+
data_store: "data_store";
|
|
8013
|
+
}>;
|
|
7812
8014
|
name: zod.ZodString;
|
|
7813
8015
|
publishedRevision: zod.ZodNumber;
|
|
7814
8016
|
replacedRevision: zod.ZodOptional<zod.ZodNumber>;
|
|
@@ -8555,6 +8757,10 @@ declare const assetOperations: {
|
|
|
8555
8757
|
conversationId: zod.ZodString;
|
|
8556
8758
|
pageId: zod.ZodString;
|
|
8557
8759
|
fileSetNumber: zod.ZodNumber;
|
|
8760
|
+
byAgent: zod.ZodOptional<zod.ZodLiteral<true>>;
|
|
8761
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
8762
|
+
kind: zod.ZodLiteral<"agent_run">;
|
|
8763
|
+
conversationId: zod.ZodString;
|
|
8558
8764
|
}, zod_v4_core.$strip>], "kind">>;
|
|
8559
8765
|
globalVersion: zod.ZodNumber;
|
|
8560
8766
|
createdAt: zod.ZodISODateTime;
|
|
@@ -8571,6 +8777,67 @@ declare const assetOperations: {
|
|
|
8571
8777
|
readonly response: readonly ["Operation-Run-Id"];
|
|
8572
8778
|
};
|
|
8573
8779
|
}>;
|
|
8780
|
+
readonly "assets.publications.list": Operation<{
|
|
8781
|
+
readonly id: "assets.publications.list";
|
|
8782
|
+
readonly method: "GET";
|
|
8783
|
+
readonly path: "/api/v1/assets/:kind/:name/publications";
|
|
8784
|
+
readonly summary: "List the publications of one asset with a draft, newest first";
|
|
8785
|
+
readonly tag: "Assets";
|
|
8786
|
+
readonly auth: "principal";
|
|
8787
|
+
readonly scope: "config_assets:read";
|
|
8788
|
+
readonly requires: readonly [];
|
|
8789
|
+
readonly effect: "reading";
|
|
8790
|
+
readonly query: zod.ZodObject<{
|
|
8791
|
+
limit: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
|
|
8792
|
+
cursor: zod.ZodOptional<zod.ZodString>;
|
|
8793
|
+
workspaceId: zod.ZodOptional<zod.ZodString>;
|
|
8794
|
+
}, zod_v4_core.$strip>;
|
|
8795
|
+
readonly response: {
|
|
8796
|
+
readonly kind: "page";
|
|
8797
|
+
readonly schema: zod.ZodObject<{
|
|
8798
|
+
items: zod.ZodArray<zod.ZodObject<{
|
|
8799
|
+
number: zod.ZodNumber;
|
|
8800
|
+
revision: zod.ZodNumber;
|
|
8801
|
+
actor: zod.ZodNullable<zod.ZodObject<{
|
|
8802
|
+
userId: zod.ZodOptional<zod.ZodString>;
|
|
8803
|
+
externalUserId: zod.ZodOptional<zod.ZodString>;
|
|
8804
|
+
displayLabel: zod.ZodString;
|
|
8805
|
+
roles: zod.ZodArray<zod.ZodString>;
|
|
8806
|
+
principalKind: zod.ZodOptional<zod.ZodEnum<{
|
|
8807
|
+
user: "user";
|
|
8808
|
+
service: "service";
|
|
8809
|
+
}>>;
|
|
8810
|
+
principalId: zod.ZodOptional<zod.ZodString>;
|
|
8811
|
+
principalDisplayLabel: zod.ZodOptional<zod.ZodString>;
|
|
8812
|
+
credentialId: zod.ZodOptional<zod.ZodString>;
|
|
8813
|
+
subjectUserId: zod.ZodOptional<zod.ZodString>;
|
|
8814
|
+
delegatedActor: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
8815
|
+
kind: zod.ZodDefault<zod.ZodLiteral<"service_principal">>;
|
|
8816
|
+
id: zod.ZodString;
|
|
8817
|
+
displayLabel: zod.ZodOptional<zod.ZodString>;
|
|
8818
|
+
authSource: zod.ZodString;
|
|
8819
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
8820
|
+
kind: zod.ZodLiteral<"api_key">;
|
|
8821
|
+
id: zod.ZodString;
|
|
8822
|
+
displayLabel: zod.ZodString;
|
|
8823
|
+
authSource: zod.ZodString;
|
|
8824
|
+
}, zod_v4_core.$strip>]>>;
|
|
8825
|
+
}, zod_v4_core.$strip>>;
|
|
8826
|
+
publishedAt: zod.ZodISODateTime;
|
|
8827
|
+
note: zod.ZodOptional<zod.ZodString>;
|
|
8828
|
+
}, zod_v4_core.$strip>>;
|
|
8829
|
+
nextCursor: zod.ZodOptional<zod.ZodString>;
|
|
8830
|
+
}, zod_v4_core.$strip>;
|
|
8831
|
+
readonly order: readonly string[];
|
|
8832
|
+
readonly descending: boolean;
|
|
8833
|
+
};
|
|
8834
|
+
readonly errors: readonly ["NOT_FOUND"];
|
|
8835
|
+
readonly rateClass: "read";
|
|
8836
|
+
} & {
|
|
8837
|
+
readonly headers: {
|
|
8838
|
+
readonly response: readonly ["Operation-Run-Id"];
|
|
8839
|
+
};
|
|
8840
|
+
}>;
|
|
8574
8841
|
readonly "assets.revert": Operation<{
|
|
8575
8842
|
readonly id: "assets.revert";
|
|
8576
8843
|
readonly method: "POST";
|
|
@@ -11202,10 +11469,6 @@ declare const configAssetOperations: {
|
|
|
11202
11469
|
name: zod.ZodString;
|
|
11203
11470
|
reason: zod.ZodLiteral<"unknown_tool">;
|
|
11204
11471
|
}, zod_v4_core.$strip>], "reason">>>;
|
|
11205
|
-
moduleOffTools: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
11206
|
-
name: zod.ZodString;
|
|
11207
|
-
module: zod.ZodString;
|
|
11208
|
-
}, zod_v4_core.$strip>>>;
|
|
11209
11472
|
platformInstructions: zod.ZodOptional<zod.ZodObject<{
|
|
11210
11473
|
rules: zod.ZodString;
|
|
11211
11474
|
orientation: zod.ZodString;
|
|
@@ -18143,6 +18406,7 @@ declare const credentialOperations: {
|
|
|
18143
18406
|
"governance:write": "governance:write";
|
|
18144
18407
|
"user_admin:read": "user_admin:read";
|
|
18145
18408
|
"user_admin:write": "user_admin:write";
|
|
18409
|
+
"infrastructure:check": "infrastructure:check";
|
|
18146
18410
|
"api_access:read": "api_access:read";
|
|
18147
18411
|
"api_access:write": "api_access:write";
|
|
18148
18412
|
"config_assets:read": "config_assets:read";
|
|
@@ -20932,6 +21196,7 @@ declare const instanceOperations: {
|
|
|
20932
21196
|
readonly tag: "Instance";
|
|
20933
21197
|
readonly auth: "user";
|
|
20934
21198
|
readonly scope: "user_admin:read";
|
|
21199
|
+
readonly personalKeyScope: "infrastructure:check";
|
|
20935
21200
|
readonly requires: readonly ["system.view"];
|
|
20936
21201
|
readonly effect: "reading";
|
|
20937
21202
|
readonly response: {
|
|
@@ -24859,6 +25124,14 @@ declare const platformOperations: {
|
|
|
24859
25124
|
}, zod_v4_core.$strip>;
|
|
24860
25125
|
principalActions: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
24861
25126
|
manifestFile: zod.ZodOptional<zod.ZodString>;
|
|
25127
|
+
source: zod.ZodOptional<zod.ZodObject<{
|
|
25128
|
+
fileBytes: zod.ZodNumber;
|
|
25129
|
+
files: zod.ZodNumber;
|
|
25130
|
+
treeBytes: zod.ZodNumber;
|
|
25131
|
+
historyBytes: zod.ZodNumber;
|
|
25132
|
+
cacheBytes: zod.ZodNumber;
|
|
25133
|
+
}, zod_v4_core.$strip>>;
|
|
25134
|
+
repository: zod.ZodOptional<zod.ZodBoolean>;
|
|
24862
25135
|
limits: zod.ZodOptional<zod.ZodObject<{
|
|
24863
25136
|
FILE_SET_MAX_FILES: zod.ZodNumber;
|
|
24864
25137
|
FILE_SET_MAX_FILE_BYTES: zod.ZodNumber;
|
|
@@ -24999,10 +25272,6 @@ declare const platformOperations: {
|
|
|
24999
25272
|
name: zod.ZodString;
|
|
25000
25273
|
reason: zod.ZodLiteral<"unknown_tool">;
|
|
25001
25274
|
}, zod_v4_core.$strip>], "reason">>>;
|
|
25002
|
-
moduleOffTools: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
25003
|
-
name: zod.ZodString;
|
|
25004
|
-
module: zod.ZodString;
|
|
25005
|
-
}, zod_v4_core.$strip>>>;
|
|
25006
25275
|
platformInstructions: zod.ZodOptional<zod.ZodObject<{
|
|
25007
25276
|
rules: zod.ZodString;
|
|
25008
25277
|
orientation: zod.ZodString;
|
|
@@ -28010,6 +28279,7 @@ declare const workflowOperations: {
|
|
|
28010
28279
|
test: "test";
|
|
28011
28280
|
}>;
|
|
28012
28281
|
trigger: z.ZodEnum<{
|
|
28282
|
+
outside: "outside";
|
|
28013
28283
|
schedule: "schedule";
|
|
28014
28284
|
manual: "manual";
|
|
28015
28285
|
parent: "parent";
|
|
@@ -28263,6 +28533,7 @@ declare const workflowOperations: {
|
|
|
28263
28533
|
test: "test";
|
|
28264
28534
|
}>;
|
|
28265
28535
|
trigger: z.ZodEnum<{
|
|
28536
|
+
outside: "outside";
|
|
28266
28537
|
schedule: "schedule";
|
|
28267
28538
|
manual: "manual";
|
|
28268
28539
|
parent: "parent";
|
|
@@ -28519,6 +28790,7 @@ declare const workflowOperations: {
|
|
|
28519
28790
|
test: "test";
|
|
28520
28791
|
}>;
|
|
28521
28792
|
trigger: z.ZodEnum<{
|
|
28793
|
+
outside: "outside";
|
|
28522
28794
|
schedule: "schedule";
|
|
28523
28795
|
manual: "manual";
|
|
28524
28796
|
parent: "parent";
|
|
@@ -28641,6 +28913,7 @@ declare const workflowOperations: {
|
|
|
28641
28913
|
test: "test";
|
|
28642
28914
|
}>;
|
|
28643
28915
|
trigger: z.ZodEnum<{
|
|
28916
|
+
outside: "outside";
|
|
28644
28917
|
schedule: "schedule";
|
|
28645
28918
|
manual: "manual";
|
|
28646
28919
|
parent: "parent";
|
|
@@ -28954,6 +29227,7 @@ declare const workflowOperations: {
|
|
|
28954
29227
|
test: "test";
|
|
28955
29228
|
}>;
|
|
28956
29229
|
trigger: z.ZodEnum<{
|
|
29230
|
+
outside: "outside";
|
|
28957
29231
|
schedule: "schedule";
|
|
28958
29232
|
manual: "manual";
|
|
28959
29233
|
parent: "parent";
|
|
@@ -29525,10 +29799,12 @@ declare const assetSchema: z.ZodObject<{
|
|
|
29525
29799
|
}, z.core.$strip>>;
|
|
29526
29800
|
draftRevision: z.ZodOptional<z.ZodNumber>;
|
|
29527
29801
|
publishedRevision: z.ZodOptional<z.ZodNumber>;
|
|
29528
|
-
|
|
29529
|
-
|
|
29802
|
+
liveVersion: z.ZodOptional<z.ZodObject<{
|
|
29803
|
+
number: z.ZodNumber;
|
|
29804
|
+
publishedAt: z.ZodISODateTime;
|
|
29530
29805
|
by: z.ZodOptional<z.ZodString>;
|
|
29531
29806
|
}, z.core.$strip>>;
|
|
29807
|
+
draftChangedSinceLive: z.ZodOptional<z.ZodBoolean>;
|
|
29532
29808
|
id: z.ZodString;
|
|
29533
29809
|
kind: z.ZodString;
|
|
29534
29810
|
name: z.ZodString;
|
|
@@ -29692,7 +29968,7 @@ interface ConfigApiOptions {
|
|
|
29692
29968
|
type FetchImpl = NonNullable<ConfigApiOptions["fetchImpl"]>;
|
|
29693
29969
|
declare function createConfigApi(options: ConfigApiOptions): Promise<{
|
|
29694
29970
|
/** Any reading operation of the instance. A refusal throws as `ConfigApiError`. */
|
|
29695
|
-
read: <Output>(request: (client: ApiClient) => Promise<Output
|
|
29971
|
+
read: <Output>(request: (client: ApiClient) => Promise<Output>, onRateLimitWait?: (seconds: number) => void) => Promise<Output>;
|
|
29696
29972
|
change: <Output>(request: (client: ApiClient, idempotencyKey: string) => Promise<Output>, unanswered: string) => Promise<Output>;
|
|
29697
29973
|
/** The version of the instance's asset set and the name of its default agent. */
|
|
29698
29974
|
getOverview: () => Promise<{
|
|
@@ -29742,6 +30018,10 @@ declare function createConfigApi(options: ConfigApiOptions): Promise<{
|
|
|
29742
30018
|
conversationId: string;
|
|
29743
30019
|
pageId: string;
|
|
29744
30020
|
fileSetNumber: number;
|
|
30021
|
+
byAgent?: true | undefined;
|
|
30022
|
+
} | {
|
|
30023
|
+
kind: "agent_run";
|
|
30024
|
+
conversationId: string;
|
|
29745
30025
|
} | undefined;
|
|
29746
30026
|
} | undefined>;
|
|
29747
30027
|
/** Asks whether a sync of the batch would be applied. A refusal throws as the sync's. */
|