feat: complete the assistant's host-tool surface to match the REST management API - #7
Merged
Conversation
…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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes the gap noted after #6: the assistant's host tools now cover the full
REST session-management surface.
omp_web_create_sessionforwardsapprovalMode,modelandresumeOmpSessionId(validated like the REST route — unknown approvalmodes are rejected with the same message)
omp_web_start_session: starts/restarts an agent via the retrysemantics shipped earlier, recovering errored/stopped sessions
omp_web_rename_sessionTests: 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.