@omnara/sdk 0.1.26 → 0.1.28
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-U75SRNGF.js → chunk-3TXQXV3F.js} +53 -27
- package/dist/chunk-3TXQXV3F.js.map +1 -0
- package/dist/{chunk-IOMLNLUZ.js → chunk-EPMF2Z2A.js} +2 -2
- package/dist/{chunk-MFYTIZB5.js → chunk-M4ZH2TZ7.js} +19 -2
- package/dist/chunk-M4ZH2TZ7.js.map +1 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/{sdk.gen-CgYY8k0E.d.ts → sdk.gen-CFfx7Yfs.d.ts} +100 -4
- package/dist/tanstack.d.ts +58 -2
- package/dist/tanstack.js +45 -2
- package/dist/tanstack.js.map +1 -1
- package/dist/zod.d.ts +1 -1
- package/dist/{zod.gen-CGV1WHNJ.d.ts → zod.gen-Cj4Pa--f.d.ts} +688 -570
- package/dist/zod.js +9 -1
- package/package.json +1 -1
- package/dist/chunk-MFYTIZB5.js.map +0 -1
- package/dist/chunk-U75SRNGF.js.map +0 -1
- /package/dist/{chunk-IOMLNLUZ.js.map → chunk-EPMF2Z2A.js.map} +0 -0
package/dist/browser.js
CHANGED
|
@@ -39,6 +39,7 @@ __export(zod_gen_exports, {
|
|
|
39
39
|
zAgentInteractionId: () => zAgentInteractionId,
|
|
40
40
|
zAgentInteractionKind: () => zAgentInteractionKind,
|
|
41
41
|
zAgentInteractionState: () => zAgentInteractionState,
|
|
42
|
+
zAgentInteractionUpdate: () => zAgentInteractionUpdate,
|
|
42
43
|
zAgentLaunchInitialInput: () => zAgentLaunchInitialInput,
|
|
43
44
|
zAgentMachineBinding: () => zAgentMachineBinding,
|
|
44
45
|
zAgentMachineBindingId: () => zAgentMachineBindingId,
|
|
@@ -522,6 +523,9 @@ __export(zod_gen_exports, {
|
|
|
522
523
|
zListOrgMembersQuery: () => zListOrgMembersQuery,
|
|
523
524
|
zListOrgMembersResponse: () => zListOrgMembersResponse,
|
|
524
525
|
zListOrgMembersResponse2: () => zListOrgMembersResponse2,
|
|
526
|
+
zListOrgMemoryStoresPath: () => zListOrgMemoryStoresPath,
|
|
527
|
+
zListOrgMemoryStoresQuery: () => zListOrgMemoryStoresQuery,
|
|
528
|
+
zListOrgMemoryStoresResponse: () => zListOrgMemoryStoresResponse,
|
|
525
529
|
zListOrganizationsResponse: () => zListOrganizationsResponse,
|
|
526
530
|
zListOrganizationsResponse2: () => zListOrganizationsResponse2,
|
|
527
531
|
zListPendingInvitationsQuery: () => zListPendingInvitationsQuery,
|
|
@@ -1067,6 +1071,8 @@ var zDiscoveredProviderModel = z.object({
|
|
|
1067
1071
|
display_name: z.string().optional(),
|
|
1068
1072
|
context_window_tokens: z.int().gte(2).lte(2147483647).optional(),
|
|
1069
1073
|
max_output_tokens: z.int().gte(1).lte(2147483647).optional(),
|
|
1074
|
+
supports_reasoning: z.boolean().optional(),
|
|
1075
|
+
supported_reasoning_efforts: z.array(z.string()).optional(),
|
|
1070
1076
|
pricing: zDiscoveredModelPricing.optional()
|
|
1071
1077
|
});
|
|
1072
1078
|
var zModelCatalog = z.object({
|
|
@@ -1387,6 +1393,7 @@ var zSkillGrant = z.object({
|
|
|
1387
1393
|
var zMemoryStoreAccess = z.enum(["read", "read_write"]);
|
|
1388
1394
|
var zMemoryStore = z.object({
|
|
1389
1395
|
id: zMemoryStoreId,
|
|
1396
|
+
project_id: zProjectId,
|
|
1390
1397
|
name: zMemoryStoreName,
|
|
1391
1398
|
description: z.string().refine((value) => Array.from(value).length <= 1024, { message: "String cannot exceed 1024 Unicode characters" }),
|
|
1392
1399
|
agent_access: zMemoryStoreAccess,
|
|
@@ -2029,11 +2036,6 @@ var zToolCall = z.object({
|
|
|
2029
2036
|
completed_at: zTimestamp.optional(),
|
|
2030
2037
|
created_at: zTimestamp
|
|
2031
2038
|
});
|
|
2032
|
-
var zToolCallUpdate = z.object({
|
|
2033
|
-
tool_call_id: zToolCallId,
|
|
2034
|
-
agent_id: zAgentId.optional(),
|
|
2035
|
-
state: zToolCallState
|
|
2036
|
-
});
|
|
2037
2039
|
var zListToolCallsResponse = z.object({
|
|
2038
2040
|
data: z.array(zToolCall),
|
|
2039
2041
|
next_cursor: z.string().nullable()
|
|
@@ -2116,10 +2118,6 @@ var zEventWebhookContextCheckpointEvent = z.object({
|
|
|
2116
2118
|
event: z.enum(["context_checkpoint"]),
|
|
2117
2119
|
data: zContextCheckpointEvent
|
|
2118
2120
|
});
|
|
2119
|
-
var zEventWebhookToolCallUpdate = z.object({
|
|
2120
|
-
event: z.enum(["tool_call_update"]),
|
|
2121
|
-
data: zToolCallUpdate
|
|
2122
|
-
});
|
|
2123
2121
|
var zModelOutputTextStreamBlock = z.object({
|
|
2124
2122
|
kind: z.enum(["text"])
|
|
2125
2123
|
});
|
|
@@ -2189,13 +2187,6 @@ var zEventWebhookModelOutputEvent = z.object({
|
|
|
2189
2187
|
event: z.enum(["model_output"]),
|
|
2190
2188
|
data: zModelOutputEvent
|
|
2191
2189
|
});
|
|
2192
|
-
var zEventWebhookPayload = z.discriminatedUnion("event", [
|
|
2193
|
-
zEventWebhookAgentInputEvent.extend({ event: z.literal("agent_input") }),
|
|
2194
|
-
zEventWebhookModelOutputEvent.extend({ event: z.literal("model_output") }),
|
|
2195
|
-
zEventWebhookToolResultEvent.extend({ event: z.literal("tool_result") }),
|
|
2196
|
-
zEventWebhookContextCheckpointEvent.extend({ event: z.literal("context_checkpoint") }),
|
|
2197
|
-
zEventWebhookToolCallUpdate.extend({ event: z.literal("tool_call_update") })
|
|
2198
|
-
]);
|
|
2199
2190
|
var zAgentEvent = z.discriminatedUnion("event_kind", [
|
|
2200
2191
|
zAgentInputEvent.extend({ event_kind: z.literal("agent_input") }),
|
|
2201
2192
|
zModelOutputEvent.extend({ event_kind: z.literal("model_output") }),
|
|
@@ -2233,12 +2224,6 @@ var zModelOutputDelta = z.object({
|
|
|
2233
2224
|
coalesced_count: zAgentCount,
|
|
2234
2225
|
event: zModelOutputStreamDelta
|
|
2235
2226
|
});
|
|
2236
|
-
var zAgentEventStreamData = z.union([
|
|
2237
|
-
zAgentEvent,
|
|
2238
|
-
zToolCallUpdate,
|
|
2239
|
-
zModelOutputDelta,
|
|
2240
|
-
zError
|
|
2241
|
-
]);
|
|
2242
2227
|
var zListAgentEventsResponse = z.object({
|
|
2243
2228
|
data: z.array(zAgentEvent),
|
|
2244
2229
|
next_after_sequence: zAgentSequenceCursor,
|
|
@@ -2320,6 +2305,34 @@ var zAgentInteractionState = z.enum([
|
|
|
2320
2305
|
"resolved",
|
|
2321
2306
|
"canceled"
|
|
2322
2307
|
]);
|
|
2308
|
+
var zAgentInteractionUpdate = z.object({
|
|
2309
|
+
id: zAgentInteractionId,
|
|
2310
|
+
interaction_kind: zAgentInteractionKind,
|
|
2311
|
+
state: zAgentInteractionState
|
|
2312
|
+
});
|
|
2313
|
+
var zToolCallUpdate = z.object({
|
|
2314
|
+
tool_call_id: zToolCallId,
|
|
2315
|
+
agent_id: zAgentId.optional(),
|
|
2316
|
+
state: zToolCallState,
|
|
2317
|
+
interaction_update: zAgentInteractionUpdate.optional()
|
|
2318
|
+
});
|
|
2319
|
+
var zEventWebhookToolCallUpdate = z.object({
|
|
2320
|
+
event: z.enum(["tool_call_update"]),
|
|
2321
|
+
data: zToolCallUpdate
|
|
2322
|
+
});
|
|
2323
|
+
var zEventWebhookPayload = z.discriminatedUnion("event", [
|
|
2324
|
+
zEventWebhookAgentInputEvent.extend({ event: z.literal("agent_input") }),
|
|
2325
|
+
zEventWebhookModelOutputEvent.extend({ event: z.literal("model_output") }),
|
|
2326
|
+
zEventWebhookToolResultEvent.extend({ event: z.literal("tool_result") }),
|
|
2327
|
+
zEventWebhookContextCheckpointEvent.extend({ event: z.literal("context_checkpoint") }),
|
|
2328
|
+
zEventWebhookToolCallUpdate.extend({ event: z.literal("tool_call_update") })
|
|
2329
|
+
]);
|
|
2330
|
+
var zAgentEventStreamData = z.union([
|
|
2331
|
+
zAgentEvent,
|
|
2332
|
+
zToolCallUpdate,
|
|
2333
|
+
zModelOutputDelta,
|
|
2334
|
+
zError
|
|
2335
|
+
]);
|
|
2323
2336
|
var zInteractionPresentationReceipt = z.record(z.string(), z.unknown());
|
|
2324
2337
|
var zActorProvider = z.enum([
|
|
2325
2338
|
"omnara",
|
|
@@ -3933,6 +3946,15 @@ var zListProjectAvailableSkillsQuery = z.object({
|
|
|
3933
3946
|
cursor: z.string().max(1024).optional()
|
|
3934
3947
|
});
|
|
3935
3948
|
var zListProjectAvailableSkillsResponse = zListProjectSkillAccessesResponse;
|
|
3949
|
+
var zListOrgMemoryStoresPath = z.object({
|
|
3950
|
+
orgID: zOrganizationId
|
|
3951
|
+
});
|
|
3952
|
+
var zListOrgMemoryStoresQuery = z.object({
|
|
3953
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
3954
|
+
name: z.string().min(1).max(200).optional(),
|
|
3955
|
+
cursor: z.string().max(1024).optional()
|
|
3956
|
+
});
|
|
3957
|
+
var zListOrgMemoryStoresResponse = zMemoryStoreList;
|
|
3936
3958
|
var zListMemoryStoresPath = z.object({
|
|
3937
3959
|
orgID: zOrganizationId,
|
|
3938
3960
|
projectID: zProjectId
|
|
@@ -5117,7 +5139,6 @@ export {
|
|
|
5117
5139
|
zToolCallState,
|
|
5118
5140
|
zToolCallOutcome,
|
|
5119
5141
|
zToolCall,
|
|
5120
|
-
zToolCallUpdate,
|
|
5121
5142
|
zListToolCallsResponse,
|
|
5122
5143
|
zSubmitToolCallResultRequest,
|
|
5123
5144
|
zToolResult,
|
|
@@ -5128,7 +5149,6 @@ export {
|
|
|
5128
5149
|
zEventWebhookAgentInputEvent,
|
|
5129
5150
|
zEventWebhookToolResultEvent,
|
|
5130
5151
|
zEventWebhookContextCheckpointEvent,
|
|
5131
|
-
zEventWebhookToolCallUpdate,
|
|
5132
5152
|
zModelOutputTextStreamBlock,
|
|
5133
5153
|
zModelOutputThinkingStreamBlock,
|
|
5134
5154
|
zModelOutputToolUseStreamBlock,
|
|
@@ -5141,13 +5161,11 @@ export {
|
|
|
5141
5161
|
zModelUsage,
|
|
5142
5162
|
zModelOutputEvent,
|
|
5143
5163
|
zEventWebhookModelOutputEvent,
|
|
5144
|
-
zEventWebhookPayload,
|
|
5145
5164
|
zAgentEvent,
|
|
5146
5165
|
zModelOutputMessageStopDelta,
|
|
5147
5166
|
zModelOutputErrorDelta,
|
|
5148
5167
|
zModelOutputStreamDelta,
|
|
5149
5168
|
zModelOutputDelta,
|
|
5150
|
-
zAgentEventStreamData,
|
|
5151
5169
|
zListAgentEventsResponse,
|
|
5152
5170
|
zListTurnEventsResponse,
|
|
5153
5171
|
zAgentTurn,
|
|
@@ -5165,6 +5183,11 @@ export {
|
|
|
5165
5183
|
zInteractionResolution,
|
|
5166
5184
|
zAgentInteractionKind,
|
|
5167
5185
|
zAgentInteractionState,
|
|
5186
|
+
zAgentInteractionUpdate,
|
|
5187
|
+
zToolCallUpdate,
|
|
5188
|
+
zEventWebhookToolCallUpdate,
|
|
5189
|
+
zEventWebhookPayload,
|
|
5190
|
+
zAgentEventStreamData,
|
|
5168
5191
|
zInteractionPresentationReceipt,
|
|
5169
5192
|
zActorProvider,
|
|
5170
5193
|
zActor,
|
|
@@ -5493,6 +5516,9 @@ export {
|
|
|
5493
5516
|
zListProjectAvailableSkillsPath,
|
|
5494
5517
|
zListProjectAvailableSkillsQuery,
|
|
5495
5518
|
zListProjectAvailableSkillsResponse,
|
|
5519
|
+
zListOrgMemoryStoresPath,
|
|
5520
|
+
zListOrgMemoryStoresQuery,
|
|
5521
|
+
zListOrgMemoryStoresResponse,
|
|
5496
5522
|
zListMemoryStoresPath,
|
|
5497
5523
|
zListMemoryStoresQuery,
|
|
5498
5524
|
zListMemoryStoresResponse,
|
|
@@ -5836,4 +5862,4 @@ export {
|
|
|
5836
5862
|
zListIntegrationDefinitionsResponse2,
|
|
5837
5863
|
zod_gen_exports
|
|
5838
5864
|
};
|
|
5839
|
-
//# sourceMappingURL=chunk-
|
|
5865
|
+
//# sourceMappingURL=chunk-3TXQXV3F.js.map
|