c3d6a384a652547d66369bdbb2d0bf7336331b89
Three P1s from code review of PR #476: finalize sent the authoritative reply through the same cancellable turnCtx a /stop kills, so a stop landing mid-finalize stranded the live message with its cursor forever; abandon had the identical hazard, saved only by its one caller wrapping the context correctly. Both now strip cancellation internally (context.WithoutCancel) rather than trusting callers to remember. Tool activity lines were composed unescaped into the same Markdown body as the model's own reply, so a stray '*', '_', or backtick in tool output/parameters could unbalance the whole message and take the reply's formatting down with it. ToolCall now runs name, parameters, and summary through bot.EscapeMarkdown before joining the line. splitLongMessage sliced oversized lines on byte offsets, cutting mid-rune for any multi-byte UTF-8 line crossing the 4000-byte bound (CJK, emoji) and producing invalid UTF-8 parts. It now counts and slices on runes throughout. Regression tests cover all four paths, verified red-then-green against the pre-fix code.
Description
Archie connects events from your systems to agents that can investigate, reason, and act.
Define what an event means, map its data into a workflow, and give that workflow an agent equipped for the job: its own execution environment, tools, and identity.
https://archie.catlow.cloud
133 MiB
0 Stars
1 Watchers
0 Forks
Releases
11
Archie v1.62.0
Latest
Languages
Go
76.8%
Vue
13.1%
TypeScript
7.8%
JavaScript
1.2%
Shell
0.6%
Other
0.4%