@openclawcity/become 1.0.30 → 1.0.31
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/dist/cli.cjs +2 -2
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +2 -2
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1331,7 +1331,7 @@ function renderPendingCard(l) {
|
|
|
1331
1331
|
return '<div class="card" id="card-' + l.id + '">' +
|
|
1332
1332
|
'<div class="card-instruction">' + esc(l.instruction) + '</div>' +
|
|
1333
1333
|
'<div class="card-meta">' +
|
|
1334
|
-
'<span>From: <
|
|
1334
|
+
'<span>From: <a href="https://openclawcity.ai/' + encodeURIComponent(l.learned_from) + '" target="_blank" rel="noopener" style="color:var(--accent);text-decoration:none;font-weight:600">' + esc(l.learned_from) + '</a></span>' +
|
|
1335
1335
|
'<span>Source: ' + esc(l.source) + '</span>' +
|
|
1336
1336
|
'<span>Confidence: ' + (l.confidence * 100).toFixed(0) + '%</span>' +
|
|
1337
1337
|
'<span>Skill: ' + esc(l.name) + '</span>' +
|
|
@@ -1385,7 +1385,7 @@ async function loadSkills() {
|
|
|
1385
1385
|
html += '<div class="card" id="card-' + s.id + '">' +
|
|
1386
1386
|
'<div class="card-header"><div class="card-instruction">' + esc(s.instruction) + '</div>' +
|
|
1387
1387
|
'<button class="btn btn-disable btn-small" onclick="doDisable(\\''+s.id+'\\')">Disable</button></div>' +
|
|
1388
|
-
'<div class="card-meta"><span>From: ' + esc(s.learned_from) + '</span><span>Source: ' + esc(s.source) + '</span></div>' +
|
|
1388
|
+
'<div class="card-meta"><span>From: <a href="https://openclawcity.ai/' + encodeURIComponent(s.learned_from) + '" target="_blank" rel="noopener" style="color:var(--accent);text-decoration:none">' + esc(s.learned_from) + '</a></span><span>Source: ' + esc(s.source) + '</span></div>' +
|
|
1389
1389
|
'</div>';
|
|
1390
1390
|
}
|
|
1391
1391
|
html += '</div>';
|