Repository navigation
feat: advertise usage, resume, fork and images; target OMP 18.20.2 - #21
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Consume Lody sessionConfig on new/load/resume/fork before the ACP session is delivered, verifying the selected model and exact sessionFile (018). Includes the assistant message separation change that was already in the working tree. Move the adaptation target to OMP 18.20.2 with 18.20.1 as the previous stable regression target, and record the local smoke/contract evidence. 18.18.x rows become historical evidence. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Translate ACP resource_link prompt blocks to "<name>: <uri>" text so Lody image and file attachments no longer fail the whole prompt. Advertise sessionCapabilities.resume, sessionCapabilities.fork and promptCapabilities.image. loadSession stays unadvertised because the adapter does not replay history. Add scripts/capability-probe.mjs for real-OMP evidence of the advertised capabilities, and record the reviewed plan (019) and the Release 1 scope ruling (012.017). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Address the first independent review round: the probe now requires one model request to carry a single decodable image part, the resource_link text and the source history; re-checks the source file after prompting the fork; asserts the reviewed capability set and that session files stay in its temporary HOME; and reaps children on failure or signals. Cover /rename with a resource_link attachment. Update README and COMPATIBILITY to the advertised set. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The probe killed the adapter's process group, which does not contain the detached OMP child, and removed its temporary directory before OMP exited. Close through stdin, then SIGTERM, with SIGKILL as a last resort, and wait before removing the directory. Check image parts by file signature, assert the forked file stays in the temporary HOME, and state the single-toolchain evidence limit in COMPATIBILITY. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Clear the shutdown timers so the probe exits right after its verdict, fail the run when an adapter had to be killed, and refuse new requests or adapters once shutdown has started. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…action Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Collaborator
Author
|
第四轮独立审核已完成(范围:
审核者的结论是实现和证据可以接受,没有给无保留的 clean。 |
1 of 2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
initialize宣告_meta.lody.usage、sessionCapabilities.resume、sessionCapabilities.fork和promptCapabilities.image: true。loadSession不宣告:该方法只做精确sessionFile切换,不重放历史,而 ACPsession/load要求重放,Lody 也把它当历史导入入口。resource_link按块顺序翻译成文字<name>: <uri>。此前 Lody 发图片或文件附件时总会附带resource_link,整条 prompt 会被拒绝。audio和resource仍整条拒绝。sessionConfig里的显式模型(018)。scripts/capability-probe.mjs(不随 npm 包发布),用真实 OMP 加本地回环模型核对 resume、fork、图片和resource_link。每个新的 OMP 目标行都要重跑。证据
干净导出的
d6362de,独立安装的 npm 归档,macOS arm64 / Node 26.13.0:npm run check416 项通过,npm run build、node scripts/verify-package.mjs通过。omp-darwin-arm64,大小与 SHA-256 已核对)上 smoke、contract、能力探针均退出 0。细节见
TESTING.md的d6362de记录、docs-ai/018-startup-session-config/001-action.md和docs-ai/019-capability-advertisement/001-action.md。审核
src/的翻译和宣告未发现缺陷;探针的发现已修复。最后一批探针修复(d6362de)和文档记录的再审进行中,结论会补在本 PR。不在本 PR 内
RELEASE.md的复选框没有改动。Test plan
npm run check、npm run build、node scripts/verify-package.mjs