co-mono/packages/coding-agent/src/core
Mario Zechner b1fb910625 refactor(coding-agent): unify tool and event handler context creation
Tools now use ExtensionRunner.createContext() instead of a separate
inline context factory. This ensures tools and event handlers share
the same context, fixing ctx.shutdown() and other context methods.

- Made ExtensionRunner.createContext() public
- Changed wrapRegisteredTools to accept ExtensionRunner instead of getContext callback
- Create ExtensionRunner when SDK custom tools are present (not just extensions)
- Removed redundant inline context factory from sdk.ts
2026-01-08 03:45:39 +01:00
..
compaction Merge hooks and custom-tools into unified extensions system (#454) 2026-01-05 01:43:35 +01:00
export-html Show the bridge prompt as a standalone thing 2026-01-06 22:38:17 +01:00
extensions refactor(coding-agent): unify tool and event handler context creation 2026-01-08 03:45:39 +01:00
tools Export truncation utilities for custom tools, add truncated-tool example 2026-01-06 22:13:08 +01:00
agent-session.ts Fix compaction UX oddities when model switching (#535) 2026-01-07 16:50:18 +01:00
auth-storage.ts fix: OAuth token refresh failure returns undefined instead of throwing 2026-01-06 20:57:42 +01:00
bash-executor.ts fix(coding-agent): resolved UTF-8 corruption in bash executor output (#433) 2026-01-04 03:15:50 +01:00
event-bus.ts Fix event bus async error handling, clear pending messages on session switch, improve SDK docs 2026-01-04 22:04:50 +01:00
exec.ts Merge hooks and custom-tools into unified extensions system (#454) 2026-01-05 01:43:35 +01:00
index.ts refactor(coding-agent): simplify extension runtime architecture 2026-01-07 23:50:18 +01:00
keybindings.ts feat: configurable keybindings for all editor and app actions 2026-01-03 08:23:56 +01:00
messages.ts Merge hooks and custom-tools into unified extensions system (#454) 2026-01-05 01:43:35 +01:00
model-registry.ts fix: clean up Codex thinking level handling 2026-01-05 21:58:26 +01:00
model-resolver.ts fix: use defaultThinkingLevel from settings when enabledModels lacks explicit suffix (#540) 2026-01-07 18:11:03 +01:00
prompt-templates.ts Merge hooks and custom-tools into unified extensions system (#454) 2026-01-05 01:43:35 +01:00
sdk.ts refactor(coding-agent): unify tool and event handler context creation 2026-01-08 03:45:39 +01:00
session-manager.ts Merge hooks and custom-tools into unified extensions system (#454) 2026-01-05 01:43:35 +01:00
settings-manager.ts feat: add thinkingBudgets option to customize token budgets 2026-01-07 15:13:26 +03:00
skills.ts Skip over exact duplicate skills 2025-12-24 22:45:19 +01:00
system-prompt.ts Add ExtensionAPI methods, preset example, and TUI documentation improvements 2026-01-06 23:24:23 +01:00
timings.ts Release v0.27.1 2025-12-22 19:28:26 +01:00