Skip to content

feat(server): accept host process runners - #55

Merged
chicoxyzzy merged 6 commits into
mainfrom
feat/host-configurable-server
Jul 17, 2026
Merged

feat(server): accept host process runners#55
chicoxyzzy merged 6 commits into
mainfrom
feat/host-configurable-server

Conversation

@chicoxyzzy

@chicoxyzzy chicoxyzzy commented Jul 17, 2026

Copy link
Copy Markdown
Member

What changed

  • Exports a server constructor that accepts a host-provided process runner.
  • Reports inline-image and embedded-context as unsupported so hosts use baseline ACP resource links for staged inputs.
  • Uses the merged toolkit contract for sanitized environments, pre-cancel no-launch behavior, attachment-history privacy, and complete Unix/Windows provider process-tree containment.
  • Updates package documentation for library consumers.

Why

Hecate needs to run this owned ACP server in-process while continuing to launch and supervise the vendor CLI as a child process with an exact executable path, sanitized environment, and bounded descendant lifecycle.

Impact

The standalone adapter binary keeps its existing launch and runtime behavior; its advertised optional prompt capabilities now accurately remain unsupported. Library consumers can own process launch policy without duplicating provider-specific session or protocol handling.

Validation

  • go test ./...
  • go vet ./...
  • go test -race -timeout 10m ./...
  • Windows test cross-build
  • Authenticated live smoke through Hecate's embedded runtime

Rebased onto current main; toolkit #28 is merged and pinned at canonical revision 8510f612270d.

Base automatically changed from fix/process-session-ids to main July 17, 2026 08:32
@chicoxyzzy
chicoxyzzy force-pushed the feat/host-configurable-server branch from d5b6427 to e28b045 Compare July 17, 2026 08:38
@chicoxyzzy
chicoxyzzy marked this pull request as ready for review July 17, 2026 08:39
@chicoxyzzy
chicoxyzzy merged commit 45882cb into main Jul 17, 2026
1 check passed
@chicoxyzzy
chicoxyzzy deleted the feat/host-configurable-server branch July 17, 2026 08:39
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.

1 participant