@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/tanstack.js
CHANGED
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
createIntegrationOAuthSetup,
|
|
17
17
|
createMachine,
|
|
18
18
|
createMachinePool,
|
|
19
|
+
createMemoryStore,
|
|
19
20
|
createModelProviderConfig,
|
|
20
21
|
createOrgApiKey,
|
|
21
22
|
createOrgInvitation,
|
|
@@ -39,6 +40,8 @@ import {
|
|
|
39
40
|
deleteIntegrationInstall,
|
|
40
41
|
deleteMachine,
|
|
41
42
|
deleteMachinePool,
|
|
43
|
+
deleteMemoryFile,
|
|
44
|
+
deleteMemoryStore,
|
|
42
45
|
deleteModelProviderConfig,
|
|
43
46
|
deleteOrgInvitation,
|
|
44
47
|
deleteOrganization,
|
|
@@ -51,7 +54,8 @@ import {
|
|
|
51
54
|
deleteSkill,
|
|
52
55
|
deleteSkillGrant,
|
|
53
56
|
demoteSteeringInputToQueued,
|
|
54
|
-
|
|
57
|
+
downloadDaemonFile,
|
|
58
|
+
downloadMemoryFile,
|
|
55
59
|
endMachineDaemonRuntime,
|
|
56
60
|
getActor,
|
|
57
61
|
getAgent,
|
|
@@ -66,6 +70,7 @@ import {
|
|
|
66
70
|
getDaemonSkillArchive,
|
|
67
71
|
getMachine,
|
|
68
72
|
getMachinePool,
|
|
73
|
+
getMemoryStore,
|
|
69
74
|
getModelCatalog,
|
|
70
75
|
getModelProviderConfig,
|
|
71
76
|
getOrgApiKey,
|
|
@@ -90,6 +95,8 @@ import {
|
|
|
90
95
|
listMcpServerTools,
|
|
91
96
|
listMcpServers,
|
|
92
97
|
listMemberProjectAccess,
|
|
98
|
+
listMemoryFiles,
|
|
99
|
+
listMemoryStores,
|
|
93
100
|
listModelProviderConfigs,
|
|
94
101
|
listOrgApiKeyProjectAccess,
|
|
95
102
|
listOrgApiKeys,
|
|
@@ -140,6 +147,7 @@ import {
|
|
|
140
147
|
updateCronTrigger,
|
|
141
148
|
updateMachine,
|
|
142
149
|
updateMachinePool,
|
|
150
|
+
updateMemoryStore,
|
|
143
151
|
updateModelProviderConfig,
|
|
144
152
|
updateOrgApiKey,
|
|
145
153
|
updateOrgMember,
|
|
@@ -147,10 +155,11 @@ import {
|
|
|
147
155
|
updateProjectModelGrant,
|
|
148
156
|
updateSecret,
|
|
149
157
|
updateSkill,
|
|
150
|
-
|
|
151
|
-
|
|
158
|
+
uploadDaemonFile,
|
|
159
|
+
writeMemoryFile
|
|
160
|
+
} from "./chunk-PWJRR6EE.js";
|
|
152
161
|
import "./chunk-NZCMY3BC.js";
|
|
153
|
-
import "./chunk-
|
|
162
|
+
import "./chunk-LEXWVGES.js";
|
|
154
163
|
|
|
155
164
|
// src/generated/@tanstack/react-query.gen.ts
|
|
156
165
|
import { infiniteQueryOptions, queryOptions } from "@tanstack/react-query";
|
|
@@ -1014,6 +1023,173 @@ var listProjectAvailableSkillsInfiniteOptions = (options) => {
|
|
|
1014
1023
|
);
|
|
1015
1024
|
return opts;
|
|
1016
1025
|
};
|
|
1026
|
+
var listMemoryStoresQueryKey = (options) => createQueryKey("listMemoryStores", options);
|
|
1027
|
+
var listMemoryStoresOptions = (options) => queryOptions({
|
|
1028
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
1029
|
+
const { data } = await listMemoryStores({
|
|
1030
|
+
...options,
|
|
1031
|
+
...queryKey[0],
|
|
1032
|
+
signal,
|
|
1033
|
+
throwOnError: true
|
|
1034
|
+
});
|
|
1035
|
+
return data;
|
|
1036
|
+
},
|
|
1037
|
+
queryKey: listMemoryStoresQueryKey(options)
|
|
1038
|
+
});
|
|
1039
|
+
var listMemoryStoresInfiniteQueryKey = (options) => createQueryKey("listMemoryStores", options, true);
|
|
1040
|
+
var listMemoryStoresInfiniteOptions = (options) => {
|
|
1041
|
+
const opts = infiniteQueryOptions(
|
|
1042
|
+
// @ts-ignore
|
|
1043
|
+
{
|
|
1044
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
1045
|
+
const page = typeof pageParam === "object" ? pageParam : {
|
|
1046
|
+
query: {
|
|
1047
|
+
cursor: pageParam
|
|
1048
|
+
}
|
|
1049
|
+
};
|
|
1050
|
+
const params = createInfiniteParams(queryKey, page);
|
|
1051
|
+
const { data } = await listMemoryStores({
|
|
1052
|
+
...options,
|
|
1053
|
+
...params,
|
|
1054
|
+
signal,
|
|
1055
|
+
throwOnError: true
|
|
1056
|
+
});
|
|
1057
|
+
return data;
|
|
1058
|
+
},
|
|
1059
|
+
queryKey: listMemoryStoresInfiniteQueryKey(options)
|
|
1060
|
+
}
|
|
1061
|
+
);
|
|
1062
|
+
return opts;
|
|
1063
|
+
};
|
|
1064
|
+
var createMemoryStoreMutation = (options) => {
|
|
1065
|
+
const mutationOptions = {
|
|
1066
|
+
mutationFn: async (fnOptions) => {
|
|
1067
|
+
const { data } = await createMemoryStore({
|
|
1068
|
+
...options,
|
|
1069
|
+
...fnOptions,
|
|
1070
|
+
throwOnError: true
|
|
1071
|
+
});
|
|
1072
|
+
return data;
|
|
1073
|
+
}
|
|
1074
|
+
};
|
|
1075
|
+
return mutationOptions;
|
|
1076
|
+
};
|
|
1077
|
+
var deleteMemoryStoreMutation = (options) => {
|
|
1078
|
+
const mutationOptions = {
|
|
1079
|
+
mutationFn: async (fnOptions) => {
|
|
1080
|
+
const { data } = await deleteMemoryStore({
|
|
1081
|
+
...options,
|
|
1082
|
+
...fnOptions,
|
|
1083
|
+
throwOnError: true
|
|
1084
|
+
});
|
|
1085
|
+
return data;
|
|
1086
|
+
}
|
|
1087
|
+
};
|
|
1088
|
+
return mutationOptions;
|
|
1089
|
+
};
|
|
1090
|
+
var getMemoryStoreQueryKey = (options) => createQueryKey("getMemoryStore", options);
|
|
1091
|
+
var getMemoryStoreOptions = (options) => queryOptions({
|
|
1092
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
1093
|
+
const { data } = await getMemoryStore({
|
|
1094
|
+
...options,
|
|
1095
|
+
...queryKey[0],
|
|
1096
|
+
signal,
|
|
1097
|
+
throwOnError: true
|
|
1098
|
+
});
|
|
1099
|
+
return data;
|
|
1100
|
+
},
|
|
1101
|
+
queryKey: getMemoryStoreQueryKey(options)
|
|
1102
|
+
});
|
|
1103
|
+
var updateMemoryStoreMutation = (options) => {
|
|
1104
|
+
const mutationOptions = {
|
|
1105
|
+
mutationFn: async (fnOptions) => {
|
|
1106
|
+
const { data } = await updateMemoryStore({
|
|
1107
|
+
...options,
|
|
1108
|
+
...fnOptions,
|
|
1109
|
+
throwOnError: true
|
|
1110
|
+
});
|
|
1111
|
+
return data;
|
|
1112
|
+
}
|
|
1113
|
+
};
|
|
1114
|
+
return mutationOptions;
|
|
1115
|
+
};
|
|
1116
|
+
var listMemoryFilesQueryKey = (options) => createQueryKey("listMemoryFiles", options);
|
|
1117
|
+
var listMemoryFilesOptions = (options) => queryOptions({
|
|
1118
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
1119
|
+
const { data } = await listMemoryFiles({
|
|
1120
|
+
...options,
|
|
1121
|
+
...queryKey[0],
|
|
1122
|
+
signal,
|
|
1123
|
+
throwOnError: true
|
|
1124
|
+
});
|
|
1125
|
+
return data;
|
|
1126
|
+
},
|
|
1127
|
+
queryKey: listMemoryFilesQueryKey(options)
|
|
1128
|
+
});
|
|
1129
|
+
var listMemoryFilesInfiniteQueryKey = (options) => createQueryKey("listMemoryFiles", options, true);
|
|
1130
|
+
var listMemoryFilesInfiniteOptions = (options) => {
|
|
1131
|
+
const opts = infiniteQueryOptions(
|
|
1132
|
+
// @ts-ignore
|
|
1133
|
+
{
|
|
1134
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
1135
|
+
const page = typeof pageParam === "object" ? pageParam : {
|
|
1136
|
+
query: {
|
|
1137
|
+
cursor: pageParam
|
|
1138
|
+
}
|
|
1139
|
+
};
|
|
1140
|
+
const params = createInfiniteParams(queryKey, page);
|
|
1141
|
+
const { data } = await listMemoryFiles({
|
|
1142
|
+
...options,
|
|
1143
|
+
...params,
|
|
1144
|
+
signal,
|
|
1145
|
+
throwOnError: true
|
|
1146
|
+
});
|
|
1147
|
+
return data;
|
|
1148
|
+
},
|
|
1149
|
+
queryKey: listMemoryFilesInfiniteQueryKey(options)
|
|
1150
|
+
}
|
|
1151
|
+
);
|
|
1152
|
+
return opts;
|
|
1153
|
+
};
|
|
1154
|
+
var deleteMemoryFileMutation = (options) => {
|
|
1155
|
+
const mutationOptions = {
|
|
1156
|
+
mutationFn: async (fnOptions) => {
|
|
1157
|
+
const { data } = await deleteMemoryFile({
|
|
1158
|
+
...options,
|
|
1159
|
+
...fnOptions,
|
|
1160
|
+
throwOnError: true
|
|
1161
|
+
});
|
|
1162
|
+
return data;
|
|
1163
|
+
}
|
|
1164
|
+
};
|
|
1165
|
+
return mutationOptions;
|
|
1166
|
+
};
|
|
1167
|
+
var downloadMemoryFileQueryKey = (options) => createQueryKey("downloadMemoryFile", options);
|
|
1168
|
+
var downloadMemoryFileOptions = (options) => queryOptions({
|
|
1169
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
1170
|
+
const { data } = await downloadMemoryFile({
|
|
1171
|
+
...options,
|
|
1172
|
+
...queryKey[0],
|
|
1173
|
+
signal,
|
|
1174
|
+
throwOnError: true
|
|
1175
|
+
});
|
|
1176
|
+
return data;
|
|
1177
|
+
},
|
|
1178
|
+
queryKey: downloadMemoryFileQueryKey(options)
|
|
1179
|
+
});
|
|
1180
|
+
var writeMemoryFileMutation = (options) => {
|
|
1181
|
+
const mutationOptions = {
|
|
1182
|
+
mutationFn: async (fnOptions) => {
|
|
1183
|
+
const { data } = await writeMemoryFile({
|
|
1184
|
+
...options,
|
|
1185
|
+
...fnOptions,
|
|
1186
|
+
throwOnError: true
|
|
1187
|
+
});
|
|
1188
|
+
return data;
|
|
1189
|
+
}
|
|
1190
|
+
};
|
|
1191
|
+
return mutationOptions;
|
|
1192
|
+
};
|
|
1017
1193
|
var listSecretsQueryKey = (options) => createQueryKey("listSecrets", options);
|
|
1018
1194
|
var listSecretsOptions = (options) => queryOptions({
|
|
1019
1195
|
queryFn: async ({ queryKey, signal }) => {
|
|
@@ -2852,10 +3028,23 @@ var getDaemonSkillArchiveOptions = (options) => queryOptions({
|
|
|
2852
3028
|
},
|
|
2853
3029
|
queryKey: getDaemonSkillArchiveQueryKey(options)
|
|
2854
3030
|
});
|
|
2855
|
-
var
|
|
3031
|
+
var downloadDaemonFileQueryKey = (options) => createQueryKey("downloadDaemonFile", options);
|
|
3032
|
+
var downloadDaemonFileOptions = (options) => queryOptions({
|
|
3033
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
3034
|
+
const { data } = await downloadDaemonFile({
|
|
3035
|
+
...options,
|
|
3036
|
+
...queryKey[0],
|
|
3037
|
+
signal,
|
|
3038
|
+
throwOnError: true
|
|
3039
|
+
});
|
|
3040
|
+
return data;
|
|
3041
|
+
},
|
|
3042
|
+
queryKey: downloadDaemonFileQueryKey(options)
|
|
3043
|
+
});
|
|
3044
|
+
var uploadDaemonFileMutation = (options) => {
|
|
2856
3045
|
const mutationOptions = {
|
|
2857
3046
|
mutationFn: async (fnOptions) => {
|
|
2858
|
-
const { data } = await
|
|
3047
|
+
const { data } = await uploadDaemonFile({
|
|
2859
3048
|
...options,
|
|
2860
3049
|
...fnOptions,
|
|
2861
3050
|
throwOnError: true
|
|
@@ -2865,19 +3054,6 @@ var uploadDaemonArtifactMutation = (options) => {
|
|
|
2865
3054
|
};
|
|
2866
3055
|
return mutationOptions;
|
|
2867
3056
|
};
|
|
2868
|
-
var downloadDaemonArtifactQueryKey = (options) => createQueryKey("downloadDaemonArtifact", options);
|
|
2869
|
-
var downloadDaemonArtifactOptions = (options) => queryOptions({
|
|
2870
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
2871
|
-
const { data } = await downloadDaemonArtifact({
|
|
2872
|
-
...options,
|
|
2873
|
-
...queryKey[0],
|
|
2874
|
-
signal,
|
|
2875
|
-
throwOnError: true
|
|
2876
|
-
});
|
|
2877
|
-
return data;
|
|
2878
|
-
},
|
|
2879
|
-
queryKey: downloadDaemonArtifactQueryKey(options)
|
|
2880
|
-
});
|
|
2881
3057
|
export {
|
|
2882
3058
|
acceptInvitationMutation,
|
|
2883
3059
|
archiveAgentMutation,
|
|
@@ -2895,6 +3071,7 @@ export {
|
|
|
2895
3071
|
createIntegrationOAuthSetupMutation,
|
|
2896
3072
|
createMachineMutation,
|
|
2897
3073
|
createMachinePoolMutation,
|
|
3074
|
+
createMemoryStoreMutation,
|
|
2898
3075
|
createModelProviderConfigMutation,
|
|
2899
3076
|
createOrgApiKeyMutation,
|
|
2900
3077
|
createOrgInvitationMutation,
|
|
@@ -2918,6 +3095,8 @@ export {
|
|
|
2918
3095
|
deleteIntegrationInstallMutation,
|
|
2919
3096
|
deleteMachineMutation,
|
|
2920
3097
|
deleteMachinePoolMutation,
|
|
3098
|
+
deleteMemoryFileMutation,
|
|
3099
|
+
deleteMemoryStoreMutation,
|
|
2921
3100
|
deleteModelProviderConfigMutation,
|
|
2922
3101
|
deleteOrgInvitationMutation,
|
|
2923
3102
|
deleteOrganizationMutation,
|
|
@@ -2930,8 +3109,10 @@ export {
|
|
|
2930
3109
|
deleteSkillGrantMutation,
|
|
2931
3110
|
deleteSkillMutation,
|
|
2932
3111
|
demoteSteeringInputToQueuedMutation,
|
|
2933
|
-
|
|
2934
|
-
|
|
3112
|
+
downloadDaemonFileOptions,
|
|
3113
|
+
downloadDaemonFileQueryKey,
|
|
3114
|
+
downloadMemoryFileOptions,
|
|
3115
|
+
downloadMemoryFileQueryKey,
|
|
2935
3116
|
endMachineDaemonRuntimeMutation,
|
|
2936
3117
|
getActorOptions,
|
|
2937
3118
|
getActorQueryKey,
|
|
@@ -2959,6 +3140,8 @@ export {
|
|
|
2959
3140
|
getMachinePoolOptions,
|
|
2960
3141
|
getMachinePoolQueryKey,
|
|
2961
3142
|
getMachineQueryKey,
|
|
3143
|
+
getMemoryStoreOptions,
|
|
3144
|
+
getMemoryStoreQueryKey,
|
|
2962
3145
|
getModelCatalogOptions,
|
|
2963
3146
|
getModelCatalogQueryKey,
|
|
2964
3147
|
getModelProviderConfigOptions,
|
|
@@ -3026,6 +3209,14 @@ export {
|
|
|
3026
3209
|
listMcpServersQueryKey,
|
|
3027
3210
|
listMemberProjectAccessOptions,
|
|
3028
3211
|
listMemberProjectAccessQueryKey,
|
|
3212
|
+
listMemoryFilesInfiniteOptions,
|
|
3213
|
+
listMemoryFilesInfiniteQueryKey,
|
|
3214
|
+
listMemoryFilesOptions,
|
|
3215
|
+
listMemoryFilesQueryKey,
|
|
3216
|
+
listMemoryStoresInfiniteOptions,
|
|
3217
|
+
listMemoryStoresInfiniteQueryKey,
|
|
3218
|
+
listMemoryStoresOptions,
|
|
3219
|
+
listMemoryStoresQueryKey,
|
|
3029
3220
|
listModelProviderConfigsInfiniteOptions,
|
|
3030
3221
|
listModelProviderConfigsInfiniteQueryKey,
|
|
3031
3222
|
listModelProviderConfigsOptions,
|
|
@@ -3141,6 +3332,7 @@ export {
|
|
|
3141
3332
|
updateCronTriggerMutation,
|
|
3142
3333
|
updateMachineMutation,
|
|
3143
3334
|
updateMachinePoolMutation,
|
|
3335
|
+
updateMemoryStoreMutation,
|
|
3144
3336
|
updateModelProviderConfigMutation,
|
|
3145
3337
|
updateOrgApiKeyMutation,
|
|
3146
3338
|
updateOrgMemberMutation,
|
|
@@ -3148,6 +3340,7 @@ export {
|
|
|
3148
3340
|
updateProjectModelGrantMutation,
|
|
3149
3341
|
updateSecretMutation,
|
|
3150
3342
|
updateSkillMutation,
|
|
3151
|
-
|
|
3343
|
+
uploadDaemonFileMutation,
|
|
3344
|
+
writeMemoryFileMutation
|
|
3152
3345
|
};
|
|
3153
3346
|
//# sourceMappingURL=tanstack.js.map
|