Skip to content

Commit dc0659d

Browse files
committed
fix(daemon): resolve HyperFrames backport conflicts
1 parent 8643130 commit dc0659d

4 files changed

Lines changed: 7 additions & 35 deletions

File tree

β€Žapps/daemon/src/server.tsβ€Ž

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1672,12 +1672,8 @@ export function createAgentRuntimeToolPrompt(
16721672
'',
16731673
`- Daemon URL: \`${daemonUrl}\` (also available as \`OD_DAEMON_URL\`).`,
16741674
'- `OD_NODE_BIN` is the absolute path to the Node-compatible runtime that started the daemon; packaged desktop installs provide this even when the user has no system `node` on PATH.',
1675-
<<<<<<< HEAD
1676-
'- `OD_BIN` is the absolute path to the Open Design CLI script. On POSIX shells run wrappers with `"$OD_NODE_BIN" "$OD_BIN" tools ...`; do not call bare `od`, which may resolve to the system octal-dump command on Unix-like systems.',
1677-
=======
16781675
'- `OD_HYPERFRAMES_BIN` is the absolute path to Open Design\'s pinned HyperFrames CLI. Run lightweight commands through `OD_NODE_BIN`; use `"$OD_NODE_BIN" "$OD_BIN" media scaffold` for composition setup and never use a user-level `npx` cache.',
1679-
'- `OD_BIN` is the absolute path to the OpenDesign CLI script. On POSIX shells run wrappers with `"$OD_NODE_BIN" "$OD_BIN" tools ...`; do not call bare `od`, which may resolve to the system octal-dump command on Unix-like systems.',
1680-
>>>>>>> 0d53c96be (fix daemon HyperFrames scaffold and runtime (#7030))
1676+
'- `OD_BIN` is the absolute path to the Open Design CLI script. On POSIX shells run wrappers with `"$OD_NODE_BIN" "$OD_BIN" tools ...`; do not call bare `od`, which may resolve to the system octal-dump command on Unix-like systems.',
16811677
'- On PowerShell use `& $env:OD_NODE_BIN $env:OD_BIN tools ...`; on cmd.exe use `"%OD_NODE_BIN%" "%OD_BIN%" tools ...`.',
16821678
tokenLine,
16831679
'- Prefer project wrapper commands through `OD_NODE_BIN` + `OD_BIN` over raw HTTP. The wrappers read these environment values automatically.',

β€Žapps/daemon/tests/prompts/__snapshots__/system-prompt-matrix.test.ts.snapβ€Ž

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,7 @@ exports[`composeSystemPrompt β€” scenario Γ— section golden matrix > keeps the s
4848
"clarifying-questions",
4949
"role-marker-guard",
5050
],
51-
<<<<<<< HEAD
52-
"totalChars": 45969,
53-
=======
54-
"totalChars": 46059,
55-
>>>>>>> 0d53c96be (fix daemon HyperFrames scaffold and runtime (#7030))
51+
"totalChars": 46066,
5652
},
5753
"critique-enabled": {
5854
"sections": [
@@ -283,11 +279,7 @@ exports[`composeSystemPrompt β€” scenario Γ— section golden matrix > keeps the s
283279
"clarifying-questions",
284280
"role-marker-guard",
285281
],
286-
<<<<<<< HEAD
287-
"totalChars": 45967,
288-
=======
289-
"totalChars": 46057,
290-
>>>>>>> 0d53c96be (fix daemon HyperFrames scaffold and runtime (#7030))
282+
"totalChars": 46064,
291283
},
292284
"memory-hooks-off": {
293285
"sections": [

β€Ždesign-templates/hyperframes/references/html-in-canvas.mdβ€Ž

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,7 @@ The HTML-in-Canvas API (`drawElementImage`) lets you capture live, rendered DOM
1212
>
1313
> HyperFrames enables this flag automatically during rendering (`--enable-features=CanvasDrawElement`), so rendered videos work without manual setup. The flag is only needed for live preview in the Studio.
1414
15-
<<<<<<< HEAD
16-
When this skill runs inside Open Design, the daemon shells out to `npx hyperframes render`, which inherits the auto-enable. You do **not** need to add browser flags or pass extra CLI args from the agent.
17-
=======
18-
When this skill runs inside OpenDesign, the daemon invokes its pinned HyperFrames runtime, which inherits the auto-enable. You do **not** need to add browser flags or pass extra CLI args from the agent.
19-
>>>>>>> 0d53c96be (fix daemon HyperFrames scaffold and runtime (#7030))
15+
When this skill runs inside Open Design, the daemon invokes its pinned HyperFrames runtime, which inherits the auto-enable. You do **not** need to add browser flags or pass extra CLI args from the agent.
2016

2117
## How it works
2218

@@ -152,8 +148,4 @@ HyperFrames enables the Chrome flag automatically during rendering. Inside Open
152148
--output my-video.mp4
153149
```
154150

155-
<<<<<<< HEAD
156-
For Docker renders, the flag is also enabled automatically inside the container. Inside Open Design, the daemon's `npx hyperframes render` call (`apps/daemon/src/media/index.ts`) inherits the same default β€” you don't need to thread anything through.
157-
=======
158-
For Docker renders, the flag is also enabled automatically inside the container. OpenDesign's daemon-managed render inherits the same default β€” you don't need to thread anything through.
159-
>>>>>>> 0d53c96be (fix daemon HyperFrames scaffold and runtime (#7030))
151+
For Docker renders, the flag is also enabled automatically inside the container. Open Design's daemon-managed render inherits the same default β€” you don't need to thread anything through.

β€Žplugins/_official/examples/hyperframes/references/html-in-canvas.mdβ€Ž

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,7 @@ The HTML-in-Canvas API (`drawElementImage`) lets you capture live, rendered DOM
1212
>
1313
> HyperFrames enables this flag automatically during rendering (`--enable-features=CanvasDrawElement`), so rendered videos work without manual setup. The flag is only needed for live preview in the Studio.
1414
15-
<<<<<<< HEAD
16-
When this skill runs inside Open Design, the daemon shells out to `npx hyperframes render`, which inherits the auto-enable. You do **not** need to add browser flags or pass extra CLI args from the agent.
17-
=======
18-
When this skill runs inside OpenDesign, the daemon invokes its pinned HyperFrames runtime, which inherits the auto-enable. You do **not** need to add browser flags or pass extra CLI args from the agent.
19-
>>>>>>> 0d53c96be (fix daemon HyperFrames scaffold and runtime (#7030))
15+
When this skill runs inside Open Design, the daemon invokes its pinned HyperFrames runtime, which inherits the auto-enable. You do **not** need to add browser flags or pass extra CLI args from the agent.
2016

2117
## How it works
2218

@@ -152,8 +148,4 @@ HyperFrames enables the Chrome flag automatically during rendering. Inside Open
152148
--output my-video.mp4
153149
```
154150

155-
<<<<<<< HEAD
156-
For Docker renders, the flag is also enabled automatically inside the container. Inside Open Design, the daemon's `npx hyperframes render` call (`apps/daemon/src/media/index.ts`) inherits the same default β€” you don't need to thread anything through.
157-
=======
158-
For Docker renders, the flag is also enabled automatically inside the container. OpenDesign's daemon-managed render inherits the same default β€” you don't need to thread anything through.
159-
>>>>>>> 0d53c96be (fix daemon HyperFrames scaffold and runtime (#7030))
151+
For Docker renders, the flag is also enabled automatically inside the container. Open Design's daemon-managed render inherits the same default β€” you don't need to thread anything through.

0 commit comments

Comments
Β (0)