delegate-team 2.4.0 → 2.5.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.
Files changed (3) hide show
  1. package/README.md +55 -54
  2. package/dist/cli.js +4 -1
  3. package/package.json +6 -3
package/README.md CHANGED
@@ -11,45 +11,12 @@
11
11
  **Waza `/think` → unslop audit → superpowers writing-plans →**
12
12
  **autoresearch | `/delegate-team` | `/mavis-team` → Waza `/check` → quality-guard → SHIP**
13
13
 
14
- ---
15
-
16
- ### 📦 Install
17
-
18
- [![npm](https://img.shields.io/npm/v/delegate-team?color=cb3837&logo=npm&logoColor=white&label=install&style=for-the-badge)](https://www.npmjs.com/package/delegate-team)
19
- [![npm bundlephobia](https://img.shields.io/bundlephobia/min/delegate-team?color=cb3837&logo=npm&logoColor=white&label=install%20size&style=for-the-badge)](https://bundlephobia.com/package/delegate-team)
20
- [![npm weekly downloads](https://img.shields.io/npm/dw/delegate-team?color=cb3837&logo=npm&logoColor=white&label=weekly%20installs&style=for-the-badge)](https://www.npmjs.com/package/delegate-team)
21
-
22
- ### 🧬 Status
23
-
24
- [![GitHub release](https://img.shields.io/github/v/release/imMamdouhaboammar/delegate-team?color=blue&label=version&style=for-the-badge)](https://github.com/imMamdouhaboammar/delegate-team/releases/latest)
25
- [![Release date](https://img.shields.io/github/release-date/imMamdouhaboammar/delegate-team?color=blue&style=for-the-badge)](https://github.com/imMamdouhaboammar/delegate-team/releases)
26
- [![License: MIT](https://img.shields.io/github/license/imMamdouhaboammar/delegate-team?color=blue&style=for-the-badge)](https://github.com/imMamdouhaboammar/delegate-team/blob/master/LICENSE)
27
- [![Last commit](https://img.shields.io/github/last-commit/imMamdouhaboammar/delegate-team?color=blue&style=for-the-badge)](https://github.com/imMamdouhaboammar/delegate-team/commits/master)
28
- [![Commits since latest release](https://img.shields.io/github/commits-since/imMamdouhaboammar/delegate-team/latest?color=blue&style=for-the-badge)](https://github.com/imMamdouhaboammar/delegate-team/compare/v2.3.0...master)
29
-
30
- ### 🛡️ Quality
31
-
32
- [![CI](https://img.shields.io/github/actions/workflow/status/imMamdouhaboammar/delegate-team/ci.yml?branch=master&label=CI&logo=github-actions&logoColor=white&style=for-the-badge)](https://github.com/imMamdouhaboammar/delegate-team/actions/workflows/ci.yml)
33
- [![npm publish CI](https://img.shields.io/github/actions/workflow/status/imMamdouhaboammar/delegate-team/npm-publish.yml?label=npm%20publish&logo=npm&logoColor=white&style=for-the-badge)](https://github.com/imMamdouhaboammar/delegate-team/actions/workflows/npm-publish.yml)
34
- [![Release CI](https://img.shields.io/github/actions/workflow/status/imMamdouhaboammar/delegate-team/release.yml?label=auto-release&logo=github-actions&logoColor=white&style=for-the-badge)](https://github.com/imMamdouhaboammar/delegate-team/actions/workflows/release.yml)
35
-
36
- ### 🌐 Ecosystem
37
-
38
- [![Skills.sh](https://img.shields.io/badge/Skills.sh-discovery-blueviolet?style=for-the-badge)](https://skills.sh/imMamdouhaboammar/delegate-team)
39
- [![GitHub stars](https://img.shields.io/github/stars/imMamdouhaboammar/delegate-team?style=for-the-badge&logo=github&color=gold)](https://github.com/imMamdouhaboammar/delegate-team/stargazers)
40
- [![Issues](https://img.shields.io/github/issues/imMamdouhaboammar/delegate-team?style=for-the-badge&logo=github)](https://github.com/imMamdouhaboammar/delegate-team/issues)
41
- [![PRs](https://img.shields.io/github/issues-pr/imMamdouhaboammar/delegate-team?style=for-the-badge&logo=github&color=lime)](https://github.com/imMamdouhaboammar/delegate-team/pulls)
42
- [![Contributors](https://img.shields.io/github/contributors/imMamdouhaboammar/delegate-team?style=for-the-badge&color=orange)](https://github.com/imMamdouhaboammar/delegate-team/graphs/contributors)
43
- [![Code size](https://img.shields.io/github/languages/code-size/imMamdouhaboammar/delegate-team?style=for-the-badge)](https://github.com/imMamdouhaboammar/delegate-team)
44
- [![Top language](https://img.shields.io/github/languages/top/imMamdouhaboammar/delegate-team?style=for-the-badge&color=yellow)](https://github.com/imMamdouhaboammar/delegate-team)
45
-
46
- ### ⚙️ Stack
47
-
48
- [![Node.js 18+](https://img.shields.io/badge/Node.js-18+-339933?style=for-the-badge&logo=node.js&logoColor=white)](https://nodejs.org)
49
- [![TypeScript 5.6+](https://img.shields.io/badge/TypeScript-5.6+-3178C6?style=for-the-badge&logo=typescript&logoColor=white)](https://www.typescriptlang.org)
50
- [![Python 3.10+](https://img.shields.io/badge/Python-3.10+-3776AB?style=for-the-badge&logo=python&logoColor=white)](https://python.org)
51
- [![Bash 4+](https://img.shields.io/badge/Bash-4+-4EAA25?style=for-the-badge&logo=gnu-bash&logoColor=white)](https://www.gnu.org/software/bash)
52
- [![MIT license](https://img.shields.io/badge/Open%20Source-MIT-yellow?style=for-the-badge)](https://github.com/imMamdouhaboammar/delegate-team/blob/master/LICENSE)
14
+ [![npm version](https://img.shields.io/npm/v/delegate-team?color=cb3837&logo=npm&label=npm&style=flat-square)](https://www.npmjs.com/package/delegate-team)
15
+ [![License: MIT](https://img.shields.io/github/license/imMamdouhaboammar/delegate-team?color=blue&style=flat-square)](./LICENSE)
16
+ [![GitHub stars](https://img.shields.io/github/stars/imMamdouhaboammar/delegate-team?logo=github&color=gold&style=flat-square)](https://github.com/imMamdouhaboammar/delegate-team/stargazers)
17
+ [![Last commit](https://img.shields.io/github/last-commit/imMamdouhaboammar/delegate-team?style=flat-square)](https://github.com/imMamdouhaboammar/delegate-team/commits/master)
18
+ [![CI status](https://img.shields.io/github/actions/workflow/status/imMamdouhaboammar/delegate-team/ci.yml?label=CI&style=flat-square)](https://github.com/imMamdouhaboammar/delegate-team/actions/workflows/ci.yml)
19
+ [![Open Source: MIT](https://img.shields.io/badge/Open%20Source-MIT-yellow?style=flat-square)](./LICENSE)
53
20
 
54
21
  </div>
55
22
 
@@ -74,15 +41,6 @@ type one command and let the supersystem decide:
74
41
  | Each agent works alone | 8 specialized agents (Atlas / Forge / Scout / Oracle / Librarian / Reviewer / Visionary / Sentinel) collaborate |
75
42
  | "Best practice" depends on which LLM answered | Methodology encoded as skills: superpowers · Waza · unslop-preflight · autoresearch |
76
43
 
77
- **Sounds good? Try it:**
78
-
79
- ```bash
80
- git clone https://github.com/imMamdouhaboammar/delegate-team
81
- cd delegate-team
82
- ./install.sh --all
83
- ./install.sh --verify # sanity check
84
- ```
85
-
86
44
  ---
87
45
 
88
46
  ## 📦 Quick install
@@ -91,10 +49,13 @@ cd delegate-team
91
49
 
92
50
  ### Path A — npm (the fastest — just the `dt` CLI)
93
51
 
52
+ [![npm install size](https://img.shields.io/bundlephobia/min/delegate-team?logo=npm&style=flat-square)](https://bundlephobia.com/package/delegate-team)
53
+ [![npm weekly downloads](https://img.shields.io/npm/dw/delegate-team?logo=npm&style=flat-square)](https://www.npmjs.com/package/delegate-team)
54
+
94
55
  ```bash
95
56
  # Global install (preferred for a CLI on your PATH)
96
57
  npm install -g delegate-team
97
- dt --version # → 2.2.0
58
+ dt --version # → 2.4.0
98
59
  dt run "<task>"
99
60
 
100
61
  # Or run without installing
@@ -144,6 +105,7 @@ After install, every component is idempotent and verifiable.
144
105
  | **`/mavis-ship`** | [`orchestrator/`](./orchestrator/) | ![Bash](https://img.shields.io/badge/Bash-4+-4EAA25?style=flat-square) | ![Stable](https://img.shields.io/badge/stable-success?style=flat-square) | Single-command orchestrator with regex routing |
145
106
  | **Skill scaffolder** | [`scaffolder/`](./scaffolder/) | ![Bash](https://img.shields.io/badge/Bash-4+-4EAA25?style=flat-square) | ![Stable](https://img.shields.io/badge/stable-success?style=flat-square) | `mavis-skill-scaffold` generator |
146
107
  | **MMAS** | [`mmas/`](./mmas/) | ![Python](https://img.shields.io/badge/Python-3.10+-3776AB?style=flat-square) | ![Beta](https://img.shields.io/badge/beta-yellow?style=flat-square) | 8-agent multi-agent team framework |
108
+ | **🆕 agent-kernel** | [`agent-kernel/`](./agent-kernel/) | ![Node.js](https://img.shields.io/badge/Node-18+-339933?style=flat-square) | ![Stable](https://img.shields.io/badge/stable-success?style=flat-square) | Memory + governance — shared rules, episodic recall, approval inbox |
147
109
  | **God Agent** | [`god-agent/`](./god-agent/) | ![Python](https://img.shields.io/badge/Python-3.10+-3776AB?style=flat-square) | ![Stable](https://img.shields.io/badge/stable-success?style=flat-square) | Codex + opencode dispatcher |
148
110
  | **MiniMax Coder** | [`minimax-coder/`](./minimax-coder/) | ![Python](https://img.shields.io/badge/Python-3.10+-3776AB?style=flat-square) | ![Stable](https://img.shields.io/badge/stable-success?style=flat-square) | MiniMax via `mmx` CLI |
149
111
  | **Vertex Coder** | [`vertex-coder/`](./vertex-coder/) | ![Python](https://img.shields.io/badge/Python-3.10+-3776AB?style=flat-square) | ![Stable](https://img.shields.io/badge/stable-success?style=flat-square) | Gemini via google-genai |
@@ -153,6 +115,7 @@ After install, every component is idempotent and verifiable.
153
115
 
154
116
  | Framework | Stars | What it adds |
155
117
  |---|---|---|
118
+ | 🆕 **[agent-kernel](./integrations/agent-kernel.md)** | ![Bundled](https://img.shields.io/badge/bundled-2.5.0-success?style=flat-square) | Memory + governance layer — vendored v0.0.5, opt-in via `--kernel` |
156
119
  | [superpowers](https://github.com/obra/superpowers) | ![242k](https://img.shields.io/github/stars/obra/superpowers?style=flat-square&color=yellow) | Methodology — 14 skills, brainstorm-first hard gate |
157
120
  | [Waza](https://github.com/tw93/Waza) | ![6.1k](https://img.shields.io/github/stars/tw93/Waza?style=flat-square&color=yellow) | Entry-point — 8 habits-engineering skills |
158
121
  | [unslop-preflight](https://github.com/imMamdouhaboammar/unslop-preflight) | ![New](https://img.shields.io/badge/new-ff69b4?style=flat-square) | UI quality gate — 23 reasoning gates |
@@ -176,6 +139,11 @@ right stages.
176
139
  └─────────────┬───────────────────┘
177
140
 
178
141
  ┌─────────────▼───────────────────┐
142
+ │ 🆕 agent-kernel memory search │ recall past rules +
143
+ │ ───────────────────────────── │ episodes relevant to task
144
+ └─────────────┬───────────────────┘
145
+
146
+ ┌─────────────▼───────────────────┐
179
147
  │ unslop audit (BLOCKING) │ score ≥70 to proceed
180
148
  │ ───────────────────────────── │ for UI tasks only
181
149
  └─────────────┬───────────────────┘
@@ -196,13 +164,19 @@ right stages.
196
164
  ┌──▼──────────────────▼────────────────────▼────────┐
197
165
  │ Waza /check → quality-guard (Mavis) → SHIP │
198
166
  │ review + 5-layer pre-delivery check │
199
- └──────────────────────────────────────────────────┘
167
+ └──────────────────────┬───────────────────────────┘
168
+
169
+ ┌─────────────▼───────────────────┐
170
+ │ 🆕 agent-kernel episode add │ capture outcome for
171
+ │ ───────────────────────────── │ future sessions to recall
172
+ └─────────────────────────────────┘
200
173
  ```
201
174
 
202
175
  **Routing logic** (live in [`orchestrator/scripts/orchestrate.sh`](./orchestrator/scripts/orchestrate.sh)):
203
176
 
204
177
  | Task signature | Route |
205
178
  |---|---|
179
+ | Memory / remember / recall / past episodes | 🆕 **agent-kernel** (shared rules + episodic search) |
206
180
  | Has measurable metric (e.g. "p95 < 200ms") | autoresearch loop |
207
181
  | UI task (frontend, page, modal, shadcn) | unslop BLOCKING → /delegate-team |
208
182
  | Multi-agent signals (squad, spawn team, swarm) | /mavis-team MMAS |
@@ -301,6 +275,13 @@ python3 ~/.mavis/agents/mavis/multi-agent/spawn-team.py --atlas
301
275
  └────────────────────────────────────┘
302
276
  ```
303
277
 
278
+ ### Runtime compatibility
279
+
280
+ [![Node.js 18+](https://img.shields.io/badge/Node.js-18+-339933?style=flat-square&logo=node.js&logoColor=white)](https://nodejs.org)
281
+ [![TypeScript 5.6+](https://img.shields.io/badge/TypeScript-5.6+-3178C6?style=flat-square&logo=typescript&logoColor=white)](https://www.typescriptlang.org)
282
+ [![Python 3.10+](https://img.shields.io/badge/Python-3.10+-3776AB?style=flat-square&logo=python&logoColor=white)](https://python.org)
283
+ [![Bash 4+](https://img.shields.io/badge/Bash-4+-4EAA25?style=flat-square&logo=gnu-bash&logoColor=white)](https://www.gnu.org/software/bash)
284
+
304
285
  ---
305
286
 
306
287
  ## ❓ Why not just use...?
@@ -320,7 +301,7 @@ python3 ~/.mavis/agents/mavis/multi-agent/spawn-team.py --atlas
320
301
  | Doc | What's inside |
321
302
  |---|---|
322
303
  | [`INSTALL.md`](./INSTALL.md) | Full installation guide + verification matrix |
323
- | [`CHANGELOG.md`](./CHANGELOG.md) | v1 → v2 → v2.1 release notes |
304
+ | [`CHANGELOG.md`](./CHANGELOG.md) | v1 → v2 → v2.1 → v2.4 release notes |
324
305
  | [`DT.md`](./DT.md) | Original `dt` CLI specifics (gateway internals) |
325
306
  | [`orchestrator/README.md`](./orchestrator/README.md) | `/mavis-ship` details |
326
307
  | [`scaffolder/README.md`](./scaffolder/README.md) | `mavis-skill-scaffold` reference |
@@ -336,6 +317,12 @@ python3 ~/.mavis/agents/mavis/multi-agent/spawn-team.py --atlas
336
317
 
337
318
  ## 🤝 Contributing
338
319
 
320
+ [![Open issues](https://img.shields.io/github/issues/imMamdouhaboammar/delegate-team?logo=github&style=flat-square)](https://github.com/imMamdouhaboammar/delegate-team/issues)
321
+ [![Open PRs](https://img.shields.io/github/issues-pr/imMamdouhaboammar/delegate-team?logo=github&color=lime&style=flat-square)](https://github.com/imMamdouhaboammar/delegate-team/pulls)
322
+ [![Contributors](https://img.shields.io/github/contributors/imMamdouhaboammar/delegate-team?color=orange&style=flat-square)](https://github.com/imMamdouhaboammar/delegate-team/graphs/contributors)
323
+ [![Code size](https://img.shields.io/github/languages/code-size/imMamdouhaboammar/delegate-team?style=flat-square)](https://github.com/imMamdouhaboammar/delegate-team)
324
+ [![Top language](https://img.shields.io/github/languages/top/imMamdouhaboammar/delegate-team?color=yellow&style=flat-square)](https://github.com/imMamdouhaboammar/delegate-team)
325
+
339
326
  1. **Fork** and **clone** the repo.
340
327
  2. **Read** [`AGENTS.md`](./AGENTS.md) — repo conventions live here.
341
328
  3. **Make a feature branch**: `git switch -c feat/your-change`
@@ -362,14 +349,28 @@ mavis-skill-scaffold --name my-new-skill --description "..." --type workflow
362
349
 
363
350
  ---
364
351
 
352
+ ## 📊 Project health
353
+
354
+ Continuous integration, automated release, npm distribution.
355
+
356
+ | Workflow | Status | Purpose |
357
+ |---|---|---|
358
+ | **CI** (`.github/workflows/ci.yml`) | [![CI](https://img.shields.io/github/actions/workflow/status/imMamdouhaboammar/delegate-team/ci.yml?label=CI&style=flat-square)](https://github.com/imMamdouhaboammar/delegate-team/actions/workflows/ci.yml) | TypeScript build across Node 18/20/22 + python syntax + manifests + orchestrate.sh routing matrix |
359
+ | **npm publish** (`.github/workflows/npm-publish.yml`) | [![npm publish](https://img.shields.io/github/actions/workflow/status/imMamdouhaboammar/delegate-team/npm-publish.yml?label=npm&logo=npm&style=flat-square)](https://github.com/imMamdouhaboammar/delegate-team/actions/workflows/npm-publish.yml) | Auto-publishes to npm on every `v*` tag with OIDC provenance |
360
+ | **Release** (`.github/workflows/release.yml`) | [![auto-release](https://img.shields.io/github/actions/workflow/status/imMamdouhaboammar/delegate-team/release.yml?label=auto-release&style=flat-square)](https://github.com/imMamdouhaboammar/delegate-team/actions/workflows/release.yml) | Auto-creates GitHub Release with categorized notes + tarball |
361
+
362
+ ---
363
+
365
364
  ## 🛣️ Roadmap
366
365
 
367
366
  - [x] **v2.0.0** — supersystem release (`/mavis-ship` + scaffolder + MMAS + integrations)
368
367
  - [x] **v2.1.0** — Skills.sh + Claude Code marketplace compatibility
369
- - [x] **v2.1.1** — orchestrate.sh regex routing fixes (BUILD/PUBLISM rule)
370
- - [ ] **v2.2.0** — ATLAS web UI for non-CLI users
368
+ - [x] **v2.1.1** — orchestrate.sh regex routing fixes (BUILD/PUBLISH rule)
369
+ - [x] **v2.2.0** — Polished README + expanded CI for badge coverage
370
+ - [x] **v2.3.0** — npm package live + auto-publish GitHub Action
371
+ - [x] **v2.4.0** — Polished 23-badge README layout (now distributed, slim style)
372
+ - [ ] **v2.5.0** — ATLAS web UI for non-CLI users
371
373
  - [ ] **v3.0.0** — multi-tenant team runs + per-project skill isolation
372
- - [ ] **v3.x.x** — Webhook-driven CI feedback loop (autoresearch auto-iterate on test fail)
373
374
 
374
375
  ---
375
376
 
package/dist/cli.js CHANGED
@@ -796,7 +796,10 @@ async function runMetaGPTRouter(prompt, options = {}) {
796
796
 
797
797
  // src/cli.ts
798
798
  import fs from "fs";
799
- var packageJsonPath = new URL("../package.json", import.meta.url);
799
+ import { dirname as dirname2, join as join6 } from "path";
800
+ import { fileURLToPath } from "url";
801
+ var here = dirname2(fileURLToPath(import.meta.url));
802
+ var packageJsonPath = join6(here, "..", "package.json");
800
803
  var version = "1.0.0";
801
804
  try {
802
805
  const pkg = JSON.parse(fs.readFileSync(packageJsonPath, "utf8"));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "delegate-team",
3
- "version": "2.4.0",
4
- "description": "Agentic engineering supersystem. One CLI to run the full /mavis-ship chain design + plan + execute (autoresearch / multi-model / multi-agent) + verify + ship. Bundles a `dt` delegation gateway that routes Claude Code tasks to backends (Codex, MiniMax via mmx, Gemini, MetaGPT), plus a complete orchestrator framework installable via `npx skills add`. Companion frameworks: superpowers, Waza, unslop-preflight, autoresearch.",
3
+ "version": "2.5.1",
4
+ "description": "Agentic engineering supersystem. One CLI to run the full /mavis-ship chain \u2014 design + plan + execute (autoresearch / multi-model / multi-agent) + verify + ship. Bundles a `dt` delegation gateway that routes Claude Code tasks to backends (Codex, MiniMax via mmx, Gemini, MetaGPT), plus a complete orchestrator framework installable via `npx skills add`. Companion frameworks: agent-kernel (vendored memory layer), superpowers, Waza, unslop-preflight, autoresearch.",
5
5
  "type": "module",
6
6
  "main": "dist/cli.js",
7
7
  "bin": {
@@ -48,6 +48,9 @@
48
48
  "superpowers",
49
49
  "waza",
50
50
  "unslop",
51
+ "agent-kernel",
52
+ "memory",
53
+ "governance",
51
54
  "claude-code",
52
55
  "codex",
53
56
  "cursor",
@@ -83,4 +86,4 @@
83
86
  "dependencies": {
84
87
  "commander": "^15.0.0"
85
88
  }
86
- }
89
+ }