seatmesh 0.1.6 → 0.1.7
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/package.json +8 -7
- package/templates/init/README.md +20 -0
- package/templates/init/mesh-agents.json +16 -0
- package/templates/init/mesh.config.yaml +94 -0
- package/templates/init/roles/common.yaml +5 -0
- package/templates/init/roles/master.yaml +5 -0
- package/templates/init/roles/secretary.yaml +2 -0
- package/templates/init/roles/worker.yaml +2 -0
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "seatmesh",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
7
|
-
"profiles"
|
|
7
|
+
"profiles",
|
|
8
|
+
"templates"
|
|
8
9
|
],
|
|
9
10
|
"bin": {
|
|
10
11
|
"seatmesh": "dist/main.js"
|
|
@@ -19,11 +20,11 @@
|
|
|
19
20
|
"prepublishOnly": "node scripts/bundle-profiles.mjs && npm run build"
|
|
20
21
|
},
|
|
21
22
|
"dependencies": {
|
|
22
|
-
"@seat-mesh/connectivity": "0.1.
|
|
23
|
-
"@seat-mesh/core": "0.1.
|
|
24
|
-
"@seat-mesh/daemon": "0.1.
|
|
25
|
-
"@seat-mesh/providers": "0.1.
|
|
26
|
-
"@seat-mesh/tmux": "0.1.
|
|
23
|
+
"@seat-mesh/connectivity": "0.1.7",
|
|
24
|
+
"@seat-mesh/core": "0.1.7",
|
|
25
|
+
"@seat-mesh/daemon": "0.1.7",
|
|
26
|
+
"@seat-mesh/providers": "0.1.7",
|
|
27
|
+
"@seat-mesh/tmux": "0.1.7",
|
|
27
28
|
"commander": "^15.0.0"
|
|
28
29
|
}
|
|
29
30
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# .sm — seatmesh project config
|
|
2
|
+
|
|
3
|
+
Generated by `npx seatmesh init`. The engine reads **only** files here (+ live
|
|
4
|
+
`mesh-agents.json` state).
|
|
5
|
+
|
|
6
|
+
| Path | Purpose |
|
|
7
|
+
|------|---------|
|
|
8
|
+
| `mesh.config.yaml` | Layout, daemon, connectivity, seat paths |
|
|
9
|
+
| `mesh-agents.json` | Live CLI type + resume per slot |
|
|
10
|
+
| `roles/` | Agent cold-start context (whoami banners) |
|
|
11
|
+
| `runtime/` | Daemon jsonl state (inbox, checkback) |
|
|
12
|
+
|
|
13
|
+
**Seat files** (FOCUS/TASKS/REMINDER) live under `seats.root` in yaml — not deleted
|
|
14
|
+
by init; `./sm.sh seat init` creates missing files only.
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npx seatmesh init # new project
|
|
18
|
+
./sm.sh session up # or npx seatmesh session up
|
|
19
|
+
./sm.sh whoami
|
|
20
|
+
```
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"session": "mesh",
|
|
4
|
+
"workdir": "{{workdir}}",
|
|
5
|
+
"conventions": {
|
|
6
|
+
"secretaryDefaultCli": "opencode",
|
|
7
|
+
"miniDefaultCli": "opencode",
|
|
8
|
+
"launchSkipsEmpty": true,
|
|
9
|
+
"coordSync": {
|
|
10
|
+
"reload": false,
|
|
11
|
+
"attach": true
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"workers": [],
|
|
15
|
+
"minis": []
|
|
16
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# seatmesh project config — generated by `npx seatmesh init`
|
|
2
|
+
# Docs: https://github.com/.../seatmesh/docs/SM-JSON-ENGINE-DRAFT.md
|
|
3
|
+
name: {{name}}
|
|
4
|
+
workspace: .. # project root (parent of .sm/)
|
|
5
|
+
|
|
6
|
+
paths:
|
|
7
|
+
scope: profile
|
|
8
|
+
|
|
9
|
+
storage:
|
|
10
|
+
backend: sqlite
|
|
11
|
+
sqlite:
|
|
12
|
+
path: runtime/mesh.sqlite
|
|
13
|
+
|
|
14
|
+
session:
|
|
15
|
+
name: mesh
|
|
16
|
+
workerCount: 4
|
|
17
|
+
miniMax: 4
|
|
18
|
+
|
|
19
|
+
layout:
|
|
20
|
+
nvim:
|
|
21
|
+
window: nvim
|
|
22
|
+
enabled: false
|
|
23
|
+
base:
|
|
24
|
+
window: base
|
|
25
|
+
columns: [manager, secretary]
|
|
26
|
+
managerStack: [manager]
|
|
27
|
+
cli:
|
|
28
|
+
manager: agent
|
|
29
|
+
secretary: opencode
|
|
30
|
+
coordSync:
|
|
31
|
+
reload: false
|
|
32
|
+
attach: true
|
|
33
|
+
workers:
|
|
34
|
+
window: workers
|
|
35
|
+
grid: 3x2
|
|
36
|
+
slots: 4
|
|
37
|
+
enabled: false
|
|
38
|
+
minis:
|
|
39
|
+
window: minis
|
|
40
|
+
grid: 2x2
|
|
41
|
+
max: 4
|
|
42
|
+
leads: [1]
|
|
43
|
+
enabled: false
|
|
44
|
+
|
|
45
|
+
providers:
|
|
46
|
+
- cursor-agent
|
|
47
|
+
- claude
|
|
48
|
+
- opencode
|
|
49
|
+
- empty
|
|
50
|
+
|
|
51
|
+
seats:
|
|
52
|
+
root: {{seatsRoot}}
|
|
53
|
+
templates: [FOCUS, TASKS, REMINDER]
|
|
54
|
+
dirs:
|
|
55
|
+
manager: manager
|
|
56
|
+
secretary: secretary
|
|
57
|
+
worker: "slot-{n}"
|
|
58
|
+
mini: "mini-{n}"
|
|
59
|
+
|
|
60
|
+
state:
|
|
61
|
+
meshAgentsJson: .sm/mesh-agents.json
|
|
62
|
+
agentsJson: .sm/agents.json
|
|
63
|
+
autoScrapeIntervalMs: 600000
|
|
64
|
+
|
|
65
|
+
data:
|
|
66
|
+
root: .sm/runtime
|
|
67
|
+
|
|
68
|
+
roles:
|
|
69
|
+
dir: roles
|
|
70
|
+
|
|
71
|
+
daemon:
|
|
72
|
+
port: 31670
|
|
73
|
+
portScope: profile
|
|
74
|
+
portBase: 31670
|
|
75
|
+
portRange: 90
|
|
76
|
+
autoStart: true
|
|
77
|
+
watch: true
|
|
78
|
+
pollMs: 4000
|
|
79
|
+
idleSettleSec: 5
|
|
80
|
+
managerPromptPrefix: "[agent-manager]"
|
|
81
|
+
|
|
82
|
+
ports:
|
|
83
|
+
worker: "30{n}0/30{n}1"
|
|
84
|
+
|
|
85
|
+
chatRooms:
|
|
86
|
+
root: .sm/chat-rooms
|
|
87
|
+
globalSlug: global
|
|
88
|
+
checkback:
|
|
89
|
+
duration: 5m
|
|
90
|
+
renew: 3m
|
|
91
|
+
|
|
92
|
+
connectivity:
|
|
93
|
+
enabled: false
|
|
94
|
+
proxyPort: 18887
|