@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.cjs
CHANGED
|
@@ -1370,7 +1370,7 @@ function renderPendingCard(l) {
|
|
|
1370
1370
|
return '<div class="card" id="card-' + l.id + '">' +
|
|
1371
1371
|
'<div class="card-instruction">' + esc(l.instruction) + '</div>' +
|
|
1372
1372
|
'<div class="card-meta">' +
|
|
1373
|
-
'<span>From: <
|
|
1373
|
+
'<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>' +
|
|
1374
1374
|
'<span>Source: ' + esc(l.source) + '</span>' +
|
|
1375
1375
|
'<span>Confidence: ' + (l.confidence * 100).toFixed(0) + '%</span>' +
|
|
1376
1376
|
'<span>Skill: ' + esc(l.name) + '</span>' +
|
|
@@ -1424,7 +1424,7 @@ async function loadSkills() {
|
|
|
1424
1424
|
html += '<div class="card" id="card-' + s.id + '">' +
|
|
1425
1425
|
'<div class="card-header"><div class="card-instruction">' + esc(s.instruction) + '</div>' +
|
|
1426
1426
|
'<button class="btn btn-disable btn-small" onclick="doDisable(\\''+s.id+'\\')">Disable</button></div>' +
|
|
1427
|
-
'<div class="card-meta"><span>From: ' + esc(s.learned_from) + '</span><span>Source: ' + esc(s.source) + '</span></div>' +
|
|
1427
|
+
'<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>' +
|
|
1428
1428
|
'</div>';
|
|
1429
1429
|
}
|
|
1430
1430
|
html += '</div>';
|