@hivey/cli 0.9.82 → 0.9.83
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.
|
Binary file
|
package/package.json
CHANGED
|
@@ -1104,6 +1104,8 @@ function renderDash() {
|
|
|
1104
1104
|
msg.hidden = false;
|
|
1105
1105
|
msg.innerHTML = `<div><b>${esc(cur.name)} can't be shown inside the fleet page</b><br>${s.elsewhere
|
|
1106
1106
|
? `It sends you to <b>${esc(s.elsewhere)}</b> first, a login page that refuses frames. Turn that hosting login off (for a Vercel project: Settings → Deployment Protection) and give the dashboard token login instead (hivey-dashboards skill).`
|
|
1107
|
+
: /(^|\.)claude\.(ai|site)$/i.test(dashHost(cur.url))
|
|
1108
|
+
? 'claude.ai artifacts can\'t be shown inside another page. Open it in a new tab instead.'
|
|
1107
1109
|
: 'The site does not allow being shown inside other pages (X-Frame-Options or frame-ancestors).'}<br><button id="dtab2">Open in a new tab ↗</button></div>`;
|
|
1108
1110
|
$('#dtab2').onclick = () => window.open(dashOpenUrl(cur), '_blank', 'noopener');
|
|
1109
1111
|
frame.removeAttribute('src'); frame.dataset.src = '';
|
|
@@ -84,3 +84,6 @@ hivey agent-map dashboard token es_… # set it (the user's DASHBO
|
|
|
84
84
|
The page says why. "Sends you to another site": a hosting login wall (turn it off and use the token login);
|
|
85
85
|
"does not allow being shown inside other pages": remove `X-Frame-Options` / `frame-ancestors` from the
|
|
86
86
|
site. A red dot means the site did not answer, or its token could not be read.
|
|
87
|
+
claude.ai artifact links (`claude.ai/artifact/…`, `claude.ai/public/artifacts/…`, `/embed` too) can never
|
|
88
|
+
show in the frame (claude.ai sends `frame-ancestors 'self'`). Registering them is fine: the page says so and
|
|
89
|
+
its "Open in a new tab" button opens them.
|