@agent-inspect/circuit 3.5.0 → 3.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 (2) hide show
  1. package/README.md +51 -0
  2. package/package.json +3 -2
package/README.md ADDED
@@ -0,0 +1,51 @@
1
+ # @agent-inspect/circuit
2
+
3
+ Deterministic analyzers for loops, retries, stalls, and timeouts in traces.
4
+
5
+ ## When to use
6
+
7
+ - Detect agent loops or excessive retries locally
8
+ - Complement CLI `--detect-stalls` / check rules
9
+
10
+ ## When not to use
11
+
12
+ - Live circuit breaking in production traffic (this analyzes traces)
13
+ - Remote APM
14
+
15
+ ## Install
16
+
17
+ ```bash
18
+ npm install @agent-inspect/circuit
19
+ ```
20
+
21
+ ## Example
22
+
23
+ ```ts
24
+ import { runCircuits } from "@agent-inspect/circuit";
25
+
26
+ const result = runCircuits({ events });
27
+ ```
28
+
29
+ ## Privacy
30
+
31
+ - Local analysis only
32
+
33
+ ## API
34
+
35
+ Circuit/loop analysis helpers (see package exports).
36
+
37
+ ## CLI
38
+
39
+ `npx agent-inspect check --detect-stalls`
40
+
41
+ ## Docs
42
+
43
+ - [Performance](https://github.com/rajudandigam/agent-inspect/blob/main/docs/PERFORMANCE.md)
44
+
45
+ ## Version
46
+
47
+ `3.5.x`
48
+
49
+ ## License
50
+
51
+ MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-inspect/circuit",
3
- "version": "3.5.0",
3
+ "version": "3.5.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "description": "Local circuit-breaker analyzers for AgentInspect trace patterns",
@@ -12,7 +12,7 @@
12
12
  "bugs": {
13
13
  "url": "https://github.com/rajudandigam/agent-inspect/issues"
14
14
  },
15
- "homepage": "https://github.com/rajudandigam/agent-inspect#readme",
15
+ "homepage": "https://github.com/rajudandigam/agent-inspect/tree/main/packages/circuit",
16
16
  "sideEffects": false,
17
17
  "main": "./dist/index.cjs",
18
18
  "module": "./dist/index.mjs",
@@ -30,6 +30,7 @@
30
30
  }
31
31
  },
32
32
  "files": [
33
+ "README.md",
33
34
  "dist"
34
35
  ],
35
36
  "peerDependencies": {},