ace-herdr 0.8.1 → 0.9.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3941b27b9b021af12c7398dd2007cce7816a3353bd2a6835a9958d9d4e996d0b
4
- data.tar.gz: fa7ff918b46680fd0f5f7745917a9a7f9c36d2b18707e3e8fc13102fd40f23b7
3
+ metadata.gz: f3c832e03a65b1e294f84d843966554e2018db81ec39a13ed508d4f68bb8ae07
4
+ data.tar.gz: 2c7170d346c932c50c2d881fb528733bee63b2fa79073340ad64a8c2036f8e9e
5
5
  SHA512:
6
- metadata.gz: 3fc92a81e4165d8f015932c1da9787f344198d1e99a17519a0aaf640e71028ba26917985b7fa615a70ee4ca1cbd11df87afb0b05479200659299e690af05c2b1
7
- data.tar.gz: f732a3b7fce224517f4f3d3f9bdcd1a0e5ac1bba6923f6d6783699a5ca4b6f02c2f6c6e8f484b1f117a0e20b7dcd996d4f3fa6953d7c1c5a2c486c0fdf9922a2
6
+ metadata.gz: c9c513a7de5c8224c73e597f133b70ed6a99aa70f70292d7c1774b789ac3a2b570f5452f19e35cbd780c29fb392edd683da46ddf2a3256035bd911bc16533cbd
7
+ data.tar.gz: 071d1908f3bd701b9b516d5d7100f68a830b7eb2cd153129660c66afb08730e2f135127daf68326186479c93e6a58d4de294361293f07d561fb156aa6d19881a
data/CHANGELOG.md CHANGED
@@ -5,7 +5,13 @@ All notable changes to `ace-herdr` will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
- ## [Unreleased]
8
+ ## [0.9.0] - 2026-10-30
9
+
10
+ ### Changed
11
+
12
+ - `HerdrExecutor#agent_start` accepts harness passthrough `args:` forwarded
13
+ after `--` (model/thinking/standing-instruction flags), used by
14
+ `ace-overseer start` (8xs.t.pu0.1).
9
15
 
10
16
  ## [0.8.1] - 2026-10-20
11
17
 
@@ -52,15 +52,28 @@ module Ace
52
52
 
53
53
  # Start an agent in a pane at an interactive shell prompt.
54
54
  # Success means the agent was detected and is ready for input.
55
- def agent_start(name:, kind:, pane:, timeout_ms:)
56
- run!([@binary, "agent", "start", name, "--kind", kind,
57
- "--pane", pane, "--timeout", timeout_ms.to_s])
55
+ # `args` are harness passthrough arguments forwarded verbatim
56
+ # after `--` (e.g. pi's --model/--thinking/--append-system-prompt;
57
+ # the overseer start contract, 8xs.t.pu0.1).
58
+ def agent_start(name:, kind:, pane:, timeout_ms:, args: [])
59
+ cmd = [@binary, "agent", "start", name, "--kind", kind,
60
+ "--pane", pane, "--timeout", timeout_ms.to_s]
61
+ cmd += ["--", *args] unless args.empty?
62
+ run!(cmd)
58
63
  end
59
64
 
60
65
  # Submit a prompt to the agent in a pane (push delivery). herdr
61
- # rejects blocked agents pre-send with agent_blocked.
62
- def agent_prompt(pane:, text:)
63
- run!([@binary, "agent", "prompt", pane, text])
66
+ # rejects blocked agents pre-send with agent_blocked. With
67
+ # wait: herdr's activity gate applies — a prompt sent from a
68
+ # non-working state must produce observed working/blocked
69
+ # activity, so success confirms the turn actually began
70
+ # (agent_prompt_stalled / timeout otherwise; timeout_ms bounds
71
+ # the wait).
72
+ def agent_prompt(pane:, text:, wait: false, timeout_ms: nil)
73
+ cmd = [@binary, "agent", "prompt", pane, text]
74
+ cmd += ["--wait"] if wait
75
+ cmd += ["--timeout", timeout_ms.to_s] if timeout_ms
76
+ run!(cmd)
64
77
  end
65
78
 
66
79
  # A bounded, payload-free wake. The child deadline is managed by
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ace
4
4
  module Herdr
5
- VERSION = "0.8.1"
5
+ VERSION = "0.9.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ace-herdr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michal Czyz
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2026-10-20 00:00:00.000000000 Z
10
+ date: 2026-10-30 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: websocket-driver