Repository navigation
feat(harness): add EffectTS tool layer starting with pluggable bash tool - #6
Merged
Merged
Conversation
chore(harness): bump effect 4.0.0-beta.86 Implement the agent tool layer - Tool.define/make/implement + Effect Schema as the source of truth; toAikitTool derives a provider-safe JSON Schema for the aikit wire - Executor pipeline: decode -> run (scoped, interruptible) -> encode into aikit's content/details; failureMode "return" (tool error result) vs "error" (propagates to the error channel); aborted on interrupt; defects on undeclared failures; fails fast on duplicate tool names - ToolShell capability with swappable backends: local (real OS shell on Effect's ChildProcessSpawner, with an explicit SIGTERM->SIGKILL escalation finalizer so timeout/interrupt is a hard bound) and fromSandboxShell (just-bash / remote). forceKillAfter is per-call or adapter default - ToolProgress service (noop layer); truncate utils ported from pi - bash tool (buffered variant A) — backend swapped via layer, no tool change
Vercel exec now runs detached and kills the remote process on interrupt/timeout; adds optional ISandboxExe.stream (Vercel via Command.logs) bridged to ToolShell.stream.
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.
No description provided.