()
| 142 | // --------------------------------------------------------------------------- |
| 143 | |
| 144 | const readMetadata = async () => { |
| 145 | const rootPkg = await Bun.file(join(repoRoot, "package.json")).json(); |
| 146 | const cliPkg = await Bun.file(join(cliRoot, "package.json")).json(); |
| 147 | return { |
| 148 | name: "executor", |
| 149 | version: process.env.EXECUTOR_VERSION ?? cliPkg.version ?? rootPkg.version ?? "0.0.0", |
| 150 | description: |
| 151 | rootPkg.description ?? "Local AI executor with a CLI, local API server, and web UI.", |
| 152 | keywords: rootPkg.keywords ?? [], |
| 153 | homepage: rootPkg.homepage, |
| 154 | bugs: rootPkg.bugs, |
| 155 | repository: rootPkg.repository, |
| 156 | license: rootPkg.license ?? "MIT", |
| 157 | }; |
| 158 | }; |
| 159 | |
| 160 | // --------------------------------------------------------------------------- |
| 161 | // Targets |
no test coverage detected