- Inject the site account Cookie (manual + auto-login session, session wins)
into the camofox profile before the first tab opens; password accounts
without a session run refresh-login first; API Key sites are skipped.
- Cookie expired after injection -> credential.status=expired; cookie
accounts go to waiting/login_required ("log in once, applies site-wide").
- Write back site-domain cookies from the browser on handover, session close,
every 10 min of activity, and from refresh-login when the stored cookie is
invalid (verified before saving). user_info.cookieOrigin records
source=browser; source shown as manual/login/browser in the origin view.
- New camofox plugin umt-cookies (GET/POST /umt/sessions/:userId/cookies
under the access key); profile dir 0700/files 0600 in the desktop image.
- Single entry: sources-identity/service/credentials.ts.
- Real check: HHClub cookie injected into a fresh profile -> home page
logged in (logout link present), 5 cookies read back.
Requires rebuilding umt-browser-desktop (docker compose build camofox &&
docker compose up -d camofox) to take effect.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
scripts/mp-sync
跟随上游移植工具(说明与对照总表:docs/porting/mp-sync-ledger.md)。用 deno run -A 运行(yaml 经根 deno.json import map 解析),不依赖 deno.json 任务。
| 脚本 | 作用 |
|---|---|
check.mjs [--mp <MP 仓库>] [--to <提交>] [--json] [--ledger <文件>] |
比较 ledger.json 与 MP 目标提交:已变更 / 已删除 / spider/、parser/ 新增文件,输出 git diff 命令;有变化退出码 1 |
build-ledger.mjs [--mp <MP 仓库>] [--commit <提交>] |
扫描源码 @mp-source <路径> @ <提交> 标签 + ledger.manual.json,生成 ledger.json(含上游文件 sha256)并刷新文档表格 |
movieclaw-import.mjs [--repo <MC 仓库>] [--ref v0.27.0] [--check] |
MovieClaw v0.27.0(MIT)站点 YAML → packages/adapters/src/sites/definitions/*.json + manifest.generated.ts;覆盖层 movieclaw-overrides/<id>.json;--check 只比较 |
deno run -A scripts/mp-sync/check.mjs --to <新提交>
deno run -A scripts/mp-sync/build-ledger.mjs --commit <新提交>
deno run -A scripts/mp-sync/movieclaw-import.mjs --check
MovieClaw v0.27.0 之后为附条件许可:movieclaw-import.mjs 校验 ref→提交与 LICENSE=MIT,其他 ref 需 --allow-ref 并另行核对许可。