Skip to content

feat: Introduce core harness interfaces (Handler, Harness, Execution) - #16

Merged
rakyll merged 2 commits into
mainfrom
harness-interface-example-setup-20260521
May 21, 2026
Merged

rakyll merged 2 commits into
mainfrom
harness-interface-example-setup-20260521

Conversation

@anj-s

@anj-s anj-s commented May 21, 2026 •

Copy link
Copy Markdown
Collaborator

Add the core interfaces for the new execution harness package.
This includes:

  • Handler: interface with OnMessage and OnComplete callbacks for streaming turn execution outputs.
  • Harness: interface to start interactive execution sessions.
  • Execution: interface for managing conversational turns, message queue, IDs, and cleanup.

The full controller refactor will follow.

anj-s added 2 commits May 21, 2026 14:33
Add the core interfaces for the new execution harness package.
This includes:
- Handler: interface with OnMessage and OnComplete callbacks for streaming turn execution outputs.
- Harness: interface to start interactive execution sessions.
- Execution: interface for managing conversational turns, message queue, IDs, and cleanup.

TAG=agy
CONV=c1af32c9-35e7-4583-bbd2-3be946e45699
Update the Queue method signature on the Execution interface to accept
a variadic parameter of messages. This allows callers to queue a single
message or multiple messages in one go.

TAG=agy
CONV=c1af32c9-35e7-4583-bbd2-3be946e45699
@rakyll

rakyll commented May 21, 2026

Copy link
Copy Markdown
Member

Merging this, we need this for #3.

@rakyll
rakyll merged commit 2b8ac3a into main May 21, 2026
7 checks passed
@rakyll rakyll mentioned this pull request May 21, 2026
@anj-s
anj-s deleted the harness-interface-example-setup-20260521 branch June 17, 2026 22:21
rakyll pushed a commit that referenced this pull request Jul 21, 2026
…#16)

* feat: Introduce core harness interfaces (Handler, Harness, Execution)

Add the core interfaces for the new execution harness package.
This includes:
- Handler: interface with OnMessage and OnComplete callbacks for streaming turn execution outputs.
- Harness: interface to start interactive execution sessions.
- Execution: interface for managing conversational turns, message queue, IDs, and cleanup.

TAG=agy
CONV=c1af32c9-35e7-4583-bbd2-3be946e45699

* refactor: Make Queue parameter variadic for multi-message support

Update the Queue method signature on the Execution interface to accept
a variadic parameter of messages. This allows callers to queue a single
message or multiple messages in one go.

TAG=agy
CONV=c1af32c9-35e7-4583-bbd2-3be946e45699
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants