Repository navigation
Conversation
- @tyto/llm: chatWithTools (OpenAI-compatible chat with tool calls, no vendor SDK) and a configurable request timeout; parameter properties replaced with fields so the CLI can run the sources directly (erasableSyntaxOnly now enforced for llm too). - @tyto/compiler: OpenAiCompatCompiler — a tool loop whose only tool runs `tyto compile-tool` with an argv array (never a shell) and stdin for drafts; shares the private work folder with the Claude compiler. - cli: TYTO_COMPILER=claude (default) | openai with TYTO_BASE_URL, TYTO_MODEL, optional TYTO_API_KEY; resolved lazily so a bad setting only affects compile and repair. Verified live with a local model (Qwen3-coder 30B via Ollama, $0): the loopback compile test passes in 42 s, and the real Wikipedia task compiled in 194 s then answered 6/6 species correctly with no model. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
Stacked on #12. Spec sentences are in
docs/IMPLEMENTATION.md§4 Slice 9. This is the last slice of the rebuild plan.What
@tyto/llmchatWithTools: OpenAI-compatible chat with tool calls, no vendor SDK.erasableSyntaxOnlyis now enforced for llm too.@tyto/compiler:OpenAiCompatCompiler, a tool loop whose only tool runstyto compile-tool:d1; touch …and$(id)passed literally);TYTO_COMPILER=claude(default) oropenai, withTYTO_BASE_URL,TYTO_MODELand optionalTYTO_API_KEY. Resolved lazily, so a bad setting only affects compile and repair.Verified live with a local model (Qwen3-coder 30B via Ollama, $0)
Tests
npm run check: 23 files, 175 tests, typecheck clean, gitleaks clean.🤖 Generated with Claude Code