feat: initial Lam Agent extension (#1)

This commit was merged in pull request #1.
This commit is contained in:
2026-10-03 20:32:40 +00:00
parent 1d39aabb50
commit 8b507e7953
36 changed files with 7136 additions and 2 deletions
+21
View File
@@ -0,0 +1,21 @@
import { fileURLToPath } from "node:url";
import { defineConfig } from "vitest/config";
/**
* `.mts` rather than `.ts`: this package is CommonJS (the Vicinae toolchain
* compiles extensions with `module: commonjs`), and Vite warns when an ESM
* config is loaded as CJS. The extension lets us write the config as ESM.
*/
export default defineConfig({
test: {
globals: true,
include: ["src/__tests__/**/*.test.ts"],
},
resolve: {
alias: {
// Point the API package at the in-memory stub; there is no Vicinae
// runtime under test.
"@vicinae/api": fileURLToPath(new URL("./src/__mocks__/@vicinae/api.ts", import.meta.url)),
},
},
});