@work-shape/catalyst-cli 0.8.0-rc.13 → 0.8.0-rc.15
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 +357 -19
- package/dist/index.js +3611 -3219
- 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";
|
|
@@ -5278,7 +5280,7 @@ declare const appOperations: {
|
|
|
5278
5280
|
readonly id: "apps.get_from_page";
|
|
5279
5281
|
readonly method: "GET";
|
|
5280
5282
|
readonly path: "/api/v1/conversations/:conversationId/pages/:pageId/app";
|
|
5281
|
-
readonly summary: "Read the
|
|
5283
|
+
readonly summary: "Read the preview state of a Page and the App the caller may update";
|
|
5282
5284
|
readonly tag: "Apps";
|
|
5283
5285
|
readonly auth: "user";
|
|
5284
5286
|
readonly scope: "conversation:read";
|
|
@@ -5290,6 +5292,14 @@ declare const appOperations: {
|
|
|
5290
5292
|
readonly response: {
|
|
5291
5293
|
readonly kind: "json";
|
|
5292
5294
|
readonly schema: zod.ZodObject<{
|
|
5295
|
+
preview: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
5296
|
+
kind: zod.ZodLiteral<"app">;
|
|
5297
|
+
title: zod.ZodString;
|
|
5298
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
5299
|
+
kind: zod.ZodLiteral<"unsaved">;
|
|
5300
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
5301
|
+
kind: zod.ZodLiteral<"neutral">;
|
|
5302
|
+
}, zod_v4_core.$strip>], "kind">;
|
|
5293
5303
|
app: zod.ZodNullable<zod.ZodObject<{
|
|
5294
5304
|
name: zod.ZodString;
|
|
5295
5305
|
title: zod.ZodString;
|
|
@@ -5545,7 +5555,7 @@ declare const appOperations: {
|
|
|
5545
5555
|
readonly id: "apps.publish_review";
|
|
5546
5556
|
readonly method: "GET";
|
|
5547
5557
|
readonly path: "/api/v1/apps/:app/publish-review";
|
|
5548
|
-
readonly summary: "Read what publishing an App's draft comes to: the App and the
|
|
5558
|
+
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
5559
|
readonly tag: "Apps";
|
|
5550
5560
|
readonly auth: "user";
|
|
5551
5561
|
readonly scope: "config_assets:read";
|
|
@@ -5565,6 +5575,7 @@ declare const appOperations: {
|
|
|
5565
5575
|
warnings: zod.ZodArray<zod.ZodString>;
|
|
5566
5576
|
}, zod_v4_core.$strip>>;
|
|
5567
5577
|
lastChangedBy: zod.ZodOptional<zod.ZodString>;
|
|
5578
|
+
href: zod.ZodOptional<zod.ZodString>;
|
|
5568
5579
|
refusals: zod.ZodArray<zod.ZodObject<{
|
|
5569
5580
|
reason: zod.ZodString;
|
|
5570
5581
|
message: zod.ZodString;
|
|
@@ -5582,6 +5593,7 @@ declare const appOperations: {
|
|
|
5582
5593
|
warnings: zod.ZodArray<zod.ZodString>;
|
|
5583
5594
|
}, zod_v4_core.$strip>>;
|
|
5584
5595
|
lastChangedBy: zod.ZodOptional<zod.ZodString>;
|
|
5596
|
+
href: zod.ZodOptional<zod.ZodString>;
|
|
5585
5597
|
refusals: zod.ZodArray<zod.ZodObject<{
|
|
5586
5598
|
reason: zod.ZodString;
|
|
5587
5599
|
message: zod.ZodString;
|
|
@@ -5603,6 +5615,27 @@ declare const appOperations: {
|
|
|
5603
5615
|
at: zod.ZodString;
|
|
5604
5616
|
}, zod_v4_core.$strip>>;
|
|
5605
5617
|
}, zod_v4_core.$strip>>;
|
|
5618
|
+
dataStores: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
5619
|
+
name: zod.ZodString;
|
|
5620
|
+
title: zod.ZodString;
|
|
5621
|
+
draftRevision: zod.ZodNumber;
|
|
5622
|
+
publishedRevision: zod.ZodOptional<zod.ZodNumber>;
|
|
5623
|
+
pending: zod.ZodBoolean;
|
|
5624
|
+
narrative: zod.ZodOptional<zod.ZodObject<{
|
|
5625
|
+
summary: zod.ZodString;
|
|
5626
|
+
warnings: zod.ZodArray<zod.ZodString>;
|
|
5627
|
+
}, zod_v4_core.$strip>>;
|
|
5628
|
+
lastChangedBy: zod.ZodOptional<zod.ZodString>;
|
|
5629
|
+
href: zod.ZodOptional<zod.ZodString>;
|
|
5630
|
+
refusals: zod.ZodArray<zod.ZodObject<{
|
|
5631
|
+
reason: zod.ZodString;
|
|
5632
|
+
message: zod.ZodString;
|
|
5633
|
+
right: zod.ZodOptional<zod.ZodString>;
|
|
5634
|
+
}, zod_v4_core.$strip>>;
|
|
5635
|
+
liveLevel: zod.ZodNumber;
|
|
5636
|
+
minSchema: zod.ZodOptional<zod.ZodNumber>;
|
|
5637
|
+
pendingMigrations: zod.ZodArray<zod.ZodString>;
|
|
5638
|
+
}, zod_v4_core.$strip>>>;
|
|
5606
5639
|
publishesTogether: zod.ZodBoolean;
|
|
5607
5640
|
ready: zod.ZodBoolean;
|
|
5608
5641
|
}, zod_v4_core.$strip>;
|
|
@@ -5642,6 +5675,56 @@ declare const appOperations: {
|
|
|
5642
5675
|
readonly errors: readonly ["NOT_FOUND"];
|
|
5643
5676
|
readonly rateClass: "read";
|
|
5644
5677
|
}>;
|
|
5678
|
+
readonly "apps.sessions.report": Operation<{
|
|
5679
|
+
readonly id: "apps.sessions.report";
|
|
5680
|
+
readonly method: "POST";
|
|
5681
|
+
readonly path: "/api/v1/app-content-sessions/:pageSessionId/report";
|
|
5682
|
+
readonly summary: "Keep what the preview a frame shows reported of itself, scrubbed and bounded, for the conversation's agent";
|
|
5683
|
+
readonly tag: "Apps";
|
|
5684
|
+
readonly auth: "user";
|
|
5685
|
+
readonly scope: "conversation:write";
|
|
5686
|
+
readonly requires: readonly [];
|
|
5687
|
+
readonly effect: "changing";
|
|
5688
|
+
readonly body: zod.ZodObject<{
|
|
5689
|
+
conversationId: zod.ZodOptional<zod.ZodString>;
|
|
5690
|
+
report: zod.ZodObject<{
|
|
5691
|
+
settled: zod.ZodBoolean;
|
|
5692
|
+
loaded: zod.ZodBoolean;
|
|
5693
|
+
bridge: zod.ZodEnum<{
|
|
5694
|
+
connected: "connected";
|
|
5695
|
+
not_connected: "not_connected";
|
|
5696
|
+
waiting: "waiting";
|
|
5697
|
+
not_used: "not_used";
|
|
5698
|
+
}>;
|
|
5699
|
+
empty: zod.ZodOptional<zod.ZodBoolean>;
|
|
5700
|
+
entries: zod.ZodArray<zod.ZodObject<{
|
|
5701
|
+
kind: zod.ZodEnum<{
|
|
5702
|
+
error: "error";
|
|
5703
|
+
rejection: "rejection";
|
|
5704
|
+
console: "console";
|
|
5705
|
+
policy: "policy";
|
|
5706
|
+
call: "call";
|
|
5707
|
+
}>;
|
|
5708
|
+
message: zod.ZodString;
|
|
5709
|
+
code: zod.ZodOptional<zod.ZodString>;
|
|
5710
|
+
file: zod.ZodOptional<zod.ZodString>;
|
|
5711
|
+
line: zod.ZodOptional<zod.ZodNumber>;
|
|
5712
|
+
count: zod.ZodNumber;
|
|
5713
|
+
}, zod_v4_core.$strict>>;
|
|
5714
|
+
more: zod.ZodNumber;
|
|
5715
|
+
}, zod_v4_core.$strict>;
|
|
5716
|
+
fileSetId: zod.ZodString;
|
|
5717
|
+
token: zod.ZodString;
|
|
5718
|
+
}, zod_v4_core.$strict>;
|
|
5719
|
+
readonly response: {
|
|
5720
|
+
readonly kind: "json";
|
|
5721
|
+
readonly schema: zod.ZodObject<{
|
|
5722
|
+
stored: zod.ZodBoolean;
|
|
5723
|
+
}, zod_v4_core.$strict>;
|
|
5724
|
+
};
|
|
5725
|
+
readonly errors: readonly ["NOT_FOUND", "VALIDATION_FAILED"];
|
|
5726
|
+
readonly rateClass: "write";
|
|
5727
|
+
}>;
|
|
5645
5728
|
readonly "apps.sessions.write_storage": Operation<{
|
|
5646
5729
|
readonly id: "apps.sessions.write_storage";
|
|
5647
5730
|
readonly method: "POST";
|
|
@@ -7019,6 +7102,171 @@ declare const assetOperations: {
|
|
|
7019
7102
|
readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
|
|
7020
7103
|
};
|
|
7021
7104
|
}>;
|
|
7105
|
+
readonly "assets.adopt_repository": Operation<{
|
|
7106
|
+
readonly id: "assets.adopt_repository";
|
|
7107
|
+
readonly method: "POST";
|
|
7108
|
+
readonly path: "/api/v1/assets/:kind/adopt-repository";
|
|
7109
|
+
readonly summary: "Give every revision of the assets of one kind written before it had a repository its commit";
|
|
7110
|
+
readonly tag: "Assets";
|
|
7111
|
+
readonly auth: "principal";
|
|
7112
|
+
readonly scope: "config_assets:release";
|
|
7113
|
+
readonly requires: readonly ["assets.release"];
|
|
7114
|
+
readonly effect: "changing";
|
|
7115
|
+
readonly body: zod.ZodObject<{
|
|
7116
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
7117
|
+
after: zod.ZodOptional<zod.ZodString>;
|
|
7118
|
+
}, zod_v4_core.$strip>;
|
|
7119
|
+
readonly response: {
|
|
7120
|
+
readonly kind: "json";
|
|
7121
|
+
readonly schema: zod.ZodObject<{
|
|
7122
|
+
adopted: zod.ZodNumber;
|
|
7123
|
+
revisions: zod.ZodNumber;
|
|
7124
|
+
commits: zod.ZodNumber;
|
|
7125
|
+
refused: zod.ZodNumber;
|
|
7126
|
+
adoptedAssetIds: zod.ZodArray<zod.ZodString>;
|
|
7127
|
+
refusedAssetIds: zod.ZodArray<zod.ZodString>;
|
|
7128
|
+
done: zod.ZodBoolean;
|
|
7129
|
+
after: zod.ZodOptional<zod.ZodString>;
|
|
7130
|
+
}, zod_v4_core.$strip>;
|
|
7131
|
+
};
|
|
7132
|
+
readonly errors: readonly ["VALIDATION_FAILED", "CONFLICT", "TIMEOUT"];
|
|
7133
|
+
readonly rateClass: "write";
|
|
7134
|
+
} & {
|
|
7135
|
+
readonly accepted: zod.ZodObject<{
|
|
7136
|
+
id: zod.ZodString;
|
|
7137
|
+
operation: zod.ZodString;
|
|
7138
|
+
effect: zod.ZodEnum<{
|
|
7139
|
+
reading: "reading";
|
|
7140
|
+
changing: "changing";
|
|
7141
|
+
}>;
|
|
7142
|
+
status: zod.ZodEnum<{
|
|
7143
|
+
failed: "failed";
|
|
7144
|
+
running: "running";
|
|
7145
|
+
pending_confirmation: "pending_confirmation";
|
|
7146
|
+
pending_approval: "pending_approval";
|
|
7147
|
+
done: "done";
|
|
7148
|
+
denied: "denied";
|
|
7149
|
+
expired: "expired";
|
|
7150
|
+
}>;
|
|
7151
|
+
actor: zod.ZodObject<{
|
|
7152
|
+
kind: zod.ZodEnum<{
|
|
7153
|
+
user: "user";
|
|
7154
|
+
service_principal: "service_principal";
|
|
7155
|
+
}>;
|
|
7156
|
+
id: zod.ZodString;
|
|
7157
|
+
label: zod.ZodString;
|
|
7158
|
+
}, zod_v4_core.$strip>;
|
|
7159
|
+
origin: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
7160
|
+
kind: zod.ZodLiteral<"agent">;
|
|
7161
|
+
agentRunId: zod.ZodString;
|
|
7162
|
+
conversationId: zod.ZodString;
|
|
7163
|
+
agentName: zod.ZodString;
|
|
7164
|
+
toolCallId: zod.ZodString;
|
|
7165
|
+
toolName: zod.ZodString;
|
|
7166
|
+
toolRevisionId: zod.ZodOptional<zod.ZodString>;
|
|
7167
|
+
boundBy: zod.ZodOptional<zod.ZodObject<{
|
|
7168
|
+
id: zod.ZodString;
|
|
7169
|
+
label: zod.ZodString;
|
|
7170
|
+
}, zod_v4_core.$strip>>;
|
|
7171
|
+
draft: zod.ZodOptional<zod.ZodObject<{
|
|
7172
|
+
kind: zod.ZodLiteral<"agent_preview">;
|
|
7173
|
+
asset: zod.ZodObject<{
|
|
7174
|
+
kind: zod.ZodString;
|
|
7175
|
+
id: zod.ZodString;
|
|
7176
|
+
name: zod.ZodString;
|
|
7177
|
+
}, zod_v4_core.$strip>;
|
|
7178
|
+
revisionId: zod.ZodString;
|
|
7179
|
+
part: zod.ZodString;
|
|
7180
|
+
}, zod_v4_core.$strip>>;
|
|
7181
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
7182
|
+
kind: zod.ZodLiteral<"user">;
|
|
7183
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
7184
|
+
kind: zod.ZodLiteral<"cli">;
|
|
7185
|
+
unattended: zod.ZodOptional<zod.ZodLiteral<true>>;
|
|
7186
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
7187
|
+
kind: zod.ZodLiteral<"mcp">;
|
|
7188
|
+
clientName: zod.ZodOptional<zod.ZodString>;
|
|
7189
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
7190
|
+
kind: zod.ZodLiteral<"app">;
|
|
7191
|
+
appName: zod.ZodOptional<zod.ZodString>;
|
|
7192
|
+
appRevisionId: zod.ZodString;
|
|
7193
|
+
actionName: zod.ZodString;
|
|
7194
|
+
pageSessionId: zod.ZodString;
|
|
7195
|
+
conversationId: zod.ZodOptional<zod.ZodString>;
|
|
7196
|
+
target: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
7197
|
+
connection: zod.ZodString;
|
|
7198
|
+
operation: zod.ZodString;
|
|
7199
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
7200
|
+
dataStore: zod.ZodString;
|
|
7201
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
7202
|
+
workflow: zod.ZodString;
|
|
7203
|
+
}, zod_v4_core.$strip>]>>;
|
|
7204
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
7205
|
+
kind: zod.ZodLiteral<"workflow">;
|
|
7206
|
+
workflowRunId: zod.ZodString;
|
|
7207
|
+
stepRunId: zod.ZodString;
|
|
7208
|
+
boundBy: zod.ZodOptional<zod.ZodObject<{
|
|
7209
|
+
id: zod.ZodString;
|
|
7210
|
+
label: zod.ZodString;
|
|
7211
|
+
}, zod_v4_core.$strip>>;
|
|
7212
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
7213
|
+
kind: zod.ZodLiteral<"schedule">;
|
|
7214
|
+
scheduleId: zod.ZodString;
|
|
7215
|
+
}, zod_v4_core.$strip>], "kind">;
|
|
7216
|
+
target: zod.ZodEnum<{
|
|
7217
|
+
live: "live";
|
|
7218
|
+
test: "test";
|
|
7219
|
+
dry_run: "dry_run";
|
|
7220
|
+
}>;
|
|
7221
|
+
app: zod.ZodOptional<zod.ZodObject<{
|
|
7222
|
+
title: zod.ZodOptional<zod.ZodString>;
|
|
7223
|
+
revision: zod.ZodOptional<zod.ZodNumber>;
|
|
7224
|
+
deleted: zod.ZodBoolean;
|
|
7225
|
+
}, zod_v4_core.$strip>>;
|
|
7226
|
+
workspaceId: zod.ZodOptional<zod.ZodString>;
|
|
7227
|
+
approvalRequestId: zod.ZodOptional<zod.ZodString>;
|
|
7228
|
+
inputHash: zod.ZodString;
|
|
7229
|
+
attempt: zod.ZodNumber;
|
|
7230
|
+
decision: zod.ZodOptional<zod.ZodObject<{
|
|
7231
|
+
mode: zod.ZodEnum<{
|
|
7232
|
+
direct: "direct";
|
|
7233
|
+
confirmed: "confirmed";
|
|
7234
|
+
approved: "approved";
|
|
7235
|
+
declined: "declined";
|
|
7236
|
+
}>;
|
|
7237
|
+
reason: zod.ZodOptional<zod.ZodEnum<{
|
|
7238
|
+
inherited_approval_not_applied: "inherited_approval_not_applied";
|
|
7239
|
+
workflow_publish: "workflow_publish";
|
|
7240
|
+
approved_by_caller: "approved_by_caller";
|
|
7241
|
+
}>>;
|
|
7242
|
+
by: zod.ZodString;
|
|
7243
|
+
byLabel: zod.ZodOptional<zod.ZodString>;
|
|
7244
|
+
at: zod.ZodISODateTime;
|
|
7245
|
+
comment: zod.ZodOptional<zod.ZodString>;
|
|
7246
|
+
}, zod_v4_core.$strip>>;
|
|
7247
|
+
error: zod.ZodOptional<zod.ZodObject<{
|
|
7248
|
+
code: zod.ZodString;
|
|
7249
|
+
message: zod.ZodString;
|
|
7250
|
+
reason: zod.ZodOptional<zod.ZodString>;
|
|
7251
|
+
}, zod_v4_core.$strip>>;
|
|
7252
|
+
usage: zod.ZodOptional<zod.ZodObject<{
|
|
7253
|
+
modelCalls: zod.ZodNumber;
|
|
7254
|
+
inputTokens: zod.ZodNumber;
|
|
7255
|
+
outputTokens: zod.ZodNumber;
|
|
7256
|
+
totalTokens: zod.ZodNumber;
|
|
7257
|
+
}, zod_v4_core.$strip>>;
|
|
7258
|
+
correlationId: zod.ZodString;
|
|
7259
|
+
createdAt: zod.ZodISODateTime;
|
|
7260
|
+
startedAt: zod.ZodOptional<zod.ZodISODateTime>;
|
|
7261
|
+
finishedAt: zod.ZodOptional<zod.ZodISODateTime>;
|
|
7262
|
+
expiresAt: zod.ZodOptional<zod.ZodISODateTime>;
|
|
7263
|
+
href: zod.ZodString;
|
|
7264
|
+
}, zod_v4_core.$strip>;
|
|
7265
|
+
readonly headers: {
|
|
7266
|
+
readonly request: readonly ["Idempotency-Key", "Catalyst-Unattended"];
|
|
7267
|
+
readonly response: readonly ["Operation-Run-Id", "Location", "Idempotent-Replayed"];
|
|
7268
|
+
};
|
|
7269
|
+
}>;
|
|
7022
7270
|
readonly "assets.validate": Operation<{
|
|
7023
7271
|
readonly id: "assets.validate";
|
|
7024
7272
|
readonly method: "POST";
|
|
@@ -7387,10 +7635,12 @@ declare const assetOperations: {
|
|
|
7387
7635
|
}, zod_v4_core.$strip>>;
|
|
7388
7636
|
draftRevision: zod.ZodOptional<zod.ZodNumber>;
|
|
7389
7637
|
publishedRevision: zod.ZodOptional<zod.ZodNumber>;
|
|
7390
|
-
|
|
7391
|
-
|
|
7638
|
+
liveVersion: zod.ZodOptional<zod.ZodObject<{
|
|
7639
|
+
number: zod.ZodNumber;
|
|
7640
|
+
publishedAt: zod.ZodISODateTime;
|
|
7392
7641
|
by: zod.ZodOptional<zod.ZodString>;
|
|
7393
7642
|
}, zod_v4_core.$strip>>;
|
|
7643
|
+
draftChangedSinceLive: zod.ZodOptional<zod.ZodBoolean>;
|
|
7394
7644
|
id: zod.ZodString;
|
|
7395
7645
|
kind: zod.ZodString;
|
|
7396
7646
|
name: zod.ZodString;
|
|
@@ -7634,6 +7884,10 @@ declare const assetOperations: {
|
|
|
7634
7884
|
name: zod.ZodString;
|
|
7635
7885
|
revision: zod.ZodNumber;
|
|
7636
7886
|
}, zod_v4_core.$strict>>>;
|
|
7887
|
+
dataStores: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
7888
|
+
name: zod.ZodString;
|
|
7889
|
+
revision: zod.ZodNumber;
|
|
7890
|
+
}, zod_v4_core.$strict>>>;
|
|
7637
7891
|
}, zod_v4_core.$strip>;
|
|
7638
7892
|
readonly response: {
|
|
7639
7893
|
readonly kind: "json";
|
|
@@ -7642,7 +7896,10 @@ declare const assetOperations: {
|
|
|
7642
7896
|
publishedRevision: zod.ZodNumber;
|
|
7643
7897
|
replacedRevision: zod.ZodOptional<zod.ZodNumber>;
|
|
7644
7898
|
publishedWith: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
7645
|
-
kind: zod.
|
|
7899
|
+
kind: zod.ZodEnum<{
|
|
7900
|
+
workflow: "workflow";
|
|
7901
|
+
data_store: "data_store";
|
|
7902
|
+
}>;
|
|
7646
7903
|
name: zod.ZodString;
|
|
7647
7904
|
publishedRevision: zod.ZodNumber;
|
|
7648
7905
|
replacedRevision: zod.ZodOptional<zod.ZodNumber>;
|
|
@@ -7808,7 +8065,10 @@ declare const assetOperations: {
|
|
|
7808
8065
|
publishedRevision: zod.ZodNumber;
|
|
7809
8066
|
replacedRevision: zod.ZodOptional<zod.ZodNumber>;
|
|
7810
8067
|
publishedWith: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
7811
|
-
kind: zod.
|
|
8068
|
+
kind: zod.ZodEnum<{
|
|
8069
|
+
workflow: "workflow";
|
|
8070
|
+
data_store: "data_store";
|
|
8071
|
+
}>;
|
|
7812
8072
|
name: zod.ZodString;
|
|
7813
8073
|
publishedRevision: zod.ZodNumber;
|
|
7814
8074
|
replacedRevision: zod.ZodOptional<zod.ZodNumber>;
|
|
@@ -8555,6 +8815,10 @@ declare const assetOperations: {
|
|
|
8555
8815
|
conversationId: zod.ZodString;
|
|
8556
8816
|
pageId: zod.ZodString;
|
|
8557
8817
|
fileSetNumber: zod.ZodNumber;
|
|
8818
|
+
byAgent: zod.ZodOptional<zod.ZodLiteral<true>>;
|
|
8819
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
8820
|
+
kind: zod.ZodLiteral<"agent_run">;
|
|
8821
|
+
conversationId: zod.ZodString;
|
|
8558
8822
|
}, zod_v4_core.$strip>], "kind">>;
|
|
8559
8823
|
globalVersion: zod.ZodNumber;
|
|
8560
8824
|
createdAt: zod.ZodISODateTime;
|
|
@@ -8571,6 +8835,67 @@ declare const assetOperations: {
|
|
|
8571
8835
|
readonly response: readonly ["Operation-Run-Id"];
|
|
8572
8836
|
};
|
|
8573
8837
|
}>;
|
|
8838
|
+
readonly "assets.publications.list": Operation<{
|
|
8839
|
+
readonly id: "assets.publications.list";
|
|
8840
|
+
readonly method: "GET";
|
|
8841
|
+
readonly path: "/api/v1/assets/:kind/:name/publications";
|
|
8842
|
+
readonly summary: "List the publications of one asset with a draft, newest first";
|
|
8843
|
+
readonly tag: "Assets";
|
|
8844
|
+
readonly auth: "principal";
|
|
8845
|
+
readonly scope: "config_assets:read";
|
|
8846
|
+
readonly requires: readonly [];
|
|
8847
|
+
readonly effect: "reading";
|
|
8848
|
+
readonly query: zod.ZodObject<{
|
|
8849
|
+
limit: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
|
|
8850
|
+
cursor: zod.ZodOptional<zod.ZodString>;
|
|
8851
|
+
workspaceId: zod.ZodOptional<zod.ZodString>;
|
|
8852
|
+
}, zod_v4_core.$strip>;
|
|
8853
|
+
readonly response: {
|
|
8854
|
+
readonly kind: "page";
|
|
8855
|
+
readonly schema: zod.ZodObject<{
|
|
8856
|
+
items: zod.ZodArray<zod.ZodObject<{
|
|
8857
|
+
number: zod.ZodNumber;
|
|
8858
|
+
revision: zod.ZodNumber;
|
|
8859
|
+
actor: zod.ZodNullable<zod.ZodObject<{
|
|
8860
|
+
userId: zod.ZodOptional<zod.ZodString>;
|
|
8861
|
+
externalUserId: zod.ZodOptional<zod.ZodString>;
|
|
8862
|
+
displayLabel: zod.ZodString;
|
|
8863
|
+
roles: zod.ZodArray<zod.ZodString>;
|
|
8864
|
+
principalKind: zod.ZodOptional<zod.ZodEnum<{
|
|
8865
|
+
user: "user";
|
|
8866
|
+
service: "service";
|
|
8867
|
+
}>>;
|
|
8868
|
+
principalId: zod.ZodOptional<zod.ZodString>;
|
|
8869
|
+
principalDisplayLabel: zod.ZodOptional<zod.ZodString>;
|
|
8870
|
+
credentialId: zod.ZodOptional<zod.ZodString>;
|
|
8871
|
+
subjectUserId: zod.ZodOptional<zod.ZodString>;
|
|
8872
|
+
delegatedActor: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
8873
|
+
kind: zod.ZodDefault<zod.ZodLiteral<"service_principal">>;
|
|
8874
|
+
id: zod.ZodString;
|
|
8875
|
+
displayLabel: zod.ZodOptional<zod.ZodString>;
|
|
8876
|
+
authSource: zod.ZodString;
|
|
8877
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
8878
|
+
kind: zod.ZodLiteral<"api_key">;
|
|
8879
|
+
id: zod.ZodString;
|
|
8880
|
+
displayLabel: zod.ZodString;
|
|
8881
|
+
authSource: zod.ZodString;
|
|
8882
|
+
}, zod_v4_core.$strip>]>>;
|
|
8883
|
+
}, zod_v4_core.$strip>>;
|
|
8884
|
+
publishedAt: zod.ZodISODateTime;
|
|
8885
|
+
note: zod.ZodOptional<zod.ZodString>;
|
|
8886
|
+
}, zod_v4_core.$strip>>;
|
|
8887
|
+
nextCursor: zod.ZodOptional<zod.ZodString>;
|
|
8888
|
+
}, zod_v4_core.$strip>;
|
|
8889
|
+
readonly order: readonly string[];
|
|
8890
|
+
readonly descending: boolean;
|
|
8891
|
+
};
|
|
8892
|
+
readonly errors: readonly ["NOT_FOUND"];
|
|
8893
|
+
readonly rateClass: "read";
|
|
8894
|
+
} & {
|
|
8895
|
+
readonly headers: {
|
|
8896
|
+
readonly response: readonly ["Operation-Run-Id"];
|
|
8897
|
+
};
|
|
8898
|
+
}>;
|
|
8574
8899
|
readonly "assets.revert": Operation<{
|
|
8575
8900
|
readonly id: "assets.revert";
|
|
8576
8901
|
readonly method: "POST";
|
|
@@ -11202,10 +11527,6 @@ declare const configAssetOperations: {
|
|
|
11202
11527
|
name: zod.ZodString;
|
|
11203
11528
|
reason: zod.ZodLiteral<"unknown_tool">;
|
|
11204
11529
|
}, 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
11530
|
platformInstructions: zod.ZodOptional<zod.ZodObject<{
|
|
11210
11531
|
rules: zod.ZodString;
|
|
11211
11532
|
orientation: zod.ZodString;
|
|
@@ -18143,6 +18464,7 @@ declare const credentialOperations: {
|
|
|
18143
18464
|
"governance:write": "governance:write";
|
|
18144
18465
|
"user_admin:read": "user_admin:read";
|
|
18145
18466
|
"user_admin:write": "user_admin:write";
|
|
18467
|
+
"infrastructure:check": "infrastructure:check";
|
|
18146
18468
|
"api_access:read": "api_access:read";
|
|
18147
18469
|
"api_access:write": "api_access:write";
|
|
18148
18470
|
"config_assets:read": "config_assets:read";
|
|
@@ -20932,6 +21254,7 @@ declare const instanceOperations: {
|
|
|
20932
21254
|
readonly tag: "Instance";
|
|
20933
21255
|
readonly auth: "user";
|
|
20934
21256
|
readonly scope: "user_admin:read";
|
|
21257
|
+
readonly personalKeyScope: "infrastructure:check";
|
|
20935
21258
|
readonly requires: readonly ["system.view"];
|
|
20936
21259
|
readonly effect: "reading";
|
|
20937
21260
|
readonly response: {
|
|
@@ -24859,6 +25182,14 @@ declare const platformOperations: {
|
|
|
24859
25182
|
}, zod_v4_core.$strip>;
|
|
24860
25183
|
principalActions: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
24861
25184
|
manifestFile: zod.ZodOptional<zod.ZodString>;
|
|
25185
|
+
source: zod.ZodOptional<zod.ZodObject<{
|
|
25186
|
+
fileBytes: zod.ZodNumber;
|
|
25187
|
+
files: zod.ZodNumber;
|
|
25188
|
+
treeBytes: zod.ZodNumber;
|
|
25189
|
+
historyBytes: zod.ZodNumber;
|
|
25190
|
+
cacheBytes: zod.ZodNumber;
|
|
25191
|
+
}, zod_v4_core.$strip>>;
|
|
25192
|
+
repository: zod.ZodOptional<zod.ZodBoolean>;
|
|
24862
25193
|
limits: zod.ZodOptional<zod.ZodObject<{
|
|
24863
25194
|
FILE_SET_MAX_FILES: zod.ZodNumber;
|
|
24864
25195
|
FILE_SET_MAX_FILE_BYTES: zod.ZodNumber;
|
|
@@ -24999,10 +25330,6 @@ declare const platformOperations: {
|
|
|
24999
25330
|
name: zod.ZodString;
|
|
25000
25331
|
reason: zod.ZodLiteral<"unknown_tool">;
|
|
25001
25332
|
}, 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
25333
|
platformInstructions: zod.ZodOptional<zod.ZodObject<{
|
|
25007
25334
|
rules: zod.ZodString;
|
|
25008
25335
|
orientation: zod.ZodString;
|
|
@@ -28010,6 +28337,7 @@ declare const workflowOperations: {
|
|
|
28010
28337
|
test: "test";
|
|
28011
28338
|
}>;
|
|
28012
28339
|
trigger: z.ZodEnum<{
|
|
28340
|
+
outside: "outside";
|
|
28013
28341
|
schedule: "schedule";
|
|
28014
28342
|
manual: "manual";
|
|
28015
28343
|
parent: "parent";
|
|
@@ -28263,6 +28591,7 @@ declare const workflowOperations: {
|
|
|
28263
28591
|
test: "test";
|
|
28264
28592
|
}>;
|
|
28265
28593
|
trigger: z.ZodEnum<{
|
|
28594
|
+
outside: "outside";
|
|
28266
28595
|
schedule: "schedule";
|
|
28267
28596
|
manual: "manual";
|
|
28268
28597
|
parent: "parent";
|
|
@@ -28519,6 +28848,7 @@ declare const workflowOperations: {
|
|
|
28519
28848
|
test: "test";
|
|
28520
28849
|
}>;
|
|
28521
28850
|
trigger: z.ZodEnum<{
|
|
28851
|
+
outside: "outside";
|
|
28522
28852
|
schedule: "schedule";
|
|
28523
28853
|
manual: "manual";
|
|
28524
28854
|
parent: "parent";
|
|
@@ -28641,6 +28971,7 @@ declare const workflowOperations: {
|
|
|
28641
28971
|
test: "test";
|
|
28642
28972
|
}>;
|
|
28643
28973
|
trigger: z.ZodEnum<{
|
|
28974
|
+
outside: "outside";
|
|
28644
28975
|
schedule: "schedule";
|
|
28645
28976
|
manual: "manual";
|
|
28646
28977
|
parent: "parent";
|
|
@@ -28954,6 +29285,7 @@ declare const workflowOperations: {
|
|
|
28954
29285
|
test: "test";
|
|
28955
29286
|
}>;
|
|
28956
29287
|
trigger: z.ZodEnum<{
|
|
29288
|
+
outside: "outside";
|
|
28957
29289
|
schedule: "schedule";
|
|
28958
29290
|
manual: "manual";
|
|
28959
29291
|
parent: "parent";
|
|
@@ -29525,10 +29857,12 @@ declare const assetSchema: z.ZodObject<{
|
|
|
29525
29857
|
}, z.core.$strip>>;
|
|
29526
29858
|
draftRevision: z.ZodOptional<z.ZodNumber>;
|
|
29527
29859
|
publishedRevision: z.ZodOptional<z.ZodNumber>;
|
|
29528
|
-
|
|
29529
|
-
|
|
29860
|
+
liveVersion: z.ZodOptional<z.ZodObject<{
|
|
29861
|
+
number: z.ZodNumber;
|
|
29862
|
+
publishedAt: z.ZodISODateTime;
|
|
29530
29863
|
by: z.ZodOptional<z.ZodString>;
|
|
29531
29864
|
}, z.core.$strip>>;
|
|
29865
|
+
draftChangedSinceLive: z.ZodOptional<z.ZodBoolean>;
|
|
29532
29866
|
id: z.ZodString;
|
|
29533
29867
|
kind: z.ZodString;
|
|
29534
29868
|
name: z.ZodString;
|
|
@@ -29692,7 +30026,7 @@ interface ConfigApiOptions {
|
|
|
29692
30026
|
type FetchImpl = NonNullable<ConfigApiOptions["fetchImpl"]>;
|
|
29693
30027
|
declare function createConfigApi(options: ConfigApiOptions): Promise<{
|
|
29694
30028
|
/** Any reading operation of the instance. A refusal throws as `ConfigApiError`. */
|
|
29695
|
-
read: <Output>(request: (client: ApiClient) => Promise<Output
|
|
30029
|
+
read: <Output>(request: (client: ApiClient) => Promise<Output>, onRateLimitWait?: (seconds: number) => void) => Promise<Output>;
|
|
29696
30030
|
change: <Output>(request: (client: ApiClient, idempotencyKey: string) => Promise<Output>, unanswered: string) => Promise<Output>;
|
|
29697
30031
|
/** The version of the instance's asset set and the name of its default agent. */
|
|
29698
30032
|
getOverview: () => Promise<{
|
|
@@ -29742,6 +30076,10 @@ declare function createConfigApi(options: ConfigApiOptions): Promise<{
|
|
|
29742
30076
|
conversationId: string;
|
|
29743
30077
|
pageId: string;
|
|
29744
30078
|
fileSetNumber: number;
|
|
30079
|
+
byAgent?: true | undefined;
|
|
30080
|
+
} | {
|
|
30081
|
+
kind: "agent_run";
|
|
30082
|
+
conversationId: string;
|
|
29745
30083
|
} | undefined;
|
|
29746
30084
|
} | undefined>;
|
|
29747
30085
|
/** Asks whether a sync of the batch would be applied. A refusal throws as the sync's. */
|