@noodleseed/one 0.67.0 → 0.69.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/dist/agents.d.ts +10 -4
- package/dist/agents.d.ts.map +1 -1
- package/dist/agents.js +82 -26
- package/dist/agents.js.map +1 -1
- package/dist/cli.js +3 -3
- package/dist/cli.js.map +1 -1
- package/dist/commands/analytics-ops.d.ts +3 -1
- package/dist/commands/analytics-ops.d.ts.map +1 -1
- package/dist/commands/analytics-ops.js +31 -5
- package/dist/commands/analytics-ops.js.map +1 -1
- package/dist/commands/catalog-data-resources.d.ts.map +1 -1
- package/dist/commands/catalog-data-resources.js +10 -0
- package/dist/commands/catalog-data-resources.js.map +1 -1
- package/dist/commands/catalog.d.ts.map +1 -1
- package/dist/commands/catalog.js +1 -0
- package/dist/commands/catalog.js.map +1 -1
- package/dist/commands/envs-ops.d.ts +1 -0
- package/dist/commands/envs-ops.d.ts.map +1 -1
- package/dist/commands/envs-ops.js +49 -1
- package/dist/commands/envs-ops.js.map +1 -1
- package/dist/commands/project-setup.d.ts +3 -2
- package/dist/commands/project-setup.d.ts.map +1 -1
- package/dist/commands/project-setup.js +5 -5
- package/dist/commands/project-setup.js.map +1 -1
- package/dist/commands/resource-shared.d.ts +11 -0
- package/dist/commands/resource-shared.d.ts.map +1 -1
- package/dist/commands/resource-shared.js.map +1 -1
- package/dist/deploy.js +1 -1
- package/dist/deploy.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/skills-update.d.ts +7 -0
- package/dist/skills-update.d.ts.map +1 -1
- package/dist/skills-update.js +9 -3
- package/dist/skills-update.js.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/curated/error-fixes.d.ts.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/curated/error-fixes.js +4 -0
- package/node_modules/@noodle-borg/agent-kit/dist/curated/error-fixes.js.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/generated/example-files.d.ts.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/generated/example-files.js +9 -2
- package/node_modules/@noodle-borg/agent-kit/dist/generated/example-files.js.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/generated/surface.d.ts.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/generated/surface.js +10 -0
- package/node_modules/@noodle-borg/agent-kit/dist/generated/surface.js.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/index.d.ts.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/index.js +8 -13
- package/node_modules/@noodle-borg/agent-kit/dist/index.js.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/plugin-bundle.d.ts.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/plugin-bundle.js +4 -3
- package/node_modules/@noodle-borg/agent-kit/dist/plugin-bundle.js.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/skill-app-playbook-ref.d.ts +2 -0
- package/node_modules/@noodle-borg/agent-kit/dist/skill-app-playbook-ref.d.ts.map +1 -0
- package/node_modules/@noodle-borg/agent-kit/dist/skill-app-playbook-ref.js +59 -0
- package/node_modules/@noodle-borg/agent-kit/dist/skill-app-playbook-ref.js.map +1 -0
- package/node_modules/@noodle-borg/agent-kit/dist/skill-authoring-refs.d.ts.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/skill-authoring-refs.js +7 -1
- package/node_modules/@noodle-borg/agent-kit/dist/skill-authoring-refs.js.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/skill-connect-refs.d.ts.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/skill-connect-refs.js +60 -20
- package/node_modules/@noodle-borg/agent-kit/dist/skill-connect-refs.js.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/skill-content.d.ts +1 -8
- package/node_modules/@noodle-borg/agent-kit/dist/skill-content.d.ts.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/skill-content.js +14 -85
- package/node_modules/@noodle-borg/agent-kit/dist/skill-content.js.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/skill-design-refs.d.ts.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/skill-design-refs.js +2 -1
- package/node_modules/@noodle-borg/agent-kit/dist/skill-design-refs.js.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/skill-embedded-assistant-ref.js +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/skill-embedded-assistant-ref.js.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/skill-operations-refs.d.ts +2 -1
- package/node_modules/@noodle-borg/agent-kit/dist/skill-operations-refs.d.ts.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/skill-operations-refs.js +114 -150
- package/node_modules/@noodle-borg/agent-kit/dist/skill-operations-refs.js.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/skill-router.d.ts +17 -0
- package/node_modules/@noodle-borg/agent-kit/dist/skill-router.d.ts.map +1 -0
- package/node_modules/@noodle-borg/agent-kit/dist/skill-router.js +160 -0
- package/node_modules/@noodle-borg/agent-kit/dist/skill-router.js.map +1 -0
- package/node_modules/@noodle-borg/agent-kit/dist/skill-server-playbook-ref.d.ts +2 -0
- package/node_modules/@noodle-borg/agent-kit/dist/skill-server-playbook-ref.d.ts.map +1 -0
- package/node_modules/@noodle-borg/agent-kit/dist/skill-server-playbook-ref.js +61 -0
- package/node_modules/@noodle-borg/agent-kit/dist/skill-server-playbook-ref.js.map +1 -0
- package/node_modules/@noodle-borg/agent-kit/dist/skill-verification-ref.d.ts +2 -0
- package/node_modules/@noodle-borg/agent-kit/dist/skill-verification-ref.d.ts.map +1 -0
- package/node_modules/@noodle-borg/agent-kit/dist/skill-verification-ref.js +72 -0
- package/node_modules/@noodle-borg/agent-kit/dist/skill-verification-ref.js.map +1 -0
- package/node_modules/@noodle-borg/agent-kit/package.json +1 -1
- package/node_modules/@noodle-borg/authoring/dist/connection-types.d.ts +52 -0
- package/node_modules/@noodle-borg/authoring/dist/connection-types.d.ts.map +1 -0
- package/node_modules/@noodle-borg/authoring/dist/connection-types.js +35 -0
- package/node_modules/@noodle-borg/authoring/dist/connection-types.js.map +1 -0
- package/node_modules/@noodle-borg/authoring/dist/connections.d.ts +26 -0
- package/node_modules/@noodle-borg/authoring/dist/connections.d.ts.map +1 -0
- package/node_modules/@noodle-borg/authoring/dist/connections.js +63 -0
- package/node_modules/@noodle-borg/authoring/dist/connections.js.map +1 -0
- package/node_modules/@noodle-borg/authoring/dist/connectors.d.ts +18 -7
- package/node_modules/@noodle-borg/authoring/dist/connectors.d.ts.map +1 -1
- package/node_modules/@noodle-borg/authoring/dist/connectors.js +26 -4
- package/node_modules/@noodle-borg/authoring/dist/connectors.js.map +1 -1
- package/node_modules/@noodle-borg/authoring/dist/gmail.d.ts +7 -0
- package/node_modules/@noodle-borg/authoring/dist/gmail.d.ts.map +1 -0
- package/node_modules/@noodle-borg/authoring/dist/gmail.js +257 -0
- package/node_modules/@noodle-borg/authoring/dist/gmail.js.map +1 -0
- package/node_modules/@noodle-borg/authoring/dist/index.d.ts +2 -0
- package/node_modules/@noodle-borg/authoring/dist/index.d.ts.map +1 -1
- package/node_modules/@noodle-borg/authoring/dist/index.js +2 -0
- package/node_modules/@noodle-borg/authoring/dist/index.js.map +1 -1
- package/node_modules/@noodle-borg/authoring/dist/platform.d.ts +1 -1
- package/node_modules/@noodle-borg/authoring/dist/react/components.d.ts +2 -2
- package/node_modules/@noodle-borg/authoring/dist/react/native-components.d.ts +2 -2
- package/node_modules/@noodle-borg/authoring/dist/recording.d.ts +2 -0
- package/node_modules/@noodle-borg/authoring/dist/recording.d.ts.map +1 -1
- package/node_modules/@noodle-borg/authoring/dist/recording.js +6 -0
- package/node_modules/@noodle-borg/authoring/dist/recording.js.map +1 -1
- package/node_modules/@noodle-borg/authoring/dist/server.d.ts.map +1 -1
- package/node_modules/@noodle-borg/authoring/dist/server.js +4 -1
- package/node_modules/@noodle-borg/authoring/dist/server.js.map +1 -1
- package/node_modules/@noodle-borg/authoring/package.json +1 -1
- package/node_modules/@noodle-borg/compiler/dist/artifact/types.d.ts +43 -1
- package/node_modules/@noodle-borg/compiler/dist/artifact/types.d.ts.map +1 -1
- package/node_modules/@noodle-borg/compiler/dist/artifact/types.js +4 -1
- package/node_modules/@noodle-borg/compiler/dist/artifact/types.js.map +1 -1
- package/node_modules/@noodle-borg/compiler/dist/catalog/types.d.ts +15 -0
- package/node_modules/@noodle-borg/compiler/dist/catalog/types.d.ts.map +1 -1
- package/node_modules/@noodle-borg/compiler/dist/compile.d.ts.map +1 -1
- package/node_modules/@noodle-borg/compiler/dist/compile.js +3 -1
- package/node_modules/@noodle-borg/compiler/dist/compile.js.map +1 -1
- package/node_modules/@noodle-borg/compiler/dist/confirmation-flow.d.ts +3 -3
- package/node_modules/@noodle-borg/compiler/dist/confirmation-flow.d.ts.map +1 -1
- package/node_modules/@noodle-borg/compiler/dist/confirmation-flow.js +16 -17
- package/node_modules/@noodle-borg/compiler/dist/confirmation-flow.js.map +1 -1
- package/node_modules/@noodle-borg/compiler/dist/context-compile.d.ts +2 -4
- package/node_modules/@noodle-borg/compiler/dist/context-compile.d.ts.map +1 -1
- package/node_modules/@noodle-borg/compiler/dist/context-compile.js.map +1 -1
- package/node_modules/@noodle-borg/compiler/dist/errors.d.ts +1 -1
- package/node_modules/@noodle-borg/compiler/dist/errors.d.ts.map +1 -1
- package/node_modules/@noodle-borg/compiler/dist/fulfilment-emit.d.ts +17 -5
- package/node_modules/@noodle-borg/compiler/dist/fulfilment-emit.d.ts.map +1 -1
- package/node_modules/@noodle-borg/compiler/dist/fulfilment-emit.js +89 -0
- package/node_modules/@noodle-borg/compiler/dist/fulfilment-emit.js.map +1 -1
- package/node_modules/@noodle-borg/compiler/dist/index.d.ts +3 -2
- package/node_modules/@noodle-borg/compiler/dist/index.d.ts.map +1 -1
- package/node_modules/@noodle-borg/compiler/dist/index.js +1 -0
- package/node_modules/@noodle-borg/compiler/dist/index.js.map +1 -1
- package/node_modules/@noodle-borg/compiler/dist/manifest/schema.d.ts +66 -16
- package/node_modules/@noodle-borg/compiler/dist/manifest/schema.d.ts.map +1 -1
- package/node_modules/@noodle-borg/compiler/dist/manifest/schema.js +47 -4
- package/node_modules/@noodle-borg/compiler/dist/manifest/schema.js.map +1 -1
- package/node_modules/@noodle-borg/connector-defs/dist/compile.d.ts.map +1 -1
- package/node_modules/@noodle-borg/connector-defs/dist/compile.js +3 -0
- package/node_modules/@noodle-borg/connector-defs/dist/compile.js.map +1 -1
- package/node_modules/@noodle-borg/connector-defs/dist/credential-profiles.d.ts +6 -0
- package/node_modules/@noodle-borg/connector-defs/dist/credential-profiles.d.ts.map +1 -0
- package/node_modules/@noodle-borg/connector-defs/dist/credential-profiles.js +25 -0
- package/node_modules/@noodle-borg/connector-defs/dist/credential-profiles.js.map +1 -0
- package/node_modules/@noodle-borg/connector-defs/dist/index.d.ts +1 -1
- package/node_modules/@noodle-borg/connector-defs/dist/index.d.ts.map +1 -1
- package/node_modules/@noodle-borg/connector-defs/dist/index.js.map +1 -1
- package/node_modules/@noodle-borg/connector-defs/dist/schema.d.ts +89 -0
- package/node_modules/@noodle-borg/connector-defs/dist/schema.d.ts.map +1 -1
- package/node_modules/@noodle-borg/connector-defs/dist/schema.js +42 -1
- package/node_modules/@noodle-borg/connector-defs/dist/schema.js.map +1 -1
- package/node_modules/@noodle-borg/connector-http/dist/http-connector.d.ts.map +1 -1
- package/node_modules/@noodle-borg/connector-http/dist/http-connector.js +5 -4
- package/node_modules/@noodle-borg/connector-http/dist/http-connector.js.map +1 -1
- package/node_modules/@noodle-borg/external-credential-provider/README.md +18 -0
- package/node_modules/@noodle-borg/external-credential-provider/dist/assertion.d.ts +36 -0
- package/node_modules/@noodle-borg/external-credential-provider/dist/assertion.d.ts.map +1 -0
- package/node_modules/@noodle-borg/external-credential-provider/dist/assertion.js +72 -0
- package/node_modules/@noodle-borg/external-credential-provider/dist/assertion.js.map +1 -0
- package/node_modules/@noodle-borg/external-credential-provider/dist/contract.d.ts +82 -0
- package/node_modules/@noodle-borg/external-credential-provider/dist/contract.d.ts.map +1 -0
- package/node_modules/@noodle-borg/external-credential-provider/dist/contract.js +126 -0
- package/node_modules/@noodle-borg/external-credential-provider/dist/contract.js.map +1 -0
- package/node_modules/@noodle-borg/external-credential-provider/dist/index.d.ts +4 -0
- package/node_modules/@noodle-borg/external-credential-provider/dist/index.d.ts.map +1 -0
- package/node_modules/@noodle-borg/external-credential-provider/dist/index.js +4 -0
- package/node_modules/@noodle-borg/external-credential-provider/dist/index.js.map +1 -0
- package/node_modules/@noodle-borg/external-credential-provider/dist/provider.d.ts +15 -0
- package/node_modules/@noodle-borg/external-credential-provider/dist/provider.d.ts.map +1 -0
- package/node_modules/@noodle-borg/external-credential-provider/dist/provider.js +24 -0
- package/node_modules/@noodle-borg/external-credential-provider/dist/provider.js.map +1 -0
- package/node_modules/@noodle-borg/external-credential-provider/package.json +33 -0
- package/node_modules/@noodle-borg/module/dist/contract.d.ts +14 -0
- package/node_modules/@noodle-borg/module/dist/contract.d.ts.map +1 -1
- package/node_modules/@noodle-borg/module/dist/contract.js.map +1 -1
- package/node_modules/@noodle-borg/protocol/dist/tool-interaction.d.ts.map +1 -1
- package/node_modules/@noodle-borg/protocol/dist/tool-interaction.js +1 -8
- package/node_modules/@noodle-borg/protocol/dist/tool-interaction.js.map +1 -1
- package/node_modules/@noodle-borg/runtime/dist/broker/map.d.ts +8 -4
- package/node_modules/@noodle-borg/runtime/dist/broker/map.d.ts.map +1 -1
- package/node_modules/@noodle-borg/runtime/dist/broker/map.js +35 -5
- package/node_modules/@noodle-borg/runtime/dist/broker/map.js.map +1 -1
- package/node_modules/@noodle-borg/runtime/dist/broker/types.d.ts +34 -1
- package/node_modules/@noodle-borg/runtime/dist/broker/types.d.ts.map +1 -1
- package/node_modules/@noodle-borg/runtime/dist/broker/types.js +38 -0
- package/node_modules/@noodle-borg/runtime/dist/broker/types.js.map +1 -1
- package/node_modules/@noodle-borg/runtime/dist/confirmation-analysis.d.ts +28 -0
- package/node_modules/@noodle-borg/runtime/dist/confirmation-analysis.d.ts.map +1 -0
- package/node_modules/@noodle-borg/runtime/dist/confirmation-analysis.js +143 -0
- package/node_modules/@noodle-borg/runtime/dist/confirmation-analysis.js.map +1 -0
- package/node_modules/@noodle-borg/runtime/dist/confirmation-continuation.d.ts +6 -0
- package/node_modules/@noodle-borg/runtime/dist/confirmation-continuation.d.ts.map +1 -0
- package/node_modules/@noodle-borg/runtime/dist/confirmation-continuation.js +56 -0
- package/node_modules/@noodle-borg/runtime/dist/confirmation-continuation.js.map +1 -0
- package/node_modules/@noodle-borg/runtime/dist/confirmation.d.ts.map +1 -1
- package/node_modules/@noodle-borg/runtime/dist/confirmation.js +71 -74
- package/node_modules/@noodle-borg/runtime/dist/confirmation.js.map +1 -1
- package/node_modules/@noodle-borg/runtime/dist/connector/types.d.ts +3 -1
- package/node_modules/@noodle-borg/runtime/dist/connector/types.d.ts.map +1 -1
- package/node_modules/@noodle-borg/runtime/dist/connector/types.js.map +1 -1
- package/node_modules/@noodle-borg/runtime/dist/connector-snapshot.d.ts +8 -0
- package/node_modules/@noodle-borg/runtime/dist/connector-snapshot.d.ts.map +1 -0
- package/node_modules/@noodle-borg/runtime/dist/connector-snapshot.js +89 -0
- package/node_modules/@noodle-borg/runtime/dist/connector-snapshot.js.map +1 -0
- package/node_modules/@noodle-borg/runtime/dist/execute.d.ts +2 -0
- package/node_modules/@noodle-borg/runtime/dist/execute.d.ts.map +1 -1
- package/node_modules/@noodle-borg/runtime/dist/execute.js +24 -0
- package/node_modules/@noodle-borg/runtime/dist/execute.js.map +1 -1
- package/node_modules/@noodle-borg/runtime/dist/index.d.ts +1 -1
- package/node_modules/@noodle-borg/runtime/dist/index.d.ts.map +1 -1
- package/node_modules/@noodle-borg/runtime/dist/index.js +1 -1
- package/node_modules/@noodle-borg/runtime/dist/index.js.map +1 -1
- package/node_modules/@noodle-borg/runtime/dist/result.d.ts +8 -0
- package/node_modules/@noodle-borg/runtime/dist/result.d.ts.map +1 -1
- package/node_modules/@noodle-borg/runtime/dist/result.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/credential-binding-index.d.ts +15 -0
- package/node_modules/@noodle-borg/service/dist/credential-binding-index.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/credential-binding-index.js +66 -0
- package/node_modules/@noodle-borg/service/dist/credential-binding-index.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/credential-broker-options.d.ts +13 -0
- package/node_modules/@noodle-borg/service/dist/credential-broker-options.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/credential-broker-options.js +26 -0
- package/node_modules/@noodle-borg/service/dist/credential-broker-options.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/credential-broker.d.ts +5 -0
- package/node_modules/@noodle-borg/service/dist/credential-broker.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/credential-broker.js +43 -45
- package/node_modules/@noodle-borg/service/dist/credential-broker.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/credential-probes.d.ts +13 -0
- package/node_modules/@noodle-borg/service/dist/credential-probes.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/credential-probes.js +88 -0
- package/node_modules/@noodle-borg/service/dist/credential-probes.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/external-credential-binding-broker.d.ts +12 -0
- package/node_modules/@noodle-borg/service/dist/external-credential-binding-broker.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/external-credential-binding-broker.js +111 -0
- package/node_modules/@noodle-borg/service/dist/external-credential-binding-broker.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/external-credential-exchange.d.ts +82 -0
- package/node_modules/@noodle-borg/service/dist/external-credential-exchange.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/external-credential-exchange.js +184 -0
- package/node_modules/@noodle-borg/service/dist/external-credential-exchange.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/index.d.ts +1 -0
- package/node_modules/@noodle-borg/service/dist/index.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/index.js +1 -0
- package/node_modules/@noodle-borg/service/dist/index.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/registry-state.d.ts +3 -1
- package/node_modules/@noodle-borg/service/dist/registry-state.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/registry-state.js +27 -2
- package/node_modules/@noodle-borg/service/dist/registry-state.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/registry-types.d.ts +7 -0
- package/node_modules/@noodle-borg/service/dist/registry-types.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/registry.d.ts +2 -1
- package/node_modules/@noodle-borg/service/dist/registry.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/registry.js +23 -27
- package/node_modules/@noodle-borg/service/dist/registry.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/routes/contracts.d.ts +16 -0
- package/node_modules/@noodle-borg/service/dist/routes/contracts.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/routes/contracts.js +16 -0
- package/node_modules/@noodle-borg/service/dist/routes/contracts.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/routes/environment-mutation-dispatch.d.ts +19 -0
- package/node_modules/@noodle-borg/service/dist/routes/environment-mutation-dispatch.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/routes/environment-mutation-dispatch.js +16 -0
- package/node_modules/@noodle-borg/service/dist/routes/environment-mutation-dispatch.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/routes/environment-production.d.ts +8 -0
- package/node_modules/@noodle-borg/service/dist/routes/environment-production.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/routes/environment-production.js +46 -0
- package/node_modules/@noodle-borg/service/dist/routes/environment-production.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/routes/paths.d.ts +1 -0
- package/node_modules/@noodle-borg/service/dist/routes/paths.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/routes/paths.js +3 -0
- package/node_modules/@noodle-borg/service/dist/routes/paths.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/serve-options.d.ts +8 -0
- package/node_modules/@noodle-borg/service/dist/serve-options.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/serve.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/serve.js +3 -0
- package/node_modules/@noodle-borg/service/dist/serve.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/service.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/service.js +13 -0
- package/node_modules/@noodle-borg/service/dist/service.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/store/environment-production.d.ts +9 -0
- package/node_modules/@noodle-borg/service/dist/store/environment-production.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/store/environment-production.js +2 -0
- package/node_modules/@noodle-borg/service/dist/store/environment-production.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/store/in-memory.d.ts +2 -1
- package/node_modules/@noodle-borg/service/dist/store/in-memory.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/store/in-memory.js +31 -2
- package/node_modules/@noodle-borg/service/dist/store/in-memory.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/store/json-file.d.ts +2 -1
- package/node_modules/@noodle-borg/service/dist/store/json-file.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/store/json-file.js +64 -2
- package/node_modules/@noodle-borg/service/dist/store/json-file.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/store/postgres-envs.d.ts +2 -1
- package/node_modules/@noodle-borg/service/dist/store/postgres-envs.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/store/postgres-envs.js +53 -7
- package/node_modules/@noodle-borg/service/dist/store/postgres-envs.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/store/postgres-schema.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/store/postgres-schema.js +48 -0
- package/node_modules/@noodle-borg/service/dist/store/postgres-schema.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/store/postgres.d.ts +2 -1
- package/node_modules/@noodle-borg/service/dist/store/postgres.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/store/postgres.js +8 -2
- package/node_modules/@noodle-borg/service/dist/store/postgres.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/store/records.d.ts +5 -2
- package/node_modules/@noodle-borg/service/dist/store/records.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/store/records.js +18 -4
- package/node_modules/@noodle-borg/service/dist/store/records.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/store.d.ts +8 -2
- package/node_modules/@noodle-borg/service/dist/store.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/store.js.map +1 -1
- package/node_modules/@noodle-borg/service/package.json +1 -0
- package/package.json +2 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAMA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AAEvC,eAAO,MAAM,iBAAiB,EAAE,MAAoB,CAAC;AACrD,eAAO,MAAM,aAAa,wCAAwC,CAAC;AACnE,eAAO,MAAM,WAAW,sCAAsC,CAAC;AAE/D,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,aAAa,CAAC;AAClD,MAAM,MAAM,oBAAoB,GAAG,WAAW,GAAG,KAAK,GAAG,MAAM,CAAC;AAEhE,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ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
|
3
3
|
import { BUNDLED_EXAMPLE_FILES } from './generated/example-files.js';
|
|
4
|
-
import {
|
|
4
|
+
import { SKILL_REFERENCES } from './skill-content.js';
|
|
5
|
+
import { SKILL_DESCRIPTION, skillRouterBody } from './skill-router.js';
|
|
5
6
|
export * from './plugin-compatibility.js';
|
|
6
7
|
export * from './plugin-launcher.js';
|
|
7
8
|
export * from './plugin-submission.js';
|
|
@@ -75,34 +76,28 @@ export function renderManagedBlock(input) {
|
|
|
75
76
|
'',
|
|
76
77
|
`Agent target: ${input.target === 'codex' ? 'Codex' : 'Claude Code'}.`,
|
|
77
78
|
'',
|
|
78
|
-
'Build this project as a Noodle Seed MCP server or app authored in TypeScript.
|
|
79
|
+
'Build this project as a Noodle Seed MCP server or app authored in TypeScript. The cold-agent-path commands speak `--json`; hosted administration and operations are still being normalized. Drive the loop below by parsing machine state where the selected command supports it — not by reading source or scraping human prose.',
|
|
79
80
|
'',
|
|
80
81
|
'## Agent-native loop',
|
|
81
82
|
'',
|
|
82
|
-
|
|
83
|
+
"- **Applicability**: when the request is unrelated to the Noodle MCP server or app, follow the project's normal instructions and run no Noodle lifecycle commands.",
|
|
84
|
+
'- **Route first**: read the `noodle-seed` skill `SKILL.md`, choose exactly one primary route for the requested outcome, and read that primary reference. Read supporting references only when the route or observed evidence requires them.',
|
|
83
85
|
"- Discover: `noodle commands --json` — every command, flag, and exit code (don't read source).",
|
|
84
|
-
'-
|
|
85
|
-
'- Author: edit `src/server.ts` — follow the capability recipe in the `noodle-seed` skill.',
|
|
86
|
+
'- Author, when the selected route requires it: edit the configured TypeScript entrypoint — follow that route and its capability references.',
|
|
86
87
|
'- Validate: `noodle validate --json` → on failure `{ok:false,error:{code,message,fix,next,errors:[{code,path,message}]}}`; per-field detail is in `error.errors[]`.',
|
|
87
88
|
'- Repair: fix each `error.errors[]` entry at its `path`, re-run validate; `noodle validate --fix-prompt` gives ready repair prose. Never freeform re-edit.',
|
|
88
89
|
'- Smoke: `noodle test --json`.',
|
|
89
|
-
'- Apps/widgets
|
|
90
|
-
'- Deploy: `noodle deploy` (auth fails clean → `error.next` = `noodle login`).',
|
|
91
|
-
'- Wire into a host: `noodle connect <codex|claude-code|chatgpt>`.',
|
|
92
|
-
'- Health: `noodle metrics --agent-output`.',
|
|
90
|
+
'- Continue only to the level the selected route requests: Apps/widgets use `noodle check --json` plus `noodle devtools`; hosted inspection stays read-only; hosted mutation runs only when the current user request explicitly authorizes the exact action and target.',
|
|
93
91
|
'- Stale skill? `noodle agents doctor --json` → `noodle agents setup --write`.',
|
|
94
92
|
'',
|
|
95
93
|
'The exact `--json`/exit-code contract is in the `noodle-seed` skill and its `references/agent-contract.md`. Human-oriented command prose lives in the project README, not here.',
|
|
96
94
|
'',
|
|
97
|
-
'## Widget design default',
|
|
98
|
-
'',
|
|
99
|
-
'Generated widgets, official examples, and agent-authored MCP Apps must start with `@noodleseed/one/react` primitives and semantic tokens. Custom React/CSS or third-party components remain valid when the kit lacks the required behavior or the developer explicitly requests them.',
|
|
100
|
-
'',
|
|
101
95
|
'## Safety',
|
|
102
96
|
'',
|
|
103
97
|
'- Keep secrets, bearer tokens, refresh tokens, static access keys, `.env.noodle` values, and `~/.noodle/config.json` out of prompts, logs, docs, tests, and generated files.',
|
|
104
98
|
'- Do not hand-author manifest JSON or YAML, runtime artifact JSON, connector IR, or hosted asset metadata.',
|
|
105
99
|
'- Do not add static data-plane credential paths; hosted access is identity-based.',
|
|
100
|
+
'- Never run `link`, hosted secret/variable/config/access changes, deploy, rollback, host configuration writes, or directory submission unless the current user request explicitly authorizes the exact mutation and target.',
|
|
106
101
|
'',
|
|
107
102
|
'## Project Defaults',
|
|
108
103
|
'',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,GAAG,MAAM,iBAAiB,CAAC,OAAO,IAAI,EAAE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,OAAO,GAAE,mBAAwB,GAAG,SAAS,gBAAgB,EAAE,CA2DjG;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CACvC,OAAO,GAAE,mBAAwB,GAChC,SAAS,gBAAgB,EAAE,CAoD7B;AA2DD,qGAAqG;AACrG,wBAAgB,qBAAqB,CACnC,OAAO,GAAE,mBAAwB,GAChC,SAAS,gBAAgB,EAAE,CA6B7B"}
|
|
@@ -55,17 +55,18 @@ function bootstrapRouterBody() {
|
|
|
55
55
|
'2. **Scaffold or reconcile.**',
|
|
56
56
|
' - New or empty directory: `<managed-launcher> init` — scaffolds `noodle.json`, `src/server.ts`, tests, and the project-local agent files (the full skill + managed context).',
|
|
57
57
|
' - Existing project: run `<managed-launcher> setup --write` and `<managed-launcher> agents setup --write` instead of overwriting unrelated files.',
|
|
58
|
-
'3. **Switch to the project skill.** Read the newly installed project-local `noodle-seed` `SKILL.md
|
|
58
|
+
'3. **Switch to the project skill.** Read the newly installed project-local `noodle-seed` `SKILL.md`, select its route for the user-requested outcome, and stop bootstrap discovery. This handoff is the bootstrap stop condition.',
|
|
59
59
|
'',
|
|
60
|
-
'##
|
|
60
|
+
'## Bootstrap boundary',
|
|
61
61
|
'',
|
|
62
|
-
|
|
62
|
+
'The bootstrap installs and hands off; it does not prescribe an end-to-end lifecycle. The project-local route owns authoring, validation, local testing, hosted inspection, and any separately authorized hosted action. Application source remains with the coding agent. Scaffold or setup permission does not authorize hosted mutation.',
|
|
63
63
|
'',
|
|
64
64
|
'## Safety',
|
|
65
65
|
'',
|
|
66
66
|
'- Keep secrets, bearer tokens, refresh tokens, static access keys, `.env.noodle` values, and `~/.noodle/config.json` out of prompts, logs, docs, tests, and generated files. Reference managed secrets as `secret("NAME")` in TypeScript and set them with `noodle secrets set`.',
|
|
67
67
|
'- Do not hand-author manifest JSON/YAML, runtime artifacts, connector IR, or hosted asset metadata — the SDK emits them.',
|
|
68
68
|
'- Do not add static data-plane credential paths; hosted access is identity-based.',
|
|
69
|
+
'- This bootstrap does not authorize hosted mutation. Never link, change hosted config/access, deploy, roll back, write host configuration, or submit to a directory unless the current user request explicitly asks for the exact action and target.',
|
|
69
70
|
].join('\n');
|
|
70
71
|
}
|
|
71
72
|
function stampBootstrapRouter(version) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-bundle.js","sourceRoot":"","sources":["../src/plugin-bundle.ts"],"names":[],"mappings":"AAAA,gGAAgG;AAChG,mGAAmG;AACnG,oGAAoG;AACpG,yGAAyG;AACzG,YAAY;AACZ,gGAAgG;AAChG,sGAAsG;AACtG,sGAAsG;AACtG,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC5D,OAAO,EACL,yBAAyB,EACzB,6BAA6B,GAC9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EACL,8BAA8B,EAC9B,6BAA6B,EAC7B,8BAA8B,EAC9B,yBAAyB,GAC1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,EACL,uBAAuB,EACvB,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,GACvB,MAAM,wBAAwB,CAAC;AAEhC,oGAAoG;AACpG,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAC;AACzC,oFAAoF;AACpF,MAAM,CAAC,MAAM,gBAAgB,GAAG,YAAY,CAAC;AAC7C,kGAAkG;AAClG,MAAM,CAAC,MAAM,kBAAkB,GAAG,uBAAuB,CAAC;AAE1D,MAAM,QAAQ,GAAG,wBAAwB,CAAC;AAC1C,MAAM,MAAM,GAAG,EAAE,IAAI,EAAE,aAAa,EAAE,GAAG,EAAE,QAAQ,EAAW,CAAC;AAC/D,MAAM,KAAK,GAAG,EAAE,IAAI,EAAE,aAAa,EAAW,CAAC;AAE/C,MAAM,kBAAkB,GACtB,+FAA+F;I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GA,wBAAgB,4BAA4B,IAAI,MAAM,CAuDrD"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
// Outcome-first MCP App playbook. It decides whether UI is warranted and defines the evidence
|
|
2
|
+
// ladder; component APIs and host-specific details stay in the existing references.
|
|
3
|
+
export function renderBuildAnMcpAppReference() {
|
|
4
|
+
return [
|
|
5
|
+
'# Outcome',
|
|
6
|
+
'',
|
|
7
|
+
'Deliver an MCP App whose visual interaction gives the user a concrete benefit beyond a good text response, while preserving useful model-visible output when the widget is unavailable.',
|
|
8
|
+
'',
|
|
9
|
+
'## Use when',
|
|
10
|
+
'',
|
|
11
|
+
'- The user asks for an MCP App, widget, interactive card, visual workflow, or host-visible UI.',
|
|
12
|
+
'- Comparison, selection, progress, editing, confirmation, or another visual interaction materially improves the conversational job.',
|
|
13
|
+
'',
|
|
14
|
+
'## Do not use when',
|
|
15
|
+
'',
|
|
16
|
+
'- A concise text or structured tool result fully serves the user. UI must earn its place.',
|
|
17
|
+
'- The requested task is a headless server, API connector, diagnosis, deployment, or publication with no UI change; select that route.',
|
|
18
|
+
'- The agent lacks the product inputs needed to explain who benefits, what action the UI enables, and what happens without it.',
|
|
19
|
+
'',
|
|
20
|
+
'## Required inputs',
|
|
21
|
+
'',
|
|
22
|
+
'Before implementation, capture a short design spec: target user, conversational job, explicit user benefit, information hierarchy, primary interaction, states (loading/empty/error/success), model-visible result, widget-only data, and useful text fallback. Use `references/experience-design.md` for the deeper product-design questions only when needed.',
|
|
23
|
+
'',
|
|
24
|
+
'## Workflow',
|
|
25
|
+
'',
|
|
26
|
+
'1. **Pass the UI fit check.** State why a visual interaction is better than text for this request. If there is no defensible user benefit, keep the capability headless and stop the App route.',
|
|
27
|
+
'2. **Agree on the design spec.** Describe the smallest complete experience and its states before writing the component. Avoid recreating a full dashboard or website inside the conversation.',
|
|
28
|
+
'3. **Define the output boundary.** Keep concise facts and action results model-visible. Put presentation-heavy or interactive widget data in the widget-only channel. The model must not depend on opaque UI state to continue the conversation.',
|
|
29
|
+
'4. **Preserve fallback.** Every tool that launches a widget must still return useful text without the widget, so unsupported hosts and failed rendering remain usable.',
|
|
30
|
+
'5. **Author and wire the App contract.** Follow `references/widgets-and-apps.md` for the canonical component guidance, view registration, hooks, state, CSP, tool visibility, and output shaping. Keep tool effects and confirmation semantics correct independently of the UI.',
|
|
31
|
+
'6. **Validate the local artifact.** Run `noodle validate --json`, `noodle test --json`, and `noodle check --json`. Repair failures at the layer that produced them.',
|
|
32
|
+
'7. **Inspect the experience.** Run `noodle devtools` and verify loading, empty, error, success, responsive layout, focus/keyboard behavior, and the text fallback.',
|
|
33
|
+
'8. **Escalate evidence only on request.** Run a host test only when the user requested host verification. Run host-specific compliance only when preparing that host submission; select the exact host-testing or compliance entry from the router lookup catalog only after that evidence level is explicitly requested.',
|
|
34
|
+
'',
|
|
35
|
+
'## Verification evidence',
|
|
36
|
+
'',
|
|
37
|
+
'- **Product:** the design spec states the user benefit and the UI fit decision.',
|
|
38
|
+
'- **Server:** `noodle validate --json` and `noodle test --json` succeeded.',
|
|
39
|
+
'- **App contract:** `noodle check --json` succeeded.',
|
|
40
|
+
'- **Local UX:** `noodle devtools` exercised the relevant states and the useful text fallback without the widget.',
|
|
41
|
+
'- **Host/compliance:** report each requested host or compliance check with its evidence; report every unperformed higher level as not run.',
|
|
42
|
+
'',
|
|
43
|
+
'## Recovery paths',
|
|
44
|
+
'',
|
|
45
|
+
'- Weak UI fit: remove the widget and ship the stronger headless result, or narrow the visual interaction to the one decision it improves.',
|
|
46
|
+
'- App check failure: repair the cited view, metadata, output, CSP, or accessibility issue and rerun `noodle check --json` before reopening devtools.',
|
|
47
|
+
'- Blank or stale widget: verify the tool returns the intended widget data, the view is registered, and state derives from supported hooks rather than hidden global state.',
|
|
48
|
+
'- Model cannot continue without UI: move the essential facts into model-visible output and keep only presentation data widget-only.',
|
|
49
|
+
'- Host-only mismatch: record local checks as passed, isolate the host symptom, and select the host-testing lookup only for that observed host; do not rewrite a working local contract without host evidence.',
|
|
50
|
+
'',
|
|
51
|
+
'## Stop conditions',
|
|
52
|
+
'',
|
|
53
|
+
'- Stop complete at the locally requested boundary when product fit, server tests, App checks, devtools states, and text fallback are evidenced.',
|
|
54
|
+
'- Stop before host connection, deployment, or submission unless the user requested that next evidence level.',
|
|
55
|
+
'- Stop blocked when the required design decision, external data, credentials, or host access is unavailable; name the missing input and the exact next action.',
|
|
56
|
+
'- Never claim host compatibility, directory compliance, or production behavior from local devtools evidence alone.',
|
|
57
|
+
].join('\n');
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=skill-app-playbook-ref.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill-app-playbook-ref.js","sourceRoot":"","sources":["../src/skill-app-playbook-ref.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,oFAAoF;AAEpF,MAAM,UAAU,4BAA4B;IAC1C,OAAO;QACL,WAAW;QACX,EAAE;QACF,yLAAyL;QACzL,EAAE;QACF,aAAa;QACb,EAAE;QACF,gGAAgG;QAChG,qIAAqI;QACrI,EAAE;QACF,oBAAoB;QACpB,EAAE;QACF,2FAA2F;QAC3F,uIAAuI;QACvI,+HAA+H;QAC/H,EAAE;QACF,oBAAoB;QACpB,EAAE;QACF,iWAAiW;QACjW,EAAE;QACF,aAAa;QACb,EAAE;QACF,iMAAiM;QACjM,+LAA+L;QAC/L,kPAAkP;QAClP,wKAAwK;QACxK,iRAAiR;QACjR,qKAAqK;QACrK,oKAAoK;QACpK,2TAA2T;QAC3T,EAAE;QACF,0BAA0B;QAC1B,EAAE;QACF,iFAAiF;QACjF,4EAA4E;QAC5E,sDAAsD;QACtD,kHAAkH;QAClH,4IAA4I;QAC5I,EAAE;QACF,mBAAmB;QACnB,EAAE;QACF,2IAA2I;QAC3I,sJAAsJ;QACtJ,4KAA4K;QAC5K,qIAAqI;QACrI,+MAA+M;QAC/M,EAAE;QACF,oBAAoB;QACpB,EAAE;QACF,iJAAiJ;QACjJ,8GAA8G;QAC9G,gKAAgK;QAChK,oHAAoH;KACrH,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill-authoring-refs.d.ts","sourceRoot":"","sources":["../src/skill-authoring-refs.ts"],"names":[],"mappings":"AAgBA,wBAAgB,gCAAgC,IAAI,MAAM,
|
|
1
|
+
{"version":3,"file":"skill-authoring-refs.d.ts","sourceRoot":"","sources":["../src/skill-authoring-refs.ts"],"names":[],"mappings":"AAgBA,wBAAgB,gCAAgC,IAAI,MAAM,CAuUzD;AAWD,wBAAgB,6BAA6B,IAAI,MAAM,CAoPtD;AA+CD,wBAAgB,uBAAuB,IAAI,MAAM,CA0DhD"}
|
|
@@ -57,6 +57,8 @@ export function renderAuthoringWorkflowReference() {
|
|
|
57
57
|
'',
|
|
58
58
|
'HTTP connector auth variants: `bearer` (`{ kind: "bearer", secret: secret("API_TOKEN") }`), `apiKey` (`{ kind: "apiKey", header: "X-API-Key", secret: secret("API_KEY") }`), `clientCredentials`, `delegatedOAuth`, `delegatedSessionCookie`, and `delegatedTokenExchange` (per-user calls to your own API — see "Delegated downstream auth" below). Use managed `secret(...)` / `variable(...)` refs for all values that differ by org/app/env.',
|
|
59
59
|
'',
|
|
60
|
+
'When one connector needs independently selectable accounts, declare catalog `credentialProfiles` plus each operation’s accepted `credentials.profiles`, then bind each `server.use` alias with `bind(connector, { profile, connection: connection("logical_id", managedSecret(secret("NAME"), { scopes, audience })) })`. The alias is the stable account boundary; never put provider account ids, labels, or credential values in it. `gmailConnector()` is the curated Gmail catalog helper; reuse it under independent aliases and accept canonical `accounts` arrays in tools (one account for writes, or an explicitly ordered supported combination for reads). See the bundled `gmail-multi-account` flagship. Bound managed secrets are supported by hosted execution. `externalExchange()` is runnable only when the deployment operator injects an exact HTTPS provider endpoint/origin/audience and durable shared subject-pin store through service ports; Noodle sends a short-lived platform-signed deployment workload assertion and accepts only a bounded bearer response. Provider implementations must consume assertion replay ids through durable shared atomic storage across instances and restarts. There is intentionally no hosted enrollment or provider CRUD surface yet. The provider wire contract is public, but its conformance kit is workspace/source-only and is not an installable npm package. Bound `clientCredentials(...)` remains fail-closed until its provider slice lands.',
|
|
61
|
+
'',
|
|
60
62
|
'## HTTP connector example (full server)',
|
|
61
63
|
'',
|
|
62
64
|
'Declare the API as data, bind it with `use`, then record calls in tools. The operation mapping in detail: `request` builds the JSON request body, `query: [...]` names the input args sent as URL query parameters, and `response` maps the parsed HTTP body (bound to `${response}`) into your typed `output`. `auth` reads a managed `secret(...)` — never inline a key. This whole example is compile-verified on every `pnpm test`.',
|
|
@@ -289,7 +291,7 @@ export function renderAuthoringWorkflowReference() {
|
|
|
289
291
|
'});',
|
|
290
292
|
'```',
|
|
291
293
|
'',
|
|
292
|
-
'Use a stable lowercase/number/underscore id and a flat form of string/number/integer/boolean, string choices or multi-select, with optional `email`, `uri`, `date`, or `date-time` formats. Nested objects and credential-shaped fields fail with `invalid_elicitation_schema`. Every interactive flow must place all `ctx.elicit` calls before its first connector operation or compilation fails with `invalid_elicitation_flow`. Embedded/headless clients receive `input_requested`; bidirectional MCP transports map the primitive to standard form `elicitation/create`. On stateless hosts, the adapter returns a structured non-executing `interaction_unavailable` result; linked Apps render its business-user form and retry in request `_meta`, while models can use the advertised reserved retry field. Accept validates and replays only the operation-free input prefix; invalid content returns `arg_invalid`, and decline/cancel stop. Elicitation gathers missing input and does not replace confirmation. In a flow marked `confirm: true`, every eligible `input_requested` precedes `tool_proposed`; the final proposal reviews the original input, elicited values, and sole exact connector action.
|
|
294
|
+
'Use a stable lowercase/number/underscore id and a flat form of string/number/integer/boolean, string choices or multi-select, with optional `email`, `uri`, `date`, or `date-time` formats. Nested objects and credential-shaped fields fail with `invalid_elicitation_schema`. Every interactive flow must place all `ctx.elicit` calls before its first connector operation or compilation fails with `invalid_elicitation_flow`. Embedded/headless clients receive `input_requested`; bidirectional MCP transports map the primitive to standard form `elicitation/create`. On stateless hosts, the adapter returns a structured non-executing `interaction_unavailable` result; linked Apps render its business-user form and retry in request `_meta`, while models can use the advertised reserved retry field. Accept validates and replays only the operation-free input prefix; invalid content returns `arg_invalid`, and decline/cancel stop. Elicitation gathers missing input and does not replace confirmation. In a flow marked `confirm: true`, every eligible `input_requested` precedes `tool_proposed`; the final proposal reviews the original input, elicited values, and sole exact eligible connector action. Conditional branches may declare multiple candidate actions only when preparation resolves exactly one eligible action from input/context or completed pure steps; zero or multiple actions fail with `invalid_confirmation_flow` before I/O. Acceptance is bound to that exact action. Later read-only operations and pure compute may assemble output, but a second eligible action fails closed. Use `ref.at(index)` for array access in recorded expressions. MCP uses final standard form confirmation on capable bidirectional transports and fails closed otherwise. Setting `interactions: { confirmationFallback: "host" }` in the server options explicitly trusts native host approval only when confirmation transport is unavailable and after every elicited field is collected; it still uses preparation and prepared execution, is never inferred from client name, and does not replace authorization. Omitted or `false` annotations execute directly; hints alone never gate. `annotations.action({ confirm: true })` explicitly enables confirmation; `annotations.action({ confirm: false })` explicitly preserves direct execution.',
|
|
293
295
|
'',
|
|
294
296
|
'## Compute connector example',
|
|
295
297
|
'',
|
|
@@ -623,6 +625,10 @@ const FLAGSHIP_EXAMPLES = [
|
|
|
623
625
|
['stateful-draft', 'Durable, caller-scoped widget state handles with optimistic revisions.'],
|
|
624
626
|
['perplexity', 'A real SaaS API with bearer auth and a managed `secret`.'],
|
|
625
627
|
['bitcoin', 'API-key HTTP connector, custom auth header, and compute normalization.'],
|
|
628
|
+
[
|
|
629
|
+
'gmail-multi-account',
|
|
630
|
+
'One curated Gmail connector reused by two account bindings, canonical account arrays, exact mutation confirmation, and an accompanying personal-automation skill.',
|
|
631
|
+
],
|
|
626
632
|
['sharepoint', 'Microsoft SharePoint delegated Microsoft Entra auth and Graph tools.'],
|
|
627
633
|
[
|
|
628
634
|
'internal-ops-demo',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill-authoring-refs.js","sourceRoot":"","sources":["../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ACrF,kDAAkD;QAClD,wDAAwD;QACxD,gCAAgC;QAChC,yCAAyC;QACzC,WAAW;QACX,wFAAwF;QACxF,QAAQ;QACR,MAAM;QACN,IAAI;QACJ,KAAK;QACL,EAAE;QACF,miBAAmiB;QACniB,EAAE;QACF,qCAAqC;QACrC,EAAE;QACF,2MAA2M;QAC3M,EAAE;QACF,OAAO;QACP,4BAA4B;QAC5B,0EAA0E;QAC1E,4DAA4D;QAC5D,iFAAiF;QACjF,oCAAoC;QACpC,6BAA6B;QAC7B,0BAA0B;QAC1B,2DAA2D;QAC3D,iEAAiE;QACjE,SAAS;QACT,2EAA2E;QAC3E,MAAM;QACN,KAAK;QACL,KAAK;QACL,EAAE;QACF,
|
|
1
|
+
{"version":3,"file":"skill-authoring-refs.js","sourceRoot":"","sources":["../src/skill-authoring-refs.ts"],"names":[],"mappings":"AAAA,2FAA2F;AAC3F,8FAA8F;AAC9F,4FAA4F;AAC5F,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAElC,+EAA+E;AAC/E,6CAA6C;AAC7C,EAAE;AACF,iGAAiG;AACjG,qGAAqG;AACrG,gGAAgG;AAChG,+EAA+E;AAE/E,MAAM,UAAU,gCAAgC;IAC9C,OAAO;QACL,sBAAsB;QACtB,EAAE;QACF,aAAa;QACb,EAAE;QACF,eAAe;QACf,aAAa;QACb,eAAe;QACf,cAAc;QACd,wCAAwC;QACxC,mEAAmE;QACnE,8BAA8B;QAC9B,sBAAsB;QACtB,6BAA6B;QAC7B,SAAS;QACT,yBAAyB;QACzB,sBAAsB;QACtB,cAAc;QACd,EAAE;QACF,gBAAgB;QAChB,EAAE;QACF,oUAAoU;QACpU,oJAAoJ;QACpJ,+TAA+T;Q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AW,CAAC;QACrD,EAAE;QACF,0DAA0D;QAC1D,EAAE;QACF,OAAO,CAAC,CAAC,SAAS,EAAE,UAAU,CAAC,EAAE,QAAQ,CAAC;QAC1C,EAAE;QACF,wBAAwB;QACxB,EAAE;QACF,yEAAyE;QACzE,EAAE;QACF,OAAO;QACP,oDAAoD;QACpD,EAAE;QACF,wEAAwE;QACxE,mBAAmB;QACnB,4CAA4C;QAC5C,4CAA4C;QAC5C,iDAAiD;QACjD,qEAAqE;QACrE,OAAO;QACP,KAAK;QACL,KAAK;KACN,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill-connect-refs.d.ts","sourceRoot":"","sources":["../src/skill-connect-refs.ts"],"names":[],"mappings":"AAIA,wBAAgB,2BAA2B,IAAI,MAAM,
|
|
1
|
+
{"version":3,"file":"skill-connect-refs.d.ts","sourceRoot":"","sources":["../src/skill-connect-refs.ts"],"names":[],"mappings":"AAIA,wBAAgB,2BAA2B,IAAI,MAAM,CAoMpD"}
|
|
@@ -3,13 +3,16 @@
|
|
|
3
3
|
// actually returned, then prove the mapping returns real data before building the app.
|
|
4
4
|
export function renderConnectAnApiReference() {
|
|
5
5
|
return [
|
|
6
|
-
'#
|
|
6
|
+
'# Outcome',
|
|
7
7
|
'',
|
|
8
|
-
|
|
9
|
-
'drift. Probe the live API, learn the real shape, then encode it as a `connector`. The loop:',
|
|
8
|
+
'Connect a real API to a focused MCP product using managed credentials, mappings derived from observed responses, and representative live-read evidence. A connector that merely compiles is not complete.',
|
|
10
9
|
'',
|
|
11
10
|
'## Contents',
|
|
12
11
|
'',
|
|
12
|
+
'- Use when',
|
|
13
|
+
'- Do not use when',
|
|
14
|
+
'- Required inputs',
|
|
15
|
+
'- Workflow',
|
|
13
16
|
'- Secure the key first',
|
|
14
17
|
'- Probe the live API',
|
|
15
18
|
'- Model the connector from the observed shape',
|
|
@@ -18,9 +21,30 @@ export function renderConnectAnApiReference() {
|
|
|
18
21
|
'- Design intent tools',
|
|
19
22
|
'- Set the secret for local runs',
|
|
20
23
|
'- Prove real output',
|
|
21
|
-
'-
|
|
24
|
+
'- Verification evidence',
|
|
25
|
+
'- Recovery paths',
|
|
26
|
+
'- Stop conditions',
|
|
22
27
|
'',
|
|
23
|
-
'##
|
|
28
|
+
'## Use when',
|
|
29
|
+
'',
|
|
30
|
+
'- The user provides credentials, a reachable API, or an OpenAPI document and wants real MCP behavior backed by it.',
|
|
31
|
+
'- Existing connector behavior compiles but still needs proof against the actual service and data shape.',
|
|
32
|
+
'',
|
|
33
|
+
'## Do not use when',
|
|
34
|
+
'',
|
|
35
|
+
'- The task is a local/static MCP capability with no external data source.',
|
|
36
|
+
'- The user only wants a widget, deployment, publication, or diagnosis unrelated to API behavior; select that route.',
|
|
37
|
+
'- Required credentials or authority are unavailable. Do not bypass authentication or substitute fabricated payloads for live evidence.',
|
|
38
|
+
'',
|
|
39
|
+
'## Required inputs',
|
|
40
|
+
'',
|
|
41
|
+
'Identify the API base URL, authentication scheme, one representative safe read, the user intent it serves, and either an OpenAPI document or one sanitized example response. For writes, also establish the effect, a safe test target, and explicit user approval before any live write.',
|
|
42
|
+
'',
|
|
43
|
+
'Do not guess or invent a field, schema, endpoint, pagination contract, or authentication behavior. Documentation is a hypothesis until a representative live read confirms the response actually returned.',
|
|
44
|
+
'',
|
|
45
|
+
'## Workflow',
|
|
46
|
+
'',
|
|
47
|
+
'### Secure the key first',
|
|
24
48
|
'',
|
|
25
49
|
'Never inline or log the key. Have the user put it in an environment variable, then store it as a',
|
|
26
50
|
'managed secret and reference it only as `secret(...)`:',
|
|
@@ -33,7 +57,7 @@ export function renderConnectAnApiReference() {
|
|
|
33
57
|
'In `server.ts` the key is only ever `secret("SOME_API_KEY")` — keep the raw value out of code, tests,',
|
|
34
58
|
'prompts, logs, and generated files.',
|
|
35
59
|
'',
|
|
36
|
-
'
|
|
60
|
+
'### Probe the live API',
|
|
37
61
|
'',
|
|
38
62
|
'Learn the actual response shape empirically. Two ways — capture one real example response per endpoint',
|
|
39
63
|
'you will use, and read its field names, nesting, array shapes, pagination, and id-vs-label fields:',
|
|
@@ -45,7 +69,7 @@ export function renderConnectAnApiReference() {
|
|
|
45
69
|
" '${response}' }`), `noodle secrets set` the key, then `noodle tools call` it to see the real payload",
|
|
46
70
|
' in-process.',
|
|
47
71
|
'',
|
|
48
|
-
'
|
|
72
|
+
'### Model the connector from the observed shape',
|
|
49
73
|
'',
|
|
50
74
|
'Encode the API as an HTTP connector, mapping only the fields you actually saw into a small typed',
|
|
51
75
|
'`output`:',
|
|
@@ -61,7 +85,7 @@ export function renderConnectAnApiReference() {
|
|
|
61
85
|
'The full connector shape, every `auth.kind`, and compute connectors are in',
|
|
62
86
|
'`references/authoring-workflow.md`.',
|
|
63
87
|
'',
|
|
64
|
-
'
|
|
88
|
+
'### Return a list',
|
|
65
89
|
'',
|
|
66
90
|
'Most real tools return a variable-length list (search results, a user’s tasks). Bind the **whole array** — a single `${response.path}` returns the referenced value verbatim, arrays included:',
|
|
67
91
|
'',
|
|
@@ -92,7 +116,7 @@ export function renderConnectAnApiReference() {
|
|
|
92
116
|
"response: { tasks: '${response.items}' },",
|
|
93
117
|
'```',
|
|
94
118
|
'',
|
|
95
|
-
'
|
|
119
|
+
'### Create, update, delete',
|
|
96
120
|
'',
|
|
97
121
|
'Pair the read/list with the mutations your intent tools need:',
|
|
98
122
|
"- **Create / update** — `method: 'POST'` / `'PATCH'`; author the body as `request: { field: '${input.x}' }` (do not nest it under `body`). It is JSON by default; use `requestEncoding: 'form-urlencoded'` only when the API requires a URLSearchParams body. URL query params remain the operation-level `query: [...]` array.",
|
|
@@ -122,14 +146,14 @@ export function renderConnectAnApiReference() {
|
|
|
122
146
|
'},',
|
|
123
147
|
'```',
|
|
124
148
|
'',
|
|
125
|
-
'
|
|
149
|
+
'### Design intent tools',
|
|
126
150
|
'',
|
|
127
|
-
'
|
|
151
|
+
'Create intent-shaped tools around what the user says, not 1:1 around endpoints. Pair an id-taking action with a',
|
|
128
152
|
'find/search operation that returns `{ id, label }` summaries so the model resolves text → id itself,',
|
|
129
153
|
'and map each response to a few labelled fields the model can speak from. See the "Design tools for the',
|
|
130
154
|
'model" section of `references/authoring-workflow.md`.',
|
|
131
155
|
'',
|
|
132
|
-
'
|
|
156
|
+
'### Set the secret for local runs',
|
|
133
157
|
'',
|
|
134
158
|
'Local `dev`, smoke commands, secrets, and variables resolve one effective target: explicit flags, then the project link, then the saved CLI target, then local defaults. Set the secret through that same target:',
|
|
135
159
|
'',
|
|
@@ -142,20 +166,36 @@ export function renderConnectAnApiReference() {
|
|
|
142
166
|
'',
|
|
143
167
|
'Local secrets live in `./.env.noodle` (never commit it). A required `secret(...)` or `variable(...)` that cannot resolve fails boot closed. `noodle tools call` / `noodle test` / `noodle dev` / `noodle devtools` stop before exposing an empty endpoint and print the exact effective target plus recovery command.',
|
|
144
168
|
'',
|
|
145
|
-
'
|
|
169
|
+
'### Prove real output',
|
|
146
170
|
'',
|
|
147
171
|
'`noodle validate` / `noodle test` prove a connector tool *compiles and registers* — not that its',
|
|
148
172
|
'mapping returns data. With the secret set, run a live read: `noodle tools call <read_tool> --args',
|
|
149
173
|
"'{…}'` executes the connector against the real API in-process. Confirm the mapped fields are populated,",
|
|
150
|
-
'not `undefined`; if they are empty, fix
|
|
151
|
-
'Only run a live write
|
|
174
|
+
'not `undefined`; if they are empty, distinguish a legitimate empty result from a missing or incorrect mapping, fix `${response…}` paths against the real payload when needed, and re-run.',
|
|
175
|
+
'Only run a live write after explicit user approval and when a safe test target and expected effect are known.',
|
|
176
|
+
'',
|
|
177
|
+
'## Verification evidence',
|
|
178
|
+
'',
|
|
179
|
+
'- **Credential path:** the raw credential remained in an environment variable and the managed `secret(...)` path for the same effective local target.',
|
|
180
|
+
'- **Observed shape:** a representative safe live read established the real fields, nesting, arrays, pagination, and empty-result behavior used by the mapping.',
|
|
181
|
+
'- **Local proof:** `noodle validate --json` and `noodle test --json` succeeded, then `noodle tools call` returned populated mapped fields or an intentionally verified empty result.',
|
|
182
|
+
'- **Writes:** name the approval and safe target used, or report writes as not run.',
|
|
183
|
+
'- **Hosted boundary:** local proof does not prove hosted credentials, deployment health, or host behavior. Report hosted checks as not run unless a separate requested route exercised them.',
|
|
184
|
+
'',
|
|
185
|
+
'## Recovery paths',
|
|
186
|
+
'',
|
|
187
|
+
'- Authentication failure: verify the connector auth kind, managed secret name, and effective local target without printing the credential.',
|
|
188
|
+
'- Successful HTTP call with `undefined` fields: compare the mapping with one sanitized observed response, correct the path, and rerun the same read.',
|
|
189
|
+
'- Legitimate empty result: test a second known query or record the empty case as intentional; do not rewrite a correct mapping merely to manufacture data.',
|
|
190
|
+
'- Response too broad for the model: narrow it with response mapping, projection, or a separate compute connector; do not rely on a Zod output to strip runtime fields.',
|
|
191
|
+
'- Repeated external failure: stop after bounded attempts and report the sanitized status, endpoint class, evidence already proven, and exact external action needed.',
|
|
152
192
|
'',
|
|
153
|
-
'##
|
|
193
|
+
'## Stop conditions',
|
|
154
194
|
'',
|
|
155
|
-
'
|
|
156
|
-
'
|
|
157
|
-
'
|
|
158
|
-
'
|
|
195
|
+
'- Stop complete when the representative safe read returns populated mapped fields or an intentionally verified empty result through the same effective local target.',
|
|
196
|
+
'- Stop before a live write without explicit approval, a known effect, and a safe target.',
|
|
197
|
+
'- Stop blocked when credentials, a reachable service, a representative input, or a required private schema is unavailable.',
|
|
198
|
+
'- Do not continue into App design, deployment, or publication unless the user requested that next outcome; route to the corresponding primary playbook instead.',
|
|
159
199
|
].join('\n');
|
|
160
200
|
}
|
|
161
201
|
//# sourceMappingURL=skill-connect-refs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill-connect-refs.js","sourceRoot":"","sources":["../src/skill-connect-refs.ts"],"names":[],"mappings":"AAAA,oGAAoG;AACpG,oGAAoG;AACpG,uFAAuF;AAEvF,MAAM,UAAU,2BAA2B;IACzC,OAAO;QACL,
|
|
1
|
+
{"version":3,"file":"skill-connect-refs.js","sourceRoot":"","sources":["../src/skill-connect-refs.ts"],"names":[],"mappings":"AAAA,oGAAoG;AACpG,oGAAoG;AACpG,uFAAuF;AAEvF,MAAM,UAAU,2BAA2B;IACzC,OAAO;QACL,WAAW;QACX,EAAE;QACF,2MAA2M;QAC3M,EAAE;QACF,aAAa;QACb,EAAE;QACF,YAAY;QACZ,mBAAmB;QACnB,mBAAmB;QACnB,YAAY;QACZ,wBAAwB;QACxB,sBAAsB;QACtB,+CAA+C;QAC/C,iBAAiB;QACjB,0BAA0B;QAC1B,uBAAuB;QACvB,iCAAiC;QACjC,qBAAqB;QACrB,yBAAyB;QACzB,kBAAkB;QAClB,mBAAmB;QACnB,EAAE;QACF,aAAa;QACb,EAAE;QACF,oHAAoH;QACpH,yGAAyG;QACzG,EAAE;QACF,oBAAoB;QACpB,EAAE;QACF,2EAA2E;QAC3E,qHAAqH;QACrH,wIAAwI;QACxI,EAAE;QACF,oBAAoB;QACpB,EAAE;QACF,2RAA2R;QAC3R,EAAE;QACF,4MAA4M;QAC5M,EAAE;QACF,aAAa;QACb,EAAE;QACF,0BAA0B;QAC1B,EAAE;QACF,kGAAkG;QAClG,wDAAwD;QACxD,EAAE;QACF,OAAO;QACP,6FAA6F;QAC7F,8HAA8H;QAC9H,KAAK;QACL,EAAE;QACF,uGAAuG;QACvG,qCAAqC;QACrC,EAAE;QACF,wBAAwB;QACxB,EAAE;QACF,wGAAwG;QACxG,oGAAoG;QACpG,EAAE;QACF,wGAAwG;QACxG,sGAAsG;QACtG,+DAA+D;QAC/D,mGAAmG;QACnG,wGAAwG;QACxG,eAAe;QACf,EAAE;QACF,iDAAiD;QACjD,EAAE;QACF,kGAAkG;QAClG,WAAW;QACX,EAAE;QACF,2FAA2F;QAC3F,2GAA2G;QAC3G,uFAAuF;QACvF,sGAAsG;QACtG,0GAA0G;QAC1G,yFAAyF;QACzF,kCAAkC;QAClC,EAAE;QACF,4EAA4E;QAC5E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JAAuJ;QACvJ,gKAAgK;QAChK,sLAAsL;QACtL,oFAAoF;QACpF,8LAA8L;QAC9L,EAAE;QACF,mBAAmB;QACnB,EAAE;QACF,4IAA4I;QAC5I,sJAAsJ;QACtJ,4JAA4J;QAC5J,wKAAwK;QACxK,sKAAsK;QACtK,EAAE;QACF,oBAAoB;QACpB,EAAE;QACF,sKAAsK;QACtK,0FAA0F;QAC1F,4HAA4H;QAC5H,iKAAiK;KAClK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC"}
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import type { AgentTarget } from './index.js';
|
|
2
|
-
export declare const SKILL_DESCRIPTION: string;
|
|
3
1
|
/** A reference file emitted under the skill directory, one level deep. */
|
|
4
2
|
export interface SkillReference {
|
|
5
3
|
readonly relPath: string;
|
|
6
4
|
readonly render: () => string;
|
|
7
5
|
}
|
|
8
|
-
|
|
9
|
-
* The one-line routing index for every reference file, shared verbatim by the project-local router
|
|
10
|
-
* and the global authoring-plugin bootstrap router so the two cannot drift.
|
|
11
|
-
*/
|
|
12
|
-
export declare const REFERENCE_INDEX_LINES: readonly string[];
|
|
13
|
-
export declare function skillRouterBody(target: AgentTarget): string;
|
|
6
|
+
export { REFERENCE_INDEX_LINES, SKILL_DESCRIPTION, SKILL_ROUTES, skillRouterBody, } from './skill-router.js';
|
|
14
7
|
export declare function renderSdkSurfaceReference(): string;
|
|
15
8
|
export declare function renderCliCommandsReference(): string;
|
|
16
9
|
export declare function renderAgentContractReference(): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill-content.d.ts","sourceRoot":"","sources":["../src/skill-content.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"skill-content.d.ts","sourceRoot":"","sources":["../src/skill-content.ts"],"names":[],"mappings":"AAkCA,0EAA0E;AAC1E,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,MAAM,EAAE,MAAM,MAAM,CAAC;CAC/B;AAED,OAAO,EACL,qBAAqB,EACrB,iBAAiB,EACjB,YAAY,EACZ,eAAe,GAChB,MAAM,mBAAmB,CAAC;AAoO3B,wBAAgB,yBAAyB,IAAI,MAAM,CA2ClD;AAMD,wBAAgB,0BAA0B,IAAI,MAAM,CAgCnD;AAMD,wBAAgB,4BAA4B,IAAI,MAAM,CAiDrD;AAMD,wBAAgB,4BAA4B,IAAI,MAAM,CAoBrD;AAMD,eAAO,MAAM,gBAAgB,EAAE,SAAS,cAAc,EAqBrD,CAAC"}
|