30 Commits

Author SHA1 Message Date
infstellar c83eb5705f 统一文本向量相关表述 2026-10-01 18:36:48 +08:00
infstellar 3b6e5f5d2b feat: show agent analysis model and date in image details 2026-09-17 13:23:03 +08:00
infstellar 0025e47b13 fix: make image processing retry plans explicit 2026-09-08 19:03:21 +08:00
infstellar 52cb739963 refactor: separate visual and network image search boundaries 2026-09-04 19:20:46 +08:00
infstellar 11f689e085 feat(thumbnail): encode derived images as compressed JPEG 2026-08-31 12:50:13 +08:00
infstellar 96fbb0cc59 feat(core): add resource-aware agent scheduling 2026-08-28 18:05:39 +08:00
infstellar 43c5343e52 fix(frontend): gate selected retries with processing options 2026-08-28 16:31:33 +08:00
infstellar 087e49fb98 feat(core): add derived image thumbnails 2026-08-26 16:55:02 +08:00
infstellar 8809a2436f refactor(agent): remove shared backpressure cap 2026-08-24 13:53:47 +08:00
infstellar 2b0b9c334e refactor(agent): make concurrency resource-configured 2026-08-23 22:21:03 +08:00
infstellar fd0fa9d5fb feat(agent): raise shared concurrency ceiling to 40 2026-08-23 21:02:57 +08:00
infstellar 1df5c6a70d feat(callback): bind agent request ids 2026-08-21 17:07:47 +08:00
infstellar 17b6dd81c8 fix(upload): stream multipart files and clarify concurrency hint 2026-08-19 21:15:44 +08:00
infstellar 831bab1848 feat(upload): support bounded large upload batches 2026-08-19 20:52:46 +08:00
infstellar 85b74253ae feat(agent-resume): persist and resume failed OpenCode sessions
Persist agent attempt facts, resume metadata, bounded retry policy, and task diagnostics across worker and API boundaries. Add the database migration, OpenSpec artifacts, and regression coverage.

持久化 Agent 尝试事实、续跑元数据、有界重试策略和任务诊断信息,贯通 Worker 与 API 边界。补充数据库迁移、OpenSpec 工件和回归测试。
2026-08-19 13:30:08 +08:00
infstellar d0c9dcc977 feat(image-retry): add selected image stage retry dialog
Add default image selection and a modal for full or per-stage retries. Submit selected core stages through the batch image-processing API and cover the workflow with frontend, backend, and E2E tests.

增加默认图片选择和完整或分阶段重试对话框。通过批量图片处理 API 提交选中的核心阶段,并补充前端、后端和 E2E 测试。
2026-08-19 13:28:18 +08:00
infstellar 9786b671eb docs(image-processing): document option and auto-rename contracts
Document the frozen processing options, fourth-stage lifecycle, API behavior, and implementation proposal for image ingestion and task recovery.

记录冻结处理选项、自动重命名第四阶段生命周期、API 行为以及图片接入和任务恢复实现方案。
2026-08-18 20:01:29 +08:00
infstellar 94d3d968a3 refactor(agent): remove Docker runtime compatibility layer 2026-08-18 17:23:49 +08:00
infstellar 713ccf196b feat(policy): harden grant association facts 2026-08-17 20:21:43 +08:00
infstellar 3b3eb6ff03 docs(api): clarify scope access terminology
Align API documentation with trusted request context, policy wording, and callback failure behavior.

统一 API 文档中的可信请求上下文、策略术语和 callback 失败行为表述。
2026-08-17 17:35:30 +08:00
infstellar 5ecda39843 Add unit tests for image processing worker, operation policy, reverse image provider, and scope handling
- Implement tests for the ImageProcessingWorker to validate task deduplication and policy interactions.
- Create tests for operation policy to ensure proper grant handling and error responses.
- Add tests for reverse image provider response structure to validate empty and malformed results.
- Develop comprehensive tests for scope resolution and service validation to ensure correct behavior in various scenarios.
2026-08-17 12:50:29 +08:00
infstellar a428636700 docs: document PostgreSQL Compose and collection workflows
Update product, deployment, API, task, visual, and collection documentation for the new runtime architecture.

更新产品、部署、API、任务、视觉和合集文档以匹配新的运行时架构。
2026-08-15 15:24:28 +08:00
infstellar e88513e0e7 feat(collections): add scope-bound meme collections
Add the 0004 PostgreSQL collection schema, scope-bound ORM repository, and CRUD/member API. Extend the Vue workbench with collection navigation, selection, creation, renaming, deletion, and member removal while keeping stable meme IDs and image storage untouched.\n\n新增 0004 PostgreSQL 合集 schema、scope-bound ORM repository 及 CRUD/成员 API;扩展 Vue 工作台支持合集导航、选择、创建、重命名、删除和移除成员,并保持稳定 meme_id 与图片存储不变。
2026-08-14 14:31:32 +08:00
infstellar 2257f39300 refactor(images)!: remove directory-based organization
Replace directory-scoped image APIs with flat PostgreSQL-backed storage and stable meme_id resource contracts. Remove directory endpoints, sidecar assumptions, and path-based media access while preserving task, upload, rename, delete, repair, and search workflows. Archive the image ingestion and library OpenSpec change with migration and contract coverage.

将按目录组织的图片接口替换为基于 PostgreSQL 的扁平存储和稳定 meme_id 资源契约。删除目录接口、sidecar 假设和路径媒体访问,同时保留任务、上传、重命名、删除、修复与检索流程。归档图片摄取与图片库 OpenSpec,并补充迁移和契约测试。

BREAKING CHANGE: image and context APIs now require stable meme_id values; directory-based endpoints and path media URLs are removed.

破坏性变更:图片和语境接口现在要求稳定 meme_id,目录接口与路径媒体 URL 已移除。
2026-08-14 14:09:38 +08:00
infstellar 6b38d44e8c feat: add parallel OpenCode agents and backend settings 2026-08-12 17:42:02 +08:00
infstellar 15183e55d6 feat: add SerpApi Google Lens integration for meme context retrieval
- Introduced output schema for meme retrieval records in JSON format.
- Created documentation for using SerpApi Google Lens for image retrieval.
- Implemented a script for persistent caching of Google Lens results, reducing redundant API calls.
- Added tests for OpenCode candidate extraction, validation, and persistent task handling.
2026-08-11 19:45:38 +08:00
infstellar cee92bfe10 feat: Implement image sidecar metadata management
- Introduced a new sidecar JSON structure for each image to maintain a versioned, evidence-bound meme context.
- Established a schema for the sidecar JSON, including fields for image metadata and meme context.
- Updated image ingestion processes to create and manage sidecar JSON files during upload and renaming.
- Enhanced visual labeling to persist structured descriptions and prevent overwriting confirmed fields.
- Developed a semantic search index that utilizes the structured fields from the sidecar while excluding non-relevant data.
- Implemented repair mechanisms for missing or corrupted sidecar files, ensuring data integrity.
- Added comprehensive tests for metadata service, image processing, and caching mechanisms.
2026-08-11 11:10:20 +08:00
infstellar c300ab3f2c refactor: Refactor code structure for improved readability and maintainability 2026-08-10 15:38:25 +08:00
fQwQf 44fa4d5254 docs(api): 更新 API 文档,精简接口列表并新增配置文件说明 2025-03-11 12:00:00 +08:00
fQwQf ee6e5463dd docs(api): 添加 API 文档 2025-03-11 11:44:42 +08:00