@sanqianx/project-knowledge 5.0.33 → 5.0.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +1 -1
- package/CHANGELOG.md +14 -0
- package/_site/_test/chat-claudecodeui-match-test.js +22 -3
- package/_site/_test/fresh-product-data-test.js +1 -1
- package/_site/_test/glm-ui-refresh-review-test.js +1 -1
- package/_site/_test/harness-isolation-test.js +1 -1
- package/_site/_test/home-overview-test.js +64 -0
- package/_site/_test/index-error-display-contract-test.js +23 -1
- package/_site/_test/knowledge-engine-client-test.js +1 -1
- package/_site/_test/memory-groups-ui-test.js +149 -0
- package/_site/_test/module-supervisor-backoff-reset-test.js +64 -0
- package/_site/_test/module-terminal-restart-test.js +1 -1
- package/_site/_test/packaged-ui-smoke-test.js +40 -2
- package/_site/_test/parallel-capture-safety-r5-mem005-health-test.js +94 -33
- package/_site/_test/parallel-knowledge-client-error-code-test.js +11 -1
- package/_site/_test/parallel-logging-acceptance-log008-test.js +23 -11
- package/_site/_test/parallel-memory-candidate-test.js +134 -84
- package/_site/_test/parallel-memory-capture-r3-mem005-persistence-test.js +100 -38
- package/_site/_test/parallel-memory-capture-r4-mem005-health-test.js +92 -32
- package/_site/_test/parallel-memory-home-review-test.js +148 -0
- package/_site/_test/parallel-memory-manual-test.js +140 -34
- package/_site/_test/parallel-memory-scope-test.js +91 -23
- package/_site/_test/parallel-memory-source-test.js +54 -25
- package/_site/_test/parallel-memory-sync-test.js +102 -75
- package/_site/_test/parallel-nav-failure-test.js +36 -16
- package/_site/_test/parallel-nav-home-issues-test.js +159 -0
- package/_site/_test/parallel-nav-offline-test.js +37 -9
- package/_site/_test/parallel-nav-operability-test.js +12 -1
- package/_site/_test/parallel-nav-switch-test.js +65 -19
- package/_site/_test/parallel-nav-theme-test.js +52 -7
- package/_site/_test/parallel-nav-viewport-test.js +13 -4
- package/_site/_test/product-diagnostics-ui-test.js +15 -3
- package/_site/_test/product-empty-state-test.js +81 -15
- package/_site/_test/product-import-ui-test.js +35 -9
- package/_site/_test/product-navigation-test.js +78 -17
- package/_site/_test/product-progress-status-test.js +21 -5
- package/_site/_test/project-module-partial-recovery-test.js +22 -7
- package/_site/_test/project-unbind-late-read-ui-test.js +45 -14
- package/_site/_test/workspace-ui-contract-test.js +38 -5
- package/_site/lib/engine-connection.js +1 -1
- package/_site/lib/engine-knowledge-client.js +1 -1
- package/_site/lib/module-bridge.js +16 -6
- package/_site/lib/server-app.js +23 -0
- package/_site/scripts/refresh-runtime-manifest.js +108 -0
- package/module-runtime-manifest.json +17 -15
- package/package.json +2 -2
- package/plugins/project-knowledge/.claude-plugin/plugin.json +1 -1
- package/plugins/project-knowledge/.codex-plugin/plugin.json +1 -1
- package/plugins/project-knowledge/.mcp.json +1 -1
- package/ui/index.html +14 -11
- package/ui/product.css +42 -0
- package/ui/product.js +861 -212
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"const fs=require('fs'),path=require('path'),os=require('os');const PKG='@sanqianx/project-knowledge',SC='project-knowledge/integration-runtime/v1';let f='';const root=process.env.CLAUDE_PLUGIN_ROOT||process.env.PLUGIN_ROOT;if(root){f=path.join(root,'scripts','mcp-launcher.cjs');if(!fs.existsSync(f))f=''}if(!f){const dd=process.env.KB_DATA_DIR||path.join(os.homedir(),'.project-knowledge-v5');try{const bp=path.join(dd,'integration-runtime.json');const st=fs.statSync(bp);if(st.isFile()&&st.size<=32768){const b=JSON.parse(fs.readFileSync(bp,'utf8'));if(b&&b.schema===SC&&b.packageName===PKG&&typeof b.packageRoot==='string'&&path.isAbsolute(b.packageRoot)){const c=path.join(b.packageRoot,'plugins','project-knowledge','scripts','mcp-launcher.cjs');const rr=fs.realpathSync(b.packageRoot),cr=fs.realpathSync(c);const rel=path.relative(rr,cr);if(rel&&rel!=='..'&&!rel.startsWith('..'+path.sep)&&!path.isAbsolute(rel)&&fs.statSync(cr).isFile())f=cr}}}catch(e){}}if(!f){console.error('[project-knowledge-mcp] 未能通过受信任插件根或已验证的安装绑定定位启动器,已停止;不访问网络,也不加载工作目录源码。');process.exit(127)}require(f);"
|
|
9
9
|
],
|
|
10
10
|
"env": {
|
|
11
|
-
"KB_PLUGIN_VERSION": "5.0.
|
|
11
|
+
"KB_PLUGIN_VERSION": "5.0.35"
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
}
|
package/ui/index.html
CHANGED
|
@@ -10,11 +10,10 @@
|
|
|
10
10
|
<div class="brand"><img class="brand-mark" src="/favicon.svg?v=folded-k-1" width="32" height="32" alt=""><div><strong>Project Knowledge</strong><small>个人工程智脑</small></div><span class="brand-version" id="brandVersion" tabindex="0" role="note" aria-label="知识库版本">知识库 版本读取中…</span></div>
|
|
11
11
|
<div id="brainLabel" class="brain-label">我的智脑</div>
|
|
12
12
|
<nav aria-label="主要导航">
|
|
13
|
-
<button data-view="home"><svg viewBox="0 0 24 24"><path d="m3 11 9-7 9 7M5 10v10h14V10"/></svg
|
|
14
|
-
<button data-view="work"><svg viewBox="0 0 24 24"><path d="M5 4h14v16H5zM8 8h8M8 12h8M8 16h5"/></svg>开始工作</button>
|
|
15
|
-
<button data-view="search"><svg viewBox="0 0 24 24"><circle cx="10.5" cy="10.5" r="6.5"/><path d="m16 16 5 5"/></svg>知识检索</button>
|
|
13
|
+
<button data-view="home"><svg viewBox="0 0 24 24"><path d="m3 11 9-7 9 7M5 10v10h14V10"/></svg>首页<span class="count" id="homeCount" hidden></span></button>
|
|
16
14
|
<button data-view="memory"><svg viewBox="0 0 24 24"><path d="M6 4h12v16H6zM9 8h6M9 12h6"/></svg>长期记忆<span class="count" id="memoryCount" hidden></span></button>
|
|
17
|
-
<button data-view="projects"><svg viewBox="0 0 24 24"><path d="M4 7h6l2 2h8v11H4z"/></svg
|
|
15
|
+
<button data-view="projects"><svg viewBox="0 0 24 24"><path d="M4 7h6l2 2h8v11H4z"/></svg>项目</button>
|
|
16
|
+
<button data-view="search"><svg viewBox="0 0 24 24"><circle cx="10.5" cy="10.5" r="6.5"/><path d="m16 16 5 5"/></svg>知识检索</button>
|
|
18
17
|
<button data-view="activity"><svg viewBox="0 0 24 24"><path d="M4 7h16M4 12h16M4 17h10"/></svg>活动记录</button>
|
|
19
18
|
</nav>
|
|
20
19
|
<button id="openSystem" class="system-button"><span class="dot" id="systemDot"></span><span><b id="systemTitle">正在检查系统</b><small id="systemDetail">本机知识服务</small></span><svg viewBox="0 0 24 24"><path d="m9 6 6 6-6 6"/></svg></button>
|
|
@@ -22,11 +21,14 @@
|
|
|
22
21
|
<main>
|
|
23
22
|
<header class="topbar"><div><small id="breadcrumb">我的智脑</small><h1 id="pageTitle">智脑首页</h1></div><div class="spacer"></div><select id="projectSelect" aria-label="当前项目" disabled><option value="">尚未导入项目</option></select><button id="themeToggle" class="icon-button" title="切换浅色或深色主题" aria-label="切换主题"><svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="4"/><path d="M12 2v3M12 19v3M2 12h3M19 12h3"/></svg></button></header>
|
|
24
23
|
<div class="content">
|
|
25
|
-
<section class="view" id="view-home"><div class="welcome"><div><small>工作概览</small><h2 id="homeTitle">我的智脑</h2><p
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
<section class="view" id="view-
|
|
24
|
+
<section class="view" id="view-home"><div class="welcome"><div><small>工作概览</small><h2 id="homeTitle">我的智脑</h2><p>需要处理的事项、待确认记忆和记忆组合,集中在一页。你的长期偏好,只在确认后使用。</p></div><div class="actions"><button data-action="import">导入项目</button></div></div><div id="homeContent"></div></section>
|
|
25
|
+
<!-- The workbench frame survives as a hidden service mount: provider
|
|
26
|
+
management and maintenance-model config still postMessage into it
|
|
27
|
+
from the system drawer, but it is no longer a navigation page. -->
|
|
28
|
+
<section class="view module-view" id="view-work" hidden><div class="work-layout" id="workLayout" hidden><div class="frame-container"><iframe id="workFrame" title="Agent 工作台" referrerpolicy="same-origin"></iframe></div></div></section>
|
|
29
|
+
<section class="view" id="view-search"><div id="searchContent"></div></section>
|
|
30
|
+
<section class="view" id="view-memory"><div id="memoryContent"></div></section>
|
|
31
|
+
<section class="view" id="view-projects"><div class="section-heading"><div><h2>项目</h2><p>把记忆组合应用到项目;项目知识仍保存在原来的目录。</p></div><div class="actions"><button id="createDomain">管理领域</button><button class="primary" data-action="import">导入项目</button></div></div><div id="projectsContent"></div></section>
|
|
30
32
|
<section class="view module-view" id="view-activity"><div class="module-toolbar"><div class="segmented" id="activityTabs"><button data-activity-tab="updates">知识更新</button><button data-activity-tab="sessions">开发会话与提交</button></div><span id="activityConnection" class="muted">正在连接更新</span></div><div class="activity-updates" id="activityUpdates"></div><div class="frame-container" id="activitySessions" hidden><iframe id="bridgeFrame" title="开发会话与提交" referrerpolicy="same-origin"></iframe></div></section>
|
|
31
33
|
</div>
|
|
32
34
|
</main>
|
|
@@ -74,11 +76,12 @@
|
|
|
74
76
|
</form></dialog>
|
|
75
77
|
<dialog id="importDialog"><form id="importForm"><div class="dialog-heading"><h2>导入项目</h2><button type="button" data-close="importDialog" aria-label="关闭">×</button></div><p class="muted">绑定代码与新的空知识目录。只建立跟踪基线,不读取旧知识、不分析全部历史。</p><label>代码目录<div class="input-with-action"><input name="localPath" id="importCode" required placeholder="D:\SanQian.Xu\my-project"><button type="button" id="pickCode">选择</button></div></label><label>项目名称<input name="displayName" id="importName" required maxlength="200"></label><label>知识目录<div class="input-with-action"><input name="knowledgePath" id="importKnowledge" required placeholder="D:\SanQian.Xu\knowledge\my-project"><button type="button" id="pickKnowledge">选择</button></div></label><label>所属领域<select name="domainId" id="importDomain"></select></label><label id="gitInitChoice" class="checkbox" hidden><input type="checkbox" name="confirmGitInit">这个目录不是 Git 仓库,我确认初始化 Git。</label><label id="replaceHookChoice" class="checkbox" hidden><input type="checkbox" name="confirmReplaceHook">目录留有旧知识库的托管 Hook,我确认替换为新项目接线。不会覆盖第三方 Hook。</label><div id="preflightStatus" class="feedback" role="status">填写目录后检查导入条件。</div><button type="button" id="setupImportRoot" hidden>设置知识根目录</button><div class="dialog-actions"><button type="button" data-close="importDialog">取消</button><button type="submit" class="primary" id="confirmImport" disabled>导入项目</button></div></form></dialog>
|
|
76
78
|
<dialog id="domainDialog"><form id="domainForm"><div class="dialog-heading"><h2>创建领域</h2><button type="button" data-close="domainDialog" aria-label="关闭">×</button></div><label>领域名称<input name="name" required maxlength="100" placeholder="例如:开发工具"></label><p class="muted">领域用于共享相关项目的知识,不是新的代码项目。</p><div class="dialog-actions"><button type="button" data-close="domainDialog">取消</button><button class="primary" type="submit">创建领域</button></div></form></dialog>
|
|
77
|
-
|
|
78
|
-
|
|
79
|
+
<!-- memory editor/review/delete flows moved into #appDialog -->
|
|
80
|
+
|
|
79
81
|
<dialog id="unbindDialog"><form id="unbindForm"><div class="dialog-heading"><h2>解绑项目</h2><button type="button" data-close="unbindDialog" aria-label="关闭">×</button></div><p id="unbindProjectName"></p><p class="muted">项目将从列表移除,取消尚未开始的维护任务。代码、知识文件、提交证据和会话历史仍保留。正在执行的知识写入结束前不会解绑。</p><p id="unbindFeedback" class="feedback" role="status"></p><div class="dialog-actions"><button type="button" data-close="unbindDialog">取消</button><button class="primary" type="submit" id="confirmUnbind">解绑并保留数据</button></div></form></dialog>
|
|
80
82
|
<dialog id="referenceDialog" class="reference-dialog"><div class="dialog-heading"><h2 id="referenceTitle">知识引用</h2><div class="actions"><button id="copyReference">复制引用</button><button data-close="referenceDialog" aria-label="关闭">×</button></div></div><p id="referenceMeta" class="muted"></p><pre id="referenceContent"></pre></dialog>
|
|
81
83
|
<dialog id="engineDialog" class="engine-dialog"><div class="dialog-heading"><h2>知识引擎诊断</h2><button data-close="engineDialog" aria-label="关闭">×</button></div><iframe id="engineFrame" title="知识引擎诊断" referrerpolicy="same-origin"></iframe></dialog>
|
|
84
|
+
<dialog id="appDialog"><div class="dialog-heading"><h2 id="appDialogTitle">详情</h2><button type="button" data-close="appDialog" aria-label="关闭">×</button></div><div id="appDialogBody"></div><p id="appDialogFeedback" class="feedback" role="alert" hidden></p><div class="dialog-actions" id="appDialogActions"></div></dialog>
|
|
82
85
|
<div id="toast" class="toast" role="status" aria-live="polite" hidden></div>
|
|
83
86
|
<script src="/live-client.js"></script>
|
|
84
87
|
<script src="/product.js"></script>
|
package/ui/product.css
CHANGED
|
@@ -15,3 +15,45 @@ html[data-skin=steel][data-theme=dark]{--page:#171a1f;--surface:#20252d;--surfac
|
|
|
15
15
|
.app{height:100%;display:grid;grid-template-columns:232px minmax(0,1fr)}.sidebar{display:flex;flex-direction:column;border-right:1px solid var(--line);background:var(--nav);min-height:0}.brand{display:flex;align-items:center;gap:8px;padding:24px 20px 16px}.brand-mark{width:32px;height:32px;display:block;flex:none;object-fit:contain}.brand strong{font-size:14px}.brand small{display:block}.brain-label{padding:0 20px 16px;color:var(--muted);overflow-wrap:anywhere}.sidebar nav{display:grid;gap:8px;padding:8px 12px}.sidebar nav button{justify-content:flex-start;min-height:40px;text-align:left;border-color:transparent;background:transparent;color:var(--muted)}.sidebar nav button.active{border-color:var(--line);background:var(--surface);color:var(--text)}.count{margin-left:auto;background:var(--surface3);padding:0 6px;border-radius:4px}.system-button{margin: auto 12px 16px;justify-content:flex-start;min-height:56px;background:transparent;border-color:transparent;padding:8px}.system-button>span:nth-child(2){flex:1;text-align:left}.system-button b,.system-button small{display:block;font-size:11px}.dot{width:7px;height:7px;border-radius:50%;background:var(--faint);flex:none}.dot.up{background:var(--good)}.dot.issue{background:var(--bad)}main{min-width:0;min-height:0;display:flex;flex-direction:column}.topbar{height:72px;flex:none;display:flex;align-items:center;gap:16px;padding:0 24px;background:var(--surface);border-bottom:1px solid var(--line)}.spacer{flex:1}.topbar select{width:240px}.icon-button{padding:8px;min-width:34px}.content{position:relative;flex:1;min-height:0}.view{display:none;height:100%;overflow:auto;padding:32px}.view.active{display:block}.view.module-view{padding:0;overflow:hidden}.module-view.active{display:flex;flex-direction:column}.frame-container{position:relative;flex:1;min-width:0;min-height:0;overflow:hidden;background:var(--surface)}iframe{display:block;width:100%;height:100%;border:0;background:var(--surface)}.work-layout{display:grid;grid-template-columns:minmax(0,1fr);height:100%;min-height:0}.module-toolbar{flex:none;min-height:56px;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:8px 24px;border-bottom:1px solid var(--line);background:var(--surface)}.segmented{display:flex;gap:4px}.segmented button{background:transparent;border-color:transparent;color:var(--muted)}.segmented button.active{background:var(--surface);border-color:var(--line);color:var(--text)}
|
|
16
16
|
.welcome{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}.welcome h2{font-size:24px;margin-top:8px}.actions{display:flex;gap:8px;align-items:center}.grid2{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(320px,1fr);gap:24px}.stack{display:grid;gap:24px}.panel{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:24px;min-width:0}.panel h2{margin-bottom:16px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.section-heading p{font-size:12px}.row{display:flex;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}.row:last-child{border-bottom:0}.row>div{flex:1;min-width:0}.row b{font-weight:600}.row small{display:block;margin-top:4px;overflow-wrap:anywhere}.row time{color:var(--muted);font-size:11px;flex:none}.status{font-size:11px;border:1px solid var(--line);border-radius:4px;padding:2px 8px;white-space:nowrap;color:var(--muted)}.status.up{color:var(--good)}.status.issue{color:var(--bad);background:var(--bad-soft)}.empty{padding:64px 24px;text-align:center;color:var(--muted);background:var(--surface);border-radius:8px;line-height:1.9}.empty button{display:block;margin:16px auto 0}.small-empty{padding:16px 0;text-align:left;background:transparent;font-size:12px}.hierarchy{display:grid;grid-template-columns:296px minmax(0,1fr);gap:24px}.tree h3{margin:24px 0 8px;color:var(--muted);font-size:11px}.tree button{width:100%;justify-content:flex-start;text-align:left;background:transparent;border-color:transparent;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tree button.active{background:var(--accent-soft);color:var(--accent)}.detail-path{padding:12px 16px;background:var(--surface2);border:1px solid var(--line);border-radius:8px;margin:8px 0 24px;font:12px/1.8 Consolas,"Microsoft YaHei",monospace;overflow-wrap:anywhere}.detail-label{color:var(--muted);font-size:11px}.memory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:24px}.memory-card{padding:24px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.memory-card p{color:var(--text);margin:0 0 16px;white-space:pre-wrap}.memory-card .actions{margin-top:16px}.reference{display:block;text-align:left;width:100%;background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:16px 0}.reference b,.reference small{display:block;text-align:left}.reference p{font-size:12px;text-align:left}.activity-updates{flex:1;overflow:auto;padding:24px 32px}.run{margin-bottom:16px;background:var(--surface);border:1px solid var(--line);border-radius:8px}.run summary{padding:16px 24px;cursor:pointer;display:flex;align-items:center;gap:16px}.run summary strong{flex:1}.run>div{padding:0 24px 24px}.run .error{color:var(--bad)}.operation{padding:8px 0;color:var(--muted)}
|
|
17
17
|
.drawer-backdrop{position:fixed;inset:0;background:rgba(10,18,25,.25);z-index:20}.drawer{position:fixed;right:0;top:0;height:100%;width:448px;background:var(--surface);border-left:1px solid var(--line);z-index:21;display:flex;flex-direction:column}.drawer>header{height:72px;display:flex;align-items:center;justify-content:space-between;padding:24px;border-bottom:1px solid var(--line)}.drawer-content{overflow:auto;flex:1;padding:24px}.drawer section{padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid var(--line)}.drawer select{width:100%;margin:16px 0}.drawer .actions{flex-wrap:wrap}.drawer section:last-child{border-bottom:0}.input-with-action{display:flex;gap:8px;margin-top:8px}.input-with-action input{flex:1}.input-with-action button{flex:none}.checkbox{display:flex;align-items:center;gap:8px}.checkbox input{width:auto;margin:0}dialog{width:560px;max-width:90vw;max-height:90vh;overflow:auto;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:12px;padding:24px}dialog::backdrop{background:rgba(10,18,25,.35)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.dialog-heading>button{border:0;background:transparent;font-size:20px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}.feedback{padding:12px 16px;background:var(--surface2);border:1px solid var(--line);border-radius:8px;color:var(--muted);white-space:pre-wrap}.feedback.issue{color:var(--bad)}.reference-dialog{width:880px}.reference-dialog pre{margin-top:24px;max-height:60vh;overflow:auto}.engine-dialog{width:calc(100vw - 96px);height:calc(100vh - 96px);padding:0;overflow:hidden}.engine-dialog .dialog-heading{height:64px;padding:16px 24px;border-bottom:1px solid var(--line);margin:0}.engine-dialog iframe{height:calc(100% - 64px)}.toast{position:fixed;bottom:24px;right:24px;z-index:50;background:var(--surface);padding:12px 16px;border:1px solid var(--line);border-radius:8px;max-width:480px;color:var(--text)}
|
|
18
|
+
/* ===== 五页简化 UI:组合、分页、拖放、检索结果 ===== */
|
|
19
|
+
.memory-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;align-items:start}
|
|
20
|
+
.memory-folders{display:grid;gap:4px;border:1px solid var(--line);border-radius:8px;background:var(--surface);padding:12px}
|
|
21
|
+
.memory-folders button{justify-content:space-between;text-align:left;background:transparent;border-color:transparent;color:var(--muted);min-height:34px}
|
|
22
|
+
.memory-folders button.active{background:var(--accent-soft);color:var(--accent)}
|
|
23
|
+
.memory-folders hr{border:0;border-top:1px solid var(--line);margin:8px 0;width:100%}
|
|
24
|
+
.memory-list{display:grid}
|
|
25
|
+
.memory-item{border-bottom:1px solid var(--line);padding:8px 0}
|
|
26
|
+
.memory-item .actions{margin-top:8px;flex-wrap:wrap}
|
|
27
|
+
.memory-item .reference{border:0;padding:8px 0}
|
|
28
|
+
.memory-item .reference small{display:block;margin-top:4px}
|
|
29
|
+
.link-button{border:0;background:transparent;color:var(--accent);padding:0;min-height:26px;justify-content:flex-start}
|
|
30
|
+
.pager{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:16px;color:var(--muted);font-size:11px}
|
|
31
|
+
.pager .actions{flex-wrap:nowrap}
|
|
32
|
+
.dragbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 16px;background:var(--surface2);border:1px dashed var(--line);border-radius:8px;margin-bottom:16px}
|
|
33
|
+
.dragbar>span{font-size:11px;color:var(--muted);margin-right:4px}
|
|
34
|
+
.dragbar button{font-size:12px;padding:4px 10px;min-height:28px;cursor:grab}
|
|
35
|
+
.dragbar.over{border-color:var(--bad);background:var(--bad-soft)}
|
|
36
|
+
.project-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:14px 0;border-bottom:1px solid var(--line)}
|
|
37
|
+
.project-row.over,.project-row[data-drop-project].over{background:var(--accent-soft)}
|
|
38
|
+
.project-name{min-width:160px;flex:1}
|
|
39
|
+
.project-name small{display:block}
|
|
40
|
+
.group-tags{display:flex;align-items:center;gap:6px;flex-wrap:wrap;flex:1;min-width:150px}
|
|
41
|
+
.group-tag{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--line);border-radius:6px;background:var(--surface2);padding:3px 6px;font-size:11px;cursor:grab;max-width:100%}
|
|
42
|
+
.group-tag span{overflow-wrap:anywhere}
|
|
43
|
+
.group-tag button{border:0;background:transparent;min-width:22px;min-height:22px;padding:0;font-size:14px}
|
|
44
|
+
.combo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}
|
|
45
|
+
.combo-card{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;padding:14px 16px;min-height:60px}
|
|
46
|
+
.combo-card small{display:block;margin-top:2px}
|
|
47
|
+
.recovery-banner{margin-top:12px;padding:10px 14px;background:var(--surface2);border:1px solid var(--line);border-radius:8px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;color:var(--muted)}
|
|
48
|
+
.recovery-banner button{margin-left:auto;font-size:12px;min-height:28px;padding:4px 10px}
|
|
49
|
+
.result-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start;border-bottom:1px solid var(--line);padding:12px 0}
|
|
50
|
+
.result-row .reference{border:0;padding:0}
|
|
51
|
+
.result-row>small{color:var(--muted);max-width:240px;text-align:right}
|
|
52
|
+
.checkbox{display:flex;align-items:center;gap:8px;margin:8px 0;color:var(--text);font-size:13px}
|
|
53
|
+
.checkbox input{width:16px;height:16px;margin:0;flex:none}
|
|
54
|
+
#appDialog{width:640px}
|
|
55
|
+
#appDialog #appDialogBody{max-height:60vh;overflow:auto}
|
|
56
|
+
#appDialog form label:first-child{margin-top:0}
|
|
57
|
+
.status-group{background:var(--accent-soft)}
|
|
58
|
+
@media(max-width:900px){.memory-layout{grid-template-columns:170px minmax(0,1fr)}.grid2{grid-template-columns:1fr}.result-row{grid-template-columns:1fr}.result-row>small{text-align:left;max-width:none}}
|
|
59
|
+
@media(max-width:640px){.memory-layout{display:block}.memory-folders{margin-bottom:16px}.memory-folders hr{display:none}.project-name{min-width:130px}.dragbar{display:none}}
|