@pome-sh/cli 0.1.1 → 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/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/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 +6 -2
- 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 +3 -7
- 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 -4
- 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.d.ts +1 -0
- 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 -4
- package/node_modules/@pome-sh/twin-stripe/FIDELITY.md +151 -50
- package/node_modules/@pome-sh/twin-stripe/README.md +42 -45
- package/node_modules/@pome-sh/twin-stripe/dist/scripts/fidelity-parity.d.ts +1 -0
- 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 -4
- package/package.json +8 -8
- package/skills/pome-setup/SKILL.md +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// SPDX-License-Identifier: Apache-2.0
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
// Slack MCP tools — the
|
|
3
|
+
// Slack MCP tools — the 11 visible Slack-agent tools exposed by tools/list.
|
|
4
4
|
// Schemas use z.strictObject so toJSONSchema emits `additionalProperties:false`.
|
|
5
5
|
export const toolDefinitions = [
|
|
6
6
|
{
|
|
@@ -92,6 +92,41 @@ export const toolDefinitions = [
|
|
|
92
92
|
})
|
|
93
93
|
.strict(),
|
|
94
94
|
},
|
|
95
|
+
{
|
|
96
|
+
name: "slack_search_messages",
|
|
97
|
+
description: "Search messages in the workspace by text query",
|
|
98
|
+
readOnly: true,
|
|
99
|
+
schema: z
|
|
100
|
+
.strictObject({
|
|
101
|
+
query: z.string(),
|
|
102
|
+
count: z.number().optional(),
|
|
103
|
+
page: z.number().optional(),
|
|
104
|
+
})
|
|
105
|
+
.strict(),
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
name: "slack_get_reactions",
|
|
109
|
+
description: "Get all reactions on a specific message",
|
|
110
|
+
readOnly: true,
|
|
111
|
+
schema: z
|
|
112
|
+
.strictObject({
|
|
113
|
+
channel_id: z.string(),
|
|
114
|
+
timestamp: z.string(),
|
|
115
|
+
})
|
|
116
|
+
.strict(),
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
name: "slack_list_channel_members",
|
|
120
|
+
description: "List the member user IDs of a channel with pagination",
|
|
121
|
+
readOnly: true,
|
|
122
|
+
schema: z
|
|
123
|
+
.strictObject({
|
|
124
|
+
channel_id: z.string(),
|
|
125
|
+
limit: z.number().optional(),
|
|
126
|
+
cursor: z.string().optional(),
|
|
127
|
+
})
|
|
128
|
+
.strict(),
|
|
129
|
+
},
|
|
95
130
|
];
|
|
96
131
|
export const MUTATING_TOOL_NAMES = new Set([
|
|
97
132
|
"slack_post_message",
|
|
@@ -165,6 +200,18 @@ export function executeTool(domain, name, args, onDelta, actor = {}) {
|
|
|
165
200
|
const p = parsed;
|
|
166
201
|
return domain.usersProfileGet({ user: p.user_id }, actor);
|
|
167
202
|
}
|
|
203
|
+
case "slack_search_messages": {
|
|
204
|
+
const p = parsed;
|
|
205
|
+
return domain.searchMessages({ query: p.query, count: p.count, page: p.page }, actor);
|
|
206
|
+
}
|
|
207
|
+
case "slack_get_reactions": {
|
|
208
|
+
const p = parsed;
|
|
209
|
+
return domain.reactionsGet({ channel: p.channel_id, timestamp: p.timestamp }, actor);
|
|
210
|
+
}
|
|
211
|
+
case "slack_list_channel_members": {
|
|
212
|
+
const p = parsed;
|
|
213
|
+
return domain.conversationsMembers({ channel: p.channel_id, limit: p.limit, cursor: p.cursor }, actor);
|
|
214
|
+
}
|
|
168
215
|
default:
|
|
169
216
|
throw new Error(`Unknown tool: ${name}`);
|
|
170
217
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.js","sourceRoot":"","sources":["../../src/tools.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,
|
|
1
|
+
{"version":3,"file":"tools.js","sourceRoot":"","sources":["../../src/tools.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,4EAA4E;AAC5E,iFAAiF;AAEjF,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B;QACE,IAAI,EAAE,oBAAoB;QAC1B,WAAW,EAAE,uCAAuC;QACpD,QAAQ,EAAE,KAAK;QACf,MAAM,EAAE,CAAC;aACN,YAAY,CAAC;YACZ,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;YACtB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;SACjB,CAAC;aACD,MAAM,EAAE;KACZ;IACD;QACE,IAAI,EAAE,uBAAuB;Q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5
|
+
"notes": "Re-cut against packages/sdk/ENDPOINT-TIERS.md per the F-729 twin-slack ruling (SL1-SL5), implemented by F-736. Heat is ruled, fidelity is measured; both tables lint 1:1 against FIDELITY.md. The hot and warm sets are exhaustive (ruled-but-unimplemented warm gaps carry fidelity 'unsupported' plus a defer note); cold rows are named-only — the remaining upstream tail stays implicitly cold via the 501 catch-all. Warm surfaces above their shape target are mirrored in FIDELITY.md's tier-mismatch ledger (M5 additive-only ruling: no code demotions this milestone). Message drafts have no Web API analog to name a row for (PS, client-UI concept) — recorded here, not as a surface.",
|
|
6
|
+
"tools": [
|
|
7
|
+
{
|
|
8
|
+
"name": "slack_post_message",
|
|
9
|
+
"heat": "hot",
|
|
10
|
+
"fidelity": "semantic",
|
|
11
|
+
"justification": "Ruled hot (F-729): TC:post-and-read — the core agent messaging chain; MCP: vendor first-party server ships the message write."
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "slack_reply_to_thread",
|
|
15
|
+
"heat": "hot",
|
|
16
|
+
"fidelity": "semantic",
|
|
17
|
+
"justification": "Ruled hot (F-729): TC:post-and-read — threaded follow-up on the messaging chain; MCP: vendor thread read/write tools."
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "slack_add_reaction",
|
|
21
|
+
"heat": "hot",
|
|
22
|
+
"fidelity": "semantic",
|
|
23
|
+
"justification": "Ruled hot (F-729): MCP:add_reaction (vendor first-party tool); TC:post-and-read — ack/verify step on the messaging chain."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "slack_get_channel_history",
|
|
27
|
+
"heat": "hot",
|
|
28
|
+
"fidelity": "semantic",
|
|
29
|
+
"justification": "Ruled hot (F-729): TC:post-and-read — the channel read agents poll after posting; MCP: vendor channel-read tool."
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "slack_get_thread_replies",
|
|
33
|
+
"heat": "hot",
|
|
34
|
+
"fidelity": "semantic",
|
|
35
|
+
"justification": "Ruled hot (F-729): TC:post-and-read — thread read on the messaging chain; MCP: vendor thread-read tool."
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "slack_list_channels",
|
|
39
|
+
"heat": "hot",
|
|
40
|
+
"fidelity": "semantic",
|
|
41
|
+
"justification": "Ruled hot (F-729): TC:discovery — channel lookup precedes nearly every chain; MCP: vendor channel search/read tools."
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "slack_get_users",
|
|
45
|
+
"heat": "hot",
|
|
46
|
+
"fidelity": "semantic",
|
|
47
|
+
"justification": "Ruled hot (F-729): TC:discovery — user lookup precedes DMs, invites, and mentions; MCP: vendor user-search tool."
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "slack_get_user_profile",
|
|
51
|
+
"heat": "hot",
|
|
52
|
+
"fidelity": "semantic",
|
|
53
|
+
"justification": "Ruled hot (F-729): TC:discovery; MCP:read_user_profile (vendor first-party tool)."
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "slack_search_messages",
|
|
57
|
+
"heat": "hot",
|
|
58
|
+
"fidelity": "semantic",
|
|
59
|
+
"justification": "Ruled hot (F-729, SL2): TC:discovery; MCP: vendor search suite (5 search tools). F-736 hot-gap fill — an MCP-only agent could not search before this tool; backed by the existing semantic search.messages domain."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "slack_get_reactions",
|
|
63
|
+
"heat": "hot",
|
|
64
|
+
"fidelity": "semantic",
|
|
65
|
+
"justification": "Ruled hot (F-729, SL2): MCP:get_reactions (vendor first-party tool); TC:post-and-read verify step. F-736 hot-gap fill backed by the existing semantic reactions.get domain."
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "slack_list_channel_members",
|
|
69
|
+
"heat": "hot",
|
|
70
|
+
"fidelity": "semantic",
|
|
71
|
+
"justification": "Ruled hot (F-729, SL2): MCP:list_channel_members (vendor first-party tool); TC:discovery. F-736 hot-gap fill backed by the existing semantic conversations.members domain."
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"rest": [
|
|
75
|
+
{
|
|
76
|
+
"name": "auth.test",
|
|
77
|
+
"heat": "hot",
|
|
78
|
+
"fidelity": "semantic",
|
|
79
|
+
"justification": "Ruled hot (F-729): TC:sdk-bootstrap — every @slack/web-api client calls it first."
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "chat.postMessage",
|
|
83
|
+
"heat": "hot",
|
|
84
|
+
"fidelity": "semantic",
|
|
85
|
+
"justification": "Ruled hot (F-729): TC:post-and-read — the core agent messaging chain; MCP: mirrored by the message-write tool."
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "chat.update",
|
|
89
|
+
"heat": "hot",
|
|
90
|
+
"fidelity": "semantic",
|
|
91
|
+
"justification": "Ruled hot (F-729, SL1): TC:agents-edit-own-updates — agents editing their own progress/status messages is a real chain; no vendor MCP tool, task chain wins per the rubric."
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "chat.delete",
|
|
95
|
+
"heat": "hot",
|
|
96
|
+
"fidelity": "semantic",
|
|
97
|
+
"justification": "Ruled hot (F-729, SL1): TC:agents-edit-own-updates — retract/replace step of the same chain; no vendor MCP tool, task chain wins per the rubric."
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "chat.scheduleMessage",
|
|
101
|
+
"heat": "hot",
|
|
102
|
+
"fidelity": "semantic",
|
|
103
|
+
"justification": "Ruled hot (F-729): TC:schedule-then-adjust; MCP:schedule_message (vendor first-party tool)."
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "chat.deleteScheduledMessage",
|
|
107
|
+
"heat": "hot",
|
|
108
|
+
"fidelity": "semantic",
|
|
109
|
+
"justification": "Ruled hot (F-729): TC:schedule-then-adjust — one chain with chat.scheduleMessage (schedule, then adjust)."
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "conversations.list",
|
|
113
|
+
"heat": "hot",
|
|
114
|
+
"fidelity": "semantic",
|
|
115
|
+
"justification": "Ruled hot (F-729): TC:discovery; MCP: vendor channel search/read tools."
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "conversations.info",
|
|
119
|
+
"heat": "hot",
|
|
120
|
+
"fidelity": "semantic",
|
|
121
|
+
"justification": "Ruled hot (F-729): TC:discovery; MCP: vendor channel-read tools."
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "conversations.create",
|
|
125
|
+
"heat": "hot",
|
|
126
|
+
"fidelity": "semantic",
|
|
127
|
+
"justification": "Ruled hot (F-729): TC:channel-setup; MCP:create_conversation (covers channel/group-DM/IM)."
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "conversations.history",
|
|
131
|
+
"heat": "hot",
|
|
132
|
+
"fidelity": "semantic",
|
|
133
|
+
"justification": "Ruled hot (F-729): TC:post-and-read; MCP: vendor channel-read tool."
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"name": "conversations.replies",
|
|
137
|
+
"heat": "hot",
|
|
138
|
+
"fidelity": "semantic",
|
|
139
|
+
"justification": "Ruled hot (F-729): TC:post-and-read; MCP: vendor thread-read tool."
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "conversations.invite",
|
|
143
|
+
"heat": "hot",
|
|
144
|
+
"fidelity": "semantic",
|
|
145
|
+
"justification": "Ruled hot (F-729): TC:channel-setup; MCP:create_conversation covers membership setup."
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"name": "conversations.join",
|
|
149
|
+
"heat": "hot",
|
|
150
|
+
"fidelity": "semantic",
|
|
151
|
+
"justification": "Ruled hot (F-729): TC:channel-setup — the agent joins before posting."
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"name": "conversations.leave",
|
|
155
|
+
"heat": "warm",
|
|
156
|
+
"fidelity": "semantic",
|
|
157
|
+
"justification": "Ruled warm (F-729): TC: rare cleanup chain; no vendor MCP tool. Fidelity semantic > shape target → tier-mismatch ledger (M5 additive-only)."
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"name": "conversations.kick",
|
|
161
|
+
"heat": "warm",
|
|
162
|
+
"fidelity": "semantic",
|
|
163
|
+
"justification": "Ruled warm (F-729): TC: rare moderation chain; no vendor MCP tool. Fidelity semantic > shape target → tier-mismatch ledger (M5 additive-only)."
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"name": "conversations.archive",
|
|
167
|
+
"heat": "warm",
|
|
168
|
+
"fidelity": "semantic",
|
|
169
|
+
"justification": "Ruled warm (F-729): TC: rare cleanup chain; no vendor MCP tool. Fidelity semantic > shape target → tier-mismatch ledger (M5 additive-only)."
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"name": "conversations.members",
|
|
173
|
+
"heat": "hot",
|
|
174
|
+
"fidelity": "semantic",
|
|
175
|
+
"justification": "Ruled hot (F-729): TC:discovery; MCP:list_channel_members (vendor first-party tool)."
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"name": "conversations.open",
|
|
179
|
+
"heat": "hot",
|
|
180
|
+
"fidelity": "semantic",
|
|
181
|
+
"justification": "Ruled hot (F-729): TC:channel-setup — DM open precedes direct-message chains; MCP:create_conversation covers IM/group-DM."
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"name": "reactions.add",
|
|
185
|
+
"heat": "hot",
|
|
186
|
+
"fidelity": "semantic",
|
|
187
|
+
"justification": "Ruled hot (F-729): MCP:add_reaction (vendor first-party tool); TC:post-and-read ack step."
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"name": "reactions.remove",
|
|
191
|
+
"heat": "warm",
|
|
192
|
+
"fidelity": "semantic",
|
|
193
|
+
"justification": "Ruled warm (F-729): TC: undo chain, rare; no vendor MCP tool. Fidelity semantic > shape target → tier-mismatch ledger (M5 additive-only)."
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"name": "reactions.get",
|
|
197
|
+
"heat": "hot",
|
|
198
|
+
"fidelity": "semantic",
|
|
199
|
+
"justification": "Ruled hot (F-729): MCP:get_reactions (vendor first-party tool); TC:post-and-read verify step."
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"name": "users.list",
|
|
203
|
+
"heat": "hot",
|
|
204
|
+
"fidelity": "semantic",
|
|
205
|
+
"justification": "Ruled hot (F-729): TC:discovery; MCP: vendor user-search tool."
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"name": "users.info",
|
|
209
|
+
"heat": "hot",
|
|
210
|
+
"fidelity": "semantic",
|
|
211
|
+
"justification": "Ruled hot (F-729): TC:discovery; MCP: vendor profile-read tool."
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "users.lookupByEmail",
|
|
215
|
+
"heat": "hot",
|
|
216
|
+
"fidelity": "semantic",
|
|
217
|
+
"justification": "Ruled hot (F-729): TC:discovery — email is the id agents usually start from."
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"name": "users.profile.get",
|
|
221
|
+
"heat": "hot",
|
|
222
|
+
"fidelity": "semantic",
|
|
223
|
+
"justification": "Ruled hot (F-729): TC:discovery; MCP:read_user_profile (vendor first-party tool)."
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"name": "users.profile.set",
|
|
227
|
+
"heat": "warm",
|
|
228
|
+
"fidelity": "semantic",
|
|
229
|
+
"justification": "Ruled warm (F-729): TC:set-own-status is plausible but no vendor MCP write exists. Fidelity semantic > shape target → tier-mismatch ledger (M5 additive-only)."
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"name": "pins.add",
|
|
233
|
+
"heat": "warm",
|
|
234
|
+
"fidelity": "semantic",
|
|
235
|
+
"justification": "Ruled warm (F-729): TC: occasional chain; MCP: conspicuously absent from the vendor's first-party server. Fidelity semantic > shape target → tier-mismatch ledger (M5 additive-only)."
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"name": "pins.remove",
|
|
239
|
+
"heat": "warm",
|
|
240
|
+
"fidelity": "semantic",
|
|
241
|
+
"justification": "Ruled warm (F-729): TC: occasional chain; MCP: absent from the vendor's first-party server. Fidelity semantic > shape target → tier-mismatch ledger (M5 additive-only)."
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"name": "pins.list",
|
|
245
|
+
"heat": "warm",
|
|
246
|
+
"fidelity": "semantic",
|
|
247
|
+
"justification": "Ruled warm (F-729): TC: occasional chain; MCP: absent from the vendor's first-party server. Fidelity semantic > shape target → tier-mismatch ledger (M5 additive-only)."
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"name": "search.messages",
|
|
251
|
+
"heat": "hot",
|
|
252
|
+
"fidelity": "semantic",
|
|
253
|
+
"justification": "Ruled hot (F-729): TC:discovery; MCP: vendor search suite (5 search tools)."
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"name": "files.upload",
|
|
257
|
+
"heat": "warm",
|
|
258
|
+
"fidelity": "shape",
|
|
259
|
+
"justification": "Ruled warm (F-729, SL5): metadata-only legacy v1 upload (divergence #7), no binary storage — fidelity shape, at target; MCP: vendor ships only the read side (read_file)."
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"name": "files.info",
|
|
263
|
+
"heat": "warm",
|
|
264
|
+
"fidelity": "shape",
|
|
265
|
+
"justification": "Ruled warm (F-729, SL5): metadata-only, no binary storage — fidelity shape, at target; MCP:read_file (vendor first-party tool)."
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"name": "files.list",
|
|
269
|
+
"heat": "warm",
|
|
270
|
+
"fidelity": "shape",
|
|
271
|
+
"justification": "Ruled warm (F-729, SL5): TC: occasional file-context read; metadata-only, no binary storage — fidelity shape, at target."
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"name": "files.delete",
|
|
275
|
+
"heat": "warm",
|
|
276
|
+
"fidelity": "shape",
|
|
277
|
+
"justification": "Ruled warm (F-729, SL5): TC: rare cleanup step on the file chain; metadata-only, no binary storage — fidelity shape, at target."
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"name": "bookmarks.add",
|
|
281
|
+
"heat": "warm",
|
|
282
|
+
"fidelity": "semantic",
|
|
283
|
+
"justification": "Ruled warm (F-729): TC: occasional chain; MCP: absent from the vendor's first-party server. Fidelity semantic > shape target → tier-mismatch ledger (M5 additive-only)."
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"name": "bookmarks.remove",
|
|
287
|
+
"heat": "warm",
|
|
288
|
+
"fidelity": "semantic",
|
|
289
|
+
"justification": "Ruled warm (F-729): TC: occasional chain; MCP: absent from the vendor's first-party server. Fidelity semantic > shape target → tier-mismatch ledger (M5 additive-only)."
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"name": "bookmarks.list",
|
|
293
|
+
"heat": "warm",
|
|
294
|
+
"fidelity": "semantic",
|
|
295
|
+
"justification": "Ruled warm (F-729): TC: occasional chain; MCP: absent from the vendor's first-party server. Fidelity semantic > shape target → tier-mismatch ledger (M5 additive-only)."
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"name": "team.info",
|
|
299
|
+
"heat": "warm",
|
|
300
|
+
"fidelity": "semantic",
|
|
301
|
+
"justification": "Ruled warm (F-729): TC: context read adjacent to hot chains; no vendor MCP tool. Fidelity semantic > shape target → tier-mismatch ledger (M5 additive-only)."
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"name": "canvases.create",
|
|
305
|
+
"heat": "warm",
|
|
306
|
+
"fidelity": "unsupported",
|
|
307
|
+
"justification": "Ruled warm (F-729, SL3): MCP: vendor first-party server ships 3 canvas tools; growing agent chain. Gap (unsupported < shape target) deferred — F-736 fills hot gaps only; strongest post-M5 promotion candidate."
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"name": "canvases.edit",
|
|
311
|
+
"heat": "warm",
|
|
312
|
+
"fidelity": "unsupported",
|
|
313
|
+
"justification": "Ruled warm (F-729, SL3): MCP: vendor first-party server ships 3 canvas tools. Gap (unsupported < shape target) deferred — F-736 fills hot gaps only; strongest post-M5 promotion candidate."
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"name": "canvases.delete",
|
|
317
|
+
"heat": "warm",
|
|
318
|
+
"fidelity": "unsupported",
|
|
319
|
+
"justification": "Ruled warm (F-729, SL3): MCP: vendor canvas toolset implies lifecycle cleanup. Gap (unsupported < shape target) deferred — F-736 fills hot gaps only."
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"name": "conversations.setTopic",
|
|
323
|
+
"heat": "warm",
|
|
324
|
+
"fidelity": "unsupported",
|
|
325
|
+
"justification": "Ruled warm (F-729, SL4): TC:set-channel-topic — a classic agent task; no vendor MCP tool. Gap (unsupported < shape target) deferred post-M5."
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"name": "conversations.setPurpose",
|
|
329
|
+
"heat": "warm",
|
|
330
|
+
"fidelity": "unsupported",
|
|
331
|
+
"justification": "Ruled warm (F-729, SL4): TC:set-channel-topic sibling; no vendor MCP tool. Gap (unsupported < shape target) deferred post-M5."
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"name": "emoji.list",
|
|
335
|
+
"heat": "warm",
|
|
336
|
+
"fidelity": "unsupported",
|
|
337
|
+
"justification": "Ruled warm (F-729, SL4): MCP:search_emojis (vendor first-party tool); trivial read. Gap (unsupported < shape target) deferred post-M5."
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"name": "chat.postEphemeral",
|
|
341
|
+
"heat": "cold",
|
|
342
|
+
"fidelity": "unsupported",
|
|
343
|
+
"justification": "Ruled cold (F-729): PS — the twin has no per-viewer visibility model. Loud 501 envelope test-backed (app.test.ts)."
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"name": "files.getUploadURLExternal",
|
|
347
|
+
"heat": "cold",
|
|
348
|
+
"fidelity": "unsupported",
|
|
349
|
+
"justification": "Ruled cold (F-729): PS — the twin serves the legacy v1 upload (divergence #7); promotion candidate when v1 sunsets. Loud 501 envelope test-backed (app.test.ts)."
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"name": "files.completeUploadExternal",
|
|
353
|
+
"heat": "cold",
|
|
354
|
+
"fidelity": "unsupported",
|
|
355
|
+
"justification": "Ruled cold (F-729): PS — second half of the modern upload flow the twin does not model (divergence #7). Loud 501 envelope test-backed (app.test.ts)."
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"name": "admin.*",
|
|
359
|
+
"heat": "cold",
|
|
360
|
+
"fidelity": "unsupported",
|
|
361
|
+
"justification": "Ruled cold (F-729): PS — no admin scopes modeled (divergence #6); vendor first-party server ships no admin tools. Representative loud-501 probes test-backed (app.test.ts, fidelity-parity)."
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"name": "usergroups.*",
|
|
365
|
+
"heat": "cold",
|
|
366
|
+
"fidelity": "unsupported",
|
|
367
|
+
"justification": "Ruled cold (F-729): PS — outside the single-workspace twin scope; vendor first-party server ships no usergroup tools. Representative loud-501 probe test-backed (app.test.ts)."
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"name": "views.*",
|
|
371
|
+
"heat": "cold",
|
|
372
|
+
"fidelity": "unsupported",
|
|
373
|
+
"justification": "Ruled cold (F-729): PS — client-UI modal surface, not on an autonomous agent chain. Representative loud-501 probe test-backed (app.test.ts)."
|
|
374
|
+
}
|
|
375
|
+
],
|
|
376
|
+
"doc_drift": []
|
|
377
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pome-sh/twin-slack",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Deterministic Slack Web API twin for agent testing — REST + MCP, SQLite-backed state.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -26,15 +26,16 @@
|
|
|
26
26
|
"files": [
|
|
27
27
|
"dist",
|
|
28
28
|
"FIDELITY.md",
|
|
29
|
-
"README.md"
|
|
29
|
+
"README.md",
|
|
30
|
+
"fidelity.inventory.json"
|
|
30
31
|
],
|
|
31
32
|
"publishConfig": {
|
|
32
33
|
"access": "public"
|
|
33
34
|
},
|
|
34
35
|
"dependencies": {
|
|
35
36
|
"@hono/node-server": "^2.0.8",
|
|
36
|
-
"@pome-sh/sdk": "0.
|
|
37
|
-
"@pome-sh/shared-types": "0.
|
|
37
|
+
"@pome-sh/sdk": "0.4.0",
|
|
38
|
+
"@pome-sh/shared-types": "0.9.0",
|
|
38
39
|
"hono": "^4.12.27",
|
|
39
40
|
"zod": "^4.1.13"
|
|
40
41
|
},
|