@galda/cli 0.10.97 → 0.10.98
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/app/index.html +16 -1
- package/package.json +1 -1
package/app/index.html
CHANGED
|
@@ -9985,8 +9985,23 @@ function saItemHtml(it, i){
|
|
|
9985
9985
|
const runDeclErrorBody = (!((it.run?.cmd || it.run?.url)) && it.runDeclError)
|
|
9986
9986
|
? `<div class="ropen rdeclerr"><p class="rbody v">${failureLang() === 'ja' ? 'AIが開けるものを用意しようとしましたが、記録が読み取れませんでした。返信して直させてください。' : 'The AI tried to declare something to open here, but the record was unreadable. Reply to have it rewritten.'}</p></div>`
|
|
9987
9987
|
: '';
|
|
9988
|
+
// The worker declared a static file AND changed something else (engine sets
|
|
9989
|
+
// run.alsoChanged; goal #871). Both arrive as a /upload link, so the address
|
|
9990
|
+
// above cannot tell you whether you are about to open the product or a page
|
|
9991
|
+
// the agent wrote about the product — #871 was the second, and the request
|
|
9992
|
+
// ("something I can check locally") had to be made again.
|
|
9993
|
+
//
|
|
9994
|
+
// One sentence of fact in the same voice as the note beside it: no badge, no
|
|
9995
|
+
// colour, no warning tone. The card is not saying the worker did the wrong
|
|
9996
|
+
// thing — a write-up beside a code change is often exactly right. It is
|
|
9997
|
+
// saying which of the two this link is. Absent → nothing renders (§1.5-3).
|
|
9998
|
+
const alsoChanged = it.run?.alsoChanged?.length
|
|
9999
|
+
? `<p class="rbody v">${failureLang() === 'ja'
|
|
10000
|
+
? `AIが書いたファイルを開きます。このタスクは ${esc(it.run.alsoChanged.join(' · '))} も変更しています。`
|
|
10001
|
+
: `Opens a file the agent wrote. This task also changed ${esc(it.run.alsoChanged.join(' · '))}.`}</p>`
|
|
10002
|
+
: '';
|
|
9988
10003
|
const openBody = (it.run?.cmd || it.run?.url)
|
|
9989
|
-
? `<div class="ropen" id="runlocal${i}"><button type="button" class="olink" data-saact="preview:${i}" id="prevlink${i}">${esc(it.run.url || 'Start it')}<span class="ar">↗</span></button><p class="rbody v">${esc(it.run.note || it.run.cmd || 'Starts when you press it.')}${it.interruptedTask ? ' Available now; it does not wait for this run to finish.' : ''}</p
|
|
10004
|
+
? `<div class="ropen" id="runlocal${i}"><button type="button" class="olink" data-saact="preview:${i}" id="prevlink${i}">${esc(it.run.url || 'Start it')}<span class="ar">↗</span></button><p class="rbody v">${esc(it.run.note || it.run.cmd || 'Starts when you press it.')}${it.interruptedTask ? ' Available now; it does not wait for this run to finish.' : ''}</p>${alsoChanged}</div>`
|
|
9990
10005
|
: it.pr
|
|
9991
10006
|
? `<div class="ropen"><a class="olink" href="${esc(it.pr)}" target="_blank" rel="noopener">${esc(it.pr)}<span class="ar">↗</span></a><p class="rbody v">Review and merge this pull request to finish the item.</p></div>`
|
|
9992
10007
|
: runDeclErrorBody;
|
package/package.json
CHANGED