chore: rename to @soulcraftlabs/brainy for Open Brainy on The Source
Prepares the repo for its new home at soulcraftlabs/open-brainy ahead of the Forgejo transfer: package name, publish registry, release script, and every install/import reference across docs, src, tests, examples, and integrations now point at @soulcraftlabs/brainy on The Source. The npmjs storefront leg and byte-identity pair verification are stripped from the release script — The Source is now the only publish target. README gains an Open Brainy explainer and a registry note for consumers. @soulcraft/brainy 10.4.2 was the last release under the old name.
This commit is contained in:
parent
1f34fc6ce4
commit
a99b1e83c4
74 changed files with 230 additions and 284 deletions
|
|
@ -128,7 +128,7 @@ async function loadBunAssets(): Promise<ModelAssets> {
|
|||
}
|
||||
|
||||
// Strategy 2: node_modules path relative to CWD (for installed packages)
|
||||
const nmPath = './node_modules/@soulcraft/brainy/assets/models/all-MiniLM-L6-v2'
|
||||
const nmPath = './node_modules/@soulcraftlabs/brainy/assets/models/all-MiniLM-L6-v2'
|
||||
pathsToTry.push([
|
||||
`${nmPath}/model.safetensors`,
|
||||
`${nmPath}/tokenizer.json`,
|
||||
|
|
@ -168,9 +168,9 @@ async function loadBunAssets(): Promise<ModelAssets> {
|
|||
// If all strategies fail, provide helpful error message
|
||||
throw new Error(
|
||||
'Could not load model assets. For bun --compile, ensure model files are accessible:\n' +
|
||||
' Option 1: Keep node_modules/@soulcraft/brainy/assets/ alongside your binary\n' +
|
||||
' Option 1: Keep node_modules/@soulcraftlabs/brainy/assets/ alongside your binary\n' +
|
||||
' Option 2: Copy assets/ folder to your working directory\n' +
|
||||
' Option 3: Use --asset flag: bun build --compile --asset="./node_modules/@soulcraft/brainy/assets/**/*"'
|
||||
' Option 3: Use --asset flag: bun build --compile --asset="./node_modules/@soulcraftlabs/brainy/assets/**/*"'
|
||||
)
|
||||
}
|
||||
|
||||
|
|
@ -190,7 +190,7 @@ async function loadNodeAssets(): Promise<ModelAssets> {
|
|||
if (!fs.existsSync(assetsDir)) {
|
||||
throw new Error(
|
||||
`Model assets not found: ${assetsDir}\n` +
|
||||
`Ensure @soulcraft/brainy is installed correctly.`
|
||||
`Ensure @soulcraftlabs/brainy is installed correctly.`
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue