7 Commits

Author SHA1 Message Date
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 12c6da4be0 fix(opencode): use Compose runtime for session inspection
Route executor-mode session inspection through the running Agent Compose service and keep TUI arguments interactive. Reject stale host-runtime fallback when Compose is unavailable and document the explicit host override.

将 executor 模式的会话检查路由到运行中的 Agent Compose 服务,保持 TUI 交互参数;Compose 不可用时拒绝回退到过期宿主 runtime,并记录显式 host 覆盖方式。
2026-08-15 17:31:08 +08:00
infstellar 1e4727cf2b chore(compose): containerize services and lifecycle management
Run the API, visual backend, and authenticated Agent executor through Compose with persistent volumes and safe start/stop diagnostics.

通过 Compose 运行 API、视觉后端和带认证的 Agent executor,提供持久卷及安全启停诊断。
2026-08-15 15:24:02 +08:00
infstellar 3df9f7878c feat(agent): add isolated executor and result protocol
Add authenticated in-container execution, shared runtime activity summaries, strict result-file validation, and OpenCode integration tests.

引入带认证的容器内执行器、共享 runtime 活动摘要、严格结果文件校验和 OpenCode 集成测试。
2026-08-15 15:23:15 +08:00
infstellar 7b5849ee96 feat(visual-search): add isolated DINOv2 embedding and scoped matching
Add the fixed DINOv2 ViT-B/14 model adapter, isolated CPU inference service, migration helper, and task-scoped local visual matching client.

引入固定的 DINOv2 ViT-B/14 模型适配器、隔离 CPU 推理服务、迁移工具和任务级本地视觉匹配客户端。
2026-08-15 15:21:39 +08:00
infstellar d544e0dcff feat(db): add PostgreSQL schema and migration lifecycle
Add the scoped PostgreSQL schema, pgvector tables, Alembic migration lifecycle, and safe database bootstrap scripts.

引入 scope 隔离的 PostgreSQL schema、pgvector 表、Alembic 迁移生命周期和安全数据库初始化脚本。
2026-08-15 15:20:44 +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