@doidor/agentrig 0.6.0 → 0.8.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 +2 -1
- package/dist/core/compile.js +21 -30
- package/dist/core/compile.js.map +1 -1
- package/package.json +8 -2
package/README.md
CHANGED
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://github.com/doidor/agentrig/actions/workflows/ci.yml)
|
|
4
4
|
[](https://github.com/doidor/agentrig/actions/workflows/release.yml)
|
|
5
|
+
[](https://doidor.github.io/agentrig)
|
|
5
6
|
[](https://www.npmjs.com/package/@doidor/agentrig)
|
|
6
7
|
[](https://nodejs.org)
|
|
7
8
|
[](LICENSE)
|
|
8
9
|
|
|
9
|
-
**An agentic meta-harness — a harness of harnesses.**
|
|
10
|
+
**An agentic meta-harness — a harness of harnesses.** [Read the docs →](https://doidor.github.io/agentrig)
|
|
10
11
|
|
|
11
12
|
AgentRig is a lightweight CLI that installs a **best-practice agent harness** into any repository and
|
|
12
13
|
then **projects it into every agent's native format** — so *any* agent benefits without lock-in,
|
package/dist/core/compile.js
CHANGED
|
@@ -3,30 +3,22 @@ import { join } from "node:path";
|
|
|
3
3
|
import { ensureDir } from "./fsutil.js";
|
|
4
4
|
const GEN_MD = "<!-- Generated by AgentRig from AGENTS.md + .agents/rules/. Do not edit here — edit the source and run `agentrig compile`. -->";
|
|
5
5
|
const GEN_HASH = "# Generated by AgentRig. Do not edit here — edit the source and run `agentrig compile`.";
|
|
6
|
-
/**
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
return "";
|
|
19
|
-
const after = text.slice(m.index + m[0].length);
|
|
20
|
-
const nextH = after.search(/^##\s+/m);
|
|
21
|
-
return (nextH < 0 ? after : after.slice(0, nextH)).trim();
|
|
22
|
-
}
|
|
23
|
-
/** Drop lines still containing unfilled {{PLACEHOLDER}} template tokens. */
|
|
24
|
-
function dropPlaceholders(text) {
|
|
25
|
-
return text
|
|
6
|
+
/**
|
|
7
|
+
* Project the full AGENTS.md body for downstream surfaces:
|
|
8
|
+
* - drop the H1 title (the projected file supplies its own),
|
|
9
|
+
* - strip the `<!-- AGENTRIG:…:start/end -->` marker comments (they're for AGENTS.md update-protection),
|
|
10
|
+
* - drop lines that still contain unfilled `{{PLACEHOLDER}}` template tokens,
|
|
11
|
+
* - collapse the blank-line runs created by stripping markers.
|
|
12
|
+
* Anything the user adds to AGENTS.md flows through unchanged.
|
|
13
|
+
*/
|
|
14
|
+
function projectAgentsBody(agents) {
|
|
15
|
+
const noTitle = agents.replace(/^#\s+.*\n+/, "");
|
|
16
|
+
const noMarkers = noTitle.replace(/<!--\s*AGENTRIG:[\w-]+:(start|end)\s*-->/g, "");
|
|
17
|
+
const noPlaceholders = noMarkers
|
|
26
18
|
.split("\n")
|
|
27
19
|
.filter((l) => !/\{\{[A-Z0-9_]+\}\}/.test(l))
|
|
28
|
-
.join("\n")
|
|
29
|
-
|
|
20
|
+
.join("\n");
|
|
21
|
+
return noPlaceholders.replace(/\n{3,}/g, "\n\n").trim();
|
|
30
22
|
}
|
|
31
23
|
function parseGlobs(raw) {
|
|
32
24
|
if (!raw)
|
|
@@ -131,20 +123,18 @@ export function compileSurfaces(repoRoot) {
|
|
|
131
123
|
return result;
|
|
132
124
|
}
|
|
133
125
|
const agents = readFileSync(agentsPath, "utf8");
|
|
134
|
-
const
|
|
135
|
-
const context = dropPlaceholders(extractAgentsSection(agents, "context", "What this repository is"));
|
|
126
|
+
const body = projectAgentsBody(agents);
|
|
136
127
|
const rules = loadRules(repoRoot);
|
|
137
128
|
// --- GitHub Copilot (remote coding agent + IDE): repo-wide custom instructions ---
|
|
129
|
+
// Mirror the full AGENTS.md body so anything the user adds there flows through.
|
|
138
130
|
write(repoRoot, ".github/copilot-instructions.md", [
|
|
139
131
|
GEN_MD,
|
|
140
132
|
"",
|
|
141
133
|
"# Copilot instructions",
|
|
142
134
|
"",
|
|
143
|
-
|
|
135
|
+
body || "See AGENTS.md for the project's agent instructions.",
|
|
144
136
|
"",
|
|
145
|
-
|
|
146
|
-
"The full agent guide is in [AGENTS.md](../AGENTS.md). Path-specific rules live in",
|
|
147
|
-
"`.github/instructions/`.",
|
|
137
|
+
"_Path-specific rules live in `.github/instructions/`._",
|
|
148
138
|
].join("\n"), result);
|
|
149
139
|
// --- GitHub path-scoped instructions, one per rule (applyTo = the rule's globs) ---
|
|
150
140
|
for (const rule of rules) {
|
|
@@ -171,7 +161,8 @@ export function compileSurfaces(repoRoot) {
|
|
|
171
161
|
rule.body,
|
|
172
162
|
].join("\n"), result);
|
|
173
163
|
}
|
|
174
|
-
// --- Claude Code: CLAUDE.md imports AGENTS.md
|
|
164
|
+
// --- Claude Code: CLAUDE.md @-imports AGENTS.md (Claude resolves natively) and inlines the full
|
|
165
|
+
// body so tools that read CLAUDE.md directly also see everything in AGENTS.md.
|
|
175
166
|
write(repoRoot, "CLAUDE.md", [
|
|
176
167
|
GEN_MD,
|
|
177
168
|
"",
|
|
@@ -179,7 +170,7 @@ export function compileSurfaces(repoRoot) {
|
|
|
179
170
|
"",
|
|
180
171
|
"@AGENTS.md",
|
|
181
172
|
"",
|
|
182
|
-
|
|
173
|
+
body,
|
|
183
174
|
].join("\n"), result);
|
|
184
175
|
// --- MCP: project .mcp.json to the surfaces that read their own location ---
|
|
185
176
|
const mcpPath = join(repoRoot, ".mcp.json");
|
package/dist/core/compile.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compile.js","sourceRoot":"","sources":["../../src/core/compile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACzF,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,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IAAI,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,EAAE,CAAC;QACzC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,qCAAqC,EAAE,CAAC,CAAC;IACzF,CAAC;SAAM,CAAC;QACN,MAAM,KAAK,GAAG,WAAW,CAAC,QAAQ,CAAC,CAAC;QACpC,KAAK,CAAC,QAAQ,EAAE,QAAQ,EAAE;EAC5B,QAAQ;+EACqE,KAAK,CAAC,IAAI;;;;;;;;;;;;;;;;;;;;;EAqBvF,KAAK,CAAC,KAAK;CACZ,EAAE,MAAM,CAAC,CAAC;IACT,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,iFAAiF;AACjF,MAAM,UAAU,oBAAoB,CAAC,QAAgB;IACnD,MAAM,KAAK,GAAG;QACZ,iCAAiC;QACjC,WAAW;QACX,kBAAkB;QAClB,2CAA2C;KAC5C,CAAC;IACF,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,EAAE,SAAS,EAAE,cAAc,CAAC,CAAC;IACxD,IAAI,UAAU,CAAC,KAAK,CAAC,IAAI,QAAQ,CAAC,KAAK,CAAC,CAAC,WAAW,EAAE;QAAE,KAAK,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;IAC3F,OAAO,KAAK,CAAC;AACf,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@doidor/agentrig",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "AgentRig — an agentic meta-harness. A CLI that investigates a repository and installs (and evaluates) a best-practice agent harness.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -37,7 +37,11 @@
|
|
|
37
37
|
"selftest": "node dist/cli.js eval --static . || true",
|
|
38
38
|
"changeset": "changeset",
|
|
39
39
|
"version-packages": "changeset version",
|
|
40
|
-
"release": "changeset publish"
|
|
40
|
+
"release": "changeset publish",
|
|
41
|
+
"docs:sync": "node scripts/sync-principles-to-docs.mjs",
|
|
42
|
+
"docs:dev": "npm run docs:sync && markbook dev",
|
|
43
|
+
"docs:build": "npm run docs:sync && markbook build",
|
|
44
|
+
"docs:preview": "markbook preview"
|
|
41
45
|
},
|
|
42
46
|
"keywords": [
|
|
43
47
|
"agent",
|
|
@@ -64,6 +68,8 @@
|
|
|
64
68
|
"devDependencies": {
|
|
65
69
|
"@changesets/changelog-github": "^0.7.0",
|
|
66
70
|
"@changesets/cli": "^2.31.0",
|
|
71
|
+
"@doidor/markbook": "^0.1.2",
|
|
72
|
+
"@doidor/markbook-core": "^0.1.2",
|
|
67
73
|
"@types/node": "^22.0.0",
|
|
68
74
|
"typescript": "^5.6.0"
|
|
69
75
|
}
|