New
Release v1.5.0
What's Changed
- graph: nested subgraph HITL interrupt resume by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1027
- evaluation: support any JSON values for tool arguments/result by @Flash-LHR in https://github.com/trpc-group/trpc-agent-go/pull/1055
- tool/codeexec: add tool for LLM to execute code via toolcall by @bytethm in https://github.com/trpc-group/trpc-agent-go/pull/1046
- evaluation: support trace evaluation mode by @Flash-LHR in https://github.com/trpc-group/trpc-agent-go/pull/1062
- fix(trace): simplify JSON marshaling for invocation messages by @liuzengh in https://github.com/trpc-group/trpc-agent-go/pull/1064
- model/openai: stabilize tool call indices for streaming by @Flash-LHR in https://github.com/trpc-group/trpc-agent-go/pull/1075
- {graph, tool}: preserve tool result on interrupt by @Flash-LHR in https://github.com/trpc-group/trpc-agent-go/pull/1078
- llmflow: return context from callLLM to help passing context-info from before to after model callback by @liuzengh in https://github.com/trpc-group/trpc-agent-go/pull/1057
- docs: clarify agent-node data passing by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1060
- {server/agui, agent, docs, examples}: support external tool for AG-UI by @Flash-LHR in https://github.com/trpc-group/trpc-agent-go/pull/1066
- graph: add call options for generation config by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1065
- {graph, docs}: cap executor task concurrency by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1058
- graph: add static interrupts before/after nodes by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1052
- docs: expand CycleAgent escalation function by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1056
- evaluation: keep report generation when cases fail by @Flash-LHR in https://github.com/trpc-group/trpc-agent-go/pull/1071
- {docs, session}: update summary job timeout to 60 seconds in session configurations by @Rememorio in https://github.com/trpc-group/trpc-agent-go/pull/1068
- {.github, graph}: remove only-new-issues for golangci and refactor func by @Rememorio in https://github.com/trpc-group/trpc-agent-go/pull/1061
- docs: explain graph node custom event payload by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1076
- model/gemini: keep tool calls when part text is empty by @Flash-LHR in https://github.com/trpc-group/trpc-agent-go/pull/1089
- event: improve context error logging in event emission by @Rememorio in https://github.com/trpc-group/trpc-agent-go/pull/1086
- examples: implement ConsecutiveUserMessageHook for handling consecutive user messages by @Rememorio in https://github.com/trpc-group/trpc-agent-go/pull/1085
- {agent, graph, internal}: add tool call arguments JSON repair option by @Flash-LHR in https://github.com/trpc-group/trpc-agent-go/pull/1082
- graph: fix tool callback not effective in AddToolsNode by @Rememorio in https://github.com/trpc-group/trpc-agent-go/pull/1077
- graph: add time travel edit-state API by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1063
- tool/skill: harden skill_run outputs and cwd by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1073
- knowledge: add openai embedder retry option, fix issue on DocumentID parallel generation by @hyprh in https://github.com/trpc-group/trpc-agent-go/pull/1091
- Planner: enhance react planner process logic by @sandyskies in https://github.com/trpc-group/trpc-agent-go/pull/1079
- benchamrk: add gaia benchmark by @sandyskies in https://github.com/trpc-group/trpc-agent-go/pull/1081
- session: refactor Close methods to ensure proper resource cleanup by @Rememorio in https://github.com/trpc-group/trpc-agent-go/pull/1094
- internal/jsonrepair: log tool call arguments JSON repair by @Flash-LHR in https://github.com/trpc-group/trpc-agent-go/pull/1093
- {server/agui, docs}: add outermost-only graph interrupt activity option by @Flash-LHR in https://github.com/trpc-group/trpc-agent-go/pull/1095
- memory: impl pgvector memory service by @Rememorio in https://github.com/trpc-group/trpc-agent-go/pull/1051
- evaluation: add deterministic final response evaluator by @Flash-LHR in https://github.com/trpc-group/trpc-agent-go/pull/1097
- examples: use GetSessionHook to deal with event persistence instead of AppendEventHook by @Rememorio in https://github.com/trpc-group/trpc-agent-go/pull/1092
- graph: remove createTask debug logging by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1098
- agent/graphagent: return error on nil invocation by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1099
- docs: align subgraph filterKey examples by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1101
- docs: clarify BSP supersteps and streaming parsing by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1104
- checkpoint/redis: downgrade go-redis to v9.16.0 by @bytethm in https://github.com/trpc-group/trpc-agent-go/pull/1107
- {graph, internal, tool}: graph agent interrupt/resume from tool call by @gy40308 in https://github.com/trpc-group/trpc-agent-go/pull/1090
- knowledge: support custom file type of source by @hyprh in https://github.com/trpc-group/trpc-agent-go/pull/1102
- agent: enhance A2A and Dify agents to support per-run streaming overrides by @liuzengh in https://github.com/trpc-group/trpc-agent-go/pull/1111
- {.github, examples}: add internal package validation script and refactor skill example by @Rememorio in https://github.com/trpc-group/trpc-agent-go/pull/1108
- graph: fix channel step marks by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1103
- session/summarizer: enhance summarizer tool call and result formatting options by @Rememorio in https://github.com/trpc-group/trpc-agent-go/pull/1114
- graph: add WithExecutorOptions to GraphAgent for advanced executor configuration by @bytethm in https://github.com/trpc-group/trpc-agent-go/pull/1110
- Plugin: add toolsearch Plugin for dynamic tool selection by @liuzengh in https://github.com/trpc-group/trpc-agent-go/pull/1001
- graph: fix cache key selector handling by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1117
- session: enhance error handling in summarization by @Rememorio in https://github.com/trpc-group/trpc-agent-go/pull/1119
- session: support remove recent conversation for redis session by @hyprh in https://github.com/trpc-group/trpc-agent-go/pull/1017
- skill: prefer progressive disclosure by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1120
- agent: update error type handling in A2A and LLM agents by @liuzengh in https://github.com/trpc-group/trpc-agent-go/pull/1124
- telemetry/errs: add ToResponseError and ToErrorType by @liuzengh in https://github.com/trpc-group/trpc-agent-go/pull/1129
- processor: optimize system prompt ordering for caching by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1116
- tool/skill: avoid host workspace mutations by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1126
- benchmark: anthropic skills benchmark by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1115
- graph: external interrupt (pause button) by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1127
- model/openai: enable cache optimization by default by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1131
- session: support custom redis key prefix by @hyprh in https://github.com/trpc-group/trpc-agent-go/pull/1121
- session/redis: fix TrimConversations key helpers by @Flash-LHR in https://github.com/trpc-group/trpc-agent-go/pull/1133
- tool/codeexec: update code execution input and output structures by @liuzengh in https://github.com/trpc-group/trpc-agent-go/pull/1083
- graph: reject unknown conditional routing targets by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1122
- {evaluation, docs, examples}: support evaluation callbacks by @Flash-LHR in https://github.com/trpc-group/trpc-agent-go/pull/1130
- planner/react: prevent premature termination on intent-only responses by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1100
- tool/skill: require runner for workspace cleanup by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1138
- graph: fail resume on checkpoint load errors by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1123
- docs/examples: add A2A multi-path hosting example by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1140
- memory: return defensive copy of precomputed tools by @Rememorio in https://github.com/trpc-group/trpc-agent-go/pull/1144
- evaluation: add StartTime to after callbacks by @Flash-LHR in https://github.com/trpc-group/trpc-agent-go/pull/1143
- model: implement message validation and fixing logic by @Rememorio in https://github.com/trpc-group/trpc-agent-go/pull/1137
- benchmark: add session summary evaluation by @Rememorio in https://github.com/trpc-group/trpc-agent-go/pull/1125
- docs/examples: document how to cancel a run by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1147
- team/swarm: add cross-request transfer option by @bytethm in https://github.com/trpc-group/trpc-agent-go/pull/1145
- tool/skill: support metadata-only output_files by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1141
- skill: add SkillLoadMode for automatic offloading by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1136
- knowledge: add chunking strategy example and doc by @hyprh in https://github.com/trpc-group/trpc-agent-go/pull/1135
- graph: support per-node user input key by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1128
- {server/agui, docs, examples}: add message snapshot continuation by @Flash-LHR in https://github.com/trpc-group/trpc-agent-go/pull/1149
- evaluation: expose context messages in invocations by @Flash-LHR in https://github.com/trpc-group/trpc-agent-go/pull/1148
- fix tool hook res ignore && invocation get parent by @gy40308 in https://github.com/trpc-group/trpc-agent-go/pull/1146
- docs: fix formatting in benchmark reports by @Rememorio in https://github.com/trpc-group/trpc-agent-go/pull/1156
- tool/skill: omit non-text inline content by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1157
- llmagent: make code execution processor optional by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1139
- session/inmemory: apply filters to track events by @Flash-LHR in https://github.com/trpc-group/trpc-agent-go/pull/1150
- model/gemini: update ObjectTypeChatCompletion and ObjectTypeChatCompletionChunk by @liuzengh in https://github.com/trpc-group/trpc-agent-go/pull/1158
- evaluation: persist multi-run results into a single evalset result by @Flash-LHR in https://github.com/trpc-group/trpc-agent-go/pull/1153
- processor: allow tools with structured output by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1152
- skill: discourage generic shell commands in skill_run by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1155
- examples: remove extra newline in chunking preview by @Flash-LHR in https://github.com/trpc-group/trpc-agent-go/pull/1162
- model/hunyuan: force tcp4 for httptest servers by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1161
- skill: prevent skill_run cwd traversal by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1163
- {planner, docs, examples}: add RalphLoop planner mode by @WineChord in https://github.com/trpc-group/trpc-agent-go/pull/1039
- knowledge: remove dimension validation of pgvector by @hyprh in https://github.com/trpc-group/trpc-agent-go/pull/1166
- {.github, benchmark, examples}: isolate Git LFS content from module sums by @Flash-LHR in https://github.com/trpc-group/trpc-agent-go/pull/1167
- examples: fix parameter typo in toolsearch report by @Flash-LHR in https://github.com/trpc-group/trpc-agent-go/pull/1160
- model/provider: correct callbacks to Gemini in provider by @Rememorio in https://github.com/trpc-group/trpc-agent-go/pull/1168
- plugin: update tool search example and test report by @liuzengh in https://github.com/trpc-group/trpc-agent-go/pull/1151
- session/summary: enhance event and token threshold checkers with delta filtering by @Rememorio in https://github.com/trpc-group/trpc-agent-go/pull/1165
- React: refine react prompt by @sandyskies in https://github.com/trpc-group/trpc-agent-go/pull/1105
- evaluation: add pass metrics and expose EvalSetResult by @Flash-LHR in https://github.com/trpc-group/trpc-agent-go/pull/1170
New Contributors
- @gy40308 made their first contribution in https://github.com/trpc-group/trpc-agent-go/pull/1090
Full Changelog: https://github.com/trpc-group/trpc-agent-go/compare/v1.2.0...v1.5.0