@operad-io/harness-radian 0.2.0 → 0.3.0

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/package.json +4 -4
  2. package/src/index.ts +4 -0
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@operad-io/harness-radian",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./src/index.ts"
7
7
  },
8
8
  "dependencies": {
9
- "@operad-io/access-match": "0.2.0",
10
- "@operad-io/engine": "0.2.0",
11
- "@operad-io/harness-process": "0.2.0"
9
+ "@operad-io/access-match": "0.3.0",
10
+ "@operad-io/engine": "0.3.0",
11
+ "@operad-io/harness-process": "0.3.0"
12
12
  },
13
13
  "description": "operad: the radian harness",
14
14
  "repository": {
package/src/index.ts CHANGED
@@ -52,6 +52,7 @@ import {
52
52
  personStarted,
53
53
  resultFor,
54
54
  runAgent,
55
+ skippedLineRecord,
55
56
  systemClock,
56
57
  type Clock,
57
58
  type ToolEvent,
@@ -613,6 +614,9 @@ export function createRadianHarnessPlugin(settings: RadianHarnessSettings = {})
613
614
  clock: defaults.clock,
614
615
  toolEvent: radianToolEvent,
615
616
  onStart: writeSession,
617
+ onSkipped: (chars) => {
618
+ void jsonl.pushStamped(jsonl.stamp(skippedLineRecord(chars)));
619
+ },
616
620
  onLine(line) {
617
621
  const logged = radianLogLine(line, defaults.now, openTools, cwd, logProfile, logSecrets);
618
622
  const received = jsonl.stamp(logged);