agent-runtime-map 0.8.1 → 0.8.2

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 +17 -2
  2. package/dist/cli.js +2 -2
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -6,13 +6,28 @@ Turn every Agent feature into an evidence-backed execution circuit you can inspe
6
6
  npx agent-runtime-map@latest .
7
7
  ```
8
8
 
9
- GitHub Release fallback:
9
+ Install it into a project:
10
10
 
11
11
  ```bash
12
- npm install --save-dev https://github.com/TheCrazyAnt/agent-runtime-map/releases/download/v0.2.0/agent-runtime-map-0.2.0.tgz
12
+ npm install --save-dev agent-runtime-map
13
13
  npx agent-runtime-map .
14
14
  ```
15
15
 
16
+ ## Keep the map current on GitHub
17
+
18
+ ```bash
19
+ npx agent-runtime-map init --github
20
+ ```
21
+
22
+ This writes `agent-runtime-map.config.json` and a workflow that rebuilds the map
23
+ on every push and pull request. The workflow grants `contents: read` and nothing
24
+ more, and never commits anything back to your branch.
25
+
26
+ **Runner requirement.** The action runs on Node 24, which needs Actions Runner
27
+ 2.327.1 or newer. GitHub-hosted runners are already there and need nothing. A
28
+ **self-hosted** runner pinned below that must be updated first, or the action
29
+ fails at its first step.
30
+
16
31
  The command analyzes the selected project, writes `.logic-map/graph.json`, starts a local viewer, and opens it in the browser. Choose a feature from the left to play, pause, single-step, replay, or switch between its inferred branches on one global Agent graph. Chain Doctor marks verified steps green, uncertainty yellow, and deterministic failures red with source evidence and a suggested repair.
17
32
 
18
33
  Playback is an explicit simulation of the statically compiled code route; it does not claim that a live request is executing.
package/dist/cli.js CHANGED
@@ -62,7 +62,7 @@ jobs:
62
62
  map:
63
63
  runs-on: ubuntu-latest
64
64
  steps:
65
- - uses: actions/checkout@v4
65
+ - uses: actions/checkout@v7
66
66
  with:
67
67
  # Full history keeps the previous map's commit reachable, so the change
68
68
  # report can name the files that actually changed instead of the event.
@@ -172,7 +172,7 @@ ${t.stop}
172
172
  `);return}if(e.unchanged){process.stdout.write(`${n.buildUnchanged(e.buildId??"")}
173
173
  `);return}process.stdout.write(`${n.buildUpdated(e.currentDir,e.buildId??"",e.durationMs)}
174
174
  `),e.changes&&!e.changes.initial&&process.stdout.write(`${n.changesSummary(e.changes.nodes.added.length,e.changes.nodes.removed.length,e.changes.nodes.modified.length,e.changes.affectedFeatures.length)}
175
- `)}function Ca(e){return[...new Set([...e.nodes.flatMap(n=>n.sources.map(t=>t.file)),...e.nodes.flatMap(n=>n.product?.sources.map(t=>t.file)??[]),...e.features.flatMap(n=>n.product?.sources.map(t=>t.file)??[])])]}var Ze="0.8.1";async function Na(e=process.argv.slice(2)){let n=Bn(e),t=At(n),i=Un(t),r;try{r=ba({args:e,allowPositionals:!0,strict:!0,options:{help:{type:"boolean",short:"h"},version:{type:"boolean",short:"v"},out:{type:"string",short:"o"},"raw-out":{type:"string"},"no-raw":{type:"boolean"},"max-files":{type:"string"},"max-context-files":{type:"string"},"max-context-bytes":{type:"string"},"no-context":{type:"boolean"},"max-nodes":{type:"string"},"graph-type":{type:"string"},description:{type:"string"},semantic:{type:"string"},"semantic-model":{type:"string"},"semantic-base-url":{type:"string"},locale:{type:"string"},port:{type:"string",short:"p"},host:{type:"string"},"no-open":{type:"boolean"},github:{type:"boolean"},force:{type:"boolean"},debug:{type:"boolean"}}})}catch(l){return process.stderr.write(`agent-runtime-map: ${l instanceof Error?l.message:String(l)}
175
+ `)}function Ca(e){return[...new Set([...e.nodes.flatMap(n=>n.sources.map(t=>t.file)),...e.nodes.flatMap(n=>n.product?.sources.map(t=>t.file)??[]),...e.features.flatMap(n=>n.product?.sources.map(t=>t.file)??[])])]}var Ze="0.8.2";async function Na(e=process.argv.slice(2)){let n=Bn(e),t=At(n),i=Un(t),r;try{r=ba({args:e,allowPositionals:!0,strict:!0,options:{help:{type:"boolean",short:"h"},version:{type:"boolean",short:"v"},out:{type:"string",short:"o"},"raw-out":{type:"string"},"no-raw":{type:"boolean"},"max-files":{type:"string"},"max-context-files":{type:"string"},"max-context-bytes":{type:"string"},"no-context":{type:"boolean"},"max-nodes":{type:"string"},"graph-type":{type:"string"},description:{type:"string"},semantic:{type:"string"},"semantic-model":{type:"string"},"semantic-base-url":{type:"string"},locale:{type:"string"},port:{type:"string",short:"p"},host:{type:"string"},"no-open":{type:"boolean"},github:{type:"boolean"},force:{type:"boolean"},debug:{type:"boolean"}}})}catch(l){return process.stderr.write(`agent-runtime-map: ${l instanceof Error?l.message:String(l)}
176
176
 
177
177
  ${Tt(t,Ze)}`),1}if(r.values.help)return process.stdout.write(Tt(t,Ze)),0;if(r.values.version)return process.stdout.write(`${Ze}
178
178
  `),0;let o=r.positionals[0],s=new Set(["analyze","serve","init","build","watch"]),a=o!==void 0&&s.has(o)?o:"serve",d=o!==void 0&&s.has(o),c=d?r.positionals[1]??".":o??".",g=d?r.positionals.slice(2):r.positionals.slice(1);if(g.length)return process.stderr.write(`agent-runtime-map: ${i.unexpected(g[0])}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-runtime-map",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "Inspect every Agent feature as an evidence-backed, step-through execution circuit.",
5
5
  "homepage": "https://github.com/TheCrazyAnt/agent-runtime-map#readme",
6
6
  "repository": {