diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 1a80be6..4568770 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -22,23 +22,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v7
- - name: Set up pnpm
- uses: pnpm/action-setup@v6
-
- - name: Set up Node.js
- uses: actions/setup-node@v7
- with:
- node-version: latest
- cache: 'pnpm'
+ - name: Set up Bun
+ uses: oven-sh/setup-bun@v2
- name: Install dependencies
- run: pnpm install
+ run: bun install
- name: Run checks
- run: pnpm check
+ run: bun check
- name: Run tests
- run: pnpm test
-
- - name: Test build
- run: pnpm build
+ run: bun tests
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 70ed729..d290d06 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -18,21 +18,14 @@ jobs:
- name: Checkout code
uses: actions/checkout@v7
- - name: Set up pnpm
- uses: pnpm/action-setup@v6
-
- - name: Set up Node.js
- uses: actions/setup-node@v7
- with:
- node-version: latest
- cache: 'pnpm'
- registry-url: 'https://registry.npmjs.org/'
+ - name: Set up Bun
+ uses: oven-sh/setup-bun@v2
- name: Install dependencies
- run: pnpm install
+ run: bun install
- name: Build
- run: pnpm build
+ run: bun compile
- name: Publish to npm
- run: pnpm publish --no-git-checks
+ run: bunx npm@latest publish
diff --git a/.oxlintrc.json b/.oxlintrc.json
index e49e76a..7860332 100644
--- a/.oxlintrc.json
+++ b/.oxlintrc.json
@@ -87,7 +87,9 @@
"eslint/no-underscore-dangle": "off",
"typescript/no-this-alias": "off",
"vitest/require-top-level-describe": "off",
- "typescript/no-unnecessary-type-parameters": "off"
+ "typescript/no-unnecessary-type-parameters": "off",
+ "eslint/one-var": "off",
+ "vitest/prefer-importing-vitest-globals": "off"
},
"env": {
"builtin": true,
@@ -95,10 +97,11 @@
"node": true
},
"globals": {
- "activeDocument": "readonly"
+ "Bun": "readonly"
},
"ignorePatterns": ["**/node_modules/**", "**/dist/**"],
"options": {
- "typeAware": true
+ "typeAware": true,
+ "typeCheck": true
}
}
diff --git a/AGENTS.md b/AGENTS.md
index a9b11e2..a5a2611 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -9,8 +9,8 @@ SynthKernel is an experimental TypeScript software architecture.
## Commands
-- `pnpm lint`: format and fix fixable lint errors (always run before `pnpm check`)
-- `pnpm check`: check types, lint and format (no fix)
-- `pnpm build`: build package
-- `pnpm test`: run tests
+- `bun fix`: format and fix fixable lint errors (always run before `pnpm check`)
+- `bun check`: check types, lint and format (no fix)
+- `bun compile`: build package
+- `bun test`: run tests
- `bun ./skill/example/main.ts`: run example
diff --git a/README.md b/README.md
index 2a195ea..4a4336e 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
-
+
SynthKernel
@@ -27,41 +27,33 @@
-## ❓ What is SynthKernel?
+## What is SynthKernel?
SynthKernel is a low-level TypeScript architecture for building structured [modular monoliths](https://www.geeksforgeeks.org/system-design/what-is-a-modular-monolith/?spm=a2ty_o01.29997173.0.0.4f2555fbU2saKo)
-. It combines OOP, advanced generics, and the Facade Pattern to push Inversion of Control to its extremum.
+. It combines OOP, advanced generics, and the Facade Pattern to push Inversion of Control through structural typing.
-Unlike conventional loaders that expose APIs, SynthKernel’s loader strictly manages lifecycles and acts as a facade. **Modules are the true center**: they define APIs, execute logic, augment the loader, and wire dependencies. This results in an application structure clearly representable as a tree diagram. The philosophy is universally applicable across software, OS design, and robotics.
+SynthKernel composes plain classes into a shared, type-safe context. The class that creates a context becomes a facade, exposing the composed APIs. Modules define APIs, execute logic, contribute to the context through their constructor and `root`, and read what they need from siblings. This results in an application structure clearly representable as a tree diagram. The philosophy is universally applicable across software, OS design, and robotics.
-## 🔑 Core Problem It Solves
+## Core Capability
SynthKernel eliminates the architectural friction of "God Objects" and manual registries by enforcing a type-safe, modular composition model. It leverages TypeScript’s type system to automatically orchestrate capabilities, ensuring that adding a feature instantly augments both runtime behavior and static types. This guarantees strict modularity, zero configuration drift, and inherent testability without sacrificing scalability.
-## 📰 Whitepaper
+## Whitepaper
-SynthKernel provides a Jupyter Notebook whitepaper running TypeScript, you can find it here: [SynthKernel Whitepaper](https://github.com/hesprs/synthkernel/blob/main/whitepaper.ipynb).
+The whitepaper is available as both a [Jupyter Notebook](https://github.com/hesprs/synthkernel/blob/main/whitepaper.ipynb) and a plain [Markdown file](https://github.com/hesprs/synthkernel/blob/main/whitepaper.md).
-Prerequisites to correctly execute the whitepaper:
-
-- Jupyter Lab
-- Python 3
-- Node.js & pnpm
-
-After cloning the repository, run the following commands to set up the environment:
+To read the notebook interactively, you need Jupyter Lab with a TypeScript kernel. After cloning the repository:
```sh
-pnpm install
-pnpm tslab install # register TS kernel
+bun install
+tslab install --user # register TS kernel
```
-Then open `whitepaper.ipynb` in your viewer (Jupyter WebUI or VSCode), choose the TS kernel. Now you can read the notebook.
+Then open `whitepaper.ipynb` in your viewer (Jupyter WebUI or VSCode), choose the TS kernel.
-## 🤖 Agent Skill
+## Agent Skill
-SynthKernel is 100% AI-native, a skill is written to make agents more comfortable when navigating inside a SynthKernel repo.
-
-WARNING: SynthKernel does enforce very strict and opinionated naming, architecture and file system conventions, and is still in experimental phase.
+SynthKernel is AI-native, a skill is written to make agents more comfortable when navigating inside a SynthKernel repo.
**To install the skill**:
@@ -77,6 +69,5 @@ The command will scaffold and find 1 skill. Then select the coding agent, whethe
Copyright ©️ 2026 Hesprs (Hēsperus)
-Architecture whitepaper and README licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
-
+Architecture whitepaper and README licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
Agent skill and `synthkernel` npm package licensed under the [MIT License](https://mit-license.org/)
diff --git a/bun.lock b/bun.lock
new file mode 100644
index 0000000..e44c286
--- /dev/null
+++ b/bun.lock
@@ -0,0 +1,333 @@
+{
+ "lockfileVersion": 2,
+ "configVersion": 1,
+ "workspaces": {
+ "": {
+ "name": "synthkernel",
+ "dependencies": {
+ "typescript": "6.0.3",
+ },
+ "devDependencies": {
+ "@types/bun": "^1.4.2",
+ "oxfmt": "^0.72.0",
+ "oxlint": "^1.87.0",
+ "oxlint-tsgolint": "^7.0.2004",
+ "tsdown": "^0.23.1",
+ "tslab": "^1.0.22",
+ },
+ },
+ },
+ "packages": {
+ "@oxc-project/types": ["@oxc-project/types@0.153.0", "", {}, "sha512-jSNrRIyvPVLL5E1z/tS5zLAprosGz/FuI1PWwEOz59j3E4TTTzSpqKb/RDGqJhhW0QHYISGXxq582wGx6T11Tw=="],
+
+ "@oxfmt/binding-android-arm-eabi": ["@oxfmt/binding-android-arm-eabi@0.72.0", "", { "os": "android", "cpu": "arm" }, "sha512-u4U1uaDOVBuorGNC/07NLm48nECHOiJJka002YGML16Md2DRvf38RGBt01lH60EOGvNlFVmbLoksQedNBoZHKw=="],
+
+ "@oxfmt/binding-android-arm64": ["@oxfmt/binding-android-arm64@0.72.0", "", { "os": "android", "cpu": "arm64" }, "sha512-GCnM+Ae2mWOKC+92y3FOb6eZJeVnBAVz82e3lITUUg+kxukYKzBNAvJ/hhHIfa2A0md55SYYhdWPddSSy3KPVA=="],
+
+ "@oxfmt/binding-darwin-arm64": ["@oxfmt/binding-darwin-arm64@0.72.0", "", { "os": "darwin", "cpu": "arm64" }, "sha512-LjQ8tlevdtwraFlWC6AnQ1Forzde0clRmnsP3QmK+ydSElDt/J+5Jc+m+//Ly1G97aP7WCNUw110QMIUw2K7xA=="],
+
+ "@oxfmt/binding-darwin-x64": ["@oxfmt/binding-darwin-x64@0.72.0", "", { "os": "darwin", "cpu": "x64" }, "sha512-+ZbcxhB1C34RQR5IldSyY6Z/yalJIxHXhP36PGE4sEq0f/lgL5jCLmOKoDeVm8dqd9gFGDsd1bNWHSGCAwdSkw=="],
+
+ "@oxfmt/binding-freebsd-x64": ["@oxfmt/binding-freebsd-x64@0.72.0", "", { "os": "freebsd", "cpu": "x64" }, "sha512-yGPhA8sePEBFV9iGcprhyOk3Bz3fZshswMH3DpYIPZFLT1DG5LjiZ0j6AJQpSueaL6bUK0av1K+5+fe+ldy5EQ=="],
+
+ "@oxfmt/binding-linux-arm-gnueabihf": ["@oxfmt/binding-linux-arm-gnueabihf@0.72.0", "", { "os": "linux", "cpu": "arm" }, "sha512-/g5axuqFMcAtoQrFLR5EJEMDjR5Ea4GuzpdDmMpPWAgrF1DmL4kD1NPNVlpXEOxpFJnD6lPvLKYj1lzdlrfifA=="],
+
+ "@oxfmt/binding-linux-arm-musleabihf": ["@oxfmt/binding-linux-arm-musleabihf@0.72.0", "", { "os": "linux", "cpu": "arm" }, "sha512-InVitdHbS09PM+w+WinIiyX37rC9R3L7lUP9mKy9uKTEDSUFaLjWsLoreRIxKivnv7Ndqc6Trvi+K+b6ZzhiJg=="],
+
+ "@oxfmt/binding-linux-arm64-gnu": ["@oxfmt/binding-linux-arm64-gnu@0.72.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-WKjlyRAxpPjXoqeuwFBim5LscgvY+RNEiZ971C9JlRQZONhJTsXDki/oHFYQE+fzzRpzXh3owZvOdT3kNL2g+g=="],
+
+ "@oxfmt/binding-linux-arm64-musl": ["@oxfmt/binding-linux-arm64-musl@0.72.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-poafnbsPpJhR+5Mbwpf8CscugTyiRAzjTOxRVn8ra3X2jnURs2xL5Du2xl5g2iW85lICMglpmLf8jDjZEbNgzQ=="],
+
+ "@oxfmt/binding-linux-ppc64-gnu": ["@oxfmt/binding-linux-ppc64-gnu@0.72.0", "", { "os": "linux", "cpu": "ppc64" }, "sha512-zNUi0gKRsO7S3IfPzsTbnm88OedPuX32hmZFWZRWHvWJlAoZRwVbeO6Nb3hng4vDgL7qUKp4TGqzPz1mhsycYg=="],
+
+ "@oxfmt/binding-linux-riscv64-gnu": ["@oxfmt/binding-linux-riscv64-gnu@0.72.0", "", { "os": "linux", "cpu": "none" }, "sha512-qTY7z/iyF/rWI2HWwWMevXqZW5PZUOofUy2afK7v6rseXnpld3yjgyIk6pCux3DqWQ0lB+f5atvLJNBwzLvFsw=="],
+
+ "@oxfmt/binding-linux-riscv64-musl": ["@oxfmt/binding-linux-riscv64-musl@0.72.0", "", { "os": "linux", "cpu": "none" }, "sha512-w18qfo8vEMD6EKEHtzTvjc6jH8yCyXIT1Bn7PFWJd0PpZyzH/VQDx4xvjCh0LGz6GRzqiezbisTdG9AoXtpkZQ=="],
+
+ "@oxfmt/binding-linux-s390x-gnu": ["@oxfmt/binding-linux-s390x-gnu@0.72.0", "", { "os": "linux", "cpu": "s390x" }, "sha512-grW8HwEir+vK7fCcq1ZgL3NHQCfZ1PidiERE9Hbf+24xGys+DoDaoqTht4ccfn0PcBwbViLkwkda/KNpJu2KRQ=="],
+
+ "@oxfmt/binding-linux-x64-gnu": ["@oxfmt/binding-linux-x64-gnu@0.72.0", "", { "os": "linux", "cpu": "x64" }, "sha512-wQJRQfWBRIn88Pkr449EUViwRayrYUScg7ty+Ihiem21mQ9BUA6S9e/4RAgyNk9lMag0KBouyKskjq61rOC0WQ=="],
+
+ "@oxfmt/binding-linux-x64-musl": ["@oxfmt/binding-linux-x64-musl@0.72.0", "", { "os": "linux", "cpu": "x64" }, "sha512-T1B0uQzafxuGPjjaPrZJ497nxoi1BiI65JfsYc56nNpmev3msfb/iaTmH2kQuNFqa8PKxpMlf3GhWrWBvBPORQ=="],
+
+ "@oxfmt/binding-openharmony-arm64": ["@oxfmt/binding-openharmony-arm64@0.72.0", "", { "os": "none", "cpu": "arm64" }, "sha512-OKxxgTurl7+hypVplO8QRAbbQlwEs0j1Y6FZv+ZN2qNbdxQk2muMlzuJNBGTCWwxQ0rkkOD1uK/DW1fvzoUSJA=="],
+
+ "@oxfmt/binding-win32-arm64-msvc": ["@oxfmt/binding-win32-arm64-msvc@0.72.0", "", { "os": "win32", "cpu": "arm64" }, "sha512-L78TKzURqvjuZOCo88ixMbPXf/RP7u31Y0cmjJ/KEmrHmfYhmhEvsDaTYPiyTRne64jUgCbADfY0YeoQk4/Xyw=="],
+
+ "@oxfmt/binding-win32-ia32-msvc": ["@oxfmt/binding-win32-ia32-msvc@0.72.0", "", { "os": "win32", "cpu": "ia32" }, "sha512-gQtFW+Ii8BWgtJTAD17TY/WsdNS5gUfAPov8iI1jeq4r9lRRYImmxPL08UU00/RLaCfBJwh2UgINnDY0iOiZ+A=="],
+
+ "@oxfmt/binding-win32-x64-msvc": ["@oxfmt/binding-win32-x64-msvc@0.72.0", "", { "os": "win32", "cpu": "x64" }, "sha512-uhooIN+DCzWX5uH7mQkSVCsODqsGluGJ4n3ch4+mITtWKpESMDjUJUSDBAVFuYQDwqY2McPDKdKJbM0oZVW/Qw=="],
+
+ "@oxlint-tsgolint/darwin-arm64": ["@oxlint-tsgolint/darwin-arm64@7.0.2004", "", { "os": "darwin", "cpu": "arm64" }, "sha512-uJk3ttju7Lz+Nv8WG4CsLyewoL1qf/Ny8S8OksJ7Bm/F14Tc9gMfW6arM1PCc57IzH/X/I79YsCWTgxX1FKibQ=="],
+
+ "@oxlint-tsgolint/darwin-x64": ["@oxlint-tsgolint/darwin-x64@7.0.2004", "", { "os": "darwin", "cpu": "x64" }, "sha512-0BFfHTzDxNDFPcu0UZAXT6CyCJHAXM0dZveyDb4KEHa2qF/DSnOKOrmvK/wFuFol9kvijbGM9JfuOsor+zWXRw=="],
+
+ "@oxlint-tsgolint/linux-arm64": ["@oxlint-tsgolint/linux-arm64@7.0.2004", "", { "os": "linux", "cpu": "arm64" }, "sha512-TAehQc+qdRXyDN3nl/r/3/oPrBVrbtrDeGMkFyG6mf+XphpoJ2lAMVFLclyvrVZCw02RbKROjyw8h72XwQQHcw=="],
+
+ "@oxlint-tsgolint/linux-x64": ["@oxlint-tsgolint/linux-x64@7.0.2004", "", { "os": "linux", "cpu": "x64" }, "sha512-LPunZvm6ZbWPfHMAyfZf9ci3HHvNEzLejO8zdqO3GoVGoSEHqqufHUD7+OgeatVSaJP7uXDJ2HaNOHIoH7go4Q=="],
+
+ "@oxlint-tsgolint/win32-arm64": ["@oxlint-tsgolint/win32-arm64@7.0.2004", "", { "os": "win32", "cpu": "arm64" }, "sha512-FVWplzDImWhiuawnIZVETaQecv4GWom6Jv4Fx2xj7hhXXDZ5okEgiw1gTCImHTIQsi2ycC5oSxVwrn69bMh7iw=="],
+
+ "@oxlint-tsgolint/win32-x64": ["@oxlint-tsgolint/win32-x64@7.0.2004", "", { "os": "win32", "cpu": "x64" }, "sha512-7PsxuUx11Ry9DYTWcljTzRbmZY9B6O9fFFfZV+aodQEMy6pfRT3fhoQRv9PtGN/89z1pPz3nFKrsFm6WqNtX7w=="],
+
+ "@oxlint/binding-android-arm-eabi": ["@oxlint/binding-android-arm-eabi@1.87.0", "", { "os": "android", "cpu": "arm" }, "sha512-22tVIHlB9898OYsBKmYB6He1MCSqdTmK1BVWuSNUTVrpS0KWNege+U9uEYqGJ+KatQag0r/oU44i3OOs46z7HQ=="],
+
+ "@oxlint/binding-android-arm64": ["@oxlint/binding-android-arm64@1.87.0", "", { "os": "android", "cpu": "arm64" }, "sha512-JfZQ3MWf74n8ov0DojZpkOduIubYJvZL5tbTMMhDutsal6u1xH1QuNpN+lK+EQwF8AeAfgwTR2fgh5U2br27XA=="],
+
+ "@oxlint/binding-darwin-arm64": ["@oxlint/binding-darwin-arm64@1.87.0", "", { "os": "darwin", "cpu": "arm64" }, "sha512-rkx6Xvvw93z2GImVOyvbZwAZcoY0Z6MJW177XNsSB+i/CBsH7ANyelTp01VZyIkM3iSXtqKVb4+ptBgPHap5pQ=="],
+
+ "@oxlint/binding-darwin-x64": ["@oxlint/binding-darwin-x64@1.87.0", "", { "os": "darwin", "cpu": "x64" }, "sha512-cw5nYw7L/pQ2SgGBgOcg/Qo89llQre3vIc/kuBLhSICzu1r5s8L76H3ug6AIFsD98WpROj8/z5JVzkf4daxHaQ=="],
+
+ "@oxlint/binding-freebsd-x64": ["@oxlint/binding-freebsd-x64@1.87.0", "", { "os": "freebsd", "cpu": "x64" }, "sha512-x/SuznE6loRZK9gz9AS4ZmzNzSu+5KdeoCS+sVHhnrE8HM6AD8UyTjwldQTTqlXGvkwHASgB0NiTNOc3o3PdAg=="],
+
+ "@oxlint/binding-linux-arm-gnueabihf": ["@oxlint/binding-linux-arm-gnueabihf@1.87.0", "", { "os": "linux", "cpu": "arm" }, "sha512-+JEDmCAXiiFmKhAjZhgAOwaHWY6WENOQ5QA+lFuY59tgsUCDOTRi46B+lENK6CWvtxsXpwkZXNOgpjAQcpIpnA=="],
+
+ "@oxlint/binding-linux-arm-musleabihf": ["@oxlint/binding-linux-arm-musleabihf@1.87.0", "", { "os": "linux", "cpu": "arm" }, "sha512-/uC9XqXLAC9AHFLNycwmSQEvKqGrOCgU+uXALI7gNW0DG81TJ/3T2eHnKdRvcb5R1gFEfjxDwI4e4zIa29rICQ=="],
+
+ "@oxlint/binding-linux-arm64-gnu": ["@oxlint/binding-linux-arm64-gnu@1.87.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-FTRYPsBy/M728vnUv7l+KAwSAa3Qi4BQbhVvy7NYuMTZ0sUa/OWsbMx79HVFw6u/5KWcaYayDsoOiv7xbevzDg=="],
+
+ "@oxlint/binding-linux-arm64-musl": ["@oxlint/binding-linux-arm64-musl@1.87.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-6sC+N7IY0h1egd8SrYUGNN7CUyKJZ4bIZakKa7V7hfinf4jfi8Kq4+klJvFp5DqXcwMn44I5MeBwmJluO1odFg=="],
+
+ "@oxlint/binding-linux-ppc64-gnu": ["@oxlint/binding-linux-ppc64-gnu@1.87.0", "", { "os": "linux", "cpu": "ppc64" }, "sha512-d5Mnn+ICbhoJPi37Ccjy+86T5qfH2+mSTrTMBXNPfB+wqSWOayBBLLIrCXdUy1YssluCVdGkl+DO9w5r5ODmUA=="],
+
+ "@oxlint/binding-linux-riscv64-gnu": ["@oxlint/binding-linux-riscv64-gnu@1.87.0", "", { "os": "linux", "cpu": "none" }, "sha512-sf5YWuUo1Dx9loqWCgF8P278MycfcD4JHjDC/LV5j11L3Lqa4PFiwCjD6B8kP4AjsgZZkLn3xbpJEtZBaccs4Q=="],
+
+ "@oxlint/binding-linux-riscv64-musl": ["@oxlint/binding-linux-riscv64-musl@1.87.0", "", { "os": "linux", "cpu": "none" }, "sha512-+aCraYbmK3uU3P0rFojjeaK9pGY6JvBDXh/0CM+gPyWKmNmXmnFe0qj4qj02U4ibFpbd9Pa9CmDvIdjJUd29rA=="],
+
+ "@oxlint/binding-linux-s390x-gnu": ["@oxlint/binding-linux-s390x-gnu@1.87.0", "", { "os": "linux", "cpu": "s390x" }, "sha512-7rzbZQIljo6VLWVPqUyLa2P/WV3VFsJB4M52R4NCUJn1A50yjtUsHxiMHFL9opEKGFIiTbZ3VQzmtcJOPUq4NQ=="],
+
+ "@oxlint/binding-linux-x64-gnu": ["@oxlint/binding-linux-x64-gnu@1.87.0", "", { "os": "linux", "cpu": "x64" }, "sha512-Dry46Fa+AXE/xt9J/YriujU1pU9mzfNWHGQwtOYibAFH8HLrKWCi93AhIGnuUMiwn2JbuBkRyz51f50Ly4r4ow=="],
+
+ "@oxlint/binding-linux-x64-musl": ["@oxlint/binding-linux-x64-musl@1.87.0", "", { "os": "linux", "cpu": "x64" }, "sha512-f/HMZez74gJvnRpGz+b5sdGyWrEgRLmFTXg9sNoqjPWogGxYHUhXKTKyMiYsu9rUGR2ciYqL3fk+Ua4JhMJbRA=="],
+
+ "@oxlint/binding-openharmony-arm64": ["@oxlint/binding-openharmony-arm64@1.87.0", "", { "os": "none", "cpu": "arm64" }, "sha512-lEC6ZfPZm/07JlB7FsOWX9o1RiHlXiBW594LSUGuXmekC8LZmvUPP9XzE2WZcNxJi5cHA/Fw56o02c3JxgMA5g=="],
+
+ "@oxlint/binding-win32-arm64-msvc": ["@oxlint/binding-win32-arm64-msvc@1.87.0", "", { "os": "win32", "cpu": "arm64" }, "sha512-afBWKOD36dUiA9AenaiWpCg8xfyUVPYznyAAVXu413brK4RA5UI/Xoc4yfeGIT8G1a44MV+JR7hioryerBDzGQ=="],
+
+ "@oxlint/binding-win32-ia32-msvc": ["@oxlint/binding-win32-ia32-msvc@1.87.0", "", { "os": "win32", "cpu": "ia32" }, "sha512-daptNsEOuru4/nJTxV4DBHNJ5GepzmaBVQf+jjgKQGi9NRlZKik+RFq4hUL7ewsF1pwjKM+SkYaMbF82UwFGnw=="],
+
+ "@oxlint/binding-win32-x64-msvc": ["@oxlint/binding-win32-x64-msvc@1.87.0", "", { "os": "win32", "cpu": "x64" }, "sha512-k+m/EShyXE29J/r1fjk0HlAzhN5JhIvj044oSJkXTEkCLrWZQgXb/3r4q5LTw/eaKW/4GuMXG2xmiJs3s5rPNw=="],
+
+ "@quansync/fs": ["@quansync/fs@1.0.0", "", { "dependencies": { "quansync": "1.0.0" } }, "sha512-4TJ3DFtlf1L5LDMaM6CanJ/0lckGNtJcMjQ1NAV6zDmA0tEHKZtxNKin8EgPaVX1YzljbxckyT2tJrpQKAtngQ=="],
+
+ "@rolldown/binding-android-arm-eabi": ["@rolldown/binding-android-arm-eabi@1.2.13", "", { "os": "android", "cpu": "arm" }, "sha512-Vu/NICrgdRvUOeaJZIyB2FP63s6fO/4ud5l8dXmxDx9yDyn+mN0y+gsvsVviSli+T361Aqo0h46EuMoobrwawA=="],
+
+ "@rolldown/binding-android-arm64": ["@rolldown/binding-android-arm64@1.2.13", "", { "os": "android", "cpu": "arm64" }, "sha512-6LEoIrGy5vvCd2boNnv2soPSUZj/PRvhp8R/t9KlX+mIZxThIE/ZqxrGXxmuNX0FuvQFvLdZr7S4HrYpYBVhEQ=="],
+
+ "@rolldown/binding-darwin-arm64": ["@rolldown/binding-darwin-arm64@1.2.13", "", { "os": "darwin", "cpu": "arm64" }, "sha512-CaJSRzlQ6Q+zkDMVA9OkVxBjVoPRCDEE3v0FSJ9kIQBgRjFApA3Si4ijhbNVUji7ZJt+PfO0e46qy4nPInHUPA=="],
+
+ "@rolldown/binding-darwin-x64": ["@rolldown/binding-darwin-x64@1.2.13", "", { "os": "darwin", "cpu": "x64" }, "sha512-e4r340I5hxSzJkD3YJBxgzq/rJ3wwxwdLLb2FPt1Zpyem20nrQPT11DDEEkazwxaHumH8wpglsp/Ozgj/wT6mw=="],
+
+ "@rolldown/binding-freebsd-x64": ["@rolldown/binding-freebsd-x64@1.2.13", "", { "os": "freebsd", "cpu": "x64" }, "sha512-hoBWDZ4/K/mJKVMbsgUd1jfpA2DiOrJ54mpegObU9TBHBBrtX4FLIXJJQRDPZ/2Dn91GvPob+Z2hwKJzf4E5SQ=="],
+
+ "@rolldown/binding-linux-arm-gnueabihf": ["@rolldown/binding-linux-arm-gnueabihf@1.2.13", "", { "os": "linux", "cpu": "arm" }, "sha512-oF9fZu3vTWnTiVAkDFxU9PJLt1nh20K9RRpuHsR7ZnE2L7XookBbDBVLojCVSLGbvtSlxeUNnjAj6DbNsKyzbg=="],
+
+ "@rolldown/binding-linux-arm64-gnu": ["@rolldown/binding-linux-arm64-gnu@1.2.13", "", { "os": "linux", "cpu": "arm64" }, "sha512-DTpb/+jMiqWMPgphn4ksW1zW+XLJ6dJJ9FMvnIk9I291LhCctMPhMYJrP5t9p6C9qa3KXadDdUEZHBaPh3kNxQ=="],
+
+ "@rolldown/binding-linux-arm64-musl": ["@rolldown/binding-linux-arm64-musl@1.2.13", "", { "os": "linux", "cpu": "arm64" }, "sha512-xU+Kvv9N2A3SY35zFh1FWWNjxbadE/BKeqnkXe7vScU4GZsw757BlVmDLITZEq8DPpk6m7uoDYkK7P+x/uU5Ow=="],
+
+ "@rolldown/binding-linux-ppc64-gnu": ["@rolldown/binding-linux-ppc64-gnu@1.2.13", "", { "os": "linux", "cpu": "ppc64" }, "sha512-XMk/hnhh25oQ756Lclb1Q11h4ll0xC0Esa5w4Vzp+mAE2S3AGJgeM0SonrIgY8fHhjarb6hcoTuwoFG0VVP2ig=="],
+
+ "@rolldown/binding-linux-s390x-gnu": ["@rolldown/binding-linux-s390x-gnu@1.2.13", "", { "os": "linux", "cpu": "s390x" }, "sha512-U1BoTHYmlywE2n3HUWjzZ+8EQsKr+OwpxYuDWaubx42tUL8QSL7nOqRz/NVHanibbFP3M1Rxuprz/wNcbMKjqw=="],
+
+ "@rolldown/binding-linux-x64-gnu": ["@rolldown/binding-linux-x64-gnu@1.2.13", "", { "os": "linux", "cpu": "x64" }, "sha512-J4cm80Pc6wEwV5AZ42o62sIQgDk+Y7R2s646jIwuvO+4V46QB58N4vVuMPWCBaNgursXLpmUWJV//WQAkPvHBQ=="],
+
+ "@rolldown/binding-linux-x64-musl": ["@rolldown/binding-linux-x64-musl@1.2.13", "", { "os": "linux", "cpu": "x64" }, "sha512-W0euZS40U4V6JkmEnVCIX9mcsL6cbXQ4X8c2w+MMOIjFg68TXUW+u3RT+2e1t1pv9mg/EP3pDtK3POXdQ7Rxyw=="],
+
+ "@rolldown/binding-openharmony-arm64": ["@rolldown/binding-openharmony-arm64@1.2.13", "", { "os": "none", "cpu": "arm64" }, "sha512-do/AF/4n9MRshia3a5aXoy8xM2c6mgfT6D7H/dY6my5z+hfCIR4ab7mk4IRj++nsEQpKy39kd0DQnDq+r692tw=="],
+
+ "@rolldown/binding-win32-arm64-msvc": ["@rolldown/binding-win32-arm64-msvc@1.2.13", "", { "os": "win32", "cpu": "arm64" }, "sha512-6FtUf2cJZobutJdxnGYX8z0vtbgqU0b2v8vfBhkXb9wp2MppMFtkunE+IaOntyi01rkIQoPW2GHABtfzsC0BRQ=="],
+
+ "@rolldown/binding-win32-x64-msvc": ["@rolldown/binding-win32-x64-msvc@1.2.13", "", { "os": "win32", "cpu": "x64" }, "sha512-UKhFaZTeTcbKrb3iU82m17jVcPEAoqDkCN5MBqgPyZSwp/cQmib21crTS0DdH7T1B7wZRWEI89YQAOJMet5yhg=="],
+
+ "@rolldown/pluginutils": ["@rolldown/pluginutils@1.0.1", "", {}, "sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw=="],
+
+ "@rollup/plugin-commonjs": ["@rollup/plugin-commonjs@13.0.2", "", { "dependencies": { "@rollup/pluginutils": "3.1.0", "commondir": "1.0.1", "estree-walker": "1.0.1", "glob": "7.2.3", "is-reference": "1.2.1", "magic-string": "0.25.9", "resolve": "1.22.12" }, "peerDependencies": { "rollup": "^2.3.4" } }, "sha512-9JXf2k8xqvMYfqmhgtB6eCgMN9fbxwF1XDF3mGKJc6pkAmt0jnsqurxQ0tC1akQKNSXCm7c3unQxa3zuxtZ7mQ=="],
+
+ "@rollup/plugin-node-resolve": ["@rollup/plugin-node-resolve@11.2.1", "", { "dependencies": { "@rollup/pluginutils": "3.1.0", "@types/resolve": "1.17.1", "builtin-modules": "3.3.0", "deepmerge": "4.3.1", "is-module": "1.0.0", "resolve": "1.22.12" }, "peerDependencies": { "rollup": "^1.20.0||^2.0.0" } }, "sha512-yc2n43jcqVyGE2sqV5/YCmocy9ArjVAP/BeXyTtADTBBX6V0e5UMqwO8CdQ0kzjb6zu5P1qMzsScCMRvE9OlVg=="],
+
+ "@rollup/plugin-replace": ["@rollup/plugin-replace@2.4.2", "", { "dependencies": { "@rollup/pluginutils": "3.1.0", "magic-string": "0.25.9" }, "peerDependencies": { "rollup": "^1.20.0 || ^2.0.0" } }, "sha512-IGcu+cydlUMZ5En85jxHH4qj2hta/11BHq95iHEyb2sbgiN0eCdzvUcHw5gt9pBL5lTi4JDYJ1acCoMGpTvEZg=="],
+
+ "@rollup/pluginutils": ["@rollup/pluginutils@3.1.0", "", { "dependencies": { "@types/estree": "0.0.39", "estree-walker": "1.0.1", "picomatch": "2.3.2" }, "peerDependencies": { "rollup": "^1.20.0||^2.0.0" } }, "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg=="],
+
+ "@tslab/typescript-for-tslab": ["@tslab/typescript-for-tslab@5.0.4", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-bmR6F7uFw9D5fPc2cwGLerHyKxXRDM4nsOMtcqnLl5JL5aUB6eBoK9IDApyf0wdKrsrOPC6NKIZFB3FhYfNQ3w=="],
+
+ "@types/bun": ["@types/bun@1.4.2", "", { "dependencies": { "bun-types": "1.4.2" } }, "sha512-GimotNn7+ZV0uVArItBbriZsR1oNf0+WTzPkdcFrzShI7k2norL0uzEaJT8T33dWr7O/c9ZDuAFQrctKCi72oQ=="],
+
+ "@types/estree": ["@types/estree@0.0.39", "", {}, "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw=="],
+
+ "@types/node": ["@types/node@18.19.130", "", { "dependencies": { "undici-types": "5.26.5" } }, "sha512-GRaXQx6jGfL8sKfaIDD6OupbIHBr9jv7Jnaml9tB7l4v068PAOXqfcujMMo5PhbIs6ggR1XODELqahT2R8v0fg=="],
+
+ "@types/resolve": ["@types/resolve@1.17.1", "", { "dependencies": { "@types/node": "26.1.1" } }, "sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw=="],
+
+ "@yuku-core/binding-android-arm64": ["@yuku-core/binding-android-arm64@0.18.1", "", { "os": "android", "cpu": "arm64" }, "sha512-1XTUWTmnpwXNyPwRLSQDjvHu7WPgykzCniYtTk+5ppnriznVONWd9TRPcFxCR8dlZ7HFGtv8v1wzbQmtmVlHNQ=="],
+
+ "@yuku-core/binding-darwin-arm64": ["@yuku-core/binding-darwin-arm64@0.18.1", "", { "os": "darwin", "cpu": "arm64" }, "sha512-7A7IPB/kEzIlm9Lwj6qVQ3ZORUH96mpqDWgGxkjmaAWGAfV4roTZWN+o7bW22BzcW55xbUKcZRslSZ8WRyqdQw=="],
+
+ "@yuku-core/binding-darwin-x64": ["@yuku-core/binding-darwin-x64@0.18.1", "", { "os": "darwin", "cpu": "x64" }, "sha512-aBZgmsAf1u/ps042xE9pgH9zOY57Rn0K8BXOWjQ2dAIg4W5nyQ/Oo3U3+VAcaEeBt6Q/XCwnCUpshFpWQaOCrw=="],
+
+ "@yuku-core/binding-freebsd-x64": ["@yuku-core/binding-freebsd-x64@0.18.1", "", { "os": "freebsd", "cpu": "x64" }, "sha512-yOEEjmEW2XQWpoa+4J3+eVMhXd/4kMTXoLJ9WkhXMMeRpKGBtFGjX2uxV6qKuoti3talOnmMdi2/kvqkX+O4wQ=="],
+
+ "@yuku-core/binding-linux-arm-gnu": ["@yuku-core/binding-linux-arm-gnu@0.18.1", "", { "os": "linux", "cpu": "arm" }, "sha512-klpvuNubx19bsox50+ioEYfvwUj/+O6ML9YBDjzsz9PULffyOYxkR+i63BYvg//jAcEE9oHIQphm2Wz3vmk1TA=="],
+
+ "@yuku-core/binding-linux-arm-musl": ["@yuku-core/binding-linux-arm-musl@0.18.1", "", { "os": "linux", "cpu": "arm" }, "sha512-eUG20Eh3Ycrm2D5WvRIn7BJp1+iPiFL0zLDdavVM5B6ymYEEmgrs6mime/h2y4Is1GA9uGyBBJQHaqKTcRiEng=="],
+
+ "@yuku-core/binding-linux-arm64-gnu": ["@yuku-core/binding-linux-arm64-gnu@0.18.1", "", { "os": "linux", "cpu": "arm64" }, "sha512-og2/svnJ2Awjz4INj2lQh0KQMwy4FrVCtD5SgfoZNxdv5knG6XdIyIvZycRCeyk15AkHdhwJqCsHJFcB3tjTxg=="],
+
+ "@yuku-core/binding-linux-arm64-musl": ["@yuku-core/binding-linux-arm64-musl@0.18.1", "", { "os": "linux", "cpu": "arm64" }, "sha512-dmkidtxAY3iSUOFAOwnp7w8nVx1s9QdSdyiJPVw0TkBlLhQySuQer3Pir3tmhIhHC+Oc2Bn0f0QQpFNAMvzTPQ=="],
+
+ "@yuku-core/binding-linux-x64-gnu": ["@yuku-core/binding-linux-x64-gnu@0.18.1", "", { "os": "linux", "cpu": "x64" }, "sha512-eXAZacTOzJbzv6sT/4h03MBE4DNGObfuTg3L6+FGADFt8Sam7peyhaFAekQIwvLETX3WYXhMwTehKPB69sdmcA=="],
+
+ "@yuku-core/binding-linux-x64-musl": ["@yuku-core/binding-linux-x64-musl@0.18.1", "", { "os": "linux", "cpu": "x64" }, "sha512-mdeItxbo5No5ht5XdHh0mCHDBne/STUuzphzGQQxVX+XSsBPbUHsZkmUAahycR6RoEP2UF/YBhg1M5f0phBO9A=="],
+
+ "@yuku-core/binding-win32-arm64": ["@yuku-core/binding-win32-arm64@0.18.1", "", { "os": "win32", "cpu": "arm64" }, "sha512-0CyeB03Lr/QV9XHGyuChJ3V99X9M/6Q+3JB3ZRJWjqs13G1qIeIiHwsaCfqIJsqei9wxBtaKWZ1vBU7ApQfMEA=="],
+
+ "@yuku-core/binding-win32-x64": ["@yuku-core/binding-win32-x64@0.18.1", "", { "os": "win32", "cpu": "x64" }, "sha512-p0zG4bkR4++W011YbcP7Thg0UunaX9Lfg6U3nHEEwLrvTNy4P0+I5GO762tdjLozZpZwWLV/HmYNeecyOS2y5g=="],
+
+ "@yuku-toolchain/types": ["@yuku-toolchain/types@0.18.1", "", {}, "sha512-rWtqVdjA8O34nV/4mBFIdUm5Zj+FIzZDR7P2PEpqXXp53VEHabTROu7j2RjzzJbLMVYjW6gDKwOgPgiKRA+x4w=="],
+
+ "balanced-match": ["balanced-match@1.0.2", "", {}, "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="],
+
+ "brace-expansion": ["brace-expansion@1.1.16", "", { "dependencies": { "balanced-match": "1.0.2", "concat-map": "0.0.1" } }, "sha512-IDw48K2/2kRkg9LdJxurvq3lV3aBgq0REY89duEqFRthjlPdXHKMj7EnQOXVckxzgisinf3nHfrcE2FufFLXMw=="],
+
+ "builtin-modules": ["builtin-modules@3.3.0", "", {}, "sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw=="],
+
+ "bun-types": ["bun-types@1.4.2", "", { "dependencies": { "@types/node": "*" } }, "sha512-bxV1FgK7yBIzjRe5zBozIM4Bem11ZJcCXSrjWRG3YWLt8yFDePu4cLjpebO8OvPeIE9trbyPF4fuj3Cia4Fj3w=="],
+
+ "cac": ["cac@7.0.1", "", {}, "sha512-86diuUyeeWM8CrqhpGCaDafrzjS1s++7sWy2AbAPoFNz/xKv7ID57CR4pZsMuGCh60PtsnEx4z68b+Vgt07VPw=="],
+
+ "cmake-ts": ["cmake-ts@1.0.2", "", { "bin": { "cmake-ts": "build/main.js" } }, "sha512-5l++JHE7MxFuyV/OwJf3ek7ZZN1aGPFPM5oUz6AnK5inQAPe4TFXRMz5sA2qg2FRgByPWdqO+gSfIPo8GzoKNQ=="],
+
+ "commander": ["commander@10.0.1", "", {}, "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug=="],
+
+ "commondir": ["commondir@1.0.1", "", {}, "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg=="],
+
+ "concat-map": ["concat-map@0.0.1", "", {}, "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg=="],
+
+ "deepmerge": ["deepmerge@4.3.1", "", {}, "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A=="],
+
+ "defu": ["defu@6.1.7", "", {}, "sha512-7z22QmUWiQ/2d0KkdYmANbRUVABpZ9SNYyH5vx6PZ+nE5bcC0l7uFvEfHlyld/HcGBFTL536ClDt3DEcSlEJAQ=="],
+
+ "dts-resolver": ["dts-resolver@3.0.0", "", { "peerDependencies": { "oxc-resolver": ">=11.0.0" }, "optionalPeers": ["oxc-resolver"] }, "sha512-1T1f+z+4tl9XD+m+0HBgWoL/nm0bOIffyWaUuUSBlFg/86IWvfx+wjNaO/ybU0AJzG9/Mi5hBUgGV6zCmWEN7Q=="],
+
+ "empathic": ["empathic@2.1.0", "", {}, "sha512-AnfC1ATldl49/cvZdLPDjBfrRNwbDO05aibiOtzQu3qtlbJtomNLhF30HEtn/7iBz50dlMECqATo3fG0LrdEgw=="],
+
+ "es-errors": ["es-errors@1.3.0", "", {}, "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw=="],
+
+ "estree-walker": ["estree-walker@1.0.1", "", {}, "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg=="],
+
+ "fdir": ["fdir@6.5.0", "", { "peerDependencies": { "picomatch": "^3 || ^4" }, "optionalPeers": ["picomatch"] }, "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg=="],
+
+ "fs.realpath": ["fs.realpath@1.0.0", "", {}, "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw=="],
+
+ "fsevents": ["fsevents@2.3.3", "", { "os": "darwin" }, "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw=="],
+
+ "function-bind": ["function-bind@1.1.2", "", {}, "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA=="],
+
+ "get-tsconfig": ["get-tsconfig@5.0.0-beta.6", "", { "dependencies": { "resolve-pkg-maps": "^1.0.0" } }, "sha512-X6fBC0pmImC70gvX2zm56go9hx0MyoGVdG0tUCkg/D+Xnh5TJsOZ7iDbOdI3PvmtrDxnu1YdDufpK2QJX1Meqw=="],
+
+ "glob": ["glob@7.2.3", "", { "dependencies": { "fs.realpath": "1.0.0", "inflight": "1.0.6", "inherits": "2.0.4", "minimatch": "3.1.5", "once": "1.4.0", "path-is-absolute": "1.0.1" } }, "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q=="],
+
+ "hasown": ["hasown@2.0.4", "", { "dependencies": { "function-bind": "1.1.2" } }, "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A=="],
+
+ "hookable": ["hookable@6.1.2", "", {}, "sha512-+abwxtiEA52GCVIsQqut3S/uKTbUwYIp4Pe/vv+6py5XiXBCqMZHg6pA6Y5qhgLSEys0/cYuPbO0z1QFj5ZCmg=="],
+
+ "import-without-cache": ["import-without-cache@0.4.1", "", {}, "sha512-vXoV9PjKHEednCUu01e98TkImxy67e3BJXbTIOmIq4Hyzw3IAwYRcuPkfeTzJzwyyts4kjuA73x+pWJLc4f86A=="],
+
+ "inflight": ["inflight@1.0.6", "", { "dependencies": { "once": "1.4.0", "wrappy": "1.0.2" } }, "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA=="],
+
+ "inherits": ["inherits@2.0.4", "", {}, "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="],
+
+ "is-core-module": ["is-core-module@2.16.2", "", { "dependencies": { "hasown": "2.0.4" } }, "sha512-evOr8xfXKxE6qSR0hSXL2r3sd7ALj8+7jQEUvPYcm5sgZFdJ+AYzT6yNmJenvIYQBgIGwfwz08sL8zoL7yq2BA=="],
+
+ "is-module": ["is-module@1.0.0", "", {}, "sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g=="],
+
+ "is-reference": ["is-reference@1.2.1", "", { "dependencies": { "@types/estree": "1.0.9" } }, "sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ=="],
+
+ "magic-string": ["magic-string@0.25.9", "", { "dependencies": { "sourcemap-codec": "1.4.8" } }, "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ=="],
+
+ "minimatch": ["minimatch@3.1.5", "", { "dependencies": { "brace-expansion": "1.1.16" } }, "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w=="],
+
+ "node-addon-api": ["node-addon-api@8.9.0", "", {}, "sha512-ekZMeaaIzSQTSpr7X2X3iJM7lTzgnx8ahAG9pJfT/7+14mlEM8ZYQ9cgCDvSSRbReFK0oHli3WrZdCiRsgAT9Q=="],
+
+ "obug": ["obug@3.0.0", "", {}, "sha512-5vvB5+W7ePv+p3uqxi+RcW1XAzLW0/hxt3/4X4Lc4qHudzOhmBiBwOY6DRob4WnanAEGvNcLjF+KNOufrUoEQw=="],
+
+ "once": ["once@1.4.0", "", { "dependencies": { "wrappy": "1.0.2" } }, "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w=="],
+
+ "oxfmt": ["oxfmt@0.72.0", "", { "dependencies": { "tinypool": "2.2.0" }, "optionalDependencies": { "@oxfmt/binding-android-arm-eabi": "0.72.0", "@oxfmt/binding-android-arm64": "0.72.0", "@oxfmt/binding-darwin-arm64": "0.72.0", "@oxfmt/binding-darwin-x64": "0.72.0", "@oxfmt/binding-freebsd-x64": "0.72.0", "@oxfmt/binding-linux-arm-gnueabihf": "0.72.0", "@oxfmt/binding-linux-arm-musleabihf": "0.72.0", "@oxfmt/binding-linux-arm64-gnu": "0.72.0", "@oxfmt/binding-linux-arm64-musl": "0.72.0", "@oxfmt/binding-linux-ppc64-gnu": "0.72.0", "@oxfmt/binding-linux-riscv64-gnu": "0.72.0", "@oxfmt/binding-linux-riscv64-musl": "0.72.0", "@oxfmt/binding-linux-s390x-gnu": "0.72.0", "@oxfmt/binding-linux-x64-gnu": "0.72.0", "@oxfmt/binding-linux-x64-musl": "0.72.0", "@oxfmt/binding-openharmony-arm64": "0.72.0", "@oxfmt/binding-win32-arm64-msvc": "0.72.0", "@oxfmt/binding-win32-ia32-msvc": "0.72.0", "@oxfmt/binding-win32-x64-msvc": "0.72.0" }, "peerDependencies": { "svelte": "^5.0.0", "vite-plus": "*" }, "optionalPeers": ["svelte", "vite-plus"], "bin": { "oxfmt": "bin/oxfmt" } }, "sha512-16OQeL0uhPZbfmT9S9WWM0Nv9+BmVi8Ra1uTYaSKj/qSCs6FB30KOhz9JoNYw6thT+K5bVxsk/tSEOu497i34g=="],
+
+ "oxlint": ["oxlint@1.87.0", "", { "optionalDependencies": { "@oxlint/binding-android-arm-eabi": "1.87.0", "@oxlint/binding-android-arm64": "1.87.0", "@oxlint/binding-darwin-arm64": "1.87.0", "@oxlint/binding-darwin-x64": "1.87.0", "@oxlint/binding-freebsd-x64": "1.87.0", "@oxlint/binding-linux-arm-gnueabihf": "1.87.0", "@oxlint/binding-linux-arm-musleabihf": "1.87.0", "@oxlint/binding-linux-arm64-gnu": "1.87.0", "@oxlint/binding-linux-arm64-musl": "1.87.0", "@oxlint/binding-linux-ppc64-gnu": "1.87.0", "@oxlint/binding-linux-riscv64-gnu": "1.87.0", "@oxlint/binding-linux-riscv64-musl": "1.87.0", "@oxlint/binding-linux-s390x-gnu": "1.87.0", "@oxlint/binding-linux-x64-gnu": "1.87.0", "@oxlint/binding-linux-x64-musl": "1.87.0", "@oxlint/binding-openharmony-arm64": "1.87.0", "@oxlint/binding-win32-arm64-msvc": "1.87.0", "@oxlint/binding-win32-ia32-msvc": "1.87.0", "@oxlint/binding-win32-x64-msvc": "1.87.0" }, "peerDependencies": { "oxlint-tsgolint": ">=7.0.2003", "vite-plus": "*" }, "optionalPeers": ["oxlint-tsgolint", "vite-plus"], "bin": { "oxlint": "bin/oxlint" } }, "sha512-drxVlaW7Oqq7wSy1CN25znRu00aRq8n57Q2wniJRxCmtYVz07ufCm7EVDPQFZURrTgQIjzKrVEHAD/HcvJXObg=="],
+
+ "oxlint-tsgolint": ["oxlint-tsgolint@7.0.2004", "", { "optionalDependencies": { "@oxlint-tsgolint/darwin-arm64": "7.0.2004", "@oxlint-tsgolint/darwin-x64": "7.0.2004", "@oxlint-tsgolint/linux-arm64": "7.0.2004", "@oxlint-tsgolint/linux-x64": "7.0.2004", "@oxlint-tsgolint/win32-arm64": "7.0.2004", "@oxlint-tsgolint/win32-x64": "7.0.2004" }, "bin": { "tsgolint": "./bin/tsgolint.js" } }, "sha512-vQ9WDF3fiZJvRdSDosNOflerOCOpwol6vWzVDxW76RcU19cjTh7engvkHLvmv+tzedR8fAiJUVUGr6IVZdkzXQ=="],
+
+ "path-is-absolute": ["path-is-absolute@1.0.1", "", {}, "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg=="],
+
+ "path-parse": ["path-parse@1.0.7", "", {}, "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw=="],
+
+ "picomatch": ["picomatch@4.0.7", "", {}, "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA=="],
+
+ "quansync": ["quansync@1.0.0", "", {}, "sha512-5xZacEEufv3HSTPQuchrvV6soaiACMFnq1H8wkVioctoH3TRha9Sz66lOxRwPK/qZj7HPiSveih9yAyh98gvqA=="],
+
+ "resolve": ["resolve@1.22.12", "", { "dependencies": { "es-errors": "1.3.0", "is-core-module": "2.16.2", "path-parse": "1.0.7", "supports-preserve-symlinks-flag": "1.0.0" }, "bin": { "resolve": "bin/resolve" } }, "sha512-TyeJ1zif53BPfHootBGwPRYT1RUt6oGWsaQr8UyZW/eAm9bKoijtvruSDEmZHm92CwS9nj7/fWttqPCgzep8CA=="],
+
+ "resolve-pkg-maps": ["resolve-pkg-maps@1.0.0", "", {}, "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw=="],
+
+ "rolldown": ["rolldown@1.2.13", "", { "dependencies": { "@oxc-project/types": "=0.153.0", "@rolldown/pluginutils": "^1.0.0" }, "optionalDependencies": { "@rolldown/binding-android-arm-eabi": "1.2.13", "@rolldown/binding-android-arm64": "1.2.13", "@rolldown/binding-darwin-arm64": "1.2.13", "@rolldown/binding-darwin-x64": "1.2.13", "@rolldown/binding-freebsd-x64": "1.2.13", "@rolldown/binding-linux-arm-gnueabihf": "1.2.13", "@rolldown/binding-linux-arm64-gnu": "1.2.13", "@rolldown/binding-linux-arm64-musl": "1.2.13", "@rolldown/binding-linux-ppc64-gnu": "1.2.13", "@rolldown/binding-linux-s390x-gnu": "1.2.13", "@rolldown/binding-linux-x64-gnu": "1.2.13", "@rolldown/binding-linux-x64-musl": "1.2.13", "@rolldown/binding-openharmony-arm64": "1.2.13", "@rolldown/binding-win32-arm64-msvc": "1.2.13", "@rolldown/binding-win32-x64-msvc": "1.2.13" }, "bin": { "rolldown": "./bin/cli.mjs" } }, "sha512-/5apOkwWxtACcQtZ5WlrAsKS4JwXVThQPJZ3RqIruRY9UG9M8e0VlXN068xum/JRKA4aIUoJ13ghe/kGCvidiQ=="],
+
+ "rolldown-plugin-dts": ["rolldown-plugin-dts@0.28.7", "", { "dependencies": { "dts-resolver": "^3.0.0", "get-tsconfig": "5.0.0-beta.6", "obug": "^3.0.0", "yuku-ast": "^0.18.1", "yuku-codegen": "^0.18.1", "yuku-parser": "^0.18.1" }, "peerDependencies": { "@typescript/native-preview": "*", "@volar/typescript": "~2.4.0", "@vue/language-core": "~3.2.0 || ~3.3.0", "rolldown": "^1.2.0", "typescript": "^5.0.0 || ^6.0.0 || ~7.0.0", "vue-tsc": "~3.2.0 || ~3.3.0" }, "optionalPeers": ["@typescript/native-preview", "@volar/typescript", "@vue/language-core", "typescript", "vue-tsc"] }, "sha512-o0lA6/NPzBAhMFgnIVJgW4eMBbMBQ8sXEbq4GqEHloerWMLqLNatpFy5AlWpEKskFShWKNghMMI8naul9Lgo5Q=="],
+
+ "rollup": ["rollup@2.80.0", "", { "optionalDependencies": { "fsevents": "2.3.3" }, "bin": { "rollup": "dist/bin/rollup" } }, "sha512-cIFJOD1DESzpjOBl763Kp1AH7UE/0fcdHe6rZXUdQ9c50uvgigvW97u3IcSeBwOkgqL/PXPBktBCh0KEu5L8XQ=="],
+
+ "semver": ["semver@7.8.5", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA=="],
+
+ "sourcemap-codec": ["sourcemap-codec@1.4.8", "", {}, "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA=="],
+
+ "supports-preserve-symlinks-flag": ["supports-preserve-symlinks-flag@1.0.0", "", {}, "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w=="],
+
+ "tinyexec": ["tinyexec@1.3.1", "", {}, "sha512-GCvB3aoys96IuDFBMcTB46JOR6mdMtAToqwiW8JlWhsoh1mhHi/xn9ss/Dg7N555GiJyEt2qzoG/NHCwM6h1EA=="],
+
+ "tinyglobby": ["tinyglobby@0.2.17", "", { "dependencies": { "fdir": "6.5.0", "picomatch": "4.0.5" } }, "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g=="],
+
+ "tinypool": ["tinypool@2.2.0", "", {}, "sha512-jBrmx4lYmaC9k/mgPbylxs7kBUxHtD8256up+HjLaDFfXScKJQyil+SWXSvhAtT7XHo+yTVlpB81PGmHP8oLSQ=="],
+
+ "tree-kill": ["tree-kill@1.2.2", "", { "bin": { "tree-kill": "cli.js" } }, "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A=="],
+
+ "tsdown": ["tsdown@0.23.1", "", { "dependencies": { "cac": "^7.0.1", "defu": "^6.1.7", "empathic": "^2.1.0", "hookable": "^6.1.2", "import-without-cache": "^0.4.1", "obug": "^3.0.0", "picomatch": "^4.0.7", "rolldown": "~1.2.13", "rolldown-plugin-dts": "^0.28.7", "tinyexec": "^1.3.1", "tinyglobby": "^0.2.17", "tree-kill": "^1.2.2", "unconfig-core": "^7.5.0", "verkit": "^0.5.0" }, "peerDependencies": { "@arethetypeswrong/core": "^0.18.1", "@tsdown/css": "0.23.1", "@tsdown/exe": "0.23.1", "@vitejs/devtools": "*", "publint": "^0.3.8", "tsx": "*", "typescript": "^5.0.0 || ^6.0.0 || ^7.0.0", "unplugin-unused": ">=0.5.0", "unrun": "*" }, "optionalPeers": ["@arethetypeswrong/core", "@tsdown/css", "@tsdown/exe", "@vitejs/devtools", "publint", "tsx", "typescript", "unplugin-unused", "unrun"], "bin": { "tsdown": "./dist/run.mjs" } }, "sha512-MSC2WSOts3in95J334/VIS7KPfor3eCSvndJ6KdoVj9Aak9Kh1aNfz9ws5owhdukuTNSXRdfkPEzA/ihpDD6SA=="],
+
+ "tslab": ["tslab@1.0.22", "", { "dependencies": { "@rollup/plugin-commonjs": "13.0.2", "@rollup/plugin-node-resolve": "11.2.1", "@rollup/plugin-replace": "2.4.2", "@tslab/typescript-for-tslab": "5.0.4", "@types/node": "18.19.130", "commander": "10.0.1", "rollup": "2.80.0", "semver": "7.8.5", "zeromq": "6.5.0" }, "bin": { "tslab": "bin/tslab" } }, "sha512-d3Ct6uehllgm71FVNWDy6z6oAreIHDtUqBUIMJym5Tm83CFFcY0urBAsfBuzWOBLMcB6+X1H0WDMZKAUcXCY4Q=="],
+
+ "typescript": ["typescript@6.0.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw=="],
+
+ "unconfig-core": ["unconfig-core@7.5.0", "", { "dependencies": { "@quansync/fs": "1.0.0", "quansync": "1.0.0" } }, "sha512-Su3FauozOGP44ZmKdHy2oE6LPjk51M/TRRjHv2HNCWiDvfvCoxC2lno6jevMA91MYAdCdwP05QnWdWpSbncX/w=="],
+
+ "undici-types": ["undici-types@5.26.5", "", {}, "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="],
+
+ "verkit": ["verkit@0.5.0", "", {}, "sha512-u4J1hr6Y+C/hit34GwL3eIcUf3wngT8TlYUjK7tk0jxydKLAq3sYvifjdTDA6U3KCKRcQCQDGf/srjxfZF3l7g=="],
+
+ "wrappy": ["wrappy@1.0.2", "", {}, "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="],
+
+ "yuku-ast": ["yuku-ast@0.18.1", "", { "dependencies": { "@yuku-toolchain/types": "^0.18.1" } }, "sha512-Y9YgmYeExF+13IOm4r9pTgmQiCVJtrhq014st78eAckWlCkbjzNd2AVrQHng5uiLz9j31O4sGYhuP3znSKJv9w=="],
+
+ "yuku-codegen": ["yuku-codegen@0.18.1", "", { "dependencies": { "@yuku-toolchain/types": "^0.18.1" } }, "sha512-0tNgBfNHW6+tEBGEf1N20C6tDsFR9Vj344Ey01wgAMeP+j0zR5WBF8dyzOu5oA/n6Yz6YqV1ZcASdi0cin+q8A=="],
+
+ "yuku-core": ["yuku-core@0.18.1", "", { "dependencies": { "@yuku-toolchain/types": "^0.18.1" }, "optionalDependencies": { "@yuku-core/binding-android-arm64": "0.18.1", "@yuku-core/binding-darwin-arm64": "0.18.1", "@yuku-core/binding-darwin-x64": "0.18.1", "@yuku-core/binding-freebsd-x64": "0.18.1", "@yuku-core/binding-linux-arm-gnu": "0.18.1", "@yuku-core/binding-linux-arm-musl": "0.18.1", "@yuku-core/binding-linux-arm64-gnu": "0.18.1", "@yuku-core/binding-linux-arm64-musl": "0.18.1", "@yuku-core/binding-linux-x64-gnu": "0.18.1", "@yuku-core/binding-linux-x64-musl": "0.18.1", "@yuku-core/binding-win32-arm64": "0.18.1", "@yuku-core/binding-win32-x64": "0.18.1" } }, "sha512-8PEOCKEi7r3nPY5cF0ZtJJSQj0ftwd0GC4En8fDQIP3nxw5ysSDwM0RcEuyHBblowRb82ad9AsExpqnKXAtC1Q=="],
+
+ "yuku-parser": ["yuku-parser@0.18.1", "", { "dependencies": { "@yuku-toolchain/types": "^0.18.1", "yuku-core": "0.18.1" } }, "sha512-t5pANCF6k9rgJre7jk8DMAU4lEoI1oWWZgXk0fcvmCYQquFVWv0rf6Awwt56nnPiHb0E24dhtrpfgf9ChTCbrQ=="],
+
+ "zeromq": ["zeromq@6.5.0", "", { "dependencies": { "cmake-ts": "1.0.2", "node-addon-api": "8.9.0" } }, "sha512-vWOrt19lvcXTxu5tiHXfEGQuldSlU+qZn2TT+4EbRQzaciWGwNZ99QQTolQOmcwVgZLodv+1QfC6UZs2PX/6pQ=="],
+
+ "@rollup/pluginutils/picomatch": ["picomatch@2.3.2", "", {}, "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA=="],
+
+ "@types/resolve/@types/node": ["@types/node@26.1.1", "", { "dependencies": { "undici-types": "8.3.0" } }, "sha512-nxAkRSVkN1Y0JC1W8ky/fTfkGsMmcrRsbx+3XoZE+rMOX71kLYTV7fLXpqud1GpbpP5TuffXFqfX7fH2GgZREw=="],
+
+ "bun-types/@types/node": ["@types/node@26.6.5", "", { "dependencies": { "undici-types": "~8.9.0" } }, "sha512-uMzsv9stDdofIZBx4UGh4Z9ZgXnGC9seRDscilBcTHAeOFk67MZg/k9bWVfO+bk4qZmG+l52hRnLwUiH2LnJTg=="],
+
+ "is-reference/@types/estree": ["@types/estree@1.0.9", "", {}, "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg=="],
+
+ "tinyglobby/picomatch": ["picomatch@4.0.5", "", {}, "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A=="],
+
+ "@types/resolve/@types/node/undici-types": ["undici-types@8.3.0", "", {}, "sha512-j375ScV60dom+YkPFIfTLcOiPxkN/buHz5GobjLhixFuANaNs3C9l4GmrWqejgXWJ7BbJcFYpTEUkS1Ge8bpZQ=="],
+
+ "bun-types/@types/node/undici-types": ["undici-types@8.9.0", "", {}, "sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg=="],
+ }
+}
diff --git a/package.json b/package.json
index ae6548b..81bb84c 100644
--- a/package.json
+++ b/package.json
@@ -37,28 +37,21 @@
"provenance": true
},
"scripts": {
- "build": "tsdown && oxfmt package.json",
- "test": "vitest run",
- "lint": "oxlint --fix --silent && oxfmt",
- "check": "oxlint --type-check --format agent && oxfmt --check"
+ "compile": "tsdown && bun scripts/ipynb-to-md.ts",
+ "fix": "oxlint --fix --silent && oxfmt",
+ "check": "oxlint && oxfmt --check",
+ "tests": "bun test --timeout 30000"
},
"dependencies": {
"typescript": "6.0.3"
},
"devDependencies": {
- "@types/node": "^26.1.1",
- "oxfmt": "^0.58.0",
- "oxlint": "^1.73.0",
- "oxlint-tsgolint": "^0.24.0",
- "tsdown": "^0.22.6",
- "tslab": "^1.0.22",
- "vitest": "^4.1.10"
+ "@types/bun": "^1.4.2",
+ "oxfmt": "^0.72.0",
+ "oxlint": "^1.87.0",
+ "oxlint-tsgolint": "^7.0.2004",
+ "tsdown": "^0.23.1",
+ "tslab": "^1.0.22"
},
- "devEngines": {
- "packageManager": {
- "name": "pnpm",
- "version": "^11.18.0",
- "onFail": "download"
- }
- }
+ "packageManager": "bun@1.4.2"
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
deleted file mode 100644
index a0823e0..0000000
--- a/pnpm-lock.yaml
+++ /dev/null
@@ -1,2441 +0,0 @@
----
-lockfileVersion: '9.0'
-
-importers:
-
- .:
- configDependencies: {}
- packageManagerDependencies:
- '@pnpm/exe':
- specifier: 11.18.0
- version: 11.18.0
- pnpm:
- specifier: 11.18.0
- version: 11.18.0
-
-packages:
-
- '@pnpm/exe@11.18.0':
- resolution: {integrity: sha512-9aPgeTanPblPLGE0V+SSTFAEmN1aF0y3OE+iNUO/RW5oXoZfyPS34hSDDwDmVy8yokA/+EuwQZENMDxaaICysA==}
- hasBin: true
-
- '@pnpm/linux-arm64@11.18.0':
- resolution: {integrity: sha512-cWOEr5xbmURZpj2XZo/3pqsrtDTzqms8g27Z4ciB1+cdj3SF8APtzyC/zJkJ6+gTnRwS0rIValnulSwDDKiasA==}
- cpu: [arm64]
- os: [linux]
-
- '@pnpm/linux-x64@11.18.0':
- resolution: {integrity: sha512-9wgEko4X/jxDOpM+zcu5CcJtam2+nEvkuE1YRRALdEk4hwzJdjbCgl9xXKIVED19ZCYpAuF1zAtxiXcukxk3xA==}
- cpu: [x64]
- os: [linux]
-
- '@pnpm/linuxstatic-arm64@11.18.0':
- resolution: {integrity: sha512-4FJPL48jwvh+GvK13hMeqqsI+1tIIrm3iNMx2URM5UaFHJDvhj2SrBMgn2th9Lmgo7gH4RykxGiYyGJJRl+rjw==}
- cpu: [arm64]
- os: [linux]
- libc: [musl]
-
- '@pnpm/linuxstatic-x64@11.18.0':
- resolution: {integrity: sha512-nrP+OrT7BAyEno2xcaKZdOuY5kgkLQOiH7irBft2Q3/bLpEsidUscmWgtdGF2xahmfNx5FTzxwurX9zMLOId3g==}
- cpu: [x64]
- os: [linux]
- libc: [musl]
-
- '@pnpm/macos-arm64@11.18.0':
- resolution: {integrity: sha512-KTDxK6c21u78EeH55TjPKPvOUhh1qW5zSYLJasxnIBWVK8bxzGFBwuccvdbPlwgu7c6iGrXR4dAeVn3RRty/IA==}
- cpu: [arm64]
- os: [darwin]
-
- '@pnpm/win-arm64@11.18.0':
- resolution: {integrity: sha512-4EMrx19KBBDx0ufwlTUypDQMPIyQtaf85j7Y8HeHs2KeyF6pFnIhP2PbZH8YuO/JJ9Obb2AcK3T3wqyX6nQrhg==}
- cpu: [arm64]
- os: [win32]
-
- '@pnpm/win-x64@11.18.0':
- resolution: {integrity: sha512-uBeq9G2ArsVV6es+cAqP4DwiZaykNjC5nRBOOPLn28Tr5ZplqqSpoFi6kvgM7P/fz1/VCyKj2fsBMZOR8B5lpQ==}
- cpu: [x64]
- os: [win32]
-
- '@reflink/reflink-darwin-arm64@0.1.19':
- resolution: {integrity: sha512-ruy44Lpepdk1FqDz38vExBY/PVUsjxZA+chd9wozjUH9JjuDT/HEaQYA6wYN9mf041l0yLVar6BCZuWABJvHSA==}
- engines: {node: '>= 10'}
- cpu: [arm64]
- os: [darwin]
-
- '@reflink/reflink-darwin-x64@0.1.19':
- resolution: {integrity: sha512-By85MSWrMZa+c26TcnAy8SDk0sTUkYlNnwknSchkhHpGXOtjNDUOxJE9oByBnGbeuIE1PiQsxDG3Ud+IVV9yuA==}
- engines: {node: '>= 10'}
- cpu: [x64]
- os: [darwin]
-
- '@reflink/reflink-linux-arm64-gnu@0.1.19':
- resolution: {integrity: sha512-7P+er8+rP9iNeN+bfmccM4hTAaLP6PQJPKWSA4iSk2bNvo6KU6RyPgYeHxXmzNKzPVRcypZQTpFgstHam6maVg==}
- engines: {node: '>= 10'}
- cpu: [arm64]
- os: [linux]
- libc: [glibc]
-
- '@reflink/reflink-linux-arm64-musl@0.1.19':
- resolution: {integrity: sha512-37iO/Dp6m5DDaC2sf3zPtx/hl9FV3Xze4xoYidrxxS9bgP3S8ALroxRK6xBG/1TtfXKTvolvp+IjrUU6ujIGmA==}
- engines: {node: '>= 10'}
- cpu: [arm64]
- os: [linux]
- libc: [musl]
-
- '@reflink/reflink-linux-x64-gnu@0.1.19':
- resolution: {integrity: sha512-jbI8jvuYCaA3MVUdu8vLoLAFqC+iNMpiSuLbxlAgg7x3K5bsS8nOpTRnkLF7vISJ+rVR8W+7ThXlXlUQ93ulkw==}
- engines: {node: '>= 10'}
- cpu: [x64]
- os: [linux]
- libc: [glibc]
-
- '@reflink/reflink-linux-x64-musl@0.1.19':
- resolution: {integrity: sha512-e9FBWDe+lv7QKAwtKOt6A2W/fyy/aEEfr0g6j/hWzvQcrzHCsz07BNQYlNOjTfeytrtLU7k449H1PI95jA4OjQ==}
- engines: {node: '>= 10'}
- cpu: [x64]
- os: [linux]
- libc: [musl]
-
- '@reflink/reflink-win32-arm64-msvc@0.1.19':
- resolution: {integrity: sha512-09PxnVIQcd+UOn4WAW73WU6PXL7DwGS6wPlkMhMg2zlHHG65F3vHepOw06HFCq+N42qkaNAc8AKIabWvtk6cIQ==}
- engines: {node: '>= 10'}
- cpu: [arm64]
- os: [win32]
-
- '@reflink/reflink-win32-x64-msvc@0.1.19':
- resolution: {integrity: sha512-E//yT4ni2SyhwP8JRjVGWr3cbnhWDiPLgnQ66qqaanjjnMiu3O/2tjCPQXlcGc/DEYofpDc9fvhv6tALQsMV9w==}
- engines: {node: '>= 10'}
- cpu: [x64]
- os: [win32]
-
- '@reflink/reflink@0.1.19':
- resolution: {integrity: sha512-DmCG8GzysnCZ15bres3N5AHCmwBwYgp0As6xjhQ47rAUTUXxJiK+lLUxaGsX3hd/30qUpVElh05PbGuxRPgJwA==}
- engines: {node: '>= 10'}
-
- detect-libc@2.1.2:
- resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==}
- engines: {node: '>=8'}
-
- pnpm@11.18.0:
- resolution: {integrity: sha512-M9g8d9qC9J+6g2klxvG4QRgewxMrZwY5vQEvcHX1x89jTF+HAUfBmq50ePrAHfCdiJLogEVIlu3SPumzN1dWPA==}
- engines: {node: '>=22.13'}
- hasBin: true
-
-snapshots:
-
- '@pnpm/exe@11.18.0':
- dependencies:
- '@reflink/reflink': 0.1.19
- detect-libc: 2.1.2
- optionalDependencies:
- '@pnpm/linux-arm64': 11.18.0
- '@pnpm/linux-x64': 11.18.0
- '@pnpm/linuxstatic-arm64': 11.18.0
- '@pnpm/linuxstatic-x64': 11.18.0
- '@pnpm/macos-arm64': 11.18.0
- '@pnpm/win-arm64': 11.18.0
- '@pnpm/win-x64': 11.18.0
-
- '@pnpm/linux-arm64@11.18.0':
- optional: true
-
- '@pnpm/linux-x64@11.18.0':
- optional: true
-
- '@pnpm/linuxstatic-arm64@11.18.0':
- optional: true
-
- '@pnpm/linuxstatic-x64@11.18.0':
- optional: true
-
- '@pnpm/macos-arm64@11.18.0':
- optional: true
-
- '@pnpm/win-arm64@11.18.0':
- optional: true
-
- '@pnpm/win-x64@11.18.0':
- optional: true
-
- '@reflink/reflink-darwin-arm64@0.1.19':
- optional: true
-
- '@reflink/reflink-darwin-x64@0.1.19':
- optional: true
-
- '@reflink/reflink-linux-arm64-gnu@0.1.19':
- optional: true
-
- '@reflink/reflink-linux-arm64-musl@0.1.19':
- optional: true
-
- '@reflink/reflink-linux-x64-gnu@0.1.19':
- optional: true
-
- '@reflink/reflink-linux-x64-musl@0.1.19':
- optional: true
-
- '@reflink/reflink-win32-arm64-msvc@0.1.19':
- optional: true
-
- '@reflink/reflink-win32-x64-msvc@0.1.19':
- optional: true
-
- '@reflink/reflink@0.1.19':
- optionalDependencies:
- '@reflink/reflink-darwin-arm64': 0.1.19
- '@reflink/reflink-darwin-x64': 0.1.19
- '@reflink/reflink-linux-arm64-gnu': 0.1.19
- '@reflink/reflink-linux-arm64-musl': 0.1.19
- '@reflink/reflink-linux-x64-gnu': 0.1.19
- '@reflink/reflink-linux-x64-musl': 0.1.19
- '@reflink/reflink-win32-arm64-msvc': 0.1.19
- '@reflink/reflink-win32-x64-msvc': 0.1.19
-
- detect-libc@2.1.2: {}
-
- pnpm@11.18.0: {}
-
----
-lockfileVersion: '9.0'
-
-settings:
- autoInstallPeers: true
- excludeLinksFromLockfile: false
-
-importers:
-
- .:
- dependencies:
- typescript:
- specifier: 6.0.3
- version: 6.0.3
- devDependencies:
- '@types/node':
- specifier: ^26.1.1
- version: 26.1.1
- oxfmt:
- specifier: ^0.58.0
- version: 0.58.0
- oxlint:
- specifier: ^1.73.0
- version: 1.73.0(oxlint-tsgolint@0.24.0)
- oxlint-tsgolint:
- specifier: ^0.24.0
- version: 0.24.0
- tsdown:
- specifier: ^0.22.6
- version: 0.22.6(typescript@6.0.3)
- tslab:
- specifier: ^1.0.22
- version: 1.0.22
- vitest:
- specifier: ^4.1.10
- version: 4.1.10(@types/node@26.1.1)(vite@8.0.14(@types/node@26.1.1))
-
-packages:
-
- '@emnapi/core@1.10.0':
- resolution: {integrity: sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw==}
-
- '@emnapi/core@1.11.1':
- resolution: {integrity: sha512-RSvbQmHzdKzNsLYa/wHrbc3KN4sYLKAdPZxqiM2HATqv/SBk2/ENSHpvXGaLOMcsAyz0poEGqkmmKYG3OWiJEQ==}
-
- '@emnapi/runtime@1.10.0':
- resolution: {integrity: sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA==}
-
- '@emnapi/runtime@1.11.1':
- resolution: {integrity: sha512-vgj7R3y3Wgx24IQaGPA/R6YFXLHVMOZ0uVEyIQPaWs+rd1AzfEMXlAC22FYwO1XkKR6NPsq7mUandH8oIRdZFw==}
-
- '@emnapi/wasi-threads@1.2.1':
- resolution: {integrity: sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w==}
-
- '@emnapi/wasi-threads@1.2.2':
- resolution: {integrity: sha512-c95qOXkHdydNKhscBTebqEC1CVAZpyqOfVfBzQ1qgzyl3gfeldUjIggDbIZgDKsHLgnsM+igH7TJ/eAasaVuMA==}
-
- '@jridgewell/sourcemap-codec@1.5.5':
- resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==}
-
- '@napi-rs/wasm-runtime@1.1.6':
- resolution: {integrity: sha512-ZLv/JdUfkvOy9eCnnBaGfiO+XimbjebAeO+MRQqD/B+FR1tnRN0tpKSJHRbE8sFfS6aqsXZ67TQjfwfsxULVbg==}
- peerDependencies:
- '@emnapi/core': ^1.7.1
- '@emnapi/runtime': ^1.7.1
-
- '@oxc-project/types@0.132.0':
- resolution: {integrity: sha512-FESMOxil5Se014ui/Eq8fT5uHJo6nIRwH0PfJrZJXs6Gek3ZVFOrpUv3YIZT20m+extU98Hg1Ym72U58rlsxUQ==}
-
- '@oxc-project/types@0.139.0':
- resolution: {integrity: sha512-r9gHphtCs+1M7J0pw6Sn/hh/Wpa/iQrOOkrNAlVLF/gHq+/CJmHIWKKUUhdWjcD6CIa8idarspCsASiXCXvFUw==}
-
- '@oxfmt/binding-android-arm-eabi@0.58.0':
- resolution: {integrity: sha512-Uz62sHduGGPftXtILGyxdSW4PX82rUg+rfdNqhsgxe881g4rIoXlIqmZQ6HVKcF4f+F8qMhdD03Bx5u7gmeTdg==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [arm]
- os: [android]
-
- '@oxfmt/binding-android-arm64@0.58.0':
- resolution: {integrity: sha512-rD0lRaJp1b+9vw6X4A2dJWKukd6X8yxiicN4JxXcXayolmUypRZxk+lKR+fVOu5q/iYc0fh5fR4bgmfOfVlbaA==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [arm64]
- os: [android]
-
- '@oxfmt/binding-darwin-arm64@0.58.0':
- resolution: {integrity: sha512-uzbPPk7O6M+w2K65vcQ1woga3wgP8zghjL1KOG5b6qJ8dvYHZJ1VShaslg2KOK6yQIwCQtcMCXqLBM6sqXUNTg==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [arm64]
- os: [darwin]
-
- '@oxfmt/binding-darwin-x64@0.58.0':
- resolution: {integrity: sha512-L0nKYDxU32oxeQqJj21W9SlIMnf81VZEhyah6iDvFhf5q0oynq498Fopth7blErUJVBpVtxQ98RMCfMPqpJX6w==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [x64]
- os: [darwin]
-
- '@oxfmt/binding-freebsd-x64@0.58.0':
- resolution: {integrity: sha512-woNwfD58dC5PGS9LSLSD5JYfo/EFK5iG9vhDWkcCg3q78ag7KC8bpDqgvPHrMoXpx83OLXxoSOhu6z8FsVTHlg==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [x64]
- os: [freebsd]
-
- '@oxfmt/binding-linux-arm-gnueabihf@0.58.0':
- resolution: {integrity: sha512-Sqs8nMLxuQpY21NKJ1u4stPDmO5hskBCNNh2E3AdCfI1QqWtf4m+Qn4mGEIUO4KGmuq3SWc/SZ80uy5IiwTCDw==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [arm]
- os: [linux]
-
- '@oxfmt/binding-linux-arm-musleabihf@0.58.0':
- resolution: {integrity: sha512-Vd4exzBI5B5hB9m22JiTQzIL23WvHo/Pe+sNXPNeBLXSP9swCBPKCEBRwKpmpQzYhlgYaCgfPcGXPKAJBRIiZQ==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [arm]
- os: [linux]
-
- '@oxfmt/binding-linux-arm64-gnu@0.58.0':
- resolution: {integrity: sha512-bUWi5mHV+4Vi56RLHE1h6q/HHfwAIT3XoB9vJAVeRzfu5NriXM8y6eeJu0vlKa0C9kq2rq1sOWRClhdLHPocrg==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [arm64]
- os: [linux]
- libc: [glibc]
-
- '@oxfmt/binding-linux-arm64-musl@0.58.0':
- resolution: {integrity: sha512-2ZHxemzgHcjtktAuVUwSoyXmGo/t+aF5tS1ciPpPei4rhSyrz3JOqDosXXrmhN/yLUSzJjtuW7ToTWqfQpCj2w==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [arm64]
- os: [linux]
- libc: [musl]
-
- '@oxfmt/binding-linux-ppc64-gnu@0.58.0':
- resolution: {integrity: sha512-AwKkVwjVmFQ3bcO7j0McGYAqCKH2a326fswfofng/E8VewCT/raeeGQr4huVhY704deK8AWASSTlxzMj0eZc6Q==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [ppc64]
- os: [linux]
- libc: [glibc]
-
- '@oxfmt/binding-linux-riscv64-gnu@0.58.0':
- resolution: {integrity: sha512-xsRpTxfUnJF8D3AUKko/qyWdjw4GZVHlCVFuGlzSCTeewLmykKINW8em1+wx+axsDVtJJcMtvsiaXggXxrlHgw==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [riscv64]
- os: [linux]
- libc: [glibc]
-
- '@oxfmt/binding-linux-riscv64-musl@0.58.0':
- resolution: {integrity: sha512-Z4AYOTcy7nYEIiXwD62PlerimyYRcfJOgUbQAEBjXz098kxKuERBlRntofGy69HHhe9E0TLVNMl1yspVNu+efw==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [riscv64]
- os: [linux]
- libc: [musl]
-
- '@oxfmt/binding-linux-s390x-gnu@0.58.0':
- resolution: {integrity: sha512-A3nhhtZPC/TKVWOPj9q/H3p2znJDCcHWYlJBhWL8hGq/bFmBaNBHC8Np6E581yVq1w9Mi3rMDNzDalWvtUfJtQ==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [s390x]
- os: [linux]
- libc: [glibc]
-
- '@oxfmt/binding-linux-x64-gnu@0.58.0':
- resolution: {integrity: sha512-2g+tVkgwqphw8R4hgo+kF4oz8+P5RwVOtr9+irsC7uwEp0e9j7Crw8kDGKL20uYlLPD7g02DqA61mC/UNYx98A==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [x64]
- os: [linux]
- libc: [glibc]
-
- '@oxfmt/binding-linux-x64-musl@0.58.0':
- resolution: {integrity: sha512-rc15P6AbyyB7426aN8AakLd02Trb3a6ML/mmfAQeVHJEfVofWLcWIrBdy6zDEY+DIaL/s8E4GGPboVw+oP3+EA==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [x64]
- os: [linux]
- libc: [musl]
-
- '@oxfmt/binding-openharmony-arm64@0.58.0':
- resolution: {integrity: sha512-ZWoTM27/HYPOh9iq86DAbhPu9nXb8qKvvGU/h8OfliyVUFAMMNTLDkGsWDKKnDqIkqvZ9+dXlgUOsH1LYO3O7g==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [arm64]
- os: [openharmony]
-
- '@oxfmt/binding-win32-arm64-msvc@0.58.0':
- resolution: {integrity: sha512-LHZnqFXe2dEfkRI4XdZS/57nEOT/I4UCRX5IyM9v4GYW9XwQCjGe1IUK59SuKw3POwvcgWQ4pme2cYXmNqTNPg==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [arm64]
- os: [win32]
-
- '@oxfmt/binding-win32-ia32-msvc@0.58.0':
- resolution: {integrity: sha512-mZKpg20TpheCJym1rarcZCUJeW1sSruw8zAAaCYWvuVfwIUDN1CXdrPU/JgCWReXTCTrEfCB8Wyo3hh9jSZ2EA==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [ia32]
- os: [win32]
-
- '@oxfmt/binding-win32-x64-msvc@0.58.0':
- resolution: {integrity: sha512-N/wUU4N5PZ2orBtI+Ko7MnMfYLfE7K91UrGMY/c/pYyHR3lA9kwst1XugkZx+92YcRh/Eo+iv2eTESSWXfiZPA==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [x64]
- os: [win32]
-
- '@oxlint-tsgolint/darwin-arm64@0.24.0':
- resolution: {integrity: sha512-C2uMmwK5Bc4ri4ysZ6sA8Rcu+A5zBQTp6ml2u0CLLbRZp4kMFPV3yWk8B5DK9Aw7y9bbjogIm75tUwGLFzlsYQ==}
- cpu: [arm64]
- os: [darwin]
-
- '@oxlint-tsgolint/darwin-x64@0.24.0':
- resolution: {integrity: sha512-Wgvt/1lRbDxmoNqWQKKcL+UIiqLmdJ+EWLpQa1qzoNVAfNB0PJpa82/8dH1twT/3rSs4zrP5TXPWl4juB71WuQ==}
- cpu: [x64]
- os: [darwin]
-
- '@oxlint-tsgolint/linux-arm64@0.24.0':
- resolution: {integrity: sha512-PB1rxII7KV83+ASY4sSkXtqvpij6ME66+QCRL49uksi/ofs2Rf/UVboYr095n0Rkbl2wgvlsHGl6DHC361jQUQ==}
- cpu: [arm64]
- os: [linux]
-
- '@oxlint-tsgolint/linux-x64@0.24.0':
- resolution: {integrity: sha512-xcz3CxKmjTQLREtE/UShh+ruWmm9nAb7UM9zKcD65BStiuYgOakAKkPHl4YS5DztpVcDrE0+HqbOolTlRKYWmw==}
- cpu: [x64]
- os: [linux]
-
- '@oxlint-tsgolint/win32-arm64@0.24.0':
- resolution: {integrity: sha512-A2i6ZGBec3i20S7RaxkgHc6r3HYtD5Mn7j/mb22NkTz14u0JuudvTu6JggAnbGMcv8+dBKQI//EasxSPJLD8pw==}
- cpu: [arm64]
- os: [win32]
-
- '@oxlint-tsgolint/win32-x64@0.24.0':
- resolution: {integrity: sha512-0ZbGd9qRB6zs82moekaKdEvncRANq49EAwfNX62JpTS46feXUhKAuoyVDvZMj6Rywejylrmmu79Wo6faYCo4Ew==}
- cpu: [x64]
- os: [win32]
-
- '@oxlint/binding-android-arm-eabi@1.73.0':
- resolution: {integrity: sha512-HZQRN/UMBu+Ut+/9MiAChkbP4qZqrNOWBcNI45vOT40GVhbGR0JgHB87L48D4iAqFQIdVmeQYtV9RF89AjTKkg==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [arm]
- os: [android]
-
- '@oxlint/binding-android-arm64@1.73.0':
- resolution: {integrity: sha512-Gp+KJRylv2aW7thRpG5p1KTxZq4ZJFbWowrKzufNq9d3ssl3r3JviYV45/+p+7CN1Nv0zDd1e8Ex0b/HUDq4TQ==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [arm64]
- os: [android]
-
- '@oxlint/binding-darwin-arm64@1.73.0':
- resolution: {integrity: sha512-3de96NdtXhxERMjIz7wsp2HYMY6pMQycGxFWac2mFecAx6VeARF/IqFb1QIaqiCRIdfzBwzTed+pCTCoiS+CYA==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [arm64]
- os: [darwin]
-
- '@oxlint/binding-darwin-x64@1.73.0':
- resolution: {integrity: sha512-5zx/uPW32TiaOeVY1dQ/H5iOf0K1HOdFKOJhLqGl4o63+i1fpzoqqu/mKtd7OFgFjNCdhlyTGgjVkQTZm1ELcg==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [x64]
- os: [darwin]
-
- '@oxlint/binding-freebsd-x64@1.73.0':
- resolution: {integrity: sha512-qNe4gKHaGnLuZJ8toUg90JAa0S2vTVvDw+0bRi3q1avXZXDT4u5mMeECf3nD4HYrbdn1O7dXqWut4onY/yx/Xg==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [x64]
- os: [freebsd]
-
- '@oxlint/binding-linux-arm-gnueabihf@1.73.0':
- resolution: {integrity: sha512-cCehYh5hTbfShm/fxTD6wwrGUWIpvX+N5OxmAMhFhDeTGXvw+BeNj889tpxsFQ9ZLatQ6wImuY8tsKLZ+FMz7w==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [arm]
- os: [linux]
-
- '@oxlint/binding-linux-arm-musleabihf@1.73.0':
- resolution: {integrity: sha512-d5j5GDU/2dMgjVhw7TQT9ITrsIr1Y02KEXKyVGIXUkD+KiaxE9TP65FS2ZdgTBemQvoRL+gSBdbrIm3cQIeacg==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [arm]
- os: [linux]
-
- '@oxlint/binding-linux-arm64-gnu@1.73.0':
- resolution: {integrity: sha512-Eyf1SrP3+yR1DI3OJgOY2Pvrr9dWP9TK37xPaDYycwTtlGlI45erJAVIfH5/m/xosDt6BupJYEFi47bvbTuuyw==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [arm64]
- os: [linux]
- libc: [glibc]
-
- '@oxlint/binding-linux-arm64-musl@1.73.0':
- resolution: {integrity: sha512-IlT/OJApEDKaMmCooHuncgJZbbCe7T5QIWmTZBEtYscWvzPQuuEinVcid6kwQRVQOUdb7PUCz4jQHnaYXdfJXw==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [arm64]
- os: [linux]
- libc: [musl]
-
- '@oxlint/binding-linux-ppc64-gnu@1.73.0':
- resolution: {integrity: sha512-L+JYcb/vdg5fmcH08V6o0YYLU28cTH1SPNulwJdvK9NK49aXSkYy6oNpKBmddArVOXYqNepriDGiZ04G54kh1Q==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [ppc64]
- os: [linux]
- libc: [glibc]
-
- '@oxlint/binding-linux-riscv64-gnu@1.73.0':
- resolution: {integrity: sha512-Qtk0g3bKV6OwWjIm7R8kQN1uOZRKQt/MODK2a8QfkwhTpXBD53ozx5XLVWLGDQAVyp2otLW4D2wB98XfAfMPGA==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [riscv64]
- os: [linux]
- libc: [glibc]
-
- '@oxlint/binding-linux-riscv64-musl@1.73.0':
- resolution: {integrity: sha512-wX0NQKZVxltkAOVmzFcpOaMpdaUvsq1Eqpx9tkAfl71UdkTlSo1R4AdAnGccR1Fm2+TzFgZ22CyyGuZ41RDr/A==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [riscv64]
- os: [linux]
- libc: [musl]
-
- '@oxlint/binding-linux-s390x-gnu@1.73.0':
- resolution: {integrity: sha512-vPe7UGBMWyiLTtnqS4xxgMQFSFGmtQwhwCxuiw6lXygaO6bVt0D8dFVg8Xv05eaiN3ybC0HXXHUAohFMFvqoCQ==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [s390x]
- os: [linux]
- libc: [glibc]
-
- '@oxlint/binding-linux-x64-gnu@1.73.0':
- resolution: {integrity: sha512-2CwIWr9cemFC/CbRBWZvuk5mffz6ObmfFkfcC/9rTQ7f+icNhYr2kOjf9Rt8lLvugvkdGDOmkoVoFFHh6ClCTw==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [x64]
- os: [linux]
- libc: [glibc]
-
- '@oxlint/binding-linux-x64-musl@1.73.0':
- resolution: {integrity: sha512-nDadfJgg7NBBxG0N560wOe7LLX5QiYp6qBaI7viuk5EUORFBktU/NfV0MbTqU3gTqQDCh4VyxKdo5VADxk9w8Q==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [x64]
- os: [linux]
- libc: [musl]
-
- '@oxlint/binding-openharmony-arm64@1.73.0':
- resolution: {integrity: sha512-wGjJC+NLH9xP+IKGn9RDW94ojJR/wPbg5WCnQjj/oReaOtCQthr8ws1zICe77JFmo4ouUdeTHHZL/ESGiF6Pmw==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [arm64]
- os: [openharmony]
-
- '@oxlint/binding-win32-arm64-msvc@1.73.0':
- resolution: {integrity: sha512-I7X47GPGljw225YUQ5SbC/rb1Kkdrd0yQf0x+hYxeKS6DpfjMbo9ccQPQ6LNY6BoJQ1sHhgDUGuMn5Vg5gHT6w==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [arm64]
- os: [win32]
-
- '@oxlint/binding-win32-ia32-msvc@1.73.0':
- resolution: {integrity: sha512-5lWj+3h+74Fm1jYOO9qkJA4xkAlZA099DkXppuXsk7UpnpZLttsefrZU469vChGaG6hcSqrkKXQOvMTZtbjeNg==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [ia32]
- os: [win32]
-
- '@oxlint/binding-win32-x64-msvc@1.73.0':
- resolution: {integrity: sha512-WaNRvh4f6zY9CvUQk2YoA1O90ieWrIklI84+HXFr9Isjz9CSESrdqo/RtIYt4Dll/cAchqGDMehfaZd0vqEFZw==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [x64]
- os: [win32]
-
- '@quansync/fs@1.0.0':
- resolution: {integrity: sha512-4TJ3DFtlf1L5LDMaM6CanJ/0lckGNtJcMjQ1NAV6zDmA0tEHKZtxNKin8EgPaVX1YzljbxckyT2tJrpQKAtngQ==}
-
- '@rolldown/binding-android-arm64@1.0.2':
- resolution: {integrity: sha512-ZS4D1JPGn/MYQN/SYDWftIE/nVsM8j/AFOYEzAoOE2O3NktQOZru+/vYXGbR/qtdLdIfGCP0lcoJiYVzsEz+iQ==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [arm64]
- os: [android]
-
- '@rolldown/binding-android-arm64@1.1.5':
- resolution: {integrity: sha512-lZg8fqIv2v7FF237bwMgzGZEJvGL79/s5knJ/i6FmsGF4XXlzccZ4jb+TrFIxtSSxFtIpdsgrPZeMk1I9AFcyQ==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [arm64]
- os: [android]
-
- '@rolldown/binding-darwin-arm64@1.0.2':
- resolution: {integrity: sha512-vdFA9+C/rekyGce7WqHs/xoT0ioZEWaOFyZLIV1mEeNFaFDUQrPIo8Vs2GvJ6eetb3rzDUtUBgzto3ExpXJB3w==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [arm64]
- os: [darwin]
-
- '@rolldown/binding-darwin-arm64@1.1.5':
- resolution: {integrity: sha512-51Bnx9pNiMRKSUNtBfySkNJ9vMU9Hh3I1ozDd6gyPPYzaXCfnptUcEZxXGYFn+ul2dtcMUiqGR1Yai2K10uoTw==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [arm64]
- os: [darwin]
-
- '@rolldown/binding-darwin-x64@1.0.2':
- resolution: {integrity: sha512-BewSOwTHazv77DTYiAZXSqqKZ4KP/KonFisDMVU7PImxoWfB2aepnPhd2E4SWz3zDzYgDNbs6jBmTdgNnF02GA==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [x64]
- os: [darwin]
-
- '@rolldown/binding-darwin-x64@1.1.5':
- resolution: {integrity: sha512-Tm+gbfC0aHu1tBA/JvKQh32S0K6YgCHkiAF4/W6xX0K0RmNuc94VeK419dJoE65R5aRxmo+noZQSWrAMF6yb6g==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [x64]
- os: [darwin]
-
- '@rolldown/binding-freebsd-x64@1.0.2':
- resolution: {integrity: sha512-m41o7M0YWtUdqk61Tb+jnKb2rN++iRdIASlExkUoKfIAH30DOHCB8fVLzSUpbWHHU8esmEioY62PxzexE8MBuA==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [x64]
- os: [freebsd]
-
- '@rolldown/binding-freebsd-x64@1.1.5':
- resolution: {integrity: sha512-JMzDKCCXq93YccG5gz3hvOs1oXRKAf0XYpfOS88e+wZrC8Iugj6j68867vrYZkvpDDpKn/KoKORThmchMpF6TA==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [x64]
- os: [freebsd]
-
- '@rolldown/binding-linux-arm-gnueabihf@1.0.2':
- resolution: {integrity: sha512-jcojB9H7W/jS29pMKWAK1N+fU99vXodHDTatS3b3y/XSOCiHo0kkA74pL3jJmkoQtYpOCxDvaKs1fo2Ij/1X5w==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [arm]
- os: [linux]
-
- '@rolldown/binding-linux-arm-gnueabihf@1.1.5':
- resolution: {integrity: sha512-uML21j2K5TfPGutKxub+M+nLjZIrWjXQ5Grx4lCe/nimTj9B4L63zHpjXLl4y0L3mcm2htEQIb06oCG/szerNw==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [arm]
- os: [linux]
-
- '@rolldown/binding-linux-arm64-gnu@1.0.2':
- resolution: {integrity: sha512-1jn6qDU5iiOgFgygDzKUuKP0maTi0/f1+sBLgvij/76C77Nm3ts6ufz9Bjg5q5dduxiUIxtq86JIoBvo1xQ4Ig==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [arm64]
- os: [linux]
- libc: [glibc]
-
- '@rolldown/binding-linux-arm64-gnu@1.1.5':
- resolution: {integrity: sha512-navSiuTMogvnQoZoM/v+l3ZWo50/NTwSHSzheABx/RCnmUPaKwq9qSo4Br2OYRs21+Fz8uFqITZM3H4opOB0/Q==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [arm64]
- os: [linux]
- libc: [glibc]
-
- '@rolldown/binding-linux-arm64-musl@1.0.2':
- resolution: {integrity: sha512-QVLO/czFMdoMFSqlX3bcswcJNm/23r+qoa/jgtmFc/qEp6/jXmIkDjF/XIo8dPfGaiwy1xfQn8o77L79GeXFgw==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [arm64]
- os: [linux]
- libc: [musl]
-
- '@rolldown/binding-linux-arm64-musl@1.1.5':
- resolution: {integrity: sha512-lAryqH7IteztmCXQXk0etKj4wBQ7Gx5S6LjKhsgp9zb8I5bsuvU/2llH1hDQcjsFeqIsovMVN339/8pUDDBXxA==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [arm64]
- os: [linux]
- libc: [musl]
-
- '@rolldown/binding-linux-ppc64-gnu@1.0.2':
- resolution: {integrity: sha512-hgO5Abm0w5UL6FEa2iFnZqo2KlK7TQ5QhV5x09hujBf7t5KzHQ1VmfPuTpqRy/rNlSxua3eWH374xxiVrP+lcA==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [ppc64]
- os: [linux]
- libc: [glibc]
-
- '@rolldown/binding-linux-ppc64-gnu@1.1.5':
- resolution: {integrity: sha512-fsK/sNBnxzBlL4O1JNrZakVQxPspqpED5dLtNsZS9oOKmtSpdNIzxH2kkol5HYTWJN47sE20ztMJPxfZ89qGOg==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [ppc64]
- os: [linux]
- libc: [glibc]
-
- '@rolldown/binding-linux-s390x-gnu@1.0.2':
- resolution: {integrity: sha512-fy8rXxuYEu602abC8MUNaPjYLIFzReOaEIEMKMUa0rFEUxNpVXhs15KSSQ4qlqSaM7B6rcj9rDZgADh/IGDzLQ==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [s390x]
- os: [linux]
- libc: [glibc]
-
- '@rolldown/binding-linux-s390x-gnu@1.1.5':
- resolution: {integrity: sha512-gLYb4BIadlfTOYT5gO503n8zQjXflgzpD0FcyKh0Mzx3rqCZKnHoJWV9xe1KXUJ5lx2JfcSHr/mhzS0PC/McAA==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [s390x]
- os: [linux]
- libc: [glibc]
-
- '@rolldown/binding-linux-x64-gnu@1.0.2':
- resolution: {integrity: sha512-0+bOkiQ779+r1WpoHOWHqncvyySci0vKph+myNDYb+im6meJAzHQXay6oEgnkHuUGouM1LKTZwqKpBow6Kj7CQ==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [x64]
- os: [linux]
- libc: [glibc]
-
- '@rolldown/binding-linux-x64-gnu@1.1.5':
- resolution: {integrity: sha512-FjcpEKUyJygHgs1o50VYNvkt5+7Le/VEdYt0AkRpkL33MnyQfwr8l5mXwMmfmTbyMPr5vJLC+8/Gd9gXnwU1QQ==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [x64]
- os: [linux]
- libc: [glibc]
-
- '@rolldown/binding-linux-x64-musl@1.0.2':
- resolution: {integrity: sha512-mjSkrzZK5Qsl0a9d1JgILOiuZOSDTVdKENcSXBoqbzSrspLR/4/IRVDo5wd2GgZjNss/viBFJdeq+j7qH2nypw==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [x64]
- os: [linux]
- libc: [musl]
-
- '@rolldown/binding-linux-x64-musl@1.1.5':
- resolution: {integrity: sha512-Me+PfPI2TMeOQk0gYWfLQZtTktrmzbr8cDboqX83XKc7UrgAi55gF+2dUkWdxd19n55Essp2yeca+O9N5rBxHg==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [x64]
- os: [linux]
- libc: [musl]
-
- '@rolldown/binding-openharmony-arm64@1.0.2':
- resolution: {integrity: sha512-1v5vHasdfQAZoEHakBV72LIFAC9JjnymsiKxp+GEr/ma3+NJCPSaYK+qavInOovJkgwFrs7GccX2d6IgDA3Z5w==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [arm64]
- os: [openharmony]
-
- '@rolldown/binding-openharmony-arm64@1.1.5':
- resolution: {integrity: sha512-yc5WrLzXks6zCQfn9Oxr8pORKyl/pF+QjHmW/Qx3qu0oyrrNC+y2JLTU1E2rcWYAmzlnqngWXHQjy51VzW70Vw==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [arm64]
- os: [openharmony]
-
- '@rolldown/binding-wasm32-wasi@1.0.2':
- resolution: {integrity: sha512-mb1VobWn6NheziTk5/WEaR6AKVbrwT5sOi6C7zk3gy/pD1qtJfU1j4PgTo2NJnOtbL9Dl3Aeei8w9jJ7qC2jZQ==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [wasm32]
-
- '@rolldown/binding-wasm32-wasi@1.1.5':
- resolution: {integrity: sha512-VbQGPX2b4r48TAMIM2cjgluIM1HYutm4pcTEJsle7iEP7sB1dFqtPLBVbdLAZCxy1txCcPxf4QFf4v8uvltPqA==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [wasm32]
-
- '@rolldown/binding-win32-arm64-msvc@1.0.2':
- resolution: {integrity: sha512-SqKonF56vA/L2yHwHYcEp2P34URpOZ7d1fS635cTkpDnUtEGdUbhI6NzsPdqeSWvAAeGDrxjWjNmibDIdFf9/A==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [arm64]
- os: [win32]
-
- '@rolldown/binding-win32-arm64-msvc@1.1.5':
- resolution: {integrity: sha512-gHv82k63z4qpV5+Q1y/12KrK0ltWBukVDI8nZcbT7Tt/ZlOIVwppazneq0F93oDxTo3IgAMEDIoQh3E2n6mVsw==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [arm64]
- os: [win32]
-
- '@rolldown/binding-win32-x64-msvc@1.0.2':
- resolution: {integrity: sha512-v7qRI7gXLRINcOGXt+7YmAZ6iFuyZVMIoXAxhd8oP+DR9dLfL9GfNIx7PLMxmhZdvq8waUJBQiWN9EKNy+TRBQ==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [x64]
- os: [win32]
-
- '@rolldown/binding-win32-x64-msvc@1.1.5':
- resolution: {integrity: sha512-tTZuDBPw85tEN5PQi1pnEBzDy0Z49HtScLAbD5t6hyeU92A95pRWaSMw1GZZi/RwgSgUIl0xrSlXIT/9QzvYSA==}
- engines: {node: ^20.19.0 || >=22.12.0}
- cpu: [x64]
- os: [win32]
-
- '@rolldown/pluginutils@1.0.1':
- resolution: {integrity: sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==}
-
- '@rollup/plugin-commonjs@13.0.2':
- resolution: {integrity: sha512-9JXf2k8xqvMYfqmhgtB6eCgMN9fbxwF1XDF3mGKJc6pkAmt0jnsqurxQ0tC1akQKNSXCm7c3unQxa3zuxtZ7mQ==}
- engines: {node: '>= 8.0.0'}
- peerDependencies:
- rollup: ^2.3.4
-
- '@rollup/plugin-node-resolve@11.2.1':
- resolution: {integrity: sha512-yc2n43jcqVyGE2sqV5/YCmocy9ArjVAP/BeXyTtADTBBX6V0e5UMqwO8CdQ0kzjb6zu5P1qMzsScCMRvE9OlVg==}
- engines: {node: '>= 10.0.0'}
- peerDependencies:
- rollup: ^1.20.0||^2.0.0
-
- '@rollup/plugin-replace@2.4.2':
- resolution: {integrity: sha512-IGcu+cydlUMZ5En85jxHH4qj2hta/11BHq95iHEyb2sbgiN0eCdzvUcHw5gt9pBL5lTi4JDYJ1acCoMGpTvEZg==}
- peerDependencies:
- rollup: ^1.20.0 || ^2.0.0
-
- '@rollup/pluginutils@3.1.0':
- resolution: {integrity: sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==}
- engines: {node: '>= 8.0.0'}
- peerDependencies:
- rollup: ^1.20.0||^2.0.0
-
- '@standard-schema/spec@1.1.0':
- resolution: {integrity: sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==}
-
- '@tslab/typescript-for-tslab@5.0.4':
- resolution: {integrity: sha512-bmR6F7uFw9D5fPc2cwGLerHyKxXRDM4nsOMtcqnLl5JL5aUB6eBoK9IDApyf0wdKrsrOPC6NKIZFB3FhYfNQ3w==}
- engines: {node: '>=12.20'}
- hasBin: true
-
- '@tybys/wasm-util@0.10.3':
- resolution: {integrity: sha512-F3fo1MYrRJYL3zER0OUOmkutjr1Vp23m7OsSgp7nq4SP6OqX6C/56XFIPAl5bt3zaBRjmW7SGz3u/6LwFpYcOg==}
-
- '@types/chai@5.2.3':
- resolution: {integrity: sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==}
-
- '@types/deep-eql@4.0.2':
- resolution: {integrity: sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==}
-
- '@types/estree@0.0.39':
- resolution: {integrity: sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==}
-
- '@types/estree@1.0.9':
- resolution: {integrity: sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==}
-
- '@types/node@18.19.130':
- resolution: {integrity: sha512-GRaXQx6jGfL8sKfaIDD6OupbIHBr9jv7Jnaml9tB7l4v068PAOXqfcujMMo5PhbIs6ggR1XODELqahT2R8v0fg==}
-
- '@types/node@26.1.1':
- resolution: {integrity: sha512-nxAkRSVkN1Y0JC1W8ky/fTfkGsMmcrRsbx+3XoZE+rMOX71kLYTV7fLXpqud1GpbpP5TuffXFqfX7fH2GgZREw==}
-
- '@types/resolve@1.17.1':
- resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==}
-
- '@vitest/expect@4.1.10':
- resolution: {integrity: sha512-YsCn+qAk1GWjQOWFEsEcL2gNQ0zmVmQu3T03qP6UyjhtmdtwtbuI+DASn/7iQB3HGTXkdBwGddzxPlmiql5vlA==}
-
- '@vitest/mocker@4.1.10':
- resolution: {integrity: sha512-v0xaezt+DKEmKfaxg133ldzADrwLGd7Ze1MfQQTYfvs8OqZIwbxyxaYURivwV7sWy5fqn3rH5uOrSp07bp44Ow==}
- peerDependencies:
- msw: ^2.4.9
- vite: ^6.0.0 || ^7.0.0 || ^8.0.0
- peerDependenciesMeta:
- msw:
- optional: true
- vite:
- optional: true
-
- '@vitest/pretty-format@4.1.10':
- resolution: {integrity: sha512-W1HsjSH4MXQ9YfmmhLAoIYf1HRfekQCGngeIgcei6MP5QQGWUe0gkopdZQaVCFO+JDJMrAJGwa5pRpNpvy4P8Q==}
-
- '@vitest/runner@4.1.10':
- resolution: {integrity: sha512-IKI6kpIH+LmpROplyLwBBaCfMgOZOMsygVa6BARD6ahA04VRuJSa6OaVG7kRvSEMD870Vd91rSSw0eegtWyLGg==}
-
- '@vitest/snapshot@4.1.10':
- resolution: {integrity: sha512-xRkfOT1qpTAi/Ti4Y1LtfRc3kEuqxGw59eN2jN9pRWMtS/XDevekhcFSqvQqjUNGksfjMJu3Y+oJ+4Ypn2OaJw==}
-
- '@vitest/spy@4.1.10':
- resolution: {integrity: sha512-PLf/Ugvoq5wO/b4rwYCR1h2PSIdXz7wnkQFMiUpLdtM7l6pqVFcQIBEHyT1+l+cj7mNwAfZHzqXqDyjvOuwbDw==}
-
- '@vitest/utils@4.1.10':
- resolution: {integrity: sha512-fy9am/HWxbaGt/Sawrp90vt6Y6jQwf1RX77cz3uwoJwJVMli/e1IEwRPnMNJ7vKfPTwo0diXifkpPvwH9v7nGA==}
-
- '@yuku-codegen/binding-darwin-arm64@0.6.1':
- resolution: {integrity: sha512-LDJtpOKtcv9f3V0eDUwFmmy47t2VC+DAuN+gq80R1IA+fa0d408i6sHsVtt6n+g5rf8f86ySoPSAe94lHt6Ixw==}
- cpu: [arm64]
- os: [darwin]
-
- '@yuku-codegen/binding-darwin-x64@0.6.1':
- resolution: {integrity: sha512-fBwpBOh33W7N87F94SVNExwm2KUV3ROhk51okr3Oy2ost1/JJuBWINVjcgwd2WPKZEFzUXgCzj/03UR/G+WIrQ==}
- cpu: [x64]
- os: [darwin]
-
- '@yuku-codegen/binding-freebsd-x64@0.6.1':
- resolution: {integrity: sha512-UpMkskQV3a5oPnJV+GFFupIqnLwSBD4ZsZAVUZuNVkrqct433FHKqTwuG+P5JhHZbmhf+++3Ie/V2sgduyXrAQ==}
- cpu: [x64]
- os: [freebsd]
-
- '@yuku-codegen/binding-linux-arm-gnu@0.6.1':
- resolution: {integrity: sha512-HICjDelfEDeD6TD8OEz/Dvt8KHxJiETR+paI/Fr7eVTQbjMfRrXJz8O1qV1qGH5SHZUGl2SAw2Rp+MLtXOjCrQ==}
- cpu: [arm]
- os: [linux]
- libc: [glibc]
-
- '@yuku-codegen/binding-linux-arm-musl@0.6.1':
- resolution: {integrity: sha512-pUswnwa+WOmtH2ZGOWL05kFLMNY7/TnEAryfIv1yVFzKQnmSy9TKYi3oIOxGZL3w+cdUKCZ6Q+jaD0oI10ztzA==}
- cpu: [arm]
- os: [linux]
- libc: [musl]
-
- '@yuku-codegen/binding-linux-arm64-gnu@0.6.1':
- resolution: {integrity: sha512-Zro0FOu9clLCmqCnUKzEWHAu30tss0iEfhs+KDXm9Dpm1FkIHAKu43tF6FQU2hsTA7a8xd93NGddzc2EOJFKUg==}
- cpu: [arm64]
- os: [linux]
- libc: [glibc]
-
- '@yuku-codegen/binding-linux-arm64-musl@0.6.1':
- resolution: {integrity: sha512-NZaT+mp9toqWuFEA4MYW5HMRxgIa8DCqnTTnM5SrrojZgm4QoMI/mJfifVet1ZHgl/Dly5m6H6GPpq43uXVj8g==}
- cpu: [arm64]
- os: [linux]
- libc: [musl]
-
- '@yuku-codegen/binding-linux-x64-gnu@0.6.1':
- resolution: {integrity: sha512-M5macseSCBPvJ4yfKNyQpMc7nBQBtj39MNfMt0r+8UkTnR5qJE00JJx06puHgPxT5hnGxMAuAWZ+3a9H2ngqAw==}
- cpu: [x64]
- os: [linux]
- libc: [glibc]
-
- '@yuku-codegen/binding-linux-x64-musl@0.6.1':
- resolution: {integrity: sha512-liAyBZI5AbazZGeeNfWj0jCD/TE2L84hgVYh4KkjJA/N9bNzFQCDf4BvWP76nEO89r2tIGEUjbXdM4mM26riHg==}
- cpu: [x64]
- os: [linux]
- libc: [musl]
-
- '@yuku-codegen/binding-win32-arm64@0.6.1':
- resolution: {integrity: sha512-qItzfH3x6MYChPeGfvh22rHD92WLgXQRSuwvspRVSnLvpnubEfZd+9REPRQVT2l9fIuETDCEkDNRqkDROQTkgA==}
- cpu: [arm64]
- os: [win32]
-
- '@yuku-codegen/binding-win32-x64@0.6.1':
- resolution: {integrity: sha512-DFFkKROZ9ZAHmFMUFRtRTkosZds1KH8BOx5t3UpNULIjT3iuUmEx9V5pWR0xOi66sANY38Ap77nz1kOZraQxEg==}
- cpu: [x64]
- os: [win32]
-
- '@yuku-parser/binding-darwin-arm64@0.6.1':
- resolution: {integrity: sha512-jORysyRZg5zGDgVw15LGMsjZDh7jwjpUIJRBHgFt0ir15O5pEazfvuF2dnwvrJiTF0IT1EgHAVbTAYJWwQLCjg==}
- cpu: [arm64]
- os: [darwin]
-
- '@yuku-parser/binding-darwin-x64@0.6.1':
- resolution: {integrity: sha512-dTeYFkkFlbP/WCB2DtezXas3NApOPtFlXSdssB7wGtY9wpNp4HAkVo1KBwI5mcHK0e2joyUcqTSf44mFE+q7vg==}
- cpu: [x64]
- os: [darwin]
-
- '@yuku-parser/binding-freebsd-x64@0.6.1':
- resolution: {integrity: sha512-GExDp3rebo28mt3EAjvKQs0ZC3gkznAErV0I9TUNDa9muuhvD35kft61Mpsc6+NWeE+BG+kUyKbm6iO5B6ZMMA==}
- cpu: [x64]
- os: [freebsd]
-
- '@yuku-parser/binding-linux-arm-gnu@0.6.1':
- resolution: {integrity: sha512-a9MjABj4J0VE3Z2oROGhmeddZZrhwwrnl4ZWZOuHUhD/smDtDiNtr0LpCbKB7rEYaQ29snopOPdZ/0T3YgLglQ==}
- cpu: [arm]
- os: [linux]
- libc: [glibc]
-
- '@yuku-parser/binding-linux-arm-musl@0.6.1':
- resolution: {integrity: sha512-ctuvXJgDRKKlmJfHxT4RsTvcAcHEFNJHTCsGbtt4rluQpVDc+ezk9JvQ534ehoIfZ9T0eIHSBgqYAZ4xCatNmQ==}
- cpu: [arm]
- os: [linux]
- libc: [musl]
-
- '@yuku-parser/binding-linux-arm64-gnu@0.6.1':
- resolution: {integrity: sha512-vRtyoTtT0Ltowuh9LWOl/ZNU9h79J89ilOz5SEGspcw0jfhoUt19i07VNitll4jjfg5p2EN00q+MqX0pAobrFw==}
- cpu: [arm64]
- os: [linux]
- libc: [glibc]
-
- '@yuku-parser/binding-linux-arm64-musl@0.6.1':
- resolution: {integrity: sha512-vCsc3GOe1ylmRyfo/WLjIhjiCmaTtJbWNF4ZtgjNegDjpsRsFuCcP9duXB41QcfnJK38repKVFqFh0LR3l48FA==}
- cpu: [arm64]
- os: [linux]
- libc: [musl]
-
- '@yuku-parser/binding-linux-x64-gnu@0.6.1':
- resolution: {integrity: sha512-gw3d81RdUHSYwjDW2IG6gEtm4VDoPP4ZOqpuC6Nc8+UBfos+4gTWOgzmuxIOVhkSV2fJCcUDpSJIlPzEU0FLZw==}
- cpu: [x64]
- os: [linux]
- libc: [glibc]
-
- '@yuku-parser/binding-linux-x64-musl@0.6.1':
- resolution: {integrity: sha512-nzU+Doq9UgZvYYvald36lZJ2Neeyheije6WE/YpoFt/oJiNmnjArRgr2CMtb/7gWBl80YSMwcHK4Ju0E+7wfWg==}
- cpu: [x64]
- os: [linux]
- libc: [musl]
-
- '@yuku-parser/binding-win32-arm64@0.6.1':
- resolution: {integrity: sha512-r3tXFVDliWCPe7TL6DVxUkT4rkqnXyeFVSEDf+V9My6Gztq99/gIe3POQqFbshTRuSrpEYMGMbGxeFh+m+stxA==}
- cpu: [arm64]
- os: [win32]
-
- '@yuku-parser/binding-win32-x64@0.6.1':
- resolution: {integrity: sha512-FqYMOqeCS2XTdn5yvaKlOhtSQ84mVO3aTXp6LGfMd9Zq8RsV4H8qLWv+sxJsgPCXfuBV64u8/f+CTr3uIwNLWA==}
- cpu: [x64]
- os: [win32]
-
- '@yuku-toolchain/types@0.5.43':
- resolution: {integrity: sha512-kSpvPntnXw5+lYjO71ffBEnQ5ycQ74KGIYknh0TS4xeyCuBkOqxyJumxZkMhLBBUCLjDAbx2+Icnr3Zh4ftjpQ==}
-
- ansis@4.3.1:
- resolution: {integrity: sha512-BJ8/l4R5LRE7hW9WdSuGYrLSHi2ynxeFpDFbH0K/CgNeY/tyhk+vO6TYxXC5r5CpUhNVX310xzPsN/H9lCdfOA==}
- engines: {node: '>=14'}
-
- assertion-error@2.0.1:
- resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==}
- engines: {node: '>=12'}
-
- balanced-match@1.0.2:
- resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
-
- brace-expansion@1.1.16:
- resolution: {integrity: sha512-IDw48K2/2kRkg9LdJxurvq3lV3aBgq0REY89duEqFRthjlPdXHKMj7EnQOXVckxzgisinf3nHfrcE2FufFLXMw==}
-
- builtin-modules@3.3.0:
- resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==}
- engines: {node: '>=6'}
-
- cac@7.0.0:
- resolution: {integrity: sha512-tixWYgm5ZoOD+3g6UTea91eow5z6AAHaho3g0V9CNSNb45gM8SmflpAc+GRd1InC4AqN/07Unrgp56Y94N9hJQ==}
- engines: {node: '>=20.19.0'}
-
- chai@6.2.2:
- resolution: {integrity: sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg==}
- engines: {node: '>=18'}
-
- cmake-ts@1.0.2:
- resolution: {integrity: sha512-5l++JHE7MxFuyV/OwJf3ek7ZZN1aGPFPM5oUz6AnK5inQAPe4TFXRMz5sA2qg2FRgByPWdqO+gSfIPo8GzoKNQ==}
- hasBin: true
-
- commander@10.0.1:
- resolution: {integrity: sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==}
- engines: {node: '>=14'}
-
- commondir@1.0.1:
- resolution: {integrity: sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==}
-
- concat-map@0.0.1:
- resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
-
- convert-source-map@2.0.0:
- resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==}
-
- deepmerge@4.3.1:
- resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==}
- engines: {node: '>=0.10.0'}
-
- defu@6.1.7:
- resolution: {integrity: sha512-7z22QmUWiQ/2d0KkdYmANbRUVABpZ9SNYyH5vx6PZ+nE5bcC0l7uFvEfHlyld/HcGBFTL536ClDt3DEcSlEJAQ==}
-
- detect-libc@2.1.2:
- resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==}
- engines: {node: '>=8'}
-
- dts-resolver@3.0.0:
- resolution: {integrity: sha512-1T1f+z+4tl9XD+m+0HBgWoL/nm0bOIffyWaUuUSBlFg/86IWvfx+wjNaO/ybU0AJzG9/Mi5hBUgGV6zCmWEN7Q==}
- engines: {node: ^22.18.0 || >=24.0.0}
- peerDependencies:
- oxc-resolver: '>=11.0.0'
- peerDependenciesMeta:
- oxc-resolver:
- optional: true
-
- empathic@2.0.1:
- resolution: {integrity: sha512-YGRs8knHhKHVShLkFET/rWAU8kmHbOV5LwN938RHI0pljAJ1Gf6SzXsSmRaEzcXTtOOmVqJ5+WtQPL5uigY50Q==}
- engines: {node: '>=14'}
-
- es-errors@1.3.0:
- resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==}
- engines: {node: '>= 0.4'}
-
- es-module-lexer@2.3.1:
- resolution: {integrity: sha512-shc1dbU90Yl/xq1QrC7QRtfcwURZuVRfPhZbDoldJ1cn1gzDvBaBWlv0eFolj5+0znnPJz5TXLxsN77X/12KTA==}
-
- estree-walker@1.0.1:
- resolution: {integrity: sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==}
-
- estree-walker@3.0.3:
- resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==}
-
- expect-type@1.4.0:
- resolution: {integrity: sha512-KfYbmpRm0VbLjEvVa9yGwCi9GI34xvi7A/HXYWQO65CSD2u3MczUJSuwXKFIxlGsgBQizV9q5J9NHj4VG0n+pA==}
- engines: {node: '>=12.0.0'}
-
- fdir@6.5.0:
- resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==}
- engines: {node: '>=12.0.0'}
- peerDependencies:
- picomatch: ^3 || ^4
- peerDependenciesMeta:
- picomatch:
- optional: true
-
- fs.realpath@1.0.0:
- resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==}
-
- fsevents@2.3.3:
- resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==}
- engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
- os: [darwin]
-
- function-bind@1.1.2:
- resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==}
-
- get-tsconfig@5.0.0-beta.5:
- resolution: {integrity: sha512-/6gFNr0N04nob252sTQxyFLi3eKFRqIg1I87YcqAMT1i6SQrSF6KujUEQrtrjMV0H/eejTCltLdDSTEMzHbnsQ==}
- engines: {node: '>=20.20.0'}
-
- glob@7.2.3:
- resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==}
- deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
-
- hasown@2.0.4:
- resolution: {integrity: sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==}
- engines: {node: '>= 0.4'}
-
- hookable@6.1.1:
- resolution: {integrity: sha512-U9LYDy1CwhMCnprUfeAZWZGByVbhd54hwepegYTK7Pi5NvqEj63ifz5z+xukznehT7i6NIZRu89Ay1AZmRsLEQ==}
-
- import-without-cache@0.4.0:
- resolution: {integrity: sha512-NkJQA7oZ4YHQhd2+H3BoRFKF3d/XNsiKpHZCQEMH9pDX27hQQLsTyOocyRgaIVtf8gHX3Nt3LPkR4e5EdtPAGQ==}
- engines: {node: ^22.18.0 || >=24.0.0}
-
- inflight@1.0.6:
- resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==}
- deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
-
- inherits@2.0.4:
- resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}
-
- is-core-module@2.16.2:
- resolution: {integrity: sha512-evOr8xfXKxE6qSR0hSXL2r3sd7ALj8+7jQEUvPYcm5sgZFdJ+AYzT6yNmJenvIYQBgIGwfwz08sL8zoL7yq2BA==}
- engines: {node: '>= 0.4'}
-
- is-module@1.0.0:
- resolution: {integrity: sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==}
-
- is-reference@1.2.1:
- resolution: {integrity: sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==}
-
- lightningcss-android-arm64@1.32.0:
- resolution: {integrity: sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==}
- engines: {node: '>= 12.0.0'}
- cpu: [arm64]
- os: [android]
-
- lightningcss-darwin-arm64@1.32.0:
- resolution: {integrity: sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==}
- engines: {node: '>= 12.0.0'}
- cpu: [arm64]
- os: [darwin]
-
- lightningcss-darwin-x64@1.32.0:
- resolution: {integrity: sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==}
- engines: {node: '>= 12.0.0'}
- cpu: [x64]
- os: [darwin]
-
- lightningcss-freebsd-x64@1.32.0:
- resolution: {integrity: sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==}
- engines: {node: '>= 12.0.0'}
- cpu: [x64]
- os: [freebsd]
-
- lightningcss-linux-arm-gnueabihf@1.32.0:
- resolution: {integrity: sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==}
- engines: {node: '>= 12.0.0'}
- cpu: [arm]
- os: [linux]
-
- lightningcss-linux-arm64-gnu@1.32.0:
- resolution: {integrity: sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==}
- engines: {node: '>= 12.0.0'}
- cpu: [arm64]
- os: [linux]
- libc: [glibc]
-
- lightningcss-linux-arm64-musl@1.32.0:
- resolution: {integrity: sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==}
- engines: {node: '>= 12.0.0'}
- cpu: [arm64]
- os: [linux]
- libc: [musl]
-
- lightningcss-linux-x64-gnu@1.32.0:
- resolution: {integrity: sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==}
- engines: {node: '>= 12.0.0'}
- cpu: [x64]
- os: [linux]
- libc: [glibc]
-
- lightningcss-linux-x64-musl@1.32.0:
- resolution: {integrity: sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==}
- engines: {node: '>= 12.0.0'}
- cpu: [x64]
- os: [linux]
- libc: [musl]
-
- lightningcss-win32-arm64-msvc@1.32.0:
- resolution: {integrity: sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==}
- engines: {node: '>= 12.0.0'}
- cpu: [arm64]
- os: [win32]
-
- lightningcss-win32-x64-msvc@1.32.0:
- resolution: {integrity: sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==}
- engines: {node: '>= 12.0.0'}
- cpu: [x64]
- os: [win32]
-
- lightningcss@1.32.0:
- resolution: {integrity: sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==}
- engines: {node: '>= 12.0.0'}
-
- magic-string@0.25.9:
- resolution: {integrity: sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==}
-
- magic-string@0.30.21:
- resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==}
-
- minimatch@3.1.5:
- resolution: {integrity: sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==}
-
- nanoid@3.3.16:
- resolution: {integrity: sha512-bzlKTyNJ7+LdGIIwy8ijFpIqEQIvafahV7eYykJ8Cvh42EdJeODoJ6gUJXpQJvej1BddH8OqTXZNE/KfbWAu8Q==}
- engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
- hasBin: true
-
- node-addon-api@8.9.0:
- resolution: {integrity: sha512-ekZMeaaIzSQTSpr7X2X3iJM7lTzgnx8ahAG9pJfT/7+14mlEM8ZYQ9cgCDvSSRbReFK0oHli3WrZdCiRsgAT9Q==}
- engines: {node: ^18 || ^20 || >= 21}
-
- obug@2.1.3:
- resolution: {integrity: sha512-9miFgM2OFba7hB+pRgvtV84pYTBaoTHohvmIgiRt6dRIzbwEOIaNaP+dIlGs2fNFoB0SeISs0Jz5WFVRid6Xyg==}
- engines: {node: '>=12.20.0'}
-
- once@1.4.0:
- resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==}
-
- oxfmt@0.58.0:
- resolution: {integrity: sha512-8feG/7NVEHDVwc1OUpP6Pks+TnaDFUw2jLLFIMi5bcmmwxAX2wBQvjSzj62RRTYBf2Op1Wt8xbkmagmPTR5ETg==}
- engines: {node: ^20.19.0 || >=22.12.0}
- hasBin: true
- peerDependencies:
- svelte: ^5.0.0
- vite-plus: '*'
- peerDependenciesMeta:
- svelte:
- optional: true
- vite-plus:
- optional: true
-
- oxlint-tsgolint@0.24.0:
- resolution: {integrity: sha512-giCk5sEvG02d5tzPmFMX3hem8ndzEEu1xvGYS5OwNfO2WGl6ZVxt5LjE0yiMDoz94INI7XkXwgFAQiydPvVHDw==}
- hasBin: true
-
- oxlint@1.73.0:
- resolution: {integrity: sha512-u91G9TJzU6yqKWNZUYprQB07W7YvntZXaRxQ6CkoytepYhLWUXWsr1M8zUJ34VatNPuUAr3Z8GH+O2A331CluQ==}
- engines: {node: ^20.19.0 || >=22.12.0}
- hasBin: true
- peerDependencies:
- oxlint-tsgolint: '>=0.24.0'
- vite-plus: '*'
- peerDependenciesMeta:
- oxlint-tsgolint:
- optional: true
- vite-plus:
- optional: true
-
- path-is-absolute@1.0.1:
- resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==}
- engines: {node: '>=0.10.0'}
-
- path-parse@1.0.7:
- resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==}
-
- pathe@2.0.3:
- resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==}
-
- picocolors@1.1.1:
- resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==}
-
- picomatch@2.3.2:
- resolution: {integrity: sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==}
- engines: {node: '>=8.6'}
-
- picomatch@4.0.5:
- resolution: {integrity: sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==}
- engines: {node: '>=12'}
-
- postcss@8.5.18:
- resolution: {integrity: sha512-xdB1oSLHbz1vRWgCDalrCqEFTWzFlhqFC5tIHLMOSUIjhm3XXQ1qrFy8S/ESr1JYRRXqM3c1QFiMZUJdUTqyMQ==}
- engines: {node: ^10 || ^12 || >=14}
-
- quansync@1.0.0:
- resolution: {integrity: sha512-5xZacEEufv3HSTPQuchrvV6soaiACMFnq1H8wkVioctoH3TRha9Sz66lOxRwPK/qZj7HPiSveih9yAyh98gvqA==}
-
- resolve-pkg-maps@1.0.0:
- resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==}
-
- resolve@1.22.12:
- resolution: {integrity: sha512-TyeJ1zif53BPfHootBGwPRYT1RUt6oGWsaQr8UyZW/eAm9bKoijtvruSDEmZHm92CwS9nj7/fWttqPCgzep8CA==}
- engines: {node: '>= 0.4'}
- hasBin: true
-
- rolldown-plugin-dts@0.27.8:
- resolution: {integrity: sha512-IjBTFpkrYYJPRUmIjUJFsZdR1zeHskFcEwFDzSfFDoC2pZcSNgLrBUcDFY9K0Q+A1TZJR3q9MlVomxMDP8AuLQ==}
- engines: {node: ^22.18.0 || >=24.11.0}
- peerDependencies:
- '@ts-macro/tsc': ^0.3.6
- '@typescript/native-preview': '>=7.0.0-dev.20260325.1'
- rolldown: ^1.0.0
- typescript: ^5.0.0 || ^6.0.0 || ^7.0.0
- vue-tsc: ~3.2.0 || ~3.3.0
- peerDependenciesMeta:
- '@ts-macro/tsc':
- optional: true
- '@typescript/native-preview':
- optional: true
- typescript:
- optional: true
- vue-tsc:
- optional: true
-
- rolldown@1.0.2:
- resolution: {integrity: sha512-oZx5zVDtVB44AW3eaifgDml1gWRDZGvjcfdxonE4swNPG98PrrXjaO/KrnUjzlMnztCCRVlUueA1kCXhARGk6g==}
- engines: {node: ^20.19.0 || >=22.12.0}
- hasBin: true
-
- rolldown@1.1.5:
- resolution: {integrity: sha512-t9z29cJjXf/vxQ8dyhCSpt6H6aSwHTk8cT5I3iy6SMXuFpk5mB6PL6XfC8PCwrPTx93udwKUm9HRteAlTGBLiA==}
- engines: {node: ^20.19.0 || >=22.12.0}
- hasBin: true
-
- rollup@2.80.0:
- resolution: {integrity: sha512-cIFJOD1DESzpjOBl763Kp1AH7UE/0fcdHe6rZXUdQ9c50uvgigvW97u3IcSeBwOkgqL/PXPBktBCh0KEu5L8XQ==}
- engines: {node: '>=10.0.0'}
- hasBin: true
-
- semver@7.8.5:
- resolution: {integrity: sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==}
- engines: {node: '>=10'}
- hasBin: true
-
- siginfo@2.0.0:
- resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==}
-
- source-map-js@1.2.1:
- resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==}
- engines: {node: '>=0.10.0'}
-
- sourcemap-codec@1.4.8:
- resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==}
- deprecated: Please use @jridgewell/sourcemap-codec instead
-
- stackback@0.0.2:
- resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==}
-
- std-env@4.2.0:
- resolution: {integrity: sha512-oCUKSupKTHX53EyjDtuZQ64pjLJ6yYCtpmEw0goYxtjG9KpbRe8KAsl2tBUGU9DyMcJ0RwJ8GqJAFzMXcXW1Rw==}
-
- supports-preserve-symlinks-flag@1.0.0:
- resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==}
- engines: {node: '>= 0.4'}
-
- tinybench@2.9.0:
- resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==}
-
- tinyexec@1.2.4:
- resolution: {integrity: sha512-SHf/r48b7vOrjve9PxJo3MN5v5yuyjHvdUcrQffT3WXMUfnGmHDVbC4k3sHJaJTgZCwpUplIaAo5ANtMyp3YHg==}
- engines: {node: '>=18'}
-
- tinyglobby@0.2.17:
- resolution: {integrity: sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==}
- engines: {node: '>=12.0.0'}
-
- tinypool@2.1.0:
- resolution: {integrity: sha512-Pugqs6M0m7Lv1I7FtxN4aoyToKg1C4tu+/381vH35y8oENM/Ai7f7C4StcoK4/+BSw9ebcS8jRiVrORFKCALLw==}
- engines: {node: ^20.0.0 || >=22.0.0}
-
- tinyrainbow@3.1.0:
- resolution: {integrity: sha512-Bf+ILmBgretUrdJxzXM0SgXLZ3XfiaUuOj/IKQHuTXip+05Xn+uyEYdVg0kYDipTBcLrCVyUzAPz7QmArb0mmw==}
- engines: {node: '>=14.0.0'}
-
- tree-kill@1.2.2:
- resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==}
- hasBin: true
-
- tsdown@0.22.6:
- resolution: {integrity: sha512-RIsCLvtGAV+41juswItHrHaEbgcXr9sL6DI55ZrzP1nxeak5qC9/q/LaWZR0PG0drxro13qxJwvFK2GaiFrT5w==}
- engines: {node: ^22.18.0 || >=24.11.0}
- hasBin: true
- peerDependencies:
- '@arethetypeswrong/core': ^0.18.1
- '@tsdown/css': 0.22.6
- '@tsdown/exe': 0.22.6
- '@vitejs/devtools': '*'
- publint: ^0.3.8
- tsx: '*'
- typescript: ^5.0.0 || ^6.0.0 || ^7.0.0
- unplugin-unused: ^0.5.0
- unrun: '*'
- peerDependenciesMeta:
- '@arethetypeswrong/core':
- optional: true
- '@tsdown/css':
- optional: true
- '@tsdown/exe':
- optional: true
- '@vitejs/devtools':
- optional: true
- publint:
- optional: true
- tsx:
- optional: true
- typescript:
- optional: true
- unplugin-unused:
- optional: true
- unrun:
- optional: true
-
- tslab@1.0.22:
- resolution: {integrity: sha512-d3Ct6uehllgm71FVNWDy6z6oAreIHDtUqBUIMJym5Tm83CFFcY0urBAsfBuzWOBLMcB6+X1H0WDMZKAUcXCY4Q==}
- hasBin: true
-
- tslib@2.8.1:
- resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}
-
- typescript@6.0.3:
- resolution: {integrity: sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==}
- engines: {node: '>=14.17'}
- hasBin: true
-
- unconfig-core@7.5.0:
- resolution: {integrity: sha512-Su3FauozOGP44ZmKdHy2oE6LPjk51M/TRRjHv2HNCWiDvfvCoxC2lno6jevMA91MYAdCdwP05QnWdWpSbncX/w==}
-
- undici-types@5.26.5:
- resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==}
-
- undici-types@8.3.0:
- resolution: {integrity: sha512-j375ScV60dom+YkPFIfTLcOiPxkN/buHz5GobjLhixFuANaNs3C9l4GmrWqejgXWJ7BbJcFYpTEUkS1Ge8bpZQ==}
-
- vite@8.0.14:
- resolution: {integrity: sha512-s4BJJ+5y1pYL6Otw51FHhVJQhPnuRinKig64g/1+EUNaJsd3gCKdD31IPFvswUgW9/60QT9oFHbZHbQK5imcxw==}
- engines: {node: ^20.19.0 || >=22.12.0}
- hasBin: true
- peerDependencies:
- '@types/node': ^20.19.0 || >=22.12.0
- '@vitejs/devtools': ^0.1.18
- esbuild: ^0.27.0 || ^0.28.0
- jiti: '>=1.21.0'
- less: ^4.0.0
- sass: ^1.70.0
- sass-embedded: ^1.70.0
- stylus: '>=0.54.8'
- sugarss: ^5.0.0
- terser: ^5.16.0
- tsx: ^4.8.1
- yaml: ^2.4.2
- peerDependenciesMeta:
- '@types/node':
- optional: true
- '@vitejs/devtools':
- optional: true
- esbuild:
- optional: true
- jiti:
- optional: true
- less:
- optional: true
- sass:
- optional: true
- sass-embedded:
- optional: true
- stylus:
- optional: true
- sugarss:
- optional: true
- terser:
- optional: true
- tsx:
- optional: true
- yaml:
- optional: true
-
- vitest@4.1.10:
- resolution: {integrity: sha512-R9jUTe5S4Qb0HCd4TNqpC7oGcrMssMRGXLW80ubjWsW9VH5GF8y1Y0SFLY9AbqSk6nt0PnOx4H4WNJYZ13GUPw==}
- engines: {node: ^20.0.0 || ^22.0.0 || >=24.0.0}
- hasBin: true
- peerDependencies:
- '@edge-runtime/vm': '*'
- '@opentelemetry/api': ^1.9.0
- '@types/node': ^20.0.0 || ^22.0.0 || >=24.0.0
- '@vitest/browser-playwright': 4.1.10
- '@vitest/browser-preview': 4.1.10
- '@vitest/browser-webdriverio': 4.1.10
- '@vitest/coverage-istanbul': 4.1.10
- '@vitest/coverage-v8': 4.1.10
- '@vitest/ui': 4.1.10
- happy-dom: '*'
- jsdom: '*'
- vite: ^6.0.0 || ^7.0.0 || ^8.0.0
- peerDependenciesMeta:
- '@edge-runtime/vm':
- optional: true
- '@opentelemetry/api':
- optional: true
- '@types/node':
- optional: true
- '@vitest/browser-playwright':
- optional: true
- '@vitest/browser-preview':
- optional: true
- '@vitest/browser-webdriverio':
- optional: true
- '@vitest/coverage-istanbul':
- optional: true
- '@vitest/coverage-v8':
- optional: true
- '@vitest/ui':
- optional: true
- happy-dom:
- optional: true
- jsdom:
- optional: true
-
- why-is-node-running@2.3.0:
- resolution: {integrity: sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==}
- engines: {node: '>=8'}
- hasBin: true
-
- wrappy@1.0.2:
- resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}
-
- yuku-ast@0.1.7:
- resolution: {integrity: sha512-2RiMEWv500TixY5rJy6OZd4fSy9WYZKWh6gGbIJ7y7vAGcuCugWOWwOLGaQcRZrXcPUfqtLtvpaJ3SdXtWlhKA==}
-
- yuku-codegen@0.6.1:
- resolution: {integrity: sha512-6RJqqON2xYhMEp/sZv5oOSI3uOpWwRwzAi2fc/rMcRFjcqedAC5Fyp4AD9Vn2b8SB7hf9ESqVW+YwbDs/KvyKA==}
-
- yuku-parser@0.6.1:
- resolution: {integrity: sha512-dPE3/+H2VBw9LhjoIVeW/axKidYGd+XzNtrwGGseZ0325cQFl0Dpwyh0R74XWe/WqQn4M8CR5YApsv2KF2zN1A==}
-
- zeromq@6.5.0:
- resolution: {integrity: sha512-vWOrt19lvcXTxu5tiHXfEGQuldSlU+qZn2TT+4EbRQzaciWGwNZ99QQTolQOmcwVgZLodv+1QfC6UZs2PX/6pQ==}
- engines: {node: '>= 12'}
-
-snapshots:
-
- '@emnapi/core@1.10.0':
- dependencies:
- '@emnapi/wasi-threads': 1.2.1
- tslib: 2.8.1
- optional: true
-
- '@emnapi/core@1.11.1':
- dependencies:
- '@emnapi/wasi-threads': 1.2.2
- tslib: 2.8.1
- optional: true
-
- '@emnapi/runtime@1.10.0':
- dependencies:
- tslib: 2.8.1
- optional: true
-
- '@emnapi/runtime@1.11.1':
- dependencies:
- tslib: 2.8.1
- optional: true
-
- '@emnapi/wasi-threads@1.2.1':
- dependencies:
- tslib: 2.8.1
- optional: true
-
- '@emnapi/wasi-threads@1.2.2':
- dependencies:
- tslib: 2.8.1
- optional: true
-
- '@jridgewell/sourcemap-codec@1.5.5': {}
-
- '@napi-rs/wasm-runtime@1.1.6(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)':
- dependencies:
- '@emnapi/core': 1.10.0
- '@emnapi/runtime': 1.10.0
- '@tybys/wasm-util': 0.10.3
- optional: true
-
- '@napi-rs/wasm-runtime@1.1.6(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)':
- dependencies:
- '@emnapi/core': 1.11.1
- '@emnapi/runtime': 1.11.1
- '@tybys/wasm-util': 0.10.3
- optional: true
-
- '@oxc-project/types@0.132.0': {}
-
- '@oxc-project/types@0.139.0': {}
-
- '@oxfmt/binding-android-arm-eabi@0.58.0':
- optional: true
-
- '@oxfmt/binding-android-arm64@0.58.0':
- optional: true
-
- '@oxfmt/binding-darwin-arm64@0.58.0':
- optional: true
-
- '@oxfmt/binding-darwin-x64@0.58.0':
- optional: true
-
- '@oxfmt/binding-freebsd-x64@0.58.0':
- optional: true
-
- '@oxfmt/binding-linux-arm-gnueabihf@0.58.0':
- optional: true
-
- '@oxfmt/binding-linux-arm-musleabihf@0.58.0':
- optional: true
-
- '@oxfmt/binding-linux-arm64-gnu@0.58.0':
- optional: true
-
- '@oxfmt/binding-linux-arm64-musl@0.58.0':
- optional: true
-
- '@oxfmt/binding-linux-ppc64-gnu@0.58.0':
- optional: true
-
- '@oxfmt/binding-linux-riscv64-gnu@0.58.0':
- optional: true
-
- '@oxfmt/binding-linux-riscv64-musl@0.58.0':
- optional: true
-
- '@oxfmt/binding-linux-s390x-gnu@0.58.0':
- optional: true
-
- '@oxfmt/binding-linux-x64-gnu@0.58.0':
- optional: true
-
- '@oxfmt/binding-linux-x64-musl@0.58.0':
- optional: true
-
- '@oxfmt/binding-openharmony-arm64@0.58.0':
- optional: true
-
- '@oxfmt/binding-win32-arm64-msvc@0.58.0':
- optional: true
-
- '@oxfmt/binding-win32-ia32-msvc@0.58.0':
- optional: true
-
- '@oxfmt/binding-win32-x64-msvc@0.58.0':
- optional: true
-
- '@oxlint-tsgolint/darwin-arm64@0.24.0':
- optional: true
-
- '@oxlint-tsgolint/darwin-x64@0.24.0':
- optional: true
-
- '@oxlint-tsgolint/linux-arm64@0.24.0':
- optional: true
-
- '@oxlint-tsgolint/linux-x64@0.24.0':
- optional: true
-
- '@oxlint-tsgolint/win32-arm64@0.24.0':
- optional: true
-
- '@oxlint-tsgolint/win32-x64@0.24.0':
- optional: true
-
- '@oxlint/binding-android-arm-eabi@1.73.0':
- optional: true
-
- '@oxlint/binding-android-arm64@1.73.0':
- optional: true
-
- '@oxlint/binding-darwin-arm64@1.73.0':
- optional: true
-
- '@oxlint/binding-darwin-x64@1.73.0':
- optional: true
-
- '@oxlint/binding-freebsd-x64@1.73.0':
- optional: true
-
- '@oxlint/binding-linux-arm-gnueabihf@1.73.0':
- optional: true
-
- '@oxlint/binding-linux-arm-musleabihf@1.73.0':
- optional: true
-
- '@oxlint/binding-linux-arm64-gnu@1.73.0':
- optional: true
-
- '@oxlint/binding-linux-arm64-musl@1.73.0':
- optional: true
-
- '@oxlint/binding-linux-ppc64-gnu@1.73.0':
- optional: true
-
- '@oxlint/binding-linux-riscv64-gnu@1.73.0':
- optional: true
-
- '@oxlint/binding-linux-riscv64-musl@1.73.0':
- optional: true
-
- '@oxlint/binding-linux-s390x-gnu@1.73.0':
- optional: true
-
- '@oxlint/binding-linux-x64-gnu@1.73.0':
- optional: true
-
- '@oxlint/binding-linux-x64-musl@1.73.0':
- optional: true
-
- '@oxlint/binding-openharmony-arm64@1.73.0':
- optional: true
-
- '@oxlint/binding-win32-arm64-msvc@1.73.0':
- optional: true
-
- '@oxlint/binding-win32-ia32-msvc@1.73.0':
- optional: true
-
- '@oxlint/binding-win32-x64-msvc@1.73.0':
- optional: true
-
- '@quansync/fs@1.0.0':
- dependencies:
- quansync: 1.0.0
-
- '@rolldown/binding-android-arm64@1.0.2':
- optional: true
-
- '@rolldown/binding-android-arm64@1.1.5':
- optional: true
-
- '@rolldown/binding-darwin-arm64@1.0.2':
- optional: true
-
- '@rolldown/binding-darwin-arm64@1.1.5':
- optional: true
-
- '@rolldown/binding-darwin-x64@1.0.2':
- optional: true
-
- '@rolldown/binding-darwin-x64@1.1.5':
- optional: true
-
- '@rolldown/binding-freebsd-x64@1.0.2':
- optional: true
-
- '@rolldown/binding-freebsd-x64@1.1.5':
- optional: true
-
- '@rolldown/binding-linux-arm-gnueabihf@1.0.2':
- optional: true
-
- '@rolldown/binding-linux-arm-gnueabihf@1.1.5':
- optional: true
-
- '@rolldown/binding-linux-arm64-gnu@1.0.2':
- optional: true
-
- '@rolldown/binding-linux-arm64-gnu@1.1.5':
- optional: true
-
- '@rolldown/binding-linux-arm64-musl@1.0.2':
- optional: true
-
- '@rolldown/binding-linux-arm64-musl@1.1.5':
- optional: true
-
- '@rolldown/binding-linux-ppc64-gnu@1.0.2':
- optional: true
-
- '@rolldown/binding-linux-ppc64-gnu@1.1.5':
- optional: true
-
- '@rolldown/binding-linux-s390x-gnu@1.0.2':
- optional: true
-
- '@rolldown/binding-linux-s390x-gnu@1.1.5':
- optional: true
-
- '@rolldown/binding-linux-x64-gnu@1.0.2':
- optional: true
-
- '@rolldown/binding-linux-x64-gnu@1.1.5':
- optional: true
-
- '@rolldown/binding-linux-x64-musl@1.0.2':
- optional: true
-
- '@rolldown/binding-linux-x64-musl@1.1.5':
- optional: true
-
- '@rolldown/binding-openharmony-arm64@1.0.2':
- optional: true
-
- '@rolldown/binding-openharmony-arm64@1.1.5':
- optional: true
-
- '@rolldown/binding-wasm32-wasi@1.0.2':
- dependencies:
- '@emnapi/core': 1.10.0
- '@emnapi/runtime': 1.10.0
- '@napi-rs/wasm-runtime': 1.1.6(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)
- optional: true
-
- '@rolldown/binding-wasm32-wasi@1.1.5':
- dependencies:
- '@emnapi/core': 1.11.1
- '@emnapi/runtime': 1.11.1
- '@napi-rs/wasm-runtime': 1.1.6(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)
- optional: true
-
- '@rolldown/binding-win32-arm64-msvc@1.0.2':
- optional: true
-
- '@rolldown/binding-win32-arm64-msvc@1.1.5':
- optional: true
-
- '@rolldown/binding-win32-x64-msvc@1.0.2':
- optional: true
-
- '@rolldown/binding-win32-x64-msvc@1.1.5':
- optional: true
-
- '@rolldown/pluginutils@1.0.1': {}
-
- '@rollup/plugin-commonjs@13.0.2(rollup@2.80.0)':
- dependencies:
- '@rollup/pluginutils': 3.1.0(rollup@2.80.0)
- commondir: 1.0.1
- estree-walker: 1.0.1
- glob: 7.2.3
- is-reference: 1.2.1
- magic-string: 0.25.9
- resolve: 1.22.12
- rollup: 2.80.0
-
- '@rollup/plugin-node-resolve@11.2.1(rollup@2.80.0)':
- dependencies:
- '@rollup/pluginutils': 3.1.0(rollup@2.80.0)
- '@types/resolve': 1.17.1
- builtin-modules: 3.3.0
- deepmerge: 4.3.1
- is-module: 1.0.0
- resolve: 1.22.12
- rollup: 2.80.0
-
- '@rollup/plugin-replace@2.4.2(rollup@2.80.0)':
- dependencies:
- '@rollup/pluginutils': 3.1.0(rollup@2.80.0)
- magic-string: 0.25.9
- rollup: 2.80.0
-
- '@rollup/pluginutils@3.1.0(rollup@2.80.0)':
- dependencies:
- '@types/estree': 0.0.39
- estree-walker: 1.0.1
- picomatch: 2.3.2
- rollup: 2.80.0
-
- '@standard-schema/spec@1.1.0': {}
-
- '@tslab/typescript-for-tslab@5.0.4': {}
-
- '@tybys/wasm-util@0.10.3':
- dependencies:
- tslib: 2.8.1
- optional: true
-
- '@types/chai@5.2.3':
- dependencies:
- '@types/deep-eql': 4.0.2
- assertion-error: 2.0.1
-
- '@types/deep-eql@4.0.2': {}
-
- '@types/estree@0.0.39': {}
-
- '@types/estree@1.0.9': {}
-
- '@types/node@18.19.130':
- dependencies:
- undici-types: 5.26.5
-
- '@types/node@26.1.1':
- dependencies:
- undici-types: 8.3.0
-
- '@types/resolve@1.17.1':
- dependencies:
- '@types/node': 26.1.1
-
- '@vitest/expect@4.1.10':
- dependencies:
- '@standard-schema/spec': 1.1.0
- '@types/chai': 5.2.3
- '@vitest/spy': 4.1.10
- '@vitest/utils': 4.1.10
- chai: 6.2.2
- tinyrainbow: 3.1.0
-
- '@vitest/mocker@4.1.10(vite@8.0.14(@types/node@26.1.1))':
- dependencies:
- '@vitest/spy': 4.1.10
- estree-walker: 3.0.3
- magic-string: 0.30.21
- optionalDependencies:
- vite: 8.0.14(@types/node@26.1.1)
-
- '@vitest/pretty-format@4.1.10':
- dependencies:
- tinyrainbow: 3.1.0
-
- '@vitest/runner@4.1.10':
- dependencies:
- '@vitest/utils': 4.1.10
- pathe: 2.0.3
-
- '@vitest/snapshot@4.1.10':
- dependencies:
- '@vitest/pretty-format': 4.1.10
- '@vitest/utils': 4.1.10
- magic-string: 0.30.21
- pathe: 2.0.3
-
- '@vitest/spy@4.1.10': {}
-
- '@vitest/utils@4.1.10':
- dependencies:
- '@vitest/pretty-format': 4.1.10
- convert-source-map: 2.0.0
- tinyrainbow: 3.1.0
-
- '@yuku-codegen/binding-darwin-arm64@0.6.1':
- optional: true
-
- '@yuku-codegen/binding-darwin-x64@0.6.1':
- optional: true
-
- '@yuku-codegen/binding-freebsd-x64@0.6.1':
- optional: true
-
- '@yuku-codegen/binding-linux-arm-gnu@0.6.1':
- optional: true
-
- '@yuku-codegen/binding-linux-arm-musl@0.6.1':
- optional: true
-
- '@yuku-codegen/binding-linux-arm64-gnu@0.6.1':
- optional: true
-
- '@yuku-codegen/binding-linux-arm64-musl@0.6.1':
- optional: true
-
- '@yuku-codegen/binding-linux-x64-gnu@0.6.1':
- optional: true
-
- '@yuku-codegen/binding-linux-x64-musl@0.6.1':
- optional: true
-
- '@yuku-codegen/binding-win32-arm64@0.6.1':
- optional: true
-
- '@yuku-codegen/binding-win32-x64@0.6.1':
- optional: true
-
- '@yuku-parser/binding-darwin-arm64@0.6.1':
- optional: true
-
- '@yuku-parser/binding-darwin-x64@0.6.1':
- optional: true
-
- '@yuku-parser/binding-freebsd-x64@0.6.1':
- optional: true
-
- '@yuku-parser/binding-linux-arm-gnu@0.6.1':
- optional: true
-
- '@yuku-parser/binding-linux-arm-musl@0.6.1':
- optional: true
-
- '@yuku-parser/binding-linux-arm64-gnu@0.6.1':
- optional: true
-
- '@yuku-parser/binding-linux-arm64-musl@0.6.1':
- optional: true
-
- '@yuku-parser/binding-linux-x64-gnu@0.6.1':
- optional: true
-
- '@yuku-parser/binding-linux-x64-musl@0.6.1':
- optional: true
-
- '@yuku-parser/binding-win32-arm64@0.6.1':
- optional: true
-
- '@yuku-parser/binding-win32-x64@0.6.1':
- optional: true
-
- '@yuku-toolchain/types@0.5.43': {}
-
- ansis@4.3.1: {}
-
- assertion-error@2.0.1: {}
-
- balanced-match@1.0.2: {}
-
- brace-expansion@1.1.16:
- dependencies:
- balanced-match: 1.0.2
- concat-map: 0.0.1
-
- builtin-modules@3.3.0: {}
-
- cac@7.0.0: {}
-
- chai@6.2.2: {}
-
- cmake-ts@1.0.2: {}
-
- commander@10.0.1: {}
-
- commondir@1.0.1: {}
-
- concat-map@0.0.1: {}
-
- convert-source-map@2.0.0: {}
-
- deepmerge@4.3.1: {}
-
- defu@6.1.7: {}
-
- detect-libc@2.1.2: {}
-
- dts-resolver@3.0.0: {}
-
- empathic@2.0.1: {}
-
- es-errors@1.3.0: {}
-
- es-module-lexer@2.3.1: {}
-
- estree-walker@1.0.1: {}
-
- estree-walker@3.0.3:
- dependencies:
- '@types/estree': 1.0.9
-
- expect-type@1.4.0: {}
-
- fdir@6.5.0(picomatch@4.0.5):
- optionalDependencies:
- picomatch: 4.0.5
-
- fs.realpath@1.0.0: {}
-
- fsevents@2.3.3:
- optional: true
-
- function-bind@1.1.2: {}
-
- get-tsconfig@5.0.0-beta.5:
- dependencies:
- resolve-pkg-maps: 1.0.0
-
- glob@7.2.3:
- dependencies:
- fs.realpath: 1.0.0
- inflight: 1.0.6
- inherits: 2.0.4
- minimatch: 3.1.5
- once: 1.4.0
- path-is-absolute: 1.0.1
-
- hasown@2.0.4:
- dependencies:
- function-bind: 1.1.2
-
- hookable@6.1.1: {}
-
- import-without-cache@0.4.0: {}
-
- inflight@1.0.6:
- dependencies:
- once: 1.4.0
- wrappy: 1.0.2
-
- inherits@2.0.4: {}
-
- is-core-module@2.16.2:
- dependencies:
- hasown: 2.0.4
-
- is-module@1.0.0: {}
-
- is-reference@1.2.1:
- dependencies:
- '@types/estree': 1.0.9
-
- lightningcss-android-arm64@1.32.0:
- optional: true
-
- lightningcss-darwin-arm64@1.32.0:
- optional: true
-
- lightningcss-darwin-x64@1.32.0:
- optional: true
-
- lightningcss-freebsd-x64@1.32.0:
- optional: true
-
- lightningcss-linux-arm-gnueabihf@1.32.0:
- optional: true
-
- lightningcss-linux-arm64-gnu@1.32.0:
- optional: true
-
- lightningcss-linux-arm64-musl@1.32.0:
- optional: true
-
- lightningcss-linux-x64-gnu@1.32.0:
- optional: true
-
- lightningcss-linux-x64-musl@1.32.0:
- optional: true
-
- lightningcss-win32-arm64-msvc@1.32.0:
- optional: true
-
- lightningcss-win32-x64-msvc@1.32.0:
- optional: true
-
- lightningcss@1.32.0:
- dependencies:
- detect-libc: 2.1.2
- optionalDependencies:
- lightningcss-android-arm64: 1.32.0
- lightningcss-darwin-arm64: 1.32.0
- lightningcss-darwin-x64: 1.32.0
- lightningcss-freebsd-x64: 1.32.0
- lightningcss-linux-arm-gnueabihf: 1.32.0
- lightningcss-linux-arm64-gnu: 1.32.0
- lightningcss-linux-arm64-musl: 1.32.0
- lightningcss-linux-x64-gnu: 1.32.0
- lightningcss-linux-x64-musl: 1.32.0
- lightningcss-win32-arm64-msvc: 1.32.0
- lightningcss-win32-x64-msvc: 1.32.0
-
- magic-string@0.25.9:
- dependencies:
- sourcemap-codec: 1.4.8
-
- magic-string@0.30.21:
- dependencies:
- '@jridgewell/sourcemap-codec': 1.5.5
-
- minimatch@3.1.5:
- dependencies:
- brace-expansion: 1.1.16
-
- nanoid@3.3.16: {}
-
- node-addon-api@8.9.0: {}
-
- obug@2.1.3: {}
-
- once@1.4.0:
- dependencies:
- wrappy: 1.0.2
-
- oxfmt@0.58.0:
- dependencies:
- tinypool: 2.1.0
- optionalDependencies:
- '@oxfmt/binding-android-arm-eabi': 0.58.0
- '@oxfmt/binding-android-arm64': 0.58.0
- '@oxfmt/binding-darwin-arm64': 0.58.0
- '@oxfmt/binding-darwin-x64': 0.58.0
- '@oxfmt/binding-freebsd-x64': 0.58.0
- '@oxfmt/binding-linux-arm-gnueabihf': 0.58.0
- '@oxfmt/binding-linux-arm-musleabihf': 0.58.0
- '@oxfmt/binding-linux-arm64-gnu': 0.58.0
- '@oxfmt/binding-linux-arm64-musl': 0.58.0
- '@oxfmt/binding-linux-ppc64-gnu': 0.58.0
- '@oxfmt/binding-linux-riscv64-gnu': 0.58.0
- '@oxfmt/binding-linux-riscv64-musl': 0.58.0
- '@oxfmt/binding-linux-s390x-gnu': 0.58.0
- '@oxfmt/binding-linux-x64-gnu': 0.58.0
- '@oxfmt/binding-linux-x64-musl': 0.58.0
- '@oxfmt/binding-openharmony-arm64': 0.58.0
- '@oxfmt/binding-win32-arm64-msvc': 0.58.0
- '@oxfmt/binding-win32-ia32-msvc': 0.58.0
- '@oxfmt/binding-win32-x64-msvc': 0.58.0
-
- oxlint-tsgolint@0.24.0:
- optionalDependencies:
- '@oxlint-tsgolint/darwin-arm64': 0.24.0
- '@oxlint-tsgolint/darwin-x64': 0.24.0
- '@oxlint-tsgolint/linux-arm64': 0.24.0
- '@oxlint-tsgolint/linux-x64': 0.24.0
- '@oxlint-tsgolint/win32-arm64': 0.24.0
- '@oxlint-tsgolint/win32-x64': 0.24.0
-
- oxlint@1.73.0(oxlint-tsgolint@0.24.0):
- optionalDependencies:
- '@oxlint/binding-android-arm-eabi': 1.73.0
- '@oxlint/binding-android-arm64': 1.73.0
- '@oxlint/binding-darwin-arm64': 1.73.0
- '@oxlint/binding-darwin-x64': 1.73.0
- '@oxlint/binding-freebsd-x64': 1.73.0
- '@oxlint/binding-linux-arm-gnueabihf': 1.73.0
- '@oxlint/binding-linux-arm-musleabihf': 1.73.0
- '@oxlint/binding-linux-arm64-gnu': 1.73.0
- '@oxlint/binding-linux-arm64-musl': 1.73.0
- '@oxlint/binding-linux-ppc64-gnu': 1.73.0
- '@oxlint/binding-linux-riscv64-gnu': 1.73.0
- '@oxlint/binding-linux-riscv64-musl': 1.73.0
- '@oxlint/binding-linux-s390x-gnu': 1.73.0
- '@oxlint/binding-linux-x64-gnu': 1.73.0
- '@oxlint/binding-linux-x64-musl': 1.73.0
- '@oxlint/binding-openharmony-arm64': 1.73.0
- '@oxlint/binding-win32-arm64-msvc': 1.73.0
- '@oxlint/binding-win32-ia32-msvc': 1.73.0
- '@oxlint/binding-win32-x64-msvc': 1.73.0
- oxlint-tsgolint: 0.24.0
-
- path-is-absolute@1.0.1: {}
-
- path-parse@1.0.7: {}
-
- pathe@2.0.3: {}
-
- picocolors@1.1.1: {}
-
- picomatch@2.3.2: {}
-
- picomatch@4.0.5: {}
-
- postcss@8.5.18:
- dependencies:
- nanoid: 3.3.16
- picocolors: 1.1.1
- source-map-js: 1.2.1
-
- quansync@1.0.0: {}
-
- resolve-pkg-maps@1.0.0: {}
-
- resolve@1.22.12:
- dependencies:
- es-errors: 1.3.0
- is-core-module: 2.16.2
- path-parse: 1.0.7
- supports-preserve-symlinks-flag: 1.0.0
-
- rolldown-plugin-dts@0.27.8(rolldown@1.1.5)(typescript@6.0.3):
- dependencies:
- dts-resolver: 3.0.0
- get-tsconfig: 5.0.0-beta.5
- obug: 2.1.3
- rolldown: 1.1.5
- yuku-ast: 0.1.7
- yuku-codegen: 0.6.1
- yuku-parser: 0.6.1
- optionalDependencies:
- typescript: 6.0.3
- transitivePeerDependencies:
- - oxc-resolver
-
- rolldown@1.0.2:
- dependencies:
- '@oxc-project/types': 0.132.0
- '@rolldown/pluginutils': 1.0.1
- optionalDependencies:
- '@rolldown/binding-android-arm64': 1.0.2
- '@rolldown/binding-darwin-arm64': 1.0.2
- '@rolldown/binding-darwin-x64': 1.0.2
- '@rolldown/binding-freebsd-x64': 1.0.2
- '@rolldown/binding-linux-arm-gnueabihf': 1.0.2
- '@rolldown/binding-linux-arm64-gnu': 1.0.2
- '@rolldown/binding-linux-arm64-musl': 1.0.2
- '@rolldown/binding-linux-ppc64-gnu': 1.0.2
- '@rolldown/binding-linux-s390x-gnu': 1.0.2
- '@rolldown/binding-linux-x64-gnu': 1.0.2
- '@rolldown/binding-linux-x64-musl': 1.0.2
- '@rolldown/binding-openharmony-arm64': 1.0.2
- '@rolldown/binding-wasm32-wasi': 1.0.2
- '@rolldown/binding-win32-arm64-msvc': 1.0.2
- '@rolldown/binding-win32-x64-msvc': 1.0.2
-
- rolldown@1.1.5:
- dependencies:
- '@oxc-project/types': 0.139.0
- '@rolldown/pluginutils': 1.0.1
- optionalDependencies:
- '@rolldown/binding-android-arm64': 1.1.5
- '@rolldown/binding-darwin-arm64': 1.1.5
- '@rolldown/binding-darwin-x64': 1.1.5
- '@rolldown/binding-freebsd-x64': 1.1.5
- '@rolldown/binding-linux-arm-gnueabihf': 1.1.5
- '@rolldown/binding-linux-arm64-gnu': 1.1.5
- '@rolldown/binding-linux-arm64-musl': 1.1.5
- '@rolldown/binding-linux-ppc64-gnu': 1.1.5
- '@rolldown/binding-linux-s390x-gnu': 1.1.5
- '@rolldown/binding-linux-x64-gnu': 1.1.5
- '@rolldown/binding-linux-x64-musl': 1.1.5
- '@rolldown/binding-openharmony-arm64': 1.1.5
- '@rolldown/binding-wasm32-wasi': 1.1.5
- '@rolldown/binding-win32-arm64-msvc': 1.1.5
- '@rolldown/binding-win32-x64-msvc': 1.1.5
-
- rollup@2.80.0:
- optionalDependencies:
- fsevents: 2.3.3
-
- semver@7.8.5: {}
-
- siginfo@2.0.0: {}
-
- source-map-js@1.2.1: {}
-
- sourcemap-codec@1.4.8: {}
-
- stackback@0.0.2: {}
-
- std-env@4.2.0: {}
-
- supports-preserve-symlinks-flag@1.0.0: {}
-
- tinybench@2.9.0: {}
-
- tinyexec@1.2.4: {}
-
- tinyglobby@0.2.17:
- dependencies:
- fdir: 6.5.0(picomatch@4.0.5)
- picomatch: 4.0.5
-
- tinypool@2.1.0: {}
-
- tinyrainbow@3.1.0: {}
-
- tree-kill@1.2.2: {}
-
- tsdown@0.22.6(typescript@6.0.3):
- dependencies:
- ansis: 4.3.1
- cac: 7.0.0
- defu: 6.1.7
- empathic: 2.0.1
- hookable: 6.1.1
- import-without-cache: 0.4.0
- obug: 2.1.3
- picomatch: 4.0.5
- rolldown: 1.1.5
- rolldown-plugin-dts: 0.27.8(rolldown@1.1.5)(typescript@6.0.3)
- semver: 7.8.5
- tinyexec: 1.2.4
- tinyglobby: 0.2.17
- tree-kill: 1.2.2
- unconfig-core: 7.5.0
- optionalDependencies:
- typescript: 6.0.3
- transitivePeerDependencies:
- - '@ts-macro/tsc'
- - '@typescript/native-preview'
- - oxc-resolver
- - vue-tsc
-
- tslab@1.0.22:
- dependencies:
- '@rollup/plugin-commonjs': 13.0.2(rollup@2.80.0)
- '@rollup/plugin-node-resolve': 11.2.1(rollup@2.80.0)
- '@rollup/plugin-replace': 2.4.2(rollup@2.80.0)
- '@tslab/typescript-for-tslab': 5.0.4
- '@types/node': 18.19.130
- commander: 10.0.1
- rollup: 2.80.0
- semver: 7.8.5
- zeromq: 6.5.0
-
- tslib@2.8.1:
- optional: true
-
- typescript@6.0.3: {}
-
- unconfig-core@7.5.0:
- dependencies:
- '@quansync/fs': 1.0.0
- quansync: 1.0.0
-
- undici-types@5.26.5: {}
-
- undici-types@8.3.0: {}
-
- vite@8.0.14(@types/node@26.1.1):
- dependencies:
- lightningcss: 1.32.0
- picomatch: 4.0.5
- postcss: 8.5.18
- rolldown: 1.0.2
- tinyglobby: 0.2.17
- optionalDependencies:
- '@types/node': 26.1.1
- fsevents: 2.3.3
-
- vitest@4.1.10(@types/node@26.1.1)(vite@8.0.14(@types/node@26.1.1)):
- dependencies:
- '@vitest/expect': 4.1.10
- '@vitest/mocker': 4.1.10(vite@8.0.14(@types/node@26.1.1))
- '@vitest/pretty-format': 4.1.10
- '@vitest/runner': 4.1.10
- '@vitest/snapshot': 4.1.10
- '@vitest/spy': 4.1.10
- '@vitest/utils': 4.1.10
- es-module-lexer: 2.3.1
- expect-type: 1.4.0
- magic-string: 0.30.21
- obug: 2.1.3
- pathe: 2.0.3
- picomatch: 4.0.5
- std-env: 4.2.0
- tinybench: 2.9.0
- tinyexec: 1.2.4
- tinyglobby: 0.2.17
- tinyrainbow: 3.1.0
- vite: 8.0.14(@types/node@26.1.1)
- why-is-node-running: 2.3.0
- optionalDependencies:
- '@types/node': 26.1.1
- transitivePeerDependencies:
- - msw
-
- why-is-node-running@2.3.0:
- dependencies:
- siginfo: 2.0.0
- stackback: 0.0.2
-
- wrappy@1.0.2: {}
-
- yuku-ast@0.1.7:
- dependencies:
- '@yuku-toolchain/types': 0.5.43
-
- yuku-codegen@0.6.1:
- dependencies:
- '@yuku-toolchain/types': 0.5.43
- optionalDependencies:
- '@yuku-codegen/binding-darwin-arm64': 0.6.1
- '@yuku-codegen/binding-darwin-x64': 0.6.1
- '@yuku-codegen/binding-freebsd-x64': 0.6.1
- '@yuku-codegen/binding-linux-arm-gnu': 0.6.1
- '@yuku-codegen/binding-linux-arm-musl': 0.6.1
- '@yuku-codegen/binding-linux-arm64-gnu': 0.6.1
- '@yuku-codegen/binding-linux-arm64-musl': 0.6.1
- '@yuku-codegen/binding-linux-x64-gnu': 0.6.1
- '@yuku-codegen/binding-linux-x64-musl': 0.6.1
- '@yuku-codegen/binding-win32-arm64': 0.6.1
- '@yuku-codegen/binding-win32-x64': 0.6.1
-
- yuku-parser@0.6.1:
- dependencies:
- '@yuku-toolchain/types': 0.5.43
- optionalDependencies:
- '@yuku-parser/binding-darwin-arm64': 0.6.1
- '@yuku-parser/binding-darwin-x64': 0.6.1
- '@yuku-parser/binding-freebsd-x64': 0.6.1
- '@yuku-parser/binding-linux-arm-gnu': 0.6.1
- '@yuku-parser/binding-linux-arm-musl': 0.6.1
- '@yuku-parser/binding-linux-arm64-gnu': 0.6.1
- '@yuku-parser/binding-linux-arm64-musl': 0.6.1
- '@yuku-parser/binding-linux-x64-gnu': 0.6.1
- '@yuku-parser/binding-linux-x64-musl': 0.6.1
- '@yuku-parser/binding-win32-arm64': 0.6.1
- '@yuku-parser/binding-win32-x64': 0.6.1
-
- zeromq@6.5.0:
- dependencies:
- cmake-ts: 1.0.2
- node-addon-api: 8.9.0
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
deleted file mode 100644
index 9e8b342..0000000
--- a/pnpm-workspace.yaml
+++ /dev/null
@@ -1,2 +0,0 @@
-allowBuilds:
- zeromq: true
diff --git a/scripts/ipynb-to-md.ts b/scripts/ipynb-to-md.ts
new file mode 100644
index 0000000..58b16cf
--- /dev/null
+++ b/scripts/ipynb-to-md.ts
@@ -0,0 +1,17 @@
+import nb from '../whitepaper.ipynb' with { type: 'json' };
+
+type Cell = {
+ cell_type: 'markdown' | 'code';
+ source: string | Array;
+};
+
+const md = (nb.cells as Array)
+ .map((cell) => {
+ const src = Array.isArray(cell.source) ? cell.source.join('') : cell.source;
+ return cell.cell_type === 'code'
+ ? `\`\`\`typescript\n${src.trimEnd()}\n\`\`\``
+ : src.trimEnd();
+ })
+ .join('\n\n');
+
+await Bun.write('whitepaper.md', `${md}\n`);
diff --git a/scripts/ipynb.d.ts b/scripts/ipynb.d.ts
new file mode 100644
index 0000000..a17cd3b
--- /dev/null
+++ b/scripts/ipynb.d.ts
@@ -0,0 +1,4 @@
+declare module '*.ipynb' {
+ const value: { cells: Array<{ cell_type: string; source: string | Array }> };
+ export default value;
+}
diff --git a/shell.nix b/shell.nix
index ceaa9d3..5a92a1b 100644
--- a/shell.nix
+++ b/shell.nix
@@ -4,7 +4,6 @@ in
pkgs.mkShell {
buildInputs = with pkgs; [
nodejs-slim_latest
- pnpm
python3
python314Packages.jupyterlab
];
diff --git a/skill/LICENSE b/skill/LICENSE
deleted file mode 100644
index d43f0ab..0000000
--- a/skill/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-MIT License
-
-Copyright (c) 2026 hesprs (Hēsperus)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/skill/SKILL.md b/skill/SKILL.md
index d7d3ef1..a24395e 100644
--- a/skill/SKILL.md
+++ b/skill/SKILL.md
@@ -1,51 +1,109 @@
---
name: synthkernel
-description: Follow the standards of SynthKernel architecture. Must use this skill when operating on any project that claims to adopt SynthKernel.
-license: MIT
-compatibility: TypeScript
+description: Architecture skill for SynthKernel — TypeScript module composition via createContext. Use when building, extending, or refactoring a SynthKernel project.
---
-## About SynthKernel
+## SynthKernel
-SynthKernel is a TypeScript software architecture that helps you write efficient, clean and modular code.
+SynthKernel is a minimalist TypeScript module composition architecture. It ships only `createContext`, type utilities, and reactive primitives — nothing else.
-Typical practice of SynthKernel consists a module loader class and module classes:
+`createContext` takes an ordered array of module classes, instantiates each with a shared context object, merges their contributed keys, and injects the result back. Modules are plain classes — no base class, no DI container, no decorators. The context is an API pool shared between modules and a facade for consumer code. Everything is a module: event systems, registries, logging, persistence, extensibility — all composed through the same primitive.
-- The module loader class manages module lifecycles, orchestrates types, and behaves as an facade at the surface of your app logic.
-- All module classes extend a `BaseModule` class, they define APIs, execute actual logic, augment the loader class and wire each other via dependency injection.
-- Types are resolved via generics orchestration.
-- Modules are composed to the loader to form an APP. A module loader can also be a module of a parent loader.
-- It is applicable to almost all use cases, including but not limited to backend service, complex automation, CLI application, and canvas rendering engine.
+## Design Principles
-## File System Conventions
+- **Context is an API pool**: stable APIs and shared configuration, not volatile runtime data. Use factories exposed via `root` for transient state.
+- **Everything is a module**: SynthKernel ships only the composition primitive. Event buses, registries, schedulers, config validation, plugin systems — all built as modules. Build what you need as a module and expose it via `root`.
+- **Static modules**: keep core modules in a fixed array. Reserve `__addModule__` for user-installed plugins.
+- **Unidirectional flow**: `preMerge` flows down, `root` flows up. Modules access siblings through injected context, not imports.
+- **Later modules can intercept earlier ones**: a module can wrap or override sibling APIs in its constructor. Use for middleware patterns (logging, caching, auth).
-SynthKernel should be structured in a tree pattern.
+## When to Use
-A loader together with the base module and all its direct modules should be placed flatly in one folder:
+- Modular composition with type-safe shared state.
+- Plugin-extensible applications.
+- Refactoring a monolith into composable modules.
-- the file accommodating the loader should be named `index.ts`
-- base module named `BaseModule.ts`
-- types named `types.ts`
-- all modules are named `(module name in PascalCase).ts`
-- no restriction to the name of other files
+## When Not to Use
-It's a standard practice to turn a over-bloated module into a new loader-module structure, then simply turn the module into a folder with the same requirements above.
+- Simple project (loc < 200) where a monolith is clearer.
+- Projects requiring decorator-based DI or topological dependency resolution.
-## When to Use
+## createContext
-- At the early stage of development, when you have clues of logic yet haven't written any code.
-- You don't have a clear architecture convention.
-- During refactors when you aim to split some large modules or make the project modular.
-- You are adding new functionalities and considering to make a new module, wanting to understand SynthKernel.
+`createContext(classes, options)` → context object
-## When Not to Use
+- `mergeKeys` — instance keys merged into context. `root` flattens its contents into context root instead of nesting under `context.root`.
+- `injectKeys` — keys written back to every instance after merge. Defaults to `mergeKeys`.
+- `preMerge` — values merged before module construction (base infrastructure passed to all modules).
+- `postMerge` — values merged after all modules, before injection.
+
+Merge order: `preMerge` → modules (sequential) → `postMerge` → inject.
+
+Context helpers (non-enumerable): `__getModule__(ctor)`, `__addModule__(ctor)`, `__assign__(obj)`.
+
+## Module Pattern
+
+A module is a plain class that takes context in its constructor:
+
+```typescript
+export default class MyModule {
+ declare options: { myOption: string }; // type-only: context injects runtime value
+ constructor(private readonly ctx: { neededApi: () => void }) {} // structural: only keys used
+ root = { myMethod: this.myMethod }; // flattens into context root
+}
+```
+
+- **`declare`** — type-only contributions to orchestrated types. No runtime value; context injects via `injectKeys`.
+- **Constructor context** — structurally typed: only declare keys this module uses, not the full context type. Decouples modules from each other and enables plain-object mocking in tests.
+- **`root`** — public API object. Flattens into context root so consumer code and sibling modules access methods directly.
+
+## Facade Pattern
+
+The facade owns the module list, creates context, exposes root APIs, and can manage module lifecycles through `__getModule__`:
+
+```typescript
+import type { MergeSingleKey, Context as ConstructContext } from 'synthkernel';
+import { createContext } from 'synthkernel';
+import ModuleA from './ModuleA.ts';
+import ModuleB from './ModuleB.ts';
+
+const allModules = [ModuleA, ModuleB] as const;
+type AllModules = typeof allModules;
+type Context = ConstructContext;
+export type AllOptions = MergeSingleKey;
+
+class App {
+ private ctx?: Context;
+ someApi: Context['someApi'];
+
+ constructor(public options: AllOptions) {
+ this.ctx = createContext(allModules, {
+ mergeKeys: ['options', 'root'],
+ }).__assign__({ options });
+ for (const ctor of allModules) this.ctx.__getModule__(ctor).start();
+ this.someApi = this.ctx.someApi;
+ }
+
+ dispose = () => {
+ for (const ctor of allModules.toReversed()) this.ctx?.__getModule__(ctor).dispose();
+ this.ctx = undefined;
+ };
+}
+
+export default App;
+```
+
+`MergeSingleKey` derives the combined options type from every module's `declare options`. `ConstructContext` is the fully merged context type. Re-export both so consumer code and external packages use the orchestrated types.
+
+## File Layout
+
+A context and its direct modules live in one folder: `index.ts` creates the context, each module is `(PascalCase).ts`. No required base module, types, or utilities file. Split an oversized module into a sub-folder with its own `createContext` call.
+
+## Reactive Primitives
-- You are not supposed to create or change the architecture.
-- You are developing web UI which has its own conventions.
-- You are serving for a simple project (loc < 200) where a classical monolith is more convenient.
+SynthKernel also exports lightweight reactive primitives `ref`, `computed`, and `hook` for modules needing observable state or events. These are standalone utilities, not part of the composition architecture.
-## Actions
+## Reference
-- If you are implementing SynthKernel from scratch or refactoring existing code to adopt SynthKernel, go to [start](start.md).
-- If you are adding a new module or splitting modules, go to [maintenance](maintenance.md).
-- You can find an example of standard practice in [./example](example/README.md).
+- Advanced patterns (testing, nested contexts, interception, settings): [patterns](patterns.md)
+- Working example: [./example](example/main.ts) (minimal, real applications can be much larger)
diff --git a/skill/example/index.ts b/skill/example/index.ts
index 6eb38ed..e293d7d 100644
--- a/skill/example/index.ts
+++ b/skill/example/index.ts
@@ -28,7 +28,7 @@ class PolisAlert {
}).__assign__({ options });
for (const ctor of allModules) this.ctx.__getModule__(ctor).onStart();
- // Augmentation
+ // Root API exposure
this.dispatchAlert = this.ctx.dispatchAlert;
this.log = this.ctx.log;
this.logs = this.ctx.logs;
diff --git a/skill/example/main.ts b/skill/example/main.ts
index f0be376..a0a7706 100644
--- a/skill/example/main.ts
+++ b/skill/example/main.ts
@@ -1,7 +1,7 @@
// oxlint-disable vitest/require-hook
/**
* PolisAlert Consumer Example
- * Demonstrates type-safe augmentation and module composition
+ * Demonstrates type-safe module composition and root API exposure
*/
import PolisAlert from './index.ts';
@@ -15,7 +15,7 @@ const app = new PolisAlert({
minMessageLength: 1,
});
-// Type-safe access to augmented methods
+// Type-safe access to root APIs
app.log('INFO', 'Application started');
const success = await app.dispatchAlert('Hello Polis');
diff --git a/skill/maintenance.md b/skill/maintenance.md
deleted file mode 100644
index f7dc7ea..0000000
--- a/skill/maintenance.md
+++ /dev/null
@@ -1,137 +0,0 @@
-# How to Progressively Develop a SynthKernel Project
-
-All code below are templates. Remember that SynthKernel classes do not have uniform shape, modify the templates according to your needs.
-
-## Add a Module
-
-You need to add a module when you want to add a new feature or split bloated modules.
-
-### Step 1 Clarify Requirements
-
-Before Proceeding, ask yourself:
-
-1. Needs:
-
-- What's the function of the module?
-- Does the module need DI, augmentation, lifecycle hooks and orchestrations?
-
-2. Loader:
-
-- Am I clear about whether DI and Augmentation are enabled, and all the lifecycle hooks & orchestrations of the loader? If not, read loader's code to know them.
-- Are the ones provided by the loader suffice? If not, read [start](start.md) and modify the loader.
-
-3. Specific Needs:
-
-- DI: What other modules it needs?
-- Lifecycle Hooks: what lifecycle events the module needs to subscribe to?
- - Distinguish lifecycle hooks from normal event hooks, lifecycle hooks (e.g. `onDispose`) is defined on the loader, while event hooks (e.g. `onLogin`) should be defined in modules and accessed via DI.
-- Orchestrations: does the module has configurable states to receive from or contribute to the loader (the facade)? (e.g. configs defined by users / a event map that needs extending)
- - To understand this, imagine module A contributes `{ a: boolean }`, B contributes `{ b: number }`, the orchestrated type will be `{ a: boolean; b: number }`.
-- Augmentations: Do modules need to inject methods and properties back to the loader so that consumers can access module functions?
-
-### Step 2 Construct the Module
-
-To add a module, create a file named `(module name in PascalCase).ts`, and write your code:
-
-```TypeScript
-/** (module name): (what this module does) */
-import { BaseModule, type BaseOptions } from './index.ts'; // all orchestrations needed by this module that has base fields, change the path to the actual path where the loader exists
-
-// import all modules that will be used by this module by DI
-import AnotherModule from './AnotherModule.ts';
-
-// the types of orchestrations, must extend the base type if the orchestration has base fields, adjust according to your needs
-interface Options extends BaseOptions {
- // all fields this module provides, adjust accordingly
- option1: string;
- option2?: boolean;
-}
-
-// the augmentation if the module needs, adjust the fields according to your needs
-interface Augmentation {
- method: () => void;
- property: boolean;
-}
-
-// change the module name to the intended one
-// pass type parameters in the correct order as defined in BaseModule
-// - if what you want to pass comes later, e.g., you only want to pass `Augmentation`, simply pass the base orchestration, like BaseModule
-export class Module extends BaseModule {
- constructor(...args: BaseArgs) {
- super(...args);
-
- // if you need augmentation, you must call `this.augment` in your constructor and pass everything defined in your `Augmentation` interface.
- this.augment({
- method: this.method,
- property: this.property,
- });
-
- // subscribe to lifecycle hooks if needed, adjust accordingly
- this.onStart(this.method);
-
- // use this.container.get() to inject a dependency
- const dep = this.container.get(AnotherModule);
-
- // ... freely implement your logic
- }
-
- // ... write your logic, the module is your playground
- method = () => {};
- property = false;
-}
-```
-
-### Step 3 Load Module and Record References
-
-Now navigate to the loader file (typically `index.ts` in the same folder) and modify the modules array:
-
-```TypeScript
-const allModules = [(...ExistingModules), YourNewModule];
-```
-
-If you have write access to a project-wide memory system like `AGENTS.md`, find the `Project Architecture` section and update the tree structure to reflect your new module.
-
-## Split or Elevate a Module
-
-To keep your codebase maintainable, once you find a module has too much functions, you need to **split or elevate** a module.
-
-- To split a module, simply extract some tightly coupled methods and properties into another module, following the template of [create a new module](#add-a-module). E.g., you can split a huge `Login` module into `PasswordLogin` and `2FALogin` modules.
-- To elevate, simply make this module a new hierarchy of loader and modules and making the loader both a loader and module of a parent loader - aka. a "sub-loader". E.g., you can elevate a `Login` module to become a `Login` loader with modules `Password` and `2FA`. Follow the guide of [how to create a new loader hierarchy](start.md).
-
-### Sub-Loader
-
-Sub-loader is a combination of loader and module. To create a sub-loader, simply create a new loader class as usual, then create another module class that instantiates the loader class. To put it another way, a sub-loader is a module class and a loader class put in the same file.
-
-## SynthKernel Principles
-
-### Functional Separation
-
-Note that although you can implement business logic directly in the loader, it is **discouraged** unless the property or method is widely used among modules and needs **type orchestration**. Always remember that **loaders load modules only, modules run functional logic**.
-
-### Unidirectional Logic Flow
-
-Sub-loaders create inter-hierarchal communication challenges. Bad design can still lead to unmaintainable code. A logic flow standard is introduced to help build clear and explicit dependency relationships:
-
-1. Each hierarchy is a self-sustaining unit with its isolated DI container.
-2. Each module can only access its siblings and communicate with its parent.
-3. To use a module in a higher hierarchy, it must be obtained by the direct loader from the DI container in the higher hierarchy and provided into the child modules' DI container by the.
-4. To subscribe module-defined hooks in a higher hierarchy, prefer to augment the sub-loader which is responsible for the subscription. Avoid directly subscribing to higher hooks in the module.
-
-Above can be summarized as a unidirectional flow: **Raw down, fine up**:
-
-**What's down**:
-
-1. raw input
-2. raw module logic
-
-**What's up**:
-
-1. selected methods and properties augmented to the loader
-2. module-declared types to orchestrate
-
-### Avoid Habits from the Past
-
-SynthKernel is fundamentally different from the traditional service-oriented architecture. Do not think the following when working with SynthKernel:
-
-- **Do not think of "a configuration manager module"**. The configuration's type is orchestrated decentralizedly by modules, and the configuration's value in constructor-injected to modules.
-- **Clearly distinguish tasks for loaders and modules**. For example, you should distinguish between lifecycle hooks and module-specific hooks; lifecycle hooks are mostly start and stop of the entire APP or modules, while the latter is often related to the real function of the APP.
diff --git a/skill/patterns.md b/skill/patterns.md
new file mode 100644
index 0000000..9d7fe06
--- /dev/null
+++ b/skill/patterns.md
@@ -0,0 +1,88 @@
+# SynthKernel Patterns
+
+## Testing
+
+Structural typing makes testing trivial — no framework setup needed.
+
+**Unit test**: pass a mock context object directly to the constructor:
+
+```typescript
+const module = new MyModule({ neededApi: () => 'mocked' });
+module.start();
+```
+
+**Integration test**: pass plain objects alongside class constructors:
+
+```typescript
+const ctx = createContext([RealModule, { root: { mockApi: () => true } }], { mergeKeys: ['root'] });
+```
+
+## Nested Contexts
+
+Group related modules into a sub-context when the module list grows. A module creates its own `createContext` internally, plumbing parent APIs down as `preMerge`:
+
+```typescript
+import { createContext } from 'synthkernel';
+import HttpModule from './network/HttpModule.ts';
+import WsModule from './network/WsModule.ts';
+
+export default class NetworkModule {
+ private subCtx;
+
+ constructor(ctx: { log: (msg: string) => void; baseUrl: string }) {
+ this.subCtx = createContext([HttpModule, WsModule], {
+ mergeKeys: ['root'],
+ preMerge: { log: ctx.log, baseUrl: ctx.baseUrl },
+ });
+ for (const ctor of [HttpModule, WsModule]) this.subCtx.__getModule__(ctor).start();
+ }
+
+ root = { ...this.subCtx };
+
+ readonly dispose = () => {
+ for (const ctor of [HttpModule, WsModule].reverse()) this.subCtx.__getModule__(ctor).dispose();
+ };
+}
+```
+
+Sub-context modules see only plumbed parent APIs and their own siblings.
+
+## Interception
+
+A module later in the array can wrap earlier modules' APIs:
+
+```typescript
+class LoggingInterceptor {
+ constructor(ctx: { fetchData: () => Promise }) {
+ const original = ctx.fetchData;
+ ctx.fetchData = async () => {
+ console.log('fetch called');
+ return original();
+ };
+ }
+ root = {};
+}
+```
+
+## Settings
+
+Modules declare settings types with `declare settings`. The facade assigns runtime values via `__assign__`, and `injectKeys` writes them back:
+
+```typescript
+// Module
+declare settings: { dbUrl: string };
+readonly start = () => connect(this.settings.dbUrl);
+
+// Facade
+const ctx = createContext(modules, {
+ mergeKeys: ['settings', 'root'],
+ injectKeys: ['settings', 'root'],
+}).__assign__({ settings: { dbUrl: process.env.DB_URL } });
+```
+
+## Splitting
+
+When a module has too many responsibilities:
+
+- **Split**: extract methods into a new module in the same context.
+- **Elevate**: convert into a sub-context (see Nested Contexts above).
diff --git a/skill/start.md b/skill/start.md
deleted file mode 100644
index 524b4ff..0000000
--- a/skill/start.md
+++ /dev/null
@@ -1,375 +0,0 @@
-# SynthKernel Implementation Detail
-
-All code below are templates. Remember that SynthKernel classes do not have uniform shape, modify the templates according to your needs.
-
-## Step 1 Prepare
-
-Ensure you are clear about the functionalities and what your code should do.
-
-Check your `tsconfig.json` which should contain following:
-
-```json
-{
- "compilerOptions": {
- "allowImportingTsExtensions": true
- }
-}
-```
-
-## Step 2 Split
-
-Think about the best way to divide your logic into modules, ensure:
-
-- loose coupling between modules
-- although not required, it's good practice to make each module have less than 300 loc estimated.
-
-## Step 3 Clarify Needs
-
-Now ask yourself:
-
-1. Dependency Injection:
-
-- Does this project need inter-module communication or just between loader and each module?
-- Has the user already installed a DI library?
-
-2. Type Orchestration:
-
-- Do modules have configurable states to receive from or contribute to the loader (the facade)? (e.g. configs defined by users / a event map that needs extending)
-- Do they contain intrinsic fields that should be determined at the top level, not by any modules? - Are they type only (e.g. an event-type mapping) or affect runtime logic (e.g. options)?
-- To understand this, imagine module A contributes `{ a: boolean }`, B contributes `{ b: number }`, the orchestrated type will be `{ a: boolean; b: number }`.
-
-3. Lifecycle Hooks:
-
-- How many application-wide lifecycle hooks (not normal event hooks which should be defined by modules) does a module need?
-- Does the loader needs to handle advanced loading patterns (e.g. lazy loading)?
-
-4. Augmentation:
-
-- Do modules need to inject methods and properties back to the loader so that consumers can access module functions?
-
-5. Utilities:
-
-- Are there any existing code or installed libraries that allows you to create hooks (or called event listeners) easily?
-
-## Step 4 Create Types
-
-Create (or add the following lines into) `types.ts` in a shared location, these types are the core of the type orchestration and will be shared across the entire SynthKernel tree. The utility of these types is to enable extraction and combination of the types from input classes.
-
-```TypeScript
-// #region [DO NOT MODIFY] SynthKernel Core Types
-export type General = any;
-export type GeneralArray = ReadonlyArray;
-export type GeneralObject = object;
-export type GeneralConstructor = new (...args: General[]) => General;
-
-type UnionToIntersection = (U extends General ? (k: U) => void : never) extends (
- k: infer I,
-) => void ? I
- : never;
-
-type GeneralModuleInput =
- | ReadonlyArray
- | ReadonlyArray;
-
-export type ModuleInput =
- | ReadonlyArray
- | ReadonlyArray>;
-
-type Instances = T extends ReadonlyArray
- ? InstanceType
- : T[number];
-
-export type Orchestratable<
- T extends GeneralModuleInput,
- K extends keyof Instances,
-> = UnionToIntersection[K]>;
-// #endregion
-```
-
-## Step 5 Get What You Need
-
-Now according to your answer to question 1 and 5 step 3:
-
-If the user hasn't installed a DI library but modules need it, use the user's preferred package manager to install `@needle-di/core` as a direct dependency.
-
-If you cannot create hooks using existing code or libraries, create (or add following lines to) `utilities.ts` at the location per file system convention:
-
-```TypeScript
-import type { GeneralArray } from './types.ts'; // change this to the actual path of `types.ts`
-
-type MatchingFunc = (...args: Args) => void | Promise;
-export type Hook = {
- (...args: Args): Async extends true ? Promise : void;
- subs: Set>;
- subscribe(callback: MatchingFunc): void;
- unsubscribe(callback: MatchingFunc): void;
-};
-
-/**
- * A quick function to create a hook that can be subscribed to and unsubscribed from.
- * Pass your arguments as the type parameter
- *
- * @param reverse - Whether the hook should reverse the execution order or not
- * @param async - Whether the hook is async or not
- * @example const hook = makeHook(true);
- */
-export function makeHook(
- reverse: boolean = false,
- async: Async = false as Async,
-) {
- const result = (async
- ? async (...args: Args) => {
- if (reverse) {
- const items = Array.from(result.subs).reverse();
- for (const callback of items) await callback(...args);
- } else for (const callback of result.subs) await callback(...args);
- }
- : (...args: Args) => {
- if (reverse) {
- const items = Array.from(result.subs).reverse();
- for (const callback of items) void callback(...args);
- } else for (const callback of result.subs) void callback(...args);
- }) as Hook;
- result.subs = new Set();
- result.subscribe = (callback: MatchingFunc) => {
- result.subs.add(callback);
- };
- result.unsubscribe = (callback: MatchingFunc) => {
- result.subs.delete(callback);
- };
- return result;
-}
-```
-
-## Step 6 Formulate Base Orchestrations & Maintenance Note
-
-Create `index.ts` per file system convention and firstly write some comments:
-
-```TypeScript
-/**
- * (write down what is the task of this loader with all its modules)
- * Dependency injection enabled / not enabled (question 1)
- * Augmentation enabled / not enabled (question 4)
- * Lifecycle hooks: (question 3)
- * (hook name): (description)
- * Orchestrations: (question 2)
- * (orchestration name): (description)
- */
-```
-
-According to your answer to question 2, step 3, if your app needs orchestration and have base fields, you should write down your base orchestrations, for example:
-
-```TypeScript
-// #region Base Orchestrations
-// example only, define according to your needs
-export interface BaseOptions {
- load: 'lazy' | 'normal' | false;
- container: HTMLElement;
-}
-// #endregion
-```
-
-## Step 7 Design BaseModule
-
-Create `BaseModule.ts` per the file system convention and write following code, the final content depends on your requirements:
-
-```TypeScript
-import type { BaseOptions } from './index.ts'; // change or delete this to the path to `index.ts` (the loader) according to real base orchestration needs
-import type { General, GeneralObject, ModuleInput as MI, Orchestratable } from './types.ts'; // change this to the real path of `types.ts`
-import type { Hook } from './utilities.ts'; // change this to the real hook type you are using (question 5)
-import type { Container } from '@needle-di/core'; // change or delete this according to your DI container needs (question)
-
-type ModuleInput = MI;
-export type GeneralModuleCtor = typeof BaseModule;
-export type BaseArgs = ConstructorParameters;
-
-// change, add, or delete this according to your orchestration needs (question 2), align the second type parameter to the actual property name in the BaseModule
-export type Options = Orchestratable;
-
-// add this or not depends on whether you need augmentation or not (question 4)
-export type Augmentation = Orchestratable<
- M,
- '_Augmentation'
->;
-
-// add, change or delete type parameters according to your type orchestration and augmentation needs (question 2, 4)
-// with base orchestrations: (Generics) extends (your base orchestration) = (your base orchestration)
-// without base orchestrations or augmentation: (Generics) extends GeneralObject = {}
-export class BaseModule<
- O extends BaseOptions = BaseOptions,
- A extends GeneralObject = {},
-> {
- declare private static readonly _BaseModuleBrand: unique symbol; // nominal marker to ensure type safety
-
- // if you need augmentation (question 4)
- declare _Augmentation: A;
-
- // your orchestration fields (question 2)
- // orchestrated field needs runtime access: (field name): (Generics)
- // only type-level orchestration: declare (field name): (Generics)
- options: O;
-
- // your lifecycle hooks, add, modify or delete according to your needs (question 3)
- onStart: Hook['subscribe'];
- onRestart: Hook['subscribe'];
- onDispose: Hook['subscribe'];
-
- // constructor parameters, which should include:
- // - DI container if you need (question 1)
- // - all lifecycle hooks if you need (question 3)
- // - special augmentation function: `(aug: (Augmentation Generics)) => void` if you need (question 2)
- constructor(
- protected container: Container,
- options: GeneralObject,
- onStart: Hook,
- onDispose: Hook,
- onRestart: Hook,
- protected augment: (aug: A) => void,
- ) {
- // orchestration assignments (question 2)
- this.options = options as O;
-
- // lifecycle hooks assignments (question 3), adjust according to the real hook subscribe function according to your needs
- this.onStart = onStart.subscribe;
- this.onDispose = onDispose.subscribe;
- this.onRestart = onRestart.subscribe;
- }
-}
-```
-
-## Step 8 Design Loader
-
-Create or add following lines to `index.ts` (the loader), adjust according to your needs:
-
-```TypeScript
-// adjust this to the real location of `BaseModule.ts`
-// imports should include: `BaseModule`, all orchestrations if needed (question 2), augmentation if needed (question 4)
-import type { GeneralModuleCtor, Options, Augmentation } from './BaseModule.ts';
-import type { GeneralObject } from './types.ts'; // change this to the real path of `types.ts`
-import { makeHook } from './utilities.ts'; // change this to the real path of `utilities.ts`
-import { Container } from '@needle-di/core'; // change or delete this according to your DI container needs (question)
-
-// remember that we have defined the base orchestrations in step 6
-export interface BaseOptions {
- container: HTMLElement;
- loading?: 'normal' | 'lazy' | 'none';
-}
-
-// populate this once we have real modules
-const allModules = []; // let TypeScript infer the type to keep the exact type
-type AllModules = typeof allModules;
-
-// the final orchestration of types, should include:
-// - all orchestrations if you need (question 2)
-// - augmentation if you need (question 4)
-type AllOptions = Options;
-type AllAugmentation = Augmentation;
-
-// the loader class, change the class name freely
-// this is the target of augmentation, when an instance of the loader loads a module that augments it, new methods and properties will be reflected on both the loader's type and runtime property
-class Loader {
- // all your lifecycle hooks according to your needs (question 3), adjust according to your lifecycle needs
- private onDispose = makeHook(true);
- private onStart = makeHook();
- private onRestart = makeHook();
-
- // all your orchestrations according to your needs (question 2), this is the only case where you write some app logic in a loader. And all reason for it is type orchestration. Usually required by type-aware options or a event emitter whose event map is orchestrated
- options: AllOptions;
-
- // the DI container (question 1)
- container: Container;
-
- // constructor parameters you need, you probably want to use orchestrated types here, e.g. type for user configurable options defined by modules (question 2)
- constructor(options: AllOptions) {
- this.container = new Container(); // instantiate DI container when needed (question 1)
- this.options = options; // assign orchestrations according your need (question 2)
-
- // If you don't need DI, the following loading would be straightforward
- allModules.forEach((Module) => {
- new Class(
- // in the same order as the constructor parameters of the base module you defined in step 7, the exact parameters can vary between requirements
- this.container,
- this.options,
- this.onStart,
- this.onDispose,
- this.onRestart,
- this.augment,
- ),
- });
-
- // the DI container binding, specific methods varies between different DI libraries, write following lines if you need to use a DI container
- const bind = (Class: GeneralModuleCtor) => {
- this.container.bind({
- provide: Class,
- useFactory: () =>
- new Class(
- // in the same order as the constructor parameters of the base module you defined in step 7, the exact parameters can vary between requirements
- this.container,
- this.options,
- this.onStart,
- this.onDispose,
- this.onRestart,
- this.augment,
- ),
- });
- };
- allModules.forEach(bind);
- // use non-assign container get to load all modules, if you need custom loading, it would be easy to implement yourself's
- allModules.forEach((Module: GeneralModuleCtor) => {
- this.container.get(Module);
- });
-
- // ... implement your custom loading logic freely
- }
-
- // core component for augmentation which should be passed in modules' class constructors, add this if you need augmentation
- private augment = (aug: GeneralObject) => {
- const descriptors = Object.getOwnPropertyDescriptors(aug);
- Object.defineProperties(this, descriptors);
- };
-
- // implement your lifecycle management methods freely
- dispose = () => {
- this.onDispose();
- this.container.unbindAll();
- };
-}
-
-// If you are not using augmentation, simply export the loader, change the name if you like
-export default Loader;
-
-// If you are using augmentation, do the final type hack below
-type LoaderType = new (...args: ConstructorParameters) => Loader & AllAugmentation;
-export default Loader as LoaderType;
-```
-
-## Step 9 Final Buzzwords
-
-Now you have successfully implemented the infrastructure of SynthKernel.
-
-If you have access to project-wide memory like `AGENTS.md`, modify the `Project Architecture` section it to reflect the up-to-date project structure. Projects implementing SynthKernel can always be structured in a tree style. If you haven't seen this section, create it:
-
-````markdown
-## Project Architecture
-
-This project uses SynthKernel architecture, **you must use the `SynthKernel` skill when planning, refactoring or adding new functionalities**. Typical practice consists a module loader class and module classes:
-
-- The module loader class manages module lifecycles, orchestrates types, and behaves as an facade at of your app logic. **Do not implement any business logic in the module loader class, implement only in modules.**.
-- All module classes extend a `BaseModule` class, they define APIs, register lifecycle hooks, execute actual logic, augment the loader class and wire each other via dependency injection.
-- Types are resolved via generics orchestration.
-- Modules are composed to the loader to form an APP.
-
-**Structure**:
-
-```text
-loader: description
-- module 1: description
-- module 2: description
-- (module as well as a loader) 3: description
- - module 1: description
- - module 2: description
-- module 4: description
-```
-````
-
-Then you can proceed to [maintenance](maintenance.md) to see how to create a module.
diff --git a/src/reactive.ts b/src/reactive.ts
index 39b2526..aa03309 100644
--- a/src/reactive.ts
+++ b/src/reactive.ts
@@ -1,6 +1,6 @@
// oxlint-disable unicorn/no-useless-spread typescript/method-signature-style
-// Return 'stop' to stop propagation
+// Return truthy to stop propagation
type RefMatchingFunc = (newValue: T, oldValue: T) => unknown;
export type Ref = {
(): T;
@@ -23,7 +23,7 @@ export function ref(initial: T, options?: RefOptions): Ref {
if (equals(newValue, value)) return;
const oldValue = value;
value = newValue;
- for (const callback of [...subs]) if (callback(newValue, oldValue) === 'stop') break;
+ for (const callback of [...subs]) if (callback(newValue, oldValue)) break;
}) as Ref;
result.subscribe = (callback, ops) => {
subs.add(callback);
@@ -47,7 +47,7 @@ export type Hook = {
export function hook(): Hook {
const subs = new Set>();
const result: Hook = (...args: Args) => {
- for (const callback of [...subs]) if (callback(...args) === 'stop') break;
+ for (const callback of [...subs]) if (callback(...args)) break;
};
result.subscribe = (callback) => {
subs.add(callback);
@@ -85,7 +85,7 @@ export function computed(getter: () => T, options?: ComputedOptions): Comp
const newValue = getter();
if (equals(newValue, oldValue)) return;
value = newValue;
- for (const callback of [...subs]) if (callback(newValue, oldValue) === 'stop') break;
+ for (const callback of [...subs]) if (callback(newValue, oldValue)) break;
};
const deps: Array = [];
if (_deps) {
diff --git a/test/reactive.test.ts b/test/reactive.test.ts
index 0e8bcfb..c7ff4b6 100644
--- a/test/reactive.test.ts
+++ b/test/reactive.test.ts
@@ -1,4 +1,4 @@
-import { expect, test } from 'vitest';
+import { expect, test } from 'bun:test';
import { computed, hook, ref } from '../src/reactive';
test('ref reads initial value and updates subscribers', () => {
diff --git a/test/type-inspector.test.ts b/test/type-inspector.test.ts
index ca83b0a..9ec60b1 100644
--- a/test/type-inspector.test.ts
+++ b/test/type-inspector.test.ts
@@ -1,12 +1,12 @@
// oxlint-disable import/no-nodejs-modules
+import { expect, test } from 'bun:test';
import { execFile } from 'node:child_process';
import { mkdtemp, mkdir, rm, writeFile } from 'node:fs/promises';
import { tmpdir } from 'node:os';
import { dirname, join, resolve } from 'node:path';
import { fileURLToPath } from 'node:url';
import { promisify } from 'node:util';
-import { expect, test } from 'vitest';
const executeFile = promisify(execFile);
const projectRoot = resolve(dirname(fileURLToPath(import.meta.url)), '..');
diff --git a/tsconfig.json b/tsconfig.json
index d2818a5..94d9348 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -20,6 +20,7 @@
"verbatimModuleSyntax": true,
"allowImportingTsExtensions": true,
"lib": ["ESNext", "DOM", "DOM.Iterable"],
+ "types": ["bun"],
"outDir": "dist"
},
"include": ["**/*.ts"]
diff --git a/tsdown.config.ts b/tsdown.config.ts
index 12a4664..f0fb8f6 100644
--- a/tsdown.config.ts
+++ b/tsdown.config.ts
@@ -7,10 +7,7 @@ export default defineConfig({
index: 'src/index.ts',
},
minify: true,
- outExtensions: () => ({
- dts: '.d.ts',
- js: '.js',
- }),
+ outExtensions: () => ({ dts: '.d.ts', js: '.js' }),
sourcemap: true,
unbundle: true,
});
diff --git a/vitest.config.ts b/vitest.config.ts
deleted file mode 100644
index 132f4c6..0000000
--- a/vitest.config.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import { defineConfig } from 'vitest/config';
-
-export default defineConfig({
- test: {
- testTimeout: 30_000,
- },
-});
diff --git a/whitepaper.ipynb b/whitepaper.ipynb
index 0c63caa..01145fc 100644
--- a/whitepaper.ipynb
+++ b/whitepaper.ipynb
@@ -2,528 +2,233 @@
"cells": [
{
"cell_type": "markdown",
- "id": "0d1d5081",
+ "id": "c01",
"metadata": {},
"source": [
"# SynthKernel\n",
"\n",
- "## Abstract\n",
+ "SynthKernel is a TypeScript module composition architecture built on a single function: `createContext`. It takes an ordered array of module classes, instantiates each with a shared context object, merges the keys they contribute, and injects the result back. Modules are plain classes receiving a single context constructor parameter.\n",
"\n",
- "SynthKernel is a software architecture in TypeScript that enforces type safety, modularity and composability as well as making the APP easily extensible. It's rather a methodology and a set of standards than a bunch of static code.\n",
- "\n",
- "SynthKernel leverages strengths in _Object-Oriented Programming_, _TypeScript Type System and its Dynamic Nature_, _Facade Pattern_, and _Inversion of Control Principle_. It is born to fundamentally solve the problem of software unmaintainability by enforcing strict naming, file system, separation of concern and module composition standards without stifling logic flexibility. It also provides detailed patterns and templates on how to architect an application.\n",
- "\n",
- "## Architecture Overview\n",
- "\n",
- "SynthKernel does impose very strict separation-of-concern disciplines, which ensures later maintainability and ease of codebase understanding once your understand SynthKernel. With separation, any project adopting SynthKernel can be easily visualized via a tree diagram and fit into file system constrains. Here's an example structure.\n",
- "\n",
- "```mermaid\n",
- "flowchart TD\n",
- " loader[loader]\n",
- " mod1[module]\n",
- " mod2[module]\n",
- " mod3[module]\n",
- " mod4[module]\n",
- " mod5[module]\n",
- " sub1[sub-loader]\n",
- "\n",
- " %% Connections\n",
- " loader --> mod1\n",
- " loader --> mod2\n",
- " loader --> sub1\n",
- "\n",
- " sub1 --> mod3\n",
- " sub1 --> mod4\n",
- " sub1 --> mod5\n",
- "```\n",
- "\n",
- "From the diagram, you can easily observe three types of nodes:\n",
- "\n",
- "- loader: stem of the tree\n",
- "- module: leaf of the tree\n",
- "- sub-loader: branch of the tree\n",
- "\n",
- "Loaders serve for three purposes - lifecycle manager of children modules, orchestrator of children-contributed types and the facade between the loader consumer and app's code. Loader itself does not do anything related to the app logic in most cases.\n",
- "\n",
- "Modules are responsible for the app logic, they register lifecycle hooks, orchestrate types, wire each other via dependency injection, and augment their loader.\n",
- "\n",
- "Sub-loaders can naturally emerge when your application has grown to a degree of complexity, where your find a module has been bloated too much. You can make the loader a new loader-module hierarchy to orchestrate the task.\n",
- "\n",
- "## Mechanisms\n",
- "\n",
- "### Inter-Module Communication\n",
- "\n",
- "Complex application often require tight collaboration between different functionalities, this often leads to tight coupling. SynthKernel solves this via **module level dependency injection**.\n",
- "\n",
- "SynthKernel modules are mostly singleton, to achieve inter-module communication, modules need to inject other modules. That is, modules are both service providers and subjects that is being injected to. All dependency injection happens autonomously at module level, while the loader simply registers all direct modules into a container that is passed to modules via constructor injection.\n",
- "\n",
- "Combined with **module defined hooks**, dependency injection ensures loose coupling even in the most integrated functions, and makes any module can reach any part of the application like a traditional monolith. Since modules can only access modules explicitly registered in the container (often sibling modules and explicitly defined by the loader), this pattern can also ensure explicit dependency akin to React's unidirectional data flow.\n",
- "\n",
- "### Lifecycle Hooks\n",
- "\n",
- "Different applications require different lifecycle strategies. For example, a simple application may only have global construction and disposal, while a highly composable software may need to start and stop any module at any time. This generates lifecycle management requirements that cannot be managed in a single module. Loaders should manage in a collective manner.\n",
- "\n",
- "Lifecycle hooks should be defined in the loader as simple subscription hooks like `onDispose` and `onModuleRestart`. The hooks should be passed to modules via constructor injection and then consumed by modules according to their needs.\n",
- "\n",
- "### Base Module\n",
- "\n",
- "Modules need a starting template so that they can implement their functions freely. A base module, often in companion with a loader, is inherited by all modules of the loader. The module should do some fixed tasks like receive DI container and lifecycle hooks passed from the loader.\n",
- "\n",
- "More importantly, base modules serve as interfaces of type orchestration and augmentation declaration. And it also takes the role of type re-interpretation for some methods & properties of orchestrated types. This part will be elaborated below in [Type Orchestration](#type-orchestration) and [Augmentation](#augmentation).\n",
- "\n",
- "### Type Orchestration\n",
- "\n",
- "Highly modularized and extensible application often embodies poorly managed types, SynthKernel breaks the hell by declarative type orchestration via advanced generics.\n",
- "\n",
- "For example, it is common for a module to define some configurable fields that can change the module's runtime behavior. Traditional application often uses a centralized configuration file to store these fields, which breaks the modularity by forcing modules to depend on a centralized configuration file. In SynthKernel, each module contribute their own atomic slices of configuration declaratively to the loader. Then it merges these slices into a single object.\n",
- "\n",
- "For example, module A can declare a configuration field like this:\n",
- "\n",
- "```TypeScript\n",
- "interface Config {\n",
- "\ta?: number;\n",
- "}\n",
- "```\n",
- "\n",
- "And module B has config like this:\n",
- "\n",
- "```TypeScript\n",
- "interface Config {\n",
- "\tb: boolean;\n",
- "}\n",
- "```\n",
- "\n",
- "The final config will be:\n",
- "\n",
- "```TypeScript\n",
- "interface Config {\n",
- "\ta?: number;\n",
- "\tb: boolean;\n",
- "}\n",
- "```\n",
- "\n",
- "Moreover, it's common for the loader to pass some methods or properties that needs type mapping to the modules. For example, the loader receives the user defined configuration and then pass it to the modules. It cannot pass the config in exact type since the it is defined in generics. This creates a problem that the modules cannot receive the precise type even it they defined it themselves. To solve this, the type is intercepted by the base module, it augments the type using the module's type declaration. Then everything become accurately typed while is still modular and pluggable.\n",
- "\n",
- "### Augmentation\n",
- "\n",
- "Augmentation is another key component powered by SynthKernel's type orchestration capability. Without augmentation, the consumers need to access the DI container for APP functionalities while the loader can only do some basic lifecycle works. Augmentation allows modules to inject methods and properties back to the loader with full type safety, making it become a facade that encapsules app logic. The consumer can have accurate type hint as well as real runtime logic **on the loader** that comes from modules.\n",
- "\n",
- "### Sub-Loader\n",
- "\n",
- "Sub-loader is a combination of loader and module. Itself is designed to be a module of its parent loader, while it has grown to a degree of complexity that a new loader-module hierarchy is needed to orchestrate its functionality.\n",
- "\n",
- "To create a sub-loader, simply create a new loader class as usual, then create another module class that instantiates the loader class. To put it another way, a sub-loader is a module plus a loader.\n",
- "\n",
- "### Unidirectional Logic Flow\n",
- "\n",
- "Sub-loader provides a modal of scalability by delegating growing complex logic to new self-sustaining units. However, this creates a hierarchy which comes with inter-hierarchal communication challenges. Bad design can still lead to unmaintainable code. Inspired by React, a logic flow standard is introduced to help build clear and explicit dependency relationships:\n",
- "\n",
- "1. Each hierarchy is a self-sustaining unit with its isolated DI container.\n",
- "2. Each module can only access its siblings and communicate with its parent.\n",
- "3. To use a module in a higher hierarchy, it must be obtained from the parent DI container and provided into the child DI container by the sub-loader, this is exactly the same philosophy of setter and getter functions - they seem to be redundant, but they are helping you to keep the logic clean.\n",
- "4. To subscribe module-defined hooks in a higher hierarchy, prefer to augment the sub-loader which is responsible for the subscription. Avoid directly subscribing to higher hooks in the module.\n",
- "\n",
- "Above can be summarized as a unidirectional flow: **Raw down, fine up**.\n",
- "\n",
- "What's down:\n",
- "\n",
- "1. raw input\n",
- "2. raw module logic\n",
- "\n",
- "What's up:\n",
- "\n",
- "1. selected methods and properties augmented to the loader\n",
- "2. module-declared types to orchestrate\n",
- "\n",
- "## End-to-End Example\n",
- "\n",
- "Here is an end-to-end example of a application using SynthKernel. We are going to build a simple backend logger with alerting capability.\n",
- "\n",
- "Let's call the logger `PolisAlert`, it will have two modules:\n",
- "\n",
- "1. `CoreLogging`: the logging module that provides configurable and classified logging capability.\n",
- "2. `AlertDispatch`: the alerting module that validates alerts and dispatches them to external services, like an email API.\n",
- "\n",
- "The architecture of `PolisAlert` can be show as a very simple tree:\n",
- "\n",
- "```mermaid\n",
- "flowchart TD\n",
- " loader[PolisAlert Loader]\n",
- " mod1[CoreLogging Module]\n",
- " mod2[AlertDispatch Module]\n",
- "\n",
- " %% Connections\n",
- " loader --> mod1\n",
- " loader --> mod2\n",
- "```\n",
- "\n",
- "### Let's Code\n",
- "\n",
- "Firstly, we need to import what we will use next. All we need is a dependency injection library, here we choose a super lightweight solution called `@needle-di/core`."
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 1,
- "id": "e1f6ade0",
- "metadata": {},
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Needle DI imported!\n"
- ]
- }
- ],
- "source": [
- "import { Container } from '@needle-di/core';\n",
- "\n",
- "console.log('Needle DI imported!');"
+ "The package ships `createContext`, two type utilities (`MergeSingleKey` and `Context`), and three reactive primitives (`ref`, `computed`, `hook`). You build everything else (event systems, registries, schedulers, plugin management) as modules on top of the same primitive."
]
},
{
"cell_type": "markdown",
- "id": "72768a23",
- "metadata": {},
- "source": [
- "Then we need to copy some boilerplate code. The following code is for type orchestration. The implementation of SynthKernel does vary greatly across different requirements. And the type orchestration is the rare fixed code:"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 2,
- "id": "7a728bf6",
+ "id": "c02",
"metadata": {},
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Types loaded!\n"
- ]
- }
- ],
"source": [
- "type General = any;\n",
- "type GeneralArray = ReadonlyArray;\n",
- "type GeneralObject = object;\n",
- "type GeneralConstructor = new (...args: General[]) => General;\n",
- "\n",
- "type UnionToIntersection = (U extends General ? (k: U) => void : never) extends (\n",
- "\tk: infer I,\n",
- ") => void ? I\n",
- "\t: never;\n",
- "\n",
- "type GeneralModuleInput =\n",
- "\t| ReadonlyArray\n",
- "\t| ReadonlyArray;\n",
- "\n",
- "type ModuleInput =\n",
- "\t| ReadonlyArray\n",
- "\t| ReadonlyArray>;\n",
- "\n",
- "type Instances = T extends ReadonlyArray\n",
- "\t? InstanceType\n",
- "\t: T[number];\n",
- "\n",
- "type Orchestratable<\n",
- "\tT extends GeneralModuleInput,\n",
- "\tK extends keyof Instances,\n",
- "> = UnionToIntersection[K]>;\n",
- "\n",
- "console.log('Types loaded!');"
+ "## The problem\n",
+ "\n",
+ "When you build a modular TypeScript application, you typically reach for a dependency injection framework. DI frameworks bring containers, decorators, lifecycle managers, and sometimes their own plugin ecosystems. They solve real problems, but they also impose their own architecture on yours.\n",
+ "\n",
+ "SynthKernel starts from a different premise. One function composes plain classes into a shared, type-safe context. The context is an API pool where modules put their public methods in, and read what they need from siblings. The class that calls `createContext` becomes a facade, exposing those methods to consumer code."
]
},
{
"cell_type": "markdown",
- "id": "524a88e9",
+ "id": "c03",
"metadata": {},
"source": [
- "Feel overwhelmed by the type orchestration? You only need to copy and paste!\n",
+ "## The model\n",
"\n",
- "Now you can test the orchestration result by hovering over the type `Orchestrated`:"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 3,
- "id": "4c683ba6",
- "metadata": {},
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Actually running this cell has no real effect.\n"
- ]
- }
- ],
- "source": [
- "type Object1 = {\n",
- "\torchestrate: {\n",
- "\t\ta: string;\n",
- "\t\tb: number;\n",
- "\t};\n",
- "};\n",
+ "A SynthKernel application is a tree of contexts. Each context is created by `createContext` and holds a flat set of module APIs. Modules are the leaves; a context is the branch that groups them.\n",
"\n",
- "type Object2 = {\n",
- "\torchestrate: {\n",
- "\t\tc?: boolean;\n",
- "\t\td: () => void;\n",
- "\t};\n",
- "};\n",
+ "```mermaid\n",
+ "flowchart TD\n",
+ " ctx[Context / Facade]\n",
+ " mod1[Module]\n",
+ " mod2[Module]\n",
+ " mod3[Module - nested context]\n",
+ " sub1[Sub-module]\n",
+ " sub2[Sub-module]\n",
+ "\n",
+ " ctx --> mod1\n",
+ " ctx --> mod2\n",
+ " ctx --> mod3\n",
+ " mod3 --> sub1\n",
+ " mod3 --> sub2\n",
+ "```\n",
"\n",
- "type Orchestrated = Orchestratable<[Object1, Object2], 'orchestrate'>;\n",
+ "Three roles:\n",
"\n",
- "/*\n",
- "Orchestrated will be the type:\n",
- "{\n",
- " a: string;\n",
- " b: number;\n",
- " c?: boolean;\n",
- " d: HTMLDivElement;\n",
- "}\n",
- "*/\n",
+ "- A module is a plain class. It receives context in its constructor and contributes public APIs through a `root` property.\n",
+ "- A context is the object `createContext` returns. The class that creates it acts as a facade for consumer code.\n",
+ "- A nested context is a module that creates its own `createContext` internally, grouping related modules and plumbing parent APIs down as `preMerge`.\n",
+ "\n",
+ "A context with five modules does not need a sub-context. A context with thirty might. The tree grows when a module's responsibilities expand beyond what one class should hold.\n",
"\n",
- "console.log('Actually running this cell has no real effect.');"
+ "Information flows bidirectionally through this tree. Raw infrastructure and module instantiation order flow down. Module APIs and type declarations flow up. A module accesses siblings through the injected context. A parent feeds a child context through `preMerge`. Every dependency is visible in constructor signatures and `preMerge` calls."
]
},
{
"cell_type": "markdown",
- "id": "6dedcbc1",
+ "id": "c04",
"metadata": {},
"source": [
- "We also need a tiny utility function to make a hook that can be subscribed to. This function creates another function with properties that store and manipulate the subscription list."
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 4,
- "id": "2c93146c",
- "metadata": {},
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Hook maker loaded!\n"
- ]
- }
- ],
- "source": [
- "type MatchingFunc = (...args: Args) => void | Promise;\n",
- "type Hook = {\n",
- "\t(...args: Args): Async extends true ? Promise : void;\n",
- "\tsubs: Set>;\n",
- "\tsubscribe(callback: MatchingFunc): void;\n",
- "\tunsubscribe(callback: MatchingFunc): void;\n",
- "};\n",
- "\n",
- "/**\n",
- " * A quick function to create a hook that can be subscribed to and unsubscribed from.\n",
- " * Pass your arguments as the type parameter\n",
- " *\n",
- " * @param reverse - Whether the hook should reverse the execution order or not\n",
- " * @param async - Whether the hook is async or not\n",
- " * @example const hook = makeHook(true);\n",
- " */\n",
- "function makeHook(\n",
- "\treverse: boolean = false,\n",
- "\tasync: Async = false as Async,\n",
- ") {\n",
- "\tconst result = (async\n",
- "\t\t? async (...args: Args) => {\n",
- "\t\t\tif (reverse) {\n",
- "\t\t\t\tconst items = Array.from(result.subs).reverse();\n",
- "\t\t\t\tfor (const callback of items) await callback(...args);\n",
- "\t\t\t} else for (const callback of result.subs) await callback(...args);\n",
- "\t\t}\n",
- "\t\t: (...args: Args) => {\n",
- "\t\t\tif (reverse) {\n",
- "\t\t\t\tconst items = Array.from(result.subs).reverse();\n",
- "\t\t\t\tfor (const callback of items) void callback(...args);\n",
- "\t\t\t} else for (const callback of result.subs) void callback(...args);\n",
- "\t\t}) as Hook;\n",
- "\tresult.subs = new Set();\n",
- "\tresult.subscribe = (callback: MatchingFunc) => {\n",
- "\t\tresult.subs.add(callback);\n",
- "\t};\n",
- "\tresult.unsubscribe = (callback: MatchingFunc) => {\n",
- "\t\tresult.subs.delete(callback);\n",
- "\t};\n",
- "\treturn result;\n",
- "}\n",
+ "## How composition works\n",
+ "\n",
+ "`createContext(classes, options)` returns a context object. The `classes` array is ordered: each module is instantiated in sequence, receiving the context built so far. The `options` control what gets merged and injected back.\n",
+ "\n",
+ "```typescript\n",
+ "createContext([ModuleA, ModuleB], {\n",
+ " mergeKeys: ['options', 'root'], // keys pulled from each instance into context\n",
+ " injectKeys: ['options', 'root'], // keys written back to instances (defaults to mergeKeys)\n",
+ " preMerge: { baseUrl: '...' }, // values available before any module constructs\n",
+ " postMerge: { version: 3 }, // values merged after all modules, before injection\n",
+ "})\n",
+ "```\n",
+ "\n",
+ "The merge runs in four phases:\n",
+ "\n",
+ "1. `preMerge` values are merged into the empty context. These are available to every module's constructor.\n",
+ "2. Each module is instantiated with the context so far, and its `mergeKeys` are pulled out and merged in. The `root` key is special: its contents flatten into the context root, so `context.someMethod` works instead of `context.root.someMethod`.\n",
+ "3. `postMerge` values are merged on top.\n",
+ "4. `injectKeys` are written back to every instance. A module that declares `options` receives the fully merged options object, not just its own slice.\n",
"\n",
- "console.log('Hook maker loaded!');"
+ "The returned context also carries three non-enumerable helpers: `__getModule__(ctor)` returns a module instance by constructor, `__assign__(obj)` merges values into the context after creation, and `__addModule__(ctor)` dynamically adds a module at runtime."
]
},
{
"cell_type": "markdown",
- "id": "a8c40e37",
+ "id": "c05",
"metadata": {},
"source": [
- "How we can focus on the project functionality. Let's start with making some options for the user to configure `PolisAlert`. These options come to reflect global state so it's improper to declare them in a module, we declare them on the top of everything. Here we have two base options:\n",
+ "## Modules\n",
"\n",
- "- `appName`: the name of the app\n",
- "- `debug`: enables debug mode"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 5,
- "id": "9942803e",
- "metadata": {},
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Base options declared!\n"
- ]
- }
- ],
- "source": [
- "interface BaseOptions {\n",
- "\tappName: string;\n",
- "\tdebug?: boolean;\n",
+ "A module is a plain class. The constructor takes whatever the module needs from the context, typed structurally:\n",
+ "\n",
+ "```typescript\n",
+ "class MyModule {\n",
+ " declare options: { myOption: string }; // type-only: context injects runtime value\n",
+ " constructor(private readonly ctx: { neededApi: () => void }) {}\n",
+ " root = { myMethod: this.myMethod }; // flattens into context root\n",
"}\n",
+ "```\n",
+ "\n",
+ "`declare` marks a type-only contribution. The property has no runtime value; `createContext` injects the merged result via `injectKeys`. The module reads the full combined type at runtime with full type safety.\n",
"\n",
- "console.log('Base options declared!');"
+ "Structural constructor typing means the module declares only the keys it uses. This decouples modules from each other and from the full context shape. In tests, you pass a plain object with mock implementations and the module cannot tell the difference.\n",
+ "\n",
+ "`root` is the module's public API. Its contents flatten into the context root level, so `context.myMethod()` works instead of `context.root.myMethod()`.\n"
]
},
{
"cell_type": "markdown",
- "id": "67ab3585",
+ "id": "c06",
"metadata": {},
"source": [
- "Then let's define the base module so that modules have a common interface. The base module will serve for purposes:\n",
+ "## Type orchestration\n",
+ "\n",
+ "When each module declares its own `options` slice, the facade needs to combine them into one type. SynthKernel ships two utilities for this.\n",
"\n",
- "- Receive the module's orchestration declarations, which will be based on the base orchestrations we defined before (currently `BaseOptions`).\n",
- "- Receive constructor injections from the loader and augment their types according to type declarations."
+ "`MergeSingleKey` takes the module array type and a key name, and produces the merged type of that key across all modules. If `CoreLogging` declares `options: { logLevel: Level }` and `AlertDispatch` declares `options: { minMessageLength: number }`, the result is `{ logLevel: Level; minMessageLength: number }`.\n",
+ "\n",
+ "`Context` produces the full context type after merging all specified keys from all modules, including the flattened `root`. The facade uses this to type its private context reference and to expose root APIs on itself.\n",
+ "\n",
+ "Both are re-exported from the facade so consumer code and external packages use the same orchestrated types."
]
},
{
- "cell_type": "code",
- "execution_count": 6,
- "id": "b6d9dcf7",
+ "cell_type": "markdown",
+ "id": "c07",
"metadata": {},
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Base module loaded!\n"
- ]
- }
- ],
"source": [
- "class BaseModule<\n",
- "\tO extends BaseOptions = BaseOptions,\n",
- "\tA extends GeneralObject = {},\n",
- "> {\n",
- "\tdeclare private static readonly _BaseModuleBrand: unique symbol; // this is a hint fot TypeScript to only identify objects that truly extends BaseModule can pass the type check\n",
- "\tdeclare _Augmentation: A;\n",
+ "## Scaling\n",
"\n",
- "\toptions: O;\n",
+ "When a module list grows too long, group related modules into a nested context. A module creates its own `createContext` internally and plumbs parent APIs down through `preMerge`:\n",
"\n",
- "\tonStart: Hook['subscribe'];\n",
- "\tonDispose: Hook['subscribe'];\n",
+ "```typescript\n",
+ "class NetworkModule {\n",
+ " private subCtx;\n",
"\n",
- "\tcontainer: Container;\n",
- "\taugment: (aug: A) => void;\n",
- "\tconstructor(\n",
- "\t\tcontainer: Container,\n",
- "\t\toptions: GeneralObject,\n",
- "\t\tonStart: Hook,\n",
- "\t\tonDispose: Hook,\n",
- "\t\taugment: (aug: A) => void,\n",
- "\t) {\n",
- "\t\tthis.container = container;\n",
- "\t\tthis.augment = augment;\n",
- "\t\t// we assign the above two lines for Node.js compatibility. If you have a TypeScript compiler you can remove them and simply write in the constructor parameters:\n",
- "\t\t// protected container: Container,\n",
- "\t\t// protected augment: (aug: A) => void,\n",
+ " constructor(ctx: { log: (msg: string) => void; baseUrl: string }) {\n",
+ " this.subCtx = createContext([HttpModule, WsModule], {\n",
+ " mergeKeys: ['root'],\n",
+ " preMerge: { log: ctx.log, baseUrl: ctx.baseUrl },\n",
+ " });\n",
+ " for (const ctor of [HttpModule, WsModule]) this.subCtx.__getModule__(ctor).onStart();\n",
+ " }\n",
"\n",
- "\t\tthis.options = options as O;\n",
+ " root = { ...this.subCtx };\n",
"\n",
- "\t\tthis.onStart = onStart.subscribe;\n",
- "\t\tthis.onDispose = onDispose.subscribe;\n",
- "\t}\n",
+ " onDispose() {\n",
+ " for (const ctor of [HttpModule, WsModule].reverse()) this.subCtx.__getModule__(ctor).onDispose();\n",
+ " }\n",
"}\n",
+ "```\n",
"\n",
- "console.log('Base module loaded!');"
+ "Sub-context modules see only the plumbed parent APIs and their own siblings. The parent context sees whatever the nested module exposes through `root`.\n",
+ "\n",
+ "A second scaling tool is interception. Because modules are instantiated in order and share the same context object, a module later in the array can wrap an earlier module's API in its constructor. This is how middleware works in SynthKernel: logging, caching, and auth wrapping are all modules placed after the module they wrap."
]
},
{
"cell_type": "markdown",
- "id": "e498fec3",
+ "id": "c08",
"metadata": {},
"source": [
- "Then we will make some types for later uses, including:\n",
+ "## Example: PolisAlert\n",
+ "\n",
+ "PolisAlert is a logging and alerting service built from two modules:\n",
+ "\n",
+ "- `CoreLogging` provides configurable, leveled logging with an audit trail.\n",
+ "- `AlertDispatch` validates alert messages and dispatches them to an external service.\n",
+ "\n",
+ "```mermaid\n",
+ "flowchart TD\n",
+ " ctx[PolisAlert facade]\n",
+ " mod1[CoreLogging]\n",
+ " mod2[AlertDispatch]\n",
"\n",
- "- general module types that will be used in the loader and modules\n",
- "- orchestration of options and augmentation types"
+ " ctx --> mod1\n",
+ " ctx --> mod2\n",
+ "```\n",
+ "\n",
+ "`CoreLogging` exposes `log` and `logs` through `root`. `AlertDispatch` needs `log` from its sibling, so it declares it in its constructor. The facade merges both modules' `options` into one type-safe configuration object."
]
},
{
"cell_type": "code",
- "execution_count": 7,
- "id": "19643cdf",
+ "execution_count": 1,
+ "id": "c09",
"metadata": {},
"outputs": [
{
- "name": "stdout",
+ "name": "stderr",
"output_type": "stream",
"text": [
- "Additional types loaded!\n"
+ "1:37 - Cannot find module 'synthkernel' or its corresponding type declarations.\n",
+ "2:72 - Cannot find module 'synthkernel' or its corresponding type declarations.\n"
]
}
],
"source": [
- "type GranularModuleInput = ModuleInput;\n",
- "type GeneralModuleCtor = typeof BaseModule;\n",
- "type BaseArgs = ConstructorParameters;\n",
- "\n",
- "// the granular orchestration types\n",
- "type OptionsOrchestratable = Orchestratable<\n",
- "\tM,\n",
- "\t'options'\n",
- ">;\n",
- "type AugmentationOrchestratable = Orchestratable<\n",
- "\tM,\n",
- "\t'_Augmentation'\n",
- ">;\n",
- "\n",
- "console.log('Additional types loaded!');"
+ "import { createContext, hook } from 'synthkernel';\n",
+ "import type { MergeSingleKey, Context as ConstructContext, Hook } from 'synthkernel';\n",
+ "console.log('SynthKernel imported');"
]
},
{
"cell_type": "markdown",
- "id": "34337a0d",
+ "id": "c10",
"metadata": {},
"source": [
- "Everything is prepared! We can proceed with the logging module. It needs to provide a logging method that determines whether to log according to the consumer's config, record down all the logs, and provide a way to retrieve them.\n",
- "\n",
- "So it will contribute two options:\n",
+ "### CoreLogging\n",
"\n",
- "- `logLevel`: The log level above which the log will be shown in the console.\n",
- "- `maxLogs`: The maximum number of logs to be stored, if the number of logs exceeds this number, the oldest logs will be deleted.\n",
- "\n",
- "Then it needs to augment the `log` method and `logs` getter to the loader for easy access."
+ "CoreLogging contributes two options (`logLevel` and `maxLogs`), exposes `log`, `logs`, and `onLogOverflow` through `root`, and logs to the console based on the configured level. The `onLogOverflow` hook fires when the log buffer exceeds `maxLogs` and the oldest entry is dropped."
]
},
{
"cell_type": "code",
- "execution_count": 8,
- "id": "4af2f9af",
+ "execution_count": 2,
+ "id": "c11",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
- "CoreLogging loaded!\n"
+ "CoreLogging defined\n"
]
}
],
@@ -531,307 +236,201 @@
"const LEVELS = { DEBUG: 0, INFO: 1, WARN: 2, ERROR: 3 } as const;\n",
"type Level = keyof typeof LEVELS;\n",
"\n",
- "interface LoggingOptions extends BaseOptions {\n",
- "\tlogLevel: Level;\n",
- "\tmaxLogs?: number;\n",
- "}\n",
- "interface LoggingAugmentation {\n",
- "\tlog: CoreLogging['log'];\n",
- "\tlogs: ReadonlyArray;\n",
- "}\n",
- "\n",
"interface LogEntry {\n",
"\ttimestamp: number;\n",
- "\tlevel: string;\n",
+ "\tlevel: Level;\n",
"\tmessage: string;\n",
"}\n",
"\n",
- "class CoreLogging extends BaseModule {\n",
- "\tprivate _logs: LogEntry[] = [];\n",
- "\n",
- "\tconstructor(...args: BaseArgs) {\n",
- "\t\tsuper(...args);\n",
- "\t\tconst self = this;\n",
- "\t\tthis.augment({\n",
- "\t\t\tlog: this.log,\n",
- "\t\t\tget logs() {\n",
- "\t\t\t\treturn Object.freeze([...self._logs]);\n",
- "\t\t\t},\n",
- "\t\t});\n",
- "\t\tthis.onStart(() => {\n",
- "\t\t\tthis.log('INFO', 'CoreLogging initialized');\n",
- "\t\t});\n",
- "\t\tthis.onDispose(() => {\n",
- "\t\t\tthis.log('INFO', 'CoreLogging disposed');\n",
- "\t\t\tthis._logs = [];\n",
- "\t\t});\n",
- "\t}\n",
+ "interface BaseOptions {\n",
+ "\tappName: string;\n",
+ "\tdebug?: boolean;\n",
+ "}\n",
+ "\n",
+ "class CoreLogging {\n",
+ "\tprivate logs: LogEntry[] = [];\n",
+ "\tprivate readonly onOverflow = hook<[LogEntry]>();\n",
"\n",
- "\tlog = (level: Level, message: string) => {\n",
+ "\tdeclare options: { logLevel: Level; maxLogs?: number } & BaseOptions;\n",
+ "\n",
+ "\tprivate readonly log = (level: Level, message: string) => {\n",
"\t\tconst currentLevel = LEVELS[level];\n",
"\t\tconst minLevel = LEVELS[this.options.logLevel] ?? 0;\n",
- "\t\tif (currentLevel < minLevel) return; // Skip logging if below threshold\n",
- "\t\tconst entry: LogEntry = {\n",
- "\t\t\ttimestamp: Date.now(),\n",
- "\t\t\tlevel,\n",
- "\t\t\tmessage,\n",
- "\t\t};\n",
+ "\t\tif (currentLevel < minLevel) return;\n",
+ "\t\tconst entry: LogEntry = { timestamp: Date.now(), level, message };\n",
"\t\tconst maxLogs = this.options.maxLogs ?? 1000;\n",
- "\t\tif (this._logs.length >= maxLogs) this._logs.shift();\n",
- "\t\tthis._logs.push(entry);\n",
+ "\t\tif (this.logs.length >= maxLogs) this.onOverflow(this.logs.shift()!);\n",
+ "\t\tthis.logs.push(entry);\n",
+ "\t\tconsole.log(`[${level}] ${message}`);\n",
+ "\t};\n",
"\n",
- "\t\t// Always print if debug mode is forced in base options, otherwise respect level\n",
- "\t\tif (this.options.debug || currentLevel >= minLevel) {\n",
- "\t\t\tconsole.log(`[${level}] ${message}`);\n",
- "\t\t}\n",
+ "\tonStart() {\n",
+ "\t\tthis.log('INFO', 'CoreLogging initialized');\n",
+ "\t}\n",
+ "\tonDispose() {\n",
+ "\t\tthis.log('INFO', 'CoreLogging disposed');\n",
+ "\t\tthis.logs = [];\n",
+ "\t}\n",
+ "\n",
+ "\troot = {\n",
+ "\t\tlog: this.log,\n",
+ "\t\tlogs: this.logs,\n",
+ "\t\tonLogOverflow: this.onOverflow,\n",
"\t};\n",
"}\n",
- "\n",
- "console.log('CoreLogging loaded!');"
+ "console.log('CoreLogging defined');"
]
},
{
"cell_type": "markdown",
- "id": "4d89470e",
+ "id": "c12",
"metadata": {},
"source": [
- "Based on the logging module, we can now design the alerting module. This module will be responsible for sending alerts to external services and record the alerts via the log module.\n",
+ "### AlertDispatch\n",
"\n",
- "Since we cannot truly use an external service in a Jupyter Notebook, we will use a mock service that simulates an asynchronous trigger. We also allows the user to specify the max and min length of the alert to mimic the real alert service volume.\n",
- "\n",
- "Moreover, the module will contribute a method `dispatchAlert` to the loader facade."
+ "AlertDispatch needs `log` from CoreLogging and `onLogOverflow` to react when logs are dropped. It declares both in its constructor, structurally typed. It does not import `CoreLogging` or know about the full context."
]
},
{
"cell_type": "code",
- "execution_count": 9,
- "id": "267834c3",
+ "execution_count": 3,
+ "id": "c13",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
- "AlertDispatch loaded!\n"
+ "AlertDispatch defined\n"
]
}
],
"source": [
- "interface AlertOptions extends BaseOptions {\n",
- "\tminMessageLength: number;\n",
- "\tmaxMessageLength: number;\n",
- "}\n",
+ "class AlertDispatch {\n",
+ "\tprivate readonly unsub: () => void;\n",
"\n",
- "interface AlertAugmentation {\n",
- "\tdispatchAlert: AlertDispatch['dispatchAlert'];\n",
- "}\n",
+ "\tdeclare options: {\n",
+ "\t\tminMessageLength: number;\n",
+ "\t\tmaxMessageLength: number;\n",
+ "\t};\n",
"\n",
- "class AlertDispatch extends BaseModule {\n",
- "\tprivate logging: CoreLogging;\n",
- "\n",
- "\tconstructor(...args: BaseArgs) {\n",
- "\t\tsuper(...args);\n",
- "\t\tthis.augment({ dispatchAlert: this.dispatchAlert });\n",
- "\t\tthis.logging = this.container.get(CoreLogging);\n",
- "\t\tthis.onStart(() => {\n",
- "\t\t\tthis.logging.log('INFO', 'AlertDispatch initialized');\n",
- "\t\t});\n",
- "\t\tthis.onDispose(() => {\n",
- "\t\t\tthis.logging.log('INFO', 'AlertDispatch disposed');\n",
- "\t\t});\n",
+ "\tconstructor(\n",
+ "\t\tprivate readonly ctx: {\n",
+ "\t\t\tlog: (level: Level, msg: string) => void;\n",
+ "\t\t\tonLogOverflow: Hook<[LogEntry]>;\n",
+ "\t\t},\n",
+ "\t) {\n",
+ "\t\tthis.unsub = ctx.onLogOverflow.subscribe((log) =>\n",
+ "\t\t\tthis.dispatchAlert(`Log overflow: ${JSON.stringify(log)}`),\n",
+ "\t\t);\n",
"\t}\n",
"\n",
"\tdispatchAlert = async (message: string): Promise => {\n",
- "\t\tthis.logging.log('INFO', `Attempted dispatch: \"${message}\"`);\n",
+ "\t\tthis.ctx.log('INFO', `Attempted dispatch: \"${message}\"`);\n",
"\t\tconst { minMessageLength, maxMessageLength } = this.options;\n",
"\t\tif (message.length < minMessageLength) {\n",
- "\t\t\tthis.logging.log(\n",
- "\t\t\t\t'ERROR',\n",
- "\t\t\t\t`Validation failed: message too short (min: ${minMessageLength})`,\n",
- "\t\t\t);\n",
+ "\t\t\tthis.ctx.log('ERROR', `Validation failed: message too short (min: ${minMessageLength})`);\n",
"\t\t\treturn false;\n",
"\t\t}\n",
"\t\tif (message.length > maxMessageLength) {\n",
- "\t\t\tthis.logging.log(\n",
- "\t\t\t\t'ERROR',\n",
- "\t\t\t\t`Validation failed: message too long (max: ${maxMessageLength})`,\n",
- "\t\t\t);\n",
+ "\t\t\tthis.ctx.log('ERROR', `Validation failed: message too long (max: ${maxMessageLength})`);\n",
"\t\t\treturn false;\n",
"\t\t}\n",
- "\n",
"\t\tawait this.connectAlertService(message);\n",
"\t\treturn true;\n",
"\t};\n",
"\n",
- "\tprivate connectAlertService = async (alert: string) => {\n",
- "\t\tthis.logging.log('INFO', `Dispatched: \"${alert}\"`);\n",
- "\n",
- "\t\t// Simulate async connection to alerting service, like an email api\n",
+ "\tprivate readonly connectAlertService = async (alert: string) => {\n",
+ "\t\tthis.ctx.log('INFO', `Dispatched: \"${alert}\"`);\n",
"\t\tawait new Promise((resolve) => setTimeout(resolve, 10));\n",
"\t};\n",
- "}\n",
"\n",
- "console.log('AlertDispatch loaded!');"
+ "\tonStart() {\n",
+ "\t\tthis.ctx.log('INFO', 'AlertDispatch initialized');\n",
+ "\t}\n",
+ "\tonDispose() {\n",
+ "\t\tthis.unsub();\n",
+ "\t\tthis.ctx.log('INFO', 'AlertDispatch disposed');\n",
+ "\t}\n",
+ "\n",
+ "\troot = { dispatchAlert: this.dispatchAlert };\n",
+ "}\n",
+ "console.log('AlertDispatch defined');"
]
},
{
"cell_type": "markdown",
- "id": "24357da1",
+ "id": "c14",
"metadata": {},
"source": [
- "All modules needed are implemented. The final step is to put them together and design the loader. Firstly, we gather all the orchestration results, you can hover above the types to see the orchestration definition."
+ "### Facade\n",
+ "\n",
+ "The facade declares the module array, derives the combined options type and the full context type, creates the context, assigns runtime options, starts the modules, and exposes root APIs on itself."
]
},
{
"cell_type": "code",
- "execution_count": 10,
- "id": "ed65b2ba",
+ "execution_count": 4,
+ "id": "c15",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
- "Orchestration finished!\n"
+ "PolisAlert facade defined\n"
]
}
],
"source": [
- "const allModules = [CoreLogging, AlertDispatch];\n",
+ "const allModules = [CoreLogging, AlertDispatch] as const;\n",
"type AllModules = typeof allModules;\n",
"\n",
- "// final orchestrated types\n",
- "type AllOptions = OptionsOrchestratable;\n",
- "type AllAugmentation = AugmentationOrchestratable;\n",
- "\n",
- "console.log('Orchestration finished!');"
- ]
- },
- {
- "cell_type": "markdown",
- "id": "c7be43ce",
- "metadata": {},
- "source": [
- "The loader needs to provide all of the functionalities below:\n",
+ "type Context = ConstructContext;\n",
+ "type AllOptions = MergeSingleKey;\n",
"\n",
- "- application lifecycle hooks\n",
- "- receive configuration\n",
- "- being augmented to behave as a facade between the application and the consumer\n",
- "- DI container that registers all of the modules"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 11,
- "id": "eae9b1fd",
- "metadata": {},
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Loader loaded!\n"
- ]
- }
- ],
- "source": [
- "class Loader {\n",
- "\tprivate onDispose = makeHook(true);\n",
- "\tprivate onStart = makeHook();\n",
+ "class PolisAlert {\n",
+ "\tprivate ctx?: Context;\n",
"\n",
- "\toptions: AllOptions;\n",
+ "\tdispatchAlert: Context['dispatchAlert'];\n",
+ "\tlog: Context['log'];\n",
+ "\tlogs: Context['logs'];\n",
"\n",
- "\tcontainer: Container;\n",
+ "\tconstructor(public options: AllOptions) {\n",
+ "\t\tthis.ctx = createContext(allModules, {\n",
+ "\t\t\tmergeKeys: ['options', 'root'],\n",
+ "\t\t}).__assign__({ options });\n",
"\n",
- "\tprivate augment = (aug: GeneralObject) => {\n",
- "\t\tconst descriptors = Object.getOwnPropertyDescriptors(aug);\n",
- "\t\tObject.defineProperties(this, descriptors);\n",
- "\t};\n",
+ "\t\tfor (const ctor of allModules) this.ctx.__getModule__(ctor).onStart();\n",
"\n",
- "\tconstructor(options: AllOptions) {\n",
- "\t\tthis.container = new Container();\n",
- "\t\tthis.options = options;\n",
- "\n",
- "\t\tconst bind = (Module: GeneralModuleCtor) => {\n",
- "\t\t\tthis.container.bind({\n",
- "\t\t\t\tprovide: Module,\n",
- "\t\t\t\tuseFactory: () =>\n",
- "\t\t\t\t\tnew Module(\n",
- "\t\t\t\t\t\tthis.container,\n",
- "\t\t\t\t\t\tthis.options,\n",
- "\t\t\t\t\t\tthis.onStart,\n",
- "\t\t\t\t\t\tthis.onDispose,\n",
- "\t\t\t\t\t\tthis.augment,\n",
- "\t\t\t\t\t),\n",
- "\t\t\t});\n",
- "\t\t};\n",
- "\t\tallModules.forEach(bind);\n",
- "\t\tallModules.forEach((Module: GeneralModuleCtor) => {\n",
- "\t\t\tthis.container.get(Module);\n",
- "\t\t});\n",
- "\t\tthis.onStart();\n",
+ "\t\t// Root API exposure\n",
+ "\t\tthis.dispatchAlert = this.ctx.dispatchAlert;\n",
+ "\t\tthis.log = this.ctx.log;\n",
+ "\t\tthis.logs = this.ctx.logs;\n",
"\t}\n",
"\n",
"\tdispose = () => {\n",
- "\t\tthis.onDispose();\n",
- "\t\tthis.container.unbindAll();\n",
+ "\t\tfor (const ctor of allModules.toReversed()) this.ctx?.__getModule__(ctor).onDispose();\n",
+ "\t\tthis.ctx = undefined;\n",
"\t};\n",
"}\n",
- "\n",
- "console.log('Loader loaded!');"
+ "console.log('PolisAlert facade defined');"
]
},
{
"cell_type": "markdown",
- "id": "6fc54279",
+ "id": "c16",
"metadata": {},
"source": [
- "It's not enough if we stop at the loader, since although the augmentation has injected into the loader, TypeScript doesn't know about it in the types of the loader.\n",
+ "### Running it\n",
"\n",
- "The final step is to tell TypeScript about the augmentation."
+ "The consumer creates a `PolisAlert` with type-safe options from both modules, calls `log` and `dispatchAlert` directly on the facade, and disposes when done."
]
},
{
"cell_type": "code",
- "execution_count": 12,
- "id": "3e4f30c5",
- "metadata": {},
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "PolisAlert augmented!\n"
- ]
- }
- ],
- "source": [
- "type LoaderType = new (\n",
- "\t...args: ConstructorParameters\n",
- ") => Loader & AllAugmentation;\n",
- "\n",
- "// not every type assertion harms type safety, this one enhances type safety\n",
- "const PolisAlert = Loader as LoaderType;\n",
- "\n",
- "console.log('PolisAlert augmented!');"
- ]
- },
- {
- "cell_type": "markdown",
- "id": "bb4d5fa4",
- "metadata": {},
- "source": [
- "We are all done! Let's test it out!\n",
- "\n",
- "### Final Result\n",
- "\n",
- "Let us create a consumer script that uses `PolisAlert` to log and alert something:"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 13,
- "id": "6752cedf",
+ "execution_count": 5,
+ "id": "c17",
"metadata": {},
"outputs": [
{
@@ -843,32 +442,28 @@
"[INFO] Application started\n",
"[INFO] Attempted dispatch: \"Hello Polis\"\n",
"[INFO] Dispatched: \"Hello Polis\"\n",
- "Dispatch result: \u001b[33mtrue\u001b[39m\n",
+ "Dispatch result: true\n",
"Audit trail: [\n",
" {\n",
- " timestamp: \u001b[33m1779457689244\u001b[39m,\n",
- " level: \u001b[32m'INFO'\u001b[39m,\n",
- " message: \u001b[32m'CoreLogging initialized'\u001b[39m\n",
- " },\n",
- " {\n",
- " timestamp: \u001b[33m1779457689245\u001b[39m,\n",
- " level: \u001b[32m'INFO'\u001b[39m,\n",
- " message: \u001b[32m'AlertDispatch initialized'\u001b[39m\n",
- " },\n",
- " {\n",
- " timestamp: \u001b[33m1779457689245\u001b[39m,\n",
- " level: \u001b[32m'INFO'\u001b[39m,\n",
- " message: \u001b[32m'Application started'\u001b[39m\n",
- " },\n",
- " {\n",
- " timestamp: \u001b[33m1779457689245\u001b[39m,\n",
- " level: \u001b[32m'INFO'\u001b[39m,\n",
- " message: \u001b[32m'Attempted dispatch: \"Hello Polis\"'\u001b[39m\n",
- " },\n",
- " {\n",
- " timestamp: \u001b[33m1779457689245\u001b[39m,\n",
- " level: \u001b[32m'INFO'\u001b[39m,\n",
- " message: \u001b[32m'Dispatched: \"Hello Polis\"'\u001b[39m\n",
+ " timestamp: 1791778137698,\n",
+ " level: \"INFO\",\n",
+ " message: \"CoreLogging initialized\",\n",
+ " }, {\n",
+ " timestamp: 1791778137698,\n",
+ " level: \"INFO\",\n",
+ " message: \"AlertDispatch initialized\",\n",
+ " }, {\n",
+ " timestamp: 1791778137698,\n",
+ " level: \"INFO\",\n",
+ " message: \"Application started\",\n",
+ " }, {\n",
+ " timestamp: 1791778137699,\n",
+ " level: \"INFO\",\n",
+ " message: \"Attempted dispatch: \\\"Hello Polis\\\"\",\n",
+ " }, {\n",
+ " timestamp: 1791778137699,\n",
+ " level: \"INFO\",\n",
+ " message: \"Dispatched: \\\"Hello Polis\\\"\",\n",
" }\n",
"]\n",
"[INFO] AlertDispatch disposed\n",
@@ -877,7 +472,6 @@
}
],
"source": [
- "// all options naturally orchestrated here with correct types\n",
"const app = new PolisAlert({\n",
"\tappName: 'PolisAlert',\n",
"\tdebug: true,\n",
@@ -887,37 +481,40 @@
"\tmaxMessageLength: 280,\n",
"});\n",
"\n",
- "// type-safe access to augmented methods\n",
"app.log('INFO', 'Application started');\n",
"\n",
"const success = await app.dispatchAlert('Hello Polis');\n",
"console.log('Dispatch result:', success);\n",
"\n",
- "// access orchestrated state\n",
"console.log('Audit trail:', app.logs);\n",
"\n",
- "// cleanup\n",
"app.dispose();"
]
},
{
"cell_type": "markdown",
- "id": "2491565f",
+ "id": "c18",
"metadata": {},
"source": [
- "Everything works as if you were using a monolith! Despite its highly modular nature.\n",
- "\n",
- "You can adjust the options or log and alert more in the cell above to see what will happen. You can even remove `AlertDispatch` module from `allModules`, the logger will still work fine, you simply won't use any alerts.\n",
+ "## When to use SynthKernel\n",
"\n",
- "Moreover, with SynthKernel paradigm, the friction of adding a new module becomes trivial. You can even expose necessary types and the base module to the user to enable easy customization.\n",
+ "SynthKernel fits single-state applications: CLI tools, compilers, rich desktop clients, plugin frameworks, build systems. These share a long-lived context where modules collaborate through stable APIs.\n",
"\n",
- "## Final Words\n",
+ "Multi-request servers work too. The context is an API pool, not mutable runtime state. Request-scoped data comes from factories exposed through `root`. Concurrent requests share stable APIs without racing.\n",
"\n",
- "Isn't SynthKernel awesome? You've just seen a demo of how modules can work seamlessly together and removing a module even doesn't break anything. Everything is structured and clear, no more \"spaghetti\" created.\n",
+ "For small projects (under a few hundred lines), a single file is simpler. SynthKernel's composition overhead benefits when you have enough modules that wiring them by hand becomes error-prone."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "id": "c19",
+ "metadata": {},
+ "source": [
+ "## Closing\n",
"\n",
- "Maybe you'll say \"Ah, I'd like to make `PolisAlert` just a monolith within a single file. There's too much boilerplate to do that in your way\".\n",
+ "The example composes two modules into a facade with full type safety, lifecycle management, and inter-module communication. The facade exposes three methods. Each module declares only what it needs. The options type is derived from the modules, not written by hand.\n",
"\n",
- "Yes, absolutely. For small scripts, `SynthKernel` is an overkill. But `PolisAlert` is a simple example whose scale is deliberately designed to be small. In real production, when you have tens of modules with 1000+ lines of code, you'll find how `SynthKernel` can make your coding much easier."
+ "SynthKernel's contribution is the composition mechanism: `createContext`, the merge flow, and the type utilities. Everything else in the example is application code in plain classes. You write the modules. SynthKernel composes them."
]
}
],
diff --git a/whitepaper.md b/whitepaper.md
new file mode 100644
index 0000000..eefe2ff
--- /dev/null
+++ b/whitepaper.md
@@ -0,0 +1,332 @@
+# SynthKernel
+
+SynthKernel is a TypeScript module composition architecture built on a single function: `createContext`. It takes an ordered array of module classes, instantiates each with a shared context object, merges the keys they contribute, and injects the result back. Modules are plain classes receiving a single context constructor parameter.
+
+The package ships `createContext`, two type utilities (`MergeSingleKey` and `Context`), and three reactive primitives (`ref`, `computed`, `hook`). You build everything else (event systems, registries, schedulers, plugin management) as modules on top of the same primitive.
+
+## The problem
+
+When you build a modular TypeScript application, you typically reach for a dependency injection framework. DI frameworks bring containers, decorators, lifecycle managers, and sometimes their own plugin ecosystems. They solve real problems, but they also impose their own architecture on yours.
+
+SynthKernel starts from a different premise. One function composes plain classes into a shared, type-safe context. The context is an API pool where modules put their public methods in, and read what they need from siblings. The class that calls `createContext` becomes a facade, exposing those methods to consumer code.
+
+## The model
+
+A SynthKernel application is a tree of contexts. Each context is created by `createContext` and holds a flat set of module APIs. Modules are the leaves; a context is the branch that groups them.
+
+```mermaid
+flowchart TD
+ ctx[Context / Facade]
+ mod1[Module]
+ mod2[Module]
+ mod3[Module - nested context]
+ sub1[Sub-module]
+ sub2[Sub-module]
+
+ ctx --> mod1
+ ctx --> mod2
+ ctx --> mod3
+ mod3 --> sub1
+ mod3 --> sub2
+```
+
+Three roles:
+
+- A module is a plain class. It receives context in its constructor and contributes public APIs through a `root` property.
+- A context is the object `createContext` returns. The class that creates it acts as a facade for consumer code.
+- A nested context is a module that creates its own `createContext` internally, grouping related modules and plumbing parent APIs down as `preMerge`.
+
+A context with five modules does not need a sub-context. A context with thirty might. The tree grows when a module's responsibilities expand beyond what one class should hold.
+
+Information flows bidirectionally through this tree. Raw infrastructure and module instantiation order flow down. Module APIs and type declarations flow up. A module accesses siblings through the injected context. A parent feeds a child context through `preMerge`. Every dependency is visible in constructor signatures and `preMerge` calls.
+
+## How composition works
+
+`createContext(classes, options)` returns a context object. The `classes` array is ordered: each module is instantiated in sequence, receiving the context built so far. The `options` control what gets merged and injected back.
+
+```typescript
+createContext([ModuleA, ModuleB], {
+ mergeKeys: ['options', 'root'], // keys pulled from each instance into context
+ injectKeys: ['options', 'root'], // keys written back to instances (defaults to mergeKeys)
+ preMerge: { baseUrl: '...' }, // values available before any module constructs
+ postMerge: { version: 3 }, // values merged after all modules, before injection
+});
+```
+
+The merge runs in four phases:
+
+1. `preMerge` values are merged into the empty context. These are available to every module's constructor.
+2. Each module is instantiated with the context so far, and its `mergeKeys` are pulled out and merged in. The `root` key is special: its contents flatten into the context root, so `context.someMethod` works instead of `context.root.someMethod`.
+3. `postMerge` values are merged on top.
+4. `injectKeys` are written back to every instance. A module that declares `options` receives the fully merged options object, not just its own slice.
+
+The returned context also carries three non-enumerable helpers: `__getModule__(ctor)` returns a module instance by constructor, `__assign__(obj)` merges values into the context after creation, and `__addModule__(ctor)` dynamically adds a module at runtime.
+
+## Modules
+
+A module is a plain class. The constructor takes whatever the module needs from the context, typed structurally:
+
+```typescript
+class MyModule {
+ declare options: { myOption: string }; // type-only: context injects runtime value
+ constructor(private readonly ctx: { neededApi: () => void }) {}
+ root = { myMethod: this.myMethod }; // flattens into context root
+}
+```
+
+`declare` marks a type-only contribution. The property has no runtime value; `createContext` injects the merged result via `injectKeys`. The module reads the full combined type at runtime with full type safety.
+
+Structural constructor typing means the module declares only the keys it uses. This decouples modules from each other and from the full context shape. In tests, you pass a plain object with mock implementations and the module cannot tell the difference.
+
+`root` is the module's public API. Its contents flatten into the context root level, so `context.myMethod()` works instead of `context.root.myMethod()`.
+
+## Type orchestration
+
+When each module declares its own `options` slice, the facade needs to combine them into one type. SynthKernel ships two utilities for this.
+
+`MergeSingleKey` takes the module array type and a key name, and produces the merged type of that key across all modules. If `CoreLogging` declares `options: { logLevel: Level }` and `AlertDispatch` declares `options: { minMessageLength: number }`, the result is `{ logLevel: Level; minMessageLength: number }`.
+
+`Context` produces the full context type after merging all specified keys from all modules, including the flattened `root`. The facade uses this to type its private context reference and to expose root APIs on itself.
+
+Both are re-exported from the facade so consumer code and external packages use the same orchestrated types.
+
+## Scaling
+
+When a module list grows too long, group related modules into a nested context. A module creates its own `createContext` internally and plumbs parent APIs down through `preMerge`:
+
+```typescript
+class NetworkModule {
+ private subCtx;
+
+ constructor(ctx: { log: (msg: string) => void; baseUrl: string }) {
+ this.subCtx = createContext([HttpModule, WsModule], {
+ mergeKeys: ['root'],
+ preMerge: { log: ctx.log, baseUrl: ctx.baseUrl },
+ });
+ for (const ctor of [HttpModule, WsModule]) this.subCtx.__getModule__(ctor).onStart();
+ }
+
+ root = { ...this.subCtx };
+
+ onDispose() {
+ for (const ctor of [HttpModule, WsModule].reverse())
+ this.subCtx.__getModule__(ctor).onDispose();
+ }
+}
+```
+
+Sub-context modules see only the plumbed parent APIs and their own siblings. The parent context sees whatever the nested module exposes through `root`.
+
+A second scaling tool is interception. Because modules are instantiated in order and share the same context object, a module later in the array can wrap an earlier module's API in its constructor. This is how middleware works in SynthKernel: logging, caching, and auth wrapping are all modules placed after the module they wrap.
+
+## Example: PolisAlert
+
+PolisAlert is a logging and alerting service built from two modules:
+
+- `CoreLogging` provides configurable, leveled logging with an audit trail.
+- `AlertDispatch` validates alert messages and dispatches them to an external service.
+
+```mermaid
+flowchart TD
+ ctx[PolisAlert facade]
+ mod1[CoreLogging]
+ mod2[AlertDispatch]
+
+ ctx --> mod1
+ ctx --> mod2
+```
+
+`CoreLogging` exposes `log` and `logs` through `root`. `AlertDispatch` needs `log` from its sibling, so it declares it in its constructor. The facade merges both modules' `options` into one type-safe configuration object.
+
+```typescript
+import type { MergeSingleKey, Context as ConstructContext, Hook } from 'synthkernel';
+import { createContext, hook } from 'synthkernel';
+console.log('SynthKernel imported');
+```
+
+### CoreLogging
+
+CoreLogging contributes two options (`logLevel` and `maxLogs`), exposes `log`, `logs`, and `onLogOverflow` through `root`, and logs to the console based on the configured level. The `onLogOverflow` hook fires when the log buffer exceeds `maxLogs` and the oldest entry is dropped.
+
+```typescript
+const LEVELS = { DEBUG: 0, INFO: 1, WARN: 2, ERROR: 3 } as const;
+type Level = keyof typeof LEVELS;
+
+interface LogEntry {
+ timestamp: number;
+ level: Level;
+ message: string;
+}
+
+interface BaseOptions {
+ appName: string;
+ debug?: boolean;
+}
+
+class CoreLogging {
+ private logs: LogEntry[] = [];
+ private readonly onOverflow = hook<[LogEntry]>();
+
+ declare options: { logLevel: Level; maxLogs?: number } & BaseOptions;
+
+ private readonly log = (level: Level, message: string) => {
+ const currentLevel = LEVELS[level];
+ const minLevel = LEVELS[this.options.logLevel] ?? 0;
+ if (currentLevel < minLevel) return;
+ const entry: LogEntry = { timestamp: Date.now(), level, message };
+ const maxLogs = this.options.maxLogs ?? 1000;
+ if (this.logs.length >= maxLogs) this.onOverflow(this.logs.shift()!);
+ this.logs.push(entry);
+ console.log(`[${level}] ${message}`);
+ };
+
+ onStart() {
+ this.log('INFO', 'CoreLogging initialized');
+ }
+ onDispose() {
+ this.log('INFO', 'CoreLogging disposed');
+ this.logs = [];
+ }
+
+ root = {
+ log: this.log,
+ logs: this.logs,
+ onLogOverflow: this.onOverflow,
+ };
+}
+console.log('CoreLogging defined');
+```
+
+### AlertDispatch
+
+AlertDispatch needs `log` from CoreLogging and `onLogOverflow` to react when logs are dropped. It declares both in its constructor, structurally typed. It does not import `CoreLogging` or know about the full context.
+
+```typescript
+class AlertDispatch {
+ private readonly unsub: () => void;
+
+ declare options: {
+ minMessageLength: number;
+ maxMessageLength: number;
+ };
+
+ constructor(
+ private readonly ctx: {
+ log: (level: Level, msg: string) => void;
+ onLogOverflow: Hook<[LogEntry]>;
+ },
+ ) {
+ this.unsub = ctx.onLogOverflow.subscribe((log) =>
+ this.dispatchAlert(`Log overflow: ${JSON.stringify(log)}`),
+ );
+ }
+
+ dispatchAlert = async (message: string): Promise => {
+ this.ctx.log('INFO', `Attempted dispatch: "${message}"`);
+ const { minMessageLength, maxMessageLength } = this.options;
+ if (message.length < minMessageLength) {
+ this.ctx.log('ERROR', `Validation failed: message too short (min: ${minMessageLength})`);
+ return false;
+ }
+ if (message.length > maxMessageLength) {
+ this.ctx.log('ERROR', `Validation failed: message too long (max: ${maxMessageLength})`);
+ return false;
+ }
+ await this.connectAlertService(message);
+ return true;
+ };
+
+ private readonly connectAlertService = async (alert: string) => {
+ this.ctx.log('INFO', `Dispatched: "${alert}"`);
+ await new Promise((resolve) => setTimeout(resolve, 10));
+ };
+
+ onStart() {
+ this.ctx.log('INFO', 'AlertDispatch initialized');
+ }
+ onDispose() {
+ this.unsub();
+ this.ctx.log('INFO', 'AlertDispatch disposed');
+ }
+
+ root = { dispatchAlert: this.dispatchAlert };
+}
+console.log('AlertDispatch defined');
+```
+
+### Facade
+
+The facade declares the module array, derives the combined options type and the full context type, creates the context, assigns runtime options, starts the modules, and exposes root APIs on itself.
+
+```typescript
+const allModules = [CoreLogging, AlertDispatch] as const;
+type AllModules = typeof allModules;
+
+type Context = ConstructContext;
+type AllOptions = MergeSingleKey;
+
+class PolisAlert {
+ private ctx?: Context;
+
+ dispatchAlert: Context['dispatchAlert'];
+ log: Context['log'];
+ logs: Context['logs'];
+
+ constructor(public options: AllOptions) {
+ this.ctx = createContext(allModules, {
+ mergeKeys: ['options', 'root'],
+ }).__assign__({ options });
+
+ for (const ctor of allModules) this.ctx.__getModule__(ctor).onStart();
+
+ // Root API exposure
+ this.dispatchAlert = this.ctx.dispatchAlert;
+ this.log = this.ctx.log;
+ this.logs = this.ctx.logs;
+ }
+
+ dispose = () => {
+ for (const ctor of allModules.toReversed()) this.ctx?.__getModule__(ctor).onDispose();
+ this.ctx = undefined;
+ };
+}
+console.log('PolisAlert facade defined');
+```
+
+### Running it
+
+The consumer creates a `PolisAlert` with type-safe options from both modules, calls `log` and `dispatchAlert` directly on the facade, and disposes when done.
+
+```typescript
+const app = new PolisAlert({
+ appName: 'PolisAlert',
+ debug: true,
+ logLevel: 'DEBUG',
+ maxLogs: 500,
+ minMessageLength: 1,
+ maxMessageLength: 280,
+});
+
+app.log('INFO', 'Application started');
+
+const success = await app.dispatchAlert('Hello Polis');
+console.log('Dispatch result:', success);
+
+console.log('Audit trail:', app.logs);
+
+app.dispose();
+```
+
+## When to use SynthKernel
+
+SynthKernel fits single-state applications: CLI tools, compilers, rich desktop clients, plugin frameworks, build systems. These share a long-lived context where modules collaborate through stable APIs.
+
+Multi-request servers work too. The context is an API pool, not mutable runtime state. Request-scoped data comes from factories exposed through `root`. Concurrent requests share stable APIs without racing.
+
+For small projects (under a few hundred lines), a single file is simpler. SynthKernel's composition overhead benefits when you have enough modules that wiring them by hand becomes error-prone.
+
+## Closing
+
+The example composes two modules into a facade with full type safety, lifecycle management, and inter-module communication. The facade exposes three methods. Each module declares only what it needs. The options type is derived from the modules, not written by hand.
+
+SynthKernel's contribution is the composition mechanism: `createContext`, the merge flow, and the type utilities. Everything else in the example is application code in plain classes. You write the modules. SynthKernel composes them.
|