mirror of
https://github.com/makecindy/cindy.git
synced 2026-12-04 00:10:36 +08:00
3cf5e2ebcecf9cb2f52ad0cccda596eebe1c0e5f
8 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
b032d35e6f |
feat(library): 暂存未入库原件并在确认归档后释放 (#4730)
* fix(desktop): keep cached Library sessions from mkdir empty custom roots Re-resolve the live binding on each request so a missing custom root stays unavailable instead of recreating an empty library. Same-disk restore continues through existing open/status; a rebuilt path remains binding-moved. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): do not mint unavailable Library identity from default root Unavailable cached custom sessions are not required to keep the live identity. Restore still uses the original disk object; a replaced directory stays binding-moved. Signed-off-by: PraiseZhu <zhuzan@xd.com> * feat(desktop): add owner-scoped Library staging adapter Host H1 is a thin LibraryVault adapter for plugin upload staging. It keeps owner×ghost isolation, hard quota, tombstones, and ACK-gated release without a second media library, new UI, or TCC path. Quota counts durable, orphan blobs, closed tmp, and in-memory uploads without overlap. abort of a commitPending blob is STREAM_INVALID so the landed original stays reserved until ACK. disposeAll/bind/unbind/relocate/delete drain in-flight release behind relocating. First-minted staging roots also fsync parent directory entries; Windows still reports fsynced:false. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): recover staging commit from retained manifest and intent Same-instance retry after a durable manifest write plus failed journal fsync no longer dies on ifNotExists ALREADY_EXISTS. Matching identity is adopted; conflicting identity is rejected without overwrite. New originals write intent.json before blob rename. A new Store recovers only from that trusted identity after hash/bytes checks, then installs manifest+dirsync. Incomplete or conflicting intent fails closed and keeps the source. Historical orphans without intent stay billed in isolation and are not TTL-deleted. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): fail closed when a custom Library parent vanishes A stale custom resolveLibraryRoot could still reach vault.open, which recursively created the missing user parent and reported ready empty. Custom open now refuses to recreate a vanished parent (disk-missing); default first-time create still mkdir. keep files remain in the renamed directory and are not treated as deleted. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): reject replaced custom parents and revoke extraDir on drift Stale resolve plus a same-path new inode is binding-moved at the mkdir boundary. disk-missing after a granted extraDir actually revokes the slot. Auto-open failures latch drift so status-only restore works. Keep files stay in the renamed-away directory. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): do not recursive-mkdir custom Library parent after inspect Custom skeleton mkdir is non-recursive so a vanished user parent cannot be rebuilt as an empty library. Default roots still create recursively. Keep files stay in the renamed-away directory. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): bind custom Library mkdir to held parent identity After the last successful inspect, hold the parent directory and compare path identity after mkdir(root). A same-path new inode fails closed as binding-moved; an empty root created on the replacement is rolled back and keep files stay parked. Node has no mkdirat; this is not atomic. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): create custom Library trees via held parent fd Darwin mkdirat/openat (SYS_mkdirat=475) and Linux /proc/self/fd keep ghostId/meta on the granted parent object. Missing helper fail-closed before mutation; no path mkdir fallback. Windows custom init unsupported. Default roots still mkdir recursively. Keep files stay parked. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): skip custom first-open path usage persist and sweep After the held parent fd is closed, custom open does not write, rename, or unlink under this.root. Sweep unlink and persistUsage are skipped; read-only usage scan remains. Default roots unchanged. Later library writes still persist. Isolated D: no replacement usage.json. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): existing custom open, session teardown, usage ledger Open an already-initialized custom library from the held parent fd without mkdir. Missing structure on platforms without create stays fail-closed. Teardown only the captured session. Reuse a valid usage ledger; scan only when it is missing or corrupt. Custom tmp is not path-unlinked. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): Windows existing custom open via FILE_OPEN ReadFile Existing libraries open from the inherited parent handle with NtCreateFile FILE_OPEN+ReadFile. FileIndex 0 and missing helpers fail closed. Create stays unsupported on Windows. Linux may unlink only uuid.tmp/.stream staging leftovers via /proc/self/fd. No path mkdir fallback. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): parse existing-open helper JSON as complete values Pretty-printed and compact meta/usage payloads both parse. Malformed JSON or failed field checks stay CORRUPT. Do not split on the first newline of the helper stdout. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): do not delete custom Library uuid tmp/stream on open Age and an empty streams map cannot prove a fsynced .tmp/.stream is garbage after a crash before rename. Open no longer unlinks them. P2_tmp stays unresolved. Unknown names are kept. Signed-off-by: PraiseZhu <zhuzan@xd.com> * feat(desktop): Windows custom Library first-create via NtCreateFile Create dirs with FILE_OPEN_IF and meta.json with FILE_CREATE from the inherited parent handle. No path mkdir, no rollback rmdir, no new native dependency. Existing FILE_OPEN stays read-only. Missing helper still fails closed before mutation. Signed-off-by: PraiseZhu <zhuzan@xd.com> * test(maker-core): time durable Subagent system-deny waitFor Record list/resolver/control monotonic marks and dump them on waitFor failure so Linux CI can discriminate missed 500ms poll vs unpublished system-deny. Keep the original assertion and timeout. Mac is syntax sanity only. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): distinguish Windows meta exists from reparse collision FILE_CREATE collision is exists only after FILE_OPEN of a regular file. Reparse and unknown collisions fail closed. CreateRelative always releases handles it still owns, including the catch path. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): sweep idle staging uploads and count concurrent disk reserve Idle incomplete uploads now yield BUSY/QUOTA slots after timeout. Concurrent begin reservations are checked against reserveBytes. Durables and commitPending originals are never TTL-deleted. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): count idle tmp residue and unwritten disk reserve Refresh closed tmp bytes after idle abort before quota admission. Disk reserve subtracts only unwritten stream remainder; commitPending does not double-count landed blobs. Durables stay off TTL. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): recover staging durables across owner generation Restart resets app-session generation so live ownerScopeKey (local🆔2 vs local🆔0) no longer matches the on-disk manifest. Treat generation as a process lease, not durable owner identity. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): fail closed on custom ghost loss and staging.release races Greptile P1: vanished custom ghost dirs must not rebuild an empty library on a live vault; staging.release re-hashes the unique original and blocks concurrent library mutates until the staging original is gone. P2: disposeAll now invalidates staging stores, uploads, and vaults. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): persist custom libraryReady so vanished ghost dirs stay fail-closed Binding records first-create vs already-built trees without bumping generation. Restart after `<parent>/<ghostId>` disappears now returns disk-missing instead of initializing an empty replacement library. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): serialize Library mutates with staging.release Greptile P1 r4058467558 needs a real per-ghost mutex, not only a second hash. Mutating Library ops and staging.release now share one chain so hash-then-delete cannot overlap write/delete/rename. Relocating releases still fail closed without taking the lock. Signed-off-by: PraiseZhu <zhuzan@xd.com> --------- Signed-off-by: PraiseZhu <zhuzan@xd.com> |
||
|
|
6ee28d50c5 |
fix(library): 自定义媒体库暂时不可用时不重建空库 (#4728)
* fix(desktop): keep cached Library sessions from mkdir empty custom roots Re-resolve the live binding on each request so a missing custom root stays unavailable instead of recreating an empty library. Same-disk restore continues through existing open/status; a rebuilt path remains binding-moved. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): do not mint unavailable Library identity from default root Unavailable cached custom sessions are not required to keep the live identity. Restore still uses the original disk object; a replaced directory stays binding-moved. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): fail closed when a custom Library parent vanishes A stale custom resolveLibraryRoot could still reach vault.open, which recursively created the missing user parent and reported ready empty. Custom open now refuses to recreate a vanished parent (disk-missing); default first-time create still mkdir. keep files remain in the renamed directory and are not treated as deleted. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): reject replaced custom parents and revoke extraDir on drift Stale resolve plus a same-path new inode is binding-moved at the mkdir boundary. disk-missing after a granted extraDir actually revokes the slot. Auto-open failures latch drift so status-only restore works. Keep files stay in the renamed-away directory. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): do not recursive-mkdir custom Library parent after inspect Custom skeleton mkdir is non-recursive so a vanished user parent cannot be rebuilt as an empty library. Default roots still create recursively. Keep files stay in the renamed-away directory. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): bind custom Library mkdir to held parent identity After the last successful inspect, hold the parent directory and compare path identity after mkdir(root). A same-path new inode fails closed as binding-moved; an empty root created on the replacement is rolled back and keep files stay parked. Node has no mkdirat; this is not atomic. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): create custom Library trees via held parent fd Darwin mkdirat/openat (SYS_mkdirat=475) and Linux /proc/self/fd keep ghostId/meta on the granted parent object. Missing helper fail-closed before mutation; no path mkdir fallback. Windows custom init unsupported. Default roots still mkdir recursively. Keep files stay parked. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): skip custom first-open path usage persist and sweep After the held parent fd is closed, custom open does not write, rename, or unlink under this.root. Sweep unlink and persistUsage are skipped; read-only usage scan remains. Default roots unchanged. Later library writes still persist. Isolated D: no replacement usage.json. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): existing custom open, session teardown, usage ledger Open an already-initialized custom library from the held parent fd without mkdir. Missing structure on platforms without create stays fail-closed. Teardown only the captured session. Reuse a valid usage ledger; scan only when it is missing or corrupt. Custom tmp is not path-unlinked. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): Windows existing custom open via FILE_OPEN ReadFile Existing libraries open from the inherited parent handle with NtCreateFile FILE_OPEN+ReadFile. FileIndex 0 and missing helpers fail closed. Create stays unsupported on Windows. Linux may unlink only uuid.tmp/.stream staging leftovers via /proc/self/fd. No path mkdir fallback. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): parse existing-open helper JSON as complete values Pretty-printed and compact meta/usage payloads both parse. Malformed JSON or failed field checks stay CORRUPT. Do not split on the first newline of the helper stdout. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): do not delete custom Library uuid tmp/stream on open Age and an empty streams map cannot prove a fsynced .tmp/.stream is garbage after a crash before rename. Open no longer unlinks them. P2_tmp stays unresolved. Unknown names are kept. Signed-off-by: PraiseZhu <zhuzan@xd.com> * feat(desktop): Windows custom Library first-create via NtCreateFile Create dirs with FILE_OPEN_IF and meta.json with FILE_CREATE from the inherited parent handle. No path mkdir, no rollback rmdir, no new native dependency. Existing FILE_OPEN stays read-only. Missing helper still fails closed before mutation. Signed-off-by: PraiseZhu <zhuzan@xd.com> * test(maker-core): time durable Subagent system-deny waitFor Record list/resolver/control monotonic marks and dump them on waitFor failure so Linux CI can discriminate missed 500ms poll vs unpublished system-deny. Keep the original assertion and timeout. Mac is syntax sanity only. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): distinguish Windows meta exists from reparse collision FILE_CREATE collision is exists only after FILE_OPEN of a regular file. Reparse and unknown collisions fail closed. CreateRelative always releases handles it still owns, including the catch path. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): recycle extra tmp hard links without deleting unique originals Custom libraries skip age-based path sweep. Unlink uuid.tmp/.stream only when nlink>=2 and ino!=0 (successful commit residue). nlink=1 after fsync and before rename is kept. Linux custom uses held-parent fd unlinkat-style paths; Darwin/Windows custom stay fail-closed with no path fallback. Signed-off-by: PraiseZhu <zhuzan@xd.com> * Revert "fix(desktop): recycle extra tmp hard links without deleting unique originals" Lead ruled nlink>=2 unlink is not a sound unique-original proof (name can be swapped after lstat; held parent does not lock names). Restore d7c custom skip + default age sweep. Do not close P2_tmp. Signed-off-by: PraiseZhu <zhuzan@xd.com> --------- Signed-off-by: PraiseZhu <zhuzan@xd.com> |
||
|
|
02780b580c |
fix(library): 让原生Agent自行定位library并获得生效的只读权限 (#4250)
* fix(library): capture write epoch and host-owned library root contract Write/writeCommit receipts now carry the session-captured identity and generation, including stream begin/commit. Host extraDir roots resolve library: relative keys without leaking absolute paths to plugins. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(library): wire task-scoped roots into native readers Signed-off-by: Praise <praise@PraisedeMac-mini.local> * fix(desktop): preserve trusted library grants and retire stream epochs Signed-off-by: Praise <praise@PraisedeMac-mini.local> * test(desktop): avoid duplicate abort controller import Signed-off-by: Praise <praise@PraisedeMac-mini.local> * test(desktop): reconcile upstream abort controller setup Signed-off-by: Praise <praise@PraisedeMac-mini.local> * fix(desktop): treat closed owner probes as ended Signed-off-by: Praise <praise@PraisedeMac-mini.local> * chore(design): refresh inventory after merging Cindy Make UI Signed-off-by: Praise <praise@PraisedeMac-mini.local> * fix(desktop): align Cindy Make tests and billing copy after main merge Signed-off-by: Praise <praise@PraisedeMac-mini.local> * fix(i18n): avoid banned Credits wording in billing comparison copy Signed-off-by: Praise <praise@PraisedeMac-mini.local> --------- Signed-off-by: PraiseZhu <zhuzan@xd.com> Signed-off-by: Praise <praise@PraisedeMac-mini.local> Co-authored-by: Praise <praise@PraisedeMac-mini.local> |
||
|
|
db09a43cf3 |
fix(library): 宿主只读 Library 操作能力合同 (#4000)
* fix(library): add sessionless library capabilities contract
Host library now answers {op:capabilities} after eligibility/op checks and
before session creation, exposing a v1 clipboardWrite/saveAs support list
without opening vaults, leaking owner/paths, or treating availability as
implementation support. Actual ops keep old error codes and add stable
reason values; docs cover unknown-op vs supported/no-window/denied.
Signed-off-by: PraiseZhu <zhuzan@xd.com>
* fix(library): reject mixed-type capabilities lists and sync FORGE_GUIDE
Keep the sessionless capabilities contract, but treat operations arrays
with non-string items as unknown instead of a valid v1 list. Sync the
author-visible Library pipe in FORGE_GUIDE §4.10.1, including stable
failure reasons, and cover mixed-type plus handbook assertions.
Signed-off-by: PraiseZhu <zhuzan@xd.com>
* fix(library): attach stable reasons on dbPath and vault unavailable
Greptile P1: illegal/out-of-root dbPath and vault-passthrough
LIBRARY_UNAVAILABLE from open/status now carry the documented
reason instead of leaving plugins to parse message.
Signed-off-by: PraiseZhu <zhuzan@xd.com>
---------
Signed-off-by: PraiseZhu <zhuzan@xd.com>
|
||
|
|
11e02c0306 |
feat(desktop): 会话级只读 library extraDirs,ChatInput 不计系统槽 (#3745)
* docs(library): PR0 会话级只读 extraDirs 契约 把 G2 的会话级只读 extraDirs 注入、blob 相对键、限额与 confirmed=writeCommit ACK 写进权威 library 规则与冻结稿。仓内无 libraryConfirmed.ts,不得发明该文件。 Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): libraryVault 读路径 O_NOFOLLOW + identity 复核 read() 打开后用 bigint dev/ino 同 fd 复核,换链/ino=0 走 INTERNAL 且不返回字节; 打开器保持私有,失败不回落裸 open。writeCommit ACK 形状不变。 Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): library 正本 blob 消费口 + open/status 握手 editImage 只认 assets/<2>/<hash>/blob.<ext>,sidecar 禁止当像素; writeCommit ACK 仍用 sha256 升格 confirmed;open/status 回 authorizedReadonly 与 generation/identity,不回绝对路径。 Signed-off-by: PraiseZhu <zhuzan@xd.com> * refactor(desktop): 复用 library blob 门,去掉重复 sidecar 判断 editImage 解析后的绝对路径走 assertLibraryEditImageSource; 通道门只认 helper,不再平行正则。握手测试直接打 open/status。 Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): library: 前缀 sidecar 不再绕过源图形状门 hashes 先剥 library: 再判 blob/sidecar,前缀加 preview.webp/meta.json 不得进 resolveOwnedMedia。 Signed-off-by: PraiseZhu <zhuzan@xd.com> * feat(desktop): 抽出 applyDirectoryGrants 并静默注入 library extraDirs IPC 与 library 槽共用内部入口;writableDirs 仍走 picker。 library 槽不占用户 10 名额,迁根/卸载传 null 即撤,恢复时剥前缀。 Signed-off-by: PraiseZhu <zhuzan@xd.com> * refactor(desktop): 收平 extraDirs 冲突检测的 IIFE library 槽剥前缀后再走 excludeDirectoryGrantConflicts,写法改为 if/else,行为不变。 Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(maker-core): Claude extraDirs 代际不一致时 resume+fork 重建 setExtraDirs 只改 closure;下一次 send 复用 rewind 三件套, 不用 fresh:true。拷贝兜底默认关闭。 Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(maker-core): Codex 低版本 setExtraDirs 忽略以免假授权 启动仍闸 0.144.6;运行中低版本忽略 extraDirs, 读像素继续走 cindy-media 备胎。 Signed-off-by: PraiseZhu <zhuzan@xd.com> * feat(desktop): extraDirs library 槽显示系统项且不占 10 名额 cindy-library: 前缀与用户目录分区,计数豁免 EXTRA_DIRS_MAX。 Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(maker-core): Pi extraDirs prompt 不再写入绝对库根 只描述只读作品库能力并用 basename 标签,不含 /Users/.../libraries/。 Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): validateExtraDirs 豁免 library 槽 10 名额上限 cindy-library: 前缀不计入 EXTRA_DIRS_MAX;满 10 个用户目录时槽仍通过。 Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): ChatInput 配额不计 library 系统槽 composer 加目录入口与 + 计数改走 countUserExtraDirs,列表把 cindy-library: 显示为系统项且不可移除。顺手把 applyDirectoryGrants 抽出后的源码扫描锚点改到 export function。 Signed-off-by: PraiseZhu <zhuzan@xd.com> * docs(design-previews): library extraDirs 配额系统槽 QA demo ChatInput 不计 cindy-library: 名额、列表显示「Mivo 作品库(只读)」的可交互验收件。 verify A-D 绿,未采像素基准。 Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): 把 library extraDirs 接到当前 Mivo 会话 open/status 与迁根、停用、卸载后调用 applyLibraryReadonlyExtraDir。 有焦点只注入当前会话;撤槽扫可见活跃会话。Codex 旧版 setExtraDirs 不再静默忽略,避免库里已授权、运行时读不到。 Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): 停用/删除成功后再撤 library extraDirs 停用改到 setEnabled 成功之后刷新,避免仍读到 enabled=true 又把槽注回去。 删除改到 trash 成功之后刷新。切走焦点时也撤槽。 Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): 切会话撤旧 library 槽,空闲会话也能落库 焦点同步对可见会话逐条写:当前焦点注入,其余撤槽。无 live handle 时仍 persist extraDirs。迁根失败也会 refresh 把旧根加回。懒恢复剥掉 cindy-library: 前缀再交给 harness。 Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): library extraDirs 用 realpath 槽并钉验收测试 注入走 cindy-library:realpath,切焦点把未聚焦会话的槽撤掉。 Claude 中途授权 resume+fork 续聊,不把 session id 当 resumeSessionAt,也不用 fresh:true。 单测钉死注入/撤权/10 名额豁免/代际换根/低版本 Codex 不持久化/握手无绝对路径。 Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): library extraDirs 同步只认最新一轮 焦点切换时旧一轮 sync 不得覆盖新一轮授权。Orca idle worker 唤醒时把 cindy-library: 逻辑槽剥成真实路径再交给 harness。 Signed-off-by: PraiseZhu <zhuzan@xd.com> * test(desktop): Orca resume extraDirs 断言跟 extraDirsForRuntime idle worker 唤醒已剥 cindy-library: 前缀,静态扫描测试跟着改。 Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): library extraDirs 每会话写入后再核代次 旧一轮 sync 在某个 session 的 apply 返回后不得继续写后续会话。 Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(desktop): library extraDirs 失败不再假装授权 握手 authorizedReadonly 只在 focused 本地会话 extraDirs 真正写入后为 true。 Codex 旧版本、远端会话、槽竞态与 writable 重叠都 fail-closed,走 cindy-media 备胎。 SET_EXTRA_DIRS 在 session 锁内合并 library 槽,不再锁外预读。 Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(maker-core): rewind 重建不再二次关闭旧 Query commitRewindFiles 已经 close 过旧 q。send 再建时只给 extraDirs 中途授权补 close,避免 abort rewind 测试里 close spy 被调两次。 Signed-off-by: PraiseZhu <zhuzan@xd.com> --------- Signed-off-by: PraiseZhu <zhuzan@xd.com> |
||
|
|
ac1435b88b |
feat(library): 作品库支持在文件夹中显示与系统另存为 (#3626)
* feat(library): 作品库支持在文件夹中显示与系统另存为
给 cindy.library 增加 reveal / saveAs:插件可把库内文件显示到 Finder,
或经系统另存为拷到用户选的路径。不放开 webview 的 File System Access。
* fix(library): saveAs 成功只回相对键并补骚扰钳制
对话框后复核 owner/vault,成功 path 用库内相对键;同插件 3 秒连发 RATE_LIMITED,在场 BUSY。FORGE §4.10.1 同步。
DCO Remediation Commit for PraiseZhu <zhuzan@xd.com>
I, PraiseZhu <zhuzan@xd.com>, hereby add my Signed-off-by to this commit:
|
||
|
|
348dacc1d7 |
feat(plugin): decouple capabilities from install approval
Signed-off-by: liugaowei <liugaowei@xd.com> |
||
|
|
625a7d714f |
feat(desktop): 插件持久 Library(library 槽):受控 SQLite + 自定义位置 + 随时迁移 (#3079)
新增 owner×plugin 隔离的持久作品库基座:原子文件操作、受控 SQLite worker、装入时目录选择、随时安全迁移、卸载保留与独立确认删除;同步 FORGE_GUIDE、五语 UI 与开发规则。所有 Linux/Windows 单测、CodeQL、Cursor Security、Greptile、DCO 门禁通过。 |