cadre-ai 1.0.0 → 1.1.0
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/README.md +10 -14
- package/package.json +2 -3
- package/scripts/cadre-cli.js +2 -2
- package/scripts/cadre-core.js +1718 -1567
- package/scripts/cadre-job-runner.js +383 -319
- package/scripts/cadre-lsp-daemon.js +0 -1
- package/scripts/cadre-lsp-review.js +0 -1
- package/scripts/cadre-lsp-setup.js +0 -1
- package/scripts/mcp/cadre-server.js +2033 -1883
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
**Measure twice, code once.**
|
|
6
6
|
|
|
7
7
|
Cadre is a context-driven development harness for AI coding agents. It combines
|
|
8
|
-
spec-first tracks,
|
|
8
|
+
spec-first tracks, native durable task memory, review gates, team boards,
|
|
9
9
|
parallel worker orchestration, and mono/polyrepo delivery into one packet-owned
|
|
10
10
|
workflow.
|
|
11
11
|
|
|
@@ -15,8 +15,8 @@ Public docs: [https://cadre-docs.pages.dev/](https://cadre-docs.pages.dev/)
|
|
|
15
15
|
|
|
16
16
|
- **Structured work:** setup, new track, implementation, review, ship/land,
|
|
17
17
|
archive, release, handoff, refresh, revise, validate, flag, and formula flows.
|
|
18
|
-
- **Persistent memory:**
|
|
19
|
-
and resume evidence
|
|
18
|
+
- **Persistent memory:** Cadre stores task graph state, dependencies, notes,
|
|
19
|
+
handoffs, events, and resume evidence through native packet-owned files.
|
|
20
20
|
- **Team safety:** ownership, advisory leases, collision scans, review queues,
|
|
21
21
|
shared sync, and compact MCP dashboard resources.
|
|
22
22
|
- **Polyglot intelligence:** repo maps, dependency graphs, test impact,
|
|
@@ -27,13 +27,6 @@ Public docs: [https://cadre-docs.pages.dev/](https://cadre-docs.pages.dev/)
|
|
|
27
27
|
|
|
28
28
|
## Install
|
|
29
29
|
|
|
30
|
-
Install Beads first; setup requires the `bd` CLI to be available.
|
|
31
|
-
|
|
32
|
-
```bash
|
|
33
|
-
npm install -g @beads/bd
|
|
34
|
-
bd --version
|
|
35
|
-
```
|
|
36
|
-
|
|
37
30
|
Install Cadre from npm and let the CLI wire detected clients:
|
|
38
31
|
|
|
39
32
|
```bash
|
|
@@ -56,7 +49,7 @@ cadre-ship
|
|
|
56
49
|
```
|
|
57
50
|
|
|
58
51
|
Cadre workflows are packet-owned. The agent verifies Cadre MCP, passes a
|
|
59
|
-
per-call `root`, and lets the runtime perform state reads/writes,
|
|
52
|
+
per-call `root`, and lets the runtime perform state reads/writes, formula work,
|
|
60
53
|
parallel worker state, provider evidence write-back, and shared sync. Do not
|
|
61
54
|
maintain Cadre state by hand.
|
|
62
55
|
|
|
@@ -71,13 +64,16 @@ maintain Cadre state by hand.
|
|
|
71
64
|
- `cadre/tracks.json` as the generated track index
|
|
72
65
|
- `cadre/patterns.jsonl` plus generated `cadre/patterns.md`
|
|
73
66
|
- `cadre/config.json`
|
|
74
|
-
- `cadre/
|
|
67
|
+
- `cadre/events.jsonl`
|
|
68
|
+
- `cadre/messages/outbox.jsonl` and `cadre/messages/inbox.jsonl`
|
|
69
|
+
- `cadre/formulas/*.json` when formulas are added
|
|
70
|
+
- git-ignored `cadre/local/wisps/*.json` for local ephemeral formula runs
|
|
75
71
|
- `cadre/styleguides/*.json` plus generated `cadre/code_styleguides/*.md`
|
|
76
72
|
- optional `cadre/repos.json` for polyrepo topology
|
|
77
73
|
- optional `cadre/lsp.json` for LSP recommendations
|
|
78
74
|
|
|
79
|
-
Setup also initializes
|
|
80
|
-
can scaffold hosted CI checks when requested.
|
|
75
|
+
Setup also initializes native Cadre state, can configure shared-sync merge
|
|
76
|
+
attributes, and can scaffold hosted CI checks when requested.
|
|
81
77
|
|
|
82
78
|
## Team And Repo Modes
|
|
83
79
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cadre-ai",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "MCP-first Cadre workflows for context-driven development.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Vishal Kumar",
|
|
@@ -19,8 +19,7 @@
|
|
|
19
19
|
"context-driven-development",
|
|
20
20
|
"mcp",
|
|
21
21
|
"codex",
|
|
22
|
-
"claude"
|
|
23
|
-
"beads"
|
|
22
|
+
"claude"
|
|
24
23
|
],
|
|
25
24
|
"type": "commonjs",
|
|
26
25
|
"packageManager": "pnpm@11.4.0",
|
package/scripts/cadre-cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
// AUTO-GENERATED by pnpm build from src/*.ts -- do not edit by hand.
|
|
3
3
|
// Edit TypeScript sources under src/ instead.
|
|
4
|
-
const __CADRE_SKILL_SHIM__ = "---\nname: cadre\ndescription: |\n Context-driven development methodology for organized, spec-first coding. Use when:\n - Project has a `cadre/` directory\n - User mentions specs, plans, tracks, or context-driven development\n - Files like `cadre/tracks.json`, `cadre/product.json`, or `cadre/workflow.json` exist\n - User asks about project status, implementation progress, or track management\n - User wants to organize development work with TDD practices\n - User asks for a `cadre-*` workflow (setup, newtrack, implement, status, revert, validate, flag, revise, review, ship, land, archive, release, handoff, refresh, formula, artifacts)\n - User mentions documentation is outdated or wants to sync context with codebase changes\n - Project is a polyrepo control repo (`cadre/repos.json` with mode \"polyrepo\") spanning git-submodule product repos\n\n Interoperable across Claude Code and OpenAI Codex.\n
|
|
4
|
+
const __CADRE_SKILL_SHIM__ = "---\nname: cadre\ndescription: |\n Context-driven development methodology for organized, spec-first coding. Use when:\n - Project has a `cadre/` directory\n - User mentions specs, plans, tracks, or context-driven development\n - Files like `cadre/tracks.json`, `cadre/product.json`, or `cadre/workflow.json` exist\n - User asks about project status, implementation progress, or track management\n - User wants to organize development work with TDD practices\n - User asks for a `cadre-*` workflow (setup, newtrack, implement, status, revert, validate, flag, revise, review, ship, land, archive, release, handoff, refresh, formula, artifacts)\n - User mentions documentation is outdated or wants to sync context with codebase changes\n - Project is a polyrepo control repo (`cadre/repos.json` with mode \"polyrepo\") spanning git-submodule product repos\n\n Interoperable across Claude Code and OpenAI Codex.\n Uses native Cadre state for persistent task memory across sessions.\n---\n\n# Cadre Skill Shim\n\nCadre MCP is required for every Cadre workflow. Before acting, verify the MCP\nruntime with `cadre_project` using `{\"action\":\"ping\"}`. If Cadre MCP tools or\nresources are unavailable, halt and ask the user to install, enable, or restart\nthe Cadre plugin.\n\nLoad `cadre://skill-contract` for the authoritative `cadre.skill.v1` contract.\nUse `cadre://workflow-protocols` to discover workflow protocol resources, then\nload `cadre://workflow-protocol?workflow=<name>` for the active workflow.\nReferences and template inventory are also MCP-served through Cadre resources.\n";
|
|
5
5
|
"use strict";
|
|
6
6
|
var __create = Object.create;
|
|
7
7
|
var __defProp = Object.defineProperty;
|
|
@@ -140,7 +140,7 @@ function pluginManifest(target, runtime) {
|
|
|
140
140
|
homepage: metadata.homepage,
|
|
141
141
|
repository: metadata.repository,
|
|
142
142
|
license: metadata.license,
|
|
143
|
-
keywords: ["cadre", "context-driven-development", "skills", "
|
|
143
|
+
keywords: ["cadre", "context-driven-development", "skills", "mcp"],
|
|
144
144
|
skills: "./skills/"
|
|
145
145
|
};
|
|
146
146
|
if (target === "claude") {
|