feat: implement native hooks runtime
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
import assert from "node:assert/strict"; import { readFile } from "node:fs/promises"; import { test } from "node:test";
|
||||
test("package exposes exactly one extension and the authoring skill", async () => { const pkg = JSON.parse(await readFile(new URL("../package.json", import.meta.url), "utf8")) as { pi: { extensions: string[]; skills: string[] }; engines: { node: string } }; assert.deepEqual(pkg.pi.extensions, ["./extensions/pi-native-hooks/index.ts"]); assert.deepEqual(pkg.pi.skills, ["./skills/native-hook-authoring"]); assert.equal(pkg.engines.node, ">=22.19"); });
|
||||
Reference in New Issue
Block a user