文档:集成图生图客户端契约

This commit is contained in:
2026-08-13 14:20:29 +08:00
parent 88281b8cd8
commit caabeff7ad
8 changed files with 54 additions and 11 deletions

View File

@@ -39,15 +39,42 @@
## Outcome
- Not completed.
- Merged reviewed feature commit `809364e` into the current `a03043d` client
baseline with merge commit `88281b8`; Git resolved the overlapping
`ImageCanvas` and page-test history without source conflicts and preserved the
existing first-conversation work.
- Promoted the generalized single-image picker, one-Asset attachment boundary,
image/video/null-medium behavior, exact-string compatibility risk and
production-smoke obligation into the current canonical project memory.
- README now describes text-to-image, single-reference image-to-image, project
work selection and local upload on top of the latest client product state.
## Verification
- Not run.
- Source merge preflight used `git merge-tree` against current `main`; only the
README paragraph needed an overlapping semantic merge and the final merge
completed automatically.
- `pnpm install --offline --frozen-lockfile`: passed with the pinned pnpm;
dependencies were restored entirely from the local store.
- `pnpm exec vitest run tests/unit/image-canvas-page.test.tsx`: `25 passed`.
- `pnpm run typecheck`: passed.
- `pnpm exec eslint src/pages/ImageCanvas/index.tsx
tests/unit/image-canvas-page.test.tsx`: passed.
- `pnpm run build:vite`: passed for Renderer, Main and Preload; emitted only the
repository's existing dynamic-import and chunk-size warnings.
- `git diff --check`: pending after final documentation edits.
- `check_project_docs.py`: passed.
- `check_doc_drift.py --task-id 20260813-integrate-i2i-client-main-5d9e`:
passed after keeping the source task record read-only on its source branch,
matching the repository's established Integration Gate pattern.
- Packaged desktop and live Works Square/Bailian provider smoke were not run.
## Follow-ups
- None recorded.
- Replace exact localized quick-reply matching with a structured asset-picker
action/purpose before adding more input modes or changing that label.
- Run packaged-desktop and live Works Square/Bailian image-to-image smoke after
the matching client and server releases are deployed.
## Promotion Candidates