Mauro
cc4055b6d4
Merge pull request #3129 from chengzhichao-xydt/codex/tts-close-error
...
fix(tts): explicitly ignore file.Close() error in write error path
2026-06-16 22:08:10 +02:00
Mauro
86221d470b
Merge pull request #3135 from ZOOWH/fix/3110-telegram-forum-thread-id
...
fix(telegram): use compositeChatID in InboundContext.ChatID for forum topics
2026-06-16 22:06:31 +02:00
Mauro
e720be0dd7
Merge pull request #3132 from SiYue-ZO/fix/goroutine-recover
...
fix: add panic recovery to core-path goroutines
2026-06-16 22:05:31 +02:00
Mauro
c9f5872e02
Merge pull request #3130 from chengzhichao-xydt/codex/seahorse-marshal-errors
...
fix(seahorse): handle json.Marshal errors in grep and expand tools
2026-06-16 22:04:45 +02:00
徐闻涵0668001344
7019143c8e
fix(telegram): use compositeChatID in InboundContext.ChatID for forum topics
...
When handling inbound Telegram messages from forum topics, InboundContext.ChatID was set to the plain chat ID (without thread). This caused outbound messages to lose the thread routing, sending replies to the General topic instead of the specific forum topic — even though typing indicators correctly targeted the right thread because StartTyping received the compositeChatID.
The fix sets InboundContext.ChatID to compositeChatID (chatID/threadID format) for forum messages, matching the format already used for session routing and typing indicators. TopicID is still preserved as a redundant fallback for any path that strips the composite format.
Closes #3110
2026-06-16 20:43:37 +08:00
Guoguo
083e68b49a
docs: add PicoPaw banners to READMEs ( #3096 )
2026-06-16 10:17:21 +08:00
SiYue-ZO
fcc2882ffa
fix: resolve golines lint issue in subscription.go
...
Split long log.Printf lines to comply with 120-char line length limit.
2026-06-16 00:53:18 +08:00
SiYue-ZO
b292defd95
fix: add panic recovery to core-path goroutines
...
Add defer-recover to 11 goroutines across 4 files to prevent
ungoroutine panics from crashing the entire process:
- pkg/tools/toolloop.go: parallel tool execution
- pkg/channels/manager.go: HTTP server (x2), channel registration
- pkg/events/subscription.go: concurrent dispatch, timeout handler,
watchContext
- pkg/tools/shell.go: cmd.Wait, PTY cmd.Wait, PTY read, pipe read
Key design decisions:
- Recover handlers send fallback values to channels (shell done,
subscription done) to prevent deadlocks when the producer panics
- PTY cmd.Wait sets session.Status='error' on panic for consistency
- toolloop sets ErrorResult on panic so the LLM gets a meaningful
response instead of a nil result
- subscription.go uses log.Printf to match existing invokeHandler style
- Other files use project logger (ErrorCF) with stack traces
Refs: FIX-PLAN-0.3.0 #2
2026-06-15 23:06:11 +08:00
程智超0668000959
ed55715b6b
fix(seahorse): handle json.Marshal errors in grep and expand tools
2026-06-15 20:31:34 +08:00
程智超0668000959
2f8c462366
fix(tts): explicitly ignore file.Close() error in write error path
2026-06-15 20:30:09 +08:00
lc6464
c1ff5aa6f4
chore: remove unused chat send hint translations
2026-06-15 16:26:22 +08:00
lc6464
dc746fbe66
refactor: soften chat composer hint
2026-06-15 16:26:22 +08:00
lc6464
890f4d6bcb
feat: add shift-enter hint below chat composer
2026-06-15 16:26:22 +08:00
LC
42ece2aceb
fix(web): improve launcher allowlist bypass diagnostics ( #3126 )
2026-06-15 16:16:25 +08:00
Mauro
13a38bd1c4
Merge pull request #2904 from SiYue-ZO/feature/fix-agent-loop-stability
...
Fix agent loop reload and panic cleanup stability
2026-06-14 21:22:53 +02:00
Mauro
7b2e0ccfc7
Merge pull request #3124 from chengzhichao-xydt/codex/tts-readall-error
...
fix(tts): handle io.ReadAll error in error response path
2026-06-14 21:22:01 +02:00
Mauro
5e415ed210
Merge pull request #3123 from chengzhichao-xydt/codex/filesystem-dirfile-close
...
fix(filesystem): explicitly ignore Close() error on directory file descriptor
2026-06-14 21:21:46 +02:00
Mauro
647543bd26
Merge pull request #3122 from chengzhichao-xydt/codex/evolution-store-close
...
fix(evolution): capture Close() error on write file in appendJSONLRecords
2026-06-14 21:21:30 +02:00
Mauro
73738f1cd3
Merge pull request #3121 from chengzhichao-xydt/codex/openai-stream-logger
...
refactor(openai_compat): replace log.Printf with structured logger
2026-06-14 21:18:40 +02:00
SiYue-ZO
8290c72d44
fix(agent): replace WaitGroup with Cond-based counter and conditionalize panic cleanup
...
Two concurrency bugs identified in PR #2904 review:
1. Replace sync.WaitGroup with sync.Cond-based activeReqCount to avoid
the "WaitGroup is reused before previous Wait has returned" panic that
occurs when Add(1) races with a goroutine-launched Wait().
2. Make panic cleanup conditional: when runTurn panics, only delete the
session's activeTurnStates entry if it still points to our placeholder.
Previously, an unconditional delete could wipe a new message's slot
claimed between the panic and the deferred cleanup.
2026-06-15 01:32:13 +08:00
程智超0668000959
e567f1faa1
fix(tts): handle io.ReadAll error in error response path
2026-06-14 23:46:13 +08:00
程智超0668000959
df753aaebf
fix(filesystem): explicitly ignore Close() error on directory file descriptor
2026-06-14 23:45:48 +08:00
程智超0668000959
7d71a4d93f
fix(evolution): capture Close() error on write file in appendJSONLRecords
2026-06-14 23:42:44 +08:00
程智超0668000959
97039b259e
refactor(openai_compat): replace log.Printf with structured logger
2026-06-14 23:41:48 +08:00
Mauro
cf67dd3851
Merge pull request #3065 from chengzhichao-xydt/codex/short-engine-close-errors
...
fix(seahorse): explicitly ignore Close() errors on PRAGMA/migration failure paths
2026-06-13 18:19:35 +02:00
Mauro
f091c04ca9
Merge pull request #3066 from chengzhichao-xydt/codex/tmpfile-close-errors
...
fix: explicitly ignore Close() errors on temp file write/sync failure paths
2026-06-13 18:18:47 +02:00
Mauro
0bfb13c0df
Merge pull request #3119 from not-the-author/fix/tts-openrouter-fallback-and-docs
...
fix(tts): support OpenRouter voice overrides and fallback
2026-06-13 18:15:30 +02:00
Mauro
15196b9cc9
Merge pull request #3117 from not-the-author/codex/fix-vision-routing-and-onboard-embed
...
fix(agent): route media turns to image models
2026-06-13 18:03:40 +02:00
not-the-author
d44fa890e4
fix lint
2026-06-13 16:07:45 +02:00
not-the-author
f087d8358b
fix lint
2026-06-13 15:31:08 +02:00
not-the-author
c180590799
fix(tts): support OpenRouter voice overrides and fallback
2026-06-13 15:07:21 +02:00
not-the-author
f3d4555bc9
fix(agent): keep media routing scoped to current turn
2026-06-13 11:38:08 +02:00
not-the-author
adb89a16b9
fix(agent): limit media routing to the active turn
2026-06-13 00:25:45 +02:00
not-the-author
58926f76b9
fix(agent): route resolved user attachments to image models
2026-06-12 23:11:42 +02:00
not-the-author
9fd0dbda96
fix(agent): route media turns to image models and embed onboard workspace
2026-06-12 22:33:51 +02:00
Mauro
c362114cf1
Merge pull request #3113 from chengzhichao-xydt/codex/manager-channel-marshal-errors
...
fix(channels): check json marshal/unmarshal errors in toChannelHashes
2026-06-12 13:17:00 +02:00
Mauro
d8c0b783a8
Merge pull request #3112 from chengzhichao-xydt/codex/toolloop-marshal-error-check
...
fix(tools): handle json.Marshal error in toolloop tool call arguments
2026-06-12 13:16:33 +02:00
程智超0668000959
7338df2cfb
fix(channels): check json marshal/unmarshal errors in toChannelHashes
...
Replace silently discarded json.Marshal and json.Unmarshal errors with
explicit checks. If serialization fails, log a warning and either
return early (for the config-level marshal/unmarshal) or skip the
channel (for per-channel marshal). This prevents silent data loss
when channel configuration contains unexpected types.
2026-06-12 14:18:28 +08:00
程智超0668000959
1719067aca
fix(tools): handle json.Marshal error in toolloop tool call arguments
2026-06-12 14:16:18 +08:00
Mauro
413d37494b
Merge pull request #2957 from loafoe/fix/tool-calls-filtering
...
fix(channels): prevent tool_calls from being dropped during streaming
2026-06-11 21:45:59 +02:00
Mauro
d153952c15
Merge pull request #3106 from sipeed/dependabot/go_modules/github.com/aws/aws-sdk-go-v2/config-1.32.25
...
build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.32.17 to 1.32.25
2026-06-11 19:48:05 +02:00
dependabot[bot]
091c374348
build(deps): bump github.com/aws/aws-sdk-go-v2/config
...
Bumps [github.com/aws/aws-sdk-go-v2/config](https://github.com/aws/aws-sdk-go-v2 ) from 1.32.17 to 1.32.25.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/config/v1.32.17...config/v1.32.25 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/config
dependency-version: 1.32.25
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-06-11 17:27:06 +00:00
Mauro
0994d48e77
Merge pull request #3099 from sipeed/dependabot/go_modules/golang.org/x/sync-0.21.0
...
build(deps): bump golang.org/x/sync from 0.20.0 to 0.21.0
2026-06-11 19:24:22 +02:00
Mauro
729935ef1a
Merge pull request #3098 from sipeed/dependabot/go_modules/github.com/modelcontextprotocol/go-sdk-1.6.1
...
build(deps): bump github.com/modelcontextprotocol/go-sdk from 1.5.0 to 1.6.1
2026-06-11 19:23:55 +02:00
Mauro
293fb69439
Merge pull request #3102 from sipeed/dependabot/go_modules/github.com/aws/aws-sdk-go-v2-1.42.0
...
build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.41.11 to 1.42.0
2026-06-11 19:23:26 +02:00
dependabot[bot]
f30c611327
build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.41.11 to 1.42.0
...
Bumps [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2 ) from 1.41.11 to 1.42.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.41.11...v1.42.0 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2
dependency-version: 1.42.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-06-11 17:15:33 +00:00
dependabot[bot]
23b52ebef5
build(deps): bump golang.org/x/sync from 0.20.0 to 0.21.0
...
Bumps [golang.org/x/sync](https://github.com/golang/sync ) from 0.20.0 to 0.21.0.
- [Commits](https://github.com/golang/sync/compare/v0.20.0...v0.21.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sync
dependency-version: 0.21.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-06-11 17:14:11 +00:00
dependabot[bot]
0d4b06f088
build(deps): bump github.com/modelcontextprotocol/go-sdk
...
Bumps [github.com/modelcontextprotocol/go-sdk](https://github.com/modelcontextprotocol/go-sdk ) from 1.5.0 to 1.6.1.
- [Release notes](https://github.com/modelcontextprotocol/go-sdk/releases )
- [Commits](https://github.com/modelcontextprotocol/go-sdk/compare/v1.5.0...v1.6.1 )
---
updated-dependencies:
- dependency-name: github.com/modelcontextprotocol/go-sdk
dependency-version: 1.6.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-06-11 17:14:07 +00:00
Mauro
fa6ed714c4
Merge pull request #3060 from chengzhichao-xydt/codex/error-wrap-and-marshal
...
fix: use %w for error wrapping and handle json.MarshalIndent error
2026-06-11 18:36:55 +02:00
Mauro
f8472d6f27
Merge pull request #3067 from SiYue-ZO/fix/session-dm-scope-save
...
fix: add DmScope field to SessionConfig to persist dm_scope setting
2026-06-11 18:34:02 +02:00