@aligndottech/cli 0.42.0 → 0.44.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 +4 -3
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +20 -0
- package/dist/cli.js.map +1 -1
- package/dist/commands/mcp.d.ts +1 -1
- package/dist/commands/mcp.d.ts.map +1 -1
- package/dist/commands/mcp.js +57 -23
- package/dist/commands/mcp.js.map +1 -1
- package/dist/commands/setup.d.ts.map +1 -1
- package/dist/commands/setup.js +200 -4
- package/dist/commands/setup.js.map +1 -1
- package/dist/lib/as-of.d.ts +80 -0
- package/dist/lib/as-of.d.ts.map +1 -0
- package/dist/lib/as-of.js +305 -0
- package/dist/lib/as-of.js.map +1 -0
- package/dist/lib/config.d.ts +32 -0
- package/dist/lib/config.d.ts.map +1 -1
- package/dist/lib/config.js +64 -0
- package/dist/lib/config.js.map +1 -1
- package/dist/lib/decision-relations.d.ts +14 -0
- package/dist/lib/decision-relations.d.ts.map +1 -1
- package/dist/lib/decision-relations.js +26 -0
- package/dist/lib/decision-relations.js.map +1 -1
- package/dist/lib/gateway-client.d.ts +11 -1
- package/dist/lib/gateway-client.d.ts.map +1 -1
- package/dist/lib/gateway-client.js +9 -2
- package/dist/lib/gateway-client.js.map +1 -1
- package/dist/lib/local-db.d.ts +29 -0
- package/dist/lib/local-db.d.ts.map +1 -1
- package/dist/lib/local-db.js +34 -2
- package/dist/lib/local-db.js.map +1 -1
- package/dist/lib/local-gateway-client.d.ts +10 -1
- package/dist/lib/local-gateway-client.d.ts.map +1 -1
- package/dist/lib/local-gateway-client.js +55 -20
- package/dist/lib/local-gateway-client.js.map +1 -1
- package/dist/lib/local-llm.d.ts +9 -2
- package/dist/lib/local-llm.d.ts.map +1 -1
- package/dist/lib/local-llm.js +33 -5
- package/dist/lib/local-llm.js.map +1 -1
- package/dist/lib/mcp-instructions.shared.d.ts +1 -1
- package/dist/lib/mcp-instructions.shared.d.ts.map +1 -1
- package/dist/lib/mcp-instructions.shared.js +4 -3
- package/dist/lib/mcp-instructions.shared.js.map +1 -1
- package/package.json +1 -1
|
@@ -32,11 +32,12 @@ export const MCP_INSTRUCTIONS_SHARED = `Align is this team's decision graph - wh
|
|
|
32
32
|
|
|
33
33
|
- BEFORE writing or changing non-trivial code, call {check_alignment} with the diff, phrased as the DECISION and its value ("set the worker pool to 12"), never the chore ("wire up a worker"). A "conflict" result, or a matched decision whose OWN status is conflicted, means a past decision opposes the change - STOP and confirm with the user before proceeding.
|
|
34
34
|
- An "unknown" status means the check could not run (the service was unavailable) - it is NOT a pass. Surface it to the user and do not proceed as if aligned.
|
|
35
|
-
- To answer "why did we decide X" or to understand a convention, call {search}.
|
|
36
|
-
-
|
|
35
|
+
- To answer "why did we decide X" or to understand a convention, call {search}.
|
|
36
|
+
- Also for behaviour questions that name no decision: "what happens when X fails", "does it fail open".
|
|
37
37
|
- Cite a decision by its cite value when present; link via decision_url if present, else source_url if present, else say no link - never present one as the other.
|
|
38
38
|
- When the question was only a question, REPORT what the graph returned, with its titles and source links, and do not re-derive it from the code. Read the code to confirm only when you are about to change behaviour.
|
|
39
|
-
- Search the graph BEFORE reading the code: it spans repositories, so grepping this checkout misses decisions made in another repository
|
|
39
|
+
- Search the graph BEFORE reading the code: it spans repositories, so grepping this checkout misses decisions made in another repository.
|
|
40
|
+
- Read a {search} hit's later_on_topic (newer decisions on its topic) before answering; answer from one that reversed it.`;
|
|
40
41
|
/**
|
|
41
42
|
* Render the shared text for one server: substitute each {token} with that server's name for
|
|
42
43
|
* the tool, then append the server's own lines (tools only it exposes), one per line.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcp-instructions.shared.js","sourceRoot":"","sources":["../../src/lib/mcp-instructions.shared.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,iBAAiB,EAAE,QAAQ,CAAU,CAAC;AAG3E;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG
|
|
1
|
+
{"version":3,"file":"mcp-instructions.shared.js","sourceRoot":"","sources":["../../src/lib/mcp-instructions.shared.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,iBAAiB,EAAE,QAAQ,CAAU,CAAC;AAG3E;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG;;;;;;;;;0HASmF,CAAC;AAE3H;;;;;GAKG;AACH,MAAM,UAAU,qBAAqB,CACnC,SAA2C,EAC3C,cAAiC;IAEjC,MAAM,KAAK,GAAG,SAA+C,CAAC;IAC9D,MAAM,QAAQ,GAAG,uBAAuB,CAAC,OAAO,CAAC,gBAAgB,EAAE,CAAC,MAAM,EAAE,GAAW,EAAE,EAAE;QACzF,MAAM,IAAI,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC;QACxB,IAAI,CAAC,IAAI;YAAE,MAAM,IAAI,KAAK,CAAC,8DAA8D,GAAG,GAAG,CAAC,CAAC;QACjG,OAAO,IAAI,CAAC;IACd,CAAC,CAAC,CAAC;IACH,OAAO,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,QAAQ,KAAK,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC;AACxF,CAAC"}
|