car-runtime 0.51.0 → 0.52.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.
- package/README.md +9 -2
- package/docs/ASSISTANT.md +491 -0
- package/docs/CLI.md +3173 -0
- package/docs/GUIDE.md +266 -0
- package/docs/MCP.md +382 -0
- package/docs/SPEC.md +169 -0
- package/docs/agent-ir-spec.md +677 -0
- package/docs/websocket-protocol.md +10 -0
- package/index.d.ts +17 -0
- package/package.json +5 -3
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# WebSocket JSON-RPC protocol reference
|
|
2
|
+
|
|
3
|
+
Not bundled in this package by default — the full reference is roughly
|
|
4
|
+
510KB (see `docs/proposals/public-docs-unification.md` in the CAR source
|
|
5
|
+
repo for the size accounting), which is too large to add to every install.
|
|
6
|
+
|
|
7
|
+
Read it at: https://car.parslee.ai/websocket-protocol.md
|
|
8
|
+
|
|
9
|
+
That page is published verbatim, at every release, from the same
|
|
10
|
+
`docs/websocket-protocol.md` this stub was generated alongside.
|
package/index.d.ts
CHANGED
|
@@ -1498,6 +1498,23 @@ export class CarRuntime {
|
|
|
1498
1498
|
* `cost_overage` alert. */
|
|
1499
1499
|
metricsAlerts(thresholdsJson?: string): Promise<string>;
|
|
1500
1500
|
|
|
1501
|
+
/** Watch-only self-heal detector status as JSON: cadence, last tick, source
|
|
1502
|
+
* `route`, validated `source_checkout` or `refusal_reason`, detector IDs,
|
|
1503
|
+
* active/dismissed counts, and `filing_mode: "watch-only"`. */
|
|
1504
|
+
selfhealStatus(): Promise<string>;
|
|
1505
|
+
|
|
1506
|
+
/** List active (not dismissed) self-heal detections as JSON. Each includes
|
|
1507
|
+
* `route` and an optional `local_issue_path`. `queryJson` optionally carries
|
|
1508
|
+
* `kind`, `severity`, `since`, `offset`, and `limit` (bounded to 500). */
|
|
1509
|
+
selfhealDetections(queryJson?: string): Promise<string>;
|
|
1510
|
+
|
|
1511
|
+
/** Append a dismissal marker for a stable detection dedup key. This does not
|
|
1512
|
+
* delete history, file an issue, use network, or remediate anything. */
|
|
1513
|
+
selfhealDismiss(dedupKey: string): Promise<string>;
|
|
1514
|
+
|
|
1515
|
+
/** Run one non-overlapping watch-only detection tick immediately. */
|
|
1516
|
+
selfhealRun(): Promise<string>;
|
|
1517
|
+
|
|
1501
1518
|
/** Execution log counts and approximate retained native bytes. Returns JSON. */
|
|
1502
1519
|
eventLogStats(): Promise<string>;
|
|
1503
1520
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "car-runtime",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.52.1",
|
|
4
4
|
"description": "Common Agent Runtime — a deterministic execution layer for AI agents",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -40,10 +40,12 @@
|
|
|
40
40
|
"assets.json",
|
|
41
41
|
"bin/car-server",
|
|
42
42
|
"README.md",
|
|
43
|
-
"LICENSE"
|
|
43
|
+
"LICENSE",
|
|
44
|
+
"docs"
|
|
44
45
|
],
|
|
45
46
|
"scripts": {
|
|
46
|
-
"install": "node install.js"
|
|
47
|
+
"install": "node install.js",
|
|
48
|
+
"prepack": "node sync-docs.js"
|
|
47
49
|
},
|
|
48
50
|
"license": "SEE LICENSE IN LICENSE",
|
|
49
51
|
"private": false
|