@pome-sh/cli 0.1.0 → 0.2.0
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/README.md +5 -6
- package/dist/build-info.json +3 -3
- package/dist/src/cli/eval.js +26 -8
- package/dist/src/cli/init-sdk.d.ts +0 -3
- package/dist/src/cli/init-sdk.js +117 -24
- package/dist/src/cli/main.js +23 -69
- package/dist/src/cli/register.d.ts +9 -0
- package/dist/src/cli/register.js +51 -5
- package/dist/src/cli/session.d.ts +7 -1
- package/dist/src/cli/session.js +87 -27
- package/dist/src/demo/runDemo.js +3 -2
- package/dist/src/doctor/checks.js +2 -2
- package/dist/src/hosted/client.d.ts +41 -5
- package/dist/src/hosted/client.js +333 -19
- package/dist/src/hosted/errors.d.ts +11 -1
- package/dist/src/hosted/errors.js +8 -1
- package/dist/src/hosted/evalResultView.d.ts +2 -0
- package/dist/src/hosted/evalResultView.js +22 -0
- package/dist/src/hosted/uploadAndFinalize.d.ts +18 -1
- package/dist/src/hosted/uploadAndFinalize.js +51 -3
- package/dist/src/recorder/inspect.js +20 -2
- package/dist/src/runner/mergeAdapterSignals.js +2 -2
- package/dist/src/runner/ports.js +3 -0
- package/dist/src/runner/runScenario.d.ts +79 -2
- package/dist/src/runner/runScenario.js +94 -36
- package/dist/src/runner/runScenarioHosted.d.ts +37 -0
- package/dist/src/runner/runScenarioHosted.js +257 -58
- package/dist/src/runner/runTrialGroup.d.ts +1 -3
- package/dist/src/runner/runTrialGroup.js +1 -3
- package/dist/src/scenario/parseScenario.d.ts +5 -0
- package/dist/src/scenario/parseScenario.js +135 -8
- package/dist/src/scenario/scenarioSchema.d.ts +200 -3
- package/dist/src/scenario/scenarioSchema.js +12 -1
- package/dist/src/twin/twinHarness.d.ts +10 -0
- package/dist/src/twin/twinHarness.js +6 -2
- package/dist/src/twin/twinStart.d.ts +19 -0
- package/dist/src/twin/twinStart.js +156 -0
- package/node_modules/@pome-sh/sdk/dist/db.d.ts +4 -4
- package/node_modules/@pome-sh/sdk/dist/db.js +93 -25
- package/node_modules/@pome-sh/sdk/dist/db.js.map +1 -1
- package/node_modules/@pome-sh/sdk/dist/fidelity-inventory.d.ts +121 -0
- package/node_modules/@pome-sh/sdk/dist/fidelity-inventory.js +204 -0
- package/node_modules/@pome-sh/sdk/dist/fidelity-inventory.js.map +1 -0
- package/node_modules/@pome-sh/sdk/dist/parity.d.ts +55 -0
- package/node_modules/@pome-sh/sdk/dist/parity.js +112 -0
- package/node_modules/@pome-sh/sdk/dist/parity.js.map +1 -0
- package/node_modules/@pome-sh/sdk/dist/server-helpers.d.ts +15 -0
- package/node_modules/@pome-sh/sdk/dist/server-helpers.js +96 -0
- package/node_modules/@pome-sh/sdk/dist/server-helpers.js.map +1 -1
- package/node_modules/@pome-sh/sdk/dist/server.d.ts +1 -1
- package/node_modules/@pome-sh/sdk/dist/server.js +9 -7
- package/node_modules/@pome-sh/sdk/dist/server.js.map +1 -1
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/errors.d.ts +39 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/errors.js +33 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/errors.js.map +1 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/evaluator-hooks.d.ts +13 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/evaluator-hooks.js +6 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/evaluator-hooks.js.map +1 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/finalize-shapes.d.ts +215 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js +83 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js.map +1 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/github-access-control.d.ts +175 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/github-access-control.js +182 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/github-access-control.js.map +1 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/identity.d.ts +90 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/identity.js +72 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/identity.js.map +1 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/index.d.ts +27 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/index.js +34 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/index.js.map +1 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/event-schema.d.ts +286 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js +33 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js.map +1 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.d.ts +65 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js +455 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js.map +1 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.d.ts +39 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js +47 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js.map +1 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/index.d.ts +25 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/index.js +27 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/index.js.map +1 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.d.ts +100 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js +185 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js.map +1 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/map-span.d.ts +64 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/map-span.js +112 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/map-span.js.map +1 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/nano.d.ts +26 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/nano.js +61 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/nano.js.map +1 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/project.d.ts +42 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/project.js +96 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/project.js.map +1 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/semconv.d.ts +51 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/semconv.js +74 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/semconv.js.map +1 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/span-event.d.ts +134 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/span-event.js +152 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/span-event.js.map +1 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/recorder-events.d.ts +418 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/recorder-events.js +234 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/recorder-events.js.map +1 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/redaction.d.ts +2 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/redaction.js +152 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/redaction.js.map +1 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/rest.d.ts +198 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/rest.js +225 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/rest.js.map +1 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/run.d.ts +201 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/run.js +166 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/run.js.map +1 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/seed-state.d.ts +446 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/seed-state.js +167 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/seed-state.js.map +1 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/sessions.d.ts +53 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/sessions.js +51 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/sessions.js.map +1 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/task-vocab.d.ts +66 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/task-vocab.js +84 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/task-vocab.js.map +1 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/task.d.ts +483 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/task.js +60 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/task.js.map +1 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/package.json +54 -0
- package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/trace-contract.json +41 -0
- package/node_modules/@pome-sh/sdk/package.json +7 -7
- package/node_modules/@pome-sh/shared-types/dist/errors.d.ts +39 -0
- package/node_modules/@pome-sh/shared-types/dist/errors.js +33 -0
- package/node_modules/@pome-sh/shared-types/dist/errors.js.map +1 -0
- package/node_modules/@pome-sh/shared-types/dist/finalize-shapes.d.ts +252 -0
- package/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js +122 -0
- package/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js.map +1 -0
- package/node_modules/@pome-sh/shared-types/dist/identity.d.ts +90 -0
- package/node_modules/@pome-sh/shared-types/dist/identity.js +72 -0
- package/node_modules/@pome-sh/shared-types/dist/identity.js.map +1 -0
- package/node_modules/@pome-sh/shared-types/dist/index.d.ts +13 -1353
- package/node_modules/@pome-sh/shared-types/dist/index.js +14 -568
- package/node_modules/@pome-sh/shared-types/dist/index.js.map +1 -1
- package/node_modules/@pome-sh/shared-types/dist/otel/event-schema.d.ts +45 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js +8 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js.map +1 -1
- package/node_modules/@pome-sh/shared-types/dist/otel/semconv.js +7 -0
- package/node_modules/@pome-sh/shared-types/dist/otel/semconv.js.map +1 -1
- package/node_modules/@pome-sh/shared-types/dist/recorder-events.d.ts +62 -0
- package/node_modules/@pome-sh/shared-types/dist/recorder-events.js +36 -0
- package/node_modules/@pome-sh/shared-types/dist/recorder-events.js.map +1 -1
- package/node_modules/@pome-sh/shared-types/dist/rest.d.ts +245 -0
- package/node_modules/@pome-sh/shared-types/dist/rest.js +303 -0
- package/node_modules/@pome-sh/shared-types/dist/rest.js.map +1 -0
- package/node_modules/@pome-sh/shared-types/dist/run.d.ts +7 -0
- package/node_modules/@pome-sh/shared-types/dist/run.js +4 -0
- package/node_modules/@pome-sh/shared-types/dist/run.js.map +1 -1
- package/node_modules/@pome-sh/shared-types/dist/seed-envelope.d.ts +14 -0
- package/node_modules/@pome-sh/shared-types/dist/seed-envelope.js +46 -0
- package/node_modules/@pome-sh/shared-types/dist/seed-envelope.js.map +1 -0
- package/node_modules/@pome-sh/shared-types/dist/seed-state.d.ts +446 -0
- package/node_modules/@pome-sh/shared-types/dist/seed-state.js +167 -0
- package/node_modules/@pome-sh/shared-types/dist/seed-state.js.map +1 -0
- package/node_modules/@pome-sh/shared-types/dist/sessions.d.ts +53 -0
- package/node_modules/@pome-sh/shared-types/dist/sessions.js +51 -0
- package/node_modules/@pome-sh/shared-types/dist/sessions.js.map +1 -0
- package/node_modules/@pome-sh/shared-types/dist/task.d.ts +485 -0
- package/node_modules/@pome-sh/shared-types/dist/task.js +60 -0
- package/node_modules/@pome-sh/shared-types/dist/task.js.map +1 -0
- package/node_modules/@pome-sh/shared-types/package.json +2 -1
- package/node_modules/@pome-sh/shared-types/trace-contract.json +1 -1
- package/node_modules/@pome-sh/twin-github/FIDELITY.md +127 -67
- package/node_modules/@pome-sh/twin-github/README.md +5 -8
- package/node_modules/@pome-sh/twin-github/dist/examples/claude-github-agent.js +4 -20
- package/node_modules/@pome-sh/twin-github/dist/examples/claude-github-agent.js.map +1 -1
- package/node_modules/@pome-sh/twin-github/dist/src/access-control.d.ts +3 -3
- package/node_modules/@pome-sh/twin-github/dist/src/domain.d.ts +141 -3
- package/node_modules/@pome-sh/twin-github/dist/src/domain.js +0 -0
- package/node_modules/@pome-sh/twin-github/dist/src/domain.js.map +1 -1
- package/node_modules/@pome-sh/twin-github/dist/src/routes.js +2 -0
- package/node_modules/@pome-sh/twin-github/dist/src/routes.js.map +1 -1
- package/node_modules/@pome-sh/twin-github/dist/src/seed.d.ts +1 -1
- package/node_modules/@pome-sh/twin-github/dist/src/serializers.d.ts +2 -2
- package/node_modules/@pome-sh/twin-github/dist/src/server.js +7 -6
- package/node_modules/@pome-sh/twin-github/dist/src/server.js.map +1 -1
- package/node_modules/@pome-sh/twin-github/dist/src/tools.d.ts +168 -18
- package/node_modules/@pome-sh/twin-github/dist/src/tools.js +23 -0
- package/node_modules/@pome-sh/twin-github/dist/src/tools.js.map +1 -1
- package/node_modules/@pome-sh/twin-github/fidelity.inventory.json +773 -0
- package/node_modules/@pome-sh/twin-github/package.json +5 -5
- package/node_modules/@pome-sh/twin-slack/FIDELITY.md +121 -35
- package/node_modules/@pome-sh/twin-slack/README.md +2 -6
- package/node_modules/@pome-sh/twin-slack/dist/scripts/fidelity-parity.js +92 -0
- package/node_modules/@pome-sh/twin-slack/dist/scripts/fidelity-parity.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/scripts/smoke.js +3 -3
- package/node_modules/@pome-sh/twin-slack/dist/scripts/smoke.js.map +1 -1
- package/node_modules/@pome-sh/twin-slack/dist/scripts/validate-mcp.js +1 -1
- package/node_modules/@pome-sh/twin-slack/dist/scripts/validate-mcp.js.map +1 -1
- package/node_modules/@pome-sh/twin-slack/dist/src/server.js +7 -6
- package/node_modules/@pome-sh/twin-slack/dist/src/server.js.map +1 -1
- package/node_modules/@pome-sh/twin-slack/dist/src/tools.d.ts +30 -4
- package/node_modules/@pome-sh/twin-slack/dist/src/tools.js +48 -1
- package/node_modules/@pome-sh/twin-slack/dist/src/tools.js.map +1 -1
- package/node_modules/@pome-sh/twin-slack/fidelity.inventory.json +377 -0
- package/node_modules/@pome-sh/twin-slack/package.json +5 -5
- package/node_modules/@pome-sh/twin-stripe/FIDELITY.md +151 -50
- package/node_modules/@pome-sh/twin-stripe/README.md +44 -47
- package/node_modules/@pome-sh/twin-stripe/dist/scripts/fidelity-parity.js +186 -0
- package/node_modules/@pome-sh/twin-stripe/dist/scripts/fidelity-parity.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/scripts/smoke.js +8 -4
- package/node_modules/@pome-sh/twin-stripe/dist/scripts/smoke.js.map +1 -1
- package/node_modules/@pome-sh/twin-stripe/dist/src/db.js +26 -2
- package/node_modules/@pome-sh/twin-stripe/dist/src/db.js.map +1 -1
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/billing.d.ts +101 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/billing.js +195 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/billing.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/charges.d.ts +15 -1
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/charges.js +17 -5
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/charges.js.map +1 -1
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/customers.d.ts +47 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/customers.js +103 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/customers.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/events.d.ts +1 -1
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/events.js.map +1 -1
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/index.d.ts +6 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/index.js +3 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/index.js.map +1 -1
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/payment-intents.d.ts +61 -2
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/payment-intents.js +214 -52
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/payment-intents.js.map +1 -1
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/payment-methods.d.ts +45 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/payment-methods.js +159 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/payment-methods.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/refunds.d.ts +6 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/refunds.js +16 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/refunds.js.map +1 -1
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/schema.d.ts +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/schema.js +144 -1
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/schema.js.map +1 -1
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/stripe-domain.d.ts +420 -43
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/stripe-domain.js +442 -13
- package/node_modules/@pome-sh/twin-stripe/dist/src/domain/stripe-domain.js.map +1 -1
- package/node_modules/@pome-sh/twin-stripe/dist/src/errors.d.ts +19 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/errors.js +15 -1
- package/node_modules/@pome-sh/twin-stripe/dist/src/errors.js.map +1 -1
- package/node_modules/@pome-sh/twin-stripe/dist/src/ids.d.ts +2 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/ids.js +2 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/ids.js.map +1 -1
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/_helpers.d.ts +8 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/_helpers.js +105 -1
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/_helpers.js.map +1 -1
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/billing.d.ts +4 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/billing.js +117 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/billing.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/customers.d.ts +4 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/customers.js +47 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/customers.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/index.js +6 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/index.js.map +1 -1
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/payment-intents.js +28 -102
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/payment-intents.js.map +1 -1
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/payment-methods.d.ts +4 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/payment-methods.js +33 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/routes/payment-methods.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/seed.d.ts +10 -8
- package/node_modules/@pome-sh/twin-stripe/dist/src/seed.js +3 -2
- package/node_modules/@pome-sh/twin-stripe/dist/src/seed.js.map +1 -1
- package/node_modules/@pome-sh/twin-stripe/dist/src/serializers.d.ts +181 -21
- package/node_modules/@pome-sh/twin-stripe/dist/src/serializers.js +257 -34
- package/node_modules/@pome-sh/twin-stripe/dist/src/serializers.js.map +1 -1
- package/node_modules/@pome-sh/twin-stripe/dist/src/server.js +7 -6
- package/node_modules/@pome-sh/twin-stripe/dist/src/server.js.map +1 -1
- package/node_modules/@pome-sh/twin-stripe/dist/src/tools.d.ts +107 -5
- package/node_modules/@pome-sh/twin-stripe/dist/src/tools.js +139 -6
- package/node_modules/@pome-sh/twin-stripe/dist/src/tools.js.map +1 -1
- package/node_modules/@pome-sh/twin-stripe/dist/src/types.d.ts +73 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/upstream-types.d.ts +8 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/x402.js +6 -1
- package/node_modules/@pome-sh/twin-stripe/dist/src/x402.js.map +1 -1
- package/node_modules/@pome-sh/twin-stripe/fidelity.inventory.json +425 -0
- package/node_modules/@pome-sh/twin-stripe/package.json +5 -5
- package/package.json +9 -10
- package/skills/pome-setup/SKILL.md +1 -1
- package/dist/src/recorder/verdictArtifact.d.ts +0 -71
- package/dist/src/recorder/verdictArtifact.js +0 -207
- package/dist/src/score/view.d.ts +0 -38
- package/dist/src/score/view.js +0 -59
- package/dist/src/twin/github/app.d.ts +0 -10
- package/dist/src/twin/github/app.js +0 -316
- package/dist/src/twin/github/db/migrations.d.ts +0 -2
- package/dist/src/twin/github/db/migrations.js +0 -64
- package/dist/src/twin/github/db/openDatabase.d.ts +0 -2
- package/dist/src/twin/github/db/openDatabase.js +0 -13
- package/dist/src/twin/github/db/queries.d.ts +0 -77
- package/dist/src/twin/github/db/queries.js +0 -93
- package/dist/src/twin/github/domain/seed.d.ts +0 -74
- package/dist/src/twin/github/domain/seed.js +0 -104
- package/dist/src/twin/github/domain/serializers.d.ts +0 -113
- package/dist/src/twin/github/domain/serializers.js +0 -76
- package/dist/src/twin/github/types.d.ts +0 -66
- package/dist/src/twin/github/types.js +0 -1
- package/dist/src/twin-github/app.d.ts +0 -9
- package/dist/src/twin-github/app.js +0 -327
- package/dist/src/twin-github/auth.d.ts +0 -16
- package/dist/src/twin-github/auth.js +0 -142
- package/dist/src/twin-github/build-info.d.ts +0 -7
- package/dist/src/twin-github/build-info.js +0 -52
- package/dist/src/twin-github/db.d.ts +0 -4
- package/dist/src/twin-github/db.js +0 -362
- package/dist/src/twin-github/domain.d.ts +0 -1649
- package/dist/src/twin-github/domain.js +0 -957
- package/dist/src/twin-github/errors.d.ts +0 -14
- package/dist/src/twin-github/errors.js +0 -34
- package/dist/src/twin-github/index.d.ts +0 -9
- package/dist/src/twin-github/index.js +0 -7
- package/dist/src/twin-github/mcp.d.ts +0 -17
- package/dist/src/twin-github/mcp.js +0 -281
- package/dist/src/twin-github/recorder.d.ts +0 -2
- package/dist/src/twin-github/recorder.js +0 -29
- package/dist/src/twin-github/seed.d.ts +0 -74
- package/dist/src/twin-github/seed.js +0 -107
- package/dist/src/twin-github/serializers.d.ts +0 -449
- package/dist/src/twin-github/serializers.js +0 -429
- package/dist/src/twin-github/server.js +0 -34
- package/dist/src/twin-github/tools.d.ts +0 -1545
- package/dist/src/twin-github/tools.js +0 -347
- package/dist/src/twin-github/types.d.ts +0 -198
- package/dist/src/twin-github/unsupported-envelope.d.ts +0 -10
- package/dist/src/twin-github/unsupported-envelope.js +0 -29
- package/dist/src/twin-github/util.d.ts +0 -13
- package/dist/src/twin-github/util.js +0 -61
- package/dist/src/twin-slack/app.d.ts +0 -17
- package/dist/src/twin-slack/app.js +0 -683
- package/dist/src/twin-slack/auth.d.ts +0 -38
- package/dist/src/twin-slack/auth.js +0 -219
- package/dist/src/twin-slack/build-info.d.ts +0 -7
- package/dist/src/twin-slack/build-info.js +0 -9
- package/dist/src/twin-slack/db.d.ts +0 -4
- package/dist/src/twin-slack/db.js +0 -213
- package/dist/src/twin-slack/domain.d.ts +0 -236
- package/dist/src/twin-slack/domain.js +0 -1293
- package/dist/src/twin-slack/errors.d.ts +0 -16
- package/dist/src/twin-slack/errors.js +0 -60
- package/dist/src/twin-slack/index.d.ts +0 -8
- package/dist/src/twin-slack/index.js +0 -8
- package/dist/src/twin-slack/mcp.d.ts +0 -17
- package/dist/src/twin-slack/mcp.js +0 -226
- package/dist/src/twin-slack/recorder.d.ts +0 -2
- package/dist/src/twin-slack/recorder.js +0 -15
- package/dist/src/twin-slack/seed.d.ts +0 -49
- package/dist/src/twin-slack/seed.js +0 -139
- package/dist/src/twin-slack/serializers.d.ts +0 -141
- package/dist/src/twin-slack/serializers.js +0 -377
- package/dist/src/twin-slack/tools.d.ts +0 -97
- package/dist/src/twin-slack/tools.js +0 -171
- package/dist/src/twin-slack/types.d.ts +0 -164
- package/dist/src/twin-slack/types.js +0 -1
- package/dist/src/twin-slack/unsupported-envelope.d.ts +0 -12
- package/dist/src/twin-slack/unsupported-envelope.js +0 -61
- package/dist/src/twin-slack/upstream-types.d.ts +0 -19
- package/dist/src/twin-slack/upstream-types.js +0 -1
- package/dist/src/twin-slack/util.d.ts +0 -31
- package/dist/src/twin-slack/util.js +0 -136
- package/node_modules/base64-js/LICENSE +0 -21
- package/node_modules/base64-js/README.md +0 -34
- package/node_modules/base64-js/base64js.min.js +0 -1
- package/node_modules/base64-js/index.d.ts +0 -3
- package/node_modules/base64-js/index.js +0 -150
- package/node_modules/base64-js/package.json +0 -47
- package/node_modules/better-sqlite3/LICENSE +0 -21
- package/node_modules/better-sqlite3/README.md +0 -99
- package/node_modules/better-sqlite3/binding.gyp +0 -38
- package/node_modules/better-sqlite3/build/Release/better_sqlite3.node +0 -0
- package/node_modules/better-sqlite3/deps/common.gypi +0 -68
- package/node_modules/better-sqlite3/deps/copy.js +0 -31
- package/node_modules/better-sqlite3/deps/defines.gypi +0 -42
- package/node_modules/better-sqlite3/deps/download.sh +0 -123
- package/node_modules/better-sqlite3/deps/patches/1208.patch +0 -15
- package/node_modules/better-sqlite3/deps/sqlite3/sqlite3.c +0 -269395
- package/node_modules/better-sqlite3/deps/sqlite3/sqlite3.h +0 -14347
- package/node_modules/better-sqlite3/deps/sqlite3/sqlite3ext.h +0 -739
- package/node_modules/better-sqlite3/deps/sqlite3.gyp +0 -80
- package/node_modules/better-sqlite3/deps/test_extension.c +0 -21
- package/node_modules/better-sqlite3/lib/database.js +0 -90
- package/node_modules/better-sqlite3/lib/index.js +0 -3
- package/node_modules/better-sqlite3/lib/methods/aggregate.js +0 -43
- package/node_modules/better-sqlite3/lib/methods/backup.js +0 -67
- package/node_modules/better-sqlite3/lib/methods/function.js +0 -31
- package/node_modules/better-sqlite3/lib/methods/inspect.js +0 -7
- package/node_modules/better-sqlite3/lib/methods/pragma.js +0 -12
- package/node_modules/better-sqlite3/lib/methods/serialize.js +0 -16
- package/node_modules/better-sqlite3/lib/methods/table.js +0 -189
- package/node_modules/better-sqlite3/lib/methods/transaction.js +0 -78
- package/node_modules/better-sqlite3/lib/methods/wrappers.js +0 -54
- package/node_modules/better-sqlite3/lib/sqlite-error.js +0 -20
- package/node_modules/better-sqlite3/lib/util.js +0 -12
- package/node_modules/better-sqlite3/package.json +0 -59
- package/node_modules/better-sqlite3/src/addon.cpp +0 -47
- package/node_modules/better-sqlite3/src/better_sqlite3.cpp +0 -74
- package/node_modules/better-sqlite3/src/objects/backup.cpp +0 -120
- package/node_modules/better-sqlite3/src/objects/backup.hpp +0 -36
- package/node_modules/better-sqlite3/src/objects/database.cpp +0 -417
- package/node_modules/better-sqlite3/src/objects/database.hpp +0 -103
- package/node_modules/better-sqlite3/src/objects/statement-iterator.cpp +0 -113
- package/node_modules/better-sqlite3/src/objects/statement-iterator.hpp +0 -50
- package/node_modules/better-sqlite3/src/objects/statement.cpp +0 -383
- package/node_modules/better-sqlite3/src/objects/statement.hpp +0 -58
- package/node_modules/better-sqlite3/src/util/bind-map.cpp +0 -73
- package/node_modules/better-sqlite3/src/util/binder.cpp +0 -193
- package/node_modules/better-sqlite3/src/util/constants.cpp +0 -172
- package/node_modules/better-sqlite3/src/util/custom-aggregate.cpp +0 -121
- package/node_modules/better-sqlite3/src/util/custom-function.cpp +0 -59
- package/node_modules/better-sqlite3/src/util/custom-table.cpp +0 -409
- package/node_modules/better-sqlite3/src/util/data-converter.cpp +0 -17
- package/node_modules/better-sqlite3/src/util/data.cpp +0 -194
- package/node_modules/better-sqlite3/src/util/helpers.cpp +0 -109
- package/node_modules/better-sqlite3/src/util/macros.cpp +0 -90
- package/node_modules/better-sqlite3/src/util/query-macros.cpp +0 -71
- package/node_modules/better-sqlite3/src/util/row-builder.cpp +0 -49
- package/node_modules/bindings/LICENSE.md +0 -22
- package/node_modules/bindings/README.md +0 -98
- package/node_modules/bindings/bindings.js +0 -221
- package/node_modules/bindings/package.json +0 -28
- package/node_modules/bl/.travis.yml +0 -17
- package/node_modules/bl/BufferList.js +0 -396
- package/node_modules/bl/LICENSE.md +0 -13
- package/node_modules/bl/README.md +0 -247
- package/node_modules/bl/bl.js +0 -84
- package/node_modules/bl/package.json +0 -37
- package/node_modules/bl/test/convert.js +0 -21
- package/node_modules/bl/test/indexOf.js +0 -492
- package/node_modules/bl/test/isBufferList.js +0 -32
- package/node_modules/bl/test/test.js +0 -869
- package/node_modules/buffer/AUTHORS.md +0 -70
- package/node_modules/buffer/LICENSE +0 -21
- package/node_modules/buffer/README.md +0 -410
- package/node_modules/buffer/index.d.ts +0 -186
- package/node_modules/buffer/index.js +0 -1817
- package/node_modules/buffer/package.json +0 -96
- package/node_modules/chownr/LICENSE +0 -15
- package/node_modules/chownr/README.md +0 -3
- package/node_modules/chownr/chownr.js +0 -167
- package/node_modules/chownr/package.json +0 -29
- package/node_modules/decompress-response/index.d.ts +0 -22
- package/node_modules/decompress-response/index.js +0 -58
- package/node_modules/decompress-response/license +0 -9
- package/node_modules/decompress-response/package.json +0 -56
- package/node_modules/decompress-response/readme.md +0 -48
- package/node_modules/deep-extend/CHANGELOG.md +0 -46
- package/node_modules/deep-extend/LICENSE +0 -20
- package/node_modules/deep-extend/README.md +0 -91
- package/node_modules/deep-extend/index.js +0 -1
- package/node_modules/deep-extend/lib/deep-extend.js +0 -150
- package/node_modules/deep-extend/package.json +0 -62
- package/node_modules/detect-libc/LICENSE +0 -201
- package/node_modules/detect-libc/README.md +0 -163
- package/node_modules/detect-libc/index.d.ts +0 -14
- package/node_modules/detect-libc/lib/detect-libc.js +0 -313
- package/node_modules/detect-libc/lib/elf.js +0 -39
- package/node_modules/detect-libc/lib/filesystem.js +0 -51
- package/node_modules/detect-libc/lib/process.js +0 -24
- package/node_modules/detect-libc/package.json +0 -44
- package/node_modules/end-of-stream/LICENSE +0 -21
- package/node_modules/end-of-stream/README.md +0 -54
- package/node_modules/end-of-stream/index.js +0 -96
- package/node_modules/end-of-stream/package.json +0 -37
- package/node_modules/expand-template/.travis.yml +0 -6
- package/node_modules/expand-template/LICENSE +0 -21
- package/node_modules/expand-template/README.md +0 -43
- package/node_modules/expand-template/index.js +0 -26
- package/node_modules/expand-template/package.json +0 -29
- package/node_modules/expand-template/test.js +0 -67
- package/node_modules/file-uri-to-path/.npmignore +0 -1
- package/node_modules/file-uri-to-path/.travis.yml +0 -30
- package/node_modules/file-uri-to-path/History.md +0 -21
- package/node_modules/file-uri-to-path/LICENSE +0 -20
- package/node_modules/file-uri-to-path/README.md +0 -74
- package/node_modules/file-uri-to-path/index.d.ts +0 -2
- package/node_modules/file-uri-to-path/index.js +0 -66
- package/node_modules/file-uri-to-path/package.json +0 -32
- package/node_modules/file-uri-to-path/test/test.js +0 -24
- package/node_modules/file-uri-to-path/test/tests.json +0 -13
- package/node_modules/fs-constants/LICENSE +0 -21
- package/node_modules/fs-constants/README.md +0 -26
- package/node_modules/fs-constants/browser.js +0 -1
- package/node_modules/fs-constants/index.js +0 -1
- package/node_modules/fs-constants/package.json +0 -19
- package/node_modules/github-from-package/.travis.yml +0 -4
- package/node_modules/github-from-package/LICENSE +0 -18
- package/node_modules/github-from-package/example/package.json +0 -8
- package/node_modules/github-from-package/example/url.js +0 -3
- package/node_modules/github-from-package/index.js +0 -17
- package/node_modules/github-from-package/package.json +0 -30
- package/node_modules/github-from-package/readme.markdown +0 -53
- package/node_modules/github-from-package/test/a.json +0 -8
- package/node_modules/github-from-package/test/b.json +0 -5
- package/node_modules/github-from-package/test/c.json +0 -5
- package/node_modules/github-from-package/test/d.json +0 -7
- package/node_modules/github-from-package/test/e.json +0 -5
- package/node_modules/github-from-package/test/url.js +0 -19
- package/node_modules/ieee754/LICENSE +0 -11
- package/node_modules/ieee754/README.md +0 -51
- package/node_modules/ieee754/index.d.ts +0 -10
- package/node_modules/ieee754/index.js +0 -85
- package/node_modules/ieee754/package.json +0 -52
- package/node_modules/inherits/LICENSE +0 -16
- package/node_modules/inherits/README.md +0 -42
- package/node_modules/inherits/inherits.js +0 -9
- package/node_modules/inherits/inherits_browser.js +0 -27
- package/node_modules/inherits/package.json +0 -29
- package/node_modules/ini/LICENSE +0 -15
- package/node_modules/ini/README.md +0 -102
- package/node_modules/ini/ini.js +0 -206
- package/node_modules/ini/package.json +0 -33
- package/node_modules/mimic-response/index.d.ts +0 -17
- package/node_modules/mimic-response/index.js +0 -77
- package/node_modules/mimic-response/license +0 -9
- package/node_modules/mimic-response/package.json +0 -42
- package/node_modules/mimic-response/readme.md +0 -78
- package/node_modules/minimist/.eslintrc +0 -29
- package/node_modules/minimist/.github/FUNDING.yml +0 -12
- package/node_modules/minimist/.nycrc +0 -14
- package/node_modules/minimist/CHANGELOG.md +0 -298
- package/node_modules/minimist/LICENSE +0 -18
- package/node_modules/minimist/README.md +0 -121
- package/node_modules/minimist/example/parse.js +0 -4
- package/node_modules/minimist/index.js +0 -263
- package/node_modules/minimist/package.json +0 -75
- package/node_modules/minimist/test/all_bool.js +0 -34
- package/node_modules/minimist/test/bool.js +0 -177
- package/node_modules/minimist/test/dash.js +0 -43
- package/node_modules/minimist/test/default_bool.js +0 -37
- package/node_modules/minimist/test/dotted.js +0 -24
- package/node_modules/minimist/test/kv_short.js +0 -32
- package/node_modules/minimist/test/long.js +0 -33
- package/node_modules/minimist/test/num.js +0 -38
- package/node_modules/minimist/test/parse.js +0 -209
- package/node_modules/minimist/test/parse_modified.js +0 -11
- package/node_modules/minimist/test/proto.js +0 -64
- package/node_modules/minimist/test/short.js +0 -69
- package/node_modules/minimist/test/stop_early.js +0 -17
- package/node_modules/minimist/test/unknown.js +0 -104
- package/node_modules/minimist/test/whitespace.js +0 -10
- package/node_modules/mkdirp-classic/LICENSE +0 -21
- package/node_modules/mkdirp-classic/README.md +0 -18
- package/node_modules/mkdirp-classic/index.js +0 -98
- package/node_modules/mkdirp-classic/package.json +0 -18
- package/node_modules/napi-build-utils/.github/workflows/run-npm-tests.yml +0 -31
- package/node_modules/napi-build-utils/LICENSE +0 -21
- package/node_modules/napi-build-utils/README.md +0 -52
- package/node_modules/napi-build-utils/index.js +0 -214
- package/node_modules/napi-build-utils/index.md +0 -0
- package/node_modules/napi-build-utils/package.json +0 -42
- package/node_modules/node-abi/LICENSE +0 -21
- package/node_modules/node-abi/README.md +0 -54
- package/node_modules/node-abi/abi_registry.json +0 -453
- package/node_modules/node-abi/index.js +0 -179
- package/node_modules/node-abi/package.json +0 -45
- package/node_modules/once/LICENSE +0 -15
- package/node_modules/once/README.md +0 -79
- package/node_modules/once/once.js +0 -42
- package/node_modules/once/package.json +0 -33
- package/node_modules/prebuild-install/CHANGELOG.md +0 -131
- package/node_modules/prebuild-install/CONTRIBUTING.md +0 -6
- package/node_modules/prebuild-install/LICENSE +0 -21
- package/node_modules/prebuild-install/README.md +0 -163
- package/node_modules/prebuild-install/asset.js +0 -44
- package/node_modules/prebuild-install/bin.js +0 -78
- package/node_modules/prebuild-install/download.js +0 -142
- package/node_modules/prebuild-install/error.js +0 -14
- package/node_modules/prebuild-install/help.txt +0 -16
- package/node_modules/prebuild-install/index.js +0 -1
- package/node_modules/prebuild-install/log.js +0 -33
- package/node_modules/prebuild-install/package.json +0 -67
- package/node_modules/prebuild-install/proxy.js +0 -35
- package/node_modules/prebuild-install/rc.js +0 -64
- package/node_modules/prebuild-install/util.js +0 -143
- package/node_modules/pump/.github/FUNDING.yml +0 -2
- package/node_modules/pump/.travis.yml +0 -5
- package/node_modules/pump/LICENSE +0 -21
- package/node_modules/pump/README.md +0 -74
- package/node_modules/pump/SECURITY.md +0 -5
- package/node_modules/pump/empty.js +0 -1
- package/node_modules/pump/index.js +0 -86
- package/node_modules/pump/package.json +0 -30
- package/node_modules/pump/test-browser.js +0 -66
- package/node_modules/pump/test-node.js +0 -53
- package/node_modules/rc/LICENSE.APACHE2 +0 -15
- package/node_modules/rc/LICENSE.BSD +0 -26
- package/node_modules/rc/LICENSE.MIT +0 -24
- package/node_modules/rc/README.md +0 -227
- package/node_modules/rc/browser.js +0 -7
- package/node_modules/rc/cli.js +0 -4
- package/node_modules/rc/index.js +0 -53
- package/node_modules/rc/lib/utils.js +0 -104
- package/node_modules/rc/package.json +0 -29
- package/node_modules/rc/test/ini.js +0 -16
- package/node_modules/rc/test/nested-env-vars.js +0 -50
- package/node_modules/rc/test/test.js +0 -59
- package/node_modules/readable-stream/CONTRIBUTING.md +0 -38
- package/node_modules/readable-stream/GOVERNANCE.md +0 -136
- package/node_modules/readable-stream/LICENSE +0 -47
- package/node_modules/readable-stream/README.md +0 -106
- package/node_modules/readable-stream/errors-browser.js +0 -127
- package/node_modules/readable-stream/errors.js +0 -116
- package/node_modules/readable-stream/experimentalWarning.js +0 -17
- package/node_modules/readable-stream/lib/_stream_duplex.js +0 -126
- package/node_modules/readable-stream/lib/_stream_passthrough.js +0 -37
- package/node_modules/readable-stream/lib/_stream_readable.js +0 -1027
- package/node_modules/readable-stream/lib/_stream_transform.js +0 -190
- package/node_modules/readable-stream/lib/_stream_writable.js +0 -641
- package/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -180
- package/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -183
- package/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -96
- package/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -86
- package/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -3
- package/node_modules/readable-stream/lib/internal/streams/from.js +0 -52
- package/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -86
- package/node_modules/readable-stream/lib/internal/streams/state.js +0 -22
- package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
- package/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
- package/node_modules/readable-stream/package.json +0 -68
- package/node_modules/readable-stream/readable-browser.js +0 -9
- package/node_modules/readable-stream/readable.js +0 -16
- package/node_modules/safe-buffer/LICENSE +0 -21
- package/node_modules/safe-buffer/README.md +0 -584
- package/node_modules/safe-buffer/index.d.ts +0 -187
- package/node_modules/safe-buffer/index.js +0 -65
- package/node_modules/safe-buffer/package.json +0 -51
- package/node_modules/semver/LICENSE +0 -15
- package/node_modules/semver/README.md +0 -680
- package/node_modules/semver/bin/semver.js +0 -195
- package/node_modules/semver/classes/comparator.js +0 -143
- package/node_modules/semver/classes/index.js +0 -7
- package/node_modules/semver/classes/range.js +0 -577
- package/node_modules/semver/classes/semver.js +0 -350
- package/node_modules/semver/functions/clean.js +0 -8
- package/node_modules/semver/functions/cmp.js +0 -54
- package/node_modules/semver/functions/coerce.js +0 -62
- package/node_modules/semver/functions/compare-build.js +0 -9
- package/node_modules/semver/functions/compare-loose.js +0 -5
- package/node_modules/semver/functions/compare.js +0 -7
- package/node_modules/semver/functions/diff.js +0 -60
- package/node_modules/semver/functions/eq.js +0 -5
- package/node_modules/semver/functions/gt.js +0 -5
- package/node_modules/semver/functions/gte.js +0 -5
- package/node_modules/semver/functions/inc.js +0 -21
- package/node_modules/semver/functions/lt.js +0 -5
- package/node_modules/semver/functions/lte.js +0 -5
- package/node_modules/semver/functions/major.js +0 -5
- package/node_modules/semver/functions/minor.js +0 -5
- package/node_modules/semver/functions/neq.js +0 -5
- package/node_modules/semver/functions/parse.js +0 -18
- package/node_modules/semver/functions/patch.js +0 -5
- package/node_modules/semver/functions/prerelease.js +0 -8
- package/node_modules/semver/functions/rcompare.js +0 -5
- package/node_modules/semver/functions/rsort.js +0 -5
- package/node_modules/semver/functions/satisfies.js +0 -12
- package/node_modules/semver/functions/sort.js +0 -5
- package/node_modules/semver/functions/truncate.js +0 -48
- package/node_modules/semver/functions/valid.js +0 -8
- package/node_modules/semver/index.js +0 -93
- package/node_modules/semver/internal/constants.js +0 -37
- package/node_modules/semver/internal/debug.js +0 -11
- package/node_modules/semver/internal/identifiers.js +0 -29
- package/node_modules/semver/internal/lrucache.js +0 -42
- package/node_modules/semver/internal/parse-options.js +0 -17
- package/node_modules/semver/internal/re.js +0 -223
- package/node_modules/semver/package.json +0 -78
- package/node_modules/semver/preload.js +0 -4
- package/node_modules/semver/range.bnf +0 -17
- package/node_modules/semver/ranges/gtr.js +0 -6
- package/node_modules/semver/ranges/intersects.js +0 -9
- package/node_modules/semver/ranges/ltr.js +0 -6
- package/node_modules/semver/ranges/max-satisfying.js +0 -27
- package/node_modules/semver/ranges/min-satisfying.js +0 -26
- package/node_modules/semver/ranges/min-version.js +0 -63
- package/node_modules/semver/ranges/outside.js +0 -82
- package/node_modules/semver/ranges/simplify.js +0 -49
- package/node_modules/semver/ranges/subset.js +0 -249
- package/node_modules/semver/ranges/to-comparators.js +0 -10
- package/node_modules/semver/ranges/valid.js +0 -13
- package/node_modules/simple-concat/.travis.yml +0 -3
- package/node_modules/simple-concat/LICENSE +0 -20
- package/node_modules/simple-concat/README.md +0 -44
- package/node_modules/simple-concat/index.js +0 -15
- package/node_modules/simple-concat/package.json +0 -47
- package/node_modules/simple-concat/test/basic.js +0 -41
- package/node_modules/simple-get/.github/dependabot.yml +0 -15
- package/node_modules/simple-get/.github/workflows/ci.yml +0 -23
- package/node_modules/simple-get/LICENSE +0 -20
- package/node_modules/simple-get/README.md +0 -333
- package/node_modules/simple-get/index.js +0 -108
- package/node_modules/simple-get/package.json +0 -67
- package/node_modules/string_decoder/LICENSE +0 -48
- package/node_modules/string_decoder/README.md +0 -47
- package/node_modules/string_decoder/lib/string_decoder.js +0 -296
- package/node_modules/string_decoder/package.json +0 -34
- package/node_modules/strip-json-comments/index.js +0 -70
- package/node_modules/strip-json-comments/license +0 -21
- package/node_modules/strip-json-comments/package.json +0 -42
- package/node_modules/strip-json-comments/readme.md +0 -64
- package/node_modules/tar-fs/.travis.yml +0 -6
- package/node_modules/tar-fs/LICENSE +0 -21
- package/node_modules/tar-fs/README.md +0 -165
- package/node_modules/tar-fs/index.js +0 -392
- package/node_modules/tar-fs/package.json +0 -46
- package/node_modules/tar-fs/test/fixtures/a/hello.txt +0 -1
- package/node_modules/tar-fs/test/fixtures/b/a/test.txt +0 -1
- 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 +0 -457
- package/node_modules/tar-stream/LICENSE +0 -21
- package/node_modules/tar-stream/README.md +0 -168
- package/node_modules/tar-stream/extract.js +0 -257
- package/node_modules/tar-stream/headers.js +0 -295
- package/node_modules/tar-stream/index.js +0 -2
- package/node_modules/tar-stream/pack.js +0 -255
- package/node_modules/tar-stream/package.json +0 -58
- package/node_modules/tar-stream/sandbox.js +0 -11
- package/node_modules/tunnel-agent/LICENSE +0 -55
- package/node_modules/tunnel-agent/README.md +0 -4
- package/node_modules/tunnel-agent/index.js +0 -244
- package/node_modules/tunnel-agent/package.json +0 -22
- package/node_modules/util-deprecate/History.md +0 -16
- package/node_modules/util-deprecate/LICENSE +0 -24
- package/node_modules/util-deprecate/README.md +0 -53
- package/node_modules/util-deprecate/browser.js +0 -67
- package/node_modules/util-deprecate/node.js +0 -6
- package/node_modules/util-deprecate/package.json +0 -27
- package/node_modules/wrappy/LICENSE +0 -15
- package/node_modules/wrappy/README.md +0 -36
- package/node_modules/wrappy/package.json +0 -29
- package/node_modules/wrappy/wrappy.js +0 -33
- /package/{dist/src/twin-github/server.d.ts → node_modules/@pome-sh/twin-slack/dist/scripts/fidelity-parity.d.ts} +0 -0
- /package/{dist/src/twin-github/types.js → node_modules/@pome-sh/twin-stripe/dist/scripts/fidelity-parity.d.ts} +0 -0
package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js
ADDED
|
@@ -0,0 +1,455 @@
|
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
2
|
+
/**
|
|
3
|
+
* otel/fixtures/data — frozen golden-fixture corpus (M1.3 / FDRS-482).
|
|
4
|
+
*
|
|
5
|
+
* The single source of truth for trace fixtures across M1.2 and M2–M6. Static
|
|
6
|
+
* data, deterministic by construction, and DEEP-FROZEN on export (review
|
|
7
|
+
* finding #6 — exported fixtures were runtime-mutable shared state). Four
|
|
8
|
+
* families:
|
|
9
|
+
*
|
|
10
|
+
* - LEGACY_FIXTURES — (legacy record → expected OtelSpanEvent) pairs.
|
|
11
|
+
* `expected` is the FROZEN output of the M1.2 shim;
|
|
12
|
+
* M1.2's golden test asserts the shim reproduces it.
|
|
13
|
+
* - EMITTER_FIXTURES — real-emitter spans (Traceloop / Vercel AI SDK /
|
|
14
|
+
* Pydantic Logfire), normalized to `OtelSpanInput`
|
|
15
|
+
* with provenance + version metadata. M1.1 parses them.
|
|
16
|
+
* - TRACE_FIXTURES — multi-span sub-agent traces (parent_span_id trees).
|
|
17
|
+
* - EXTERNAL_API_FIXTURES — twin-relevant external-API (HTTP) spans (M4 drift).
|
|
18
|
+
*
|
|
19
|
+
* PROVENANCE NOTE (honest sourcing — `derivedFrom: "documentation-derived"`):
|
|
20
|
+
* the emitter fixtures are NORMALIZED `OtelSpanInput` records whose ATTRIBUTE
|
|
21
|
+
* KEYS are taken verbatim from each emitter's published span output (URLs +
|
|
22
|
+
* `sourceVersion` below); attribute VALUES are representative. They are derived
|
|
23
|
+
* from the emitters' documented conventions, NOT captured from a live export —
|
|
24
|
+
* raw OTLP-envelope capture + the AnyValue decoder are M2's scope. Each fixture
|
|
25
|
+
* records its source so M2 can swap in a live capture without changing keys.
|
|
26
|
+
*/
|
|
27
|
+
// Recursively freeze a fixture tree so a consumer can never mutate the shared
|
|
28
|
+
// corpus (review #6). Returns the same reference, now immutable.
|
|
29
|
+
function deepFreeze(value) {
|
|
30
|
+
if (value !== null && typeof value === "object" && !Object.isFrozen(value)) {
|
|
31
|
+
Object.freeze(value);
|
|
32
|
+
for (const key of Object.keys(value)) {
|
|
33
|
+
deepFreeze(value[key]);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
// ─── Legacy → span pairs (frozen expected outputs of the M1.2 shim) ──────────
|
|
39
|
+
export const LEGACY_FIXTURES = deepFreeze([
|
|
40
|
+
{
|
|
41
|
+
name: "twin-http/github-create-issue",
|
|
42
|
+
provenance: "Pome TwinHttpEvent (packages/shared-types/src/recorder-events.ts). Frozen output of shimLegacyEventToSpan (M1.2).",
|
|
43
|
+
derivedFrom: "pome-internal",
|
|
44
|
+
legacy: {
|
|
45
|
+
ts: "2026-06-02T12:00:00.000Z",
|
|
46
|
+
run_id: "run_otel_demo",
|
|
47
|
+
twin: "github",
|
|
48
|
+
request_id: "req_001",
|
|
49
|
+
step_id: null,
|
|
50
|
+
tool_call_id: null,
|
|
51
|
+
method: "POST",
|
|
52
|
+
path: "/repos/acme/app/issues",
|
|
53
|
+
request_body: { title: "Bug", body: "broken" },
|
|
54
|
+
status: 201,
|
|
55
|
+
response_body: { number: 7 },
|
|
56
|
+
latency_ms: 134,
|
|
57
|
+
fidelity: "semantic",
|
|
58
|
+
state_mutation: true,
|
|
59
|
+
state_delta: { before: null, after: { number: 7 } },
|
|
60
|
+
error: null,
|
|
61
|
+
kind: "TwinHttpEvent",
|
|
62
|
+
event_id: "evt_http_1",
|
|
63
|
+
parent_id: null,
|
|
64
|
+
},
|
|
65
|
+
options: {},
|
|
66
|
+
expected: {
|
|
67
|
+
ts: "2026-06-02T12:00:00.000Z",
|
|
68
|
+
event_id: "legacy:evt_http_1",
|
|
69
|
+
parent_id: null,
|
|
70
|
+
kind: "OtelSpanEvent",
|
|
71
|
+
trace_id: "legacy:run_otel_demo",
|
|
72
|
+
span_id: "legacy:evt_http_1",
|
|
73
|
+
parent_span_id: null,
|
|
74
|
+
name: "POST",
|
|
75
|
+
span_kind: "CLIENT",
|
|
76
|
+
start_time_unix_nano: "1780401600000000000",
|
|
77
|
+
end_time_unix_nano: "1780401600134000000",
|
|
78
|
+
status_code: "UNSET",
|
|
79
|
+
status_message: null,
|
|
80
|
+
gen_ai_provider_name: null,
|
|
81
|
+
gen_ai_operation_name: null,
|
|
82
|
+
gen_ai_request_model: null,
|
|
83
|
+
gen_ai_agent_name: null,
|
|
84
|
+
gen_ai_agent_id: null,
|
|
85
|
+
gen_ai_tool_name: null,
|
|
86
|
+
gen_ai_usage_input_tokens: null,
|
|
87
|
+
gen_ai_usage_output_tokens: null,
|
|
88
|
+
http_request_method: "POST",
|
|
89
|
+
http_response_status_code: 201,
|
|
90
|
+
url_full: null,
|
|
91
|
+
url_path: "/repos/acme/app/issues",
|
|
92
|
+
server_address: null,
|
|
93
|
+
server_port: null,
|
|
94
|
+
error_type: null,
|
|
95
|
+
attributes: {
|
|
96
|
+
"http.request.method": "POST",
|
|
97
|
+
"http.response.status_code": 201,
|
|
98
|
+
"url.path": "/repos/acme/app/issues",
|
|
99
|
+
"pome.legacy.kind": "TwinHttpEvent",
|
|
100
|
+
"pome.legacy.record_json": '{"ts":"2026-06-02T12:00:00.000Z","run_id":"run_otel_demo","twin":"github","request_id":"req_001","step_id":null,"tool_call_id":null,"method":"POST","path":"/repos/acme/app/issues","request_body":{"title":"Bug","body":"broken"},"status":201,"response_body":{"number":7},"latency_ms":134,"fidelity":"semantic","state_mutation":true,"state_delta":{"before":null,"after":{"number":7}},"error":null,"kind":"TwinHttpEvent","event_id":"evt_http_1","parent_id":null}',
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
name: "llm-call/anthropic-messages",
|
|
106
|
+
provenance: "Pome LlmCallEvent (recorder-events.ts). Frozen output of shimLegacyEventToSpan with run_id option.",
|
|
107
|
+
derivedFrom: "pome-internal",
|
|
108
|
+
legacy: {
|
|
109
|
+
ts: "2026-06-02T12:00:01.000Z",
|
|
110
|
+
event_id: "evt_llm_1",
|
|
111
|
+
parent_id: "evt_http_1",
|
|
112
|
+
kind: "LlmCallEvent",
|
|
113
|
+
host: "api.anthropic.com",
|
|
114
|
+
port: 443,
|
|
115
|
+
latency_ms: 820,
|
|
116
|
+
bytes_in: 512,
|
|
117
|
+
bytes_out: 2048,
|
|
118
|
+
url: "https://api.anthropic.com/v1/messages",
|
|
119
|
+
method: "POST",
|
|
120
|
+
status: 200,
|
|
121
|
+
model: "claude-haiku-4-5",
|
|
122
|
+
prompt_tokens: 320,
|
|
123
|
+
completion_tokens: 96,
|
|
124
|
+
cost_usd: 0.0012,
|
|
125
|
+
},
|
|
126
|
+
options: { run_id: "run_otel_demo" },
|
|
127
|
+
expected: {
|
|
128
|
+
ts: "2026-06-02T12:00:01.000Z",
|
|
129
|
+
event_id: "legacy:evt_llm_1",
|
|
130
|
+
parent_id: "legacy:evt_http_1",
|
|
131
|
+
kind: "OtelSpanEvent",
|
|
132
|
+
trace_id: "legacy:run_otel_demo",
|
|
133
|
+
span_id: "legacy:evt_llm_1",
|
|
134
|
+
parent_span_id: "legacy:evt_http_1",
|
|
135
|
+
name: "chat claude-haiku-4-5",
|
|
136
|
+
span_kind: "CLIENT",
|
|
137
|
+
start_time_unix_nano: "1780401601000000000",
|
|
138
|
+
end_time_unix_nano: "1780401601820000000",
|
|
139
|
+
status_code: "UNSET",
|
|
140
|
+
status_message: null,
|
|
141
|
+
gen_ai_provider_name: null,
|
|
142
|
+
gen_ai_operation_name: "chat",
|
|
143
|
+
gen_ai_request_model: "claude-haiku-4-5",
|
|
144
|
+
gen_ai_agent_name: null,
|
|
145
|
+
gen_ai_agent_id: null,
|
|
146
|
+
gen_ai_tool_name: null,
|
|
147
|
+
gen_ai_usage_input_tokens: 320,
|
|
148
|
+
gen_ai_usage_output_tokens: 96,
|
|
149
|
+
http_request_method: "POST",
|
|
150
|
+
http_response_status_code: 200,
|
|
151
|
+
url_full: "https://api.anthropic.com/v1/messages",
|
|
152
|
+
url_path: null,
|
|
153
|
+
server_address: "api.anthropic.com",
|
|
154
|
+
server_port: 443,
|
|
155
|
+
error_type: null,
|
|
156
|
+
attributes: {
|
|
157
|
+
"gen_ai.operation.name": "chat",
|
|
158
|
+
"gen_ai.request.model": "claude-haiku-4-5",
|
|
159
|
+
"gen_ai.usage.input_tokens": 320,
|
|
160
|
+
"gen_ai.usage.output_tokens": 96,
|
|
161
|
+
"http.request.method": "POST",
|
|
162
|
+
"http.response.status_code": 200,
|
|
163
|
+
"url.full": "https://api.anthropic.com/v1/messages",
|
|
164
|
+
"server.address": "api.anthropic.com",
|
|
165
|
+
"server.port": 443,
|
|
166
|
+
"pome.legacy.kind": "LlmCallEvent",
|
|
167
|
+
"pome.legacy.record_json": '{"ts":"2026-06-02T12:00:01.000Z","event_id":"evt_llm_1","parent_id":"evt_http_1","kind":"LlmCallEvent","host":"api.anthropic.com","port":443,"latency_ms":820,"bytes_in":512,"bytes_out":2048,"url":"https://api.anthropic.com/v1/messages","method":"POST","status":200,"model":"claude-haiku-4-5","prompt_tokens":320,"completion_tokens":96,"cost_usd":0.0012}',
|
|
168
|
+
},
|
|
169
|
+
},
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
name: "tool-use/create-issue",
|
|
173
|
+
provenance: "Pome ToolUseEvent (recorder-events.ts). Frozen output of shimLegacyEventToSpan with run_id option.",
|
|
174
|
+
derivedFrom: "pome-internal",
|
|
175
|
+
legacy: {
|
|
176
|
+
ts: "2026-06-02T12:00:02.000Z",
|
|
177
|
+
event_id: "evt_tool_1",
|
|
178
|
+
parent_id: "evt_llm_1",
|
|
179
|
+
kind: "ToolUseEvent",
|
|
180
|
+
tool_use_id: "toolu_abc",
|
|
181
|
+
tool_name: "create_issue",
|
|
182
|
+
input: { title: "Bug" },
|
|
183
|
+
},
|
|
184
|
+
options: { run_id: "run_otel_demo" },
|
|
185
|
+
expected: {
|
|
186
|
+
ts: "2026-06-02T12:00:02.000Z",
|
|
187
|
+
event_id: "legacy:evt_tool_1",
|
|
188
|
+
parent_id: "legacy:evt_llm_1",
|
|
189
|
+
kind: "OtelSpanEvent",
|
|
190
|
+
trace_id: "legacy:run_otel_demo",
|
|
191
|
+
span_id: "legacy:evt_tool_1",
|
|
192
|
+
parent_span_id: "legacy:evt_llm_1",
|
|
193
|
+
name: "execute_tool create_issue",
|
|
194
|
+
span_kind: "INTERNAL",
|
|
195
|
+
start_time_unix_nano: "1780401602000000000",
|
|
196
|
+
end_time_unix_nano: null,
|
|
197
|
+
status_code: "UNSET",
|
|
198
|
+
status_message: null,
|
|
199
|
+
gen_ai_provider_name: null,
|
|
200
|
+
gen_ai_operation_name: "execute_tool",
|
|
201
|
+
gen_ai_request_model: null,
|
|
202
|
+
gen_ai_agent_name: null,
|
|
203
|
+
gen_ai_agent_id: null,
|
|
204
|
+
gen_ai_tool_name: "create_issue",
|
|
205
|
+
gen_ai_usage_input_tokens: null,
|
|
206
|
+
gen_ai_usage_output_tokens: null,
|
|
207
|
+
http_request_method: null,
|
|
208
|
+
http_response_status_code: null,
|
|
209
|
+
url_full: null,
|
|
210
|
+
url_path: null,
|
|
211
|
+
server_address: null,
|
|
212
|
+
server_port: null,
|
|
213
|
+
error_type: null,
|
|
214
|
+
attributes: {
|
|
215
|
+
"gen_ai.operation.name": "execute_tool",
|
|
216
|
+
"gen_ai.tool.name": "create_issue",
|
|
217
|
+
"pome.legacy.kind": "ToolUseEvent",
|
|
218
|
+
"pome.legacy.record_json": '{"ts":"2026-06-02T12:00:02.000Z","event_id":"evt_tool_1","parent_id":"evt_llm_1","kind":"ToolUseEvent","tool_use_id":"toolu_abc","tool_name":"create_issue","input":{"title":"Bug"}}',
|
|
219
|
+
},
|
|
220
|
+
},
|
|
221
|
+
},
|
|
222
|
+
]);
|
|
223
|
+
// ─── Real-emitter spans (normalized OtelSpanInput; keys from each emitter) ────
|
|
224
|
+
// Successful spans are left status-UNSET (the OTel convention — `OK` is not set
|
|
225
|
+
// merely because a span succeeded). `derivedFrom` flags the documented sourcing.
|
|
226
|
+
export const EMITTER_FIXTURES = deepFreeze([
|
|
227
|
+
{
|
|
228
|
+
name: "traceloop/openai-chat",
|
|
229
|
+
emitter: "traceloop",
|
|
230
|
+
// Traceloop / OpenLLMetry emits the deprecated gen_ai.system + pre-1.27
|
|
231
|
+
// prompt_tokens/completion_tokens — exercises both ingestion aliases.
|
|
232
|
+
provenance: "https://github.com/traceloop/openllmetry semconv_ai constants + https://www.traceloop.com/docs/openllmetry/contributing/semantic-conventions",
|
|
233
|
+
sourceVersion: "OpenLLMetry semconv_ai (documentation-derived; not a live capture)",
|
|
234
|
+
derivedFrom: "documentation-derived",
|
|
235
|
+
span: {
|
|
236
|
+
trace_id: "11111111111111111111111111111111",
|
|
237
|
+
span_id: "1111111111111111",
|
|
238
|
+
name: "openai.chat",
|
|
239
|
+
kind: "CLIENT",
|
|
240
|
+
start_time_unix_nano: "1780401600000000000",
|
|
241
|
+
end_time_unix_nano: "1780401600500000000",
|
|
242
|
+
attributes: {
|
|
243
|
+
"gen_ai.system": "openai",
|
|
244
|
+
"llm.request.type": "chat",
|
|
245
|
+
"gen_ai.request.model": "gpt-4",
|
|
246
|
+
"gen_ai.response.model": "gpt-4-0613",
|
|
247
|
+
"gen_ai.usage.prompt_tokens": 100,
|
|
248
|
+
"gen_ai.usage.completion_tokens": 180,
|
|
249
|
+
"llm.usage.total_tokens": 280,
|
|
250
|
+
"traceloop.span.kind": "workflow",
|
|
251
|
+
"traceloop.entity.name": "openai.chat",
|
|
252
|
+
},
|
|
253
|
+
},
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
name: "vercel-ai-sdk/do-generate",
|
|
257
|
+
emitter: "vercel-ai-sdk",
|
|
258
|
+
// The provider (doGenerate) span carries gen_ai.* with the new
|
|
259
|
+
// input_tokens/output_tokens names; older builds still set gen_ai.system.
|
|
260
|
+
provenance: "https://ai-sdk.dev/docs/ai-sdk-core/telemetry",
|
|
261
|
+
sourceVersion: "Vercel AI SDK telemetry docs (documentation-derived; not a live capture)",
|
|
262
|
+
derivedFrom: "documentation-derived",
|
|
263
|
+
span: {
|
|
264
|
+
trace_id: "22222222222222222222222222222222",
|
|
265
|
+
span_id: "2222222222222222",
|
|
266
|
+
parent_span_id: "2222222222222200",
|
|
267
|
+
name: "ai.generateText.doGenerate",
|
|
268
|
+
kind: "CLIENT",
|
|
269
|
+
start_time_unix_nano: "1780401601000000000",
|
|
270
|
+
end_time_unix_nano: "1780401601900000000",
|
|
271
|
+
attributes: {
|
|
272
|
+
"operation.name": "ai.generateText.doGenerate",
|
|
273
|
+
"ai.operationId": "ai.generateText.doGenerate",
|
|
274
|
+
"ai.response.model": "gpt-4-0613",
|
|
275
|
+
"gen_ai.system": "openai",
|
|
276
|
+
"gen_ai.request.model": "gpt-4",
|
|
277
|
+
"gen_ai.request.temperature": 0.7,
|
|
278
|
+
"gen_ai.response.finish_reasons": ["stop"],
|
|
279
|
+
"gen_ai.usage.input_tokens": 100,
|
|
280
|
+
"gen_ai.usage.output_tokens": 180,
|
|
281
|
+
},
|
|
282
|
+
},
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
name: "pydantic-logfire/chat",
|
|
286
|
+
emitter: "pydantic-logfire",
|
|
287
|
+
// Pydantic Logfire / Pydantic AI is on the canonical gen_ai.provider.name
|
|
288
|
+
// + input/output names and sets gen_ai.operation.name; span name "chat {model}".
|
|
289
|
+
provenance: "https://pydantic.dev/docs/ai/integrations/logfire/ + https://pydantic.dev/docs/ai/api/models/instrumented/",
|
|
290
|
+
sourceVersion: "Pydantic AI / Logfire instrumentation docs (documentation-derived; not a live capture)",
|
|
291
|
+
derivedFrom: "documentation-derived",
|
|
292
|
+
span: {
|
|
293
|
+
trace_id: "33333333333333333333333333333333",
|
|
294
|
+
span_id: "3333333333333333",
|
|
295
|
+
name: "chat gpt-4",
|
|
296
|
+
kind: "CLIENT",
|
|
297
|
+
start_time_unix_nano: "1780401602000000000",
|
|
298
|
+
end_time_unix_nano: "1780401602750000000",
|
|
299
|
+
attributes: {
|
|
300
|
+
"gen_ai.provider.name": "openai",
|
|
301
|
+
"gen_ai.operation.name": "chat",
|
|
302
|
+
"gen_ai.request.model": "gpt-4",
|
|
303
|
+
"gen_ai.response.model": "gpt-4",
|
|
304
|
+
"gen_ai.usage.input_tokens": 150,
|
|
305
|
+
"gen_ai.usage.output_tokens": 75,
|
|
306
|
+
},
|
|
307
|
+
},
|
|
308
|
+
},
|
|
309
|
+
]);
|
|
310
|
+
// ─── Multi-span sub-agent traces ─────────────────────────────────────────────
|
|
311
|
+
export const TRACE_FIXTURES = deepFreeze([
|
|
312
|
+
{
|
|
313
|
+
name: "subagent-fanout/two-children",
|
|
314
|
+
provenance: "Pydantic AI invoke_agent + child model spans (https://pydantic.dev/docs/ai/integrations/logfire/). Root agent span fans out to two sub-agent spans, each with one LLM child.",
|
|
315
|
+
derivedFrom: "documentation-derived",
|
|
316
|
+
spans: [
|
|
317
|
+
{
|
|
318
|
+
trace_id: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
319
|
+
span_id: "a000000000000000",
|
|
320
|
+
name: "invoke_agent orchestrator",
|
|
321
|
+
kind: "INTERNAL",
|
|
322
|
+
start_time_unix_nano: "1780401600000000000",
|
|
323
|
+
end_time_unix_nano: "1780401603000000000",
|
|
324
|
+
attributes: {
|
|
325
|
+
"gen_ai.provider.name": "openai",
|
|
326
|
+
"gen_ai.operation.name": "invoke_agent",
|
|
327
|
+
"gen_ai.agent.name": "orchestrator",
|
|
328
|
+
"gen_ai.agent.id": "agent_root",
|
|
329
|
+
},
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
trace_id: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
333
|
+
span_id: "a000000000000001",
|
|
334
|
+
parent_span_id: "a000000000000000",
|
|
335
|
+
name: "invoke_agent researcher",
|
|
336
|
+
kind: "INTERNAL",
|
|
337
|
+
start_time_unix_nano: "1780401600100000000",
|
|
338
|
+
end_time_unix_nano: "1780401601500000000",
|
|
339
|
+
attributes: {
|
|
340
|
+
"gen_ai.operation.name": "invoke_agent",
|
|
341
|
+
"gen_ai.agent.name": "researcher",
|
|
342
|
+
"gen_ai.agent.id": "agent_research",
|
|
343
|
+
},
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
trace_id: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
347
|
+
span_id: "a000000000000002",
|
|
348
|
+
parent_span_id: "a000000000000001",
|
|
349
|
+
name: "chat gpt-4",
|
|
350
|
+
kind: "CLIENT",
|
|
351
|
+
start_time_unix_nano: "1780401600200000000",
|
|
352
|
+
end_time_unix_nano: "1780401601400000000",
|
|
353
|
+
attributes: {
|
|
354
|
+
"gen_ai.provider.name": "openai",
|
|
355
|
+
"gen_ai.operation.name": "chat",
|
|
356
|
+
"gen_ai.request.model": "gpt-4",
|
|
357
|
+
"gen_ai.usage.input_tokens": 200,
|
|
358
|
+
"gen_ai.usage.output_tokens": 90,
|
|
359
|
+
},
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
trace_id: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
363
|
+
span_id: "a000000000000003",
|
|
364
|
+
parent_span_id: "a000000000000000",
|
|
365
|
+
name: "invoke_agent writer",
|
|
366
|
+
kind: "INTERNAL",
|
|
367
|
+
start_time_unix_nano: "1780401601600000000",
|
|
368
|
+
end_time_unix_nano: "1780401602900000000",
|
|
369
|
+
attributes: {
|
|
370
|
+
"gen_ai.operation.name": "invoke_agent",
|
|
371
|
+
"gen_ai.agent.name": "writer",
|
|
372
|
+
"gen_ai.agent.id": "agent_writer",
|
|
373
|
+
},
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
trace_id: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
377
|
+
span_id: "a000000000000004",
|
|
378
|
+
parent_span_id: "a000000000000003",
|
|
379
|
+
name: "chat gpt-4",
|
|
380
|
+
kind: "CLIENT",
|
|
381
|
+
start_time_unix_nano: "1780401601700000000",
|
|
382
|
+
end_time_unix_nano: "1780401602800000000",
|
|
383
|
+
attributes: {
|
|
384
|
+
"gen_ai.provider.name": "openai",
|
|
385
|
+
"gen_ai.operation.name": "chat",
|
|
386
|
+
"gen_ai.request.model": "gpt-4",
|
|
387
|
+
"gen_ai.usage.input_tokens": 140,
|
|
388
|
+
"gen_ai.usage.output_tokens": 60,
|
|
389
|
+
},
|
|
390
|
+
},
|
|
391
|
+
],
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
name: "tool-chain/llm-then-tool",
|
|
395
|
+
provenance: "OTel GenAI tool spans (https://opentelemetry.io/docs/specs/semconv/gen-ai/gen-ai-spans/). One LLM span followed by an execute_tool child.",
|
|
396
|
+
derivedFrom: "otel-spec",
|
|
397
|
+
spans: [
|
|
398
|
+
{
|
|
399
|
+
trace_id: "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
|
|
400
|
+
span_id: "b000000000000000",
|
|
401
|
+
name: "chat gpt-4",
|
|
402
|
+
kind: "CLIENT",
|
|
403
|
+
start_time_unix_nano: "1780401600000000000",
|
|
404
|
+
end_time_unix_nano: "1780401601000000000",
|
|
405
|
+
attributes: {
|
|
406
|
+
"gen_ai.provider.name": "openai",
|
|
407
|
+
"gen_ai.operation.name": "chat",
|
|
408
|
+
"gen_ai.request.model": "gpt-4",
|
|
409
|
+
"gen_ai.usage.input_tokens": 80,
|
|
410
|
+
"gen_ai.usage.output_tokens": 40,
|
|
411
|
+
},
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
trace_id: "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
|
|
415
|
+
span_id: "b000000000000001",
|
|
416
|
+
parent_span_id: "b000000000000000",
|
|
417
|
+
name: "execute_tool create_issue",
|
|
418
|
+
kind: "INTERNAL",
|
|
419
|
+
start_time_unix_nano: "1780401601000000000",
|
|
420
|
+
end_time_unix_nano: "1780401601200000000",
|
|
421
|
+
attributes: {
|
|
422
|
+
"gen_ai.operation.name": "execute_tool",
|
|
423
|
+
"gen_ai.tool.name": "create_issue",
|
|
424
|
+
},
|
|
425
|
+
},
|
|
426
|
+
],
|
|
427
|
+
},
|
|
428
|
+
]);
|
|
429
|
+
// ─── External-API (twin-relevant) spans ──────────────────────────────────────
|
|
430
|
+
export const EXTERNAL_API_FIXTURES = deepFreeze([
|
|
431
|
+
{
|
|
432
|
+
name: "github/get-issue-404",
|
|
433
|
+
provenance: "OTel HTTP client semconv (https://opentelemetry.io/docs/specs/semconv/http/http-spans/). A twin-relevant external-API span for M4 drift detection — a 404 from the real GitHub API. Low-cardinality span name (method only).",
|
|
434
|
+
derivedFrom: "otel-spec",
|
|
435
|
+
span: {
|
|
436
|
+
trace_id: "cccccccccccccccccccccccccccccccc",
|
|
437
|
+
span_id: "c000000000000000",
|
|
438
|
+
name: "GET",
|
|
439
|
+
kind: "CLIENT",
|
|
440
|
+
start_time_unix_nano: "1780401600000000000",
|
|
441
|
+
end_time_unix_nano: "1780401600090000000",
|
|
442
|
+
status: { code: "ERROR", message: "Not Found" },
|
|
443
|
+
attributes: {
|
|
444
|
+
"http.request.method": "GET",
|
|
445
|
+
"http.response.status_code": 404,
|
|
446
|
+
"url.full": "https://api.github.com/repos/acme/app/issues/999",
|
|
447
|
+
"url.path": "/repos/acme/app/issues/999",
|
|
448
|
+
"server.address": "api.github.com",
|
|
449
|
+
"server.port": 443,
|
|
450
|
+
"error.type": "404",
|
|
451
|
+
},
|
|
452
|
+
},
|
|
453
|
+
},
|
|
454
|
+
]);
|
|
455
|
+
//# sourceMappingURL=data.js.map
|
package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data.js","sourceRoot":"","sources":["../../../src/otel/fixtures/data.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAoEH,8EAA8E;AAC9E,iEAAiE;AACjE,SAAS,UAAU,CAAI,KAAQ;IAC7B,IAAI,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,MAAM,CAAC,QAAQ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BAAkB,EAAE,qBAAqB;YACzC,MAAM,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE;YAC/C,UAAU,EAAE;gBACV,qBAAqB,EAAE,KAAK;gBAC5B,2BAA2B,EAAE,GAAG;gBAChC,UAAU,EAAE,kDAAkD;gBAC9D,UAAU,EAAE,4BAA4B;gBACxC,gBAAgB,EAAE,gBAAgB;gBAClC,aAAa,EAAE,GAAG;gBAClB,YAAY,EAAE,KAAK;aACpB;SACF;KACF;CACF,CAAC,CAAC"}
|
package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.d.ts
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* otel/fixtures — typed accessor for the golden-fixture conformance corpus
|
|
3
|
+
* (M1.3 / FDRS-482).
|
|
4
|
+
*
|
|
5
|
+
* Stable import path for every consuming milestone (M1.2, M2–M6):
|
|
6
|
+
*
|
|
7
|
+
* import { getLegacyFixtures, getEmitterFixtures } from "@pome-sh/shared-types/otel/fixtures";
|
|
8
|
+
*
|
|
9
|
+
* The corpus itself is static data in `./data`; this module is the documented,
|
|
10
|
+
* typed entry point. Keep all access going through these accessors so a future
|
|
11
|
+
* corpus reorganization is a one-file change.
|
|
12
|
+
*/
|
|
13
|
+
import { type EmitterFixture, type ExternalApiFixture, type LegacyFixture, type TraceFixture } from "./data.js";
|
|
14
|
+
export type { EmitterFixture, ExternalApiFixture, LegacyFixture, TraceFixture, } from "./data.js";
|
|
15
|
+
/** (legacy record → expected OtelSpanEvent) pairs — consumed by the M1.2 shim. */
|
|
16
|
+
export declare function getLegacyFixtures(): readonly LegacyFixture[];
|
|
17
|
+
/** Real-emitter spans (Traceloop / Vercel AI SDK / Pydantic Logfire). */
|
|
18
|
+
export declare function getEmitterFixtures(): readonly EmitterFixture[];
|
|
19
|
+
/** Multi-span sub-agent traces (parent_span_id trees). */
|
|
20
|
+
export declare function getTraceFixtures(): readonly TraceFixture[];
|
|
21
|
+
/** Twin-relevant external-API (HTTP) spans. */
|
|
22
|
+
export declare function getExternalApiFixtures(): readonly ExternalApiFixture[];
|
|
23
|
+
/** Every normalized span across the emitter, trace, and external-API families. */
|
|
24
|
+
export declare function getAllSpanInputs(): {
|
|
25
|
+
trace_id: string;
|
|
26
|
+
span_id: string;
|
|
27
|
+
name: string;
|
|
28
|
+
start_time_unix_nano: string;
|
|
29
|
+
attributes: Record<string, string | number | boolean | (string | number | boolean)[]>;
|
|
30
|
+
parent_span_id?: string | null | undefined;
|
|
31
|
+
kind?: number | "UNSPECIFIED" | "INTERNAL" | "SERVER" | "CLIENT" | "PRODUCER" | "CONSUMER" | undefined;
|
|
32
|
+
end_time_unix_nano?: string | null | undefined;
|
|
33
|
+
status?: {
|
|
34
|
+
code?: number | "UNSET" | "OK" | "ERROR" | undefined;
|
|
35
|
+
message?: string | null | undefined;
|
|
36
|
+
} | undefined;
|
|
37
|
+
}[];
|
|
38
|
+
/** Look up a legacy fixture by its stable `name`; throws if absent. */
|
|
39
|
+
export declare function getLegacyFixtureByName(name: string): LegacyFixture;
|
package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
2
|
+
/**
|
|
3
|
+
* otel/fixtures — typed accessor for the golden-fixture conformance corpus
|
|
4
|
+
* (M1.3 / FDRS-482).
|
|
5
|
+
*
|
|
6
|
+
* Stable import path for every consuming milestone (M1.2, M2–M6):
|
|
7
|
+
*
|
|
8
|
+
* import { getLegacyFixtures, getEmitterFixtures } from "@pome-sh/shared-types/otel/fixtures";
|
|
9
|
+
*
|
|
10
|
+
* The corpus itself is static data in `./data`; this module is the documented,
|
|
11
|
+
* typed entry point. Keep all access going through these accessors so a future
|
|
12
|
+
* corpus reorganization is a one-file change.
|
|
13
|
+
*/
|
|
14
|
+
import { EMITTER_FIXTURES, EXTERNAL_API_FIXTURES, LEGACY_FIXTURES, TRACE_FIXTURES, } from "./data.js";
|
|
15
|
+
/** (legacy record → expected OtelSpanEvent) pairs — consumed by the M1.2 shim. */
|
|
16
|
+
export function getLegacyFixtures() {
|
|
17
|
+
return LEGACY_FIXTURES;
|
|
18
|
+
}
|
|
19
|
+
/** Real-emitter spans (Traceloop / Vercel AI SDK / Pydantic Logfire). */
|
|
20
|
+
export function getEmitterFixtures() {
|
|
21
|
+
return EMITTER_FIXTURES;
|
|
22
|
+
}
|
|
23
|
+
/** Multi-span sub-agent traces (parent_span_id trees). */
|
|
24
|
+
export function getTraceFixtures() {
|
|
25
|
+
return TRACE_FIXTURES;
|
|
26
|
+
}
|
|
27
|
+
/** Twin-relevant external-API (HTTP) spans. */
|
|
28
|
+
export function getExternalApiFixtures() {
|
|
29
|
+
return EXTERNAL_API_FIXTURES;
|
|
30
|
+
}
|
|
31
|
+
/** Every normalized span across the emitter, trace, and external-API families. */
|
|
32
|
+
export function getAllSpanInputs() {
|
|
33
|
+
return [
|
|
34
|
+
...EMITTER_FIXTURES.map((fixture) => fixture.span),
|
|
35
|
+
...TRACE_FIXTURES.flatMap((fixture) => fixture.spans),
|
|
36
|
+
...EXTERNAL_API_FIXTURES.map((fixture) => fixture.span),
|
|
37
|
+
];
|
|
38
|
+
}
|
|
39
|
+
/** Look up a legacy fixture by its stable `name`; throws if absent. */
|
|
40
|
+
export function getLegacyFixtureByName(name) {
|
|
41
|
+
const fixture = LEGACY_FIXTURES.find((candidate) => candidate.name === name);
|
|
42
|
+
if (fixture === undefined) {
|
|
43
|
+
throw new Error(`unknown legacy fixture: ${name}`);
|
|
44
|
+
}
|
|
45
|
+
return fixture;
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=index.js.map
|
package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":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surface (Open Telemetry Integration, M1).
|
|
3
|
+
*
|
|
4
|
+
* Barrel re-export. The golden-fixture corpus under `./fixtures/` is a
|
|
5
|
+
* test/dev artifact and is intentionally NOT re-exported from the public barrel.
|
|
6
|
+
*
|
|
7
|
+
* OWNERSHIP BOUNDARY (settled at FDRS-653; supersedes the earlier
|
|
8
|
+
* "pome-cloud mirrors this directory verbatim" claim, which no longer held):
|
|
9
|
+
* - FORMAT schemas are canonical HERE, in `pome-sh/pome-twins`
|
|
10
|
+
* `@pome-sh/shared-types` v0.5.0+: `span-event`, `event-schema`,
|
|
11
|
+
* `semconv`, `nano`, `project`, `map-span`, `legacy-shim`, and the
|
|
12
|
+
* `fixtures/` corpus. pome-cloud CONSUMES this surface (FDRS-654 swaps it
|
|
13
|
+
* onto the published package); it does not fork it.
|
|
14
|
+
* - INGEST-side utilities are cloud-owned consumers and intentionally do NOT
|
|
15
|
+
* live here: OTLP wire decoding (`decode-otlp.ts`), redaction/allowlist
|
|
16
|
+
* processors, storage helpers, and the raw OTLP envelope capture tooling +
|
|
17
|
+
* captured envelope fixtures that feed the decoder.
|
|
18
|
+
*/
|
|
19
|
+
export * from "./semconv.js";
|
|
20
|
+
export * from "./nano.js";
|
|
21
|
+
export * from "./project.js";
|
|
22
|
+
export * from "./span-event.js";
|
|
23
|
+
export * from "./map-span.js";
|
|
24
|
+
export * from "./legacy-shim.js";
|
|
25
|
+
export * from "./event-schema.js";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
2
|
+
/**
|
|
3
|
+
* otel — OpenTelemetry-native trace surface (Open Telemetry Integration, M1).
|
|
4
|
+
*
|
|
5
|
+
* Barrel re-export. The golden-fixture corpus under `./fixtures/` is a
|
|
6
|
+
* test/dev artifact and is intentionally NOT re-exported from the public barrel.
|
|
7
|
+
*
|
|
8
|
+
* OWNERSHIP BOUNDARY (settled at FDRS-653; supersedes the earlier
|
|
9
|
+
* "pome-cloud mirrors this directory verbatim" claim, which no longer held):
|
|
10
|
+
* - FORMAT schemas are canonical HERE, in `pome-sh/pome-twins`
|
|
11
|
+
* `@pome-sh/shared-types` v0.5.0+: `span-event`, `event-schema`,
|
|
12
|
+
* `semconv`, `nano`, `project`, `map-span`, `legacy-shim`, and the
|
|
13
|
+
* `fixtures/` corpus. pome-cloud CONSUMES this surface (FDRS-654 swaps it
|
|
14
|
+
* onto the published package); it does not fork it.
|
|
15
|
+
* - INGEST-side utilities are cloud-owned consumers and intentionally do NOT
|
|
16
|
+
* live here: OTLP wire decoding (`decode-otlp.ts`), redaction/allowlist
|
|
17
|
+
* processors, storage helpers, and the raw OTLP envelope capture tooling +
|
|
18
|
+
* captured envelope fixtures that feed the decoder.
|
|
19
|
+
*/
|
|
20
|
+
export * from "./semconv.js";
|
|
21
|
+
export * from "./nano.js";
|
|
22
|
+
export * from "./project.js";
|
|
23
|
+
export * from "./span-event.js";
|
|
24
|
+
export * from "./map-span.js";
|
|
25
|
+
export * from "./legacy-shim.js";
|
|
26
|
+
export * from "./event-schema.js";
|
|
27
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/otel/index.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC;;;;;;;;;;;;;;;;;GAiBG;AACH,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC"}
|