@omnara/sdk 0.1.5 → 0.1.6
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-27OYO4MK.js → chunk-6LZMFDIZ.js} +25 -4
- package/dist/chunk-6LZMFDIZ.js.map +1 -0
- package/dist/{chunk-HOCUVFTL.js → chunk-CWB3KJI5.js} +13 -1
- package/dist/chunk-CWB3KJI5.js.map +1 -0
- package/dist/{chunk-CHXCNRDJ.js → chunk-XQBAIV43.js} +16 -5
- package/dist/chunk-XQBAIV43.js.map +1 -0
- package/dist/index.d.ts +9 -4
- package/dist/index.js +23 -4
- package/dist/index.js.map +1 -1
- package/dist/{sdk.gen-DOEQDUdf.d.ts → sdk.gen-CN_lzVIk.d.ts} +84 -2
- package/dist/tanstack.d.ts +30 -2
- package/dist/tanstack.js +18 -3
- package/dist/tanstack.js.map +1 -1
- package/dist/zod.d.ts +1 -1
- package/dist/{zod.gen-CUA_eacr.d.ts → zod.gen-DVudJxD1.d.ts} +102 -67
- package/dist/zod.js +7 -2
- package/package.json +1 -1
- package/dist/chunk-27OYO4MK.js.map +0 -1
- package/dist/chunk-CHXCNRDJ.js.map +0 -1
- package/dist/chunk-HOCUVFTL.js.map +0 -1
- package/dist/chunk-PZ5AY32C.js +0 -10
- package/dist/chunk-PZ5AY32C.js.map +0 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
+
__export,
|
|
2
3
|
zAcceptInvitationResponse,
|
|
3
4
|
zArchiveAgentResponse,
|
|
4
5
|
zBootstrapDaemonResponse2,
|
|
@@ -50,6 +51,7 @@ import {
|
|
|
50
51
|
zDeleteSkillGrantResponse,
|
|
51
52
|
zDeleteSkillResponse,
|
|
52
53
|
zDemoteSteeringInputToQueuedResponse,
|
|
54
|
+
zDownloadDaemonArtifactResponse,
|
|
53
55
|
zEndMachineDaemonRuntimeResponse,
|
|
54
56
|
zGetActorResponse,
|
|
55
57
|
zGetAgentConfigResponse,
|
|
@@ -139,10 +141,7 @@ import {
|
|
|
139
141
|
zUpdateProjectModelGrantResponse,
|
|
140
142
|
zUpdateSecretResponse,
|
|
141
143
|
zUploadDaemonArtifactResponse
|
|
142
|
-
} from "./chunk-
|
|
143
|
-
import {
|
|
144
|
-
__export
|
|
145
|
-
} from "./chunk-PZ5AY32C.js";
|
|
144
|
+
} from "./chunk-6LZMFDIZ.js";
|
|
146
145
|
|
|
147
146
|
// src/generated/core/bodySerializer.gen.ts
|
|
148
147
|
var serializeFormDataPair = (data, key, value) => {
|
|
@@ -1011,6 +1010,7 @@ __export(sdk_gen_exports, {
|
|
|
1011
1010
|
deleteSkill: () => deleteSkill,
|
|
1012
1011
|
deleteSkillGrant: () => deleteSkillGrant,
|
|
1013
1012
|
demoteSteeringInputToQueued: () => demoteSteeringInputToQueued,
|
|
1013
|
+
downloadDaemonArtifact: () => downloadDaemonArtifact,
|
|
1014
1014
|
endMachineDaemonRuntime: () => endMachineDaemonRuntime,
|
|
1015
1015
|
getActor: () => getActor,
|
|
1016
1016
|
getAgent: () => getAgent,
|
|
@@ -3558,6 +3558,16 @@ var uploadDaemonArtifact = (options) => (options.client ?? client).post({
|
|
|
3558
3558
|
...options.headers
|
|
3559
3559
|
}
|
|
3560
3560
|
});
|
|
3561
|
+
var downloadDaemonArtifact = (options) => (options.client ?? client).get({
|
|
3562
|
+
responseValidator: async (data) => await validateResponse(zDownloadDaemonArtifactResponse, data),
|
|
3563
|
+
security: [{
|
|
3564
|
+
key: "machineDaemonAuth",
|
|
3565
|
+
scheme: "bearer",
|
|
3566
|
+
type: "http"
|
|
3567
|
+
}],
|
|
3568
|
+
url: "/api/v1/daemon/tool-calls/{toolCallID}/artifacts/{artifactID}/content",
|
|
3569
|
+
...options
|
|
3570
|
+
});
|
|
3561
3571
|
|
|
3562
3572
|
export {
|
|
3563
3573
|
createConfig,
|
|
@@ -3705,6 +3715,7 @@ export {
|
|
|
3705
3715
|
sleepMachineDaemonRuntime,
|
|
3706
3716
|
getDaemonSkillArchive,
|
|
3707
3717
|
uploadDaemonArtifact,
|
|
3718
|
+
downloadDaemonArtifact,
|
|
3708
3719
|
sdk_gen_exports
|
|
3709
3720
|
};
|
|
3710
|
-
//# sourceMappingURL=chunk-
|
|
3721
|
+
//# sourceMappingURL=chunk-XQBAIV43.js.map
|