skillmkt 0.1.7 → 0.1.8
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/client/public/app.js +1 -1
- package/package.json +1 -1
package/client/public/app.js
CHANGED
|
@@ -124,7 +124,7 @@ async function render() {
|
|
|
124
124
|
<label class="field">api_key(env:VAR 引用,不存真值;留空=无 key)</label><input type="text" id="mkey" value="${esc(cfg.llm?.api_key || '')}">
|
|
125
125
|
<div class="row" style="margin-top:8px"><button id="smoke">测试连接</button><span id="smoke-out" class="mut"></span></div></div>
|
|
126
126
|
<div class="card"><b>skill 装到哪些 agent</b><span class="mut">(勾选后,新装的 skill 会复制进这些 agent 的 skills 目录)</span>
|
|
127
|
-
${h.map((x) => `<label class="row"><input type="checkbox" data-h="${esc(x.id)}" ${sel.has(x.id) ? 'checked' : ''} ${x.state
|
|
127
|
+
${h.map((x) => `<label class="row"><input type="checkbox" data-h="${esc(x.id)}" ${sel.has(x.id) ? 'checked' : ''} ${x.state === 'absent' ? 'disabled' : ''}> ${esc(x.id)} ${pill(x.state)} <span class="mut">${esc(x.primaryDir || '')}</span></label>`).join('')}</div>
|
|
128
128
|
<div class="card"><button class="primary" id="save">保存配置</button><span id="save-out" class="mut"></span></div>`;
|
|
129
129
|
app.querySelector('#probe').onclick = async () => {
|
|
130
130
|
app.querySelector('#probe-out').textContent = '扫描中…';
|