@crewhaus/event-log 0.1.3 → 0.1.4
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/package.json +3 -3
- package/src/index.ts +7 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crewhaus/event-log",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Append-only JSONL transcript log per session",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"test": "bun test src"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@crewhaus/errors": "0.1.
|
|
16
|
-
"@crewhaus/tenancy": "0.1.
|
|
15
|
+
"@crewhaus/errors": "0.1.4",
|
|
16
|
+
"@crewhaus/tenancy": "0.1.4"
|
|
17
17
|
},
|
|
18
18
|
"license": "Apache-2.0",
|
|
19
19
|
"author": {
|
package/src/index.ts
CHANGED
|
@@ -58,7 +58,13 @@ export type EventKind =
|
|
|
58
58
|
// `sub_agent_start/end` for Section-13 sub-agents.
|
|
59
59
|
| "a2a_turn_start"
|
|
60
60
|
| "a2a_turn_end"
|
|
61
|
-
| "crew_done"
|
|
61
|
+
| "crew_done"
|
|
62
|
+
// Section 27 — per-call cost accrual mirrored from the trace bus into the
|
|
63
|
+
// session JSONL (opt-in via CREWHAUS_COST_TRACKING) so
|
|
64
|
+
// `crewhaus cost-summary --session <id>` can sum spend after a run. It is not
|
|
65
|
+
// a conversational message, so `replayMessageHistory` ignores it and resume
|
|
66
|
+
// is unaffected.
|
|
67
|
+
| "cost_accrual";
|
|
62
68
|
|
|
63
69
|
export type Event = {
|
|
64
70
|
readonly ts: number;
|