Skip to content

feat: complete the assistant's host-tool surface to match the REST management API - #7

Merged
danielglh merged 2 commits into
mainfrom
pr/host-tool-surface
Aug 27, 2026
Merged

feat: complete the assistant's host-tool surface to match the REST management API#7
danielglh merged 2 commits into
mainfrom
pr/host-tool-surface

Conversation

@danielglh

Copy link
Copy Markdown
Owner

Closes the gap noted after #6: the assistant's host tools now cover the full
REST session-management surface.

  • omp_web_create_session forwards approvalMode, model and
    resumeOmpSessionId (validated like the REST route — unknown approval
    modes are rejected with the same message)
  • new omp_web_start_session: starts/restarts an agent via the retry
    semantics shipped earlier, recovering errored/stopped sessions
  • new omp_web_rename_session
  • tool descriptions document every argument

Tests: 8 → 12 dispatcher tests (parameter passthrough into the registry,
REST-parity rejection, failed-spawn restart attempt, rename happy/missing/
invalid paths). Suite totals: server 109 + web 57, all green;
coverage gates pass.

…nagement API

omp_web_create_session now forwards approvalMode, model and
resumeOmpSessionId (validated like the REST route); two new tools —
omp_web_start_session (recovers errored/stopped sessions via the retry
semantics shipped earlier) and omp_web_rename_session. Tool descriptions
document every argument so the agent can use them without extra context.

Host-tool suite: 8 → 12 tests (parameter passthrough into the registry,
REST-parity rejection of unknown approval modes, failed-spawn restart
attempt, rename happy/missing/invalid paths).
…nagement API

omp_web_create_session now forwards approvalMode, model and
resumeOmpSessionId (validated like the REST route); two new tools —
omp_web_start_session (recovers errored/stopped sessions via the retry
semantics shipped earlier) and omp_web_rename_session. Tool descriptions
document every argument so the agent can use them without extra context.

Host-tool suite: 8 → 12 tests (parameter passthrough into the registry,
REST-parity rejection of unknown approval modes, failed-spawn restart
attempt, rename happy/missing/invalid paths).
@danielglh
danielglh merged commit 0abdbab into main Aug 27, 2026
1 check passed
@danielglh
danielglh deleted the pr/host-tool-surface branch August 27, 2026 08:42
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