@holokai/neuron-sdk 0.1.0 → 0.1.1
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/LICENSE +21 -0
- package/README.md +166 -14
- package/dist/index.d.mts +54 -668
- package/dist/index.d.ts +54 -668
- package/dist/index.js +227 -209
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +227 -209
- package/dist/index.mjs.map +1 -1
- package/dist/ipc.d.mts +88 -0
- package/dist/ipc.d.ts +88 -0
- package/dist/ipc.js +86 -0
- package/dist/ipc.js.map +1 -0
- package/dist/ipc.mjs +84 -0
- package/dist/ipc.mjs.map +1 -0
- package/dist/transport-QqkooS7K.d.mts +742 -0
- package/dist/transport-QqkooS7K.d.ts +742 -0
- package/package.json +15 -6
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@holokai/neuron-sdk",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "SDK for building Holokai neurons — connect to a BigBrain gateway and execute capability-typed tasks
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "SDK for building Holokai neurons — connect to a BigBrain gateway over HTTP+SSE or Electron IPC and execute capability-typed tasks.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Holokai",
|
|
7
7
|
"homepage": "https://github.com/holok-ai/bigbrain/tree/main/packages/neuron-sdk#readme",
|
|
@@ -31,11 +31,18 @@
|
|
|
31
31
|
"import": "./dist/index.mjs",
|
|
32
32
|
"require": "./dist/index.js",
|
|
33
33
|
"default": "./dist/index.js"
|
|
34
|
+
},
|
|
35
|
+
"./ipc": {
|
|
36
|
+
"types": "./dist/ipc.d.ts",
|
|
37
|
+
"import": "./dist/ipc.mjs",
|
|
38
|
+
"require": "./dist/ipc.js",
|
|
39
|
+
"default": "./dist/ipc.js"
|
|
34
40
|
}
|
|
35
41
|
},
|
|
36
42
|
"files": [
|
|
37
43
|
"dist",
|
|
38
|
-
"README.md"
|
|
44
|
+
"README.md",
|
|
45
|
+
"LICENSE"
|
|
39
46
|
],
|
|
40
47
|
"publishConfig": {
|
|
41
48
|
"access": "public"
|
|
@@ -49,7 +56,10 @@
|
|
|
49
56
|
"check:no-workspace": "pnpm run build && node scripts/check-no-workspace-imports.mjs",
|
|
50
57
|
"lint": "eslint src",
|
|
51
58
|
"lint:fix": "eslint src --fix",
|
|
52
|
-
"typecheck": "tsc --noEmit"
|
|
59
|
+
"typecheck": "tsc --noEmit",
|
|
60
|
+
"prepublishOnly": "turbo run prepublish --filter=@holokai/neuron-sdk",
|
|
61
|
+
"publish:npm": "pnpm publish --access public --no-git-checks",
|
|
62
|
+
"publish:npm:dry": "pnpm publish --dry-run --access public --no-git-checks"
|
|
53
63
|
},
|
|
54
64
|
"dependencies": {
|
|
55
65
|
"ajv": "^8.17.1",
|
|
@@ -66,6 +76,5 @@
|
|
|
66
76
|
},
|
|
67
77
|
"engines": {
|
|
68
78
|
"node": ">=20"
|
|
69
|
-
}
|
|
70
|
-
"type": "commonjs"
|
|
79
|
+
}
|
|
71
80
|
}
|