@semiotic-labs/agentium-sdk 0.5.2 → 0.6.0
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.
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pre-configured WASM URL for the agentium SDK.
|
|
3
|
+
*
|
|
4
|
+
* This resolves to the WASM binary file location relative to this module.
|
|
5
|
+
* Useful when you want the SDK to handle path resolution instead of manually
|
|
6
|
+
* importing the WASM file.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import { ensureWasmReady } from '@semiotic-labs/agentium-sdk'
|
|
11
|
+
* import { wasmUrl } from '@semiotic-labs/agentium-sdk/wasm-url'
|
|
12
|
+
*
|
|
13
|
+
* await ensureWasmReady(wasmUrl)
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare const wasmUrl: string;
|
|
17
|
+
//# sourceMappingURL=wasm-url.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wasm-url.d.ts","sourceRoot":"","sources":["../src/wasm-url.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,OAAO,QAGd,CAAC"}
|
package/dist/wasm-url.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// SPDX-FileCopyrightText: 2025 Semiotic AI, Inc.
|
|
2
|
+
//
|
|
3
|
+
// SPDX-License-Identifier: MIT
|
|
4
|
+
/**
|
|
5
|
+
* Pre-configured WASM URL for the agentium SDK.
|
|
6
|
+
*
|
|
7
|
+
* This resolves to the WASM binary file location relative to this module.
|
|
8
|
+
* Useful when you want the SDK to handle path resolution instead of manually
|
|
9
|
+
* importing the WASM file.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import { ensureWasmReady } from '@semiotic-labs/agentium-sdk'
|
|
14
|
+
* import { wasmUrl } from '@semiotic-labs/agentium-sdk/wasm-url'
|
|
15
|
+
*
|
|
16
|
+
* await ensureWasmReady(wasmUrl)
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export const wasmUrl = new URL('../packages/agentium-native/wasm/pkg/agentium_sdk_wasm_bg.wasm', import.meta.url).href;
|
|
20
|
+
//# sourceMappingURL=wasm-url.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wasm-url.js","sourceRoot":"","sources":["../src/wasm-url.ts"],"names":[],"mappings":"AAAA,iDAAiD;AACjD,EAAE;AACF,+BAA+B;AAE/B;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,IAAI,GAAG,CAC5B,gEAAgE,EAChE,MAAM,CAAC,IAAI,CAAC,GAAG,CAChB,CAAC,IAAI,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semiotic-labs/agentium-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -29,8 +29,14 @@
|
|
|
29
29
|
"author": "",
|
|
30
30
|
"exports": {
|
|
31
31
|
".": {
|
|
32
|
+
"types": "./dist/index.d.ts",
|
|
32
33
|
"import": "./dist/index.js",
|
|
33
34
|
"require": "./dist/index.js"
|
|
35
|
+
},
|
|
36
|
+
"./wasm": "./packages/agentium-native/wasm/pkg/agentium_sdk_wasm_bg.wasm",
|
|
37
|
+
"./wasm-url": {
|
|
38
|
+
"types": "./dist/wasm-url.d.ts",
|
|
39
|
+
"import": "./dist/wasm-url.js"
|
|
34
40
|
}
|
|
35
41
|
},
|
|
36
42
|
"license": "MIT",
|
|
Binary file
|