@omnara/sdk 0.1.30 → 0.1.32
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/README.md +2 -2
- package/dist/browser.js +2 -2
- package/dist/{chunk-4P7GOKD7.js → chunk-BV5UWB2I.js} +2 -2
- package/dist/{chunk-QWRP7XQP.js → chunk-S2WK3EQR.js} +2 -2
- package/dist/{chunk-NKZVA6EJ.js → chunk-TVH7NBS2.js} +5 -4
- package/dist/chunk-TVH7NBS2.js.map +1 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/{sdk.gen-zUUMiaYG.d.ts → sdk.gen-ezUDMJ_1.d.ts} +14 -8
- package/dist/tanstack.d.ts +1 -1
- package/dist/tanstack.js +2 -2
- package/dist/zod.d.ts +1 -1
- package/dist/{zod.gen-BtDfAN59.d.ts → zod.gen-BnsTQDUE.d.ts} +1 -0
- package/dist/zod.js +1 -1
- package/package.json +10 -1
- package/dist/chunk-NKZVA6EJ.js.map +0 -1
- /package/dist/{chunk-4P7GOKD7.js.map → chunk-BV5UWB2I.js.map} +0 -0
- /package/dist/{chunk-QWRP7XQP.js.map → chunk-S2WK3EQR.js.map} +0 -0
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @omnara/sdk
|
|
2
2
|
|
|
3
|
-
TypeScript SDK for the [Omnara](https://omnara.com) API.
|
|
3
|
+
TypeScript SDK for the [Omnara](https://omnara.com) API. Omnara is an open-source managed agent platform for running AI agents on any model and any machine.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -30,7 +30,7 @@ Requires Node.js 22 or later.
|
|
|
30
30
|
|
|
31
31
|
## Documentation
|
|
32
32
|
|
|
33
|
-
See the [Omnara docs](https://docs.omnara.com) and the [GitHub repository](https://github.com/omnara-ai/omnara).
|
|
33
|
+
The [quickstart](https://docs.omnara.com/quickstart) shows how to launch an agent with the SDK. See also the [Omnara docs](https://docs.omnara.com) and the [GitHub repository](https://github.com/omnara-ai/omnara).
|
|
34
34
|
|
|
35
35
|
## License
|
|
36
36
|
|
package/dist/browser.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-NZCMY3BC.js";
|
|
4
4
|
import {
|
|
5
5
|
zError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TVH7NBS2.js";
|
|
7
7
|
|
|
8
8
|
// src/json-body.ts
|
|
9
9
|
import * as z from "zod";
|
|
@@ -56,4 +56,4 @@ export {
|
|
|
56
56
|
zErrorResponse,
|
|
57
57
|
ApiError
|
|
58
58
|
};
|
|
59
|
-
//# sourceMappingURL=chunk-
|
|
59
|
+
//# sourceMappingURL=chunk-BV5UWB2I.js.map
|
|
@@ -179,7 +179,7 @@ import {
|
|
|
179
179
|
zUpdateSkillResponse,
|
|
180
180
|
zUploadDaemonFileResponse,
|
|
181
181
|
zWriteMemoryFileResponse
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-TVH7NBS2.js";
|
|
183
183
|
|
|
184
184
|
// src/generated/core/bodySerializer.gen.ts
|
|
185
185
|
var serializeFormDataPair = (data, key, value) => {
|
|
@@ -4369,4 +4369,4 @@ export {
|
|
|
4369
4369
|
listIntegrationDefinitions,
|
|
4370
4370
|
sdk_gen_exports
|
|
4371
4371
|
};
|
|
4372
|
-
//# sourceMappingURL=chunk-
|
|
4372
|
+
//# sourceMappingURL=chunk-S2WK3EQR.js.map
|
|
@@ -1076,7 +1076,7 @@ var zAgentConfigDefinitionModel = z.object({
|
|
|
1076
1076
|
"short",
|
|
1077
1077
|
"long"
|
|
1078
1078
|
]).optional(),
|
|
1079
|
-
context_window_tokens: z.int().gte(
|
|
1079
|
+
context_window_tokens: z.int().gte(2).lte(2147483647).optional(),
|
|
1080
1080
|
default_max_output_tokens: z.int().gte(1).optional(),
|
|
1081
1081
|
name: zResourceNameReference,
|
|
1082
1082
|
provider_config: zResourceNameReference,
|
|
@@ -1090,7 +1090,7 @@ var zAgentConfigDefinitionSubagentModel = z.object({
|
|
|
1090
1090
|
"short",
|
|
1091
1091
|
"long"
|
|
1092
1092
|
]).optional(),
|
|
1093
|
-
context_window_tokens: z.int().gte(
|
|
1093
|
+
context_window_tokens: z.int().gte(2).lte(2147483647).optional(),
|
|
1094
1094
|
default_max_output_tokens: z.int().gte(1).optional(),
|
|
1095
1095
|
name: zResourceNameReference.optional(),
|
|
1096
1096
|
provider_config: zResourceNameReference.optional(),
|
|
@@ -1188,6 +1188,7 @@ var zErrorCode = z.enum([
|
|
|
1188
1188
|
"internal_error",
|
|
1189
1189
|
"service_unavailable",
|
|
1190
1190
|
"idempotency_key_conflict",
|
|
1191
|
+
"agent_backlog_full",
|
|
1191
1192
|
"state_transition_conflict",
|
|
1192
1193
|
"managed_work_admission_denied",
|
|
1193
1194
|
"pending_work",
|
|
@@ -1313,7 +1314,7 @@ var zCreateProjectModelGrantRequest = z.object({
|
|
|
1313
1314
|
output_modalities: z.array(z.string()).optional()
|
|
1314
1315
|
});
|
|
1315
1316
|
var zUpdateProjectModelGrantRequest = z.object({
|
|
1316
|
-
context_window_tokens: z.int().gte(
|
|
1317
|
+
context_window_tokens: z.int().gte(2).lte(2147483647).nullish(),
|
|
1317
1318
|
max_output_tokens: z.int().gte(1).nullish(),
|
|
1318
1319
|
default_max_output_tokens: z.int().gte(1).nullish(),
|
|
1319
1320
|
default_cache_retention: zModelCacheRetention.nullish(),
|
|
@@ -6126,4 +6127,4 @@ export {
|
|
|
6126
6127
|
zListIntegrationDefinitionsResponse2,
|
|
6127
6128
|
zod_gen_exports
|
|
6128
6129
|
};
|
|
6129
|
-
//# sourceMappingURL=chunk-
|
|
6130
|
+
//# sourceMappingURL=chunk-TVH7NBS2.js.map
|