@dreb/coding-agent 2.68.0 → 2.68.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/docs/rpc.md CHANGED
@@ -353,6 +353,8 @@ Response:
353
353
  - `main` — cost from main session files only
354
354
  - `subagent` — cost from sub-agent session files only
355
355
 
356
+ Scans every storage root the session can see: the built-in store, custom `sessionDir` roots, and the configured and legacy `subagentSessionDir` roots. See [settings](settings.md#sessions).
357
+
356
358
  #### get_messages
357
359
 
358
360
  Get all messages in the conversation.
package/docs/settings.md CHANGED
@@ -404,7 +404,7 @@ Dashboard host-wide inventory is deliberately different: it reads only the globa
404
404
 
405
405
  `subagentSessionDir` has no CLI flag and project settings cannot override it. Each AgentSession resolves the global value against its runtime cwd and uses it for new single, parallel, and chain child logs. If the configured root differs from the legacy `<agent-dir>/subagent-sessions` location, restart-time RPC rehydration scans the configured root first and the legacy root second, deduplicating canonical paths. This is discovery compatibility only: dreb does not move, copy, or delete old logs.
406
406
 
407
- Both settings accept the same path syntax: absolute paths stay absolute, `~` and `~/...` expand from the user home directory, and relative paths resolve against an explicit runtime base. That base is the main CLI cwd for CLI settings/flags/hooks, Dashboard's startup cwd for its global main inventory, and the AgentSession runtime cwd for `subagentSessionDir`. Empty or whitespace-only values are treated as unset. These roots affect transcripts only; they do not relocate credentials, `settings.json`, or other agent configuration.
407
+ Both settings accept the same path syntax: absolute paths stay absolute, `~` and `~/...` expand from the user home directory, and relative paths resolve against an explicit runtime base. That base is the main CLI cwd for CLI settings/flags/hooks, Dashboard's startup cwd for its global main inventory, and the AgentSession runtime cwd for `subagentSessionDir`. Empty or whitespace-only values are treated as unset. The footer / Dashboard daily cost ("today") sums today's transcripts from every root a session can see: the built-in nested store, the active session's flat root, the global and effective `sessionDir`, and both the configured and legacy subagent roots. Files reachable from more than one root are counted once. Sessions written to a project `sessionDir` that isn't visible from the current session are not counted. These roots affect transcripts only; they do not relocate credentials, `settings.json`, or other agent configuration.
408
408
 
409
409
  ### Model Cycling
410
410
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dreb/coding-agent",
3
- "version": "2.68.0",
3
+ "version": "2.68.1",
4
4
  "description": "Coding agent CLI with read, bash, edit, write tools and session management",
5
5
  "type": "module",
6
6
  "drebConfig": {