@peonai/swarm 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/bin/swarm.mjs +9 -0
- package/docs/CNAME +1 -0
- package/package.json +15 -5
package/bin/swarm.mjs
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { execSync } from 'child_process';
|
|
3
|
+
import { existsSync } from 'fs';
|
|
4
|
+
import { join, dirname } from 'path';
|
|
5
|
+
import { fileURLToPath } from 'url';
|
|
6
|
+
|
|
7
|
+
const root = join(dirname(fileURLToPath(import.meta.url)), '..');
|
|
8
|
+
const cmd = process.argv.includes('--dev') ? 'npm run dev' : 'npm run build && npm run start';
|
|
9
|
+
execSync(cmd, { cwd: root, stdio: 'inherit', env: { ...process.env } });
|
package/docs/CNAME
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
swarm.peonai.net
|
package/package.json
CHANGED
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@peonai/swarm",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Cross-agent user profile sync
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Cross-agent user profile sync \u2014 let every AI agent know your user without re-teaching",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/peonai/swarm.git"
|
|
8
8
|
},
|
|
9
|
-
"keywords": [
|
|
9
|
+
"keywords": [
|
|
10
|
+
"ai",
|
|
11
|
+
"agent",
|
|
12
|
+
"profile",
|
|
13
|
+
"mcp",
|
|
14
|
+
"swarm"
|
|
15
|
+
],
|
|
10
16
|
"license": "MIT",
|
|
11
17
|
"author": "PeonAI",
|
|
12
18
|
"scripts": {
|
|
@@ -30,5 +36,9 @@
|
|
|
30
36
|
"tailwindcss": "^4.1.8",
|
|
31
37
|
"typescript": "^5.8.3",
|
|
32
38
|
"vitest": "^4.0.18"
|
|
33
|
-
}
|
|
34
|
-
|
|
39
|
+
},
|
|
40
|
+
"bin": {
|
|
41
|
+
"swarm": "./bin/swarm.mjs"
|
|
42
|
+
},
|
|
43
|
+
"type": "module"
|
|
44
|
+
}
|