mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-15 15:46:30 +03:00
Cross-harness, cross-OS: boot-time tool detection and native-first image gen
context.mjs now probes cwebp/sips/magick/ffmpeg once (which/where per OS) and prints IMAGE_TOOLS, replacing macOS-specific prose; the IMAGE_GEN_AVAILABLE directive leads with the harness-native tool so a present OpenAI key stops reading as an instruction to bill it; and the sandboxed board-start guidance sheds codex vocabulary. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
af56fae571
commit
b1c5707fde
@@ -3766,7 +3766,10 @@
|
||||
const container = copyEditContainerContext(contextElement);
|
||||
if (container) for (const op of ops) op.container = container;
|
||||
try {
|
||||
const res = await fetch('http://localhost:' + PORT + '/manual-edit-stash', {
|
||||
// Token in the query string as well as the body: the URL token is what
|
||||
// authorizes the CORS preflight when the page runs on a non-loopback
|
||||
// dev host (ddev, Valet), since the preflight carries no request body.
|
||||
const res = await fetch('http://localhost:' + PORT + '/manual-edit-stash?token=' + encodeURIComponent(TOKEN), {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify({
|
||||
@@ -7150,7 +7153,10 @@
|
||||
console.debug('[impeccable] Dropped optional live event:', err);
|
||||
return null;
|
||||
}
|
||||
const doSend = () => fetch('http://localhost:' + PORT + '/events', {
|
||||
// Token in the query string as well as the body: the URL token is what
|
||||
// authorizes the CORS preflight when the page runs on a non-loopback
|
||||
// dev host (ddev, Valet), since the preflight carries no request body.
|
||||
const doSend = () => fetch('http://localhost:' + PORT + '/events?token=' + encodeURIComponent(TOKEN), {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify(msg),
|
||||
|
||||
Reference in New Issue
Block a user