ti-code-core
v0.1.8
Published
Core domain models and tools for the Effect v4 native ti agent
Readme
ti-code-core
Core domain models, typed tool registry, bundled default tool plugin, and the
provider-neutral Agent service contract for ti-code.
This package is part of the ti-code workspace. It is published separately so
the CLI and future integrations can share the same Effect-native contracts.
Exports
ti-code-core- main package surface, including registry helpers and the bundledti-core-toolsplugin helpers.ti-code-core/agent- agent service boundary, event model, and deterministic test layer.ti-code-core/file-tools- built-in tool implementations.ti-code-core/json- JSON helpers and validation utilities.ti-code-core/code-mode- experimental Code Mode harness over the tool registry.ti-code-core/plugins- static plugin manifest, capability, profile, skill, host contracts, and a pure Codex-styleSKILL.mdcompatibility adapter.ti-code-core/types- shared message, session, and tool types.
Code Mode keeps raw tool outputs intact in traces. Use codemode.readJson(args)
or codemode.json.* helpers when a tool returns JSON text that should be parsed
inside the code-mode function.
The live agent loop implementation lives in ti-code-llm/agent-runtime so it
can depend on LanguageModel and provider-specific tool adapters without making
ti-code-core depend on providers.
Runtime
The public npm package targets Node.js 20 or newer. Self-contained no-Node
runtime binaries are distributed from GitHub Releases by the ti-code CLI
package.
