pi-mono/packages/coding-agent/src/core
Mario Zechner 240eb29c41 fix(coding-agent): append run-time custom messages after the turn's tool results
Extension messages sent with triggerTurn: false while the agent was
running were pushed into agent state and the session tree immediately,
landing between an assistant tool call and its result. Providers that
validate message order reject the replayed history. Queue them during
the run and append at turn_end, mirroring recordBashResult.

closes #8537
2026-08-25 12:14:10 +02:00
..
compaction fix(coding-agent): reject truncated compaction summaries closes #7048 2026-08-24 13:08:30 +02:00
export-html fix: upgrade marked to 18.0.5 2026-06-16 17:41:59 +02:00
extensions feat(coding-agent): add optional PowerShell tool (#8512) 2026-08-24 12:27:03 +02:00
tools feat(coding-agent): add optional PowerShell tool (#8512) 2026-08-24 12:27:03 +02:00
agent-session-runtime.ts ***WIP it's a PoC *** fix(coding-agent): guard tree navigation during responses (#7022) 2026-07-28 14:46:30 +02:00
agent-session-services.ts fix(coding-agent): make model refresh cancellation caller-owned 2026-08-04 00:03:52 +02:00
agent-session.ts fix(coding-agent): append run-time custom messages after the turn's tool results 2026-08-25 12:14:10 +02:00
auth-guidance.ts chore(ts): use source import extensions 2026-05-20 00:04:03 +02:00
auth-storage.ts fix(coding-agent): preserve managed state file permissions 2026-08-22 01:19:25 +02:00
bash-executor.ts chore(ts): use source import extensions 2026-05-20 00:04:03 +02:00
cache-stats.ts feat(coding-agent): replace model registry with model runtime 2026-07-14 17:48:45 +02:00
defaults.ts fix(coding-agent): keep model and thinking level changes session scoped (#8356) 2026-08-19 16:48:29 +02:00
diagnostics.ts refactor(coding-agent): unify SkillWarning and ResourceDiagnostic 2026-01-24 00:45:01 +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 chore(ts): use source import extensions 2026-05-20 00:04:03 +02:00
experimental.ts feat(ai): add strict tool schema conversion 2026-08-11 12:06:33 +02:00
footer-data-provider.ts docs(coding-agent): clarify custom footer usage APIs (#8482) 2026-08-23 23:34:08 +02:00
http-dispatcher.ts fix(coding-agent): increase connection attempt timeout (#7435) 2026-08-02 09:26:23 +02:00
index.ts fix(coding-agent): add settled agent lifecycle event 2026-07-09 12:42:08 +02:00
keybindings.ts fix(coding-agent): use Windows-friendly keybinding defaults 2026-08-23 23:30:16 +02:00
messages.ts chore: migrate pi packages to earendil works scope 2026-05-07 15:59:42 +02:00
model-config.ts fix(coding-agent): expose finish reason compatibility override (#8487) 2026-08-23 23:34:30 +02:00
model-registry.ts fix(coding-agent): preserve extension auth endpoints 2026-08-04 12:37:02 +02:00
model-resolver.ts fix(coding-agent): keep model and thinking level changes session scoped (#8356) 2026-08-19 16:48:29 +02:00
model-runtime.ts feat(coding-agent): add auth preflight 2026-08-06 19:43:52 +02:00
models-store.ts fix(coding-agent): normalize UTF-8 BOMs in text inputs 2026-08-19 14:11:02 +02:00
output-guard.ts fix(coding-agent): retry RPC stdout backpressure 2026-05-24 22:59:35 +02:00
package-manager.ts fix: reduce workspace dependency tree 2026-08-23 09:28:19 +02:00
pi-manifest.ts fix(coding-agent): normalize UTF-8 BOMs in text inputs 2026-08-19 14:11:02 +02:00
project-trust.ts fix(coding-agent): use APP_NAME in user-facing messages (#8067) 2026-08-14 11:26:20 +02:00
prompt-templates.ts fix(coding-agent): support all-argument prompt defaults closes #6695 2026-07-17 13:52:32 +02:00
provider-attribution.ts fix(coding-agent): remove Vercel AI Gateway attribution 2026-07-03 15:14:01 +02:00
provider-composer.ts fix(coding-agent): only label known subscriptions in footer 2026-08-06 07:47:35 +02:00
radius.ts feat(coding-agent): merge origin/main into model runtime facade 2026-07-15 12:25:36 +02:00
remote-catalog-provider.ts fix(coding-agent): retry hung model catalog requests 2026-08-17 12:55:56 +02:00
resolve-config-value.ts fix(coding-agent): run legacy WSL bash commands via stdin 2026-06-19 15:08:25 +02:00
resource-loader.ts fix(coding-agent): normalize UTF-8 BOMs in text inputs 2026-08-19 14:11:02 +02:00
runtime-credentials.ts fix(coding-agent): make model refresh cancellation caller-owned 2026-08-04 00:03:52 +02:00
sdk.ts feat(coding-agent): add optional PowerShell tool (#8512) 2026-08-24 12:27:03 +02:00
session-cwd.ts fix(coding-agent): handle missing session cwd 2026-04-05 21:24:32 +02:00
session-export.ts feat(coding-agent): include context in Radius session shares 2026-08-23 20:45:14 +02:00
session-manager.ts fix(coding-agent): preserve branch summary source leaf 2026-08-19 12:02:37 +02:00
settings-diagnostics.ts fix(coding-agent): report settings diagnostic paths 2026-08-19 13:07:53 +02:00
settings-manager.ts fix(coding-agent): keep model and thinking level changes session scoped (#8356) 2026-08-19 16:48:29 +02:00
skills.ts fix: dont load root mds as skills in settings (#8012) 2026-08-17 09:37:37 +02:00
slash-commands.ts fix(slash-commands): order tree above thinking 2026-08-21 16:14:10 +02:00
source-info.ts chore(ts): use source import extensions 2026-05-20 00:04:03 +02:00
system-prompt.ts feat(coding-agent): add optional PowerShell tool (#8512) 2026-08-24 12:27:03 +02:00
telemetry.ts chore(ts): use source import extensions 2026-05-20 00:04:03 +02:00
timings.ts fix(coding-agent): preserve extension timing measurements 2026-06-25 02:07:32 -05:00
trust-manager.ts fix(coding-agent): normalize UTF-8 BOMs in text inputs 2026-08-19 14:11:02 +02:00
usage-totals.ts fix: complete extension usage accounting 2026-07-20 17:06:22 +02:00