fix: use Gitea-compatible package scope
This commit is contained in:
@@ -113,7 +113,7 @@ The loader must:
|
||||
7. isolate a throwing/invalid module so other policies still load, while surfacing the exact file and error; and
|
||||
8. reload policies only when Pi recreates the extension on `/reload` or session replacement.
|
||||
|
||||
The package exposes `@_jb/pi-native-hooks/policy` type declarations. An authorized initializer writes a personal `tsconfig.json` with a path mapping to the installed package so policies can use `import type` plus `satisfies` without a runtime package import. Runtime validation remains authoritative because type checking can be skipped or stale.
|
||||
The package exposes `@jbcode/pi-native-hooks/policy` type declarations. An authorized initializer writes a personal `tsconfig.json` with a path mapping to the installed package so policies can use `import type` plus `satisfies` without a runtime package import. Runtime validation remains authoritative because type checking can be skipped or stale.
|
||||
|
||||
Suggested personal layout:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user