omnara 1.0.25 → 1.0.27
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/bin.js +55 -22
- package/package.json +3 -3
package/dist/bin.js
CHANGED
|
@@ -137,6 +137,8 @@ var zDiscoveredProviderModel = z.object({
|
|
|
137
137
|
display_name: z.string().optional(),
|
|
138
138
|
context_window_tokens: z.int().gte(2).lte(2147483647).optional(),
|
|
139
139
|
max_output_tokens: z.int().gte(1).lte(2147483647).optional(),
|
|
140
|
+
supports_reasoning: z.boolean().optional(),
|
|
141
|
+
supported_reasoning_efforts: z.array(z.string()).optional(),
|
|
140
142
|
pricing: zDiscoveredModelPricing.optional()
|
|
141
143
|
});
|
|
142
144
|
var zModelCatalog = z.object({
|
|
@@ -457,6 +459,7 @@ var zSkillGrant = z.object({
|
|
|
457
459
|
var zMemoryStoreAccess = z.enum(["read", "read_write"]);
|
|
458
460
|
var zMemoryStore = z.object({
|
|
459
461
|
id: zMemoryStoreId,
|
|
462
|
+
project_id: zProjectId,
|
|
460
463
|
name: zMemoryStoreName,
|
|
461
464
|
description: z.string().refine((value) => Array.from(value).length <= 1024, { message: "String cannot exceed 1024 Unicode characters" }),
|
|
462
465
|
agent_access: zMemoryStoreAccess,
|
|
@@ -1099,11 +1102,6 @@ var zToolCall = z.object({
|
|
|
1099
1102
|
completed_at: zTimestamp.optional(),
|
|
1100
1103
|
created_at: zTimestamp
|
|
1101
1104
|
});
|
|
1102
|
-
var zToolCallUpdate = z.object({
|
|
1103
|
-
tool_call_id: zToolCallId,
|
|
1104
|
-
agent_id: zAgentId.optional(),
|
|
1105
|
-
state: zToolCallState
|
|
1106
|
-
});
|
|
1107
1105
|
var zListToolCallsResponse = z.object({
|
|
1108
1106
|
data: z.array(zToolCall),
|
|
1109
1107
|
next_cursor: z.string().nullable()
|
|
@@ -1186,10 +1184,6 @@ var zEventWebhookContextCheckpointEvent = z.object({
|
|
|
1186
1184
|
event: z.enum(["context_checkpoint"]),
|
|
1187
1185
|
data: zContextCheckpointEvent
|
|
1188
1186
|
});
|
|
1189
|
-
var zEventWebhookToolCallUpdate = z.object({
|
|
1190
|
-
event: z.enum(["tool_call_update"]),
|
|
1191
|
-
data: zToolCallUpdate
|
|
1192
|
-
});
|
|
1193
1187
|
var zModelOutputTextStreamBlock = z.object({
|
|
1194
1188
|
kind: z.enum(["text"])
|
|
1195
1189
|
});
|
|
@@ -1259,13 +1253,6 @@ var zEventWebhookModelOutputEvent = z.object({
|
|
|
1259
1253
|
event: z.enum(["model_output"]),
|
|
1260
1254
|
data: zModelOutputEvent
|
|
1261
1255
|
});
|
|
1262
|
-
var zEventWebhookPayload = z.discriminatedUnion("event", [
|
|
1263
|
-
zEventWebhookAgentInputEvent.extend({ event: z.literal("agent_input") }),
|
|
1264
|
-
zEventWebhookModelOutputEvent.extend({ event: z.literal("model_output") }),
|
|
1265
|
-
zEventWebhookToolResultEvent.extend({ event: z.literal("tool_result") }),
|
|
1266
|
-
zEventWebhookContextCheckpointEvent.extend({ event: z.literal("context_checkpoint") }),
|
|
1267
|
-
zEventWebhookToolCallUpdate.extend({ event: z.literal("tool_call_update") })
|
|
1268
|
-
]);
|
|
1269
1256
|
var zAgentEvent = z.discriminatedUnion("event_kind", [
|
|
1270
1257
|
zAgentInputEvent.extend({ event_kind: z.literal("agent_input") }),
|
|
1271
1258
|
zModelOutputEvent.extend({ event_kind: z.literal("model_output") }),
|
|
@@ -1303,12 +1290,6 @@ var zModelOutputDelta = z.object({
|
|
|
1303
1290
|
coalesced_count: zAgentCount,
|
|
1304
1291
|
event: zModelOutputStreamDelta
|
|
1305
1292
|
});
|
|
1306
|
-
var zAgentEventStreamData = z.union([
|
|
1307
|
-
zAgentEvent,
|
|
1308
|
-
zToolCallUpdate,
|
|
1309
|
-
zModelOutputDelta,
|
|
1310
|
-
zError
|
|
1311
|
-
]);
|
|
1312
1293
|
var zListAgentEventsResponse = z.object({
|
|
1313
1294
|
data: z.array(zAgentEvent),
|
|
1314
1295
|
next_after_sequence: zAgentSequenceCursor,
|
|
@@ -1390,6 +1371,34 @@ var zAgentInteractionState = z.enum([
|
|
|
1390
1371
|
"resolved",
|
|
1391
1372
|
"canceled"
|
|
1392
1373
|
]);
|
|
1374
|
+
var zAgentInteractionUpdate = z.object({
|
|
1375
|
+
id: zAgentInteractionId,
|
|
1376
|
+
interaction_kind: zAgentInteractionKind,
|
|
1377
|
+
state: zAgentInteractionState
|
|
1378
|
+
});
|
|
1379
|
+
var zToolCallUpdate = z.object({
|
|
1380
|
+
tool_call_id: zToolCallId,
|
|
1381
|
+
agent_id: zAgentId.optional(),
|
|
1382
|
+
state: zToolCallState,
|
|
1383
|
+
interaction_update: zAgentInteractionUpdate.optional()
|
|
1384
|
+
});
|
|
1385
|
+
var zEventWebhookToolCallUpdate = z.object({
|
|
1386
|
+
event: z.enum(["tool_call_update"]),
|
|
1387
|
+
data: zToolCallUpdate
|
|
1388
|
+
});
|
|
1389
|
+
var zEventWebhookPayload = z.discriminatedUnion("event", [
|
|
1390
|
+
zEventWebhookAgentInputEvent.extend({ event: z.literal("agent_input") }),
|
|
1391
|
+
zEventWebhookModelOutputEvent.extend({ event: z.literal("model_output") }),
|
|
1392
|
+
zEventWebhookToolResultEvent.extend({ event: z.literal("tool_result") }),
|
|
1393
|
+
zEventWebhookContextCheckpointEvent.extend({ event: z.literal("context_checkpoint") }),
|
|
1394
|
+
zEventWebhookToolCallUpdate.extend({ event: z.literal("tool_call_update") })
|
|
1395
|
+
]);
|
|
1396
|
+
var zAgentEventStreamData = z.union([
|
|
1397
|
+
zAgentEvent,
|
|
1398
|
+
zToolCallUpdate,
|
|
1399
|
+
zModelOutputDelta,
|
|
1400
|
+
zError
|
|
1401
|
+
]);
|
|
1393
1402
|
var zInteractionPresentationReceipt = z.record(z.string(), z.unknown());
|
|
1394
1403
|
var zActorProvider = z.enum([
|
|
1395
1404
|
"omnara",
|
|
@@ -2992,6 +3001,15 @@ var zListProjectAvailableSkillsQuery = z.object({
|
|
|
2992
3001
|
cursor: z.string().max(1024).optional()
|
|
2993
3002
|
});
|
|
2994
3003
|
var zListProjectAvailableSkillsResponse = zListProjectSkillAccessesResponse;
|
|
3004
|
+
var zListOrgMemoryStoresPath = z.object({
|
|
3005
|
+
orgID: zOrganizationId
|
|
3006
|
+
});
|
|
3007
|
+
var zListOrgMemoryStoresQuery = z.object({
|
|
3008
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
3009
|
+
name: z.string().min(1).max(200).optional(),
|
|
3010
|
+
cursor: z.string().max(1024).optional()
|
|
3011
|
+
});
|
|
3012
|
+
var zListOrgMemoryStoresResponse = zMemoryStoreList;
|
|
2995
3013
|
var zListMemoryStoresPath = z.object({
|
|
2996
3014
|
orgID: zOrganizationId,
|
|
2997
3015
|
projectID: zProjectId
|
|
@@ -5456,6 +5474,7 @@ __export(sdk_gen_exports, {
|
|
|
5456
5474
|
listOrgApiKeys: () => listOrgApiKeys,
|
|
5457
5475
|
listOrgInvitations: () => listOrgInvitations,
|
|
5458
5476
|
listOrgMembers: () => listOrgMembers,
|
|
5477
|
+
listOrgMemoryStores: () => listOrgMemoryStores,
|
|
5459
5478
|
listOrganizations: () => listOrganizations,
|
|
5460
5479
|
listPendingInvitations: () => listPendingInvitations,
|
|
5461
5480
|
listPersonalAccessTokens: () => listPersonalAccessTokens,
|
|
@@ -6285,6 +6304,20 @@ var listProjectAvailableSkills = (options) => (options.client ?? client).get({
|
|
|
6285
6304
|
url: "/orgs/{orgID}/projects/{projectID}/skills",
|
|
6286
6305
|
...options
|
|
6287
6306
|
});
|
|
6307
|
+
var listOrgMemoryStores = (options) => (options.client ?? client).get({
|
|
6308
|
+
responseValidator: relaxedResponseValidator(zListOrgMemoryStoresResponse),
|
|
6309
|
+
security: [{
|
|
6310
|
+
key: "bearerAuth",
|
|
6311
|
+
scheme: "bearer",
|
|
6312
|
+
type: "http"
|
|
6313
|
+
}, {
|
|
6314
|
+
in: "cookie",
|
|
6315
|
+
name: "__Host-omnara_session",
|
|
6316
|
+
type: "apiKey"
|
|
6317
|
+
}],
|
|
6318
|
+
url: "/orgs/{orgID}/memory-stores",
|
|
6319
|
+
...options
|
|
6320
|
+
});
|
|
6288
6321
|
var listMemoryStores = (options) => (options.client ?? client).get({
|
|
6289
6322
|
responseValidator: relaxedResponseValidator(zListMemoryStoresResponse),
|
|
6290
6323
|
security: [{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnara",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.27",
|
|
4
4
|
"description": "Command-line interface for Omnara: launch and manage agents, organizations, integrations, and MCP servers",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://omnara.com",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"tsx": "^4.19.0",
|
|
37
37
|
"typescript": "^5.6.0",
|
|
38
38
|
"vitest": "4.1.9",
|
|
39
|
-
"@omnara/
|
|
40
|
-
"@omnara/
|
|
39
|
+
"@omnara/sdk": "0.0.0",
|
|
40
|
+
"@omnara/react": "0.0.0"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"build": "esbuild src/bin.ts --bundle --platform=node --format=esm --target=node22 --outfile=dist/bin.js --banner:js='#!/usr/bin/env node' --external:@clack/prompts --external:@tanstack/react-query --external:commander --external:ink --external:react --external:tar --external:yaml --external:zod",
|