creatixchu
56f1a3bde6
test: gate unreadable directory case to POSIX
2026-08-27 21:23:49 +08:00
creatixchu
318bf7d2c1
test: account for Windows chmod coverage
2026-08-27 20:44:35 +08:00
creatixchu
eb349d56e6
Merge remote-tracking branch 'origin/master' into worktree/steer-followup-images
2026-08-27 20:44:04 +08:00
creatixchu
145f936946
test: stabilize queued image browser snapshot
2026-08-27 20:29:25 +08:00
creatixchu
21d2d9395d
refactor: align prompt admission and echo ownership
2026-08-27 20:14:18 +08:00
creatixchu
b71d0a35ef
Merge remote-tracking branch 'origin/master' into worktree/steer-followup-images
2026-08-27 19:46:54 +08:00
creatixchu
2c1cc3e778
refactor: narrow closing-turn wake tracking
2026-08-27 19:37:25 +08:00
creatixchu
53f5418a72
fix: 稳定 steer 提交回显位置
2026-08-27 17:25:36 +08:00
creatixchu
5bb24c03f1
test: avoid untyped catalog matcher
2026-08-27 16:57:12 +08:00
creatixchu
abe185205b
fix: scope prompt catalog type to client
2026-08-27 16:49:15 +08:00
creatixchu
b67663c583
fix: retain prompt parts in client catalog
2026-08-27 16:42:11 +08:00
creatixchu
bf85410fbb
Merge remote-tracking branch 'origin/master' into worktree/steer-followup-images
2026-08-27 16:35:03 +08:00
creatixchu
ba810b3539
fix: harden subagent image follow-up admission
2026-08-27 16:31:04 +08:00
creatixchu
2951512e18
docs: refresh module graph for subagent attachments
2026-08-27 15:59:03 +08:00
creatixchu
520bc3ce75
fix(tools): scope bash SDK example to its schema
2026-08-27 15:54:20 +08:00
creatixchu
381ea9fc5d
Merge branch 'master' into worktree/steer-followup-images
...
# Conflicts:
# packages/api/session-controller/src/client/contract/session.ts
2026-08-27 15:53:14 +08:00
creatixchu
7c38fd8102
fix: deliver images reliably with steer and follow-up messages
...
A steer or follow-up accepted while a turn is closing is now claimed by a
fresh turn at the driver's clean exit instead of stranding in the inbox;
cancellation and pre-step rejection still park accepted work. Continuable
subagent follow-ups accept image parts: the wire is upload-shaped, the Host
admits and persists each batch before inbox acceptance, and delivery is
refused when the child model declines image input. The queue dock renders
durable image thumbnails instead of an [image] text marker.
Fixes #3186
2026-08-27 15:30:35 +08:00
creatixchu
f9770e34af
fix(tools): keep PTC SDK calls inside run_code
2026-08-27 15:20:03 +08:00
creatixchu
6107e10c25
test(web): refresh feedback release golden
2026-08-27 11:32:23 +08:00
creatixchu
25ae5ae6e0
Merge remote-tracking branch 'origin/master' into worktree/feedback-otel-enable
2026-08-27 11:19:57 +08:00
creatixchu
16a7ead9ab
Merge remote-tracking branch 'origin/master' into codex/pr-3111-review
...
# Conflicts:
# scripts/ci-workflow.spec.ts
2026-08-27 10:57:27 +08:00
creatixchu
3031cb0e33
Merge remote-tracking branch 'origin/master' into codex/pr-3111-review
...
# Conflicts:
# packages/api/session-controller/src/client/contract/snapshot.ts
# packages/test-support/client-runtime/src/sessions.ts
2026-08-26 15:34:18 +08:00
creatixchu
dc82511497
ci(windows): restore complete coverage sharding
2026-08-26 14:49:29 +08:00
creatixchu
116cd2332e
Merge remote-tracking branch 'origin/master' into worktree/feedback-otel-enable
2026-08-26 14:35:49 +08:00
creatixchu
fab41be07e
Merge remote-tracking branch 'origin/master' into codex/pr-3111-review
2026-08-26 14:21:56 +08:00
creatixchu
7817ed3d82
docs: refresh Claude SDK notices
2026-08-26 14:09:31 +08:00
creatixchu
2dd59b2ca1
test(client): cover instant image echo branches
2026-08-26 13:49:20 +08:00
creatixchu
5f3112d6ce
Merge remote-tracking branch 'origin/master' into worktree/feedback-otel-enable
...
# Conflicts:
# apps/web/tsconfig.json
2026-08-26 13:30:52 +08:00
creatixchu
b22cc3e95b
Merge master and address submission echo review
2026-08-26 13:20:24 +08:00
creatixchu
c01cf6e549
test: exactOptionalPropertyTypes 下的 onRetire 捕获类型
2026-08-26 12:12:59 +08:00
creatixchu
f1606e31d2
test(web): 提交回显的组装路径 e2e 与不可见标记
...
PendingSubmissionBubble 携带 data-submission-echo 标记(渲染不变,仅供检测),
新增 keyless 组装 e2e:发送按键当下回显即在流中、composer 已清空可编辑,
durable 节点到达后原位替换且只剩一条气泡。
2026-08-26 12:12:08 +08:00
creatixchu
1da466a0a6
test+docs: 回显生命周期、去重与预览移交的覆盖,README 与 Agent Note
...
新增 sendSession 回显编排、ChatView 回显渲染与 rpcId 去重、control 队列 rpcId
投影、HistoricalImageCache.seed、MessageImage 预览 arm 的测试;四个包 README
双语更新;Agent Note 记录 rpcId 关联与延帧退休决策。
2026-08-26 12:01:27 +08:00
creatixchu
5657066b1d
test: 修复回显契约扩散到的类型化 fake 与断言
2026-08-26 11:51:35 +08:00
creatixchu
cf47b7e059
feat(web): 提交回显在 Chat 流尾即时渲染
...
ChatView 渲染 pendingSubmissions 为用户气泡,按 rpcId 对正式节点与队列行做
渲染期去重,替换原子无闪烁;新增回显跟随滚动;MessageImage/ImageGallery 增加
本地预览 arm,回显图片直接显示 object URL。
2026-08-26 11:49:56 +08:00
creatixchu
390dad6138
feat(ui-conversation): 默认发送改为乐观提交并接入提交回显
...
enter 即清空草稿并解冻输入框,默认发送作为 detached attempt 并发运行;
sink-settled 失败时仅还原未被覆盖的空草稿与图片;sendSession 在序列化前注册
提交回显并在绘制让步后再编码(FileReader 原生 base64);观察退休时把预览 URL
移交 HistoricalImageCache,正式消息节点零往返显示。
2026-08-26 11:49:16 +08:00
creatixchu
98da332260
feat(session-controller): 客户端本地提交回显与 rpcId 关联
...
beginSubmission 在 prompt 之前同步把本地提交回显写入 SessionSnapshot.pendingSubmissions;
durable user/message(source.rpcId)或队列投影(SessionQueuedItem.rpcId)到达后延迟一帧退休,
prompt 失败与放弃立即退休并回调 onRetire。fixture 的 prompt 同步回显 requestId。
2026-08-26 11:48:33 +08:00
creatixchu
307bd73cc9
Merge remote-tracking branch 'origin/master' into worktree/feedback-otel-enable
2026-08-26 10:43:48 +08:00
creatixchu
66f2938b63
fix(web): adopt authenticated scaffold URL and post-merge golden in feedback-release lane
2026-08-26 10:14:20 +08:00
creatixchu
9c37f7a553
Merge remote-tracking branch 'origin/master' into worktree/feedback-otel-enable
...
# Conflicts:
# apps/cli/reference/README.i18n.yaml
# apps/cli/reference/README.md
# apps/cli/reference/README.zh.md
# packages/bundle/base/cordis.patch.yml
2026-08-26 10:06:55 +08:00
creatixchu
ac4a2f9792
fix(feedback): address review — accurate release wording, current-state notes, default-mode snapshot lane
2026-08-26 10:05:31 +08:00
creatixchu
e497ea69b1
Merge remote-tracking branch 'origin/master' into worktree/2848-image-token-pressure
2026-08-25 19:56:17 +08:00
creatixchu
a6f2149472
Merge remote-tracking branch 'origin/master' into worktree/2848-image-token-pressure
...
# Conflicts:
# packages/subagent/subagent-acp/tests/subagent-acp.spec.ts
2026-08-25 17:51:27 +08:00
creatixchu
1ca08183a6
test(web): authenticate folding snapshot page
2026-08-25 17:14:23 +08:00
creatixchu
89b50d3f1c
test(subagent): exercise proxy EOF on Windows
2026-08-25 17:04:35 +08:00
creatixchu
771311eb6f
Merge remote-tracking branch 'origin/master' into worktree/2848-image-token-pressure
2026-08-25 17:03:42 +08:00
creatixchu
903d9732aa
test(subagent): close ACP protocol portably
2026-08-25 17:02:50 +08:00
creatixchu
4dca5359a2
test(subagent): make ACP coverage platform-independent
2026-08-25 16:29:36 +08:00
creatixchu
1f288ede79
test(snapshot): refresh image request header
2026-08-25 15:59:44 +08:00
creatixchu
eea65e5275
Merge remote-tracking branch 'origin/master' into worktree/2848-image-token-pressure
2026-08-25 15:52:17 +08:00
creatixchu
68be3e2270
test(subagent): stabilize ACP process coverage
2026-08-25 15:51:54 +08:00
creatixchu
bb03d8e305
Merge remote-tracking branch 'origin/master' into worktree/2848-image-token-pressure
2026-08-25 15:24:43 +08:00
creatixchu
b2701b4ef9
Merge remote-tracking branch 'origin/master' into worktree/2848-image-token-pressure
2026-08-25 15:20:59 +08:00
creatixchu
d978d6f90c
Merge remote-tracking branch 'origin/master' into worktree/2848-image-token-pressure
2026-08-25 15:04:56 +08:00
creatixchu
a235f48c69
Merge remote-tracking branch 'origin/master' into worktree/2848-image-token-pressure
2026-08-25 14:37:52 +08:00
creatixchu
718dd4d1b4
Merge remote-tracking branch 'origin/master' into worktree/2848-image-token-pressure
2026-08-25 14:19:37 +08:00
creatixchu
0d9bdccb7b
Merge remote-tracking branch 'origin/master' into worktree/2848-image-token-pressure
2026-08-25 14:03:24 +08:00
creatixchu
4309dab24b
fix(snapshot): honor ACP-local sidecar sources
2026-08-25 14:02:12 +08:00
creatixchu
bcdbd85d15
Merge remote-tracking branch 'origin/master' into worktree/2848-image-token-pressure
2026-08-25 13:43:45 +08:00
creatixchu
106e5ce0bc
feat(bundle): default session telemetry to feedback-gated sharing
2026-08-25 12:00:24 +08:00
creatixchu
1c065f3cd4
Merge remote-tracking branch 'origin/master' into worktree/2848-image-token-pressure
...
# Conflicts:
# apps/cli/tests/profiles/acp/image-compaction.cordis.snapshot.yml
# apps/cli/tests/profiles/acp/image-compaction.cordis.yml
# apps/cli/tests/profiles/acp/tests/snapshots/image-compaction/input.json
# apps/cli/tests/profiles/acp/tests/snapshots/image-compaction/session.jsonl
# apps/cli/tests/profiles/acp/tests/snapshots/image-compaction/stdout.expected.jsonl
# docs/config-catalog.i18n.yaml
# docs/config-catalog.md
# docs/config-catalog.zh.md
# examples/acp-agent/tests/acp.snapshot.ts
# packages/llm/token-meter/README.i18n.yaml
# packages/llm/token-meter/README.md
# packages/llm/token-meter/README.zh.md
# packages/llm/token-meter/src/index.ts
# packages/llm/token-meter/src/surface-fold.ts
2026-08-25 11:15:35 +08:00
creatixchu
9c931ef5a8
fix: 修正轨迹图片测试归属
2026-08-25 11:06:17 +08:00
creatixchu
dde6c8d7fc
Merge remote-tracking branch 'origin/master' into worktree/2986-trajectory-image-attachments
2026-08-25 10:50:06 +08:00
creatixchu
c2ce4a1405
Merge remote-tracking branch 'origin/master' into worktree/2986-trajectory-image-attachments
2026-08-24 20:32:07 +08:00
creatixchu
9f2ba9f5aa
Merge origin/master (regenerate config catalog)
2026-08-24 19:51:16 +08:00
creatixchu
5183bc2b65
fix(compaction): 摘要收缩改按路由价并补齐定价访问路径
...
ds-review-bot 首轮意见修复:
- 摘要收缩比较改用所选节点的路由价 shadowedRouteTokenCount,修复图片消息启发式价低于带框摘要时压缩被误拒;日志影子价仍为启发式
- DeepSeek 定价经序列化器同一套 access 解析构建句柄与占位文本,消除逐图数十 token 的低估;uncatalogued 分支 JSDoc 指明复现 projectImagesForTextModel 替换
- llm-replay 在加载时拒绝纯文本模型上的 imageRequestTokens 声明
- contextBreakdown 的 README 与 JSDoc 改为等于 heuristicTokens 之和,不再声称等于路由价 surfaceTokens
2026-08-24 19:48:52 +08:00
creatixchu
42164508c8
feat(llm): 在 compaction 中按路由为图片请求压力计价
...
Closes #2848 .
- dsh-llm 新增 LlmAdapter.imageRequestPricing 同步钩子与 LlmImageRequestPricing/LlmImageRequestPrice 词汇,ctx.llm 按路由解析
- llm-deepseek 用官方公布的 v4 视觉计算器逐句移植(14px patch、3:1 降采样、384 上限、最坏对齐 pad)实现该钩子,复现请求投影的最旧优先 offload 与像素预算缩放;纯几何 requestImageDimensions 上移到 dsh-attachment
- token-meter 表层 fold 存储与路由无关的节点事实,measure() 按生效 envelope 的路由为图片出现处定价;锚点存快照并按同一路由重定价;TokenSurfaceNode 同时携带路由价 tokens 与固定启发式 heuristicTokens
- compaction 触发、保留与选段读取同一套路由价,记录的 shadowedTokenCount 保持启发式以维持 O(1) 投影 fold 一致
- llm-replay 支持按模型的 imageRequestTokens 声明;新增 keyless 的 image-compaction ACP 快照场景端到端验证装配应用
2026-08-24 19:15:30 +08:00
creatixchu
00d3c82563
Merge remote-tracking branch 'origin/master' into worktree/2986-trajectory-image-attachments
2026-08-24 19:12:37 +08:00
creatixchu
15d53e228a
docs: 同步模块依赖关系图
2026-08-24 19:10:18 +08:00
creatixchu
d420292400
fix(web): 处理评审发现的图片记录边界情况
...
- 图片错误结果在 Result 页签保留错误名称与代码
- 空文本块加图片的记录按纯图片标注,不再空行
- sourceBlock 的持久化图片守卫检查 attachmentId 字段
- 移除 ui-chat 对 util/crypto 的过期 tsconfig 引用
- 同步 slots.md 层级图与 2026-08-20 所有权 Note
2026-08-24 18:58:25 +08:00
creatixchu
c27de594fd
feat(web): 在 Trajectory 中展示图片附件
...
Trajectory 现在通过共享的 ui-attachment 画廊渲染会话日志中的持久化图片引用:ui-conversation 拥有按会话的图片 URL 缓存(ctx.uiConversation.imageUrl),ui-trajectory 声明 conversation.trajectory.images 子槽位,纯图片记录行以图片数量标注,内联 imageSrc 嗅探作为死代码删除。
Closes #2986
2026-08-24 17:59:02 +08:00
creatixchu
cfacca1b07
test(attachment): pin the assembled image re-encoding path in a keyless snapshot
...
The read-image-reencode lane feeds a 16-bit gradient PNG through the
shipped app: pass-through is impossible, the master converts down the
opaque JPEG ladder, and the 640,000-pixel request budget re-encodes a
downscaled request version — the projection the byte-identical tiny
fixtures never exercised.
2026-08-24 17:15:59 +08:00
creatixchu
30704dc1df
fix(attachment): budget master pixels and share the encoding ladder
...
Master dimensions move from a 2048 long-edge rule to a total-pixel
budget (normalizedImageMaxPixels, default 2048x2048) with an 8192
long-edge cap, so extreme aspect ratios keep short-edge resolution.
The shared quality ladder and lazy execution move to encoding.ts,
review-round doc fixes land across attachment and llm packages, and
the superseded facts in the unified-image-pipeline note now describe
the shipped routing.
2026-08-24 17:10:59 +08:00
creatixchu
ebb8010b56
Merge remote-tracking branch 'origin/master' into worktree/2885-image-compression
...
# Conflicts:
# docs/config-catalog.i18n.yaml
# docs/config-catalog.md
# docs/config-catalog.zh.md
# packages/llm/llm-deepseek/README.i18n.yaml
# packages/llm/llm-deepseek/README.md
# packages/llm/llm-deepseek/README.zh.md
# packages/llm/llm-deepseek/src/adapter.ts
2026-08-24 16:23:34 +08:00
creatixchu
4863890535
fix(attachment): route image encoding by alpha over shared quality ladders
...
Delete the 5-bit colour-count classifier and palette PNG branch that
misrouted high-frequency photographic JPEGs (issue #2885 images 23/24)
into an encoder 100x slower with 4x larger output. Both normalization
and request-image encoding now route by the decoded alpha fact alone:
opaque sources down a JPEG ladder and alpha sources down a WebP
effort-0 ladder, each at qualities 85/75/60. Byte budgets become ladder
targets: the downscale retry loop is gone and a ladder-exhausted encode
keeps its smallest output, while provider byte caps stay enforced at
the transmitting route. Request transforms move to request-image-v5.
2026-08-24 16:14:32 +08:00
creatixchu
7bad88206b
test(llm): 覆盖执行环境图片路径解析
2026-08-24 16:01:49 +08:00
creatixchu
5c799a9520
fix(attachment): 修正 Windows 只读发布顺序
2026-08-24 15:44:42 +08:00
creatixchu
b5182e2ac2
Merge remote-tracking branch 'origin/master' into worktree/model-readable-image-paths
2026-08-24 14:57:00 +08:00
creatixchu
558f08780c
refactor(attachment): 分离宿主位置与模型访问路径
2026-08-24 14:51:03 +08:00
creatixchu
7f4cf99eeb
修正图片路径访问与只读存储
2026-08-24 13:11:04 +08:00
creatixchu
bd4e4173e7
feat(attachment): expose model-readable image paths
2026-08-24 12:08:26 +08:00
creatixchu
6434b894c2
chore(attachment): start issue-2885 image codec work
2026-08-24 12:02:38 +08:00
creatixchu
d618bfebb4
fix(deepseek): decouple files and stream timeouts
2026-08-21 18:34:16 +08:00
creatixchu
1b389798dc
fix(llm-deepseek): fall back when Files resolution fails
2026-08-21 18:14:46 +08:00
creatixchu
e30d92a03e
fix(attachment): accept opaque WebP alpha omission
2026-08-21 17:27:08 +08:00
creatixchu
d4b24b5148
Merge remote-tracking branch 'origin/master' into worktree/image-management-strategy
2026-08-21 16:55:00 +08:00
creatixchu
6816cc0b04
test(snapshot): stabilize persisted-turn coverage
2026-08-21 15:25:27 +08:00
creatixchu
6a27286e44
docs(i18n): fix rebased image note links
2026-08-21 15:09:14 +08:00
creatixchu
cbc830aded
test(composition): remove retired image-region tool
2026-08-21 15:06:24 +08:00
creatixchu
2491e12fd8
refactor(attachment): normalize image storage API
2026-08-21 15:06:24 +08:00
creatixchu
724783b024
refactor(image): remove region reads
2026-08-21 15:06:24 +08:00
creatixchu
0c9a664223
test(deepseek): print vision failure facts
2026-08-21 15:06:11 +08:00
creatixchu
703ce4a3d6
test(deepseek): expose Files API e2e failures
2026-08-21 15:06:11 +08:00
creatixchu
d65e2a9e8a
test(images): close unified pipeline coverage gaps
2026-08-21 15:06:11 +08:00
creatixchu
72b204afa1
feat(images): expand source upload envelope
2026-08-21 15:06:11 +08:00
creatixchu
657ec56fbf
test(images): cover attachment projection edges
2026-08-21 15:06:10 +08:00
creatixchu
48a58b9090
fix(images): address unified pipeline review
2026-08-21 15:06:10 +08:00
creatixchu
de8ea5d715
docs: refresh image pipeline module graph
2026-08-21 15:05:55 +08:00
creatixchu
c09a42ccb5
fix(images): parse listed missing Files ids
2026-08-21 15:05:55 +08:00
creatixchu
c0dd8ec820
chore(images): align merged runtime closure
2026-08-21 15:05:54 +08:00
creatixchu
d29855f97c
feat(images): unify master and Files request pipeline
2026-08-21 15:05:54 +08:00