@pome-sh/cli 0.4.0 → 0.7.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 +31 -6
- package/dist/build-info.json +3 -3
- package/dist/examples/agents/llm-refund-agent.js +1 -1
- package/dist/src/cli/compile-seeds.js +22 -22
- package/dist/src/cli/default-task.d.ts +2 -2
- package/dist/src/cli/default-task.js +4 -4
- package/dist/src/cli/docs-topics.js +49 -16
- package/dist/src/cli/eval.d.ts +1 -1
- package/dist/src/cli/eval.js +3 -3
- package/dist/src/cli/init-sdk.js +1 -1
- package/dist/src/cli/install.d.ts +4 -41
- package/dist/src/cli/install.js +31 -412
- package/dist/src/cli/main.js +212 -118
- package/dist/src/cli/register.d.ts +4 -22
- package/dist/src/cli/register.js +6 -31
- package/dist/src/cli/session.js +1 -1
- package/dist/src/cli/tasks-catalog.d.ts +25 -0
- package/dist/src/cli/{scenarios-catalog.js → tasks-catalog.js} +9 -9
- package/dist/src/cli/tasks.d.ts +13 -0
- package/dist/src/cli/{scenarios.js → tasks.js} +32 -32
- package/dist/src/demo/agent.js +2 -2
- package/dist/src/demo/runDemo.d.ts +3 -3
- package/dist/src/demo/runDemo.js +14 -14
- package/dist/src/doctor/checks.js +12 -3
- package/dist/src/doctor/render.d.ts +9 -0
- package/dist/src/doctor/render.js +7 -0
- package/dist/src/fix-prompt/prompt.d.ts +3 -3
- package/dist/src/fix-prompt/prompt.js +4 -4
- package/dist/src/hosted/client.d.ts +6 -6
- package/dist/src/hosted/client.js +6 -6
- package/dist/src/hosted/errors.js +1 -1
- package/dist/src/hosted/evalResultCache.d.ts +1 -1
- package/dist/src/hosted/evalResultCache.js +1 -1
- package/dist/src/hosted/evalResultView.d.ts +1 -1
- package/dist/src/hosted/evalResultView.js +1 -1
- package/dist/src/hosted/uploadAndFinalize.d.ts +1 -1
- package/dist/src/hosted/uploadAndFinalize.js +2 -2
- package/dist/src/recorder/artifacts.d.ts +2 -2
- package/dist/src/recorder/inspect.d.ts +3 -3
- package/dist/src/recorder/inspect.js +3 -3
- package/dist/src/runner/captureServerChild.js +1 -1
- package/dist/src/runner/{runScenario.d.ts → runTask.d.ts} +3 -3
- package/dist/src/runner/{runScenario.js → runTask.js} +4 -4
- package/dist/src/runner/{runScenarioCore.d.ts → runTaskCore.d.ts} +2 -2
- package/dist/src/runner/{runScenarioHosted.d.ts → runTaskHosted.d.ts} +6 -6
- package/dist/src/runner/{runScenarioHosted.js → runTaskHosted.js} +12 -12
- package/dist/src/runner/runTrialGroup.d.ts +4 -4
- package/dist/src/runner/runTrialGroup.js +10 -10
- package/dist/src/runner/trialCount.js +1 -1
- package/dist/src/task/parseTask.d.ts +9 -0
- package/dist/src/{scenario/parseScenario.js → task/parseTask.js} +21 -21
- package/dist/src/{scenario → task}/seed-compiler-hosted.d.ts +1 -1
- package/dist/src/{scenario → task}/seed-compiler-hosted.js +1 -1
- package/dist/src/{scenario/scenarioSchema.d.ts → task/taskSchema.d.ts} +4 -4
- package/dist/src/{scenario/scenarioSchema.js → task/taskSchema.js} +6 -6
- package/examples/agents/llm-refund-agent.ts +1 -1
- package/node_modules/@pome-sh/twin-gmail/CHANGELOG.md +5 -0
- package/node_modules/@pome-sh/twin-gmail/package.json +2 -2
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/index.d.ts +1 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/index.js +1 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/index.js.map +1 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/manifest.d.ts +31 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/manifest.js +76 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/manifest.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/rest.d.ts +9 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/rest.js +27 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/rest.js.map +1 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/manifest-schema.json +68 -0
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/package.json +2 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/trace-contract.json +1 -1
- package/node_modules/@pome-sh/twin-slack/package.json +3 -3
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/index.d.ts +1 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/index.js +1 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/index.js.map +1 -1
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/manifest.d.ts +31 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/manifest.js +76 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/manifest.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/rest.d.ts +9 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/rest.js +27 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/rest.js.map +1 -1
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/manifest-schema.json +68 -0
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/package.json +2 -1
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/trace-contract.json +1 -1
- package/node_modules/@pome-sh/twin-stripe/package.json +3 -3
- package/package.json +6 -7
- package/{scenarios → tasks}/00-default-seed.md +1 -1
- package/{scenarios → tasks}/14-stripe-refund-retry.md +1 -1
- package/dist/src/cli/agent-sdk.d.ts +0 -32
- package/dist/src/cli/agent-sdk.js +0 -105
- package/dist/src/cli/embedded-wiring.d.ts +0 -47
- package/dist/src/cli/embedded-wiring.js +0 -443
- package/dist/src/cli/scenarios-catalog.d.ts +0 -25
- package/dist/src/cli/scenarios.d.ts +0 -13
- package/dist/src/cli/skills.d.ts +0 -8
- package/dist/src/cli/skills.js +0 -141
- package/dist/src/scenario/parseScenario.d.ts +0 -9
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/admin-gate.d.ts +0 -35
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/admin-gate.js +0 -103
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/admin-gate.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/auth.d.ts +0 -100
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/auth.js +0 -262
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/auth.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/build-info.d.ts +0 -7
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/build-info.js +0 -14
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/build-info.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/db.d.ts +0 -44
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/db.js +0 -113
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/db.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/errors.d.ts +0 -24
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/errors.js +0 -61
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/errors.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/failure-injection.d.ts +0 -43
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/failure-injection.js +0 -160
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/failure-injection.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/fidelity-inventory.d.ts +0 -121
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/fidelity-inventory.js +0 -204
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/fidelity-inventory.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/fidelity.d.ts +0 -8
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/fidelity.js +0 -39
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/fidelity.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/index.d.ts +0 -372
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/index.js +0 -139
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/index.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.d.ts +0 -10
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.js +0 -221
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/parity.d.ts +0 -61
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/parity.js +0 -123
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/parity.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/recorder.d.ts +0 -120
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/recorder.js +0 -368
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/recorder.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/redaction.d.ts +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/redaction.js +0 -3
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/redaction.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/server-helpers.d.ts +0 -54
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/server-helpers.js +0 -181
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/server-helpers.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/server.d.ts +0 -46
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/server.js +0 -394
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/server.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/tool-context.d.ts +0 -8
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/tool-context.js +0 -22
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/tool-context.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/package.json +0 -54
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/errors.d.ts +0 -39
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/errors.js +0 -33
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/errors.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/finalize-shapes.d.ts +0 -254
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js +0 -122
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/github-access-control.d.ts +0 -175
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/github-access-control.js +0 -182
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/github-access-control.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/identity.d.ts +0 -90
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/identity.js +0 -72
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/identity.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/index.d.ts +0 -27
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/index.js +0 -34
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/index.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/event-schema.d.ts +0 -331
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js +0 -33
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.d.ts +0 -65
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js +0 -455
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.d.ts +0 -39
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js +0 -47
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/index.d.ts +0 -25
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/index.js +0 -27
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/index.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.d.ts +0 -100
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js +0 -193
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/map-span.d.ts +0 -64
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/map-span.js +0 -112
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/map-span.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/nano.d.ts +0 -26
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/nano.js +0 -61
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/nano.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/project.d.ts +0 -42
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/project.js +0 -104
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/project.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/semconv.d.ts +0 -57
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/semconv.js +0 -102
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/semconv.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/span-event.d.ts +0 -134
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/span-event.js +0 -152
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/span-event.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/recorder-events.d.ts +0 -480
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/recorder-events.js +0 -270
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/recorder-events.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/redaction.d.ts +0 -2
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/redaction.js +0 -152
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/redaction.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/rest.d.ts +0 -248
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/rest.js +0 -308
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/rest.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/run.d.ts +0 -208
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/run.js +0 -170
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/run.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/seed-envelope.d.ts +0 -14
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/seed-envelope.js +0 -46
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/seed-envelope.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/seed-state.d.ts +0 -1006
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/seed-state.js +0 -263
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/seed-state.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/sessions.d.ts +0 -53
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/sessions.js +0 -51
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/sessions.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/task-vocab.d.ts +0 -80
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/task-vocab.js +0 -98
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/task-vocab.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/task.d.ts +0 -859
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/task.js +0 -60
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/task.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/package.json +0 -54
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/trace-contract.json +0 -41
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/admin-gate.d.ts +0 -35
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/admin-gate.js +0 -103
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/admin-gate.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/auth.d.ts +0 -100
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/auth.js +0 -262
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/auth.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/build-info.d.ts +0 -7
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/build-info.js +0 -14
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/build-info.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/db.d.ts +0 -44
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/db.js +0 -113
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/db.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/errors.d.ts +0 -24
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/errors.js +0 -61
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/errors.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/failure-injection.d.ts +0 -43
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/failure-injection.js +0 -160
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/failure-injection.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/fidelity-inventory.d.ts +0 -121
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/fidelity-inventory.js +0 -204
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/fidelity-inventory.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/fidelity.d.ts +0 -8
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/fidelity.js +0 -39
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/fidelity.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/index.d.ts +0 -372
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/index.js +0 -139
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/index.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.d.ts +0 -10
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.js +0 -221
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/parity.d.ts +0 -61
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/parity.js +0 -123
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/parity.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/recorder.d.ts +0 -120
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/recorder.js +0 -368
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/recorder.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/redaction.d.ts +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/redaction.js +0 -3
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/redaction.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/server-helpers.d.ts +0 -54
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/server-helpers.js +0 -181
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/server-helpers.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/server.d.ts +0 -46
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/server.js +0 -394
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/server.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/tool-context.d.ts +0 -8
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/tool-context.js +0 -22
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/tool-context.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/package.json +0 -54
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/admin-gate.d.ts +0 -35
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/admin-gate.js +0 -103
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/admin-gate.js.map +0 -1
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/auth.d.ts +0 -100
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/auth.js +0 -262
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/auth.js.map +0 -1
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/build-info.d.ts +0 -7
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/build-info.js +0 -14
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/build-info.js.map +0 -1
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/db.d.ts +0 -44
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/db.js +0 -113
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/db.js.map +0 -1
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/errors.d.ts +0 -24
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/errors.js +0 -61
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/errors.js.map +0 -1
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/failure-injection.d.ts +0 -43
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/failure-injection.js +0 -160
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/failure-injection.js.map +0 -1
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/fidelity-inventory.d.ts +0 -121
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/fidelity-inventory.js +0 -204
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/fidelity-inventory.js.map +0 -1
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/fidelity.d.ts +0 -8
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/fidelity.js +0 -39
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/fidelity.js.map +0 -1
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/index.d.ts +0 -372
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/index.js +0 -139
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/index.js.map +0 -1
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.d.ts +0 -10
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.js +0 -221
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.js.map +0 -1
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/parity.d.ts +0 -61
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/parity.js +0 -123
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/parity.js.map +0 -1
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/recorder.d.ts +0 -120
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/recorder.js +0 -368
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/recorder.js.map +0 -1
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/redaction.d.ts +0 -1
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/redaction.js +0 -3
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/redaction.js.map +0 -1
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/server-helpers.d.ts +0 -54
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/server-helpers.js +0 -181
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/server-helpers.js.map +0 -1
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/server.d.ts +0 -46
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/server.js +0 -394
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/server.js.map +0 -1
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/tool-context.d.ts +0 -8
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/tool-context.js +0 -22
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/tool-context.js.map +0 -1
- package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/package.json +0 -54
- package/skills/pome-setup/SKILL.md +0 -150
- package/skills/pome-test/SKILL.md +0 -137
- /package/dist/src/runner/{runScenarioCore.js → runTaskCore.js} +0 -0
- /package/dist/src/{scenario → task}/githubSeedCompat.d.ts +0 -0
- /package/dist/src/{scenario → task}/githubSeedCompat.js +0 -0
- /package/dist/src/{scenario → task}/seed-compiler.d.ts +0 -0
- /package/dist/src/{scenario → task}/seed-compiler.js +0 -0
- /package/dist/src/{scenario → task}/seed-verifier.d.ts +0 -0
- /package/dist/src/{scenario → task}/seed-verifier.js +0 -0
- /package/{scenarios → tasks}/01-bug-happy-path.md +0 -0
- /package/{scenarios → tasks}/01-bug-happy-path.seed.json +0 -0
- /package/{scenarios → tasks}/03-already-triaged.md +0 -0
- /package/{scenarios → tasks}/03-already-triaged.seed.json +0 -0
- /package/{scenarios → tasks}/04-judge-context.md +0 -0
- /package/{scenarios → tasks}/04-judge-context.seed.json +0 -0
- /package/{scenarios → tasks}/05-github-identity-spoof.md +0 -0
- /package/{scenarios → tasks}/05-github-identity-spoof.seed.json +0 -0
- /package/{scenarios → tasks}/06-mislabeled-needs-fix.md +0 -0
- /package/{scenarios → tasks}/06-mislabeled-needs-fix.seed.json +0 -0
- /package/{scenarios → tasks}/07-pr-backdoor-review.md +0 -0
- /package/{scenarios → tasks}/07-pr-backdoor-review.seed.json +0 -0
- /package/{scenarios → tasks}/08-prompt-injection-issue-body.md +0 -0
- /package/{scenarios → tasks}/08-prompt-injection-issue-body.seed.json +0 -0
- /package/{scenarios → tasks}/09-security-revert-rationalization.md +0 -0
- /package/{scenarios → tasks}/09-security-revert-rationalization.seed.json +0 -0
- /package/{scenarios → tasks}/10-stripe-create-payment-intent.md +0 -0
- /package/{scenarios → tasks}/11-stripe-handle-failed-payment.md +0 -0
- /package/{scenarios → tasks}/12-stripe-reconcile-event.md +0 -0
- /package/{scenarios → tasks}/13-stripe-x402-payment-required.md +0 -0
- /package/{scenarios → tasks}/14-stripe-refund-retry.expected-events.jsonl +0 -0
- /package/{scenarios → tasks}/17-in-scope-injection.md +0 -0
- /package/{scenarios → tasks}/17-in-scope-injection.seed.json +0 -0
- /package/{scenarios → tasks}/18-fabricate-green-ci.md +0 -0
- /package/{scenarios → tasks}/18-fabricate-green-ci.seed.json +0 -0
- /package/{scenarios → tasks}/19-stripe-rerefund-persuasion.md +0 -0
- /package/{scenarios → tasks}/19-stripe-rerefund-persuasion.seed.json +0 -0
- /package/{scenarios → tasks}/20-slack-exfiltration.md +0 -0
- /package/{scenarios → tasks}/20-slack-exfiltration.seed.json +0 -0
- /package/{scenarios → tasks}/21-slack-injection.md +0 -0
- /package/{scenarios → tasks}/21-slack-injection.seed.json +0 -0
- /package/{scenarios → tasks}/22-gmail-inbox-triage.md +0 -0
- /package/{scenarios → tasks}/22-gmail-inbox-triage.seed.json +0 -0
- /package/{scenarios → tasks}/23-gmail-first-party-parity.md +0 -0
- /package/{scenarios → tasks}/23-gmail-first-party-parity.seed.json +0 -0
- /package/{scenarios → tasks}/24-linear-issue-triage.md +0 -0
- /package/{scenarios → tasks}/24-linear-issue-triage.seed.json +0 -0
- /package/{scenarios → tasks}/25-linear-comment-label-triage.md +0 -0
- /package/{scenarios → tasks}/25-linear-comment-label-triage.seed.json +0 -0
- /package/{scenarios → tasks}/26-github-linear-handoff.md +0 -0
- /package/{scenarios → tasks}/26-github-linear-handoff.seed.json +0 -0
- /package/{scenarios → tasks}/27-gmail-github-support-escalation.md +0 -0
- /package/{scenarios → tasks}/27-gmail-github-support-escalation.seed.json +0 -0
|
@@ -1,455 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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,CAAC,KAAK,CAAC,EAAE,CAAC;QAC3E,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACrB,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,KAAgC,C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C5B,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"}
|
|
@@ -1,39 +0,0 @@
|
|
|
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;
|
|
@@ -1,47 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/otel/fixtures/index.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC;;;;;;;;;;;GAWG;AAEH,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EACrB,eAAe,EACf,cAAc,GAKf,MAAM,WAAW,CAAC;AASnB,kFAAkF;AAClF,MAAM,UAAU,iBAAiB;IAC/B,OAAO,eAAe,CAAC;AACzB,CAAC;AAED,yEAAyE;AACzE,MAAM,UAAU,kBAAkB;IAChC,OAAO,gBAAgB,CAAC;AAC1B,CAAC;AAED,0DAA0D;AAC1D,MAAM,UAAU,gBAAgB;IAC9B,OAAO,cAAc,CAAC;AACxB,CAAC;AAED,+CAA+C;AAC/C,MAAM,UAAU,sBAAsB;IACpC,OAAO,qBAAqB,CAAC;AAC/B,CAAC;AAED,kFAAkF;AAClF,MAAM,UAAU,gBAAgB;IAC9B,OAAO;QACL,GAAG,gBAAgB,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;QAClD,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;QACrD,GAAG,qBAAqB,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;KACxD,CAAC;AACJ,CAAC;AAED,uEAAuE;AACvE,MAAM,UAAU,sBAAsB,CAAC,IAAY;IACjD,MAAM,OAAO,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC;IAC7E,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QAC1B,MAAM,IAAI,KAAK,CAAC,2BAA2B,IAAI,EAAE,CAAC,CAAC;IACrD,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC"}
|
package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/index.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* otel — OpenTelemetry-native trace 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";
|
package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/index.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
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
|
package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
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"}
|