@awareness-sdk/local 0.1.1 → 0.1.3
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/bin/cli.cjs +7 -0
- package/package.json +2 -2
package/bin/cli.cjs
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
// Wrapper to load the ESM entry point from CommonJS-compatible bin
|
|
4
|
+
const { pathToFileURL } = require('node:url');
|
|
5
|
+
const { join } = require('node:path');
|
|
6
|
+
const entry = join(__dirname, 'awareness-local.mjs');
|
|
7
|
+
import(pathToFileURL(entry).href);
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awareness-sdk/local",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Local-first AI agent memory system. No account needed.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
|
8
|
-
"awareness-local": "bin/
|
|
8
|
+
"awareness-local": "bin/cli.cjs"
|
|
9
9
|
},
|
|
10
10
|
"main": "./src/api.mjs",
|
|
11
11
|
"exports": {
|