Dashboard › opencode-lore › Distillation
6621ad4b-15e6-4f94-a1c3-8b14ddbd9eba["lore_tm_v1_YbiDKGbPYHPZIPPCms7aZzW4tvWBVptGkNL6oMURGZU","lore_tm_v1_3hxt0sht_z_-KLpZnXi7w2lwnVZU-HuYJSTVlVbS92c","lore_tm_v1_-BU8kaJhVPmuBq7Exip9KYuIyS7kl5z7e9yNSbiRkEQ","lore_tm_v1_-fXIawiYLDP7OgJ1Lf4YPv6Qbqhnuzruw6-WAffnsvM","lore_tm_v1_eEzcXlSIXcisSHRhjtekWXFCtUPiPO3jZyTsjEsN3WM","lore_tm_v1_6fFlcm0B9DBnQs_sArCa4LH_2VqL8NcLw7YP70nhvRU"]
Date: September 16, 2026
resolveNativeOrtBindingPath returns null and never throws when native ONNX Runtime packages are absent.nativeIntraOpThreads(Number.NaN, 8) returns 1.isTransformersInferenceDumpLine() must never match tensor data or any other later console.error argument; only the leading string may match..craft.yml release publication targets: 1. the 4 workspace packages @loreai/core, @loreai/opencode, @loreai/pi, and @loreai/gateway via a public OIDC npm target with workspaces: true; 2. legacy opencode-lore via includeNames: /^opencode-lore-\d.*\.tgz$/; 3. generated native packages through target ID onnxruntime-native with includeNames: /^loreai-onnxruntime-.*\.tgz$/; 4. GitHub release assets selected by /(\.(gz|patch)|^lore-checksums\.txt|^install-protocol-v1)$/..craft.yml uses minVersion: '2.21.1', automatic changelog/versioning, and preReleaseCommand: bash scripts/bump-version.sh because Craft’s built-in npm version bumping fails on workspace:* dependencies.packages/core, packages/opencode, packages/pi, and packages/gateway using pnpm pack --pack-destination ../../dist-tarballs; pnpm pack is required because it rewrites workspace:* to the packed version, whereas npm pack leaves the literal specifier and breaks installation.opencode-lore-<version>.tgz by extracting loreai-opencode-<version>.tgz, replacing .name with "opencode-lore" in package/package.json, and repacking otherwise identical content.pnpm tsx packages/gateway/script/pack-ort-npm.ts --version "$version" --tarballs "$GITHUB_WORKSPACE/dist-tarballs" after workspace tarballs are packed, producing native ONNX Runtime tarballs and modifying the packed gateway tarball in place..github/workflows/ci.yml: its comment says to “pack all 6” native ONNX Runtime platform packages, while the current ORT_NPM_PLATFORMS definition contains exactly 5 targets.packages/gateway/script/pack-ort-npm.ts release packaging sequence: 1. buildOrtPlatformPackages(staging, version) generates every platform package in a temporary ort-npm-pack- directory; 2. each package is packed with npm pack <dir> --pack-destination <tarballsDir>; 3. generated tarballs are named loreai-onnxruntime-<target>-<version>.tgz; 4. temporary staging is removed recursively in a finally block.injectGatewayOptionalDeps() in packages/gateway/script/pack-ort-npm.ts builds one exact-version entry per ORT_NPM_PLATFORMS item using ortPackageName(p.target), extracts loreai-gateway-${version}.tgz, merges those entries into package/package.json’s existing optionalDependencies, writes formatted JSON with a trailing newline, and repacks over the original tarball.package.json—so the repository and lockfile remain unchanged and release-branch pnpm install --frozen-lockfile continues to work.pack-ort-npm.ts CLI requirements: options are --version <x.y.z> and --tarballs <dir>; version may instead come from CRAFT_NEW_VERSION; missing version or tarball directory prints Usage: pack-ort-npm.ts --version <x.y.z> --tarballs <dir> (version also read from CRAFT_NEW_VERSION) and exits with status 1.pack-ort-npm.ts lists all generated files beginning with loreai-onnxruntime- after packaging and catches top-level failures by logging the error and exiting with status 1..github/workflows/ci.yml: pnpm --filter @loreai/gateway run build:binary:sea --platforms "darwin-arm64,linux-arm64,linux-x64,windows-x64" --release, with SENTRY_AUTH_TOKEN and FOSSILIZE_CACHE_DIR=${{ github.workspace }}/.node-cache.rcodesign version 0.29.0, archive apple-codesign-0.29.0-x86_64-unknown-linux-musl.tar.gz, SHA-256 dbe85cedd8ee4217b64e9a0e4c2aef92ab8bcaaa41f20bde99781ff02e600002; without ad-hoc signing, cross-compiled Darwin binaries cannot execute on Apple Silicon.node scripts/generate-release-checksums.mjs packages/gateway/dist-bin packages/gateway/dist-bin packages/gateway/dist-bin/lore-checksums.txt.