feat(FN-1318): rename CLI binary artifacts from kb to fn

- Update CLI build and runtime paths to emit and reference fn-named binaries across default and cross-target builds
- Adjust Bun binary bootstrap stubs and native patch temp/symlink prefixes to use fn naming consistently
- Update CI, release, and test-release workflows to validate and collect fn-prefixed artifacts
- Align CLI build and package config tests with fn binary expectations and add a patch changeset for @gsxdsm/fusion
This commit is contained in:
gsxdsm
2026-04-08 14:47:30 -07:00
parent 4ac4f92a59
commit b94c7428d3
11 changed files with 58 additions and 53 deletions

View File

@@ -24,11 +24,11 @@ if (isBunBinary) {
if (!existsSync(localPkg)) {
// Write a minimal package.json to a temp dir and redirect PI_PACKAGE_DIR
const tmp = mkdtempSync(join(tmpdir(), "kb-pkg-"));
const tmp = mkdtempSync(join(tmpdir(), "fn-pkg-"));
writeFileSync(
join(tmp, "package.json"),
JSON.stringify(
{ name: "kb", version: "0.1.0", type: "module", piConfig: { name: "kb", configDir: ".fusion" } },
{ name: "fn", version: "0.1.0", type: "module", piConfig: { name: "fn", configDir: ".fusion" } },
null,
2,
) + "\n",