@monoes/monomindcli 2.1.3 → 2.1.4
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/.claude/commands/mastermind/createorg.md +8 -9
- package/.claude/skills/mastermind-skills/createorg.md +91 -701
- package/.claude/skills/mastermind-skills/org-settings.md +46 -47
- package/.claude/skills/mastermind-skills/runorg.md +12 -1
- package/README.md +18 -17
- package/dist/src/orgrt/daemon.d.ts +18 -0
- package/dist/src/orgrt/daemon.d.ts.map +1 -1
- package/dist/src/orgrt/daemon.js +76 -1
- package/dist/src/orgrt/daemon.js.map +1 -1
- package/dist/src/orgrt/forwarder.d.ts.map +1 -1
- package/dist/src/orgrt/forwarder.js +7 -3
- package/dist/src/orgrt/forwarder.js.map +1 -1
- package/dist/src/orgrt/server.d.ts.map +1 -1
- package/dist/src/orgrt/server.js +24 -0
- package/dist/src/orgrt/server.js.map +1 -1
- package/dist/src/orgrt/session.d.ts +1 -0
- package/dist/src/orgrt/session.d.ts.map +1 -1
- package/dist/src/orgrt/session.js +8 -0
- package/dist/src/orgrt/session.js.map +1 -1
- package/dist/src/orgrt/types.d.ts +1 -1
- package/dist/src/orgrt/types.d.ts.map +1 -1
- package/dist/src/pricing/model-pricing.d.ts +1 -1
- package/dist/src/ui/collector.mjs +20 -5
- package/dist/src/ui/dashboard.html +270 -499
- package/dist/src/ui/orgs-files.js +1 -1
- package/dist/src/ui/server.mjs +132 -158
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/scripts/publish.sh +6 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Define and save an autonomous agent organization — roles
|
|
1
|
+
<!-- Define and save an autonomous agent organization (Org Runtime v2) — roles and hierarchy. Suggest or confirm roles, then persist the org config for `monomind org run`/`serve`. -->
|
|
2
2
|
|
|
3
3
|
**If $ARGUMENTS is empty:** Output the following and wait.
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
**MASTERMIND: CREATE ORG**
|
|
8
8
|
|
|
9
|
-
An org is a named, persistent agent team — not a one-shot Mastermind run. Once created, the
|
|
9
|
+
An org is a named, persistent agent team, run by the Org Runtime v2 daemon — not a one-shot Mastermind run and not a Task-tool-spawned boss. Once created, every role in the config starts as its own live agent session the moment you run the org; roles message each other directly (no shared task board) and the org keeps running until stopped.
|
|
10
10
|
|
|
11
11
|
Use orgs when the work is ongoing, not single-shot. A content team that ships 10 posts a month. A research squad that runs competitive scans weekly. A dev team with a permanent backlog.
|
|
12
12
|
|
|
@@ -25,16 +25,15 @@ Use orgs when the work is ongoing, not single-shot. A content team that ships 10
|
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
**Options:**
|
|
28
|
-
`--name <slug>` — org identifier used with
|
|
28
|
+
`--name <slug>` — org identifier used with `monomind org run <name>` (derived from goal if omitted)
|
|
29
29
|
`--roles <list>` — explicit role list (e.g. "boss, writer, reviewer, marketer")
|
|
30
|
-
`--schedule <interval>` —
|
|
30
|
+
`--schedule <interval>` — daemon schedule for `monomind org serve` to pick up, e.g. `"30m"`, `"2h"`, `"1440m"` for daily (omit for a manual, one-shot org)
|
|
31
31
|
`--auto` — skip confirmation, create immediately
|
|
32
32
|
`--confirm` — always ask before saving (default)
|
|
33
|
-
`--delete <name>` — delete a saved org and all associated data files
|
|
34
|
-
`--list` — list all saved orgs with their status
|
|
33
|
+
`--delete <name>` — delete a saved org and all associated data files (`monomind org delete <name> --yes`)
|
|
34
|
+
`--list` — list all saved orgs with their status (`monomind org list`)
|
|
35
35
|
|
|
36
|
-
Once created, start the org with
|
|
37
|
-
For scheduled orgs: `runorg` activates the loop; `stoporg` stops it; `orgs` lists all.
|
|
36
|
+
Once created, start the org with `monomind org run <name>` (foreground, one-shot) or let `monomind org serve` pick it up if `--schedule` was set. Check status with `monomind org status <name>`; stop with `monomind org stop <name>`.
|
|
38
37
|
|
|
39
38
|
---
|
|
40
39
|
|
|
@@ -47,7 +46,7 @@ Parse `$ARGUMENTS` for:
|
|
|
47
46
|
- `--confirm` flag → mode = confirm
|
|
48
47
|
- `--name <name>` → org_name = <name> (must match `^[a-z0-9][a-z0-9-]{0,63}$`; if omitted, derived from goal)
|
|
49
48
|
- `--roles <desc>` → roles_desc = <desc> (explicit role list, e.g. "boss, writer, reviewer, marketer")
|
|
50
|
-
- `--schedule <interval>` → schedule = <interval> (e.g. `"
|
|
49
|
+
- `--schedule <interval>` → schedule = <interval>, daemon format only: `"<N>s"`, `"<N>m"`, or `"<N>h"` (e.g. `"30m"`, `"2h"`) — this is passed straight into `parseSchedule()` in `orgrt/scheduler.ts`, whose regex `^(\d+)\s*(s|m|h)$` rejects anything else (e.g. `"every 30 minutes"`, `"daily"`) and silently leaves the org unscheduled
|
|
51
50
|
- `--delete <name>` → delete_mode = true, delete_name = <name>
|
|
52
51
|
- `--list` flag → list_mode = true
|
|
53
52
|
- Remaining text = prompt (goal description)
|