Skip to content

Commit bdbef86

Browse files
committed
sync(bfmono): fix(gambit): resolve local jsr package in release-binaries compile (+19 more) (bfmono@2ce4b7ee8)
This PR is an automated gambitmono sync of bfmono Gambit packages. - Source: `packages/gambit/` - Core: `packages/gambit/packages/gambit-core/` - bfmono rev: 2ce4b7ee8 Changes: - 2ce4b7ee8 fix(gambit): resolve local jsr package in release-binaries compile - e0c706e16 feat(gambit-simulator): show deck labels in build file selector - 02e3a5133 fix(gambit-simulator): keep test run metadata timestamp stable on selection - d5d4c4790 fix(gambit): make publish config resilient when init package scaffold is absent - e59c46b74 docs(gambit): align snippet terminology and publish migration post - 32c05988a chore(gambit): migrate demo and docs built-in URIs to snippets - 0c3283e87 chore(gambit): rename legacy action/test deck keys in examples and docs - e6cee968d chore(gambit-examples): adopt scenario participant snippet in user-turn decks - 898e776f0 feat(gambit): add scenario participant snippet and scaffold adoption - e61fcaa4e feat(gambit-simulator): add previous test run selectors for test and grade - 4f0a61e0c fix(gambit): keep blank test runs and allow assistant starts in a workspace - 5663a6c3e fix(gambit-simulator): prevent overlapping test status polls - c7a262c7d fix(gambit): enable unstable worker options in gambit-core CI tests - 5660b3269 test(gambit): harden codex cli test command config - a9d5438f9 chore(gambit): cut 0.8.5-rc.1 release - d6a149451 test(gambit): harden codex smoke + build stop tests - 6c76075fa fix(gambit-serve): root workspace state in invocation directory - de75a3987 feat(gambit): ship faq openresponses interoperability updates - 11e0477a3 fix(gambit-sim): default test init when workspace has no saved messages - 14df328c7 test(gambit-simulator): cover test tab JSON input gating and payload wiring Do not edit this repo directly; make changes in bfmono and re-run the sync.
1 parent f21cf73 commit bdbef86

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

.github/workflows/release-binaries.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,13 @@ jobs:
114114
const coreDir = corePath.includes("/")
115115
? corePath.slice(0, corePath.lastIndexOf("/"))
116116
: ".";
117+
const gambitDir = gambitPath.includes("/")
118+
? gambitPath.slice(0, gambitPath.lastIndexOf("/"))
119+
: ".";
120+
const localPath = (dir, rel = "") => {
121+
const base = dir === "." ? "." : `./${dir}`;
122+
return rel ? `${base}/${rel}` : `${base}/`;
123+
};
117124
const localImports = {};
118125
for (const [key, value] of Object.entries(exportsMap)) {
119126
if (typeof value !== "string") continue;
@@ -122,9 +129,14 @@ jobs:
122129
: key;
123130
const spec = `@bolt-foundry/gambit-core${suffix}`;
124131
const rel = value.startsWith("./") ? value.slice(2) : value;
125-
localImports[spec] = `./${coreDir}/${rel}`;
132+
localImports[spec] = localPath(coreDir, rel);
126133
}
127-
gambit.imports = { ...(gambit.imports ?? {}), ...localImports };
134+
gambit.imports = {
135+
...(gambit.imports ?? {}),
136+
...localImports,
137+
"jsr:@bolt-foundry/gambit": localPath(gambitDir, "mod.ts"),
138+
"jsr:@bolt-foundry/gambit/": localPath(gambitDir),
139+
};
128140
await Deno.writeTextFile(
129141
"deno.ci.json",
130142
JSON.stringify(gambit, null, 2) + "\n",

0 commit comments

Comments
 (0)