@omnara/sdk 0.1.23 → 0.1.25
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/browser.js +2 -2
- package/dist/{chunk-MEPOR7JI.js → chunk-LEXWVGES.js} +255 -70
- package/dist/chunk-LEXWVGES.js.map +1 -0
- package/dist/{chunk-MAOD6VR3.js → chunk-PWJRR6EE.js} +207 -21
- package/dist/chunk-PWJRR6EE.js.map +1 -0
- package/dist/{chunk-BUYHUT3D.js → chunk-Y2BIF75C.js} +6 -7
- package/dist/chunk-Y2BIF75C.js.map +1 -0
- package/dist/index.d.ts +9 -5
- package/dist/index.js +9 -3
- package/dist/index.js.map +1 -1
- package/dist/{sdk.gen-D3SznUOL.d.ts → sdk.gen-Dxv4CHxJ.d.ts} +975 -179
- package/dist/tanstack.d.ts +196 -12
- package/dist/tanstack.js +215 -22
- package/dist/tanstack.js.map +1 -1
- package/dist/zod.d.ts +1 -1
- package/dist/{zod.gen-COrqco1o.d.ts → zod.gen-Wk8s6exN.d.ts} +462 -118
- package/dist/zod.js +95 -17
- package/package.json +1 -1
- package/dist/chunk-BUYHUT3D.js.map +0 -1
- package/dist/chunk-MAOD6VR3.js.map +0 -1
- package/dist/chunk-MEPOR7JI.js.map +0 -1
package/dist/browser.js
CHANGED
|
@@ -77,6 +77,7 @@ __export(zod_gen_exports, {
|
|
|
77
77
|
zCompiledMcpAuthSigV4: () => zCompiledMcpAuthSigV4,
|
|
78
78
|
zCompiledMcpServer: () => zCompiledMcpServer,
|
|
79
79
|
zCompiledMcpTool: () => zCompiledMcpTool,
|
|
80
|
+
zCompiledMemoryStore: () => zCompiledMemoryStore,
|
|
80
81
|
zCompiledModelReasoning: () => zCompiledModelReasoning,
|
|
81
82
|
zCompiledProfileSubagent: () => zCompiledProfileSubagent,
|
|
82
83
|
zCompiledSelfSubagent: () => zCompiledSelfSubagent,
|
|
@@ -146,6 +147,10 @@ __export(zod_gen_exports, {
|
|
|
146
147
|
zCreateMachinePoolResponse: () => zCreateMachinePoolResponse,
|
|
147
148
|
zCreateMachineRequest: () => zCreateMachineRequest,
|
|
148
149
|
zCreateMachineResponse: () => zCreateMachineResponse,
|
|
150
|
+
zCreateMemoryStore: () => zCreateMemoryStore,
|
|
151
|
+
zCreateMemoryStoreBody: () => zCreateMemoryStoreBody,
|
|
152
|
+
zCreateMemoryStorePath: () => zCreateMemoryStorePath,
|
|
153
|
+
zCreateMemoryStoreResponse: () => zCreateMemoryStoreResponse,
|
|
149
154
|
zCreateModelProviderConfigBody: () => zCreateModelProviderConfigBody,
|
|
150
155
|
zCreateModelProviderConfigPath: () => zCreateModelProviderConfigPath,
|
|
151
156
|
zCreateModelProviderConfigRequest: () => zCreateModelProviderConfigRequest,
|
|
@@ -242,6 +247,11 @@ __export(zod_gen_exports, {
|
|
|
242
247
|
zDeleteMachinePoolPath: () => zDeleteMachinePoolPath,
|
|
243
248
|
zDeleteMachinePoolResponse: () => zDeleteMachinePoolResponse,
|
|
244
249
|
zDeleteMachineResponse: () => zDeleteMachineResponse,
|
|
250
|
+
zDeleteMemoryFilePath: () => zDeleteMemoryFilePath,
|
|
251
|
+
zDeleteMemoryFileQuery: () => zDeleteMemoryFileQuery,
|
|
252
|
+
zDeleteMemoryFileResponse: () => zDeleteMemoryFileResponse,
|
|
253
|
+
zDeleteMemoryStorePath: () => zDeleteMemoryStorePath,
|
|
254
|
+
zDeleteMemoryStoreResponse: () => zDeleteMemoryStoreResponse,
|
|
245
255
|
zDeleteModelProviderConfigPath: () => zDeleteModelProviderConfigPath,
|
|
246
256
|
zDeleteModelProviderConfigResponse: () => zDeleteModelProviderConfigResponse,
|
|
247
257
|
zDeleteOrgInvitationPath: () => zDeleteOrgInvitationPath,
|
|
@@ -270,11 +280,15 @@ __export(zod_gen_exports, {
|
|
|
270
280
|
zDirectSkillAvailability: () => zDirectSkillAvailability,
|
|
271
281
|
zDiscoveredModelPricing: () => zDiscoveredModelPricing,
|
|
272
282
|
zDiscoveredProviderModel: () => zDiscoveredProviderModel,
|
|
273
|
-
|
|
274
|
-
|
|
283
|
+
zDownloadDaemonFilePath: () => zDownloadDaemonFilePath,
|
|
284
|
+
zDownloadDaemonFileResponse: () => zDownloadDaemonFileResponse,
|
|
285
|
+
zDownloadMemoryFilePath: () => zDownloadMemoryFilePath,
|
|
286
|
+
zDownloadMemoryFileQuery: () => zDownloadMemoryFileQuery,
|
|
287
|
+
zDownloadMemoryFileResponse: () => zDownloadMemoryFileResponse,
|
|
275
288
|
zEndMachineDaemonRuntimePath: () => zEndMachineDaemonRuntimePath,
|
|
276
289
|
zEndMachineDaemonRuntimeResponse: () => zEndMachineDaemonRuntimeResponse,
|
|
277
290
|
zError: () => zError,
|
|
291
|
+
zErrorCode: () => zErrorCode,
|
|
278
292
|
zErrorContentBlock: () => zErrorContentBlock,
|
|
279
293
|
zEventWebhookAgentInputEvent: () => zEventWebhookAgentInputEvent,
|
|
280
294
|
zEventWebhookContextCheckpointEvent: () => zEventWebhookContextCheckpointEvent,
|
|
@@ -313,6 +327,8 @@ __export(zod_gen_exports, {
|
|
|
313
327
|
zGetMachinePoolPath: () => zGetMachinePoolPath,
|
|
314
328
|
zGetMachinePoolResponse: () => zGetMachinePoolResponse,
|
|
315
329
|
zGetMachineResponse: () => zGetMachineResponse,
|
|
330
|
+
zGetMemoryStorePath: () => zGetMemoryStorePath,
|
|
331
|
+
zGetMemoryStoreResponse: () => zGetMemoryStoreResponse,
|
|
316
332
|
zGetModelCatalogPath: () => zGetModelCatalogPath,
|
|
317
333
|
zGetModelCatalogResponse: () => zGetModelCatalogResponse,
|
|
318
334
|
zGetModelProviderConfigPath: () => zGetModelProviderConfigPath,
|
|
@@ -406,6 +422,12 @@ __export(zod_gen_exports, {
|
|
|
406
422
|
zListMcpServersResponse2: () => zListMcpServersResponse2,
|
|
407
423
|
zListMemberProjectAccessPath: () => zListMemberProjectAccessPath,
|
|
408
424
|
zListMemberProjectAccessResponse: () => zListMemberProjectAccessResponse,
|
|
425
|
+
zListMemoryFilesPath: () => zListMemoryFilesPath,
|
|
426
|
+
zListMemoryFilesQuery: () => zListMemoryFilesQuery,
|
|
427
|
+
zListMemoryFilesResponse: () => zListMemoryFilesResponse,
|
|
428
|
+
zListMemoryStoresPath: () => zListMemoryStoresPath,
|
|
429
|
+
zListMemoryStoresQuery: () => zListMemoryStoresQuery,
|
|
430
|
+
zListMemoryStoresResponse: () => zListMemoryStoresResponse,
|
|
409
431
|
zListModelProviderConfigsPath: () => zListModelProviderConfigsPath,
|
|
410
432
|
zListModelProviderConfigsQuery: () => zListModelProviderConfigsQuery,
|
|
411
433
|
zListModelProviderConfigsResponse: () => zListModelProviderConfigsResponse,
|
|
@@ -533,6 +555,15 @@ __export(zod_gen_exports, {
|
|
|
533
555
|
zMcpoAuthStartRequest: () => zMcpoAuthStartRequest,
|
|
534
556
|
zMcpoAuthStartResponse: () => zMcpoAuthStartResponse,
|
|
535
557
|
zMediaRefContentBlock: () => zMediaRefContentBlock,
|
|
558
|
+
zMemoryDirectory: () => zMemoryDirectory,
|
|
559
|
+
zMemoryFile: () => zMemoryFile,
|
|
560
|
+
zMemoryFileList: () => zMemoryFileList,
|
|
561
|
+
zMemoryRegularFile: () => zMemoryRegularFile,
|
|
562
|
+
zMemoryStore: () => zMemoryStore,
|
|
563
|
+
zMemoryStoreAccess: () => zMemoryStoreAccess,
|
|
564
|
+
zMemoryStoreId: () => zMemoryStoreId,
|
|
565
|
+
zMemoryStoreList: () => zMemoryStoreList,
|
|
566
|
+
zMemoryStoreName: () => zMemoryStoreName,
|
|
536
567
|
zMetadata: () => zMetadata,
|
|
537
568
|
zModelApiFormat: () => zModelApiFormat,
|
|
538
569
|
zModelApiVariantOptions: () => zModelApiVariantOptions,
|
|
@@ -776,6 +807,10 @@ __export(zod_gen_exports, {
|
|
|
776
807
|
zUpdateMachinePoolResponse: () => zUpdateMachinePoolResponse,
|
|
777
808
|
zUpdateMachineRequest: () => zUpdateMachineRequest,
|
|
778
809
|
zUpdateMachineResponse: () => zUpdateMachineResponse,
|
|
810
|
+
zUpdateMemoryStore: () => zUpdateMemoryStore,
|
|
811
|
+
zUpdateMemoryStoreBody: () => zUpdateMemoryStoreBody,
|
|
812
|
+
zUpdateMemoryStorePath: () => zUpdateMemoryStorePath,
|
|
813
|
+
zUpdateMemoryStoreResponse: () => zUpdateMemoryStoreResponse,
|
|
779
814
|
zUpdateModelProviderConfigBody: () => zUpdateModelProviderConfigBody,
|
|
780
815
|
zUpdateModelProviderConfigPath: () => zUpdateModelProviderConfigPath,
|
|
781
816
|
zUpdateModelProviderConfigRequest: () => zUpdateModelProviderConfigRequest,
|
|
@@ -804,11 +839,11 @@ __export(zod_gen_exports, {
|
|
|
804
839
|
zUpdateSkillPath: () => zUpdateSkillPath,
|
|
805
840
|
zUpdateSkillRequest: () => zUpdateSkillRequest,
|
|
806
841
|
zUpdateSkillResponse: () => zUpdateSkillResponse,
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
842
|
+
zUploadDaemonFileBody: () => zUploadDaemonFileBody,
|
|
843
|
+
zUploadDaemonFilePath: () => zUploadDaemonFilePath,
|
|
844
|
+
zUploadDaemonFileQuery: () => zUploadDaemonFileQuery,
|
|
845
|
+
zUploadDaemonFileResponse: () => zUploadDaemonFileResponse,
|
|
846
|
+
zUploadFileResponse: () => zUploadFileResponse,
|
|
812
847
|
zUsageCostTotals: () => zUsageCostTotals,
|
|
813
848
|
zUsageExcludeProjectIds: () => zUsageExcludeProjectIds,
|
|
814
849
|
zUsageIncludeProjectIds: () => zUsageIncludeProjectIds,
|
|
@@ -824,12 +859,17 @@ __export(zod_gen_exports, {
|
|
|
824
859
|
zUserSkillOwner: () => zUserSkillOwner,
|
|
825
860
|
zUserSkillOwnerInput: () => zUserSkillOwnerInput,
|
|
826
861
|
zVisibleMachine: () => zVisibleMachine,
|
|
827
|
-
zVisibleProject: () => zVisibleProject
|
|
862
|
+
zVisibleProject: () => zVisibleProject,
|
|
863
|
+
zWriteMemoryFileBody: () => zWriteMemoryFileBody,
|
|
864
|
+
zWriteMemoryFilePath: () => zWriteMemoryFilePath,
|
|
865
|
+
zWriteMemoryFileQuery: () => zWriteMemoryFileQuery,
|
|
866
|
+
zWriteMemoryFileResponse: () => zWriteMemoryFileResponse
|
|
828
867
|
});
|
|
829
868
|
import * as z from "zod";
|
|
830
869
|
var zResourceName = z.string().min(1).refine((value) => Array.from(value).length <= 64, { message: "Resource name cannot exceed 64 Unicode characters" }).transform((value) => value.normalize("NFC")).refine((value) => Array.from(value).length <= 64, { message: "Resource name cannot exceed 64 Unicode characters" }).refine((value) => !/^\p{White_Space}|\p{White_Space}$/u.test(value), { message: "Resource name must not start or end with whitespace" }).refine((value) => !/[\p{Cc}\p{Cf}\p{Cs}\p{Default_Ignorable_Code_Point}⠀]/u.test(value), { message: "Resource name contains an unsupported invisible, control, or format character" }).refine((value) => !value.includes("\uFFFD"), { message: "Resource name contains the Unicode replacement character" }).refine((value) => !Array.from(value).some((character) => character !== " " && /\p{White_Space}/u.test(character)), { message: "Resource name may only use ordinary spaces" });
|
|
831
870
|
var zAgentName = z.string().refine((value) => Array.from(value).length <= 64, { message: "Resource name cannot exceed 64 Unicode characters" }).transform((value) => value.normalize("NFC")).refine((value) => Array.from(value).length <= 64, { message: "Resource name cannot exceed 64 Unicode characters" }).refine((value) => !/^\p{White_Space}|\p{White_Space}$/u.test(value), { message: "Resource name must not start or end with whitespace" }).refine((value) => !/[\p{Cc}\p{Cf}\p{Cs}\p{Default_Ignorable_Code_Point}⠀]/u.test(value), { message: "Resource name contains an unsupported invisible, control, or format character" }).refine((value) => !value.includes("\uFFFD"), { message: "Resource name contains the Unicode replacement character" }).refine((value) => !Array.from(value).some((character) => character !== " " && /\p{White_Space}/u.test(character)), { message: "Resource name may only use ordinary spaces" });
|
|
832
871
|
var zSkillName = z.string().min(1).max(64).regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);
|
|
872
|
+
var zMemoryStoreName = z.string().min(1).max(64).regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);
|
|
833
873
|
var zResourceListSort = z.enum([
|
|
834
874
|
"name",
|
|
835
875
|
"-name",
|
|
@@ -852,57 +892,40 @@ var zAgentConfigErrorIssue = z.object({
|
|
|
852
892
|
});
|
|
853
893
|
var zError = z.object({
|
|
854
894
|
error: z.string(),
|
|
895
|
+
current_digest: z.string().regex(/^sha256:[0-9a-f]{64}$/).optional(),
|
|
855
896
|
issues: z.array(zAgentConfigErrorIssue).optional(),
|
|
856
|
-
code: z.
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
"forbidden",
|
|
860
|
-
"not_found",
|
|
861
|
-
"conflict",
|
|
862
|
-
"gone",
|
|
863
|
-
"request_too_large",
|
|
864
|
-
"unsupported_media_type",
|
|
865
|
-
"unprocessable",
|
|
866
|
-
"upstream_unavailable",
|
|
867
|
-
"rate_limited",
|
|
868
|
-
"internal_error",
|
|
869
|
-
"service_unavailable",
|
|
870
|
-
"idempotency_key_conflict",
|
|
871
|
-
"state_transition_conflict",
|
|
872
|
-
"managed_work_admission_denied",
|
|
873
|
-
"pending_work",
|
|
874
|
-
"not_wake_capable",
|
|
875
|
-
"daemon_runtime_unregistered",
|
|
876
|
-
"validation_failed",
|
|
877
|
-
"csrf_check_failed",
|
|
878
|
-
"authentication_unavailable"
|
|
879
|
-
])
|
|
880
|
-
});
|
|
881
|
-
var zClientErrorCode = z.enum([
|
|
897
|
+
code: z.string()
|
|
898
|
+
});
|
|
899
|
+
var zErrorCode = z.enum([
|
|
882
900
|
"invalid_request",
|
|
883
|
-
"validation_failed",
|
|
884
901
|
"unauthorized",
|
|
885
902
|
"forbidden",
|
|
886
|
-
"csrf_check_failed",
|
|
887
903
|
"not_found",
|
|
888
904
|
"conflict",
|
|
889
|
-
"
|
|
890
|
-
"
|
|
891
|
-
"
|
|
892
|
-
"
|
|
905
|
+
"file_content_conflict",
|
|
906
|
+
"file_read_only",
|
|
907
|
+
"expected_digest_required",
|
|
908
|
+
"not_a_file",
|
|
893
909
|
"gone",
|
|
894
|
-
"daemon_runtime_unregistered",
|
|
895
910
|
"request_too_large",
|
|
896
911
|
"unsupported_media_type",
|
|
897
912
|
"unprocessable",
|
|
898
913
|
"upstream_unavailable",
|
|
899
|
-
"rate_limited"
|
|
900
|
-
]);
|
|
901
|
-
var zServerErrorCode = z.enum([
|
|
914
|
+
"rate_limited",
|
|
902
915
|
"internal_error",
|
|
903
916
|
"service_unavailable",
|
|
917
|
+
"idempotency_key_conflict",
|
|
918
|
+
"state_transition_conflict",
|
|
919
|
+
"managed_work_admission_denied",
|
|
920
|
+
"pending_work",
|
|
921
|
+
"not_wake_capable",
|
|
922
|
+
"daemon_runtime_unregistered",
|
|
923
|
+
"validation_failed",
|
|
924
|
+
"csrf_check_failed",
|
|
904
925
|
"authentication_unavailable"
|
|
905
926
|
]);
|
|
927
|
+
var zClientErrorCode = z.string();
|
|
928
|
+
var zServerErrorCode = z.string();
|
|
906
929
|
var zManagementKind = z.enum(["tenant", "cluster"]);
|
|
907
930
|
var zOrganizationId = z.string().regex(/^org_[a-z2-7]{26}$/);
|
|
908
931
|
var zOrgInvitationId = z.string().regex(/^oinv_[a-z2-7]{26}$/);
|
|
@@ -1039,6 +1062,7 @@ var zMachineDaemonTokenId = z.string().regex(/^mdt_[a-z2-7]{26}$/);
|
|
|
1039
1062
|
var zSkillId = z.string().regex(/^skl_[a-z2-7]{26}$/);
|
|
1040
1063
|
var zSkillRevisionId = z.string().regex(/^skr_[a-z2-7]{26}$/);
|
|
1041
1064
|
var zSkillGrantId = z.string().regex(/^skg_[a-z2-7]{26}$/);
|
|
1065
|
+
var zMemoryStoreId = z.string().regex(/^mst_[a-z2-7]{26}$/);
|
|
1042
1066
|
var zSecretId = z.string().regex(/^sec_[a-z2-7]{26}$/);
|
|
1043
1067
|
var zCreateModelProviderConfigRequest = z.object({
|
|
1044
1068
|
name: zResourceName,
|
|
@@ -1216,17 +1240,17 @@ var zSkillOwner = z.discriminatedUnion("kind", [
|
|
|
1216
1240
|
]);
|
|
1217
1241
|
var zCreateSkillRequest = z.object({
|
|
1218
1242
|
owner: zSkillOwnerInput,
|
|
1219
|
-
archive: z.
|
|
1243
|
+
archive: z.instanceof(Blob)
|
|
1220
1244
|
});
|
|
1221
1245
|
var zUpdateSkillRequest = z.intersection(z.union([
|
|
1222
1246
|
z.object({
|
|
1223
|
-
archive: z.
|
|
1247
|
+
archive: z.instanceof(Blob)
|
|
1224
1248
|
}),
|
|
1225
1249
|
z.object({
|
|
1226
1250
|
skill_md: z.string()
|
|
1227
1251
|
})
|
|
1228
1252
|
]), z.object({
|
|
1229
|
-
archive: z.
|
|
1253
|
+
archive: z.instanceof(Blob).optional(),
|
|
1230
1254
|
skill_md: z.string().optional()
|
|
1231
1255
|
}));
|
|
1232
1256
|
var zSkillFile = z.object({
|
|
@@ -1280,6 +1304,51 @@ var zSkillGrant = z.object({
|
|
|
1280
1304
|
target_project_id: zProjectId,
|
|
1281
1305
|
created_at: zTimestamp
|
|
1282
1306
|
});
|
|
1307
|
+
var zMemoryStoreAccess = z.enum(["read", "read_write"]);
|
|
1308
|
+
var zMemoryStore = z.object({
|
|
1309
|
+
id: zMemoryStoreId,
|
|
1310
|
+
name: zMemoryStoreName,
|
|
1311
|
+
description: z.string().refine((value) => Array.from(value).length <= 1024, { message: "String cannot exceed 1024 Unicode characters" }),
|
|
1312
|
+
agent_access: zMemoryStoreAccess,
|
|
1313
|
+
created_at: z.iso.datetime({ offset: true }),
|
|
1314
|
+
updated_at: z.iso.datetime({ offset: true })
|
|
1315
|
+
});
|
|
1316
|
+
var zCreateMemoryStore = z.object({
|
|
1317
|
+
name: zMemoryStoreName,
|
|
1318
|
+
description: z.string().refine((value) => Array.from(value).length <= 1024, { message: "String cannot exceed 1024 Unicode characters" }).optional(),
|
|
1319
|
+
agent_access: zMemoryStoreAccess.optional().default("read_write")
|
|
1320
|
+
});
|
|
1321
|
+
var zUpdateMemoryStore = z.object({
|
|
1322
|
+
description: z.string().refine((value) => Array.from(value).length <= 1024, { message: "String cannot exceed 1024 Unicode characters" }).optional(),
|
|
1323
|
+
agent_access: zMemoryStoreAccess.optional()
|
|
1324
|
+
});
|
|
1325
|
+
var zMemoryStoreList = z.object({
|
|
1326
|
+
data: z.array(zMemoryStore),
|
|
1327
|
+
next_cursor: z.string().nullable()
|
|
1328
|
+
});
|
|
1329
|
+
var zMemoryRegularFile = z.object({
|
|
1330
|
+
path: z.string(),
|
|
1331
|
+
type: z.enum(["file"]),
|
|
1332
|
+
size_bytes: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
1333
|
+
modified_at: zTimestamp
|
|
1334
|
+
});
|
|
1335
|
+
var zMemoryDirectory = z.object({
|
|
1336
|
+
path: z.string(),
|
|
1337
|
+
type: z.enum(["directory"]),
|
|
1338
|
+
modified_at: zTimestamp
|
|
1339
|
+
});
|
|
1340
|
+
var zMemoryFile = z.discriminatedUnion("type", [
|
|
1341
|
+
zMemoryRegularFile.extend({ type: z.literal("file") }),
|
|
1342
|
+
zMemoryDirectory.extend({ type: z.literal("directory") })
|
|
1343
|
+
]);
|
|
1344
|
+
var zMemoryFileList = z.object({
|
|
1345
|
+
data: z.array(zMemoryFile),
|
|
1346
|
+
next_cursor: z.string().nullable()
|
|
1347
|
+
});
|
|
1348
|
+
var zUploadFileResponse = z.object({
|
|
1349
|
+
path: z.string(),
|
|
1350
|
+
digest: z.string().regex(/^sha256:[0-9a-f]{64}$/)
|
|
1351
|
+
});
|
|
1283
1352
|
var zMcpoAuthStartMetadata = z.record(z.string(), z.string().max(512));
|
|
1284
1353
|
var zMcpoAuthStartResponse = z.object({
|
|
1285
1354
|
flow_id: zMcpoAuthFlowId,
|
|
@@ -1582,6 +1651,10 @@ var zCompiledMcpServer = z.object({
|
|
|
1582
1651
|
var zCompiledSkill = z.object({
|
|
1583
1652
|
id: zSkillId
|
|
1584
1653
|
});
|
|
1654
|
+
var zCompiledMemoryStore = z.object({
|
|
1655
|
+
id: zMemoryStoreId,
|
|
1656
|
+
access: zMemoryStoreAccess
|
|
1657
|
+
});
|
|
1585
1658
|
var zCompiledSubagentModel = z.object({
|
|
1586
1659
|
configured_model_id: zConfiguredModelId.optional(),
|
|
1587
1660
|
context_window_tokens: z.int().optional(),
|
|
@@ -1619,6 +1692,7 @@ var zCompiledAgentConfig = z.object({
|
|
|
1619
1692
|
mcp: z.record(z.string(), zCompiledMcpServer).optional(),
|
|
1620
1693
|
event_webhook: zCompiledEventWebhook.optional(),
|
|
1621
1694
|
skills: z.array(zCompiledSkill).optional(),
|
|
1695
|
+
memory_stores: z.array(zCompiledMemoryStore).optional(),
|
|
1622
1696
|
subagents: z.record(z.string(), zCompiledSubagent).optional(),
|
|
1623
1697
|
max_subagents: z.int().optional(),
|
|
1624
1698
|
max_depth: z.int().optional()
|
|
@@ -3051,9 +3125,6 @@ var zBootstrapDaemonResponse = z.object({
|
|
|
3051
3125
|
installation_id: zInstallationId,
|
|
3052
3126
|
machine_id: zMachineId
|
|
3053
3127
|
});
|
|
3054
|
-
var zUploadArtifactResponse = z.object({
|
|
3055
|
-
artifact_id: zArtifactId
|
|
3056
|
-
});
|
|
3057
3128
|
var zCreateProjectRequest = z.object({
|
|
3058
3129
|
name: zResourceName
|
|
3059
3130
|
});
|
|
@@ -3538,6 +3609,82 @@ var zListProjectAvailableSkillsQuery = z.object({
|
|
|
3538
3609
|
cursor: z.string().max(1024).optional()
|
|
3539
3610
|
});
|
|
3540
3611
|
var zListProjectAvailableSkillsResponse = zListProjectSkillAccessesResponse;
|
|
3612
|
+
var zListMemoryStoresPath = z.object({
|
|
3613
|
+
orgID: zOrganizationId,
|
|
3614
|
+
projectID: zProjectId
|
|
3615
|
+
});
|
|
3616
|
+
var zListMemoryStoresQuery = z.object({
|
|
3617
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
3618
|
+
name: z.string().min(1).max(200).optional(),
|
|
3619
|
+
cursor: z.string().max(1024).optional()
|
|
3620
|
+
});
|
|
3621
|
+
var zListMemoryStoresResponse = zMemoryStoreList;
|
|
3622
|
+
var zCreateMemoryStoreBody = zCreateMemoryStore;
|
|
3623
|
+
var zCreateMemoryStorePath = z.object({
|
|
3624
|
+
orgID: zOrganizationId,
|
|
3625
|
+
projectID: zProjectId
|
|
3626
|
+
});
|
|
3627
|
+
var zCreateMemoryStoreResponse = zMemoryStore;
|
|
3628
|
+
var zDeleteMemoryStorePath = z.object({
|
|
3629
|
+
orgID: zOrganizationId,
|
|
3630
|
+
projectID: zProjectId,
|
|
3631
|
+
memoryStoreID: zMemoryStoreId
|
|
3632
|
+
});
|
|
3633
|
+
var zDeleteMemoryStoreResponse = z.void();
|
|
3634
|
+
var zGetMemoryStorePath = z.object({
|
|
3635
|
+
orgID: zOrganizationId,
|
|
3636
|
+
projectID: zProjectId,
|
|
3637
|
+
memoryStoreID: zMemoryStoreId
|
|
3638
|
+
});
|
|
3639
|
+
var zGetMemoryStoreResponse = zMemoryStore;
|
|
3640
|
+
var zUpdateMemoryStoreBody = zUpdateMemoryStore;
|
|
3641
|
+
var zUpdateMemoryStorePath = z.object({
|
|
3642
|
+
orgID: zOrganizationId,
|
|
3643
|
+
projectID: zProjectId,
|
|
3644
|
+
memoryStoreID: zMemoryStoreId
|
|
3645
|
+
});
|
|
3646
|
+
var zUpdateMemoryStoreResponse = zMemoryStore;
|
|
3647
|
+
var zListMemoryFilesPath = z.object({
|
|
3648
|
+
orgID: zOrganizationId,
|
|
3649
|
+
projectID: zProjectId,
|
|
3650
|
+
memoryStoreID: zMemoryStoreId
|
|
3651
|
+
});
|
|
3652
|
+
var zListMemoryFilesQuery = z.object({
|
|
3653
|
+
path: z.string().max(1024).optional(),
|
|
3654
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
3655
|
+
cursor: z.string().max(1024).optional()
|
|
3656
|
+
});
|
|
3657
|
+
var zListMemoryFilesResponse = zMemoryFileList;
|
|
3658
|
+
var zDeleteMemoryFilePath = z.object({
|
|
3659
|
+
orgID: zOrganizationId,
|
|
3660
|
+
projectID: zProjectId,
|
|
3661
|
+
memoryStoreID: zMemoryStoreId
|
|
3662
|
+
});
|
|
3663
|
+
var zDeleteMemoryFileQuery = z.object({
|
|
3664
|
+
path: z.string().max(1024),
|
|
3665
|
+
expected_digest: z.string().regex(/^sha256:[0-9a-f]{64}$/)
|
|
3666
|
+
});
|
|
3667
|
+
var zDeleteMemoryFileResponse = z.void();
|
|
3668
|
+
var zDownloadMemoryFilePath = z.object({
|
|
3669
|
+
orgID: zOrganizationId,
|
|
3670
|
+
projectID: zProjectId,
|
|
3671
|
+
memoryStoreID: zMemoryStoreId
|
|
3672
|
+
});
|
|
3673
|
+
var zDownloadMemoryFileQuery = z.object({
|
|
3674
|
+
path: z.string().max(1024)
|
|
3675
|
+
});
|
|
3676
|
+
var zDownloadMemoryFileResponse = z.instanceof(Blob);
|
|
3677
|
+
var zWriteMemoryFileBody = z.instanceof(Blob);
|
|
3678
|
+
var zWriteMemoryFilePath = z.object({
|
|
3679
|
+
orgID: zOrganizationId,
|
|
3680
|
+
projectID: zProjectId,
|
|
3681
|
+
memoryStoreID: zMemoryStoreId
|
|
3682
|
+
});
|
|
3683
|
+
var zWriteMemoryFileQuery = z.object({
|
|
3684
|
+
path: z.string().max(1024),
|
|
3685
|
+
expected_digest: z.string().regex(/^sha256:[0-9a-f]{64}$/).optional()
|
|
3686
|
+
});
|
|
3687
|
+
var zWriteMemoryFileResponse = zUploadFileResponse;
|
|
3541
3688
|
var zListSecretsPath = z.object({
|
|
3542
3689
|
orgID: z.string().regex(/^org_[a-z2-7]{26}$/)
|
|
3543
3690
|
});
|
|
@@ -3994,7 +4141,7 @@ var zGetArtifactContentPath = z.object({
|
|
|
3994
4141
|
agentID: z.string().regex(/^agt_[a-z2-7]{26}$/),
|
|
3995
4142
|
artifactID: z.string().regex(/^art_[a-z2-7]{26}$/)
|
|
3996
4143
|
});
|
|
3997
|
-
var zGetArtifactContentResponse = z.
|
|
4144
|
+
var zGetArtifactContentResponse = z.instanceof(Blob);
|
|
3998
4145
|
var zListVisibleProjectMachinesPath = z.object({
|
|
3999
4146
|
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
4000
4147
|
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
|
|
@@ -4328,30 +4475,31 @@ var zGetDaemonSkillArchiveQuery = z.object({
|
|
|
4328
4475
|
expires_at: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
4329
4476
|
download_token: z.string().length(64)
|
|
4330
4477
|
});
|
|
4331
|
-
var zGetDaemonSkillArchiveResponse = z.
|
|
4332
|
-
var
|
|
4333
|
-
|
|
4334
|
-
toolCallID: zToolCallId
|
|
4478
|
+
var zGetDaemonSkillArchiveResponse = z.instanceof(Blob);
|
|
4479
|
+
var zDownloadDaemonFilePath = z.object({
|
|
4480
|
+
processID: zProcessId
|
|
4335
4481
|
});
|
|
4336
|
-
var
|
|
4337
|
-
|
|
4482
|
+
var zDownloadDaemonFileResponse = z.instanceof(Blob);
|
|
4483
|
+
var zUploadDaemonFileBody = z.instanceof(Blob);
|
|
4484
|
+
var zUploadDaemonFilePath = z.object({
|
|
4485
|
+
processID: zProcessId
|
|
4338
4486
|
});
|
|
4339
|
-
var
|
|
4340
|
-
|
|
4341
|
-
toolCallID: zToolCallId,
|
|
4342
|
-
artifactID: zArtifactId
|
|
4487
|
+
var zUploadDaemonFileQuery = z.object({
|
|
4488
|
+
filename: z.string().optional()
|
|
4343
4489
|
});
|
|
4344
|
-
var
|
|
4490
|
+
var zUploadDaemonFileResponse = zUploadFileResponse;
|
|
4345
4491
|
|
|
4346
4492
|
export {
|
|
4347
4493
|
__export,
|
|
4348
4494
|
zResourceName,
|
|
4349
4495
|
zAgentName,
|
|
4350
4496
|
zSkillName,
|
|
4497
|
+
zMemoryStoreName,
|
|
4351
4498
|
zResourceListSort,
|
|
4352
4499
|
zCreatedResourceListSort,
|
|
4353
4500
|
zAgentConfigErrorIssue,
|
|
4354
4501
|
zError,
|
|
4502
|
+
zErrorCode,
|
|
4355
4503
|
zClientErrorCode,
|
|
4356
4504
|
zServerErrorCode,
|
|
4357
4505
|
zManagementKind,
|
|
@@ -4404,6 +4552,7 @@ export {
|
|
|
4404
4552
|
zSkillId,
|
|
4405
4553
|
zSkillRevisionId,
|
|
4406
4554
|
zSkillGrantId,
|
|
4555
|
+
zMemoryStoreId,
|
|
4407
4556
|
zSecretId,
|
|
4408
4557
|
zCreateModelProviderConfigRequest,
|
|
4409
4558
|
zUpdateModelProviderConfigRequest,
|
|
@@ -4444,6 +4593,16 @@ export {
|
|
|
4444
4593
|
zListProjectSkillAccessesResponse,
|
|
4445
4594
|
zSkillGrantCreateRequest,
|
|
4446
4595
|
zSkillGrant,
|
|
4596
|
+
zMemoryStoreAccess,
|
|
4597
|
+
zMemoryStore,
|
|
4598
|
+
zCreateMemoryStore,
|
|
4599
|
+
zUpdateMemoryStore,
|
|
4600
|
+
zMemoryStoreList,
|
|
4601
|
+
zMemoryRegularFile,
|
|
4602
|
+
zMemoryDirectory,
|
|
4603
|
+
zMemoryFile,
|
|
4604
|
+
zMemoryFileList,
|
|
4605
|
+
zUploadFileResponse,
|
|
4447
4606
|
zMcpoAuthStartMetadata,
|
|
4448
4607
|
zMcpoAuthStartResponse,
|
|
4449
4608
|
zCreateIntegrationOAuthSetupRequest,
|
|
@@ -4493,6 +4652,7 @@ export {
|
|
|
4493
4652
|
zCompiledMcpTool,
|
|
4494
4653
|
zCompiledMcpServer,
|
|
4495
4654
|
zCompiledSkill,
|
|
4655
|
+
zCompiledMemoryStore,
|
|
4496
4656
|
zCompiledSubagentModel,
|
|
4497
4657
|
zCompiledSelfSubagent,
|
|
4498
4658
|
zCompiledProfileSubagent,
|
|
@@ -4712,7 +4872,6 @@ export {
|
|
|
4712
4872
|
zDaemonRuntimeReconciliation,
|
|
4713
4873
|
zRegisterDaemonRuntimeResponse,
|
|
4714
4874
|
zBootstrapDaemonResponse,
|
|
4715
|
-
zUploadArtifactResponse,
|
|
4716
4875
|
zCreateProjectRequest,
|
|
4717
4876
|
zProjectFields,
|
|
4718
4877
|
zProject,
|
|
@@ -4879,6 +5038,32 @@ export {
|
|
|
4879
5038
|
zListProjectAvailableSkillsPath,
|
|
4880
5039
|
zListProjectAvailableSkillsQuery,
|
|
4881
5040
|
zListProjectAvailableSkillsResponse,
|
|
5041
|
+
zListMemoryStoresPath,
|
|
5042
|
+
zListMemoryStoresQuery,
|
|
5043
|
+
zListMemoryStoresResponse,
|
|
5044
|
+
zCreateMemoryStoreBody,
|
|
5045
|
+
zCreateMemoryStorePath,
|
|
5046
|
+
zCreateMemoryStoreResponse,
|
|
5047
|
+
zDeleteMemoryStorePath,
|
|
5048
|
+
zDeleteMemoryStoreResponse,
|
|
5049
|
+
zGetMemoryStorePath,
|
|
5050
|
+
zGetMemoryStoreResponse,
|
|
5051
|
+
zUpdateMemoryStoreBody,
|
|
5052
|
+
zUpdateMemoryStorePath,
|
|
5053
|
+
zUpdateMemoryStoreResponse,
|
|
5054
|
+
zListMemoryFilesPath,
|
|
5055
|
+
zListMemoryFilesQuery,
|
|
5056
|
+
zListMemoryFilesResponse,
|
|
5057
|
+
zDeleteMemoryFilePath,
|
|
5058
|
+
zDeleteMemoryFileQuery,
|
|
5059
|
+
zDeleteMemoryFileResponse,
|
|
5060
|
+
zDownloadMemoryFilePath,
|
|
5061
|
+
zDownloadMemoryFileQuery,
|
|
5062
|
+
zDownloadMemoryFileResponse,
|
|
5063
|
+
zWriteMemoryFileBody,
|
|
5064
|
+
zWriteMemoryFilePath,
|
|
5065
|
+
zWriteMemoryFileQuery,
|
|
5066
|
+
zWriteMemoryFileResponse,
|
|
4882
5067
|
zListSecretsPath,
|
|
4883
5068
|
zListSecretsQuery,
|
|
4884
5069
|
zListSecretsResponse2,
|
|
@@ -5157,12 +5342,12 @@ export {
|
|
|
5157
5342
|
zGetDaemonSkillArchivePath,
|
|
5158
5343
|
zGetDaemonSkillArchiveQuery,
|
|
5159
5344
|
zGetDaemonSkillArchiveResponse,
|
|
5160
|
-
|
|
5161
|
-
|
|
5162
|
-
|
|
5163
|
-
|
|
5164
|
-
|
|
5165
|
-
|
|
5345
|
+
zDownloadDaemonFilePath,
|
|
5346
|
+
zDownloadDaemonFileResponse,
|
|
5347
|
+
zUploadDaemonFileBody,
|
|
5348
|
+
zUploadDaemonFilePath,
|
|
5349
|
+
zUploadDaemonFileQuery,
|
|
5350
|
+
zUploadDaemonFileResponse,
|
|
5166
5351
|
zod_gen_exports
|
|
5167
5352
|
};
|
|
5168
|
-
//# sourceMappingURL=chunk-
|
|
5353
|
+
//# sourceMappingURL=chunk-LEXWVGES.js.map
|