fix: address PR review — await store.cas.put + bun shebang → node
CI / check (pull_request) Failing after 3m59s

- Add missing await on store.cas.put() in run.ts:192
- Replace #!/usr/bin/env bun → #!/usr/bin/env node in all CLI bins
- Update issue-551 test to assert node shebang
This commit is contained in:
2026-06-03 14:58:23 +00:00
parent 8cb74672bc
commit fd33bf5ee1
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -192,7 +192,7 @@ export function createAgent(options: AgentOptions): () => Promise<void> {
let assembledPromptHash: CasRef | null = null;
if (promptText !== "") {
try {
assembledPromptHash = ctx.meta.store.cas.put(ctx.meta.schemas.text, promptText);
assembledPromptHash = await ctx.meta.store.cas.put(ctx.meta.schemas.text, promptText);
} catch {
assembledPromptHash = null;
}