car-runtime 0.64.0 → 0.65.0-nightly.20261116.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.
@@ -3031,6 +3031,19 @@ const DAEMON_WRAPPER_ROWS = Object.freeze([
3031
3031
  },
3032
3032
  "role": "operator"
3033
3033
  },
3034
+ {
3035
+ "javascript": {
3036
+ "generated": true,
3037
+ "name": "feedbackExport"
3038
+ },
3039
+ "method": "feedback.export",
3040
+ "owner": "CarRuntime",
3041
+ "python": {
3042
+ "generated": true,
3043
+ "name": "feedback_export"
3044
+ },
3045
+ "role": "operator_only"
3046
+ },
3034
3047
  {
3035
3048
  "javascript": {
3036
3049
  "generated": true,
@@ -3044,6 +3057,19 @@ const DAEMON_WRAPPER_ROWS = Object.freeze([
3044
3057
  },
3045
3058
  "role": "operator"
3046
3059
  },
3060
+ {
3061
+ "javascript": {
3062
+ "generated": true,
3063
+ "name": "feedbackRemove"
3064
+ },
3065
+ "method": "feedback.remove",
3066
+ "owner": "CarRuntime",
3067
+ "python": {
3068
+ "generated": true,
3069
+ "name": "feedback_remove"
3070
+ },
3071
+ "role": "operator_only"
3072
+ },
3047
3073
  {
3048
3074
  "javascript": {
3049
3075
  "generated": true,
package/docs/ASSISTANT.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Parslee Core — the `car do` assistant
2
2
 
3
- > Describes CAR **0.64.0**. Check yours with `car --version`; if it
3
+ > Describes CAR **0.65.0-nightly.20261116.2**. Check yours with `car --version`; if it
4
4
  > differs, prefer `car help <command>` on your own binary over this page.
5
5
 
6
6
  CAR ships with a general-purpose agent that works out of the box: no tools to
package/docs/CLI.md CHANGED
@@ -2,17 +2,17 @@
2
2
 
3
3
  > **Generated file — do not hand-edit below the task map.** Produced by
4
4
  > `scripts/gen-cli-docs.sh` from `car --help` / `car help <command>` on car
5
- > 0.64.0 (2026-11-15). Every subcommand the installed binary reports is
5
+ > 0.63.0 (2026-11-13). Every subcommand the installed binary reports is
6
6
  > below; a new subcommand cannot ship without appearing here the next time
7
7
  > this script runs. To regenerate: `bash scripts/gen-cli-docs.sh`.
8
8
  >
9
- > 90 top-level commands, 194 nested subcommands
9
+ > 89 top-level commands, 191 nested subcommands
10
10
  > (one level deep) — counted from the live binary at generation time, not
11
11
  > typed by hand.
12
12
 
13
13
  ## Finding your way around
14
14
 
15
- `car` is one binary with 90 subcommands spanning several different jobs:
15
+ `car` is one binary with 89 subcommands spanning several different jobs:
16
16
  running the built-in agent, coding, local model management, OS integrations,
17
17
  and installing other people's agents on your machine. This map groups the
18
18
  commands people actually reach for; the full alphabetical reference with every
@@ -260,7 +260,6 @@ commands on a cadence via launchd / cron / schtasks).
260
260
  | [`car schedule`](#car-schedule) | Schedule commands to run on a cadence (launchd / cron / schtasks) |
261
261
  | [`car registry`](#car-registry) | Registry tooling for the contributed-agents registry (Parslee-ai/car#182 phase 5): `digest` a manifest, or `validate` a registry directory (the CI gate run by Parslee-ai/car-agent-registry) |
262
262
  | [`car fleet`](#car-fleet) | What every CAR instance you can reach can do — agents, capabilities and models across the fleet — and whether this machine takes coding subtasks farmed out by peers (`car fleet enroll`). Needs a running daemon |
263
- | [`car machine`](#car-machine) | What coding sessions left on this machine: Docker containers, volumes, images, build cache and builders, the Docker VM's host memory, and orphaned processes, each attributed to the session that made it or marked unattributed. Needs a running daemon (`car doctor` shows a summary without one) |
264
263
  | [`car mp`](#car-mp) | Multiplayer development: a work item moves Build → Improve → Polish through different developers before it merges, each stage a coder session on its owner's machine with the engine they choose. Needs a running daemon and a shared git remote |
265
264
  | [`car claude`](#car-claude) | Start Claude Code as a CAR-supervised collaboration session. Enrolls a per-session agent bound to the work context `car auth resolve` names for this directory, hands its identity to the CAR plugin's collaboration tools, runs `claude` in this terminal, and removes the agent when it exits. Arguments after `--` go to `claude`. Needs a running daemon |
266
265
  | [`car codex`](#car-codex) | Start Codex CLI as a CAR-supervised collaboration session in this directory. Enrols a session agent, installs session-only collaboration and policy hooks, injects the daemon brief, and removes the agent on exit. Needs a running daemon. Arguments after `--` go to `codex` |
@@ -2448,9 +2447,6 @@ Commands:
2448
2447
  items List the shared work board: what is in flight, who is driving it, and what it waits on
2449
2448
  (the coder-session monitor is plain `car board`)
2450
2449
  history One item's history: each change, the session that made it, comments
2451
- comment Comment on any item on your boards, as the operator. The way to reach a session through
2452
- its item when its session or org cannot be messaged, such as an item a host-run Codex thread wrote
2453
- with no org binding. A comment never changes the item
2454
2450
  brief The briefing a session starts with, for the current directory's branch
2455
2451
  reconcile Make a project's board follow its code host (opt-in). The daemon then marks items done
2456
2452
  or abandoned when their PR merges or is abandoned, moves them to review when a PR opens, and opens
@@ -2501,24 +2497,6 @@ Options:
2501
2497
  -h, --help Print help
2502
2498
  ```
2503
2499
 
2504
- #### car board comment
2505
-
2506
- ```text
2507
- Comment on any item on your boards, as the operator. The way to reach a session through its item
2508
- when its session or org cannot be messaged, such as an item a host-run Codex thread wrote with no
2509
- org binding. A comment never changes the item
2510
-
2511
- Usage: car board comment [OPTIONS] <ID> <BODY>
2512
-
2513
- Arguments:
2514
- <ID>
2515
- <BODY> The comment (at most 2 KB)
2516
-
2517
- Options:
2518
- --org <ORG>
2519
- -h, --help Print help
2520
- ```
2521
-
2522
2500
  #### car board brief
2523
2501
 
2524
2502
  ```text
@@ -2771,11 +2749,8 @@ Environment:
2771
2749
  WT_POOL_HOOK_WAIT
2772
2750
  minutes `hook` waits for a slot when the pool is full (default 10)
2773
2751
 
2774
- Per-machine git config: wtpool.size (default 6; re-read while an acquire
2775
- waits), wtpool.dir (default <parent>/<repo>-pool), wtpool.prepare (overrides
2776
- the file's `prepare`), wtpool.idleMinutes (default 30; WT_POOL_IDLE_MINUTES
2777
- overrides): how long a merged slot, or twice as long a Codex app-server's
2778
- slot, sits with no edit before reclaim frees it while its holder lives.
2752
+ Per-machine git config: wtpool.size (default 6), wtpool.dir (default
2753
+ <parent>/<repo>-pool), wtpool.prepare (overrides the file's `prepare`).
2779
2754
 
2780
2755
  Exit codes:
2781
2756
  0 done
@@ -2831,11 +2806,8 @@ Environment:
2831
2806
  WT_POOL_HOOK_WAIT
2832
2807
  minutes `hook` waits for a slot when the pool is full (default 10)
2833
2808
 
2834
- Per-machine git config: wtpool.size (default 6; re-read while an acquire
2835
- waits), wtpool.dir (default <parent>/<repo>-pool), wtpool.prepare (overrides
2836
- the file's `prepare`), wtpool.idleMinutes (default 30; WT_POOL_IDLE_MINUTES
2837
- overrides): how long a merged slot, or twice as long a Codex app-server's
2838
- slot, sits with no edit before reclaim frees it while its holder lives.
2809
+ Per-machine git config: wtpool.size (default 6), wtpool.dir (default
2810
+ <parent>/<repo>-pool), wtpool.prepare (overrides the file's `prepare`).
2839
2811
 
2840
2812
  Exit codes:
2841
2813
  0 done
@@ -2888,11 +2860,8 @@ Environment:
2888
2860
  WT_POOL_HOOK_WAIT
2889
2861
  minutes `hook` waits for a slot when the pool is full (default 10)
2890
2862
 
2891
- Per-machine git config: wtpool.size (default 6; re-read while an acquire
2892
- waits), wtpool.dir (default <parent>/<repo>-pool), wtpool.prepare (overrides
2893
- the file's `prepare`), wtpool.idleMinutes (default 30; WT_POOL_IDLE_MINUTES
2894
- overrides): how long a merged slot, or twice as long a Codex app-server's
2895
- slot, sits with no edit before reclaim frees it while its holder lives.
2863
+ Per-machine git config: wtpool.size (default 6), wtpool.dir (default
2864
+ <parent>/<repo>-pool), wtpool.prepare (overrides the file's `prepare`).
2896
2865
 
2897
2866
  Exit codes:
2898
2867
  0 done
@@ -2923,11 +2892,8 @@ Environment:
2923
2892
  WT_POOL_HOOK_WAIT
2924
2893
  minutes `hook` waits for a slot when the pool is full (default 10)
2925
2894
 
2926
- Per-machine git config: wtpool.size (default 6; re-read while an acquire
2927
- waits), wtpool.dir (default <parent>/<repo>-pool), wtpool.prepare (overrides
2928
- the file's `prepare`), wtpool.idleMinutes (default 30; WT_POOL_IDLE_MINUTES
2929
- overrides): how long a merged slot, or twice as long a Codex app-server's
2930
- slot, sits with no edit before reclaim frees it while its holder lives.
2895
+ Per-machine git config: wtpool.size (default 6), wtpool.dir (default
2896
+ <parent>/<repo>-pool), wtpool.prepare (overrides the file's `prepare`).
2931
2897
 
2932
2898
  Exit codes:
2933
2899
  0 done
@@ -2962,11 +2928,8 @@ Environment:
2962
2928
  WT_POOL_HOOK_WAIT
2963
2929
  minutes `hook` waits for a slot when the pool is full (default 10)
2964
2930
 
2965
- Per-machine git config: wtpool.size (default 6; re-read while an acquire
2966
- waits), wtpool.dir (default <parent>/<repo>-pool), wtpool.prepare (overrides
2967
- the file's `prepare`), wtpool.idleMinutes (default 30; WT_POOL_IDLE_MINUTES
2968
- overrides): how long a merged slot, or twice as long a Codex app-server's
2969
- slot, sits with no edit before reclaim frees it while its holder lives.
2931
+ Per-machine git config: wtpool.size (default 6), wtpool.dir (default
2932
+ <parent>/<repo>-pool), wtpool.prepare (overrides the file's `prepare`).
2970
2933
 
2971
2934
  Exit codes:
2972
2935
  0 done
@@ -3022,11 +2985,8 @@ Environment:
3022
2985
  WT_POOL_HOOK_WAIT
3023
2986
  minutes `hook` waits for a slot when the pool is full (default 10)
3024
2987
 
3025
- Per-machine git config: wtpool.size (default 6; re-read while an acquire
3026
- waits), wtpool.dir (default <parent>/<repo>-pool), wtpool.prepare (overrides
3027
- the file's `prepare`), wtpool.idleMinutes (default 30; WT_POOL_IDLE_MINUTES
3028
- overrides): how long a merged slot, or twice as long a Codex app-server's
3029
- slot, sits with no edit before reclaim frees it while its holder lives.
2988
+ Per-machine git config: wtpool.size (default 6), wtpool.dir (default
2989
+ <parent>/<repo>-pool), wtpool.prepare (overrides the file's `prepare`).
3030
2990
 
3031
2991
  Exit codes:
3032
2992
  0 done
@@ -3067,11 +3027,8 @@ Environment:
3067
3027
  WT_POOL_HOOK_WAIT
3068
3028
  minutes `hook` waits for a slot when the pool is full (default 10)
3069
3029
 
3070
- Per-machine git config: wtpool.size (default 6; re-read while an acquire
3071
- waits), wtpool.dir (default <parent>/<repo>-pool), wtpool.prepare (overrides
3072
- the file's `prepare`), wtpool.idleMinutes (default 30; WT_POOL_IDLE_MINUTES
3073
- overrides): how long a merged slot, or twice as long a Codex app-server's
3074
- slot, sits with no edit before reclaim frees it while its holder lives.
3030
+ Per-machine git config: wtpool.size (default 6), wtpool.dir (default
3031
+ <parent>/<repo>-pool), wtpool.prepare (overrides the file's `prepare`).
3075
3032
 
3076
3033
  Exit codes:
3077
3034
  0 done
@@ -5581,59 +5538,6 @@ Options:
5581
5538
  Print help (see a summary with '-h')
5582
5539
  ```
5583
5540
 
5584
- ### car machine
5585
-
5586
- ```text
5587
- What coding sessions left on this machine: Docker containers, volumes, images, build cache and
5588
- builders, the Docker VM's host memory, and orphaned processes, each attributed to the session that
5589
- made it or marked unattributed. Needs a running daemon (`car doctor` shows a summary without one)
5590
-
5591
- Usage: car machine <COMMAND>
5592
-
5593
- Commands:
5594
- resources Docker containers, volumes, images, build cache and builders, the Docker VM's host
5595
- memory, and orphaned processes, each attributed to the coding session that made it or marked
5596
- unattributed
5597
- leftovers What ended coding sessions made that still exists, with sizes, and which of it would be
5598
- offered for removal (stopped containers and anonymous volumes nothing uses). Running containers
5599
- and named volumes are never offered
5600
- help Print this message or the help of the given subcommand(s)
5601
-
5602
- Options:
5603
- -h, --help Print help
5604
- ```
5605
-
5606
- #### car machine resources
5607
-
5608
- ```text
5609
- Docker containers, volumes, images, build cache and builders, the Docker VM's host memory, and
5610
- orphaned processes, each attributed to the coding session that made it or marked unattributed
5611
-
5612
- Usage: car machine resources [OPTIONS]
5613
-
5614
- Options:
5615
- --json Print the raw inventory JSON
5616
- -h, --help Print help
5617
- ```
5618
-
5619
- #### car machine leftovers
5620
-
5621
- ```text
5622
- What ended coding sessions made that still exists, with sizes, and which of it would be offered for
5623
- removal (stopped containers and anonymous volumes nothing uses). Running containers and named
5624
- volumes are never offered
5625
-
5626
- Usage: car machine leftovers [OPTIONS]
5627
-
5628
- Options:
5629
- --session <SESSION> One session, ended or not (its id, e.g. `claude-session-…`)
5630
- --json Print the raw report JSON
5631
- --remove Remove what is offered: lists exactly what will be removed, then asks.
5632
- Never a running container, a named volume or anything of a live session
5633
- --yes With --remove: do not ask
5634
- -h, --help Print help
5635
- ```
5636
-
5637
5541
  ### car mp
5638
5542
 
5639
5543
  ```text
package/docs/MCP.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # CAR as an MCP server
2
2
 
3
- > Describes CAR **0.64.0**. Check yours with `car --version`; if it
3
+ > Describes CAR **0.65.0-nightly.20261116.2**. Check yours with `car --version`; if it
4
4
  > differs, prefer `car help <command>` on your own binary over this page.
5
5
 
6
6
  Wire CAR's graph memory, skill storage, static plan verification, and policy
package/index.d.ts CHANGED
@@ -436,6 +436,12 @@ export interface CoderStartOptions {
436
436
  * network. An engine that cannot guarantee it refuses. Off by default.
437
437
  */
438
438
  isolateExternalNetwork?: boolean | undefined | null;
439
+ /**
440
+ * Let an external engine authenticate with an ambient provider API key
441
+ * (`ANTHROPIC_API_KEY`, `OPENAI_API_KEY`, ...). Off by default: those
442
+ * keys are removed and the engine uses its own login.
443
+ */
444
+ externalApiKeyCredential?: boolean | undefined | null;
439
445
  /**
440
446
  * Farm a **foreman** session's subtasks across every reachable CAR instance
441
447
  * that can serve this repository, instead of this machine alone. The
@@ -1007,9 +1013,15 @@ export class CarRuntime {
1007
1013
  /** Generated daemon wrapper for `feedback.compose_preview` (operator). */
1008
1014
  feedbackComposePreview(paramsJson: string): Promise<string>;
1009
1015
 
1016
+ /** Generated daemon wrapper for `feedback.export` (operator_only). */
1017
+ feedbackExport(paramsJson: string): Promise<string>;
1018
+
1010
1019
  /** Generated daemon wrapper for `feedback.list` (operator). */
1011
1020
  feedbackList(paramsJson: string): Promise<string>;
1012
1021
 
1022
+ /** Generated daemon wrapper for `feedback.remove` (operator_only). */
1023
+ feedbackRemove(paramsJson: string): Promise<string>;
1024
+
1013
1025
  /** Generated daemon wrapper for `feedback.status` (operator). */
1014
1026
  feedbackStatus(paramsJson: string): Promise<string>;
1015
1027
 
@@ -2608,7 +2620,13 @@ export class CarRuntime {
2608
2620
  *
2609
2621
  * `usage.reasoning_tokens` is present when the provider reports it
2610
2622
  * (OpenAI chat and Responses, non-streaming) and is a subset of
2611
- * `completion_tokens`.
2623
+ * `completion_tokens`. `usage.recovered_cost` (`{ provider_usd,
2624
+ * estimated_usd }`) is present only on a turn recovered from a discarded
2625
+ * thinking pass, beside `usage.reported_cost_usd`, which keeps provider
2626
+ * charges only: `estimated_usd` is the catalog price of each pass
2627
+ * without an accepted provider charge (no usage, or usage with a missing
2628
+ * or refused charge), each at its own model on its actual or estimated
2629
+ * usage, and `0.0` when the catalog has no price.
2612
2630
  *
2613
2631
  * `client_ref` is an opaque correlation token echoed verbatim in the
2614
2632
  * `inference.runner.invoke` payload and otherwise ignored by CAR. A
@@ -6322,7 +6340,8 @@ export function evolutionEvaluate(
6322
6340
  * component AND a patch that leaves model-facing text (`prompt_overlay`,
6323
6341
  * `tool_description_overlay`) alone. Returns `{ config, rollback }` (the
6324
6342
  * updated config and the inverse patch that restores it), or throws when
6325
- * refused.
6343
+ * refused. The patch is written as given; for a mutation computed against an
6344
+ * earlier config, use `evolutionApplyFrom`.
6326
6345
  */
6327
6346
  export function evolutionApply(
6328
6347
  configJson: string,
@@ -6331,6 +6350,22 @@ export function evolutionApply(
6331
6350
  humanApproved?: boolean,
6332
6351
  ): string;
6333
6352
 
6353
+ /**
6354
+ * `evolutionApply` for a mutation whose patch was computed against
6355
+ * `baseJson` (a `HarnessConfig`) rather than `configJson`: the patch is
6356
+ * rebased onto `configJson` first, so two approvals computed from the same
6357
+ * base both survive instead of the later one erasing the earlier.
6358
+ * Authorization is `evolutionApply`'s, unchanged. Returns
6359
+ * `{ config, rollback }`, or throws when refused.
6360
+ */
6361
+ export function evolutionApplyFrom(
6362
+ configJson: string,
6363
+ mutationJson: string,
6364
+ baseJson: string,
6365
+ decisionJson?: string | null,
6366
+ humanApproved?: boolean,
6367
+ ): string;
6368
+
6334
6369
  // --- Permission-tier gate (survey "Code as Agent Harness" §3.4.3, §5.2.5) ---
6335
6370
  //
6336
6371
  // The harness as safety governor: classify each action's risk tier
@@ -7134,6 +7169,8 @@ export function agentsHealthExternal(
7134
7169
  * "isolate_network"?: boolean, // no web, browser, connectors, MCP; shell offline
7135
7170
  * "isolate_config"?: boolean, // none of the user's CLI config (MCP, plugins,
7136
7171
  * // connectors, memory); keeps the web. Codex only
7172
+ * "api_key_credential"?: boolean, // authenticate with an API key, not the CLI's
7173
+ * // login; default false strips provider keys
7137
7174
  * "timeout_secs"?: number, // hard deadline (default 300s)
7138
7175
  * "mcp_endpoint"?: string, // MCP server URL passed via
7139
7176
  * // --mcp-config; daemon callers
@@ -7165,6 +7202,8 @@ export function agentsHealthExternal(
7165
7202
  * {
7166
7203
  * "answer": string, // final agent response
7167
7204
  * "session_id"?: string,
7205
+ * "api_key_source"?: string, // credential Claude Code used: "none" = its login, else the key's name
7206
+ * "credential"?: string, // what CAR selected: "login", "api_key" or "cloud"
7168
7207
  * "turns": number,
7169
7208
  * "tool_calls": number, // tool_use blocks observed
7170
7209
  * "duration_ms": number,
package/index.mjs CHANGED
@@ -56,6 +56,7 @@ export const ensureDreamTask = cjs.ensureDreamTask;
56
56
  export const equivalent = cjs.equivalent;
57
57
  export const evaluateGoal = cjs.evaluateGoal;
58
58
  export const evolutionApply = cjs.evolutionApply;
59
+ export const evolutionApplyFrom = cjs.evolutionApplyFrom;
59
60
  export const evolutionDiagnose = cjs.evolutionDiagnose;
60
61
  export const evolutionEvaluate = cjs.evolutionEvaluate;
61
62
  export const executeProposal = cjs.executeProposal;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "car-runtime",
3
- "version": "0.64.0",
3
+ "version": "0.65.0-nightly.20261116.2",
4
4
  "carProtocolVersion": 3,
5
5
  "description": "Common Agent Runtime — a deterministic execution layer for AI agents",
6
6
  "main": "index.js",