()
| 68 | // --------------------------------------------------------------------------- |
| 69 | |
| 70 | const readMetadata = async () => { |
| 71 | const rootPkg = await Bun.file(join(repoRoot, "package.json")).json(); |
| 72 | const cliPkg = await Bun.file(join(cliRoot, "package.json")).json(); |
| 73 | return { |
| 74 | name: "executor", |
| 75 | version: process.env.EXECUTOR_VERSION ?? cliPkg.version ?? rootPkg.version ?? "0.0.0", |
| 76 | description: |
| 77 | rootPkg.description ?? "Local AI executor with a CLI, local API server, and web UI.", |
| 78 | keywords: rootPkg.keywords ?? [], |
| 79 | homepage: rootPkg.homepage, |
| 80 | bugs: rootPkg.bugs, |
| 81 | repository: rootPkg.repository, |
| 82 | license: rootPkg.license ?? "MIT", |
| 83 | }; |
| 84 | }; |
| 85 | |
| 86 | // --------------------------------------------------------------------------- |
| 87 | // Targets |
no test coverage detected