()
| 94 | // --------------------------------------------------------------------------- |
| 95 | |
| 96 | const readMetadata = async () => { |
| 97 | const rootPkg = await Bun.file(join(repoRoot, "package.json")).json(); |
| 98 | const cliPkg = await Bun.file(join(cliRoot, "package.json")).json(); |
| 99 | return { |
| 100 | name: "executor", |
| 101 | version: process.env.EXECUTOR_VERSION ?? cliPkg.version ?? rootPkg.version ?? "0.0.0", |
| 102 | description: |
| 103 | rootPkg.description ?? "Local AI executor with a CLI, local API server, and web UI.", |
| 104 | keywords: rootPkg.keywords ?? [], |
| 105 | homepage: rootPkg.homepage, |
| 106 | bugs: rootPkg.bugs, |
| 107 | repository: rootPkg.repository, |
| 108 | license: rootPkg.license ?? "MIT", |
| 109 | }; |
| 110 | }; |
| 111 | |
| 112 | // --------------------------------------------------------------------------- |
| 113 | // Targets |
no test coverage detected