@intentic/sandbox-contract 1.102.0 → 1.104.0
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/contracts/activity.contract.d.ts +51 -0
- package/dist/contracts/activity.contract.d.ts.map +1 -0
- package/dist/contracts/activity.contract.js +7 -0
- package/dist/contracts/activity.contract.js.map +1 -0
- package/dist/contracts/agent.contract.d.ts +2 -0
- package/dist/contracts/agent.contract.d.ts.map +1 -1
- package/dist/contracts/automations.contract.d.ts +2 -0
- package/dist/contracts/automations.contract.d.ts.map +1 -1
- package/dist/contracts/capabilities.contract.d.ts +8 -0
- package/dist/contracts/capabilities.contract.d.ts.map +1 -1
- package/dist/contracts/inventory.contract.d.ts +24 -0
- package/dist/contracts/inventory.contract.d.ts.map +1 -1
- package/dist/contracts/panels.contract.d.ts +0 -9
- package/dist/contracts/panels.contract.d.ts.map +1 -1
- package/dist/contracts/panels.contract.js +1 -2
- package/dist/contracts/panels.contract.js.map +1 -1
- package/dist/contracts/secrets.contract.d.ts +36 -0
- package/dist/contracts/secrets.contract.d.ts.map +1 -1
- package/dist/contracts/secrets.contract.js +4 -1
- package/dist/contracts/secrets.contract.js.map +1 -1
- package/dist/contracts/system.contract.d.ts +64 -20
- package/dist/contracts/system.contract.d.ts.map +1 -1
- package/dist/contracts/system.contract.js +7 -2
- package/dist/contracts/system.contract.js.map +1 -1
- package/dist/contracts/workspace.contract.d.ts +5 -1
- package/dist/contracts/workspace.contract.d.ts.map +1 -1
- package/dist/events.d.ts +40 -0
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +13 -2
- package/dist/events.js.map +1 -1
- package/dist/index.d.ts +173 -12
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/schemas.d.ts +222 -6
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +87 -9
- package/dist/schemas.js.map +1 -1
- package/dist/tunnel-ids.d.ts +2 -0
- package/dist/tunnel-ids.d.ts.map +1 -0
- package/dist/tunnel-ids.js +3 -0
- package/dist/tunnel-ids.js.map +1 -0
- package/package.json +12 -1
package/dist/schemas.d.ts
CHANGED
|
@@ -352,9 +352,17 @@ export declare const WorkspaceSyncSchema: z.ZodObject<{
|
|
|
352
352
|
message: z.ZodOptional<z.ZodString>;
|
|
353
353
|
}, z.core.$strip>>;
|
|
354
354
|
}, z.core.$strip>;
|
|
355
|
+
export declare const AppInstanceInputSchema: z.ZodObject<{
|
|
356
|
+
template: z.ZodString;
|
|
357
|
+
name: z.ZodString;
|
|
358
|
+
}, z.core.$strip>;
|
|
359
|
+
export type AppInstanceInput = z.infer<typeof AppInstanceInputSchema>;
|
|
355
360
|
export declare const AddAppsSchema: z.ZodObject<{
|
|
356
361
|
repo: z.ZodString;
|
|
357
|
-
apps: z.ZodArray<z.
|
|
362
|
+
apps: z.ZodArray<z.ZodObject<{
|
|
363
|
+
template: z.ZodString;
|
|
364
|
+
name: z.ZodString;
|
|
365
|
+
}, z.core.$strip>>;
|
|
358
366
|
}, z.core.$strip>;
|
|
359
367
|
export declare const TemplateSummarySchema: z.ZodObject<{
|
|
360
368
|
key: z.ZodString;
|
|
@@ -372,6 +380,7 @@ export declare const TemplatesListSchema: z.ZodObject<{
|
|
|
372
380
|
export type TemplatesList = z.infer<typeof TemplatesListSchema>;
|
|
373
381
|
export declare const RepoAppSchema: z.ZodObject<{
|
|
374
382
|
app: z.ZodString;
|
|
383
|
+
template: z.ZodString;
|
|
375
384
|
previewUrl: z.ZodOptional<z.ZodString>;
|
|
376
385
|
running: z.ZodBoolean;
|
|
377
386
|
healthy: z.ZodBoolean;
|
|
@@ -379,6 +388,7 @@ export declare const RepoAppSchema: z.ZodObject<{
|
|
|
379
388
|
export declare const AppsListSchema: z.ZodObject<{
|
|
380
389
|
apps: z.ZodArray<z.ZodObject<{
|
|
381
390
|
app: z.ZodString;
|
|
391
|
+
template: z.ZodString;
|
|
382
392
|
previewUrl: z.ZodOptional<z.ZodString>;
|
|
383
393
|
running: z.ZodBoolean;
|
|
384
394
|
healthy: z.ZodBoolean;
|
|
@@ -437,6 +447,13 @@ export declare const ServiceEntrySchema: z.ZodObject<{
|
|
|
437
447
|
on: z.ZodString;
|
|
438
448
|
expose: z.ZodString;
|
|
439
449
|
}, z.core.$strip>;
|
|
450
|
+
export declare const AppEntrySchema: z.ZodObject<{
|
|
451
|
+
kind: z.ZodLiteral<"app">;
|
|
452
|
+
name: z.ZodString;
|
|
453
|
+
values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
454
|
+
on: z.ZodString;
|
|
455
|
+
expose: z.ZodString;
|
|
456
|
+
}, z.core.$strip>;
|
|
440
457
|
export declare const InventoryEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
441
458
|
kind: z.ZodLiteral<"backend">;
|
|
442
459
|
provider: z.ZodEnum<{
|
|
@@ -462,6 +479,12 @@ export declare const InventoryEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
462
479
|
values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
463
480
|
on: z.ZodString;
|
|
464
481
|
expose: z.ZodString;
|
|
482
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
483
|
+
kind: z.ZodLiteral<"app">;
|
|
484
|
+
name: z.ZodString;
|
|
485
|
+
values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
486
|
+
on: z.ZodString;
|
|
487
|
+
expose: z.ZodString;
|
|
465
488
|
}, z.core.$strip>], "kind">;
|
|
466
489
|
export type InventoryEntry = z.infer<typeof InventoryEntrySchema>;
|
|
467
490
|
export declare const AddInventoryInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -489,6 +512,12 @@ export declare const AddInventoryInputSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
489
512
|
on: z.ZodString;
|
|
490
513
|
expose: z.ZodString;
|
|
491
514
|
name: z.ZodString;
|
|
515
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
516
|
+
kind: z.ZodLiteral<"app">;
|
|
517
|
+
values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
518
|
+
on: z.ZodString;
|
|
519
|
+
expose: z.ZodString;
|
|
520
|
+
name: z.ZodString;
|
|
492
521
|
}, z.core.$strip>], "kind">;
|
|
493
522
|
export type AddInventoryInput = z.infer<typeof AddInventoryInputSchema>;
|
|
494
523
|
export declare const InventoryNameParamSchema: z.ZodObject<{
|
|
@@ -520,6 +549,12 @@ export declare const InventoryListSchema: z.ZodObject<{
|
|
|
520
549
|
values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
521
550
|
on: z.ZodString;
|
|
522
551
|
expose: z.ZodString;
|
|
552
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
553
|
+
kind: z.ZodLiteral<"app">;
|
|
554
|
+
name: z.ZodString;
|
|
555
|
+
values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
556
|
+
on: z.ZodString;
|
|
557
|
+
expose: z.ZodString;
|
|
523
558
|
}, z.core.$strip>], "kind">>;
|
|
524
559
|
}, z.core.$strip>;
|
|
525
560
|
export declare const EnrollHostInputSchema: z.ZodObject<{
|
|
@@ -579,6 +614,14 @@ export declare const IntegrationConfigSchema: z.ZodObject<{
|
|
|
579
614
|
export declare const CliConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
580
615
|
provider: z.ZodLiteral<"discord">;
|
|
581
616
|
botToken: z.ZodString;
|
|
617
|
+
voiceModel: z.ZodOptional<z.ZodEnum<{
|
|
618
|
+
base: "base";
|
|
619
|
+
small: "small";
|
|
620
|
+
tiny: "tiny";
|
|
621
|
+
medium: "medium";
|
|
622
|
+
"large-v3-turbo": "large-v3-turbo";
|
|
623
|
+
}>>;
|
|
624
|
+
voiceLanguage: z.ZodOptional<z.ZodString>;
|
|
582
625
|
}, z.core.$strip>, z.ZodObject<{
|
|
583
626
|
provider: z.ZodLiteral<"github">;
|
|
584
627
|
token: z.ZodString;
|
|
@@ -707,6 +750,14 @@ export declare const CapabilitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
707
750
|
config: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
708
751
|
provider: z.ZodLiteral<"discord">;
|
|
709
752
|
botToken: z.ZodString;
|
|
753
|
+
voiceModel: z.ZodOptional<z.ZodEnum<{
|
|
754
|
+
base: "base";
|
|
755
|
+
small: "small";
|
|
756
|
+
tiny: "tiny";
|
|
757
|
+
medium: "medium";
|
|
758
|
+
"large-v3-turbo": "large-v3-turbo";
|
|
759
|
+
}>>;
|
|
760
|
+
voiceLanguage: z.ZodOptional<z.ZodString>;
|
|
710
761
|
}, z.core.$strip>, z.ZodObject<{
|
|
711
762
|
provider: z.ZodLiteral<"github">;
|
|
712
763
|
token: z.ZodString;
|
|
@@ -906,6 +957,7 @@ export declare const TriggerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
906
957
|
channelId: z.ZodOptional<z.ZodString>;
|
|
907
958
|
eventType: z.ZodOptional<z.ZodEnum<{
|
|
908
959
|
message: "message";
|
|
960
|
+
voice_utterance: "voice_utterance";
|
|
909
961
|
voice_transcript: "voice_transcript";
|
|
910
962
|
}>>;
|
|
911
963
|
}, z.core.$strip>], "kind">;
|
|
@@ -926,6 +978,7 @@ export declare const AutomationSchema: z.ZodObject<{
|
|
|
926
978
|
channelId: z.ZodOptional<z.ZodString>;
|
|
927
979
|
eventType: z.ZodOptional<z.ZodEnum<{
|
|
928
980
|
message: "message";
|
|
981
|
+
voice_utterance: "voice_utterance";
|
|
929
982
|
voice_transcript: "voice_transcript";
|
|
930
983
|
}>>;
|
|
931
984
|
}, z.core.$strip>], "kind">;
|
|
@@ -960,6 +1013,7 @@ export declare const AutomationSummarySchema: z.ZodObject<{
|
|
|
960
1013
|
channelId: z.ZodOptional<z.ZodString>;
|
|
961
1014
|
eventType: z.ZodOptional<z.ZodEnum<{
|
|
962
1015
|
message: "message";
|
|
1016
|
+
voice_utterance: "voice_utterance";
|
|
963
1017
|
voice_transcript: "voice_transcript";
|
|
964
1018
|
}>>;
|
|
965
1019
|
}, z.core.$strip>], "kind">;
|
|
@@ -994,6 +1048,7 @@ export declare const AutomationsListSchema: z.ZodObject<{
|
|
|
994
1048
|
channelId: z.ZodOptional<z.ZodString>;
|
|
995
1049
|
eventType: z.ZodOptional<z.ZodEnum<{
|
|
996
1050
|
message: "message";
|
|
1051
|
+
voice_utterance: "voice_utterance";
|
|
997
1052
|
voice_transcript: "voice_transcript";
|
|
998
1053
|
}>>;
|
|
999
1054
|
}, z.core.$strip>], "kind">;
|
|
@@ -1056,16 +1111,26 @@ export type PanelsList = z.infer<typeof PanelsListSchema>;
|
|
|
1056
1111
|
export declare const PanelRepoParamSchema: z.ZodObject<{
|
|
1057
1112
|
repo: z.ZodString;
|
|
1058
1113
|
}, z.core.$strip>;
|
|
1059
|
-
export declare const
|
|
1114
|
+
export declare const TerminalSessionSchema: z.ZodObject<{
|
|
1115
|
+
name: z.ZodString;
|
|
1116
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1117
|
+
kind: z.ZodEnum<{
|
|
1118
|
+
shell: "shell";
|
|
1119
|
+
panel: "panel";
|
|
1120
|
+
}>;
|
|
1121
|
+
running: z.ZodBoolean;
|
|
1122
|
+
}, z.core.$strip>;
|
|
1123
|
+
export declare const TerminalsListSchema: z.ZodObject<{
|
|
1060
1124
|
sessions: z.ZodArray<z.ZodObject<{
|
|
1061
1125
|
name: z.ZodString;
|
|
1062
|
-
label: z.ZodString
|
|
1126
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1127
|
+
kind: z.ZodEnum<{
|
|
1128
|
+
shell: "shell";
|
|
1129
|
+
panel: "panel";
|
|
1130
|
+
}>;
|
|
1063
1131
|
running: z.ZodBoolean;
|
|
1064
1132
|
}, z.core.$strip>>;
|
|
1065
1133
|
}, z.core.$strip>;
|
|
1066
|
-
export declare const TerminalsListSchema: z.ZodObject<{
|
|
1067
|
-
names: z.ZodArray<z.ZodString>;
|
|
1068
|
-
}, z.core.$strip>;
|
|
1069
1134
|
export type TerminalsList = z.infer<typeof TerminalsListSchema>;
|
|
1070
1135
|
export declare const TerminalNameParamSchema: z.ZodObject<{
|
|
1071
1136
|
name: z.ZodString;
|
|
@@ -1097,6 +1162,63 @@ export declare const SecretSetSchema: z.ZodObject<{
|
|
|
1097
1162
|
export declare const SecretKeysSchema: z.ZodObject<{
|
|
1098
1163
|
keys: z.ZodArray<z.ZodString>;
|
|
1099
1164
|
}, z.core.$strip>;
|
|
1165
|
+
export declare const SecretKeyParamSchema: z.ZodObject<{
|
|
1166
|
+
key: z.ZodString;
|
|
1167
|
+
}, z.core.$strip>;
|
|
1168
|
+
export declare const SecretRevealSchema: z.ZodObject<{
|
|
1169
|
+
value: z.ZodString;
|
|
1170
|
+
}, z.core.$strip>;
|
|
1171
|
+
export declare const SecretInventoryEntrySchema: z.ZodObject<{
|
|
1172
|
+
key: z.ZodString;
|
|
1173
|
+
kind: z.ZodEnum<{
|
|
1174
|
+
provider: "provider";
|
|
1175
|
+
env: "env";
|
|
1176
|
+
generated: "generated";
|
|
1177
|
+
capability: "capability";
|
|
1178
|
+
}>;
|
|
1179
|
+
status: z.ZodEnum<{
|
|
1180
|
+
set: "set";
|
|
1181
|
+
connected: "connected";
|
|
1182
|
+
missing: "missing";
|
|
1183
|
+
}>;
|
|
1184
|
+
requiredBy: z.ZodArray<z.ZodObject<{
|
|
1185
|
+
resourceId: z.ZodString;
|
|
1186
|
+
type: z.ZodString;
|
|
1187
|
+
}, z.core.$strip>>;
|
|
1188
|
+
storedAt: z.ZodString;
|
|
1189
|
+
revealable: z.ZodBoolean;
|
|
1190
|
+
ci: z.ZodOptional<z.ZodObject<{
|
|
1191
|
+
synced: z.ZodBoolean;
|
|
1192
|
+
pushedAt: z.ZodOptional<z.ZodString>;
|
|
1193
|
+
}, z.core.$strip>>;
|
|
1194
|
+
}, z.core.$strip>;
|
|
1195
|
+
export type SecretInventoryEntry = z.infer<typeof SecretInventoryEntrySchema>;
|
|
1196
|
+
export declare const SecretInventorySchema: z.ZodObject<{
|
|
1197
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
1198
|
+
key: z.ZodString;
|
|
1199
|
+
kind: z.ZodEnum<{
|
|
1200
|
+
provider: "provider";
|
|
1201
|
+
env: "env";
|
|
1202
|
+
generated: "generated";
|
|
1203
|
+
capability: "capability";
|
|
1204
|
+
}>;
|
|
1205
|
+
status: z.ZodEnum<{
|
|
1206
|
+
set: "set";
|
|
1207
|
+
connected: "connected";
|
|
1208
|
+
missing: "missing";
|
|
1209
|
+
}>;
|
|
1210
|
+
requiredBy: z.ZodArray<z.ZodObject<{
|
|
1211
|
+
resourceId: z.ZodString;
|
|
1212
|
+
type: z.ZodString;
|
|
1213
|
+
}, z.core.$strip>>;
|
|
1214
|
+
storedAt: z.ZodString;
|
|
1215
|
+
revealable: z.ZodBoolean;
|
|
1216
|
+
ci: z.ZodOptional<z.ZodObject<{
|
|
1217
|
+
synced: z.ZodBoolean;
|
|
1218
|
+
pushedAt: z.ZodOptional<z.ZodString>;
|
|
1219
|
+
}, z.core.$strip>>;
|
|
1220
|
+
}, z.core.$strip>>;
|
|
1221
|
+
}, z.core.$strip>;
|
|
1100
1222
|
export declare const InfoSchema: z.ZodObject<{
|
|
1101
1223
|
name: z.ZodOptional<z.ZodString>;
|
|
1102
1224
|
image: z.ZodOptional<z.ZodString>;
|
|
@@ -1109,4 +1231,98 @@ export declare const HostTunnelSchema: z.ZodObject<{
|
|
|
1109
1231
|
hostname: z.ZodString;
|
|
1110
1232
|
tunnelToken: z.ZodString;
|
|
1111
1233
|
}, z.core.$strip>;
|
|
1234
|
+
export declare const ActivityEventSchema: z.ZodObject<{
|
|
1235
|
+
id: z.ZodString;
|
|
1236
|
+
at: z.ZodNumber;
|
|
1237
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1238
|
+
direction: z.ZodEnum<{
|
|
1239
|
+
out: "out";
|
|
1240
|
+
in: "in";
|
|
1241
|
+
system: "system";
|
|
1242
|
+
}>;
|
|
1243
|
+
type: z.ZodString;
|
|
1244
|
+
channelId: z.ZodOptional<z.ZodString>;
|
|
1245
|
+
author: z.ZodOptional<z.ZodString>;
|
|
1246
|
+
content: z.ZodOptional<z.ZodString>;
|
|
1247
|
+
method: z.ZodOptional<z.ZodString>;
|
|
1248
|
+
endpoint: z.ZodOptional<z.ZodString>;
|
|
1249
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1250
|
+
automationIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1251
|
+
outcome: z.ZodOptional<z.ZodEnum<{
|
|
1252
|
+
error: "error";
|
|
1253
|
+
ok: "ok";
|
|
1254
|
+
}>>;
|
|
1255
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1256
|
+
extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1257
|
+
}, z.core.$strip>;
|
|
1258
|
+
export type ActivityEvent = z.infer<typeof ActivityEventSchema>;
|
|
1259
|
+
export declare const ActivityQuerySchema: z.ZodObject<{
|
|
1260
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1261
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
1262
|
+
before: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1263
|
+
}, z.core.$strip>;
|
|
1264
|
+
export type ActivityQuery = z.infer<typeof ActivityQuerySchema>;
|
|
1265
|
+
export declare const ActivityListSchema: z.ZodObject<{
|
|
1266
|
+
events: z.ZodArray<z.ZodObject<{
|
|
1267
|
+
id: z.ZodString;
|
|
1268
|
+
at: z.ZodNumber;
|
|
1269
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1270
|
+
direction: z.ZodEnum<{
|
|
1271
|
+
out: "out";
|
|
1272
|
+
in: "in";
|
|
1273
|
+
system: "system";
|
|
1274
|
+
}>;
|
|
1275
|
+
type: z.ZodString;
|
|
1276
|
+
channelId: z.ZodOptional<z.ZodString>;
|
|
1277
|
+
author: z.ZodOptional<z.ZodString>;
|
|
1278
|
+
content: z.ZodOptional<z.ZodString>;
|
|
1279
|
+
method: z.ZodOptional<z.ZodString>;
|
|
1280
|
+
endpoint: z.ZodOptional<z.ZodString>;
|
|
1281
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1282
|
+
automationIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1283
|
+
outcome: z.ZodOptional<z.ZodEnum<{
|
|
1284
|
+
error: "error";
|
|
1285
|
+
ok: "ok";
|
|
1286
|
+
}>>;
|
|
1287
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1288
|
+
extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1289
|
+
}, z.core.$strip>>;
|
|
1290
|
+
}, z.core.$strip>;
|
|
1291
|
+
export declare const ActivityConnectionSchema: z.ZodObject<{
|
|
1292
|
+
capabilityId: z.ZodString;
|
|
1293
|
+
provider: z.ZodString;
|
|
1294
|
+
gateway: z.ZodEnum<{
|
|
1295
|
+
ready: "ready";
|
|
1296
|
+
connecting: "connecting";
|
|
1297
|
+
disconnected: "disconnected";
|
|
1298
|
+
}>;
|
|
1299
|
+
lastError: z.ZodOptional<z.ZodString>;
|
|
1300
|
+
}, z.core.$strip>;
|
|
1301
|
+
export declare const ActivityStatusSchema: z.ZodObject<{
|
|
1302
|
+
connections: z.ZodArray<z.ZodObject<{
|
|
1303
|
+
capabilityId: z.ZodString;
|
|
1304
|
+
provider: z.ZodString;
|
|
1305
|
+
gateway: z.ZodEnum<{
|
|
1306
|
+
ready: "ready";
|
|
1307
|
+
connecting: "connecting";
|
|
1308
|
+
disconnected: "disconnected";
|
|
1309
|
+
}>;
|
|
1310
|
+
lastError: z.ZodOptional<z.ZodString>;
|
|
1311
|
+
}, z.core.$strip>>;
|
|
1312
|
+
voice: z.ZodOptional<z.ZodObject<{
|
|
1313
|
+
channelId: z.ZodString;
|
|
1314
|
+
channelName: z.ZodString;
|
|
1315
|
+
startedAt: z.ZodNumber;
|
|
1316
|
+
participants: z.ZodArray<z.ZodString>;
|
|
1317
|
+
}, z.core.$strip>>;
|
|
1318
|
+
}, z.core.$strip>;
|
|
1319
|
+
export type ActivityStatus = z.infer<typeof ActivityStatusSchema>;
|
|
1320
|
+
export declare const PresenceReportSchema: z.ZodObject<{
|
|
1321
|
+
clientId: z.ZodString;
|
|
1322
|
+
idle: z.ZodBoolean;
|
|
1323
|
+
view: z.ZodOptional<z.ZodString>;
|
|
1324
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1325
|
+
path: z.ZodOptional<z.ZodString>;
|
|
1326
|
+
}, z.core.$strip>;
|
|
1327
|
+
export type PresenceReport = z.infer<typeof PresenceReportSchema>;
|
|
1112
1328
|
//# sourceMappingURL=schemas.d.ts.map
|
package/dist/schemas.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,eAAO,MAAM,QAAQ;;iBAAoC,CAAC;AAI1D,eAAO,MAAM,eAAe;;iBAAiC,CAAC;AAI9D,eAAO,MAAM,eAAe;;;;;;;;;;;iBAY1B,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAGxD,eAAO,MAAM,cAAc;;;;iBAAqG,CAAC;AACjI,eAAO,MAAM,YAAY;;;;iBAIvB,CAAC;AAMH,eAAO,MAAM,mBAAmB;;;;iBAA+F,CAAC;AAChI,eAAO,MAAM,wBAAwB;;;;iBAAkF,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AK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;iBAAqD,CAAC;AAIrF,eAAO,MAAM,wBAAwB;;;;;;;;;iBAKnC,CAAC;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;iBAI/B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAIlE,eAAO,MAAM,oBAAoB;;;;;;iBAM/B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
|
package/dist/schemas.js
CHANGED
|
@@ -57,7 +57,12 @@ export const SnapshotChangeSchema = z.object({
|
|
|
57
57
|
status: z.enum(["added", "modified", "deleted", "type-changed"]),
|
|
58
58
|
});
|
|
59
59
|
export const SnapshotDiffSchema = z.object({ changes: z.array(SnapshotChangeSchema) });
|
|
60
|
-
export const SnapshotFileDiffQuerySchema = z.object({
|
|
60
|
+
export const SnapshotFileDiffQuerySchema = z.object({
|
|
61
|
+
id: z.string().min(1),
|
|
62
|
+
scope: z.string().min(1),
|
|
63
|
+
path: z.string().min(1),
|
|
64
|
+
base: z.string().min(1).optional(),
|
|
65
|
+
});
|
|
61
66
|
export const SnapshotFileDiffSchema = z.object({
|
|
62
67
|
before: z.string().optional(),
|
|
63
68
|
after: z.string().optional(),
|
|
@@ -108,14 +113,19 @@ export const RepoSyncSchema = z.object({
|
|
|
108
113
|
message: z.string().optional(),
|
|
109
114
|
});
|
|
110
115
|
export const WorkspaceSyncSchema = z.object({ repos: z.array(RepoSyncSchema) });
|
|
116
|
+
export const AppInstanceInputSchema = z.object({
|
|
117
|
+
template: z.string().min(1),
|
|
118
|
+
name: z.string().min(1).regex(/^[a-z][a-z0-9-]*$/),
|
|
119
|
+
});
|
|
111
120
|
export const AddAppsSchema = z.object({
|
|
112
121
|
repo: z.string(),
|
|
113
|
-
apps: z.array(
|
|
122
|
+
apps: z.array(AppInstanceInputSchema).min(1),
|
|
114
123
|
});
|
|
115
124
|
export const TemplateSummarySchema = z.object({ key: z.string(), label: z.string(), description: z.string() });
|
|
116
125
|
export const TemplatesListSchema = z.object({ templates: z.array(TemplateSummarySchema) });
|
|
117
126
|
export const RepoAppSchema = z.object({
|
|
118
127
|
app: z.string(),
|
|
128
|
+
template: z.string(),
|
|
119
129
|
previewUrl: z.string().optional(),
|
|
120
130
|
running: z.boolean(),
|
|
121
131
|
healthy: z.boolean(),
|
|
@@ -151,10 +161,18 @@ export const ServiceEntrySchema = z.object({
|
|
|
151
161
|
on: z.string(),
|
|
152
162
|
expose: z.string(),
|
|
153
163
|
});
|
|
154
|
-
export const
|
|
164
|
+
export const AppEntrySchema = z.object({
|
|
165
|
+
kind: z.literal("app"),
|
|
166
|
+
name: z.string(),
|
|
167
|
+
values: InventoryValuesSchema,
|
|
168
|
+
on: z.string(),
|
|
169
|
+
expose: z.string(),
|
|
170
|
+
});
|
|
171
|
+
export const InventoryEntrySchema = z.discriminatedUnion("kind", [BackendEntrySchema, ServiceEntrySchema, AppEntrySchema]);
|
|
155
172
|
export const AddInventoryInputSchema = z.discriminatedUnion("kind", [
|
|
156
173
|
BackendEntrySchema.extend({ name: inventoryName }),
|
|
157
174
|
ServiceEntrySchema.extend({ name: inventoryName }),
|
|
175
|
+
AppEntrySchema.extend({ name: inventoryName }),
|
|
158
176
|
]);
|
|
159
177
|
export const InventoryNameParamSchema = z.object({ name: z.string() });
|
|
160
178
|
export const InventoryListSchema = z.object({ entries: z.array(InventoryEntrySchema) });
|
|
@@ -184,7 +202,12 @@ export const ServiceConfigSchema = z.object({
|
|
|
184
202
|
});
|
|
185
203
|
export const IntegrationConfigSchema = z.object({ provider: z.literal("stripe") });
|
|
186
204
|
export const CliConfigSchema = z.discriminatedUnion("provider", [
|
|
187
|
-
z.object({
|
|
205
|
+
z.object({
|
|
206
|
+
provider: z.literal("discord"),
|
|
207
|
+
botToken: z.string().min(1),
|
|
208
|
+
voiceModel: z.enum(["tiny", "base", "small", "medium", "large-v3-turbo"]).optional(),
|
|
209
|
+
voiceLanguage: z.string().optional(),
|
|
210
|
+
}),
|
|
188
211
|
z.object({ provider: z.literal("github"), token: z.string().min(1) }),
|
|
189
212
|
z.object({ provider: z.literal("gitlab"), token: z.string().min(1), url: z.string().url() }),
|
|
190
213
|
z.object({ provider: z.literal("sentry"), token: z.string().min(1), url: z.string().url(), org: z.string().optional() }),
|
|
@@ -279,7 +302,7 @@ export const TriggerSchema = z.discriminatedUnion("kind", [
|
|
|
279
302
|
kind: z.literal("listener"),
|
|
280
303
|
provider: z.enum(["discord"]),
|
|
281
304
|
channelId: z.string().min(1).optional(),
|
|
282
|
-
eventType: z.enum(["message", "voice_transcript"]).optional(),
|
|
305
|
+
eventType: z.enum(["message", "voice_utterance", "voice_transcript"]).optional(),
|
|
283
306
|
}),
|
|
284
307
|
]);
|
|
285
308
|
export const AutomationSchema = z.object({
|
|
@@ -315,10 +338,13 @@ export const PanelSummarySchema = z.object({
|
|
|
315
338
|
});
|
|
316
339
|
export const PanelsListSchema = z.object({ panels: z.array(PanelSummarySchema) });
|
|
317
340
|
export const PanelRepoParamSchema = z.object({ repo: z.string() });
|
|
318
|
-
export const
|
|
319
|
-
|
|
341
|
+
export const TerminalSessionSchema = z.object({
|
|
342
|
+
name: z.string(),
|
|
343
|
+
label: z.string().optional(),
|
|
344
|
+
kind: z.enum(["shell", "panel"]),
|
|
345
|
+
running: z.boolean(),
|
|
320
346
|
});
|
|
321
|
-
export const TerminalsListSchema = z.object({
|
|
347
|
+
export const TerminalsListSchema = z.object({ sessions: z.array(TerminalSessionSchema) });
|
|
322
348
|
export const TerminalNameParamSchema = z.object({ name: z.string() });
|
|
323
349
|
const environmentFileSchema = z.object({ content: z.string(), hash: z.string() });
|
|
324
350
|
export const EnvironmentSchema = z.object({
|
|
@@ -332,12 +358,64 @@ export const EnvironmentApproveSchema = z.object({ hash: z.string().min(1) });
|
|
|
332
358
|
export const SecretSetSchema = z.object({
|
|
333
359
|
key: z
|
|
334
360
|
.string()
|
|
335
|
-
.regex(/^[A-
|
|
361
|
+
.regex(/^[A-Za-z_][A-Za-z0-9_]*$/)
|
|
336
362
|
.max(128),
|
|
337
363
|
value: z.string().min(1),
|
|
338
364
|
});
|
|
339
365
|
export const SecretKeysSchema = z.object({ keys: z.array(z.string()) });
|
|
366
|
+
export const SecretKeyParamSchema = z.object({ key: z.string() });
|
|
367
|
+
export const SecretRevealSchema = z.object({ value: z.string() });
|
|
368
|
+
export const SecretInventoryEntrySchema = z.object({
|
|
369
|
+
key: z.string(),
|
|
370
|
+
kind: z.enum(["env", "generated", "capability", "provider"]),
|
|
371
|
+
status: z.enum(["missing", "set", "connected"]),
|
|
372
|
+
requiredBy: z.array(z.object({ resourceId: z.string(), type: z.string() })),
|
|
373
|
+
storedAt: z.string(),
|
|
374
|
+
revealable: z.boolean(),
|
|
375
|
+
ci: z.object({ synced: z.boolean(), pushedAt: z.string().optional() }).optional(),
|
|
376
|
+
});
|
|
377
|
+
export const SecretInventorySchema = z.object({ entries: z.array(SecretInventoryEntrySchema) });
|
|
340
378
|
export const InfoSchema = z.object({ name: z.string().optional(), image: z.string().optional(), version: z.string().optional() });
|
|
341
379
|
export const HostTunnelInputSchema = z.object({ hostName: z.string().min(1) });
|
|
342
380
|
export const HostTunnelSchema = z.object({ hostname: z.string(), tunnelToken: z.string() });
|
|
381
|
+
export const ActivityEventSchema = z.object({
|
|
382
|
+
id: z.string(),
|
|
383
|
+
at: z.number(),
|
|
384
|
+
provider: z.string().optional(),
|
|
385
|
+
direction: z.enum(["in", "out", "system"]),
|
|
386
|
+
type: z.string(),
|
|
387
|
+
channelId: z.string().optional(),
|
|
388
|
+
author: z.string().optional(),
|
|
389
|
+
content: z.string().optional(),
|
|
390
|
+
method: z.string().optional(),
|
|
391
|
+
endpoint: z.string().optional(),
|
|
392
|
+
sessionId: z.string().optional(),
|
|
393
|
+
automationIds: z.array(z.string()).optional(),
|
|
394
|
+
outcome: z.enum(["ok", "error"]).optional(),
|
|
395
|
+
error: z.string().optional(),
|
|
396
|
+
extra: z.record(z.string(), z.unknown()).optional(),
|
|
397
|
+
});
|
|
398
|
+
export const ActivityQuerySchema = z.object({
|
|
399
|
+
provider: z.string().optional(),
|
|
400
|
+
limit: z.coerce.number().min(1).max(500).default(100),
|
|
401
|
+
before: z.coerce.number().optional(),
|
|
402
|
+
});
|
|
403
|
+
export const ActivityListSchema = z.object({ events: z.array(ActivityEventSchema) });
|
|
404
|
+
export const ActivityConnectionSchema = z.object({
|
|
405
|
+
capabilityId: z.string(),
|
|
406
|
+
provider: z.string(),
|
|
407
|
+
gateway: z.enum(["ready", "connecting", "disconnected"]),
|
|
408
|
+
lastError: z.string().optional(),
|
|
409
|
+
});
|
|
410
|
+
export const ActivityStatusSchema = z.object({
|
|
411
|
+
connections: z.array(ActivityConnectionSchema),
|
|
412
|
+
voice: z.object({ channelId: z.string(), channelName: z.string(), startedAt: z.number(), participants: z.array(z.string()) }).optional(),
|
|
413
|
+
});
|
|
414
|
+
export const PresenceReportSchema = z.object({
|
|
415
|
+
clientId: z.string(),
|
|
416
|
+
idle: z.boolean(),
|
|
417
|
+
view: z.string().optional(),
|
|
418
|
+
sessionId: z.string().optional(),
|
|
419
|
+
path: z.string().optional(),
|
|
420
|
+
});
|
|
343
421
|
//# sourceMappingURL=schemas.js.map
|