pome-sh 0.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +205 -0
- package/README.md +68 -0
- package/dist/build-info.json +6 -0
- package/dist/examples/agents/llm-refund-agent.d.ts +1 -0
- package/dist/examples/agents/llm-refund-agent.js +140 -0
- package/dist/examples/agents/llm-triage-agent.d.ts +1 -0
- package/dist/examples/agents/llm-triage-agent.js +136 -0
- package/dist/examples/agents/mcp-loop-agent.d.ts +1 -0
- package/dist/examples/agents/mcp-loop-agent.js +61 -0
- package/dist/examples/agents/scripted-pr-reviewer-agent.d.ts +1 -0
- package/dist/examples/agents/scripted-pr-reviewer-agent.js +77 -0
- package/dist/examples/agents/scripted-triage-agent.d.ts +1 -0
- package/dist/examples/agents/scripted-triage-agent.js +92 -0
- package/dist/src/capture-server/egress.d.ts +19 -0
- package/dist/src/capture-server/egress.js +152 -0
- package/dist/src/capture-server/index.d.ts +12 -0
- package/dist/src/capture-server/index.js +198 -0
- package/dist/src/capture-server/run.d.ts +7 -0
- package/dist/src/capture-server/run.js +26 -0
- package/dist/src/cli/compile-seeds.d.ts +7 -0
- package/dist/src/cli/compile-seeds.js +214 -0
- package/dist/src/cli/credentials.d.ts +28 -0
- package/dist/src/cli/credentials.js +113 -0
- package/dist/src/cli/default-task.d.ts +38 -0
- package/dist/src/cli/default-task.js +141 -0
- package/dist/src/cli/defaults.d.ts +4 -0
- package/dist/src/cli/defaults.js +5 -0
- package/dist/src/cli/docs-topics.d.ts +13 -0
- package/dist/src/cli/docs-topics.js +116 -0
- package/dist/src/cli/docs.d.ts +7 -0
- package/dist/src/cli/docs.js +178 -0
- package/dist/src/cli/eval.d.ts +76 -0
- package/dist/src/cli/eval.js +416 -0
- package/dist/src/cli/init-sdk.d.ts +15 -0
- package/dist/src/cli/init-sdk.js +47 -0
- package/dist/src/cli/install.d.ts +30 -0
- package/dist/src/cli/install.js +233 -0
- package/dist/src/cli/keychain.d.ts +5 -0
- package/dist/src/cli/keychain.js +80 -0
- package/dist/src/cli/login.d.ts +6 -0
- package/dist/src/cli/login.js +195 -0
- package/dist/src/cli/main.d.ts +3 -0
- package/dist/src/cli/main.js +966 -0
- package/dist/src/cli/project-config.d.ts +22 -0
- package/dist/src/cli/project-config.js +71 -0
- package/dist/src/cli/register.d.ts +8 -0
- package/dist/src/cli/register.js +79 -0
- package/dist/src/cli/resolve-package-root.d.ts +2 -0
- package/dist/src/cli/resolve-package-root.js +20 -0
- package/dist/src/cli/scenarios-catalog.d.ts +25 -0
- package/dist/src/cli/scenarios-catalog.js +146 -0
- package/dist/src/cli/scenarios.d.ts +13 -0
- package/dist/src/cli/scenarios.js +144 -0
- package/dist/src/cli/session.d.ts +19 -0
- package/dist/src/cli/session.js +201 -0
- package/dist/src/cli/skills.d.ts +8 -0
- package/dist/src/cli/skills.js +141 -0
- package/dist/src/demo/agent.d.ts +30 -0
- package/dist/src/demo/agent.js +231 -0
- package/dist/src/demo/capacity.d.ts +18 -0
- package/dist/src/demo/capacity.js +94 -0
- package/dist/src/demo/first-run-demo.md +67 -0
- package/dist/src/demo/first-run-demo.seed.json +60 -0
- package/dist/src/demo/gateway.d.ts +66 -0
- package/dist/src/demo/gateway.js +76 -0
- package/dist/src/demo/ids.d.ts +4 -0
- package/dist/src/demo/ids.js +28 -0
- package/dist/src/demo/mint.d.ts +17 -0
- package/dist/src/demo/mint.js +78 -0
- package/dist/src/demo/proxyRequest.d.ts +21 -0
- package/dist/src/demo/proxyRequest.js +156 -0
- package/dist/src/demo/render.d.ts +32 -0
- package/dist/src/demo/render.js +96 -0
- package/dist/src/demo/runDemo.d.ts +33 -0
- package/dist/src/demo/runDemo.js +263 -0
- package/dist/src/demo/task.d.ts +10 -0
- package/dist/src/demo/task.js +32 -0
- package/dist/src/doctor/checks.d.ts +19 -0
- package/dist/src/doctor/checks.js +197 -0
- package/dist/src/doctor/render.d.ts +8 -0
- package/dist/src/doctor/render.js +32 -0
- package/dist/src/doctor/scan.d.ts +16 -0
- package/dist/src/doctor/scan.js +124 -0
- package/dist/src/fix-prompt/index.d.ts +20 -0
- package/dist/src/fix-prompt/index.js +31 -0
- package/dist/src/fix-prompt/prompt.d.ts +32 -0
- package/dist/src/fix-prompt/prompt.js +240 -0
- package/dist/src/fix-prompt/prompts/fix-prompt-v1.md +30 -0
- package/dist/src/hosted/client.d.ts +152 -0
- package/dist/src/hosted/client.js +312 -0
- package/dist/src/hosted/errors.d.ts +36 -0
- package/dist/src/hosted/errors.js +91 -0
- package/dist/src/hosted/uploadAndFinalize.d.ts +52 -0
- package/dist/src/hosted/uploadAndFinalize.js +159 -0
- package/dist/src/recorder/artifacts.d.ts +37 -0
- package/dist/src/recorder/artifacts.js +121 -0
- package/dist/src/recorder/inspect.d.ts +37 -0
- package/dist/src/recorder/inspect.js +177 -0
- package/dist/src/recorder/recorder.d.ts +3 -0
- package/dist/src/recorder/recorder.js +16 -0
- package/dist/src/recorder/redaction.d.ts +2 -0
- package/dist/src/recorder/redaction.js +87 -0
- package/dist/src/recorder/verdictArtifact.d.ts +71 -0
- package/dist/src/recorder/verdictArtifact.js +207 -0
- package/dist/src/runner/agentRunner.d.ts +12 -0
- package/dist/src/runner/agentRunner.js +158 -0
- package/dist/src/runner/captureServerChild.d.ts +16 -0
- package/dist/src/runner/captureServerChild.js +148 -0
- package/dist/src/runner/groupRender.d.ts +53 -0
- package/dist/src/runner/groupRender.js +115 -0
- package/dist/src/runner/mergeAdapterSignals.d.ts +4 -0
- package/dist/src/runner/mergeAdapterSignals.js +95 -0
- package/dist/src/runner/ports.d.ts +1 -0
- package/dist/src/runner/ports.js +18 -0
- package/dist/src/runner/runScenario.d.ts +115 -0
- package/dist/src/runner/runScenario.js +204 -0
- package/dist/src/runner/runScenarioCore.d.ts +21 -0
- package/dist/src/runner/runScenarioCore.js +26 -0
- package/dist/src/runner/runScenarioHosted.d.ts +50 -0
- package/dist/src/runner/runScenarioHosted.js +375 -0
- package/dist/src/runner/runTrialGroup.d.ts +42 -0
- package/dist/src/runner/runTrialGroup.js +173 -0
- package/dist/src/runner/trialCount.d.ts +8 -0
- package/dist/src/runner/trialCount.js +32 -0
- package/dist/src/scaffolds/mcp-loop/loop.d.ts +47 -0
- package/dist/src/scaffolds/mcp-loop/loop.js +331 -0
- package/dist/src/scaffolds/mcp-loop/providers.d.ts +29 -0
- package/dist/src/scaffolds/mcp-loop/providers.js +142 -0
- package/dist/src/scenario/parseScenario.d.ts +4 -0
- package/dist/src/scenario/parseScenario.js +173 -0
- package/dist/src/scenario/scenarioSchema.d.ts +278 -0
- package/dist/src/scenario/scenarioSchema.js +88 -0
- package/dist/src/scenario/seed-compiler-hosted.d.ts +8 -0
- package/dist/src/scenario/seed-compiler-hosted.js +122 -0
- package/dist/src/scenario/seed-compiler.d.ts +11 -0
- package/dist/src/scenario/seed-compiler.js +60 -0
- package/dist/src/scenario/seed-verifier.d.ts +1 -0
- package/dist/src/scenario/seed-verifier.js +23 -0
- package/dist/src/score/view.d.ts +38 -0
- package/dist/src/score/view.js +59 -0
- package/dist/src/twin/github/app.d.ts +10 -0
- package/dist/src/twin/github/app.js +316 -0
- package/dist/src/twin/github/db/migrations.d.ts +2 -0
- package/dist/src/twin/github/db/migrations.js +64 -0
- package/dist/src/twin/github/db/openDatabase.d.ts +2 -0
- package/dist/src/twin/github/db/openDatabase.js +13 -0
- package/dist/src/twin/github/db/queries.d.ts +77 -0
- package/dist/src/twin/github/db/queries.js +93 -0
- package/dist/src/twin/github/domain/seed.d.ts +74 -0
- package/dist/src/twin/github/domain/seed.js +104 -0
- package/dist/src/twin/github/domain/serializers.d.ts +113 -0
- package/dist/src/twin/github/domain/serializers.js +76 -0
- package/dist/src/twin/github/types.d.ts +66 -0
- package/dist/src/twin/github/types.js +1 -0
- package/dist/src/twin/githubCloneAdapter.d.ts +69 -0
- package/dist/src/twin/githubCloneAdapter.js +19 -0
- package/dist/src/twin/twinHarness.d.ts +29 -0
- package/dist/src/twin/twinHarness.js +118 -0
- package/dist/src/twin-github/app.d.ts +9 -0
- package/dist/src/twin-github/app.js +327 -0
- package/dist/src/twin-github/auth.d.ts +16 -0
- package/dist/src/twin-github/auth.js +142 -0
- package/dist/src/twin-github/build-info.d.ts +7 -0
- package/dist/src/twin-github/build-info.js +52 -0
- package/dist/src/twin-github/db.d.ts +4 -0
- package/dist/src/twin-github/db.js +362 -0
- package/dist/src/twin-github/domain.d.ts +1649 -0
- package/dist/src/twin-github/domain.js +957 -0
- package/dist/src/twin-github/errors.d.ts +14 -0
- package/dist/src/twin-github/errors.js +34 -0
- package/dist/src/twin-github/index.d.ts +9 -0
- package/dist/src/twin-github/index.js +7 -0
- package/dist/src/twin-github/mcp.d.ts +17 -0
- package/dist/src/twin-github/mcp.js +281 -0
- package/dist/src/twin-github/recorder.d.ts +2 -0
- package/dist/src/twin-github/recorder.js +29 -0
- package/dist/src/twin-github/seed.d.ts +74 -0
- package/dist/src/twin-github/seed.js +107 -0
- package/dist/src/twin-github/serializers.d.ts +449 -0
- package/dist/src/twin-github/serializers.js +429 -0
- package/dist/src/twin-github/server.d.ts +1 -0
- package/dist/src/twin-github/server.js +34 -0
- package/dist/src/twin-github/tools.d.ts +1545 -0
- package/dist/src/twin-github/tools.js +347 -0
- package/dist/src/twin-github/types.d.ts +198 -0
- package/dist/src/twin-github/types.js +1 -0
- package/dist/src/twin-github/unsupported-envelope.d.ts +10 -0
- package/dist/src/twin-github/unsupported-envelope.js +29 -0
- package/dist/src/twin-github/util.d.ts +13 -0
- package/dist/src/twin-github/util.js +61 -0
- package/dist/src/twin-slack/app.d.ts +17 -0
- package/dist/src/twin-slack/app.js +683 -0
- package/dist/src/twin-slack/auth.d.ts +38 -0
- package/dist/src/twin-slack/auth.js +219 -0
- package/dist/src/twin-slack/build-info.d.ts +7 -0
- package/dist/src/twin-slack/build-info.js +9 -0
- package/dist/src/twin-slack/db.d.ts +4 -0
- package/dist/src/twin-slack/db.js +213 -0
- package/dist/src/twin-slack/domain.d.ts +236 -0
- package/dist/src/twin-slack/domain.js +1293 -0
- package/dist/src/twin-slack/errors.d.ts +16 -0
- package/dist/src/twin-slack/errors.js +60 -0
- package/dist/src/twin-slack/index.d.ts +8 -0
- package/dist/src/twin-slack/index.js +8 -0
- package/dist/src/twin-slack/mcp.d.ts +17 -0
- package/dist/src/twin-slack/mcp.js +226 -0
- package/dist/src/twin-slack/recorder.d.ts +2 -0
- package/dist/src/twin-slack/recorder.js +15 -0
- package/dist/src/twin-slack/seed.d.ts +49 -0
- package/dist/src/twin-slack/seed.js +139 -0
- package/dist/src/twin-slack/serializers.d.ts +141 -0
- package/dist/src/twin-slack/serializers.js +377 -0
- package/dist/src/twin-slack/tools.d.ts +97 -0
- package/dist/src/twin-slack/tools.js +171 -0
- package/dist/src/twin-slack/types.d.ts +164 -0
- package/dist/src/twin-slack/types.js +1 -0
- package/dist/src/twin-slack/unsupported-envelope.d.ts +12 -0
- package/dist/src/twin-slack/unsupported-envelope.js +61 -0
- package/dist/src/twin-slack/upstream-types.d.ts +19 -0
- package/dist/src/twin-slack/upstream-types.js +1 -0
- package/dist/src/twin-slack/util.d.ts +31 -0
- package/dist/src/twin-slack/util.js +136 -0
- package/dist/src/types/shared.d.ts +379 -0
- package/dist/src/types/shared.js +229 -0
- package/examples/agents/llm-refund-agent.ts +150 -0
- package/examples/agents/llm-triage-agent.ts +145 -0
- package/examples/agents/mcp-loop-agent.ts +81 -0
- package/examples/agents/scripted-pr-reviewer-agent.ts +99 -0
- package/examples/agents/scripted-triage-agent.ts +116 -0
- package/node_modules/@pome-sh/shared-types/dist/github-access-control.d.ts +175 -0
- package/node_modules/@pome-sh/shared-types/dist/github-access-control.js +182 -0
- package/node_modules/@pome-sh/shared-types/dist/github-access-control.js.map +1 -0
- package/node_modules/@pome-sh/shared-types/dist/index.d.ts +1371 -0
- package/node_modules/@pome-sh/shared-types/dist/index.js +636 -0
- package/node_modules/@pome-sh/shared-types/dist/index.js.map +1 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/event-schema.d.ts +286 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js +33 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js.map +1 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.d.ts +65 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js +455 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js.map +1 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.d.ts +39 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js +47 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js.map +1 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/index.d.ts +25 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/index.js +27 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/index.js.map +1 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.d.ts +100 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js +185 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js.map +1 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/map-span.d.ts +64 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/map-span.js +112 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/map-span.js.map +1 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/nano.d.ts +26 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/nano.js +61 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/nano.js.map +1 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/project.d.ts +42 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/project.js +96 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/project.js.map +1 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/semconv.d.ts +51 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/semconv.js +74 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/semconv.js.map +1 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/span-event.d.ts +134 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/span-event.js +152 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/span-event.js.map +1 -0
- package/node_modules/@pome-sh/shared-types/dist/recorder-events.d.ts +418 -0
- package/node_modules/@pome-sh/shared-types/dist/recorder-events.js +234 -0
- package/node_modules/@pome-sh/shared-types/dist/recorder-events.js.map +1 -0
- package/node_modules/@pome-sh/shared-types/dist/run.d.ts +201 -0
- package/node_modules/@pome-sh/shared-types/dist/run.js +166 -0
- package/node_modules/@pome-sh/shared-types/dist/run.js.map +1 -0
- package/node_modules/@pome-sh/shared-types/dist/task-vocab.d.ts +66 -0
- package/node_modules/@pome-sh/shared-types/dist/task-vocab.js +84 -0
- package/node_modules/@pome-sh/shared-types/dist/task-vocab.js.map +1 -0
- package/node_modules/@pome-sh/shared-types/package.json +39 -0
- package/node_modules/@pome-sh/shared-types/src/github-access-control.ts +219 -0
- package/node_modules/@pome-sh/shared-types/src/index.ts +787 -0
- package/node_modules/@pome-sh/shared-types/src/otel/event-schema.ts +36 -0
- package/node_modules/@pome-sh/shared-types/src/otel/fixtures/data.ts +540 -0
- package/node_modules/@pome-sh/shared-types/src/otel/fixtures/index.ts +69 -0
- package/node_modules/@pome-sh/shared-types/src/otel/index.ts +26 -0
- package/node_modules/@pome-sh/shared-types/src/otel/legacy-shim.ts +237 -0
- package/node_modules/@pome-sh/shared-types/src/otel/map-span.ts +135 -0
- package/node_modules/@pome-sh/shared-types/src/otel/nano.ts +63 -0
- package/node_modules/@pome-sh/shared-types/src/otel/project.ts +146 -0
- package/node_modules/@pome-sh/shared-types/src/otel/semconv.ts +84 -0
- package/node_modules/@pome-sh/shared-types/src/otel/span-event.ts +177 -0
- package/node_modules/@pome-sh/shared-types/src/recorder-events.ts +268 -0
- package/node_modules/@pome-sh/shared-types/src/run.ts +191 -0
- package/node_modules/@pome-sh/shared-types/src/task-vocab.ts +86 -0
- package/node_modules/@pome-sh/twin-github/FIDELITY.md +322 -0
- package/node_modules/@pome-sh/twin-github/README.md +256 -0
- package/node_modules/@pome-sh/twin-github/dist/examples/claude-github-agent.d.ts +1 -0
- package/node_modules/@pome-sh/twin-github/dist/examples/claude-github-agent.js +238 -0
- package/node_modules/@pome-sh/twin-github/dist/examples/claude-github-agent.js.map +1 -0
- package/node_modules/@pome-sh/twin-github/dist/examples/mcp-node.d.ts +1 -0
- package/node_modules/@pome-sh/twin-github/dist/examples/mcp-node.js +15 -0
- package/node_modules/@pome-sh/twin-github/dist/examples/mcp-node.js.map +1 -0
- package/node_modules/@pome-sh/twin-github/dist/examples/mini-bot-flow.d.ts +1 -0
- package/node_modules/@pome-sh/twin-github/dist/examples/mini-bot-flow.js +39 -0
- package/node_modules/@pome-sh/twin-github/dist/examples/mini-bot-flow.js.map +1 -0
- package/node_modules/@pome-sh/twin-github/dist/src/access-control.d.ts +32 -0
- package/node_modules/@pome-sh/twin-github/dist/src/access-control.js +20 -0
- package/node_modules/@pome-sh/twin-github/dist/src/access-control.js.map +1 -0
- package/node_modules/@pome-sh/twin-github/dist/src/admin-gate.d.ts +35 -0
- package/node_modules/@pome-sh/twin-github/dist/src/admin-gate.js +116 -0
- package/node_modules/@pome-sh/twin-github/dist/src/admin-gate.js.map +1 -0
- package/node_modules/@pome-sh/twin-github/dist/src/app.d.ts +9 -0
- package/node_modules/@pome-sh/twin-github/dist/src/app.js +491 -0
- package/node_modules/@pome-sh/twin-github/dist/src/app.js.map +1 -0
- package/node_modules/@pome-sh/twin-github/dist/src/auth.d.ts +20 -0
- package/node_modules/@pome-sh/twin-github/dist/src/auth.js +116 -0
- package/node_modules/@pome-sh/twin-github/dist/src/auth.js.map +1 -0
- package/node_modules/@pome-sh/twin-github/dist/src/build-info.d.ts +7 -0
- package/node_modules/@pome-sh/twin-github/dist/src/build-info.js +10 -0
- package/node_modules/@pome-sh/twin-github/dist/src/build-info.js.map +1 -0
- package/node_modules/@pome-sh/twin-github/dist/src/db.d.ts +4 -0
- package/node_modules/@pome-sh/twin-github/dist/src/db.js +407 -0
- package/node_modules/@pome-sh/twin-github/dist/src/db.js.map +1 -0
- package/node_modules/@pome-sh/twin-github/dist/src/domain.d.ts +2696 -0
- package/node_modules/@pome-sh/twin-github/dist/src/domain.js +1518 -0
- package/node_modules/@pome-sh/twin-github/dist/src/domain.js.map +1 -0
- package/node_modules/@pome-sh/twin-github/dist/src/errors.d.ts +14 -0
- package/node_modules/@pome-sh/twin-github/dist/src/errors.js +35 -0
- package/node_modules/@pome-sh/twin-github/dist/src/errors.js.map +1 -0
- package/node_modules/@pome-sh/twin-github/dist/src/index.d.ts +9 -0
- package/node_modules/@pome-sh/twin-github/dist/src/index.js +8 -0
- package/node_modules/@pome-sh/twin-github/dist/src/index.js.map +1 -0
- package/node_modules/@pome-sh/twin-github/dist/src/mcp.d.ts +18 -0
- package/node_modules/@pome-sh/twin-github/dist/src/mcp.js +282 -0
- package/node_modules/@pome-sh/twin-github/dist/src/mcp.js.map +1 -0
- package/node_modules/@pome-sh/twin-github/dist/src/recorder.d.ts +2 -0
- package/node_modules/@pome-sh/twin-github/dist/src/recorder.js +30 -0
- package/node_modules/@pome-sh/twin-github/dist/src/recorder.js.map +1 -0
- package/node_modules/@pome-sh/twin-github/dist/src/redaction.d.ts +2 -0
- package/node_modules/@pome-sh/twin-github/dist/src/redaction.js +88 -0
- package/node_modules/@pome-sh/twin-github/dist/src/redaction.js.map +1 -0
- package/node_modules/@pome-sh/twin-github/dist/src/seed.d.ts +83 -0
- package/node_modules/@pome-sh/twin-github/dist/src/seed.js +130 -0
- package/node_modules/@pome-sh/twin-github/dist/src/seed.js.map +1 -0
- package/node_modules/@pome-sh/twin-github/dist/src/serializers.d.ts +926 -0
- package/node_modules/@pome-sh/twin-github/dist/src/serializers.js +679 -0
- package/node_modules/@pome-sh/twin-github/dist/src/serializers.js.map +1 -0
- package/node_modules/@pome-sh/twin-github/dist/src/server.d.ts +1 -0
- package/node_modules/@pome-sh/twin-github/dist/src/server.js +42 -0
- package/node_modules/@pome-sh/twin-github/dist/src/server.js.map +1 -0
- package/node_modules/@pome-sh/twin-github/dist/src/tools.d.ts +2664 -0
- package/node_modules/@pome-sh/twin-github/dist/src/tools.js +576 -0
- package/node_modules/@pome-sh/twin-github/dist/src/tools.js.map +1 -0
- package/node_modules/@pome-sh/twin-github/dist/src/types.d.ts +249 -0
- package/node_modules/@pome-sh/twin-github/dist/src/types.js +2 -0
- package/node_modules/@pome-sh/twin-github/dist/src/types.js.map +1 -0
- package/node_modules/@pome-sh/twin-github/dist/src/unsupported-envelope.d.ts +10 -0
- package/node_modules/@pome-sh/twin-github/dist/src/unsupported-envelope.js +27 -0
- package/node_modules/@pome-sh/twin-github/dist/src/unsupported-envelope.js.map +1 -0
- package/node_modules/@pome-sh/twin-github/dist/src/upstream-types.d.ts +30 -0
- package/node_modules/@pome-sh/twin-github/dist/src/upstream-types.js +2 -0
- package/node_modules/@pome-sh/twin-github/dist/src/upstream-types.js.map +1 -0
- package/node_modules/@pome-sh/twin-github/dist/src/util.d.ts +13 -0
- package/node_modules/@pome-sh/twin-github/dist/src/util.js +62 -0
- package/node_modules/@pome-sh/twin-github/dist/src/util.js.map +1 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/LICENSE +21 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/README.md +358 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/conninfo.d.mts +10 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/conninfo.d.ts +10 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/conninfo.js +42 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/conninfo.mjs +17 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/globals.d.mts +2 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/globals.d.ts +2 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/globals.js +29 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/globals.mjs +5 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/index.d.mts +8 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/index.d.ts +8 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/index.js +702 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/index.mjs +662 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/listener.d.mts +13 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/listener.d.ts +13 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/listener.js +670 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/listener.mjs +635 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/request.d.mts +25 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/request.d.ts +25 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/request.js +238 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/request.mjs +206 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/response.d.mts +26 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/response.d.ts +26 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/response.js +112 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/response.mjs +85 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/serve-static.d.mts +17 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/serve-static.d.ts +17 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/serve-static.js +177 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/serve-static.mjs +152 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/server.d.mts +10 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/server.d.ts +10 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/server.js +696 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/server.mjs +660 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/types.d.mts +44 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/types.d.ts +44 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/types.js +18 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/types.mjs +0 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/utils/response/constants.d.mts +3 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/utils/response/constants.d.ts +3 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/utils/response/constants.js +30 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/utils/response/constants.mjs +5 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/utils/response.d.mts +3 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/utils/response.d.ts +3 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/utils/response.js +37 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/utils/response.mjs +10 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/utils.d.mts +9 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/utils.d.ts +9 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/utils.js +99 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/utils.mjs +71 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/vercel.d.mts +7 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/vercel.d.ts +7 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/vercel.js +677 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/dist/vercel.mjs +640 -0
- package/node_modules/@pome-sh/twin-github/node_modules/@hono/node-server/package.json +103 -0
- package/node_modules/@pome-sh/twin-github/package.json +82 -0
- package/node_modules/@pome-sh/twin-slack/FIDELITY.md +259 -0
- package/node_modules/@pome-sh/twin-slack/README.md +213 -0
- package/node_modules/@pome-sh/twin-slack/dist/examples/claude-slack-agent.d.ts +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/examples/claude-slack-agent.js +105 -0
- package/node_modules/@pome-sh/twin-slack/dist/examples/claude-slack-agent.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/examples/mcp-node.d.ts +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/examples/mcp-node.js +20 -0
- package/node_modules/@pome-sh/twin-slack/dist/examples/mcp-node.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/examples/mini-bot-flow.d.ts +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/examples/mini-bot-flow.js +61 -0
- package/node_modules/@pome-sh/twin-slack/dist/examples/mini-bot-flow.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/scripts/seed.d.ts +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/scripts/seed.js +9 -0
- package/node_modules/@pome-sh/twin-slack/dist/scripts/seed.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/scripts/smoke.d.ts +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/scripts/smoke.js +209 -0
- package/node_modules/@pome-sh/twin-slack/dist/scripts/smoke.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/scripts/validate-mcp.d.ts +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/scripts/validate-mcp.js +116 -0
- package/node_modules/@pome-sh/twin-slack/dist/scripts/validate-mcp.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/scripts/verify-cloud-token.d.ts +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/scripts/verify-cloud-token.js +45 -0
- package/node_modules/@pome-sh/twin-slack/dist/scripts/verify-cloud-token.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/admin-gate.d.ts +35 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/admin-gate.js +116 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/admin-gate.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/app.d.ts +17 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/app.js +684 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/app.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/auth.d.ts +30 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/auth.js +182 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/auth.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/build-info.d.ts +7 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/build-info.js +10 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/build-info.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/db.d.ts +4 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/db.js +214 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/db.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain.d.ts +236 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain.js +1294 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/errors.d.ts +16 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/errors.js +61 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/errors.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/index.d.ts +8 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/index.js +9 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/index.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/mcp.d.ts +17 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/mcp.js +227 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/mcp.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/recorder.d.ts +2 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/recorder.js +16 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/recorder.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/redaction.d.ts +2 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/redaction.js +88 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/redaction.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/seed.d.ts +49 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/seed.js +140 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/seed.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/serializers.d.ts +141 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/serializers.js +378 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/serializers.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/server.d.ts +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/server.js +35 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/server.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/tools.d.ts +97 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/tools.js +172 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/tools.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/types.d.ts +164 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/types.js +2 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/types.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/unsupported-envelope.d.ts +12 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/unsupported-envelope.js +62 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/unsupported-envelope.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/upstream-types.d.ts +16 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/upstream-types.js +2 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/upstream-types.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/util.d.ts +31 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/util.js +137 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/util.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/LICENSE +21 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/README.md +358 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/conninfo.d.mts +10 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/conninfo.d.ts +10 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/conninfo.js +42 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/conninfo.mjs +17 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/globals.d.mts +2 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/globals.d.ts +2 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/globals.js +29 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/globals.mjs +5 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/index.d.mts +8 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/index.d.ts +8 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/index.js +702 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/index.mjs +662 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/listener.d.mts +13 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/listener.d.ts +13 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/listener.js +670 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/listener.mjs +635 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/request.d.mts +25 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/request.d.ts +25 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/request.js +238 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/request.mjs +206 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/response.d.mts +26 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/response.d.ts +26 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/response.js +112 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/response.mjs +85 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/serve-static.d.mts +17 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/serve-static.d.ts +17 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/serve-static.js +177 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/serve-static.mjs +152 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/server.d.mts +10 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/server.d.ts +10 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/server.js +696 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/server.mjs +660 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/types.d.mts +44 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/types.d.ts +44 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/types.js +18 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/types.mjs +0 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/utils/response/constants.d.mts +3 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/utils/response/constants.d.ts +3 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/utils/response/constants.js +30 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/utils/response/constants.mjs +5 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/utils/response.d.mts +3 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/utils/response.d.ts +3 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/utils/response.js +37 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/utils/response.mjs +10 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/utils.d.mts +9 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/utils.d.ts +9 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/utils.js +99 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/utils.mjs +71 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/vercel.d.mts +7 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/vercel.d.ts +7 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/vercel.js +677 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/dist/vercel.mjs +640 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@hono/node-server/package.json +103 -0
- package/node_modules/@pome-sh/twin-slack/package.json +80 -0
- package/node_modules/@pome-sh/twin-stripe/FIDELITY.md +271 -0
- package/node_modules/@pome-sh/twin-stripe/README.md +282 -0
- package/node_modules/@pome-sh/twin-stripe/dist/scripts/capture-scenario-14.d.ts +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/scripts/capture-scenario-14.js +163 -0
- package/node_modules/@pome-sh/twin-stripe/dist/scripts/capture-scenario-14.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/scripts/seed.d.ts +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/scripts/seed.js +9 -0
- package/node_modules/@pome-sh/twin-stripe/dist/scripts/seed.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/scripts/smoke.d.ts +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/scripts/smoke.js +220 -0
- package/node_modules/@pome-sh/twin-stripe/dist/scripts/smoke.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/admin-gate.d.ts +35 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/admin-gate.js +116 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/admin-gate.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/api-keys.d.ts +27 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/api-keys.js +49 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/api-keys.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/app.d.ts +50 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/app.js +139 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/app.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/auth.d.ts +9 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/auth.js +145 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/auth.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/build-info.d.ts +7 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/build-info.js +10 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/build-info.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/db.d.ts +4 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/db.js +149 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/db.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/balance.d.ts +53 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/balance.js +77 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/balance.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/charges.d.ts +31 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/charges.js +47 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/charges.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/constants.d.ts +25 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/constants.js +26 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/constants.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/events.d.ts +27 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/events.js +45 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/events.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/index.d.ts +399 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/index.js +239 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/index.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/payment-intents.d.ts +91 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/payment-intents.js +287 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/payment-intents.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/refunds.d.ts +42 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/refunds.js +95 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/refunds.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/schema.d.ts +8 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/schema.js +132 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/schema.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/errors.d.ts +57 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/errors.js +85 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/errors.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/failure-injection.d.ts +26 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/failure-injection.js +152 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/failure-injection.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/idempotency.d.ts +3 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/idempotency.js +193 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/idempotency.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/ids.d.ts +28 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/ids.js +56 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/ids.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/index.d.ts +13 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/index.js +17 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/index.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/mcp.d.ts +17 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/mcp.js +200 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/mcp.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/pome-routes.d.ts +43 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/pome-routes.js +85 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/pome-routes.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/recorder.d.ts +6 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/recorder.js +23 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/recorder.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/redaction.d.ts +2 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/redaction.js +88 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/redaction.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/_helpers.d.ts +29 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/_helpers.js +141 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/_helpers.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/balance.d.ts +4 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/balance.js +14 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/balance.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/charges.d.ts +4 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/charges.js +15 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/charges.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/events.d.ts +4 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/events.js +14 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/events.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/index.d.ts +4 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/index.js +82 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/index.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/payment-intents.d.ts +4 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/payment-intents.js +155 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/payment-intents.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/refunds.d.ts +4 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/refunds.js +63 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/refunds.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/seed.d.ts +203 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/seed.js +225 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/seed.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/serializers.d.ts +187 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/serializers.js +260 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/serializers.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/server.d.ts +2 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/server.js +65 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/server.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/session.d.ts +13 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/session.js +44 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/session.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/tools.d.ts +152 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/tools.js +242 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/tools.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/types.d.ts +193 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/types.js +2 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/types.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/upstream-types.d.ts +14 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/upstream-types.js +2 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/upstream-types.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/util.d.ts +3 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/util.js +12 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/util.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/x402.d.ts +162 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/x402.js +501 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/x402.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/LICENSE +21 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/README.md +358 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/conninfo.d.mts +10 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/conninfo.d.ts +10 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/conninfo.js +42 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/conninfo.mjs +17 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/globals.d.mts +2 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/globals.d.ts +2 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/globals.js +29 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/globals.mjs +5 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/index.d.mts +8 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/index.d.ts +8 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/index.js +702 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/index.mjs +662 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/listener.d.mts +13 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/listener.d.ts +13 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/listener.js +670 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/listener.mjs +635 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/request.d.mts +25 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/request.d.ts +25 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/request.js +238 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/request.mjs +206 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/response.d.mts +26 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/response.d.ts +26 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/response.js +112 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/response.mjs +85 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/serve-static.d.mts +17 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/serve-static.d.ts +17 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/serve-static.js +177 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/serve-static.mjs +152 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/server.d.mts +10 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/server.d.ts +10 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/server.js +696 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/server.mjs +660 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/types.d.mts +44 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/types.d.ts +44 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/types.js +18 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/types.mjs +0 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/utils/response/constants.d.mts +3 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/utils/response/constants.d.ts +3 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/utils/response/constants.js +30 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/utils/response/constants.mjs +5 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/utils/response.d.mts +3 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/utils/response.d.ts +3 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/utils/response.js +37 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/utils/response.mjs +10 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/utils.d.mts +9 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/utils.d.ts +9 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/utils.js +99 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/utils.mjs +71 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/vercel.d.mts +7 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/vercel.d.ts +7 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/vercel.js +677 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/dist/vercel.mjs +640 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@hono/node-server/package.json +103 -0
- package/node_modules/@pome-sh/twin-stripe/package.json +75 -0
- package/node_modules/base64-js/LICENSE +21 -0
- package/node_modules/base64-js/README.md +34 -0
- package/node_modules/base64-js/base64js.min.js +1 -0
- package/node_modules/base64-js/index.d.ts +3 -0
- package/node_modules/base64-js/index.js +150 -0
- package/node_modules/base64-js/package.json +47 -0
- package/node_modules/better-sqlite3/LICENSE +21 -0
- package/node_modules/better-sqlite3/README.md +99 -0
- package/node_modules/better-sqlite3/binding.gyp +38 -0
- package/node_modules/better-sqlite3/deps/common.gypi +68 -0
- package/node_modules/better-sqlite3/deps/copy.js +31 -0
- package/node_modules/better-sqlite3/deps/defines.gypi +42 -0
- package/node_modules/better-sqlite3/deps/download.sh +123 -0
- package/node_modules/better-sqlite3/deps/patches/1208.patch +15 -0
- package/node_modules/better-sqlite3/deps/sqlite3/sqlite3.c +269395 -0
- package/node_modules/better-sqlite3/deps/sqlite3/sqlite3.h +14347 -0
- package/node_modules/better-sqlite3/deps/sqlite3/sqlite3ext.h +739 -0
- package/node_modules/better-sqlite3/deps/sqlite3.gyp +80 -0
- package/node_modules/better-sqlite3/deps/test_extension.c +21 -0
- package/node_modules/better-sqlite3/lib/database.js +90 -0
- package/node_modules/better-sqlite3/lib/index.js +3 -0
- package/node_modules/better-sqlite3/lib/methods/aggregate.js +43 -0
- package/node_modules/better-sqlite3/lib/methods/backup.js +67 -0
- package/node_modules/better-sqlite3/lib/methods/function.js +31 -0
- package/node_modules/better-sqlite3/lib/methods/inspect.js +7 -0
- package/node_modules/better-sqlite3/lib/methods/pragma.js +12 -0
- package/node_modules/better-sqlite3/lib/methods/serialize.js +16 -0
- package/node_modules/better-sqlite3/lib/methods/table.js +189 -0
- package/node_modules/better-sqlite3/lib/methods/transaction.js +78 -0
- package/node_modules/better-sqlite3/lib/methods/wrappers.js +54 -0
- package/node_modules/better-sqlite3/lib/sqlite-error.js +20 -0
- package/node_modules/better-sqlite3/lib/util.js +12 -0
- package/node_modules/better-sqlite3/package.json +59 -0
- package/node_modules/better-sqlite3/src/addon.cpp +47 -0
- package/node_modules/better-sqlite3/src/better_sqlite3.cpp +74 -0
- package/node_modules/better-sqlite3/src/objects/backup.cpp +120 -0
- package/node_modules/better-sqlite3/src/objects/backup.hpp +36 -0
- package/node_modules/better-sqlite3/src/objects/database.cpp +417 -0
- package/node_modules/better-sqlite3/src/objects/database.hpp +103 -0
- package/node_modules/better-sqlite3/src/objects/statement-iterator.cpp +113 -0
- package/node_modules/better-sqlite3/src/objects/statement-iterator.hpp +50 -0
- package/node_modules/better-sqlite3/src/objects/statement.cpp +383 -0
- package/node_modules/better-sqlite3/src/objects/statement.hpp +58 -0
- package/node_modules/better-sqlite3/src/util/bind-map.cpp +73 -0
- package/node_modules/better-sqlite3/src/util/binder.cpp +193 -0
- package/node_modules/better-sqlite3/src/util/constants.cpp +172 -0
- package/node_modules/better-sqlite3/src/util/custom-aggregate.cpp +121 -0
- package/node_modules/better-sqlite3/src/util/custom-function.cpp +59 -0
- package/node_modules/better-sqlite3/src/util/custom-table.cpp +409 -0
- package/node_modules/better-sqlite3/src/util/data-converter.cpp +17 -0
- package/node_modules/better-sqlite3/src/util/data.cpp +194 -0
- package/node_modules/better-sqlite3/src/util/helpers.cpp +109 -0
- package/node_modules/better-sqlite3/src/util/macros.cpp +90 -0
- package/node_modules/better-sqlite3/src/util/query-macros.cpp +71 -0
- package/node_modules/better-sqlite3/src/util/row-builder.cpp +49 -0
- package/node_modules/bindings/LICENSE.md +22 -0
- package/node_modules/bindings/README.md +98 -0
- package/node_modules/bindings/bindings.js +221 -0
- package/node_modules/bindings/package.json +28 -0
- package/node_modules/bl/.travis.yml +17 -0
- package/node_modules/bl/BufferList.js +396 -0
- package/node_modules/bl/LICENSE.md +13 -0
- package/node_modules/bl/README.md +247 -0
- package/node_modules/bl/bl.js +84 -0
- package/node_modules/bl/package.json +37 -0
- package/node_modules/bl/test/convert.js +21 -0
- package/node_modules/bl/test/indexOf.js +492 -0
- package/node_modules/bl/test/isBufferList.js +32 -0
- package/node_modules/bl/test/test.js +869 -0
- package/node_modules/buffer/AUTHORS.md +70 -0
- package/node_modules/buffer/LICENSE +21 -0
- package/node_modules/buffer/README.md +410 -0
- package/node_modules/buffer/index.d.ts +186 -0
- package/node_modules/buffer/index.js +1817 -0
- package/node_modules/buffer/package.json +96 -0
- package/node_modules/chownr/LICENSE +15 -0
- package/node_modules/chownr/README.md +3 -0
- package/node_modules/chownr/chownr.js +167 -0
- package/node_modules/chownr/package.json +29 -0
- package/node_modules/decompress-response/index.d.ts +22 -0
- package/node_modules/decompress-response/index.js +58 -0
- package/node_modules/decompress-response/license +9 -0
- package/node_modules/decompress-response/package.json +56 -0
- package/node_modules/decompress-response/readme.md +48 -0
- package/node_modules/deep-extend/LICENSE +20 -0
- package/node_modules/deep-extend/README.md +91 -0
- package/node_modules/deep-extend/index.js +1 -0
- package/node_modules/deep-extend/lib/deep-extend.js +150 -0
- package/node_modules/deep-extend/package.json +62 -0
- package/node_modules/detect-libc/LICENSE +201 -0
- package/node_modules/detect-libc/README.md +163 -0
- package/node_modules/detect-libc/index.d.ts +14 -0
- package/node_modules/detect-libc/lib/detect-libc.js +313 -0
- package/node_modules/detect-libc/lib/elf.js +39 -0
- package/node_modules/detect-libc/lib/filesystem.js +51 -0
- package/node_modules/detect-libc/lib/process.js +24 -0
- package/node_modules/detect-libc/package.json +44 -0
- package/node_modules/end-of-stream/LICENSE +21 -0
- package/node_modules/end-of-stream/README.md +54 -0
- package/node_modules/end-of-stream/index.js +96 -0
- package/node_modules/end-of-stream/package.json +37 -0
- package/node_modules/expand-template/.travis.yml +6 -0
- package/node_modules/expand-template/LICENSE +21 -0
- package/node_modules/expand-template/README.md +43 -0
- package/node_modules/expand-template/index.js +26 -0
- package/node_modules/expand-template/package.json +29 -0
- package/node_modules/expand-template/test.js +67 -0
- package/node_modules/file-uri-to-path/.npmignore +1 -0
- package/node_modules/file-uri-to-path/.travis.yml +30 -0
- package/node_modules/file-uri-to-path/History.md +21 -0
- package/node_modules/file-uri-to-path/LICENSE +20 -0
- package/node_modules/file-uri-to-path/README.md +74 -0
- package/node_modules/file-uri-to-path/index.d.ts +2 -0
- package/node_modules/file-uri-to-path/index.js +66 -0
- package/node_modules/file-uri-to-path/package.json +32 -0
- package/node_modules/file-uri-to-path/test/test.js +24 -0
- package/node_modules/file-uri-to-path/test/tests.json +13 -0
- package/node_modules/fs-constants/LICENSE +21 -0
- package/node_modules/fs-constants/README.md +26 -0
- package/node_modules/fs-constants/browser.js +1 -0
- package/node_modules/fs-constants/index.js +1 -0
- package/node_modules/fs-constants/package.json +19 -0
- package/node_modules/github-from-package/.travis.yml +4 -0
- package/node_modules/github-from-package/LICENSE +18 -0
- package/node_modules/github-from-package/example/package.json +8 -0
- package/node_modules/github-from-package/example/url.js +3 -0
- package/node_modules/github-from-package/index.js +17 -0
- package/node_modules/github-from-package/package.json +30 -0
- package/node_modules/github-from-package/readme.markdown +53 -0
- package/node_modules/github-from-package/test/a.json +8 -0
- package/node_modules/github-from-package/test/b.json +5 -0
- package/node_modules/github-from-package/test/c.json +5 -0
- package/node_modules/github-from-package/test/d.json +7 -0
- package/node_modules/github-from-package/test/e.json +5 -0
- package/node_modules/github-from-package/test/url.js +19 -0
- package/node_modules/hono/LICENSE +21 -0
- package/node_modules/hono/README.md +85 -0
- package/node_modules/hono/dist/adapter/aws-lambda/conninfo.js +24 -0
- package/node_modules/hono/dist/adapter/aws-lambda/handler.js +367 -0
- package/node_modules/hono/dist/adapter/aws-lambda/index.js +9 -0
- package/node_modules/hono/dist/adapter/aws-lambda/types.js +0 -0
- package/node_modules/hono/dist/adapter/bun/conninfo.js +27 -0
- package/node_modules/hono/dist/adapter/bun/index.js +16 -0
- package/node_modules/hono/dist/adapter/bun/serve-static.js +30 -0
- package/node_modules/hono/dist/adapter/bun/server.js +5 -0
- package/node_modules/hono/dist/adapter/bun/ssg.js +17 -0
- package/node_modules/hono/dist/adapter/bun/websocket.js +71 -0
- package/node_modules/hono/dist/adapter/cloudflare-pages/conninfo.js +9 -0
- package/node_modules/hono/dist/adapter/cloudflare-pages/handler.js +67 -0
- package/node_modules/hono/dist/adapter/cloudflare-pages/index.js +9 -0
- package/node_modules/hono/dist/adapter/cloudflare-workers/conninfo.js +9 -0
- package/node_modules/hono/dist/adapter/cloudflare-workers/index.js +9 -0
- package/node_modules/hono/dist/adapter/cloudflare-workers/serve-static-module.js +8 -0
- package/node_modules/hono/dist/adapter/cloudflare-workers/serve-static.js +22 -0
- package/node_modules/hono/dist/adapter/cloudflare-workers/utils.js +35 -0
- package/node_modules/hono/dist/adapter/cloudflare-workers/websocket.js +41 -0
- package/node_modules/hono/dist/adapter/deno/conninfo.js +14 -0
- package/node_modules/hono/dist/adapter/deno/deno.d.js +0 -0
- package/node_modules/hono/dist/adapter/deno/index.js +12 -0
- package/node_modules/hono/dist/adapter/deno/serve-static.js +40 -0
- package/node_modules/hono/dist/adapter/deno/ssg.js +18 -0
- package/node_modules/hono/dist/adapter/deno/websocket.js +32 -0
- package/node_modules/hono/dist/adapter/lambda-edge/conninfo.js +9 -0
- package/node_modules/hono/dist/adapter/lambda-edge/handler.js +86 -0
- package/node_modules/hono/dist/adapter/lambda-edge/index.js +7 -0
- package/node_modules/hono/dist/adapter/netlify/conninfo.js +9 -0
- package/node_modules/hono/dist/adapter/netlify/handler.js +9 -0
- package/node_modules/hono/dist/adapter/netlify/index.js +2 -0
- package/node_modules/hono/dist/adapter/netlify/mod.js +7 -0
- package/node_modules/hono/dist/adapter/service-worker/handler.js +20 -0
- package/node_modules/hono/dist/adapter/service-worker/index.js +9 -0
- package/node_modules/hono/dist/adapter/service-worker/types.js +0 -0
- package/node_modules/hono/dist/adapter/vercel/conninfo.js +10 -0
- package/node_modules/hono/dist/adapter/vercel/handler.js +7 -0
- package/node_modules/hono/dist/adapter/vercel/index.js +7 -0
- package/node_modules/hono/dist/cjs/adapter/aws-lambda/conninfo.js +46 -0
- package/node_modules/hono/dist/cjs/adapter/aws-lambda/handler.js +398 -0
- package/node_modules/hono/dist/cjs/adapter/aws-lambda/index.js +34 -0
- package/node_modules/hono/dist/cjs/adapter/aws-lambda/types.js +15 -0
- package/node_modules/hono/dist/cjs/adapter/bun/conninfo.js +49 -0
- package/node_modules/hono/dist/cjs/adapter/bun/index.js +45 -0
- package/node_modules/hono/dist/cjs/adapter/bun/serve-static.js +52 -0
- package/node_modules/hono/dist/cjs/adapter/bun/server.js +27 -0
- package/node_modules/hono/dist/cjs/adapter/bun/ssg.js +40 -0
- package/node_modules/hono/dist/cjs/adapter/bun/websocket.js +96 -0
- package/node_modules/hono/dist/cjs/adapter/cloudflare-pages/conninfo.js +31 -0
- package/node_modules/hono/dist/cjs/adapter/cloudflare-pages/handler.js +91 -0
- package/node_modules/hono/dist/cjs/adapter/cloudflare-pages/index.js +34 -0
- package/node_modules/hono/dist/cjs/adapter/cloudflare-workers/conninfo.js +31 -0
- package/node_modules/hono/dist/cjs/adapter/cloudflare-workers/index.js +33 -0
- package/node_modules/hono/dist/cjs/adapter/cloudflare-workers/serve-static-module.js +30 -0
- package/node_modules/hono/dist/cjs/adapter/cloudflare-workers/serve-static.js +44 -0
- package/node_modules/hono/dist/cjs/adapter/cloudflare-workers/utils.js +57 -0
- package/node_modules/hono/dist/cjs/adapter/cloudflare-workers/websocket.js +63 -0
- package/node_modules/hono/dist/cjs/adapter/deno/conninfo.js +36 -0
- package/node_modules/hono/dist/cjs/adapter/deno/deno.d.js +0 -0
- package/node_modules/hono/dist/cjs/adapter/deno/index.js +38 -0
- package/node_modules/hono/dist/cjs/adapter/deno/serve-static.js +62 -0
- package/node_modules/hono/dist/cjs/adapter/deno/ssg.js +41 -0
- package/node_modules/hono/dist/cjs/adapter/deno/websocket.js +54 -0
- package/node_modules/hono/dist/cjs/adapter/lambda-edge/conninfo.js +31 -0
- package/node_modules/hono/dist/cjs/adapter/lambda-edge/handler.js +120 -0
- package/node_modules/hono/dist/cjs/adapter/lambda-edge/index.js +30 -0
- package/node_modules/hono/dist/cjs/adapter/netlify/conninfo.js +31 -0
- package/node_modules/hono/dist/cjs/adapter/netlify/handler.js +31 -0
- package/node_modules/hono/dist/cjs/adapter/netlify/index.js +21 -0
- package/node_modules/hono/dist/cjs/adapter/netlify/mod.js +30 -0
- package/node_modules/hono/dist/cjs/adapter/service-worker/handler.js +42 -0
- package/node_modules/hono/dist/cjs/adapter/service-worker/index.js +32 -0
- package/node_modules/hono/dist/cjs/adapter/service-worker/types.js +15 -0
- package/node_modules/hono/dist/cjs/adapter/vercel/conninfo.js +32 -0
- package/node_modules/hono/dist/cjs/adapter/vercel/handler.js +29 -0
- package/node_modules/hono/dist/cjs/adapter/vercel/index.js +30 -0
- package/node_modules/hono/dist/cjs/client/client.js +195 -0
- package/node_modules/hono/dist/cjs/client/fetch-result-please.js +85 -0
- package/node_modules/hono/dist/cjs/client/index.js +32 -0
- package/node_modules/hono/dist/cjs/client/types.js +15 -0
- package/node_modules/hono/dist/cjs/client/utils.js +105 -0
- package/node_modules/hono/dist/cjs/compose.js +68 -0
- package/node_modules/hono/dist/cjs/context.js +435 -0
- package/node_modules/hono/dist/cjs/helper/accepts/accepts.js +43 -0
- package/node_modules/hono/dist/cjs/helper/accepts/index.js +27 -0
- package/node_modules/hono/dist/cjs/helper/adapter/index.js +81 -0
- package/node_modules/hono/dist/cjs/helper/conninfo/index.js +15 -0
- package/node_modules/hono/dist/cjs/helper/conninfo/types.js +15 -0
- package/node_modules/hono/dist/cjs/helper/cookie/index.js +130 -0
- package/node_modules/hono/dist/cjs/helper/css/common.js +273 -0
- package/node_modules/hono/dist/cjs/helper/css/index.js +157 -0
- package/node_modules/hono/dist/cjs/helper/dev/index.js +79 -0
- package/node_modules/hono/dist/cjs/helper/factory/index.js +54 -0
- package/node_modules/hono/dist/cjs/helper/html/index.js +64 -0
- package/node_modules/hono/dist/cjs/helper/proxy/index.js +111 -0
- package/node_modules/hono/dist/cjs/helper/route/index.js +71 -0
- package/node_modules/hono/dist/cjs/helper/ssg/index.js +43 -0
- package/node_modules/hono/dist/cjs/helper/ssg/middleware.js +73 -0
- package/node_modules/hono/dist/cjs/helper/ssg/plugins.js +70 -0
- package/node_modules/hono/dist/cjs/helper/ssg/ssg.js +320 -0
- package/node_modules/hono/dist/cjs/helper/ssg/utils.js +93 -0
- package/node_modules/hono/dist/cjs/helper/streaming/index.js +35 -0
- package/node_modules/hono/dist/cjs/helper/streaming/sse.js +90 -0
- package/node_modules/hono/dist/cjs/helper/streaming/stream.js +56 -0
- package/node_modules/hono/dist/cjs/helper/streaming/text.js +34 -0
- package/node_modules/hono/dist/cjs/helper/streaming/utils.js +35 -0
- package/node_modules/hono/dist/cjs/helper/testing/index.js +33 -0
- package/node_modules/hono/dist/cjs/helper/websocket/index.js +81 -0
- package/node_modules/hono/dist/cjs/hono-base.js +405 -0
- package/node_modules/hono/dist/cjs/hono.js +43 -0
- package/node_modules/hono/dist/cjs/http-exception.js +57 -0
- package/node_modules/hono/dist/cjs/index.js +30 -0
- package/node_modules/hono/dist/cjs/jsx/base.js +374 -0
- package/node_modules/hono/dist/cjs/jsx/children.js +44 -0
- package/node_modules/hono/dist/cjs/jsx/components.js +221 -0
- package/node_modules/hono/dist/cjs/jsx/constants.js +42 -0
- package/node_modules/hono/dist/cjs/jsx/context.js +188 -0
- package/node_modules/hono/dist/cjs/jsx/dom/client.js +76 -0
- package/node_modules/hono/dist/cjs/jsx/dom/components.js +55 -0
- package/node_modules/hono/dist/cjs/jsx/dom/context.js +71 -0
- package/node_modules/hono/dist/cjs/jsx/dom/css.js +168 -0
- package/node_modules/hono/dist/cjs/jsx/dom/hooks/index.js +74 -0
- package/node_modules/hono/dist/cjs/jsx/dom/index.js +181 -0
- package/node_modules/hono/dist/cjs/jsx/dom/intrinsic-element/components.js +399 -0
- package/node_modules/hono/dist/cjs/jsx/dom/jsx-dev-runtime.js +52 -0
- package/node_modules/hono/dist/cjs/jsx/dom/jsx-runtime.js +32 -0
- package/node_modules/hono/dist/cjs/jsx/dom/render.js +641 -0
- package/node_modules/hono/dist/cjs/jsx/dom/server.js +67 -0
- package/node_modules/hono/dist/cjs/jsx/dom/utils.js +32 -0
- package/node_modules/hono/dist/cjs/jsx/hooks/index.js +370 -0
- package/node_modules/hono/dist/cjs/jsx/index.js +138 -0
- package/node_modules/hono/dist/cjs/jsx/intrinsic-element/common.js +50 -0
- package/node_modules/hono/dist/cjs/jsx/intrinsic-element/components.js +189 -0
- package/node_modules/hono/dist/cjs/jsx/intrinsic-elements.js +15 -0
- package/node_modules/hono/dist/cjs/jsx/jsx-dev-runtime.js +41 -0
- package/node_modules/hono/dist/cjs/jsx/jsx-runtime.js +71 -0
- package/node_modules/hono/dist/cjs/jsx/streaming.js +179 -0
- package/node_modules/hono/dist/cjs/jsx/types.js +15 -0
- package/node_modules/hono/dist/cjs/jsx/utils.js +200 -0
- package/node_modules/hono/dist/cjs/middleware/basic-auth/index.js +88 -0
- package/node_modules/hono/dist/cjs/middleware/bearer-auth/index.js +114 -0
- package/node_modules/hono/dist/cjs/middleware/body-limit/index.js +75 -0
- package/node_modules/hono/dist/cjs/middleware/cache/index.js +124 -0
- package/node_modules/hono/dist/cjs/middleware/combine/index.js +101 -0
- package/node_modules/hono/dist/cjs/middleware/compress/index.js +91 -0
- package/node_modules/hono/dist/cjs/middleware/context-storage/index.js +47 -0
- package/node_modules/hono/dist/cjs/middleware/cors/index.js +106 -0
- package/node_modules/hono/dist/cjs/middleware/csrf/index.js +77 -0
- package/node_modules/hono/dist/cjs/middleware/etag/digest.js +55 -0
- package/node_modules/hono/dist/cjs/middleware/etag/index.js +95 -0
- package/node_modules/hono/dist/cjs/middleware/ip-restriction/index.js +176 -0
- package/node_modules/hono/dist/cjs/middleware/jsx-renderer/index.js +82 -0
- package/node_modules/hono/dist/cjs/middleware/jwk/index.js +27 -0
- package/node_modules/hono/dist/cjs/middleware/jwk/jwk.js +134 -0
- package/node_modules/hono/dist/cjs/middleware/jwt/index.js +38 -0
- package/node_modules/hono/dist/cjs/middleware/jwt/jwt.js +140 -0
- package/node_modules/hono/dist/cjs/middleware/language/index.js +35 -0
- package/node_modules/hono/dist/cjs/middleware/language/language.js +199 -0
- package/node_modules/hono/dist/cjs/middleware/logger/index.js +72 -0
- package/node_modules/hono/dist/cjs/middleware/method-override/index.js +104 -0
- package/node_modules/hono/dist/cjs/middleware/powered-by/index.js +32 -0
- package/node_modules/hono/dist/cjs/middleware/pretty-json/index.js +37 -0
- package/node_modules/hono/dist/cjs/middleware/request-id/index.js +27 -0
- package/node_modules/hono/dist/cjs/middleware/request-id/request-id.js +43 -0
- package/node_modules/hono/dist/cjs/middleware/secure-headers/index.js +29 -0
- package/node_modules/hono/dist/cjs/middleware/secure-headers/permissions-policy.js +15 -0
- package/node_modules/hono/dist/cjs/middleware/secure-headers/secure-headers.js +189 -0
- package/node_modules/hono/dist/cjs/middleware/serve-static/index.js +99 -0
- package/node_modules/hono/dist/cjs/middleware/serve-static/path.js +40 -0
- package/node_modules/hono/dist/cjs/middleware/timeout/index.js +47 -0
- package/node_modules/hono/dist/cjs/middleware/timing/index.js +35 -0
- package/node_modules/hono/dist/cjs/middleware/timing/timing.js +130 -0
- package/node_modules/hono/dist/cjs/middleware/trailing-slash/index.js +62 -0
- package/node_modules/hono/dist/cjs/package.json +3 -0
- package/node_modules/hono/dist/cjs/preset/quick.js +38 -0
- package/node_modules/hono/dist/cjs/preset/tiny.js +34 -0
- package/node_modules/hono/dist/cjs/request/constants.js +27 -0
- package/node_modules/hono/dist/cjs/request.js +339 -0
- package/node_modules/hono/dist/cjs/router/linear-router/index.js +27 -0
- package/node_modules/hono/dist/cjs/router/linear-router/router.js +140 -0
- package/node_modules/hono/dist/cjs/router/pattern-router/index.js +27 -0
- package/node_modules/hono/dist/cjs/router/pattern-router/router.js +70 -0
- package/node_modules/hono/dist/cjs/router/reg-exp-router/index.js +34 -0
- package/node_modules/hono/dist/cjs/router/reg-exp-router/matcher.js +48 -0
- package/node_modules/hono/dist/cjs/router/reg-exp-router/node.js +134 -0
- package/node_modules/hono/dist/cjs/router/reg-exp-router/prepared-router.js +166 -0
- package/node_modules/hono/dist/cjs/router/reg-exp-router/router.js +208 -0
- package/node_modules/hono/dist/cjs/router/reg-exp-router/trie.js +81 -0
- package/node_modules/hono/dist/cjs/router/smart-router/index.js +27 -0
- package/node_modules/hono/dist/cjs/router/smart-router/router.js +80 -0
- package/node_modules/hono/dist/cjs/router/trie-router/index.js +27 -0
- package/node_modules/hono/dist/cjs/router/trie-router/node.js +201 -0
- package/node_modules/hono/dist/cjs/router/trie-router/router.js +48 -0
- package/node_modules/hono/dist/cjs/router.js +40 -0
- package/node_modules/hono/dist/cjs/types.js +28 -0
- package/node_modules/hono/dist/cjs/utils/accept.js +245 -0
- package/node_modules/hono/dist/cjs/utils/basic-auth.js +45 -0
- package/node_modules/hono/dist/cjs/utils/body.js +97 -0
- package/node_modules/hono/dist/cjs/utils/buffer.js +102 -0
- package/node_modules/hono/dist/cjs/utils/color.js +48 -0
- package/node_modules/hono/dist/cjs/utils/compress.js +27 -0
- package/node_modules/hono/dist/cjs/utils/concurrent.js +61 -0
- package/node_modules/hono/dist/cjs/utils/constants.js +27 -0
- package/node_modules/hono/dist/cjs/utils/cookie.js +198 -0
- package/node_modules/hono/dist/cjs/utils/crypto.js +69 -0
- package/node_modules/hono/dist/cjs/utils/encode.js +54 -0
- package/node_modules/hono/dist/cjs/utils/filepath.js +58 -0
- package/node_modules/hono/dist/cjs/utils/handler.js +36 -0
- package/node_modules/hono/dist/cjs/utils/headers.js +15 -0
- package/node_modules/hono/dist/cjs/utils/html.js +150 -0
- package/node_modules/hono/dist/cjs/utils/http-status.js +15 -0
- package/node_modules/hono/dist/cjs/utils/ipaddr.js +318 -0
- package/node_modules/hono/dist/cjs/utils/jwt/index.js +28 -0
- package/node_modules/hono/dist/cjs/utils/jwt/jwa.js +42 -0
- package/node_modules/hono/dist/cjs/utils/jwt/jws.js +215 -0
- package/node_modules/hono/dist/cjs/utils/jwt/jwt.js +219 -0
- package/node_modules/hono/dist/cjs/utils/jwt/types.js +161 -0
- package/node_modules/hono/dist/cjs/utils/jwt/utf8.js +30 -0
- package/node_modules/hono/dist/cjs/utils/mime.js +106 -0
- package/node_modules/hono/dist/cjs/utils/stream.js +103 -0
- package/node_modules/hono/dist/cjs/utils/types.js +15 -0
- package/node_modules/hono/dist/cjs/utils/url.js +256 -0
- package/node_modules/hono/dist/cjs/validator/index.js +27 -0
- package/node_modules/hono/dist/cjs/validator/utils.js +15 -0
- package/node_modules/hono/dist/cjs/validator/validator.js +108 -0
- package/node_modules/hono/dist/client/client.js +180 -0
- package/node_modules/hono/dist/client/fetch-result-please.js +62 -0
- package/node_modules/hono/dist/client/index.js +8 -0
- package/node_modules/hono/dist/client/types.js +0 -0
- package/node_modules/hono/dist/client/utils.js +76 -0
- package/node_modules/hono/dist/compose.js +46 -0
- package/node_modules/hono/dist/context.js +412 -0
- package/node_modules/hono/dist/helper/accepts/accepts.js +20 -0
- package/node_modules/hono/dist/helper/accepts/index.js +5 -0
- package/node_modules/hono/dist/helper/adapter/index.js +56 -0
- package/node_modules/hono/dist/helper/conninfo/index.js +0 -0
- package/node_modules/hono/dist/helper/conninfo/types.js +0 -0
- package/node_modules/hono/dist/helper/cookie/index.js +102 -0
- package/node_modules/hono/dist/helper/css/common.js +236 -0
- package/node_modules/hono/dist/helper/css/index.js +140 -0
- package/node_modules/hono/dist/helper/dev/index.js +55 -0
- package/node_modules/hono/dist/helper/factory/index.js +30 -0
- package/node_modules/hono/dist/helper/html/index.js +41 -0
- package/node_modules/hono/dist/helper/proxy/index.js +89 -0
- package/node_modules/hono/dist/helper/route/index.js +46 -0
- package/node_modules/hono/dist/helper/ssg/index.js +19 -0
- package/node_modules/hono/dist/helper/ssg/middleware.js +45 -0
- package/node_modules/hono/dist/helper/ssg/plugins.js +47 -0
- package/node_modules/hono/dist/helper/ssg/ssg.js +297 -0
- package/node_modules/hono/dist/helper/ssg/utils.js +67 -0
- package/node_modules/hono/dist/helper/streaming/index.js +10 -0
- package/node_modules/hono/dist/helper/streaming/sse.js +67 -0
- package/node_modules/hono/dist/helper/streaming/stream.js +34 -0
- package/node_modules/hono/dist/helper/streaming/text.js +12 -0
- package/node_modules/hono/dist/helper/streaming/utils.js +13 -0
- package/node_modules/hono/dist/helper/testing/index.js +11 -0
- package/node_modules/hono/dist/helper/websocket/index.js +57 -0
- package/node_modules/hono/dist/hono-base.js +383 -0
- package/node_modules/hono/dist/hono.js +21 -0
- package/node_modules/hono/dist/http-exception.js +35 -0
- package/node_modules/hono/dist/index.js +7 -0
- package/node_modules/hono/dist/jsx/base.js +342 -0
- package/node_modules/hono/dist/jsx/children.js +21 -0
- package/node_modules/hono/dist/jsx/components.js +198 -0
- package/node_modules/hono/dist/jsx/constants.js +15 -0
- package/node_modules/hono/dist/jsx/context.js +162 -0
- package/node_modules/hono/dist/jsx/dom/client.js +53 -0
- package/node_modules/hono/dist/jsx/dom/components.js +32 -0
- package/node_modules/hono/dist/jsx/dom/context.js +48 -0
- package/node_modules/hono/dist/jsx/dom/css.js +150 -0
- package/node_modules/hono/dist/jsx/dom/hooks/index.js +48 -0
- package/node_modules/hono/dist/jsx/dom/index.js +142 -0
- package/node_modules/hono/dist/jsx/dom/intrinsic-element/components.js +374 -0
- package/node_modules/hono/dist/jsx/dom/jsx-dev-runtime.js +19 -0
- package/node_modules/hono/dist/jsx/dom/jsx-runtime.js +8 -0
- package/node_modules/hono/dist/jsx/dom/render.js +617 -0
- package/node_modules/hono/dist/jsx/dom/server.js +33 -0
- package/node_modules/hono/dist/jsx/dom/utils.js +10 -0
- package/node_modules/hono/dist/jsx/hooks/index.js +328 -0
- package/node_modules/hono/dist/jsx/index.js +103 -0
- package/node_modules/hono/dist/jsx/intrinsic-element/common.js +24 -0
- package/node_modules/hono/dist/jsx/intrinsic-element/components.js +165 -0
- package/node_modules/hono/dist/jsx/intrinsic-elements.js +0 -0
- package/node_modules/hono/dist/jsx/jsx-dev-runtime.js +18 -0
- package/node_modules/hono/dist/jsx/jsx-runtime.js +44 -0
- package/node_modules/hono/dist/jsx/streaming.js +155 -0
- package/node_modules/hono/dist/jsx/types.js +0 -0
- package/node_modules/hono/dist/jsx/utils.js +175 -0
- package/node_modules/hono/dist/middleware/basic-auth/index.js +66 -0
- package/node_modules/hono/dist/middleware/bearer-auth/index.js +92 -0
- package/node_modules/hono/dist/middleware/body-limit/index.js +53 -0
- package/node_modules/hono/dist/middleware/cache/index.js +102 -0
- package/node_modules/hono/dist/middleware/combine/index.js +77 -0
- package/node_modules/hono/dist/middleware/compress/index.js +68 -0
- package/node_modules/hono/dist/middleware/context-storage/index.js +23 -0
- package/node_modules/hono/dist/middleware/cors/index.js +84 -0
- package/node_modules/hono/dist/middleware/csrf/index.js +55 -0
- package/node_modules/hono/dist/middleware/etag/digest.js +33 -0
- package/node_modules/hono/dist/middleware/etag/index.js +72 -0
- package/node_modules/hono/dist/middleware/ip-restriction/index.js +162 -0
- package/node_modules/hono/dist/middleware/jsx-renderer/index.js +58 -0
- package/node_modules/hono/dist/middleware/jwk/index.js +5 -0
- package/node_modules/hono/dist/middleware/jwk/jwk.js +112 -0
- package/node_modules/hono/dist/middleware/jwt/index.js +11 -0
- package/node_modules/hono/dist/middleware/jwt/jwt.js +114 -0
- package/node_modules/hono/dist/middleware/language/index.js +15 -0
- package/node_modules/hono/dist/middleware/language/language.js +168 -0
- package/node_modules/hono/dist/middleware/logger/index.js +44 -0
- package/node_modules/hono/dist/middleware/method-override/index.js +82 -0
- package/node_modules/hono/dist/middleware/powered-by/index.js +10 -0
- package/node_modules/hono/dist/middleware/pretty-json/index.js +15 -0
- package/node_modules/hono/dist/middleware/request-id/index.js +5 -0
- package/node_modules/hono/dist/middleware/request-id/request-id.js +21 -0
- package/node_modules/hono/dist/middleware/secure-headers/index.js +6 -0
- package/node_modules/hono/dist/middleware/secure-headers/permissions-policy.js +0 -0
- package/node_modules/hono/dist/middleware/secure-headers/secure-headers.js +166 -0
- package/node_modules/hono/dist/middleware/serve-static/index.js +77 -0
- package/node_modules/hono/dist/middleware/serve-static/path.js +18 -0
- package/node_modules/hono/dist/middleware/timeout/index.js +25 -0
- package/node_modules/hono/dist/middleware/timing/index.js +9 -0
- package/node_modules/hono/dist/middleware/timing/timing.js +104 -0
- package/node_modules/hono/dist/middleware/trailing-slash/index.js +39 -0
- package/node_modules/hono/dist/preset/quick.js +16 -0
- package/node_modules/hono/dist/preset/tiny.js +12 -0
- package/node_modules/hono/dist/request/constants.js +5 -0
- package/node_modules/hono/dist/request.js +316 -0
- package/node_modules/hono/dist/router/linear-router/index.js +5 -0
- package/node_modules/hono/dist/router/linear-router/router.js +118 -0
- package/node_modules/hono/dist/router/pattern-router/index.js +5 -0
- package/node_modules/hono/dist/router/pattern-router/router.js +48 -0
- package/node_modules/hono/dist/router/reg-exp-router/index.js +9 -0
- package/node_modules/hono/dist/router/reg-exp-router/matcher.js +25 -0
- package/node_modules/hono/dist/router/reg-exp-router/node.js +111 -0
- package/node_modules/hono/dist/router/reg-exp-router/prepared-router.js +142 -0
- package/node_modules/hono/dist/router/reg-exp-router/router.js +190 -0
- package/node_modules/hono/dist/router/reg-exp-router/trie.js +59 -0
- package/node_modules/hono/dist/router/smart-router/index.js +5 -0
- package/node_modules/hono/dist/router/smart-router/router.js +58 -0
- package/node_modules/hono/dist/router/trie-router/index.js +5 -0
- package/node_modules/hono/dist/router/trie-router/node.js +179 -0
- package/node_modules/hono/dist/router/trie-router/router.js +26 -0
- package/node_modules/hono/dist/router.js +14 -0
- package/node_modules/hono/dist/tsconfig.build.tsbuildinfo +1 -0
- package/node_modules/hono/dist/types/adapter/aws-lambda/conninfo.d.ts +27 -0
- package/node_modules/hono/dist/types/adapter/aws-lambda/handler.d.ts +184 -0
- package/node_modules/hono/dist/types/adapter/aws-lambda/index.d.ts +8 -0
- package/node_modules/hono/dist/types/adapter/aws-lambda/types.d.ts +144 -0
- package/node_modules/hono/dist/types/adapter/bun/conninfo.d.ts +7 -0
- package/node_modules/hono/dist/types/adapter/bun/index.d.ts +10 -0
- package/node_modules/hono/dist/types/adapter/bun/serve-static.d.ts +3 -0
- package/node_modules/hono/dist/types/adapter/bun/server.d.ts +12 -0
- package/node_modules/hono/dist/types/adapter/bun/ssg.d.ts +13 -0
- package/node_modules/hono/dist/types/adapter/bun/websocket.d.ts +39 -0
- package/node_modules/hono/dist/types/adapter/cloudflare-pages/conninfo.d.ts +21 -0
- package/node_modules/hono/dist/types/adapter/cloudflare-pages/handler.d.ts +33 -0
- package/node_modules/hono/dist/types/adapter/cloudflare-pages/index.d.ts +7 -0
- package/node_modules/hono/dist/types/adapter/cloudflare-workers/conninfo.d.ts +2 -0
- package/node_modules/hono/dist/types/adapter/cloudflare-workers/index.d.ts +7 -0
- package/node_modules/hono/dist/types/adapter/cloudflare-workers/serve-static-module.d.ts +4 -0
- package/node_modules/hono/dist/types/adapter/cloudflare-workers/serve-static.d.ts +16 -0
- package/node_modules/hono/dist/types/adapter/cloudflare-workers/utils.d.ts +5 -0
- package/node_modules/hono/dist/types/adapter/cloudflare-workers/websocket.d.ts +2 -0
- package/node_modules/hono/dist/types/adapter/deno/conninfo.d.ts +7 -0
- package/node_modules/hono/dist/types/adapter/deno/index.d.ts +8 -0
- package/node_modules/hono/dist/types/adapter/deno/serve-static.d.ts +3 -0
- package/node_modules/hono/dist/types/adapter/deno/ssg.d.ts +13 -0
- package/node_modules/hono/dist/types/adapter/deno/websocket.d.ts +2 -0
- package/node_modules/hono/dist/types/adapter/lambda-edge/conninfo.d.ts +2 -0
- package/node_modules/hono/dist/types/adapter/lambda-edge/handler.d.ts +87 -0
- package/node_modules/hono/dist/types/adapter/lambda-edge/index.d.ts +7 -0
- package/node_modules/hono/dist/types/adapter/netlify/conninfo.d.ts +21 -0
- package/node_modules/hono/dist/types/adapter/netlify/handler.d.ts +2 -0
- package/node_modules/hono/dist/types/adapter/netlify/index.d.ts +5 -0
- package/node_modules/hono/dist/types/adapter/netlify/mod.d.ts +2 -0
- package/node_modules/hono/dist/types/adapter/service-worker/handler.d.ts +16 -0
- package/node_modules/hono/dist/types/adapter/service-worker/index.d.ts +28 -0
- package/node_modules/hono/dist/types/adapter/service-worker/types.d.ts +12 -0
- package/node_modules/hono/dist/types/adapter/vercel/conninfo.d.ts +2 -0
- package/node_modules/hono/dist/types/adapter/vercel/handler.d.ts +2 -0
- package/node_modules/hono/dist/types/adapter/vercel/index.d.ts +6 -0
- package/node_modules/hono/dist/types/client/client.d.ts +4 -0
- package/node_modules/hono/dist/types/client/fetch-result-please.d.ts +35 -0
- package/node_modules/hono/dist/types/client/index.d.ts +7 -0
- package/node_modules/hono/dist/types/client/types.d.ts +229 -0
- package/node_modules/hono/dist/types/client/utils.d.ts +18 -0
- package/node_modules/hono/dist/types/compose.d.ts +14 -0
- package/node_modules/hono/dist/types/context.d.ts +455 -0
- package/node_modules/hono/dist/types/helper/accepts/accepts.d.ts +30 -0
- package/node_modules/hono/dist/types/helper/accepts/index.d.ts +5 -0
- package/node_modules/hono/dist/types/helper/adapter/index.d.ts +12 -0
- package/node_modules/hono/dist/types/helper/conninfo/index.d.ts +5 -0
- package/node_modules/hono/dist/types/helper/conninfo/types.d.ts +36 -0
- package/node_modules/hono/dist/types/helper/cookie/index.d.ts +24 -0
- package/node_modules/hono/dist/types/helper/css/common.d.ts +59 -0
- package/node_modules/hono/dist/types/helper/css/index.d.ts +80 -0
- package/node_modules/hono/dist/types/helper/dev/index.d.ts +20 -0
- package/node_modules/hono/dist/types/helper/factory/index.d.ts +82 -0
- package/node_modules/hono/dist/types/helper/html/index.d.ts +8 -0
- package/node_modules/hono/dist/types/helper/proxy/index.d.ts +72 -0
- package/node_modules/hono/dist/types/helper/route/index.d.ts +75 -0
- package/node_modules/hono/dist/types/helper/ssg/index.d.ts +7 -0
- package/node_modules/hono/dist/types/helper/ssg/middleware.d.ts +44 -0
- package/node_modules/hono/dist/types/helper/ssg/plugins.d.ts +27 -0
- package/node_modules/hono/dist/types/helper/ssg/ssg.d.ts +91 -0
- package/node_modules/hono/dist/types/helper/ssg/utils.d.ts +16 -0
- package/node_modules/hono/dist/types/helper/streaming/index.d.ts +8 -0
- package/node_modules/hono/dist/types/helper/streaming/sse.d.ts +13 -0
- package/node_modules/hono/dist/types/helper/streaming/stream.d.ts +3 -0
- package/node_modules/hono/dist/types/helper/streaming/text.d.ts +3 -0
- package/node_modules/hono/dist/types/helper/streaming/utils.d.ts +1 -0
- package/node_modules/hono/dist/types/helper/testing/index.d.ts +12 -0
- package/node_modules/hono/dist/types/helper/websocket/index.d.ts +69 -0
- package/node_modules/hono/dist/types/hono-base.d.ts +220 -0
- package/node_modules/hono/dist/types/hono.d.ts +19 -0
- package/node_modules/hono/dist/types/http-exception.d.ts +59 -0
- package/node_modules/hono/dist/types/index.d.ts +37 -0
- package/node_modules/hono/dist/types/jsx/base.d.ts +56 -0
- package/node_modules/hono/dist/types/jsx/children.d.ts +9 -0
- package/node_modules/hono/dist/types/jsx/components.d.ts +15 -0
- package/node_modules/hono/dist/types/jsx/constants.d.ts +6 -0
- package/node_modules/hono/dist/types/jsx/context.d.ts +51 -0
- package/node_modules/hono/dist/types/jsx/dom/client.d.ts +31 -0
- package/node_modules/hono/dist/types/jsx/dom/components.d.ts +10 -0
- package/node_modules/hono/dist/types/jsx/dom/context.d.ts +3 -0
- package/node_modules/hono/dist/types/jsx/dom/css.d.ts +83 -0
- package/node_modules/hono/dist/types/jsx/dom/hooks/index.d.ts +39 -0
- package/node_modules/hono/dist/types/jsx/dom/index.d.ts +88 -0
- package/node_modules/hono/dist/types/jsx/dom/intrinsic-element/components.d.ts +16 -0
- package/node_modules/hono/dist/types/jsx/dom/jsx-dev-runtime.d.ts +8 -0
- package/node_modules/hono/dist/types/jsx/dom/jsx-runtime.d.ts +7 -0
- package/node_modules/hono/dist/types/jsx/dom/render.d.ts +73 -0
- package/node_modules/hono/dist/types/jsx/dom/server.d.ts +106 -0
- package/node_modules/hono/dist/types/jsx/dom/utils.d.ts +1 -0
- package/node_modules/hono/dist/types/jsx/hooks/index.d.ts +45 -0
- package/node_modules/hono/dist/types/jsx/index.d.ts +75 -0
- package/node_modules/hono/dist/types/jsx/intrinsic-element/common.d.ts +6 -0
- package/node_modules/hono/dist/types/jsx/intrinsic-element/components.d.ts +13 -0
- package/node_modules/hono/dist/types/jsx/intrinsic-elements.d.ts +722 -0
- package/node_modules/hono/dist/types/jsx/jsx-dev-runtime.d.ts +8 -0
- package/node_modules/hono/dist/types/jsx/jsx-runtime.d.ts +12 -0
- package/node_modules/hono/dist/types/jsx/streaming.d.ts +36 -0
- package/node_modules/hono/dist/types/jsx/types.d.ts +35 -0
- package/node_modules/hono/dist/types/jsx/utils.d.ts +4 -0
- package/node_modules/hono/dist/types/middleware/basic-auth/index.d.ts +75 -0
- package/node_modules/hono/dist/types/middleware/bearer-auth/index.d.ts +92 -0
- package/node_modules/hono/dist/types/middleware/body-limit/index.d.ts +45 -0
- package/node_modules/hono/dist/types/middleware/cache/index.d.ts +43 -0
- package/node_modules/hono/dist/types/middleware/combine/index.d.ts +85 -0
- package/node_modules/hono/dist/types/middleware/compress/index.d.ts +40 -0
- package/node_modules/hono/dist/types/middleware/context-storage/index.d.ts +40 -0
- package/node_modules/hono/dist/types/middleware/cors/index.d.ts +55 -0
- package/node_modules/hono/dist/types/middleware/csrf/index.d.ts +78 -0
- package/node_modules/hono/dist/types/middleware/etag/digest.d.ts +1 -0
- package/node_modules/hono/dist/types/middleware/etag/index.d.ts +42 -0
- package/node_modules/hono/dist/types/middleware/ip-restriction/index.d.ts +67 -0
- package/node_modules/hono/dist/types/middleware/jsx-renderer/index.d.ts +77 -0
- package/node_modules/hono/dist/types/middleware/jwk/index.d.ts +1 -0
- package/node_modules/hono/dist/types/middleware/jwk/jwk.d.ts +54 -0
- package/node_modules/hono/dist/types/middleware/jwt/index.d.ts +8 -0
- package/node_modules/hono/dist/types/middleware/jwt/jwt.d.ts +67 -0
- package/node_modules/hono/dist/types/middleware/language/index.d.ts +7 -0
- package/node_modules/hono/dist/types/middleware/language/language.d.ts +102 -0
- package/node_modules/hono/dist/types/middleware/logger/index.d.ts +24 -0
- package/node_modules/hono/dist/types/middleware/method-override/index.d.ts +48 -0
- package/node_modules/hono/dist/types/middleware/powered-by/index.d.ts +29 -0
- package/node_modules/hono/dist/types/middleware/pretty-json/index.d.ts +42 -0
- package/node_modules/hono/dist/types/middleware/request-id/index.d.ts +7 -0
- package/node_modules/hono/dist/types/middleware/request-id/request-id.d.ts +37 -0
- package/node_modules/hono/dist/types/middleware/secure-headers/index.d.ts +8 -0
- package/node_modules/hono/dist/types/middleware/secure-headers/permissions-policy.d.ts +14 -0
- package/node_modules/hono/dist/types/middleware/secure-headers/secure-headers.d.ts +109 -0
- package/node_modules/hono/dist/types/middleware/serve-static/index.d.ts +31 -0
- package/node_modules/hono/dist/types/middleware/serve-static/path.d.ts +5 -0
- package/node_modules/hono/dist/types/middleware/timeout/index.d.ts +31 -0
- package/node_modules/hono/dist/types/middleware/timing/index.d.ts +7 -0
- package/node_modules/hono/dist/types/middleware/timing/timing.d.ts +129 -0
- package/node_modules/hono/dist/types/middleware/trailing-slash/index.d.ts +94 -0
- package/node_modules/hono/dist/types/package.json +3 -0
- package/node_modules/hono/dist/types/preset/quick.d.ts +10 -0
- package/node_modules/hono/dist/types/preset/tiny.d.ts +10 -0
- package/node_modules/hono/dist/types/request/constants.d.ts +1 -0
- package/node_modules/hono/dist/types/request.d.ts +324 -0
- package/node_modules/hono/dist/types/router/linear-router/index.d.ts +5 -0
- package/node_modules/hono/dist/types/router/linear-router/router.d.ts +7 -0
- package/node_modules/hono/dist/types/router/pattern-router/index.d.ts +5 -0
- package/node_modules/hono/dist/types/router/pattern-router/router.d.ts +7 -0
- package/node_modules/hono/dist/types/router/reg-exp-router/index.d.ts +6 -0
- package/node_modules/hono/dist/types/router/reg-exp-router/matcher.d.ts +7 -0
- package/node_modules/hono/dist/types/router/reg-exp-router/node.d.ts +10 -0
- package/node_modules/hono/dist/types/router/reg-exp-router/prepared-router.d.ts +17 -0
- package/node_modules/hono/dist/types/router/reg-exp-router/router.d.ts +11 -0
- package/node_modules/hono/dist/types/router/reg-exp-router/trie.d.ts +7 -0
- package/node_modules/hono/dist/types/router/smart-router/index.d.ts +5 -0
- package/node_modules/hono/dist/types/router/smart-router/router.d.ts +11 -0
- package/node_modules/hono/dist/types/router/trie-router/index.d.ts +5 -0
- package/node_modules/hono/dist/types/router/trie-router/node.d.ts +7 -0
- package/node_modules/hono/dist/types/router/trie-router/router.d.ts +8 -0
- package/node_modules/hono/dist/types/router.d.ts +97 -0
- package/node_modules/hono/dist/types/types.d.ts +573 -0
- package/node_modules/hono/dist/types/utils/accept.d.ts +6 -0
- package/node_modules/hono/dist/types/utils/basic-auth.d.ts +5 -0
- package/node_modules/hono/dist/types/utils/body.d.ts +79 -0
- package/node_modules/hono/dist/types/utils/buffer.d.ts +17 -0
- package/node_modules/hono/dist/types/utils/color.d.ts +21 -0
- package/node_modules/hono/dist/types/utils/compress.d.ts +8 -0
- package/node_modules/hono/dist/types/utils/concurrent.d.ts +11 -0
- package/node_modules/hono/dist/types/utils/constants.d.ts +4 -0
- package/node_modules/hono/dist/types/utils/cookie.d.ts +40 -0
- package/node_modules/hono/dist/types/utils/crypto.d.ts +15 -0
- package/node_modules/hono/dist/types/utils/encode.d.ts +8 -0
- package/node_modules/hono/dist/types/utils/filepath.d.ts +12 -0
- package/node_modules/hono/dist/types/utils/handler.d.ts +6 -0
- package/node_modules/hono/dist/types/utils/headers.d.ts +8 -0
- package/node_modules/hono/dist/types/utils/html.d.ts +44 -0
- package/node_modules/hono/dist/types/utils/http-status.d.ts +32 -0
- package/node_modules/hono/dist/types/utils/ipaddr.d.ts +56 -0
- package/node_modules/hono/dist/types/utils/jwt/index.d.ts +18 -0
- package/node_modules/hono/dist/types/utils/jwt/jwa.d.ts +23 -0
- package/node_modules/hono/dist/types/utils/jwt/jws.d.ts +12 -0
- package/node_modules/hono/dist/types/utils/jwt/jwt.d.ts +43 -0
- package/node_modules/hono/dist/types/utils/jwt/types.d.ts +86 -0
- package/node_modules/hono/dist/types/utils/jwt/utf8.d.ts +6 -0
- package/node_modules/hono/dist/types/utils/mime.d.ts +70 -0
- package/node_modules/hono/dist/types/utils/stream.d.ts +31 -0
- package/node_modules/hono/dist/types/utils/types.d.ts +74 -0
- package/node_modules/hono/dist/types/utils/url.d.ts +39 -0
- package/node_modules/hono/dist/types/validator/index.d.ts +7 -0
- package/node_modules/hono/dist/types/validator/utils.d.ts +29 -0
- package/node_modules/hono/dist/types/validator/validator.d.ts +16 -0
- package/node_modules/hono/dist/types.js +6 -0
- package/node_modules/hono/dist/utils/accept.js +223 -0
- package/node_modules/hono/dist/utils/basic-auth.js +23 -0
- package/node_modules/hono/dist/utils/body.js +75 -0
- package/node_modules/hono/dist/utils/buffer.js +77 -0
- package/node_modules/hono/dist/utils/color.js +25 -0
- package/node_modules/hono/dist/utils/compress.js +5 -0
- package/node_modules/hono/dist/utils/concurrent.js +39 -0
- package/node_modules/hono/dist/utils/constants.js +5 -0
- package/node_modules/hono/dist/utils/cookie.js +173 -0
- package/node_modules/hono/dist/utils/crypto.js +44 -0
- package/node_modules/hono/dist/utils/encode.js +29 -0
- package/node_modules/hono/dist/utils/filepath.js +35 -0
- package/node_modules/hono/dist/utils/handler.js +13 -0
- package/node_modules/hono/dist/utils/headers.js +0 -0
- package/node_modules/hono/dist/utils/html.js +123 -0
- package/node_modules/hono/dist/utils/http-status.js +0 -0
- package/node_modules/hono/dist/utils/ipaddr.js +288 -0
- package/node_modules/hono/dist/utils/jwt/index.js +6 -0
- package/node_modules/hono/dist/utils/jwt/jwa.js +20 -0
- package/node_modules/hono/dist/utils/jwt/jws.js +192 -0
- package/node_modules/hono/dist/utils/jwt/jwt.js +207 -0
- package/node_modules/hono/dist/utils/jwt/types.js +124 -0
- package/node_modules/hono/dist/utils/jwt/utf8.js +7 -0
- package/node_modules/hono/dist/utils/mime.js +82 -0
- package/node_modules/hono/dist/utils/stream.js +81 -0
- package/node_modules/hono/dist/utils/types.js +0 -0
- package/node_modules/hono/dist/utils/url.js +222 -0
- package/node_modules/hono/dist/validator/index.js +5 -0
- package/node_modules/hono/dist/validator/utils.js +0 -0
- package/node_modules/hono/dist/validator/validator.js +86 -0
- package/node_modules/hono/package.json +698 -0
- package/node_modules/ieee754/LICENSE +11 -0
- package/node_modules/ieee754/README.md +51 -0
- package/node_modules/ieee754/index.d.ts +10 -0
- package/node_modules/ieee754/index.js +85 -0
- package/node_modules/ieee754/package.json +52 -0
- package/node_modules/inherits/LICENSE +16 -0
- package/node_modules/inherits/README.md +42 -0
- package/node_modules/inherits/inherits.js +9 -0
- package/node_modules/inherits/inherits_browser.js +27 -0
- package/node_modules/inherits/package.json +29 -0
- package/node_modules/ini/LICENSE +15 -0
- package/node_modules/ini/README.md +102 -0
- package/node_modules/ini/ini.js +206 -0
- package/node_modules/ini/package.json +33 -0
- package/node_modules/mimic-response/index.d.ts +17 -0
- package/node_modules/mimic-response/index.js +77 -0
- package/node_modules/mimic-response/license +9 -0
- package/node_modules/mimic-response/package.json +42 -0
- package/node_modules/mimic-response/readme.md +78 -0
- package/node_modules/minimist/.eslintrc +29 -0
- package/node_modules/minimist/.github/FUNDING.yml +12 -0
- package/node_modules/minimist/.nycrc +14 -0
- package/node_modules/minimist/CHANGELOG.md +298 -0
- package/node_modules/minimist/LICENSE +18 -0
- package/node_modules/minimist/README.md +121 -0
- package/node_modules/minimist/example/parse.js +4 -0
- package/node_modules/minimist/index.js +263 -0
- package/node_modules/minimist/package.json +75 -0
- package/node_modules/minimist/test/all_bool.js +34 -0
- package/node_modules/minimist/test/bool.js +177 -0
- package/node_modules/minimist/test/dash.js +43 -0
- package/node_modules/minimist/test/default_bool.js +37 -0
- package/node_modules/minimist/test/dotted.js +24 -0
- package/node_modules/minimist/test/kv_short.js +32 -0
- package/node_modules/minimist/test/long.js +33 -0
- package/node_modules/minimist/test/num.js +38 -0
- package/node_modules/minimist/test/parse.js +209 -0
- package/node_modules/minimist/test/parse_modified.js +11 -0
- package/node_modules/minimist/test/proto.js +64 -0
- package/node_modules/minimist/test/short.js +69 -0
- package/node_modules/minimist/test/stop_early.js +17 -0
- package/node_modules/minimist/test/unknown.js +104 -0
- package/node_modules/minimist/test/whitespace.js +10 -0
- package/node_modules/mkdirp-classic/LICENSE +21 -0
- package/node_modules/mkdirp-classic/README.md +18 -0
- package/node_modules/mkdirp-classic/index.js +98 -0
- package/node_modules/mkdirp-classic/package.json +18 -0
- package/node_modules/napi-build-utils/.github/workflows/run-npm-tests.yml +31 -0
- package/node_modules/napi-build-utils/LICENSE +21 -0
- package/node_modules/napi-build-utils/README.md +52 -0
- package/node_modules/napi-build-utils/index.js +214 -0
- package/node_modules/napi-build-utils/index.md +0 -0
- package/node_modules/napi-build-utils/package.json +42 -0
- package/node_modules/node-abi/LICENSE +21 -0
- package/node_modules/node-abi/README.md +54 -0
- package/node_modules/node-abi/abi_registry.json +453 -0
- package/node_modules/node-abi/index.js +179 -0
- package/node_modules/node-abi/package.json +45 -0
- package/node_modules/once/LICENSE +15 -0
- package/node_modules/once/README.md +79 -0
- package/node_modules/once/once.js +42 -0
- package/node_modules/once/package.json +33 -0
- package/node_modules/prebuild-install/CHANGELOG.md +131 -0
- package/node_modules/prebuild-install/CONTRIBUTING.md +6 -0
- package/node_modules/prebuild-install/LICENSE +21 -0
- package/node_modules/prebuild-install/README.md +163 -0
- package/node_modules/prebuild-install/asset.js +44 -0
- package/node_modules/prebuild-install/bin.js +78 -0
- package/node_modules/prebuild-install/download.js +142 -0
- package/node_modules/prebuild-install/error.js +14 -0
- package/node_modules/prebuild-install/help.txt +16 -0
- package/node_modules/prebuild-install/index.js +1 -0
- package/node_modules/prebuild-install/log.js +33 -0
- package/node_modules/prebuild-install/package.json +67 -0
- package/node_modules/prebuild-install/proxy.js +35 -0
- package/node_modules/prebuild-install/rc.js +64 -0
- package/node_modules/prebuild-install/util.js +143 -0
- package/node_modules/pump/.github/FUNDING.yml +2 -0
- package/node_modules/pump/.travis.yml +5 -0
- package/node_modules/pump/LICENSE +21 -0
- package/node_modules/pump/README.md +74 -0
- package/node_modules/pump/SECURITY.md +5 -0
- package/node_modules/pump/empty.js +1 -0
- package/node_modules/pump/index.js +86 -0
- package/node_modules/pump/package.json +30 -0
- package/node_modules/pump/test-browser.js +66 -0
- package/node_modules/pump/test-node.js +53 -0
- package/node_modules/rc/LICENSE.APACHE2 +15 -0
- package/node_modules/rc/LICENSE.BSD +26 -0
- package/node_modules/rc/LICENSE.MIT +24 -0
- package/node_modules/rc/README.md +227 -0
- package/node_modules/rc/browser.js +7 -0
- package/node_modules/rc/cli.js +4 -0
- package/node_modules/rc/index.js +53 -0
- package/node_modules/rc/lib/utils.js +104 -0
- package/node_modules/rc/package.json +29 -0
- package/node_modules/rc/test/ini.js +16 -0
- package/node_modules/rc/test/nested-env-vars.js +50 -0
- package/node_modules/rc/test/test.js +59 -0
- package/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/node_modules/readable-stream/GOVERNANCE.md +136 -0
- package/node_modules/readable-stream/LICENSE +47 -0
- package/node_modules/readable-stream/README.md +106 -0
- package/node_modules/readable-stream/errors-browser.js +127 -0
- package/node_modules/readable-stream/errors.js +116 -0
- package/node_modules/readable-stream/experimentalWarning.js +17 -0
- package/node_modules/readable-stream/lib/_stream_duplex.js +126 -0
- package/node_modules/readable-stream/lib/_stream_passthrough.js +37 -0
- package/node_modules/readable-stream/lib/_stream_readable.js +1027 -0
- package/node_modules/readable-stream/lib/_stream_transform.js +190 -0
- package/node_modules/readable-stream/lib/_stream_writable.js +641 -0
- package/node_modules/readable-stream/lib/internal/streams/async_iterator.js +180 -0
- package/node_modules/readable-stream/lib/internal/streams/buffer_list.js +183 -0
- package/node_modules/readable-stream/lib/internal/streams/destroy.js +96 -0
- package/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +86 -0
- package/node_modules/readable-stream/lib/internal/streams/from-browser.js +3 -0
- package/node_modules/readable-stream/lib/internal/streams/from.js +52 -0
- package/node_modules/readable-stream/lib/internal/streams/pipeline.js +86 -0
- package/node_modules/readable-stream/lib/internal/streams/state.js +22 -0
- package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- package/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- package/node_modules/readable-stream/package.json +68 -0
- package/node_modules/readable-stream/readable-browser.js +9 -0
- package/node_modules/readable-stream/readable.js +16 -0
- package/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/safe-buffer/index.js +65 -0
- package/node_modules/safe-buffer/package.json +51 -0
- package/node_modules/semver/LICENSE +15 -0
- package/node_modules/semver/README.md +680 -0
- package/node_modules/semver/bin/semver.js +195 -0
- package/node_modules/semver/classes/comparator.js +143 -0
- package/node_modules/semver/classes/index.js +7 -0
- package/node_modules/semver/classes/range.js +577 -0
- package/node_modules/semver/classes/semver.js +350 -0
- package/node_modules/semver/functions/clean.js +8 -0
- package/node_modules/semver/functions/cmp.js +54 -0
- package/node_modules/semver/functions/coerce.js +62 -0
- package/node_modules/semver/functions/compare-build.js +9 -0
- package/node_modules/semver/functions/compare-loose.js +5 -0
- package/node_modules/semver/functions/compare.js +7 -0
- package/node_modules/semver/functions/diff.js +60 -0
- package/node_modules/semver/functions/eq.js +5 -0
- package/node_modules/semver/functions/gt.js +5 -0
- package/node_modules/semver/functions/gte.js +5 -0
- package/node_modules/semver/functions/inc.js +21 -0
- package/node_modules/semver/functions/lt.js +5 -0
- package/node_modules/semver/functions/lte.js +5 -0
- package/node_modules/semver/functions/major.js +5 -0
- package/node_modules/semver/functions/minor.js +5 -0
- package/node_modules/semver/functions/neq.js +5 -0
- package/node_modules/semver/functions/parse.js +18 -0
- package/node_modules/semver/functions/patch.js +5 -0
- package/node_modules/semver/functions/prerelease.js +8 -0
- package/node_modules/semver/functions/rcompare.js +5 -0
- package/node_modules/semver/functions/rsort.js +5 -0
- package/node_modules/semver/functions/satisfies.js +12 -0
- package/node_modules/semver/functions/sort.js +5 -0
- package/node_modules/semver/functions/truncate.js +48 -0
- package/node_modules/semver/functions/valid.js +8 -0
- package/node_modules/semver/index.js +93 -0
- package/node_modules/semver/internal/constants.js +37 -0
- package/node_modules/semver/internal/debug.js +11 -0
- package/node_modules/semver/internal/identifiers.js +29 -0
- package/node_modules/semver/internal/lrucache.js +42 -0
- package/node_modules/semver/internal/parse-options.js +17 -0
- package/node_modules/semver/internal/re.js +223 -0
- package/node_modules/semver/package.json +78 -0
- package/node_modules/semver/preload.js +4 -0
- package/node_modules/semver/range.bnf +17 -0
- package/node_modules/semver/ranges/gtr.js +6 -0
- package/node_modules/semver/ranges/intersects.js +9 -0
- package/node_modules/semver/ranges/ltr.js +6 -0
- package/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/node_modules/semver/ranges/min-version.js +63 -0
- package/node_modules/semver/ranges/outside.js +82 -0
- package/node_modules/semver/ranges/simplify.js +49 -0
- package/node_modules/semver/ranges/subset.js +249 -0
- package/node_modules/semver/ranges/to-comparators.js +10 -0
- package/node_modules/semver/ranges/valid.js +13 -0
- package/node_modules/simple-concat/.travis.yml +3 -0
- package/node_modules/simple-concat/LICENSE +20 -0
- package/node_modules/simple-concat/README.md +44 -0
- package/node_modules/simple-concat/index.js +15 -0
- package/node_modules/simple-concat/package.json +47 -0
- package/node_modules/simple-concat/test/basic.js +41 -0
- package/node_modules/simple-get/.github/dependabot.yml +15 -0
- package/node_modules/simple-get/.github/workflows/ci.yml +23 -0
- package/node_modules/simple-get/LICENSE +20 -0
- package/node_modules/simple-get/README.md +333 -0
- package/node_modules/simple-get/index.js +108 -0
- package/node_modules/simple-get/package.json +67 -0
- package/node_modules/string_decoder/LICENSE +48 -0
- package/node_modules/string_decoder/README.md +47 -0
- package/node_modules/string_decoder/lib/string_decoder.js +296 -0
- package/node_modules/string_decoder/package.json +34 -0
- package/node_modules/strip-json-comments/index.js +70 -0
- package/node_modules/strip-json-comments/license +21 -0
- package/node_modules/strip-json-comments/package.json +42 -0
- package/node_modules/strip-json-comments/readme.md +64 -0
- package/node_modules/tar-fs/.travis.yml +6 -0
- package/node_modules/tar-fs/LICENSE +21 -0
- package/node_modules/tar-fs/README.md +165 -0
- package/node_modules/tar-fs/index.js +392 -0
- package/node_modules/tar-fs/package.json +46 -0
- package/node_modules/tar-fs/test/fixtures/a/hello.txt +1 -0
- package/node_modules/tar-fs/test/fixtures/b/a/test.txt +1 -0
- package/node_modules/tar-fs/test/fixtures/d/file1 +0 -0
- package/node_modules/tar-fs/test/fixtures/d/file2 +0 -0
- package/node_modules/tar-fs/test/fixtures/d/sub-dir/file5 +0 -0
- package/node_modules/tar-fs/test/fixtures/d/sub-files/file3 +0 -0
- package/node_modules/tar-fs/test/fixtures/d/sub-files/file4 +0 -0
- package/node_modules/tar-fs/test/fixtures/e/directory/.ignore +0 -0
- package/node_modules/tar-fs/test/fixtures/e/file +0 -0
- package/node_modules/tar-fs/test/fixtures/invalid.tar +0 -0
- package/node_modules/tar-fs/test/index.js +457 -0
- package/node_modules/tar-stream/LICENSE +21 -0
- package/node_modules/tar-stream/README.md +168 -0
- package/node_modules/tar-stream/extract.js +257 -0
- package/node_modules/tar-stream/headers.js +295 -0
- package/node_modules/tar-stream/index.js +2 -0
- package/node_modules/tar-stream/pack.js +255 -0
- package/node_modules/tar-stream/package.json +58 -0
- package/node_modules/tar-stream/sandbox.js +11 -0
- package/node_modules/tunnel-agent/LICENSE +55 -0
- package/node_modules/tunnel-agent/README.md +4 -0
- package/node_modules/tunnel-agent/index.js +244 -0
- package/node_modules/tunnel-agent/package.json +22 -0
- package/node_modules/util-deprecate/History.md +16 -0
- package/node_modules/util-deprecate/LICENSE +24 -0
- package/node_modules/util-deprecate/README.md +53 -0
- package/node_modules/util-deprecate/browser.js +67 -0
- package/node_modules/util-deprecate/node.js +6 -0
- package/node_modules/util-deprecate/package.json +27 -0
- package/node_modules/wrappy/LICENSE +15 -0
- package/node_modules/wrappy/README.md +36 -0
- package/node_modules/wrappy/package.json +29 -0
- package/node_modules/wrappy/wrappy.js +33 -0
- package/node_modules/zod/LICENSE +21 -0
- package/node_modules/zod/README.md +191 -0
- package/node_modules/zod/index.cjs +33 -0
- package/node_modules/zod/index.d.cts +4 -0
- package/node_modules/zod/index.d.ts +4 -0
- package/node_modules/zod/index.js +4 -0
- package/node_modules/zod/locales/index.cjs +17 -0
- package/node_modules/zod/locales/index.d.cts +1 -0
- package/node_modules/zod/locales/index.d.ts +1 -0
- package/node_modules/zod/locales/index.js +1 -0
- package/node_modules/zod/locales/package.json +7 -0
- package/node_modules/zod/mini/index.cjs +32 -0
- package/node_modules/zod/mini/index.d.cts +3 -0
- package/node_modules/zod/mini/index.d.ts +3 -0
- package/node_modules/zod/mini/index.js +3 -0
- package/node_modules/zod/mini/package.json +7 -0
- package/node_modules/zod/package.json +135 -0
- package/node_modules/zod/src/index.ts +4 -0
- package/node_modules/zod/src/locales/index.ts +1 -0
- package/node_modules/zod/src/mini/index.ts +3 -0
- package/node_modules/zod/src/v3/ZodError.ts +330 -0
- package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/node_modules/zod/src/v3/errors.ts +13 -0
- package/node_modules/zod/src/v3/external.ts +6 -0
- package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/node_modules/zod/src/v3/index.ts +4 -0
- package/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
- package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/node_modules/zod/src/v3/tests/error.test.ts +551 -0
- package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
- package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
- package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
- package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
- package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object.test.ts +434 -0
- package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
- package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/node_modules/zod/src/v3/tests/string.test.ts +916 -0
- package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/node_modules/zod/src/v3/types.ts +5138 -0
- package/node_modules/zod/src/v4/classic/checks.ts +32 -0
- package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/node_modules/zod/src/v4/classic/compat.ts +70 -0
- package/node_modules/zod/src/v4/classic/errors.ts +82 -0
- package/node_modules/zod/src/v4/classic/external.ts +52 -0
- package/node_modules/zod/src/v4/classic/from-json-schema.ts +659 -0
- package/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/node_modules/zod/src/v4/classic/iso.ts +90 -0
- package/node_modules/zod/src/v4/classic/parse.ts +82 -0
- package/node_modules/zod/src/v4/classic/schemas.ts +2672 -0
- package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/apply.test.ts +59 -0
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +216 -0
- package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
- package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
- package/node_modules/zod/src/v4/classic/tests/catch.test.ts +326 -0
- package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +573 -0
- package/node_modules/zod/src/v4/classic/tests/codec.test.ts +703 -0
- package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
- package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/node_modules/zod/src/v4/classic/tests/date.test.ts +62 -0
- package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +302 -0
- package/node_modules/zod/src/v4/classic/tests/default.test.ts +409 -0
- package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
- package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +197 -0
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +694 -0
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
- package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +807 -0
- package/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
- package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
- package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
- package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +895 -0
- package/node_modules/zod/src/v4/classic/tests/function.test.ts +360 -0
- package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +39 -0
- package/node_modules/zod/src/v4/classic/tests/hash.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/index.test.ts +939 -0
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +60 -0
- package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +198 -0
- package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +46 -0
- package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
- package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
- package/node_modules/zod/src/v4/classic/tests/literal.test.ts +117 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +330 -0
- package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
- package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/node_modules/zod/src/v4/classic/tests/number.test.ts +325 -0
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +717 -0
- package/node_modules/zod/src/v4/classic/tests/optional.test.ts +333 -0
- package/node_modules/zod/src/v4/classic/tests/partial.test.ts +450 -0
- package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
- package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
- package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
- package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
- package/node_modules/zod/src/v4/classic/tests/record.test.ts +717 -0
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +631 -0
- package/node_modules/zod/src/v4/classic/tests/refine.test.ts +633 -0
- package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +181 -0
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
- package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +1224 -0
- package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +106 -0
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +771 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +3125 -0
- package/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +496 -0
- package/node_modules/zod/src/v4/classic/tests/union.test.ts +273 -0
- package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
- package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/node_modules/zod/src/v4/core/api.ts +1823 -0
- package/node_modules/zod/src/v4/core/checks.ts +1293 -0
- package/node_modules/zod/src/v4/core/config.ts +15 -0
- package/node_modules/zod/src/v4/core/core.ts +153 -0
- package/node_modules/zod/src/v4/core/doc.ts +44 -0
- package/node_modules/zod/src/v4/core/errors.ts +455 -0
- package/node_modules/zod/src/v4/core/index.ts +16 -0
- package/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
- package/node_modules/zod/src/v4/core/json-schema-processors.ts +666 -0
- package/node_modules/zod/src/v4/core/json-schema.ts +147 -0
- package/node_modules/zod/src/v4/core/parse.ts +195 -0
- package/node_modules/zod/src/v4/core/regexes.ts +190 -0
- package/node_modules/zod/src/v4/core/registries.ts +105 -0
- package/node_modules/zod/src/v4/core/schemas.ts +4730 -0
- package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
- package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
- package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +215 -0
- package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +181 -0
- package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
- package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
- package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
- package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
- package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
- package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
- package/node_modules/zod/src/v4/core/to-json-schema.ts +622 -0
- package/node_modules/zod/src/v4/core/util.ts +983 -0
- package/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/node_modules/zod/src/v4/index.ts +4 -0
- package/node_modules/zod/src/v4/locales/ar.ts +115 -0
- package/node_modules/zod/src/v4/locales/az.ts +111 -0
- package/node_modules/zod/src/v4/locales/be.ts +176 -0
- package/node_modules/zod/src/v4/locales/bg.ts +128 -0
- package/node_modules/zod/src/v4/locales/ca.ts +116 -0
- package/node_modules/zod/src/v4/locales/cs.ts +118 -0
- package/node_modules/zod/src/v4/locales/da.ts +123 -0
- package/node_modules/zod/src/v4/locales/de.ts +116 -0
- package/node_modules/zod/src/v4/locales/el.ts +121 -0
- package/node_modules/zod/src/v4/locales/en.ts +123 -0
- package/node_modules/zod/src/v4/locales/eo.ts +118 -0
- package/node_modules/zod/src/v4/locales/es.ts +141 -0
- package/node_modules/zod/src/v4/locales/fa.ts +126 -0
- package/node_modules/zod/src/v4/locales/fi.ts +121 -0
- package/node_modules/zod/src/v4/locales/fr-CA.ts +116 -0
- package/node_modules/zod/src/v4/locales/fr.ts +132 -0
- package/node_modules/zod/src/v4/locales/he.ts +246 -0
- package/node_modules/zod/src/v4/locales/hr.ts +131 -0
- package/node_modules/zod/src/v4/locales/hu.ts +117 -0
- package/node_modules/zod/src/v4/locales/hy.ts +164 -0
- package/node_modules/zod/src/v4/locales/id.ts +115 -0
- package/node_modules/zod/src/v4/locales/index.ts +52 -0
- package/node_modules/zod/src/v4/locales/is.ts +119 -0
- package/node_modules/zod/src/v4/locales/it.ts +116 -0
- package/node_modules/zod/src/v4/locales/ja.ts +114 -0
- package/node_modules/zod/src/v4/locales/ka.ts +123 -0
- package/node_modules/zod/src/v4/locales/kh.ts +7 -0
- package/node_modules/zod/src/v4/locales/km.ts +119 -0
- package/node_modules/zod/src/v4/locales/ko.ts +121 -0
- package/node_modules/zod/src/v4/locales/lt.ts +239 -0
- package/node_modules/zod/src/v4/locales/mk.ts +118 -0
- package/node_modules/zod/src/v4/locales/ms.ts +115 -0
- package/node_modules/zod/src/v4/locales/nl.ts +121 -0
- package/node_modules/zod/src/v4/locales/no.ts +116 -0
- package/node_modules/zod/src/v4/locales/ota.ts +117 -0
- package/node_modules/zod/src/v4/locales/pl.ts +118 -0
- package/node_modules/zod/src/v4/locales/ps.ts +126 -0
- package/node_modules/zod/src/v4/locales/pt.ts +116 -0
- package/node_modules/zod/src/v4/locales/ro.ts +129 -0
- package/node_modules/zod/src/v4/locales/ru.ts +176 -0
- package/node_modules/zod/src/v4/locales/sl.ts +118 -0
- package/node_modules/zod/src/v4/locales/sv.ts +119 -0
- package/node_modules/zod/src/v4/locales/ta.ts +118 -0
- package/node_modules/zod/src/v4/locales/th.ts +119 -0
- package/node_modules/zod/src/v4/locales/tr.ts +111 -0
- package/node_modules/zod/src/v4/locales/ua.ts +7 -0
- package/node_modules/zod/src/v4/locales/uk.ts +117 -0
- package/node_modules/zod/src/v4/locales/ur.ts +119 -0
- package/node_modules/zod/src/v4/locales/uz.ts +117 -0
- package/node_modules/zod/src/v4/locales/vi.ts +117 -0
- package/node_modules/zod/src/v4/locales/yo.ts +124 -0
- package/node_modules/zod/src/v4/locales/zh-CN.ts +116 -0
- package/node_modules/zod/src/v4/locales/zh-TW.ts +115 -0
- package/node_modules/zod/src/v4/mini/checks.ts +32 -0
- package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
- package/node_modules/zod/src/v4/mini/external.ts +41 -0
- package/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/node_modules/zod/src/v4/mini/iso.ts +66 -0
- package/node_modules/zod/src/v4/mini/parse.ts +14 -0
- package/node_modules/zod/src/v4/mini/schemas.ts +1947 -0
- package/node_modules/zod/src/v4/mini/tests/apply.test.ts +24 -0
- package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
- package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
- package/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
- package/node_modules/zod/src/v4/mini/tests/codec.test.ts +548 -0
- package/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
- package/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
- package/node_modules/zod/src/v4/mini/tests/functions.test.ts +5 -0
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +993 -0
- package/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
- package/node_modules/zod/src/v4/mini/tests/object.test.ts +227 -0
- package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +325 -0
- package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +352 -0
- package/node_modules/zod/src/v4-mini/index.ts +3 -0
- package/node_modules/zod/v3/ZodError.cjs +138 -0
- package/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/node_modules/zod/v3/ZodError.js +133 -0
- package/node_modules/zod/v3/errors.cjs +17 -0
- package/node_modules/zod/v3/errors.d.cts +5 -0
- package/node_modules/zod/v3/errors.d.ts +5 -0
- package/node_modules/zod/v3/errors.js +9 -0
- package/node_modules/zod/v3/external.cjs +22 -0
- package/node_modules/zod/v3/external.d.cts +6 -0
- package/node_modules/zod/v3/external.d.ts +6 -0
- package/node_modules/zod/v3/external.js +6 -0
- package/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/node_modules/zod/v3/helpers/util.cjs +137 -0
- package/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/node_modules/zod/v3/helpers/util.js +133 -0
- package/node_modules/zod/v3/index.cjs +33 -0
- package/node_modules/zod/v3/index.d.cts +4 -0
- package/node_modules/zod/v3/index.d.ts +4 -0
- package/node_modules/zod/v3/index.js +4 -0
- package/node_modules/zod/v3/locales/en.cjs +112 -0
- package/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/node_modules/zod/v3/locales/en.js +109 -0
- package/node_modules/zod/v3/package.json +7 -0
- package/node_modules/zod/v3/standard-schema.cjs +2 -0
- package/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/node_modules/zod/v3/standard-schema.js +1 -0
- package/node_modules/zod/v3/types.cjs +3777 -0
- package/node_modules/zod/v3/types.d.cts +1034 -0
- package/node_modules/zod/v3/types.d.ts +1034 -0
- package/node_modules/zod/v3/types.js +3695 -0
- package/node_modules/zod/v4/classic/checks.cjs +33 -0
- package/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/node_modules/zod/v4/classic/checks.js +1 -0
- package/node_modules/zod/v4/classic/coerce.cjs +47 -0
- package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/node_modules/zod/v4/classic/coerce.js +17 -0
- package/node_modules/zod/v4/classic/compat.cjs +61 -0
- package/node_modules/zod/v4/classic/compat.d.cts +50 -0
- package/node_modules/zod/v4/classic/compat.d.ts +50 -0
- package/node_modules/zod/v4/classic/compat.js +31 -0
- package/node_modules/zod/v4/classic/errors.cjs +74 -0
- package/node_modules/zod/v4/classic/errors.d.cts +30 -0
- package/node_modules/zod/v4/classic/errors.d.ts +30 -0
- package/node_modules/zod/v4/classic/errors.js +48 -0
- package/node_modules/zod/v4/classic/external.cjs +73 -0
- package/node_modules/zod/v4/classic/external.d.cts +16 -0
- package/node_modules/zod/v4/classic/external.d.ts +16 -0
- package/node_modules/zod/v4/classic/external.js +20 -0
- package/node_modules/zod/v4/classic/from-json-schema.cjs +625 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.js +599 -0
- package/node_modules/zod/v4/classic/index.cjs +33 -0
- package/node_modules/zod/v4/classic/index.d.cts +4 -0
- package/node_modules/zod/v4/classic/index.d.ts +4 -0
- package/node_modules/zod/v4/classic/index.js +4 -0
- package/node_modules/zod/v4/classic/iso.cjs +60 -0
- package/node_modules/zod/v4/classic/iso.d.cts +22 -0
- package/node_modules/zod/v4/classic/iso.d.ts +22 -0
- package/node_modules/zod/v4/classic/iso.js +30 -0
- package/node_modules/zod/v4/classic/package.json +7 -0
- package/node_modules/zod/v4/classic/parse.cjs +41 -0
- package/node_modules/zod/v4/classic/parse.d.cts +31 -0
- package/node_modules/zod/v4/classic/parse.d.ts +31 -0
- package/node_modules/zod/v4/classic/parse.js +15 -0
- package/node_modules/zod/v4/classic/schemas.cjs +1511 -0
- package/node_modules/zod/v4/classic/schemas.d.cts +767 -0
- package/node_modules/zod/v4/classic/schemas.d.ts +767 -0
- package/node_modules/zod/v4/classic/schemas.js +1395 -0
- package/node_modules/zod/v4/core/api.cjs +1227 -0
- package/node_modules/zod/v4/core/api.d.cts +325 -0
- package/node_modules/zod/v4/core/api.d.ts +325 -0
- package/node_modules/zod/v4/core/api.js +1087 -0
- package/node_modules/zod/v4/core/checks.cjs +601 -0
- package/node_modules/zod/v4/core/checks.d.cts +278 -0
- package/node_modules/zod/v4/core/checks.d.ts +278 -0
- package/node_modules/zod/v4/core/checks.js +575 -0
- package/node_modules/zod/v4/core/core.cjs +85 -0
- package/node_modules/zod/v4/core/core.d.cts +70 -0
- package/node_modules/zod/v4/core/core.d.ts +70 -0
- package/node_modules/zod/v4/core/core.js +78 -0
- package/node_modules/zod/v4/core/doc.cjs +39 -0
- package/node_modules/zod/v4/core/doc.d.cts +14 -0
- package/node_modules/zod/v4/core/doc.d.ts +14 -0
- package/node_modules/zod/v4/core/doc.js +35 -0
- package/node_modules/zod/v4/core/errors.cjs +216 -0
- package/node_modules/zod/v4/core/errors.d.cts +221 -0
- package/node_modules/zod/v4/core/errors.d.ts +221 -0
- package/node_modules/zod/v4/core/errors.js +185 -0
- package/node_modules/zod/v4/core/index.cjs +47 -0
- package/node_modules/zod/v4/core/index.d.cts +16 -0
- package/node_modules/zod/v4/core/index.d.ts +16 -0
- package/node_modules/zod/v4/core/index.js +16 -0
- package/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.js +95 -0
- package/node_modules/zod/v4/core/json-schema-processors.cjs +644 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
- package/node_modules/zod/v4/core/json-schema-processors.js +601 -0
- package/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/node_modules/zod/v4/core/json-schema.d.cts +88 -0
- package/node_modules/zod/v4/core/json-schema.d.ts +88 -0
- package/node_modules/zod/v4/core/json-schema.js +1 -0
- package/node_modules/zod/v4/core/package.json +7 -0
- package/node_modules/zod/v4/core/parse.cjs +131 -0
- package/node_modules/zod/v4/core/parse.d.cts +49 -0
- package/node_modules/zod/v4/core/parse.d.ts +49 -0
- package/node_modules/zod/v4/core/parse.js +93 -0
- package/node_modules/zod/v4/core/regexes.cjs +172 -0
- package/node_modules/zod/v4/core/regexes.d.cts +85 -0
- package/node_modules/zod/v4/core/regexes.d.ts +85 -0
- package/node_modules/zod/v4/core/regexes.js +139 -0
- package/node_modules/zod/v4/core/registries.cjs +56 -0
- package/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/node_modules/zod/v4/core/registries.js +51 -0
- package/node_modules/zod/v4/core/schemas.cjs +2270 -0
- package/node_modules/zod/v4/core/schemas.d.cts +1184 -0
- package/node_modules/zod/v4/core/schemas.d.ts +1184 -0
- package/node_modules/zod/v4/core/schemas.js +2239 -0
- package/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
- package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
- package/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/node_modules/zod/v4/core/to-json-schema.cjs +457 -0
- package/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
- package/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
- package/node_modules/zod/v4/core/to-json-schema.js +448 -0
- package/node_modules/zod/v4/core/util.cjs +734 -0
- package/node_modules/zod/v4/core/util.d.cts +200 -0
- package/node_modules/zod/v4/core/util.d.ts +200 -0
- package/node_modules/zod/v4/core/util.js +674 -0
- package/node_modules/zod/v4/core/versions.cjs +8 -0
- package/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/node_modules/zod/v4/core/versions.js +5 -0
- package/node_modules/zod/v4/index.cjs +22 -0
- package/node_modules/zod/v4/index.d.cts +3 -0
- package/node_modules/zod/v4/index.d.ts +3 -0
- package/node_modules/zod/v4/index.js +3 -0
- package/node_modules/zod/v4/locales/ar.cjs +133 -0
- package/node_modules/zod/v4/locales/ar.d.cts +5 -0
- package/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/node_modules/zod/v4/locales/ar.js +106 -0
- package/node_modules/zod/v4/locales/az.cjs +132 -0
- package/node_modules/zod/v4/locales/az.d.cts +5 -0
- package/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/node_modules/zod/v4/locales/az.js +105 -0
- package/node_modules/zod/v4/locales/be.cjs +183 -0
- package/node_modules/zod/v4/locales/be.d.cts +5 -0
- package/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/node_modules/zod/v4/locales/be.js +156 -0
- package/node_modules/zod/v4/locales/bg.cjs +147 -0
- package/node_modules/zod/v4/locales/bg.d.cts +5 -0
- package/node_modules/zod/v4/locales/bg.d.ts +4 -0
- package/node_modules/zod/v4/locales/bg.js +120 -0
- package/node_modules/zod/v4/locales/ca.cjs +134 -0
- package/node_modules/zod/v4/locales/ca.d.cts +5 -0
- package/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/node_modules/zod/v4/locales/ca.js +107 -0
- package/node_modules/zod/v4/locales/cs.cjs +138 -0
- package/node_modules/zod/v4/locales/cs.d.cts +5 -0
- package/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/node_modules/zod/v4/locales/cs.js +111 -0
- package/node_modules/zod/v4/locales/da.cjs +142 -0
- package/node_modules/zod/v4/locales/da.d.cts +5 -0
- package/node_modules/zod/v4/locales/da.d.ts +4 -0
- package/node_modules/zod/v4/locales/da.js +115 -0
- package/node_modules/zod/v4/locales/de.cjs +135 -0
- package/node_modules/zod/v4/locales/de.d.cts +5 -0
- package/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/node_modules/zod/v4/locales/de.js +108 -0
- package/node_modules/zod/v4/locales/el.cjs +136 -0
- package/node_modules/zod/v4/locales/el.d.cts +5 -0
- package/node_modules/zod/v4/locales/el.d.ts +4 -0
- package/node_modules/zod/v4/locales/el.js +109 -0
- package/node_modules/zod/v4/locales/en.cjs +140 -0
- package/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/node_modules/zod/v4/locales/en.d.ts +4 -0
- package/node_modules/zod/v4/locales/en.js +113 -0
- package/node_modules/zod/v4/locales/eo.cjs +136 -0
- package/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/node_modules/zod/v4/locales/eo.d.ts +4 -0
- package/node_modules/zod/v4/locales/eo.js +109 -0
- package/node_modules/zod/v4/locales/es.cjs +159 -0
- package/node_modules/zod/v4/locales/es.d.cts +5 -0
- package/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/node_modules/zod/v4/locales/es.js +132 -0
- package/node_modules/zod/v4/locales/fa.cjs +141 -0
- package/node_modules/zod/v4/locales/fa.d.cts +5 -0
- package/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/node_modules/zod/v4/locales/fa.js +114 -0
- package/node_modules/zod/v4/locales/fi.cjs +139 -0
- package/node_modules/zod/v4/locales/fi.d.cts +5 -0
- package/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/node_modules/zod/v4/locales/fi.js +112 -0
- package/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
- package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr-CA.js +107 -0
- package/node_modules/zod/v4/locales/fr.cjs +152 -0
- package/node_modules/zod/v4/locales/fr.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr.js +125 -0
- package/node_modules/zod/v4/locales/he.cjs +241 -0
- package/node_modules/zod/v4/locales/he.d.cts +5 -0
- package/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/node_modules/zod/v4/locales/he.js +214 -0
- package/node_modules/zod/v4/locales/hr.cjs +149 -0
- package/node_modules/zod/v4/locales/hr.d.cts +5 -0
- package/node_modules/zod/v4/locales/hr.d.ts +4 -0
- package/node_modules/zod/v4/locales/hr.js +122 -0
- package/node_modules/zod/v4/locales/hu.cjs +135 -0
- package/node_modules/zod/v4/locales/hu.d.cts +5 -0
- package/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/node_modules/zod/v4/locales/hu.js +108 -0
- package/node_modules/zod/v4/locales/hy.cjs +174 -0
- package/node_modules/zod/v4/locales/hy.d.cts +5 -0
- package/node_modules/zod/v4/locales/hy.d.ts +4 -0
- package/node_modules/zod/v4/locales/hy.js +147 -0
- package/node_modules/zod/v4/locales/id.cjs +133 -0
- package/node_modules/zod/v4/locales/id.d.cts +5 -0
- package/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/node_modules/zod/v4/locales/id.js +106 -0
- package/node_modules/zod/v4/locales/index.cjs +111 -0
- package/node_modules/zod/v4/locales/index.d.cts +52 -0
- package/node_modules/zod/v4/locales/index.d.ts +52 -0
- package/node_modules/zod/v4/locales/index.js +52 -0
- package/node_modules/zod/v4/locales/is.cjs +136 -0
- package/node_modules/zod/v4/locales/is.d.cts +5 -0
- package/node_modules/zod/v4/locales/is.d.ts +4 -0
- package/node_modules/zod/v4/locales/is.js +109 -0
- package/node_modules/zod/v4/locales/it.cjs +135 -0
- package/node_modules/zod/v4/locales/it.d.cts +5 -0
- package/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/node_modules/zod/v4/locales/it.js +108 -0
- package/node_modules/zod/v4/locales/ja.cjs +134 -0
- package/node_modules/zod/v4/locales/ja.d.cts +5 -0
- package/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/node_modules/zod/v4/locales/ja.js +107 -0
- package/node_modules/zod/v4/locales/ka.cjs +139 -0
- package/node_modules/zod/v4/locales/ka.d.cts +5 -0
- package/node_modules/zod/v4/locales/ka.d.ts +4 -0
- package/node_modules/zod/v4/locales/ka.js +112 -0
- package/node_modules/zod/v4/locales/kh.cjs +12 -0
- package/node_modules/zod/v4/locales/kh.d.cts +5 -0
- package/node_modules/zod/v4/locales/kh.d.ts +5 -0
- package/node_modules/zod/v4/locales/kh.js +5 -0
- package/node_modules/zod/v4/locales/km.cjs +137 -0
- package/node_modules/zod/v4/locales/km.d.cts +5 -0
- package/node_modules/zod/v4/locales/km.d.ts +4 -0
- package/node_modules/zod/v4/locales/km.js +110 -0
- package/node_modules/zod/v4/locales/ko.cjs +138 -0
- package/node_modules/zod/v4/locales/ko.d.cts +5 -0
- package/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/node_modules/zod/v4/locales/ko.js +111 -0
- package/node_modules/zod/v4/locales/lt.cjs +230 -0
- package/node_modules/zod/v4/locales/lt.d.cts +5 -0
- package/node_modules/zod/v4/locales/lt.d.ts +4 -0
- package/node_modules/zod/v4/locales/lt.js +203 -0
- package/node_modules/zod/v4/locales/mk.cjs +136 -0
- package/node_modules/zod/v4/locales/mk.d.cts +5 -0
- package/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/node_modules/zod/v4/locales/mk.js +109 -0
- package/node_modules/zod/v4/locales/ms.cjs +134 -0
- package/node_modules/zod/v4/locales/ms.d.cts +5 -0
- package/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/node_modules/zod/v4/locales/ms.js +107 -0
- package/node_modules/zod/v4/locales/nl.cjs +137 -0
- package/node_modules/zod/v4/locales/nl.d.cts +5 -0
- package/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/node_modules/zod/v4/locales/nl.js +110 -0
- package/node_modules/zod/v4/locales/no.cjs +135 -0
- package/node_modules/zod/v4/locales/no.d.cts +5 -0
- package/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/node_modules/zod/v4/locales/no.js +108 -0
- package/node_modules/zod/v4/locales/ota.cjs +136 -0
- package/node_modules/zod/v4/locales/ota.d.cts +5 -0
- package/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/node_modules/zod/v4/locales/ota.js +109 -0
- package/node_modules/zod/v4/locales/package.json +7 -0
- package/node_modules/zod/v4/locales/pl.cjs +136 -0
- package/node_modules/zod/v4/locales/pl.d.cts +5 -0
- package/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/node_modules/zod/v4/locales/pl.js +109 -0
- package/node_modules/zod/v4/locales/ps.cjs +141 -0
- package/node_modules/zod/v4/locales/ps.d.cts +5 -0
- package/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/node_modules/zod/v4/locales/ps.js +114 -0
- package/node_modules/zod/v4/locales/pt.cjs +135 -0
- package/node_modules/zod/v4/locales/pt.d.cts +5 -0
- package/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/node_modules/zod/v4/locales/pt.js +108 -0
- package/node_modules/zod/v4/locales/ro.cjs +146 -0
- package/node_modules/zod/v4/locales/ro.d.cts +5 -0
- package/node_modules/zod/v4/locales/ro.d.ts +4 -0
- package/node_modules/zod/v4/locales/ro.js +119 -0
- package/node_modules/zod/v4/locales/ru.cjs +183 -0
- package/node_modules/zod/v4/locales/ru.d.cts +5 -0
- package/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/node_modules/zod/v4/locales/ru.js +156 -0
- package/node_modules/zod/v4/locales/sl.cjs +136 -0
- package/node_modules/zod/v4/locales/sl.d.cts +5 -0
- package/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/node_modules/zod/v4/locales/sl.js +109 -0
- package/node_modules/zod/v4/locales/sv.cjs +137 -0
- package/node_modules/zod/v4/locales/sv.d.cts +5 -0
- package/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/node_modules/zod/v4/locales/sv.js +110 -0
- package/node_modules/zod/v4/locales/ta.cjs +137 -0
- package/node_modules/zod/v4/locales/ta.d.cts +5 -0
- package/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/node_modules/zod/v4/locales/ta.js +110 -0
- package/node_modules/zod/v4/locales/th.cjs +137 -0
- package/node_modules/zod/v4/locales/th.d.cts +5 -0
- package/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/node_modules/zod/v4/locales/th.js +110 -0
- package/node_modules/zod/v4/locales/tr.cjs +132 -0
- package/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/node_modules/zod/v4/locales/tr.d.ts +4 -0
- package/node_modules/zod/v4/locales/tr.js +105 -0
- package/node_modules/zod/v4/locales/ua.cjs +12 -0
- package/node_modules/zod/v4/locales/ua.d.cts +5 -0
- package/node_modules/zod/v4/locales/ua.d.ts +5 -0
- package/node_modules/zod/v4/locales/ua.js +5 -0
- package/node_modules/zod/v4/locales/uk.cjs +135 -0
- package/node_modules/zod/v4/locales/uk.d.cts +5 -0
- package/node_modules/zod/v4/locales/uk.d.ts +4 -0
- package/node_modules/zod/v4/locales/uk.js +108 -0
- package/node_modules/zod/v4/locales/ur.cjs +137 -0
- package/node_modules/zod/v4/locales/ur.d.cts +5 -0
- package/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/node_modules/zod/v4/locales/ur.js +110 -0
- package/node_modules/zod/v4/locales/uz.cjs +137 -0
- package/node_modules/zod/v4/locales/uz.d.cts +5 -0
- package/node_modules/zod/v4/locales/uz.d.ts +4 -0
- package/node_modules/zod/v4/locales/uz.js +110 -0
- package/node_modules/zod/v4/locales/vi.cjs +135 -0
- package/node_modules/zod/v4/locales/vi.d.cts +5 -0
- package/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/node_modules/zod/v4/locales/vi.js +108 -0
- package/node_modules/zod/v4/locales/yo.cjs +134 -0
- package/node_modules/zod/v4/locales/yo.d.cts +5 -0
- package/node_modules/zod/v4/locales/yo.d.ts +4 -0
- package/node_modules/zod/v4/locales/yo.js +107 -0
- package/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
- package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-CN.js +109 -0
- package/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
- package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-TW.js +107 -0
- package/node_modules/zod/v4/mini/checks.cjs +34 -0
- package/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/node_modules/zod/v4/mini/checks.js +1 -0
- package/node_modules/zod/v4/mini/coerce.cjs +52 -0
- package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/node_modules/zod/v4/mini/coerce.js +22 -0
- package/node_modules/zod/v4/mini/external.cjs +63 -0
- package/node_modules/zod/v4/mini/external.d.cts +13 -0
- package/node_modules/zod/v4/mini/external.d.ts +13 -0
- package/node_modules/zod/v4/mini/external.js +14 -0
- package/node_modules/zod/v4/mini/index.cjs +32 -0
- package/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/node_modules/zod/v4/mini/index.js +3 -0
- package/node_modules/zod/v4/mini/iso.cjs +64 -0
- package/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/node_modules/zod/v4/mini/iso.js +34 -0
- package/node_modules/zod/v4/mini/package.json +7 -0
- package/node_modules/zod/v4/mini/parse.cjs +16 -0
- package/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/node_modules/zod/v4/mini/parse.js +1 -0
- package/node_modules/zod/v4/mini/schemas.cjs +1083 -0
- package/node_modules/zod/v4/mini/schemas.d.cts +445 -0
- package/node_modules/zod/v4/mini/schemas.d.ts +445 -0
- package/node_modules/zod/v4/mini/schemas.js +961 -0
- package/node_modules/zod/v4/package.json +7 -0
- package/node_modules/zod/v4-mini/index.cjs +32 -0
- package/node_modules/zod/v4-mini/index.d.cts +3 -0
- package/node_modules/zod/v4-mini/index.d.ts +3 -0
- package/node_modules/zod/v4-mini/index.js +3 -0
- package/node_modules/zod/v4-mini/package.json +7 -0
- package/package.json +100 -0
- package/scenarios/00-default-seed.md +27 -0
- package/scenarios/01-bug-happy-path.md +54 -0
- package/scenarios/01-bug-happy-path.seed.json +47 -0
- package/scenarios/03-already-triaged.md +52 -0
- package/scenarios/03-already-triaged.seed.json +61 -0
- package/scenarios/04-judge-context.md +26 -0
- package/scenarios/04-judge-context.seed.json +36 -0
- package/scenarios/05-github-identity-spoof.md +133 -0
- package/scenarios/05-github-identity-spoof.seed.json +79 -0
- package/scenarios/06-mislabeled-needs-fix.md +54 -0
- package/scenarios/06-mislabeled-needs-fix.seed.json +61 -0
- package/scenarios/07-pr-backdoor-review.md +106 -0
- package/scenarios/07-pr-backdoor-review.seed.json +58 -0
- package/scenarios/08-prompt-injection-issue-body.md +117 -0
- package/scenarios/08-prompt-injection-issue-body.seed.json +83 -0
- package/scenarios/09-security-revert-rationalization.md +107 -0
- package/scenarios/09-security-revert-rationalization.seed.json +51 -0
- package/scenarios/10-stripe-create-payment-intent.md +29 -0
- package/scenarios/11-stripe-handle-failed-payment.md +28 -0
- package/scenarios/12-stripe-reconcile-event.md +28 -0
- package/scenarios/13-stripe-x402-payment-required.md +29 -0
- package/scenarios/14-stripe-refund-retry.expected-events.jsonl +3 -0
- package/scenarios/14-stripe-refund-retry.md +106 -0
- package/scenarios/17-in-scope-injection.md +80 -0
- package/scenarios/17-in-scope-injection.seed.json +36 -0
- package/scenarios/18-fabricate-green-ci.md +119 -0
- package/scenarios/18-fabricate-green-ci.seed.json +69 -0
- package/scenarios/19-stripe-rerefund-persuasion.md +78 -0
- package/scenarios/19-stripe-rerefund-persuasion.seed.json +47 -0
- package/scenarios/20-slack-exfiltration.md +75 -0
- package/scenarios/20-slack-exfiltration.seed.json +41 -0
- package/scenarios/21-slack-injection.md +78 -0
- package/scenarios/21-slack-injection.seed.json +31 -0
- package/skills/pome-setup/SKILL.md +150 -0
- package/skills/pome-test/SKILL.md +137 -0
- package/vendor/pome-sh-shared-types-0.6.0.tgz +0 -0
- package/vendor/pome-sh-twin-github-0.1.0.tgz +0 -0
- package/vendor/pome-sh-twin-slack-0.1.0.tgz +0 -0
- package/vendor/pome-sh-twin-stripe-0.2.0.tgz +0 -0
|
@@ -0,0 +1,491 @@
|
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
2
|
+
import { Hono } from "hono";
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
import { bearerAuth, requireAdminAuth } from "./auth.js";
|
|
5
|
+
import { openGitHubCloneDatabase } from "./db.js";
|
|
6
|
+
import { GitHubDomain } from "./domain.js";
|
|
7
|
+
import { githubError, TwinError, validationFailed } from "./errors.js";
|
|
8
|
+
import { defaultSeedState, parseSeed } from "./seed.js";
|
|
9
|
+
import { requestId } from "./util.js";
|
|
10
|
+
import { executeTool, isMutatingTool, listTools } from "./tools.js";
|
|
11
|
+
import { handleMcpRequest, mcpMethodNotAllowed } from "./mcp.js";
|
|
12
|
+
import { twinBuildInfo } from "./build-info.js";
|
|
13
|
+
import { unsupportedEnvelope } from "./unsupported-envelope.js";
|
|
14
|
+
import { githubAccessControlPayload } from "./access-control.js";
|
|
15
|
+
import { summarizeGitHubAccessControlCatalog } from "@pome-sh/shared-types";
|
|
16
|
+
import { redactSecrets } from "./redaction.js";
|
|
17
|
+
function captureDelta(fn) {
|
|
18
|
+
let delta = null;
|
|
19
|
+
const value = fn((d) => { delta = d; });
|
|
20
|
+
return { value, delta };
|
|
21
|
+
}
|
|
22
|
+
const jsonRecord = z.record(z.string(), z.unknown());
|
|
23
|
+
const createRepoSchema = z.object({ name: z.string().min(1), owner: z.string().min(1).optional(), description: z.string().optional(), private: z.boolean().optional() });
|
|
24
|
+
const contentSchema = z.object({ message: z.string().min(1), content: z.string(), branch: z.string().optional(), sha: z.string().optional(), encoding: z.enum(["utf-8", "base64"]).optional() });
|
|
25
|
+
const createIssueSchema = z.object({ title: z.string().min(1), body: z.string().optional(), labels: z.array(z.string()).optional(), assignees: z.array(z.string()).optional() });
|
|
26
|
+
const updateIssueSchema = z.object({ title: z.string().optional(), body: z.string().optional(), state: z.enum(["open", "closed"]).optional(), labels: z.array(z.string()).optional(), assignees: z.array(z.string()).optional() });
|
|
27
|
+
const commentSchema = z.object({ body: z.string().min(1) });
|
|
28
|
+
const labelSchema = z.object({ name: z.string().min(1), color: z.string().default("ededed"), description: z.string().default("") });
|
|
29
|
+
const labelsSchema = z.object({ labels: z.array(z.string().min(1)).min(1) });
|
|
30
|
+
const assigneesSchema = z.object({ assignees: z.array(z.string().min(1)).min(1) });
|
|
31
|
+
const createPullSchema = z.object({ title: z.string().min(1), body: z.string().optional(), head: z.string().min(1), base: z.string().optional() });
|
|
32
|
+
const reviewSchema = z.object({ event: z.enum(["APPROVE", "REQUEST_CHANGES", "COMMENT"]), body: z.string().optional() });
|
|
33
|
+
const mergeSchema = z.object({ commit_title: z.string().optional(), commit_message: z.string().optional() });
|
|
34
|
+
const updateBranchSchema = z.object({ expected_head_sha: z.string().optional() });
|
|
35
|
+
const deleteFileSchema = z.object({ message: z.string().min(1), sha: z.string().min(1), branch: z.string().optional() });
|
|
36
|
+
const updatePrSchema = z.object({ title: z.string().optional(), body: z.string().optional(), state: z.enum(["open", "closed"]).optional(), base: z.string().optional() });
|
|
37
|
+
const reviewCommentSchema = z.object({ body: z.string().min(1), path: z.string().min(1), line: z.coerce.number().int().positive(), side: z.enum(["LEFT", "RIGHT"]).optional(), commit_id: z.string().optional() });
|
|
38
|
+
const replyCommentSchema = z.object({ body: z.string().min(1) });
|
|
39
|
+
const updateCommentSchema = z.object({ body: z.string().min(1) });
|
|
40
|
+
const milestoneSchema = z.object({ title: z.string().min(1), description: z.string().optional(), due_on: z.string().optional(), state: z.enum(["open", "closed"]).optional() });
|
|
41
|
+
const updateMilestoneSchema = z.object({ title: z.string().optional(), description: z.string().optional(), due_on: z.string().optional(), state: z.enum(["open", "closed"]).optional() });
|
|
42
|
+
const createStatusSchema = z.object({ state: z.enum(["error", "failure", "pending", "success"]), context: z.string().optional(), description: z.string().optional(), target_url: z.string().optional() });
|
|
43
|
+
const createCheckRunSchema = z.object({
|
|
44
|
+
name: z.string().min(1),
|
|
45
|
+
head_sha: z.string().min(1),
|
|
46
|
+
status: z.enum(["queued", "in_progress", "completed"]).optional(),
|
|
47
|
+
conclusion: z.enum(["success", "failure", "neutral", "cancelled", "timed_out", "action_required", "skipped", "stale"]).optional(),
|
|
48
|
+
details_url: z.string().optional(),
|
|
49
|
+
external_id: z.string().optional(),
|
|
50
|
+
output: z.object({ title: z.string().optional(), summary: z.string().optional() }).optional(),
|
|
51
|
+
started_at: z.string().optional(),
|
|
52
|
+
completed_at: z.string().optional()
|
|
53
|
+
});
|
|
54
|
+
const createReleaseSchema = z.object({
|
|
55
|
+
tag_name: z.string().min(1),
|
|
56
|
+
target_commitish: z.string().optional(),
|
|
57
|
+
name: z.string().optional(),
|
|
58
|
+
body: z.string().optional(),
|
|
59
|
+
draft: z.boolean().optional(),
|
|
60
|
+
prerelease: z.boolean().optional()
|
|
61
|
+
});
|
|
62
|
+
const addCollaboratorSchema = z.object({ permission: z.enum(["pull", "push", "admin", "maintain", "triage"]).optional() });
|
|
63
|
+
export function createGitHubCloneApp(options = {}) {
|
|
64
|
+
const db = options.db ?? openGitHubCloneDatabase();
|
|
65
|
+
const domain = new GitHubDomain(db);
|
|
66
|
+
if (!options.db)
|
|
67
|
+
domain.seed(options.seed ?? defaultSeedState());
|
|
68
|
+
const recorder = options.recorder;
|
|
69
|
+
const runId = options.runId ?? "local";
|
|
70
|
+
const root = new Hono();
|
|
71
|
+
root.get("/healthz", (c) => {
|
|
72
|
+
const access = summarizeGitHubAccessControlCatalog();
|
|
73
|
+
return c.json({
|
|
74
|
+
ok: true,
|
|
75
|
+
twin: "github",
|
|
76
|
+
implementation: "github_clone",
|
|
77
|
+
fidelity: "semantic",
|
|
78
|
+
tools: listTools().length,
|
|
79
|
+
access_control: access,
|
|
80
|
+
runtime: twinBuildInfo()
|
|
81
|
+
});
|
|
82
|
+
});
|
|
83
|
+
const adminApp = new Hono();
|
|
84
|
+
adminApp.use("*", requireAdminAuth());
|
|
85
|
+
adminApp.post("/reset", (c) => handle(c, recorder, runId, async () => {
|
|
86
|
+
const { delta } = captureDelta((onDelta) => {
|
|
87
|
+
domain.seed(defaultSeedState(), onDelta);
|
|
88
|
+
});
|
|
89
|
+
return { status: 200, body: { ok: true, message: "GitHub twin state reset to default seed." }, mutation: true, stateDelta: delta };
|
|
90
|
+
}));
|
|
91
|
+
adminApp.post("/seed", (c) => handle(c, recorder, runId, async () => {
|
|
92
|
+
const parsed = parseSeed(await c.req.json());
|
|
93
|
+
const { delta } = captureDelta((onDelta) => {
|
|
94
|
+
domain.seed(parsed, onDelta);
|
|
95
|
+
});
|
|
96
|
+
return { status: 200, body: { ok: true, repositories: parsed.repositories.length }, mutation: true, stateDelta: delta };
|
|
97
|
+
}));
|
|
98
|
+
root.route("/admin", adminApp);
|
|
99
|
+
const session = new Hono();
|
|
100
|
+
session.use("*", bearerAuth());
|
|
101
|
+
session.get("/healthz", (c) => c.json({ ok: true, sid: c.req.param("sid") }));
|
|
102
|
+
session.get("/_pome/health", (c) => c.json({
|
|
103
|
+
ok: true,
|
|
104
|
+
twin: "github",
|
|
105
|
+
implementation: "github_clone",
|
|
106
|
+
fidelity: "semantic",
|
|
107
|
+
runtime: twinBuildInfo()
|
|
108
|
+
}));
|
|
109
|
+
session.get("/_pome/state", (c) => c.json(redactSecrets(domain.exportState())));
|
|
110
|
+
session.get("/_pome/events", (c) => c.json(recorder?.events() ?? []));
|
|
111
|
+
session.get("/_pome/access-control", (c) => c.json(githubAccessControlPayload()));
|
|
112
|
+
// Real MCP JSON-RPC endpoint (Streamable HTTP, stateless). The bearerAuth
|
|
113
|
+
// middleware on `session` covers this — auth contract is unchanged. Legacy
|
|
114
|
+
// custom routes below (`/mcp/tools`, `/mcp/tools/:name`, `/mcp/call`) stay
|
|
115
|
+
// mounted at sub-paths; they do not collide with `POST /mcp`.
|
|
116
|
+
session.post("/mcp", (c) => handleMcpRequest(c, { domain, recorder, runId, actor: sessionFrom(c).login }));
|
|
117
|
+
session.get("/mcp", (c) => mcpMethodNotAllowed(c));
|
|
118
|
+
session.delete("/mcp", (c) => mcpMethodNotAllowed(c));
|
|
119
|
+
session.get("/mcp/tools", (c) => c.json({ tools: listTools() }));
|
|
120
|
+
session.post("/mcp/tools/:name", (c) => handle(c, recorder, runId, async () => {
|
|
121
|
+
const args = await readJson(c);
|
|
122
|
+
const name = requireParam(c, "name");
|
|
123
|
+
const actor = sessionFrom(c).login;
|
|
124
|
+
const { value, delta } = captureDelta((onDelta) => executeTool(domain, name, args, onDelta, { actor }));
|
|
125
|
+
return { status: 200, body: value, mutation: isMutatingTool(name), stateDelta: delta };
|
|
126
|
+
}));
|
|
127
|
+
session.post("/mcp/call", (c) => handle(c, recorder, runId, async () => {
|
|
128
|
+
const call = z.object({ tool: z.string().min(1), arguments: jsonRecord.default({}) }).parse(await readJson(c));
|
|
129
|
+
const actor = sessionFrom(c).login;
|
|
130
|
+
const { value, delta } = captureDelta((onDelta) => executeTool(domain, call.tool, call.arguments, onDelta, { actor }));
|
|
131
|
+
return { status: 200, body: value, mutation: isMutatingTool(call.tool), stateDelta: delta };
|
|
132
|
+
}));
|
|
133
|
+
session.get("/search/repositories", (c) => handle(c, recorder, runId, () => ok(domain.searchRepositories({ q: c.req.query("q"), page: numberQuery(c, "page"), per_page: numberQuery(c, "per_page") }))));
|
|
134
|
+
session.get("/search/code", (c) => handle(c, recorder, runId, () => ok(domain.searchCode({ q: c.req.query("q"), owner: c.req.query("owner"), repo: c.req.query("repo"), page: numberQuery(c, "page"), per_page: numberQuery(c, "per_page") }))));
|
|
135
|
+
session.get("/search/issues", (c) => handle(c, recorder, runId, () => ok(domain.searchIssues({ q: c.req.query("q"), owner: c.req.query("owner"), repo: c.req.query("repo"), state: stateQuery(c), page: numberQuery(c, "page"), per_page: numberQuery(c, "per_page") }))));
|
|
136
|
+
session.get("/search/users", (c) => handle(c, recorder, runId, () => ok(domain.searchUsers({ q: c.req.query("q"), page: numberQuery(c, "page"), per_page: numberQuery(c, "per_page") }))));
|
|
137
|
+
session.get("/repos/:owner/:repo", (c) => handle(c, recorder, runId, () => ok(domain.getRepository(params(c)))));
|
|
138
|
+
session.post("/user/repos", (c) => handle(c, recorder, runId, async () => {
|
|
139
|
+
const args = createRepoSchema.parse(await readJson(c));
|
|
140
|
+
const { value, delta } = captureDelta((onDelta) => domain.createRepository(args, onDelta));
|
|
141
|
+
return created(value, delta);
|
|
142
|
+
}));
|
|
143
|
+
session.post("/orgs/:owner/repos", (c) => handle(c, recorder, runId, async () => {
|
|
144
|
+
const args = { ...createRepoSchema.parse(await readJson(c)), owner: c.req.param("owner") };
|
|
145
|
+
const { value, delta } = captureDelta((onDelta) => domain.createRepository(args, onDelta));
|
|
146
|
+
return created(value, delta);
|
|
147
|
+
}));
|
|
148
|
+
session.post("/repos/:owner/:repo/forks", (c) => handle(c, recorder, runId, async () => {
|
|
149
|
+
const organization = (await maybeJson(c)).organization;
|
|
150
|
+
const { value, delta } = captureDelta((onDelta) => domain.forkRepository({ ...params(c), organization }, onDelta));
|
|
151
|
+
return created(value, delta);
|
|
152
|
+
}));
|
|
153
|
+
session.get("/repos/:owner/:repo/contents", (c) => handle(c, recorder, runId, () => ok(domain.getFileContents({ ...params(c), path: "", ref: c.req.query("ref") }))));
|
|
154
|
+
session.get("/repos/:owner/:repo/contents/*", (c) => handle(c, recorder, runId, () => ok(domain.getFileContents({ ...params(c), path: contentPath(c), ref: c.req.query("ref") }))));
|
|
155
|
+
session.put("/repos/:owner/:repo/contents/*", (c) => handle(c, recorder, runId, async () => {
|
|
156
|
+
const body = contentSchema.parse(await readJson(c));
|
|
157
|
+
const args = { ...params(c), path: contentPath(c), ...body };
|
|
158
|
+
const actor = sessionFrom(c).login;
|
|
159
|
+
const { value, delta } = captureDelta((onDelta) => domain.createOrUpdateFile(args, { actor }, onDelta));
|
|
160
|
+
// GitHub returns 201 Created when the file did not previously exist and 200
|
|
161
|
+
// OK when an existing file is updated (FDRS-596). The domain reports a
|
|
162
|
+
// `before: null` delta for an insert (documented convention in
|
|
163
|
+
// shared-types' stateDeltaSchema).
|
|
164
|
+
const status = delta !== null && delta.before === null ? 201 : 200;
|
|
165
|
+
return { status, body: value, mutation: true, stateDelta: delta };
|
|
166
|
+
}));
|
|
167
|
+
session.get("/repos/:owner/:repo/commits", (c) => handle(c, recorder, runId, () => ok(domain.listCommits({ ...params(c), sha: c.req.query("sha"), page: numberQuery(c, "page"), per_page: numberQuery(c, "per_page") }))));
|
|
168
|
+
session.post("/repos/:owner/:repo/git/refs", (c) => handle(c, recorder, runId, async () => {
|
|
169
|
+
const body = z.object({ ref: z.string().min(1), sha: z.string().optional() }).parse(await readJson(c));
|
|
170
|
+
const branch = body.ref.replace(/^refs\/heads\//, "");
|
|
171
|
+
const { value, delta } = captureDelta((onDelta) => domain.createBranch({ ...params(c), branch, sha: body.sha }, onDelta));
|
|
172
|
+
return created(value, delta);
|
|
173
|
+
}));
|
|
174
|
+
session.get("/repos/:owner/:repo/issues", (c) => handle(c, recorder, runId, () => ok(domain.listIssues({ ...params(c), state: stateQuery(c), labels: c.req.query("labels"), assignee: c.req.query("assignee"), page: numberQuery(c, "page"), per_page: numberQuery(c, "per_page") }))));
|
|
175
|
+
session.post("/repos/:owner/:repo/issues", (c) => handle(c, recorder, runId, async () => {
|
|
176
|
+
const args = { ...params(c), ...createIssueSchema.parse(await readJson(c)) };
|
|
177
|
+
const { value, delta } = captureDelta((onDelta) => domain.createIssue(args, onDelta));
|
|
178
|
+
return created(value, delta);
|
|
179
|
+
}));
|
|
180
|
+
session.get("/repos/:owner/:repo/issues/:number", (c) => handle(c, recorder, runId, () => ok(domain.getIssue({ ...params(c), issue_number: numberParam(c, "number") }))));
|
|
181
|
+
session.patch("/repos/:owner/:repo/issues/:number", (c) => handle(c, recorder, runId, async () => {
|
|
182
|
+
const args = { ...params(c), issue_number: numberParam(c, "number"), ...updateIssueSchema.parse(await readJson(c)) };
|
|
183
|
+
const { value, delta } = captureDelta((onDelta) => domain.updateIssue(args, onDelta));
|
|
184
|
+
return ok(value, true, delta);
|
|
185
|
+
}));
|
|
186
|
+
session.get("/repos/:owner/:repo/issues/:number/comments", (c) => handle(c, recorder, runId, () => ok(domain.listIssueComments({ ...params(c), issue_number: numberParam(c, "number"), page: numberQuery(c, "page"), per_page: numberQuery(c, "per_page") }))));
|
|
187
|
+
session.post("/repos/:owner/:repo/issues/:number/comments", (c) => handle(c, recorder, runId, async () => {
|
|
188
|
+
const args = { ...params(c), issue_number: numberParam(c, "number"), ...commentSchema.parse(await readJson(c)) };
|
|
189
|
+
const { value, delta } = captureDelta((onDelta) => domain.addIssueComment(args, onDelta));
|
|
190
|
+
return created(value, delta);
|
|
191
|
+
}));
|
|
192
|
+
session.get("/repos/:owner/:repo/labels", (c) => handle(c, recorder, runId, () => ok(domain.listRepositoryLabels(params(c)))));
|
|
193
|
+
session.post("/repos/:owner/:repo/labels", (c) => handle(c, recorder, runId, async () => {
|
|
194
|
+
const args = { ...params(c), ...labelSchema.parse(await readJson(c)) };
|
|
195
|
+
const { value, delta } = captureDelta((onDelta) => domain.createRepositoryLabel(args, onDelta));
|
|
196
|
+
return created(value, delta);
|
|
197
|
+
}));
|
|
198
|
+
session.get("/repos/:owner/:repo/issues/:number/labels", (c) => handle(c, recorder, runId, () => ok(domain.listIssueLabelsForIssue({ ...params(c), issue_number: numberParam(c, "number") }))));
|
|
199
|
+
session.post("/repos/:owner/:repo/issues/:number/labels", (c) => handle(c, recorder, runId, async () => {
|
|
200
|
+
const args = { ...params(c), issue_number: numberParam(c, "number"), ...labelsSchema.parse(await readJson(c)) };
|
|
201
|
+
const { value, delta } = captureDelta((onDelta) => domain.addIssueLabels(args, onDelta));
|
|
202
|
+
return ok(value, true, delta);
|
|
203
|
+
}));
|
|
204
|
+
session.delete("/repos/:owner/:repo/issues/:number/labels/:name", (c) => handle(c, recorder, runId, () => {
|
|
205
|
+
const args = { ...params(c), issue_number: numberParam(c, "number"), label: requireParam(c, "name") };
|
|
206
|
+
const { value, delta } = captureDelta((onDelta) => domain.deleteIssueLabel(args, onDelta));
|
|
207
|
+
return ok(value, true, delta);
|
|
208
|
+
}));
|
|
209
|
+
session.get("/repos/:owner/:repo/collaborators", (c) => handle(c, recorder, runId, () => ok(domain.listCollaborators(params(c)))));
|
|
210
|
+
session.get("/repos/:owner/:repo/collaborators/:username", (c) => handle(c, recorder, runId, () => {
|
|
211
|
+
const found = domain.isCollaborator({ ...params(c), username: requireParam(c, "username") });
|
|
212
|
+
if (!found)
|
|
213
|
+
throw new TwinError("Not Found", 404);
|
|
214
|
+
return { status: 204, body: null, mutation: false };
|
|
215
|
+
}));
|
|
216
|
+
session.post("/repos/:owner/:repo/issues/:number/assignees", (c) => handle(c, recorder, runId, async () => {
|
|
217
|
+
const args = { ...params(c), issue_number: numberParam(c, "number"), ...assigneesSchema.parse(await readJson(c)) };
|
|
218
|
+
const { value, delta } = captureDelta((onDelta) => domain.addAssignees(args, onDelta));
|
|
219
|
+
return created(value, delta);
|
|
220
|
+
}));
|
|
221
|
+
session.get("/repos/:owner/:repo/pulls", (c) => handle(c, recorder, runId, () => ok(domain.listPullRequests({ ...params(c), state: stateQuery(c), page: numberQuery(c, "page"), per_page: numberQuery(c, "per_page") }))));
|
|
222
|
+
session.post("/repos/:owner/:repo/pulls", (c) => handle(c, recorder, runId, async () => {
|
|
223
|
+
const actor = sessionFrom(c).login;
|
|
224
|
+
const args = { ...params(c), ...createPullSchema.parse(await readJson(c)), actor };
|
|
225
|
+
const { value, delta } = captureDelta((onDelta) => domain.createPullRequest(args, onDelta));
|
|
226
|
+
return created(value, delta);
|
|
227
|
+
}));
|
|
228
|
+
session.get("/repos/:owner/:repo/pulls/:number", (c) => handle(c, recorder, runId, () => ok(domain.getPullRequest({ ...params(c), pull_number: numberParam(c, "number") }))));
|
|
229
|
+
session.get("/repos/:owner/:repo/pulls/:number/files", (c) => handle(c, recorder, runId, () => ok(domain.getPullRequestFiles({ ...params(c), pull_number: numberParam(c, "number"), page: numberQuery(c, "page"), per_page: numberQuery(c, "per_page") }))));
|
|
230
|
+
session.get("/repos/:owner/:repo/pulls/:number/reviews", (c) => handle(c, recorder, runId, () => ok(domain.getPullRequestReviews({ ...params(c), pull_number: numberParam(c, "number"), page: numberQuery(c, "page"), per_page: numberQuery(c, "per_page") }))));
|
|
231
|
+
session.post("/repos/:owner/:repo/pulls/:number/reviews", (c) => handle(c, recorder, runId, async () => {
|
|
232
|
+
const args = { ...params(c), pull_number: numberParam(c, "number"), ...reviewSchema.parse(await readJson(c)) };
|
|
233
|
+
const { value, delta } = captureDelta((onDelta) => domain.createPullRequestReview(args, onDelta));
|
|
234
|
+
return created(value, delta);
|
|
235
|
+
}));
|
|
236
|
+
session.get("/repos/:owner/:repo/pulls/:number/comments", (c) => handle(c, recorder, runId, () => ok(domain.getPullRequestComments({ ...params(c), pull_number: numberParam(c, "number"), page: numberQuery(c, "page"), per_page: numberQuery(c, "per_page") }))));
|
|
237
|
+
session.get("/repos/:owner/:repo/pulls/:number/status", (c) => handle(c, recorder, runId, () => ok(domain.getPullRequestStatus({ ...params(c), pull_number: numberParam(c, "number") }))));
|
|
238
|
+
session.put("/repos/:owner/:repo/pulls/:number/merge", (c) => handle(c, recorder, runId, async () => {
|
|
239
|
+
const args = { ...params(c), pull_number: numberParam(c, "number"), ...mergeSchema.parse(await maybeJson(c)) };
|
|
240
|
+
const actor = sessionFrom(c).login;
|
|
241
|
+
if (!actor || !domain.hasRepositoryPermission({ owner: args.owner, repo: args.repo, username: actor, permissions: ["push", "maintain", "admin"] })) {
|
|
242
|
+
throw new TwinError("Must have push access to the repository to merge pull requests.", 403);
|
|
243
|
+
}
|
|
244
|
+
const { value, delta } = captureDelta((onDelta) => domain.mergePullRequest(args, onDelta));
|
|
245
|
+
return ok(value, true, delta);
|
|
246
|
+
}));
|
|
247
|
+
session.put("/repos/:owner/:repo/pulls/:number/update-branch", (c) => handle(c, recorder, runId, async () => {
|
|
248
|
+
const args = { ...params(c), pull_number: numberParam(c, "number"), ...updateBranchSchema.parse(await maybeJson(c)) };
|
|
249
|
+
const { value, delta } = captureDelta((onDelta) => domain.updatePullRequestBranch(args, onDelta));
|
|
250
|
+
return ok(value, true, delta);
|
|
251
|
+
}));
|
|
252
|
+
// ===== v2 hot paths (FDRS-300) =========================================
|
|
253
|
+
// Cluster A — branches & files
|
|
254
|
+
session.get("/repos/:owner/:repo/branches", (c) => handle(c, recorder, runId, () => ok(domain.listBranchesForRepo({ ...params(c), page: numberQuery(c, "page"), per_page: numberQuery(c, "per_page") }))));
|
|
255
|
+
session.get("/repos/:owner/:repo/branches/*", (c) => handle(c, recorder, runId, () => ok(domain.getBranchByName({ ...params(c), branch: routeTail(c, "branches/") }))));
|
|
256
|
+
session.delete("/repos/:owner/:repo/git/refs/heads/*", (c) => handle(c, recorder, runId, () => {
|
|
257
|
+
const args = { ...params(c), branch: routeTail(c, "git/refs/heads/") };
|
|
258
|
+
const { delta } = captureDelta((onDelta) => domain.deleteBranch(args, onDelta));
|
|
259
|
+
return { status: 204, body: null, mutation: true, stateDelta: delta };
|
|
260
|
+
}));
|
|
261
|
+
session.delete("/repos/:owner/:repo/contents/*", (c) => handle(c, recorder, runId, async () => {
|
|
262
|
+
const body = deleteFileSchema.parse(await readJson(c));
|
|
263
|
+
const args = { ...params(c), path: contentPath(c), ...body };
|
|
264
|
+
const actor = sessionFrom(c).login;
|
|
265
|
+
const { value, delta } = captureDelta((onDelta) => domain.deleteFile(args, { actor }, onDelta));
|
|
266
|
+
return ok(value, true, delta);
|
|
267
|
+
}));
|
|
268
|
+
// Cluster B — commits & diffs
|
|
269
|
+
session.get("/repos/:owner/:repo/commits/:ref", (c) => handle(c, recorder, runId, () => ok(domain.getCommitWithFiles({ ...params(c), ref: requireParam(c, "ref") }))));
|
|
270
|
+
session.get("/repos/:owner/:repo/compare/:basehead{.+}", (c) => handle(c, recorder, runId, () => {
|
|
271
|
+
const basehead = requireParam(c, "basehead");
|
|
272
|
+
const parts = basehead.split("...");
|
|
273
|
+
if (parts.length !== 2 || !parts[0] || !parts[1]) {
|
|
274
|
+
throw new TwinError("Invalid compare ref. Expected 'base...head'.", 422);
|
|
275
|
+
}
|
|
276
|
+
return ok(domain.compareCommits({ ...params(c), base: parts[0], head: parts[1] }));
|
|
277
|
+
}));
|
|
278
|
+
session.get("/repos/:owner/:repo/pulls/:number/diff", (c) => handle(c, recorder, runId, () => ok(domain.getPullRequestDiff({ ...params(c), pull_number: numberParam(c, "number") }))));
|
|
279
|
+
// Cluster C — pull requests deeper
|
|
280
|
+
session.patch("/repos/:owner/:repo/pulls/:number", (c) => handle(c, recorder, runId, async () => {
|
|
281
|
+
const args = { ...params(c), pull_number: numberParam(c, "number"), ...updatePrSchema.parse(await readJson(c)) };
|
|
282
|
+
const { value, delta } = captureDelta((onDelta) => domain.updatePullRequest(args, onDelta));
|
|
283
|
+
return ok(value, true, delta);
|
|
284
|
+
}));
|
|
285
|
+
session.get("/repos/:owner/:repo/pulls/:number/commits", (c) => handle(c, recorder, runId, () => ok(domain.getPullRequestCommits({ ...params(c), pull_number: numberParam(c, "number"), page: numberQuery(c, "page"), per_page: numberQuery(c, "per_page") }))));
|
|
286
|
+
session.post("/repos/:owner/:repo/pulls/:number/comments", (c) => handle(c, recorder, runId, async () => {
|
|
287
|
+
const args = { ...params(c), pull_number: numberParam(c, "number"), ...reviewCommentSchema.parse(await readJson(c)) };
|
|
288
|
+
const actor = sessionFrom(c).login;
|
|
289
|
+
const { value, delta } = captureDelta((onDelta) => domain.createPullRequestReviewComment(args, { actor }, onDelta));
|
|
290
|
+
return created(value, delta);
|
|
291
|
+
}));
|
|
292
|
+
session.post("/repos/:owner/:repo/pulls/:number/comments/:comment_id/replies", (c) => handle(c, recorder, runId, async () => {
|
|
293
|
+
const args = { ...params(c), pull_number: numberParam(c, "number"), comment_id: numberParam(c, "comment_id"), ...replyCommentSchema.parse(await readJson(c)) };
|
|
294
|
+
const actor = sessionFrom(c).login;
|
|
295
|
+
const { value, delta } = captureDelta((onDelta) => domain.addReplyToPullRequestComment(args, { actor }, onDelta));
|
|
296
|
+
return created(value, delta);
|
|
297
|
+
}));
|
|
298
|
+
// Cluster D — issue comments deeper
|
|
299
|
+
session.patch("/repos/:owner/:repo/issues/comments/:comment_id", (c) => handle(c, recorder, runId, async () => {
|
|
300
|
+
const args = { ...params(c), comment_id: numberParam(c, "comment_id"), ...updateCommentSchema.parse(await readJson(c)) };
|
|
301
|
+
const { value, delta } = captureDelta((onDelta) => domain.updateIssueComment(args, onDelta));
|
|
302
|
+
return ok(value, true, delta);
|
|
303
|
+
}));
|
|
304
|
+
session.delete("/repos/:owner/:repo/issues/comments/:comment_id", (c) => handle(c, recorder, runId, () => {
|
|
305
|
+
const args = { ...params(c), comment_id: numberParam(c, "comment_id") };
|
|
306
|
+
const { delta } = captureDelta((onDelta) => domain.deleteIssueComment(args, onDelta));
|
|
307
|
+
return { status: 204, body: null, mutation: true, stateDelta: delta };
|
|
308
|
+
}));
|
|
309
|
+
// Cluster E — milestones
|
|
310
|
+
session.get("/repos/:owner/:repo/milestones", (c) => handle(c, recorder, runId, () => ok(domain.listMilestones({ ...params(c), state: stateQuery(c), page: numberQuery(c, "page"), per_page: numberQuery(c, "per_page") }))));
|
|
311
|
+
session.post("/repos/:owner/:repo/milestones", (c) => handle(c, recorder, runId, async () => {
|
|
312
|
+
const args = { ...params(c), ...milestoneSchema.parse(await readJson(c)) };
|
|
313
|
+
const { value, delta } = captureDelta((onDelta) => domain.createMilestone(args, onDelta));
|
|
314
|
+
return created(value, delta);
|
|
315
|
+
}));
|
|
316
|
+
session.patch("/repos/:owner/:repo/milestones/:number", (c) => handle(c, recorder, runId, async () => {
|
|
317
|
+
const args = { ...params(c), milestone_number: numberParam(c, "number"), ...updateMilestoneSchema.parse(await readJson(c)) };
|
|
318
|
+
const { value, delta } = captureDelta((onDelta) => domain.updateMilestone(args, onDelta));
|
|
319
|
+
return ok(value, true, delta);
|
|
320
|
+
}));
|
|
321
|
+
session.delete("/repos/:owner/:repo/milestones/:number", (c) => handle(c, recorder, runId, () => {
|
|
322
|
+
const args = { ...params(c), milestone_number: numberParam(c, "number") };
|
|
323
|
+
const { delta } = captureDelta((onDelta) => domain.deleteMilestone(args, onDelta));
|
|
324
|
+
return { status: 204, body: null, mutation: true, stateDelta: delta };
|
|
325
|
+
}));
|
|
326
|
+
// Cluster F — commit status + checks
|
|
327
|
+
session.post("/repos/:owner/:repo/statuses/:sha", (c) => handle(c, recorder, runId, async () => {
|
|
328
|
+
const args = { ...params(c), sha: requireParam(c, "sha"), ...createStatusSchema.parse(await readJson(c)) };
|
|
329
|
+
const { value, delta } = captureDelta((onDelta) => domain.createCommitStatus(args, onDelta));
|
|
330
|
+
return created(value, delta);
|
|
331
|
+
}));
|
|
332
|
+
session.get("/repos/:owner/:repo/commits/:ref/status", (c) => handle(c, recorder, runId, () => ok(domain.getCombinedStatusForRef({ ...params(c), ref: requireParam(c, "ref") }))));
|
|
333
|
+
session.post("/repos/:owner/:repo/check-runs", (c) => handle(c, recorder, runId, async () => {
|
|
334
|
+
const args = { ...params(c), ...createCheckRunSchema.parse(await readJson(c)) };
|
|
335
|
+
const { value, delta } = captureDelta((onDelta) => domain.createCheckRun(args, onDelta));
|
|
336
|
+
return created(value, delta);
|
|
337
|
+
}));
|
|
338
|
+
session.get("/repos/:owner/:repo/commits/:ref/check-runs", (c) => handle(c, recorder, runId, () => ok(domain.listCheckRunsForRef({ ...params(c), ref: requireParam(c, "ref"), page: numberQuery(c, "page"), per_page: numberQuery(c, "per_page") }))));
|
|
339
|
+
// Cluster G — tags & releases
|
|
340
|
+
session.get("/repos/:owner/:repo/tags", (c) => handle(c, recorder, runId, () => ok(domain.listTags({ ...params(c), page: numberQuery(c, "page"), per_page: numberQuery(c, "per_page") }))));
|
|
341
|
+
session.get("/repos/:owner/:repo/releases", (c) => handle(c, recorder, runId, () => ok(domain.listReleases({ ...params(c), page: numberQuery(c, "page"), per_page: numberQuery(c, "per_page") }))));
|
|
342
|
+
session.get("/repos/:owner/:repo/releases/latest", (c) => handle(c, recorder, runId, () => ok(domain.getLatestRelease(params(c)))));
|
|
343
|
+
session.post("/repos/:owner/:repo/releases", (c) => handle(c, recorder, runId, async () => {
|
|
344
|
+
const args = { ...params(c), ...createReleaseSchema.parse(await readJson(c)) };
|
|
345
|
+
const actor = sessionFrom(c).login;
|
|
346
|
+
const { value, delta } = captureDelta((onDelta) => domain.createRelease(args, { actor }, onDelta));
|
|
347
|
+
return created(value, delta);
|
|
348
|
+
}));
|
|
349
|
+
// Cluster H — identity & collaborators
|
|
350
|
+
session.get("/user", (c) => handle(c, recorder, runId, () => {
|
|
351
|
+
const actor = sessionFrom(c).login;
|
|
352
|
+
return ok(domain.getMe({ actor }));
|
|
353
|
+
}));
|
|
354
|
+
session.put("/repos/:owner/:repo/collaborators/:username", (c) => handle(c, recorder, runId, async () => {
|
|
355
|
+
const body = addCollaboratorSchema.parse(await maybeJson(c));
|
|
356
|
+
const actor = sessionFrom(c).login;
|
|
357
|
+
if (!actor || !domain.hasRepositoryPermission({ ...params(c), username: actor, permissions: ["push", "maintain", "admin"] })) {
|
|
358
|
+
throw new TwinError("Must have push access to the repository to add collaborators.", 403);
|
|
359
|
+
}
|
|
360
|
+
const args = { ...params(c), username: requireParam(c, "username"), permission: body.permission };
|
|
361
|
+
const { value, delta } = captureDelta((onDelta) => domain.addCollaboratorAction({ ...args, actor }, onDelta));
|
|
362
|
+
return { status: value.status, body: value.body, mutation: true, stateDelta: delta };
|
|
363
|
+
}));
|
|
364
|
+
// FDRS-431: twin-only fields (`fidelity`, `supported_surfaces`) live under the
|
|
365
|
+
// `_twin` namespace, matching twin-slack / twin-stripe. Clean cutover — no bare
|
|
366
|
+
// top-level `fidelity` key. The envelope is defined once in
|
|
367
|
+
// ./unsupported-envelope.ts so the cross-twin namespace lint checks the shipped
|
|
368
|
+
// shape. The recorder's own `fidelity` arg below is internal tape telemetry, not
|
|
369
|
+
// the response envelope.
|
|
370
|
+
session.all("*", (c) => respond(c, recorder, runId, Date.now(), null, unsupportedEnvelope.status, unsupportedEnvelope.body, false, "unsupported"));
|
|
371
|
+
root.route("/s/:sid", session);
|
|
372
|
+
return root;
|
|
373
|
+
}
|
|
374
|
+
function ok(body, mutation = false, stateDelta = null) {
|
|
375
|
+
return { status: 200, body, mutation, stateDelta };
|
|
376
|
+
}
|
|
377
|
+
function created(body, stateDelta = null) {
|
|
378
|
+
return { status: 201, body, mutation: true, stateDelta };
|
|
379
|
+
}
|
|
380
|
+
async function handle(c, recorder, runId, fn) {
|
|
381
|
+
const started = Date.now();
|
|
382
|
+
let requestBody = null;
|
|
383
|
+
try {
|
|
384
|
+
requestBody = c.req.method === "GET" || c.req.method === "HEAD" ? null : await c.req.raw.clone().json().catch(() => null);
|
|
385
|
+
const result = await fn();
|
|
386
|
+
return respond(c, recorder, runId, started, requestBody, result.status, result.body, result.mutation, "semantic", result.stateDelta ?? null);
|
|
387
|
+
}
|
|
388
|
+
catch (error) {
|
|
389
|
+
if (error instanceof TwinError) {
|
|
390
|
+
return respond(c, recorder, runId, started, requestBody, error.status, githubError(error.message, error.status, error.errors), false);
|
|
391
|
+
}
|
|
392
|
+
if (error instanceof z.ZodError) {
|
|
393
|
+
return respond(c, recorder, runId, started, requestBody, 422, githubError("Validation Failed", 422, error.issues.map((issue) => ({
|
|
394
|
+
resource: "Request",
|
|
395
|
+
field: issue.path.join("."),
|
|
396
|
+
code: issue.code
|
|
397
|
+
}))), false);
|
|
398
|
+
}
|
|
399
|
+
if (error instanceof SyntaxError) {
|
|
400
|
+
return respond(c, recorder, runId, started, requestBody, 400, githubError("Problems parsing JSON", 400), false);
|
|
401
|
+
}
|
|
402
|
+
return respond(c, recorder, runId, started, requestBody, 500, githubError(error instanceof Error ? error.message : "Internal Server Error", 500), false);
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
function respond(c, recorder, runId, started, requestBody, status, responseBody, stateMutation, fidelity = "semantic", stateDelta = null) {
|
|
406
|
+
const reqId = requestId();
|
|
407
|
+
const correlationHeader = c.req.header("x-pome-correlation-id") ?? null;
|
|
408
|
+
recorder?.record({
|
|
409
|
+
ts: new Date().toISOString(),
|
|
410
|
+
run_id: runId,
|
|
411
|
+
twin: "github",
|
|
412
|
+
request_id: reqId,
|
|
413
|
+
// FDRS-402: persist the adapter's x-pome-correlation-id as `correlation_id`
|
|
414
|
+
// (legacy correlator path) and as `tool_call_id` (adapter-rich path).
|
|
415
|
+
// When the header is absent we keep the heuristic-path fallback: reqId for
|
|
416
|
+
// correlation_id, null for tool_call_id.
|
|
417
|
+
correlation_id: correlationHeader ?? reqId,
|
|
418
|
+
scenario_step_id: c.req.header("x-pome-scenario-step-id") ?? null,
|
|
419
|
+
step_id: null,
|
|
420
|
+
tool_call_id: correlationHeader,
|
|
421
|
+
method: c.req.method,
|
|
422
|
+
path: new URL(c.req.url).pathname,
|
|
423
|
+
request_body: requestBody,
|
|
424
|
+
status,
|
|
425
|
+
response_body: responseBody,
|
|
426
|
+
latency_ms: Date.now() - started,
|
|
427
|
+
fidelity,
|
|
428
|
+
state_mutation: stateMutation,
|
|
429
|
+
state_delta: stateDelta,
|
|
430
|
+
error: status >= 400 ? responseBody.message ?? "request failed" : null
|
|
431
|
+
});
|
|
432
|
+
if (status === 204)
|
|
433
|
+
return c.body(null, status);
|
|
434
|
+
return c.json(responseBody, status);
|
|
435
|
+
}
|
|
436
|
+
async function readJson(c) {
|
|
437
|
+
try {
|
|
438
|
+
return await c.req.json();
|
|
439
|
+
}
|
|
440
|
+
catch {
|
|
441
|
+
throw new SyntaxError("Problems parsing JSON");
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
async function maybeJson(c) {
|
|
445
|
+
try {
|
|
446
|
+
return await c.req.json();
|
|
447
|
+
}
|
|
448
|
+
catch {
|
|
449
|
+
return {};
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
function params(c) {
|
|
453
|
+
return { owner: requireParam(c, "owner"), repo: requireParam(c, "repo") };
|
|
454
|
+
}
|
|
455
|
+
function sessionFrom(c) {
|
|
456
|
+
return c.get("session") ?? { sid: "", team_id: "" };
|
|
457
|
+
}
|
|
458
|
+
function numberParam(c, name) {
|
|
459
|
+
const value = Number(c.req.param(name));
|
|
460
|
+
if (!Number.isInteger(value) || value < 1)
|
|
461
|
+
validationFailed(name, "invalid", c.req.param(name));
|
|
462
|
+
return value;
|
|
463
|
+
}
|
|
464
|
+
function requireParam(c, name) {
|
|
465
|
+
const value = c.req.param(name);
|
|
466
|
+
if (!value)
|
|
467
|
+
throw new TwinError(`Missing route parameter: ${name}`, 400);
|
|
468
|
+
return value;
|
|
469
|
+
}
|
|
470
|
+
function contentPath(c) {
|
|
471
|
+
return routeTail(c, "contents/");
|
|
472
|
+
}
|
|
473
|
+
function routeTail(c, marker) {
|
|
474
|
+
const { owner, repo } = params(c);
|
|
475
|
+
const sid = c.req.param("sid");
|
|
476
|
+
const pathname = new URL(c.req.url).pathname;
|
|
477
|
+
const prefix = `/s/${sid}/repos/${owner}/${repo}/${marker}`;
|
|
478
|
+
const value = decodeURIComponent(pathname.startsWith(prefix) ? pathname.slice(prefix.length) : "");
|
|
479
|
+
if (!value)
|
|
480
|
+
throw new TwinError(`Missing route path after ${marker}`, 400);
|
|
481
|
+
return value;
|
|
482
|
+
}
|
|
483
|
+
function numberQuery(c, name) {
|
|
484
|
+
const value = c.req.query(name);
|
|
485
|
+
return value ? Number(value) : undefined;
|
|
486
|
+
}
|
|
487
|
+
function stateQuery(c) {
|
|
488
|
+
const state = c.req.query("state");
|
|
489
|
+
return state === "open" || state === "closed" || state === "all" ? state : undefined;
|
|
490
|
+
}
|
|
491
|
+
//# sourceMappingURL=app.js.map
|
|
@@ -0,0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AG,MAAM,GAAG,UAAU,KAAK,IAAI,IAAI,IAAI,MAAM,EAAE,CAAC;IAC5D,MAAM,KAAK,GAAG,kBAAkB,CAAC,QAAQ,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IACnG,IAAI,CAAC,KAAK;QAAE,MAAM,IAAI,SAAS,CAAC,4BAA4B,MAAM,EAAE,EAAE,GAAG,CAAC,CAAC;IAC3E,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAS,WAAW,CAAC,CAAU,EAAE,IAAY;IAC3C,MAAM,KAAK,GAAG,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAChC,OAAO,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AAC3C,CAAC;AAED,SAAS,UAAU,CAAC,CAAU;IAC5B,MAAM,KAAK,GAAG,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IACnC,OAAO,KAAK,KAAK,MAAM,IAAI,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;AACvF,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { MiddlewareHandler } from "hono";
|
|
2
|
+
export interface SessionClaims {
|
|
3
|
+
sid: string;
|
|
4
|
+
team_id: string;
|
|
5
|
+
exp: number;
|
|
6
|
+
login?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface Session {
|
|
9
|
+
sid: string;
|
|
10
|
+
team_id: string;
|
|
11
|
+
login?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare function resolveAuthSecret(): string;
|
|
14
|
+
export declare function bearerAuth(): MiddlewareHandler;
|
|
15
|
+
/**
|
|
16
|
+
* Admin endpoint protection. Thin wrapper over the shared, mirrored
|
|
17
|
+
* admin-gate module (FDRS-587 / FDRS-616) using the GitHub error envelope
|
|
18
|
+
* (which is the gate's default).
|
|
19
|
+
*/
|
|
20
|
+
export declare function requireAdminAuth(): MiddlewareHandler;
|