@noodleseed/one 0.151.1 → 0.153.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/agent-product-skill-state.d.ts +2 -2
- package/dist/agent-product-skill-state.d.ts.map +1 -1
- package/dist/agent-product-skill-state.js.map +1 -1
- package/dist/agent-skills-state.d.ts +2 -2
- package/dist/agent-skills-state.d.ts.map +1 -1
- package/dist/agent-skills-state.js +1 -1
- package/dist/agent-skills-state.js.map +1 -1
- package/dist/agents.d.ts +2 -3
- package/dist/agents.d.ts.map +1 -1
- package/dist/agents.js.map +1 -1
- package/dist/assistant-embed-scaffold-template.d.ts +1 -0
- package/dist/assistant-embed-scaffold-template.d.ts.map +1 -1
- package/dist/assistant-embed-scaffold-template.js +80 -12
- package/dist/assistant-embed-scaffold-template.js.map +1 -1
- package/dist/checklist.d.ts +2 -1
- package/dist/checklist.d.ts.map +1 -1
- package/dist/commands/apps-ops.d.ts +0 -4
- package/dist/commands/apps-ops.d.ts.map +1 -1
- package/dist/commands/apps-ops.js +3 -3
- package/dist/commands/apps-ops.js.map +1 -1
- package/dist/commands/assistant-embed-ops.d.ts.map +1 -1
- package/dist/commands/assistant-embed-ops.js +141 -4
- package/dist/commands/assistant-embed-ops.js.map +1 -1
- package/dist/commands/assistant-ops.js +1 -1
- package/dist/commands/assistant-ops.js.map +1 -1
- package/dist/commands/auth-ops.d.ts +0 -14
- package/dist/commands/auth-ops.d.ts.map +1 -1
- package/dist/commands/auth-ops.js +1 -1
- package/dist/commands/auth-ops.js.map +1 -1
- package/dist/commands/author-loop.d.ts +0 -2
- package/dist/commands/author-loop.d.ts.map +1 -1
- package/dist/commands/author-loop.js +2 -2
- package/dist/commands/author-loop.js.map +1 -1
- package/dist/commands/catalog.d.ts +1 -7
- package/dist/commands/catalog.d.ts.map +1 -1
- package/dist/commands/catalog.js +3 -3
- package/dist/commands/catalog.js.map +1 -1
- package/dist/commands/config-values.d.ts +1 -47
- package/dist/commands/config-values.d.ts.map +1 -1
- package/dist/commands/config-values.js +11 -11
- package/dist/commands/config-values.js.map +1 -1
- package/dist/commands/connect-oauth.d.ts +0 -1
- package/dist/commands/connect-oauth.d.ts.map +1 -1
- package/dist/commands/connect-oauth.js +1 -1
- package/dist/commands/connect-oauth.js.map +1 -1
- package/dist/commands/connect.d.ts +0 -1
- package/dist/commands/connect.d.ts.map +1 -1
- package/dist/commands/connect.js +1 -1
- package/dist/commands/connect.js.map +1 -1
- package/dist/commands/customer-auth-smoke.d.ts +2 -1
- package/dist/commands/customer-auth-smoke.d.ts.map +1 -1
- package/dist/commands/customer-auth-smoke.js +3 -2
- package/dist/commands/customer-auth-smoke.js.map +1 -1
- package/dist/commands/deploy-ops.d.ts +0 -9
- package/dist/commands/deploy-ops.d.ts.map +1 -1
- package/dist/commands/deploy-ops.js +3 -4
- package/dist/commands/deploy-ops.js.map +1 -1
- package/dist/commands/deploy-resume.d.ts +0 -1
- package/dist/commands/deploy-resume.d.ts.map +1 -1
- package/dist/commands/deploy-resume.js +1 -1
- package/dist/commands/deploy-resume.js.map +1 -1
- package/dist/commands/deploy-version-resolution.d.ts +0 -2
- package/dist/commands/deploy-version-resolution.d.ts.map +1 -1
- package/dist/commands/deploy-version-resolution.js +1 -1
- package/dist/commands/deploy-version-resolution.js.map +1 -1
- package/dist/commands/deployments-ops.d.ts +0 -2
- package/dist/commands/deployments-ops.d.ts.map +1 -1
- package/dist/commands/deployments-ops.js +2 -2
- package/dist/commands/deployments-ops.js.map +1 -1
- package/dist/commands/envs-ops.d.ts +0 -3
- package/dist/commands/envs-ops.d.ts.map +1 -1
- package/dist/commands/envs-ops.js +3 -3
- package/dist/commands/envs-ops.js.map +1 -1
- package/dist/commands/feedback-ops.d.ts +0 -8
- package/dist/commands/feedback-ops.d.ts.map +1 -1
- package/dist/commands/feedback-ops.js +1 -1
- package/dist/commands/feedback-ops.js.map +1 -1
- package/dist/commands/github-ops.d.ts +0 -2
- package/dist/commands/github-ops.d.ts.map +1 -1
- package/dist/commands/github-ops.js +2 -2
- package/dist/commands/github-ops.js.map +1 -1
- package/dist/commands/mcp-apps.d.ts +0 -1
- package/dist/commands/mcp-apps.d.ts.map +1 -1
- package/dist/commands/org-admin.d.ts +0 -17
- package/dist/commands/org-admin.d.ts.map +1 -1
- package/dist/commands/org-admin.js +1 -2
- package/dist/commands/org-admin.js.map +1 -1
- package/dist/commands/output.d.ts +3 -12
- package/dist/commands/output.d.ts.map +1 -1
- package/dist/commands/output.js.map +1 -1
- package/dist/commands/platform-account-reset-files.d.ts +0 -3
- package/dist/commands/platform-account-reset-files.d.ts.map +1 -1
- package/dist/commands/platform-account-reset-files.js +1 -1
- package/dist/commands/platform-account-reset-files.js.map +1 -1
- package/dist/commands/platform-auth-rollout-acceleration-files.d.ts +0 -3
- package/dist/commands/platform-auth-rollout-acceleration-files.d.ts.map +1 -1
- package/dist/commands/platform-auth-rollout-acceleration-files.js +1 -1
- package/dist/commands/platform-auth-rollout-acceleration-files.js.map +1 -1
- package/dist/commands/project-setup.d.ts +0 -1
- package/dist/commands/project-setup.d.ts.map +1 -1
- package/dist/commands/project-setup.js +1 -1
- package/dist/commands/project-setup.js.map +1 -1
- package/dist/commands/resource-shared.d.ts +0 -6
- package/dist/commands/resource-shared.d.ts.map +1 -1
- package/dist/commands/resource-shared.js +1 -1
- package/dist/commands/resource-shared.js.map +1 -1
- package/dist/commands/session.d.ts +3 -13
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +2 -2
- package/dist/commands/session.js.map +1 -1
- package/dist/commands/target-picker.d.ts +0 -2
- package/dist/commands/target-picker.d.ts.map +1 -1
- package/dist/commands/target-picker.js +1 -1
- package/dist/commands/target-picker.js.map +1 -1
- package/dist/commands/update-ops.d.ts +0 -8
- package/dist/commands/update-ops.d.ts.map +1 -1
- package/dist/commands/update-ops.js +1 -1
- package/dist/commands/update-ops.js.map +1 -1
- package/dist/control-plane.d.ts +1 -1
- package/dist/control-plane.d.ts.map +1 -1
- package/dist/control-plane.js.map +1 -1
- package/dist/deploy.d.ts +0 -12
- package/dist/deploy.d.ts.map +1 -1
- package/dist/deploy.js +2 -2
- package/dist/deploy.js.map +1 -1
- package/dist/dev.d.ts.map +1 -1
- package/dist/dev.js +2 -3
- package/dist/dev.js.map +1 -1
- package/dist/devtools-auth-session.d.ts +0 -1
- package/dist/devtools-auth-session.d.ts.map +1 -1
- package/dist/devtools-auth-session.js.map +1 -1
- package/dist/devtools-chat.d.ts +1 -1
- package/dist/devtools-chat.d.ts.map +1 -1
- package/dist/devtools-chat.js.map +1 -1
- package/dist/devtools-delegated-exchange-state.d.ts +1 -1
- package/dist/devtools-delegated-exchange-state.d.ts.map +1 -1
- package/dist/devtools-design-contract.d.ts +3 -3
- package/dist/devtools-design-contract.d.ts.map +1 -1
- package/dist/devtools-design-contract.js +1 -1
- package/dist/devtools-design-contract.js.map +1 -1
- package/dist/devtools-preview.d.ts +1 -1
- package/dist/devtools-preview.d.ts.map +1 -1
- package/dist/devtools-rpc-forwarder.d.ts +2 -1
- package/dist/devtools-rpc-forwarder.d.ts.map +1 -1
- package/dist/devtools-rpc-forwarder.js +11 -12
- package/dist/devtools-rpc-forwarder.js.map +1 -1
- package/dist/gradient.d.ts +0 -3
- package/dist/gradient.d.ts.map +1 -1
- package/dist/gradient.js +1 -3
- package/dist/gradient.js.map +1 -1
- package/dist/local-compile.d.ts +2 -1
- package/dist/local-compile.d.ts.map +1 -1
- package/dist/local-target.d.ts +2 -1
- package/dist/local-target.d.ts.map +1 -1
- package/dist/node-version.d.ts +0 -2
- package/dist/node-version.d.ts.map +1 -1
- package/dist/node-version.js +2 -2
- package/dist/node-version.js.map +1 -1
- package/dist/plugin-mode/build-readiness-tools.d.ts +5 -4
- package/dist/plugin-mode/build-readiness-tools.d.ts.map +1 -1
- package/dist/plugin-mode/plugin-operation-contract.d.ts +0 -35
- package/dist/plugin-mode/plugin-operation-contract.d.ts.map +1 -1
- package/dist/plugin-mode/plugin-operation-contract.js +1 -1
- package/dist/plugin-mode/plugin-operation-contract.js.map +1 -1
- package/dist/project-entrypoint.d.ts +2 -1
- package/dist/project-entrypoint.d.ts.map +1 -1
- package/dist/project.d.ts +3 -3
- package/dist/project.d.ts.map +1 -1
- package/dist/project.js.map +1 -1
- package/dist/skills-update.d.ts +0 -1
- package/dist/skills-update.d.ts.map +1 -1
- package/dist/skills-update.js +1 -1
- package/dist/skills-update.js.map +1 -1
- package/dist/status.d.ts +0 -9
- package/dist/status.d.ts.map +1 -1
- package/dist/status.js +0 -16
- package/dist/status.js.map +1 -1
- package/dist/update-binary.d.ts +3 -2
- package/dist/update-binary.d.ts.map +1 -1
- package/dist/update-check.d.ts +0 -3
- package/dist/update-check.d.ts.map +1 -1
- package/dist/update-check.js +1 -1
- package/dist/update-check.js.map +1 -1
- package/dist/validate.d.ts +2 -1
- package/dist/validate.d.ts.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/behavior-skills.js +10 -10
- package/node_modules/@noodle-borg/agent-kit/dist/generated/example-files.js +11 -8
- package/node_modules/@noodle-borg/agent-kit/dist/index.js +13 -1
- package/node_modules/@noodle-borg/agent-kit/dist/plugin-bootstrap-skill.d.ts +0 -2
- package/node_modules/@noodle-borg/agent-kit/dist/plugin-bootstrap-skill.js +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/plugin-bundle.d.ts +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/skill-authoring-refs.js +8 -0
- package/node_modules/@noodle-borg/agent-kit/dist/skill-content.js +6 -6
- package/node_modules/@noodle-borg/agent-kit/dist/skill-embedded-assistant-operations-ref.js +78 -0
- package/node_modules/@noodle-borg/agent-kit/dist/skill-embedded-assistant-ref.js +156 -135
- package/node_modules/@noodle-borg/agent-kit/dist/skill-embedded-assistant-renderer-ref.js +109 -0
- package/node_modules/@noodle-borg/agent-kit/dist/skill-router.d.ts +2 -3
- package/node_modules/@noodle-borg/agent-kit/dist/skill-router.js +1 -1
- package/node_modules/@noodle-borg/agent-kit/package.json +1 -1
- package/node_modules/@noodle-borg/agent-packaging/dist/host-package-assets.js +1 -1
- package/node_modules/@noodle-borg/assistant-gateway/dist/assistant-browser-fields.d.ts +3 -0
- package/node_modules/@noodle-borg/assistant-gateway/dist/assistant-browser-fields.js +15 -0
- package/node_modules/@noodle-borg/assistant-gateway/dist/assistant-configuration.d.ts +1 -1
- package/node_modules/@noodle-borg/assistant-gateway/dist/assistant-configuration.js +3 -2
- package/node_modules/@noodle-borg/assistant-gateway/dist/assistant-store.d.ts +19 -11
- package/node_modules/@noodle-borg/assistant-gateway/dist/assistant-store.js +24 -23
- package/node_modules/@noodle-borg/assistant-gateway/dist/assistant-transcript-events.d.ts +24 -0
- package/node_modules/@noodle-borg/assistant-gateway/dist/assistant-transcript-events.js +39 -0
- package/node_modules/@noodle-borg/assistant-gateway/dist/assistant-transcript.d.ts +6 -2
- package/node_modules/@noodle-borg/assistant-gateway/dist/assistant-transcript.js +11 -0
- package/node_modules/@noodle-borg/assistant-gateway/dist/assistant-view-availability.d.ts +8 -0
- package/node_modules/@noodle-borg/assistant-gateway/dist/assistant-view-availability.js +8 -0
- package/node_modules/@noodle-borg/assistant-gateway/dist/elevation-store.d.ts +3 -0
- package/node_modules/@noodle-borg/assistant-gateway/dist/elevation.d.ts +7 -1
- package/node_modules/@noodle-borg/assistant-gateway/dist/elevation.js +1 -0
- package/node_modules/@noodle-borg/assistant-gateway/dist/in-memory-elevation-store.d.ts +1 -0
- package/node_modules/@noodle-borg/assistant-gateway/dist/in-memory-elevation-store.js +1 -0
- package/node_modules/@noodle-borg/assistant-gateway/dist/portable.d.ts +1 -0
- package/node_modules/@noodle-borg/assistant-gateway/dist/portable.js +1 -0
- package/node_modules/@noodle-borg/assistant-gateway/package.json +2 -1
- package/node_modules/@noodle-borg/authoring/dist/assistant.d.ts +2 -1
- package/node_modules/@noodle-borg/authoring/dist/connections.d.ts +0 -2
- package/node_modules/@noodle-borg/authoring/dist/connections.js +1 -1
- package/node_modules/@noodle-borg/authoring/dist/load-authored.js +2 -2
- package/node_modules/@noodle-borg/authoring/dist/react/bridge.d.ts +3 -2
- package/node_modules/@noodle-borg/authoring/dist/react/form-components.d.ts +0 -8
- package/node_modules/@noodle-borg/authoring/dist/react/form-components.js +2 -4
- package/node_modules/@noodle-borg/authoring/dist/react/hooks.d.ts +2 -2
- package/node_modules/@noodle-borg/authoring/dist/server.d.ts +2 -0
- package/node_modules/@noodle-borg/authoring/dist/server.js +3 -0
- package/node_modules/@noodle-borg/compiler/dist/artifact/types.d.ts +12 -11
- package/node_modules/@noodle-borg/compiler/dist/artifact/version.d.ts +4 -1
- package/node_modules/@noodle-borg/compiler/dist/artifact/version.js +4 -1
- package/node_modules/@noodle-borg/compiler/dist/compile.d.ts +0 -1
- package/node_modules/@noodle-borg/compiler/dist/fulfilment-structural.d.ts +1 -1
- package/node_modules/@noodle-borg/compiler/dist/manifest/expression.d.ts +14 -14
- package/node_modules/@noodle-borg/compiler/dist/manifest/naming.d.ts +0 -2
- package/node_modules/@noodle-borg/compiler/dist/manifest/naming.js +1 -1
- package/node_modules/@noodle-borg/compiler/dist/manifest/schema.d.ts +4 -0
- package/node_modules/@noodle-borg/compiler/dist/manifest/schema.js +20 -1
- package/node_modules/@noodle-borg/compiler/dist/manifest/website-projection.d.ts +2 -1
- package/node_modules/@noodle-borg/compiler/dist/state-handles.js +1 -0
- package/node_modules/@noodle-borg/compiler/package.json +1 -4
- package/node_modules/@noodle-borg/connector-defs/dist/credential-profiles.js +1 -1
- package/node_modules/@noodle-borg/connector-defs/dist/schema.d.ts +0 -6
- package/node_modules/@noodle-borg/connector-http/dist/http-connector.d.ts +2 -2
- package/node_modules/@noodle-borg/connector-http/dist/http-response.d.ts +2 -1
- package/node_modules/@noodle-borg/connector-http/dist/mcp/config.js +1 -1
- package/node_modules/@noodle-borg/control-plane/dist/deploy-auth.d.ts +0 -1
- package/node_modules/@noodle-borg/developer-mcp/dist/widgets/shared.js +1 -1
- package/node_modules/@noodle-borg/knowledge-operations/dist/crawl-lifecycle.d.ts +2 -1
- package/node_modules/@noodle-borg/knowledge-operations/package.json +1 -2
- package/node_modules/@noodle-borg/observability/dist/request-events-postgres.js +3 -1
- package/node_modules/@noodle-borg/plugin-distribution/dist/openai-submission-render.js +1 -1
- package/node_modules/@noodle-borg/protocol/dist/index.d.ts +1 -1
- package/node_modules/@noodle-borg/protocol/dist/index.js +1 -1
- package/node_modules/@noodle-borg/protocol/dist/interaction-envelope.js +2 -2
- package/node_modules/@noodle-borg/protocol/dist/jsonrpc.d.ts +1 -1
- package/node_modules/@noodle-borg/protocol/dist/jsonrpc.js +1 -1
- package/node_modules/@noodle-borg/protocol/dist/mapping.d.ts +4 -6
- package/node_modules/@noodle-borg/protocol/dist/mapping.js +1 -1
- package/node_modules/@noodle-borg/protocol/dist/observation.d.ts +0 -9
- package/node_modules/@noodle-borg/protocol/dist/observation.js +1 -1
- package/node_modules/@noodle-borg/protocol/dist/v2/handler.d.ts +2 -1
- package/node_modules/@noodle-borg/protocol/dist/v2/versions.d.ts +4 -0
- package/node_modules/@noodle-borg/protocol/dist/v2/versions.js +2 -0
- package/node_modules/@noodle-borg/protocol/dist/widget/domain-projection.d.ts +2 -1
- package/node_modules/@noodle-borg/protocol/package.json +0 -1
- package/node_modules/@noodle-borg/runtime/dist/broker/types.d.ts +2 -2
- package/node_modules/@noodle-borg/runtime/dist/index.d.ts +1 -0
- package/node_modules/@noodle-borg/runtime/dist/index.js +1 -0
- package/node_modules/@noodle-borg/runtime/dist/state-handle-ownership.d.ts +21 -0
- package/node_modules/@noodle-borg/runtime/dist/state-handle-ownership.js +10 -0
- package/node_modules/@noodle-borg/runtime/package.json +6 -1
- package/node_modules/@noodle-borg/service/dist/app-package-snapshot.d.ts +1 -2
- package/node_modules/@noodle-borg/service/dist/app-package-snapshot.js +1 -2
- package/node_modules/@noodle-borg/service/dist/archive-preflight.js +1 -1
- package/node_modules/@noodle-borg/service/dist/assets.js +1 -1
- package/node_modules/@noodle-borg/service/dist/assistant-bindings.js +2 -2
- package/node_modules/@noodle-borg/service/dist/client-compatibility.js +1 -2
- package/node_modules/@noodle-borg/service/dist/developer-mcp/mount.js +2 -2
- package/node_modules/@noodle-borg/service/dist/external-credential-exchange.d.ts +0 -1
- package/node_modules/@noodle-borg/service/dist/external-credential-exchange.js +1 -1
- package/node_modules/@noodle-borg/service/dist/http-util.js +1 -72
- package/node_modules/@noodle-borg/service/dist/managed-config-expressions.d.ts +0 -1
- package/node_modules/@noodle-borg/service/dist/managed-config-expressions.js +1 -1
- package/node_modules/@noodle-borg/service/dist/oauth/customer-bridge.js +1 -1
- package/node_modules/@noodle-borg/service/dist/oauth/developer-grant.js +2 -2
- package/node_modules/@noodle-borg/service/dist/observability-runtime.js +2 -3
- package/node_modules/@noodle-borg/service/dist/registry-targets.js +3 -3
- package/node_modules/@noodle-borg/service/dist/routes/access-mode.js +0 -4
- package/node_modules/@noodle-borg/service/dist/routes/access.js +1 -1
- package/node_modules/@noodle-borg/service/dist/routes/alerts.js +3 -2
- package/node_modules/@noodle-borg/service/dist/routes/analytics.js +2 -1
- package/node_modules/@noodle-borg/service/dist/routes/apps.js +1 -1
- package/node_modules/@noodle-borg/service/dist/routes/archive.js +2 -1
- package/node_modules/@noodle-borg/service/dist/routes/asset-control-plane.js +2 -1
- package/node_modules/@noodle-borg/service/dist/routes/assistant-agent.js +7 -2
- package/node_modules/@noodle-borg/service/dist/routes/assistant-appearance.js +2 -1
- package/node_modules/@noodle-borg/service/dist/routes/assistant-clients.js +2 -1
- package/node_modules/@noodle-borg/service/dist/routes/assistant-doctor.js +2 -1
- package/node_modules/@noodle-borg/service/dist/routes/assistant-elevation.js +15 -8
- package/node_modules/@noodle-borg/service/dist/routes/assistant-embeds.js +2 -1
- package/node_modules/@noodle-borg/service/dist/routes/assistant-interaction-replay.js +5 -3
- package/node_modules/@noodle-borg/service/dist/routes/assistant-interactions.js +5 -3
- package/node_modules/@noodle-borg/service/dist/routes/assistant-public-configuration.js +1 -1
- package/node_modules/@noodle-borg/service/dist/routes/assistant-public-session.js +1 -1
- package/node_modules/@noodle-borg/service/dist/routes/assistant-route-http.js +4 -3
- package/node_modules/@noodle-borg/service/dist/routes/assistant-sandbox.js +1 -1
- package/node_modules/@noodle-borg/service/dist/routes/assistant-suggestions.js +1 -1
- package/node_modules/@noodle-borg/service/dist/routes/assistant-transcript.js +48 -9
- package/node_modules/@noodle-borg/service/dist/routes/assistant-usage.js +2 -1
- package/node_modules/@noodle-borg/service/dist/routes/assistant.js +2 -1
- package/node_modules/@noodle-borg/service/dist/routes/auth-discovery.js +2 -2
- package/node_modules/@noodle-borg/service/dist/routes/auth-doctor-live.js +1 -1
- package/node_modules/@noodle-borg/service/dist/routes/config-values-paths.js +1 -1
- package/node_modules/@noodle-borg/service/dist/routes/config-values.js +2 -1
- package/node_modules/@noodle-borg/service/dist/routes/control-plane.js +2 -3
- package/node_modules/@noodle-borg/service/dist/routes/deploy-preflight.js +1 -1
- package/node_modules/@noodle-borg/service/dist/routes/deployment-activation-response.js +1 -1
- package/node_modules/@noodle-borg/service/dist/routes/deployment-lock.js +1 -1
- package/node_modules/@noodle-borg/service/dist/routes/deployment-package.js +1 -1
- package/node_modules/@noodle-borg/service/dist/routes/deployments.js +1 -1
- package/node_modules/@noodle-borg/service/dist/routes/diagnostics.js +2 -1
- package/node_modules/@noodle-borg/service/dist/routes/environment-production.js +2 -1
- package/node_modules/@noodle-borg/service/dist/routes/envs.js +1 -1
- package/node_modules/@noodle-borg/service/dist/routes/google-workload-identity.js +1 -1
- package/node_modules/@noodle-borg/service/dist/routes/intent-capture.js +2 -1
- package/node_modules/@noodle-borg/service/dist/routes/logs.js +2 -1
- package/node_modules/@noodle-borg/service/dist/routes/openai-apps-challenge.js +1 -2
- package/node_modules/@noodle-borg/service/dist/routes/org-admin.js +2 -1
- package/node_modules/@noodle-borg/service/dist/routes/org-domains.js +2 -1
- package/node_modules/@noodle-borg/service/dist/routes/org-mcp-subdomain.js +1 -1
- package/node_modules/@noodle-borg/service/dist/routes/paths.js +0 -39
- package/node_modules/@noodle-borg/service/dist/routes/protected-resource-metadata.js +3 -3
- package/node_modules/@noodle-borg/service/dist/routes/rollback.js +2 -1
- package/node_modules/@noodle-borg/service/dist/routes/service-principals-dispatch.js +2 -3
- package/node_modules/@noodle-borg/service/dist/routes/service-principals.js +1 -1
- package/node_modules/@noodle-borg/service/dist/service-config.d.ts +3 -2
- package/node_modules/@noodle-borg/service/dist/service-config.js +1 -1
- package/node_modules/@noodle-borg/service/dist/service.js +5 -2
- package/node_modules/@noodle-borg/service/dist/store/alert-rules.js +1 -1
- package/node_modules/@noodle-borg/service/dist/store/audit.js +1 -1
- package/node_modules/@noodle-borg/service/dist/store/records.js +1 -1
- package/node_modules/@noodle-borg/service/dist/store/validate.d.ts +1 -1
- package/node_modules/@noodle-borg/service/dist/store/validate.js +1 -1
- package/node_modules/@noodle-borg/service/dist/store.d.ts +2 -2
- package/node_modules/@noodle-borg/service/dist/store.js +1 -1
- package/node_modules/@noodle-borg/service/package.json +1 -1
- package/node_modules/@noodle-borg/transport-http/dist/client-identity.js +1 -1
- package/node_modules/@noodle-borg/transport-http/dist/handler.d.ts +1 -2
- package/node_modules/@noodle-borg/transport-http/dist/identity-authorization.d.ts +51 -0
- package/node_modules/@noodle-borg/transport-http/dist/identity-authorization.js +7 -7
- package/node_modules/@noodle-borg/transport-http/dist/index.d.ts +4 -2
- package/node_modules/@noodle-borg/transport-http/dist/index.js +3 -1
- package/node_modules/@noodle-borg/transport-http/dist/request-body.d.ts +29 -0
- package/node_modules/@noodle-borg/transport-http/dist/request-body.js +64 -0
- package/node_modules/@noodle-borg/transport-http/dist/responses.d.ts +28 -0
- package/node_modules/@noodle-borg/transport-http/dist/routing.d.ts +2 -4
- package/node_modules/@noodle-borg/transport-http/dist/routing.js +3 -3
- package/node_modules/@noodle-borg/transport-http/dist/serve-request.js +2 -13
- package/node_modules/@noodle-borg/transport-http/package.json +0 -1
- package/node_modules/@noodle-borg/wire-contracts/dist/assistant.d.ts +19 -25
- package/node_modules/@noodle-borg/wire-contracts/dist/assistant.js +20 -34
- package/node_modules/@noodleseed/assistant/README.md +1 -1
- package/node_modules/@noodleseed/assistant/package.json +2 -1
- package/package.json +2 -2
- package/dist/commands/catalog-data-billing.d.ts +0 -3
- package/dist/commands/catalog-data-billing.d.ts.map +0 -1
- package/dist/commands/catalog-data-billing.js +0 -3
- package/dist/commands/catalog-data-billing.js.map +0 -1
- package/dist/commands/catalog-data-policy.d.ts +0 -3
- package/dist/commands/catalog-data-policy.d.ts.map +0 -1
- package/dist/commands/catalog-data-policy.js +0 -3
- package/dist/commands/catalog-data-policy.js.map +0 -1
- package/node_modules/@noodle-borg/compiler/dist/artifact/catalog-emission.d.ts +0 -50
- package/node_modules/@noodle-borg/compiler/dist/context-compile.d.ts +0 -17
- package/node_modules/@noodle-borg/transport-http/dist/module-http.d.ts +0 -13
- package/node_modules/@noodle-borg/transport-http/dist/module-http.js +0 -28
|
@@ -74,8 +74,8 @@ export interface WidgetUiMeta {
|
|
|
74
74
|
*/
|
|
75
75
|
readonly visibility?: readonly ('model' | 'app')[];
|
|
76
76
|
}
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
type WidgetPermissionGrant = Readonly<Record<string, never>>;
|
|
78
|
+
interface WidgetPermissions {
|
|
79
79
|
readonly camera?: WidgetPermissionGrant;
|
|
80
80
|
readonly microphone?: WidgetPermissionGrant;
|
|
81
81
|
readonly geolocation?: WidgetPermissionGrant;
|
|
@@ -150,6 +150,7 @@ export interface ArtifactStateHandle {
|
|
|
150
150
|
readonly version: string;
|
|
151
151
|
readonly scope: ArtifactStateHandleScope;
|
|
152
152
|
readonly ttlSeconds?: number;
|
|
153
|
+
readonly claimOnAuthentication?: true;
|
|
153
154
|
}
|
|
154
155
|
export interface ArtifactState {
|
|
155
156
|
readonly handles: Readonly<Record<string, ArtifactStateHandle>>;
|
|
@@ -164,14 +165,14 @@ export interface ArtifactServerContext {
|
|
|
164
165
|
readonly fulfilment: ArtifactFulfilment;
|
|
165
166
|
};
|
|
166
167
|
}
|
|
167
|
-
|
|
168
|
+
interface ArtifactOidcAuth {
|
|
168
169
|
readonly kind?: 'oidc' | undefined;
|
|
169
170
|
readonly issuer: string;
|
|
170
171
|
readonly audience: string;
|
|
171
172
|
readonly claims?: ArtifactAuthClaimMap | undefined;
|
|
172
173
|
readonly routing?: ArtifactCustomerAuthRouting | undefined;
|
|
173
174
|
}
|
|
174
|
-
|
|
175
|
+
interface ArtifactFederatedOidcAuth {
|
|
175
176
|
readonly kind: 'federatedOidc';
|
|
176
177
|
readonly issuers: readonly {
|
|
177
178
|
readonly issuer: string;
|
|
@@ -185,7 +186,7 @@ export interface ArtifactCustomerAuthRouting {
|
|
|
185
186
|
readonly claim: string;
|
|
186
187
|
}>>;
|
|
187
188
|
}
|
|
188
|
-
|
|
189
|
+
interface ArtifactBridgeAuth {
|
|
189
190
|
readonly kind: 'bridge';
|
|
190
191
|
readonly provider: string;
|
|
191
192
|
readonly verifyUrl?: string | undefined;
|
|
@@ -203,8 +204,8 @@ export interface ArtifactBridgeAuth {
|
|
|
203
204
|
readonly authMethod?: 'client_secret_basic' | 'client_secret_post' | undefined;
|
|
204
205
|
readonly user?: ArtifactAuthClaimMap | undefined;
|
|
205
206
|
}
|
|
206
|
-
|
|
207
|
-
|
|
207
|
+
type ArtifactAuth = ArtifactOidcAuth | ArtifactFederatedOidcAuth | ArtifactBridgeAuth;
|
|
208
|
+
interface ArtifactAuthClaimMap {
|
|
208
209
|
readonly id?: string | undefined;
|
|
209
210
|
readonly email?: string | undefined;
|
|
210
211
|
readonly name?: string | undefined;
|
|
@@ -284,7 +285,7 @@ export interface ArtifactServer {
|
|
|
284
285
|
};
|
|
285
286
|
readonly state?: ArtifactState;
|
|
286
287
|
}
|
|
287
|
-
|
|
288
|
+
interface ArtifactBrandTheme {
|
|
288
289
|
readonly surface?: string | undefined;
|
|
289
290
|
readonly surfaceRaised?: string | undefined;
|
|
290
291
|
readonly surfaceMuted?: string | undefined;
|
|
@@ -301,19 +302,19 @@ export interface ArtifactBrandTheme {
|
|
|
301
302
|
readonly danger?: string | undefined;
|
|
302
303
|
readonly code?: string | undefined;
|
|
303
304
|
}
|
|
304
|
-
|
|
305
|
+
interface ArtifactSource {
|
|
305
306
|
readonly manifestName: string;
|
|
306
307
|
/** Application version retained for artifact compatibility. */
|
|
307
308
|
readonly manifestVersion: string;
|
|
308
309
|
/** Core manifest language version that produced this internal artifact. */
|
|
309
310
|
readonly coreVersion?: '1' | '2';
|
|
310
311
|
}
|
|
311
|
-
|
|
312
|
+
interface ArtifactCapabilities {
|
|
312
313
|
readonly tools: readonly string[];
|
|
313
314
|
readonly resources?: readonly string[];
|
|
314
315
|
readonly prompts?: readonly string[];
|
|
315
316
|
}
|
|
316
|
-
|
|
317
|
+
interface ArtifactRequirements {
|
|
317
318
|
readonly capabilities?: readonly CapabilityRequirementName[];
|
|
318
319
|
}
|
|
319
320
|
export type ArtifactConnectionSource = {
|
|
@@ -47,8 +47,11 @@
|
|
|
47
47
|
* endpoint claim mappings, resolved operation references may carry ordinary/action endpoint dependency
|
|
48
48
|
* keys, and artifacts carry only endpoint policies. Resolved customer URLs remain request-private runtime
|
|
49
49
|
* state.
|
|
50
|
+
*
|
|
51
|
+
* `0.16.0` (Anonymous-to-authenticated onboarding): additive — finite caller-scoped state handles may
|
|
52
|
+
* opt into atomic ownership adoption when a single-use assistant sign-in ticket is spent.
|
|
50
53
|
*/
|
|
51
|
-
export declare const ARTIFACT_SCHEMA_VERSION = "0.
|
|
54
|
+
export declare const ARTIFACT_SCHEMA_VERSION = "0.16.0";
|
|
52
55
|
/** mimeType for an MCP Apps UI resource (SEP-1865). Widgets are served under this profile. */
|
|
53
56
|
export declare const MCP_APP_MIME_TYPE = "text/html;profile=mcp-app";
|
|
54
57
|
//# sourceMappingURL=version.d.ts.map
|
|
@@ -47,8 +47,11 @@
|
|
|
47
47
|
* endpoint claim mappings, resolved operation references may carry ordinary/action endpoint dependency
|
|
48
48
|
* keys, and artifacts carry only endpoint policies. Resolved customer URLs remain request-private runtime
|
|
49
49
|
* state.
|
|
50
|
+
*
|
|
51
|
+
* `0.16.0` (Anonymous-to-authenticated onboarding): additive — finite caller-scoped state handles may
|
|
52
|
+
* opt into atomic ownership adoption when a single-use assistant sign-in ticket is spent.
|
|
50
53
|
*/
|
|
51
|
-
export const ARTIFACT_SCHEMA_VERSION = '0.
|
|
54
|
+
export const ARTIFACT_SCHEMA_VERSION = '0.16.0';
|
|
52
55
|
/** mimeType for an MCP Apps UI resource (SEP-1865). Widgets are served under this profile. */
|
|
53
56
|
export const MCP_APP_MIME_TYPE = 'text/html;profile=mcp-app';
|
|
54
57
|
//# sourceMappingURL=version.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { type HostedAssetOptions, type LocalAssetOptions } from './assets.js';
|
|
2
2
|
import type { ConnectorCatalog } from './catalog/types.js';
|
|
3
3
|
import type { CompileError, CompileResult } from './errors.js';
|
|
4
|
-
export type { StructuralTool } from './artifact/catalog-emission.js';
|
|
5
4
|
export interface CompileOptions {
|
|
6
5
|
/**
|
|
7
6
|
* Connector catalog used to resolve operation references. When supplied, the compiler resolves
|
|
@@ -14,7 +14,7 @@ export interface StructOp {
|
|
|
14
14
|
* A structurally-validated flow step with parsed expressions; connector refs resolve later. The Core v1
|
|
15
15
|
* verb set is `operation` + `map` + portable `elicit`; `compute` remains reserved (ADR 0150).
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
type StructStep = {
|
|
18
18
|
readonly id: string;
|
|
19
19
|
readonly kind: 'operation';
|
|
20
20
|
readonly cond?: CondNode;
|
|
@@ -20,12 +20,12 @@ import type { CompileError } from '../errors.js';
|
|
|
20
20
|
* Roots an expression may read. Manifest expressions use `input`/`steps`; other contexts (e.g. connector
|
|
21
21
|
* request/response mapping) pass their own allowed-roots set to {@link parseValue}/{@link parseCondition}.
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
type ExprRoot = string;
|
|
24
|
+
interface PathSegmentProp {
|
|
25
25
|
readonly kind: 'prop';
|
|
26
26
|
readonly name: string;
|
|
27
27
|
}
|
|
28
|
-
|
|
28
|
+
interface PathSegmentIndex {
|
|
29
29
|
readonly kind: 'index';
|
|
30
30
|
readonly value: number;
|
|
31
31
|
}
|
|
@@ -37,17 +37,17 @@ export interface PathNode {
|
|
|
37
37
|
readonly segments: readonly PathSegment[];
|
|
38
38
|
}
|
|
39
39
|
/** A literal value (boolean/number/string/null), type-preserving at runtime. */
|
|
40
|
-
|
|
40
|
+
interface LiteralNode {
|
|
41
41
|
readonly kind: 'literal';
|
|
42
42
|
readonly value: string | number | boolean | null;
|
|
43
43
|
}
|
|
44
|
-
|
|
44
|
+
type TemplatePartText = {
|
|
45
45
|
readonly kind: 'text';
|
|
46
46
|
readonly value: string;
|
|
47
47
|
};
|
|
48
|
-
|
|
48
|
+
type TemplatePart = TemplatePartText | PathNode | LiteralNode;
|
|
49
49
|
/** String interpolation; always produces a string at runtime (docs/SPEC.md "Evaluation Rules"). */
|
|
50
|
-
|
|
50
|
+
interface TemplateNode {
|
|
51
51
|
readonly kind: 'template';
|
|
52
52
|
readonly parts: readonly TemplatePart[];
|
|
53
53
|
}
|
|
@@ -76,8 +76,8 @@ export interface CoalesceNode {
|
|
|
76
76
|
readonly right: ExprNode;
|
|
77
77
|
}
|
|
78
78
|
declare const FUNCTION_NAMES: readonly ["coalesce", "equals", "lower", "upper", "formatCurrency", "formatNumber", "formatDateTime", "formatRelativeTime", "formatUnit", "formatPlural", "urlEncode"];
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
type FunctionName = (typeof FUNCTION_NAMES)[number];
|
|
80
|
+
interface FunctionNode {
|
|
81
81
|
readonly kind: 'function';
|
|
82
82
|
readonly name: FunctionName;
|
|
83
83
|
readonly args: readonly ExprNode[];
|
|
@@ -85,26 +85,26 @@ export interface FunctionNode {
|
|
|
85
85
|
/** A value-position expression node (the result of {@link parseValue}). */
|
|
86
86
|
export type ExprNode = PathNode | LiteralNode | TemplateNode | ArrayNode | ObjectNode | CoalesceNode | FunctionNode;
|
|
87
87
|
/** Operand of an equality comparison: a path or a literal. */
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
type Comparable = PathNode | LiteralNode;
|
|
89
|
+
interface CompareNode {
|
|
90
90
|
readonly kind: 'cond';
|
|
91
91
|
readonly op: 'eq' | 'neq';
|
|
92
92
|
readonly left: Comparable;
|
|
93
93
|
readonly right: Comparable;
|
|
94
94
|
}
|
|
95
|
-
|
|
95
|
+
interface LogicalNode {
|
|
96
96
|
readonly kind: 'cond';
|
|
97
97
|
readonly op: 'and' | 'or';
|
|
98
98
|
readonly left: CondNode;
|
|
99
99
|
readonly right: CondNode;
|
|
100
100
|
}
|
|
101
|
-
|
|
101
|
+
interface NotNode {
|
|
102
102
|
readonly kind: 'cond';
|
|
103
103
|
readonly op: 'not';
|
|
104
104
|
readonly operand: CondNode;
|
|
105
105
|
}
|
|
106
106
|
/** Truthiness of a path used as a bare `if` condition (e.g. `${input.is_active}`). */
|
|
107
|
-
|
|
107
|
+
interface TruthyNode {
|
|
108
108
|
readonly kind: 'truthy';
|
|
109
109
|
readonly operand: PathNode;
|
|
110
110
|
}
|
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
* lowercase letters, numbers, and underscores (docs/SPEC.md "Naming Rules").
|
|
4
4
|
*/
|
|
5
5
|
export declare const NAME_PATTERN: RegExp;
|
|
6
|
-
/** Connector operation reference: `<connector>.<operation>`, each segment a valid name. */
|
|
7
|
-
export declare const OPERATION_REF_PATTERN: RegExp;
|
|
8
6
|
export declare function isValidName(name: string): boolean;
|
|
9
7
|
/** Split `<connector>.<operation>` into parts, or return null if it is not well-formed. */
|
|
10
8
|
export declare function parseOperationRef(ref: string): {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
export const NAME_PATTERN = /^[a-z0-9_]+$/;
|
|
6
6
|
/** Connector operation reference: `<connector>.<operation>`, each segment a valid name. */
|
|
7
|
-
|
|
7
|
+
const OPERATION_REF_PATTERN = /^[a-z0-9_]+\.[a-z0-9_]+$/;
|
|
8
8
|
export function isValidName(name) {
|
|
9
9
|
return NAME_PATTERN.test(name);
|
|
10
10
|
}
|
|
@@ -25,6 +25,7 @@ export declare const manifestV1Schema: z.ZodObject<{
|
|
|
25
25
|
caller: "caller";
|
|
26
26
|
}>>;
|
|
27
27
|
ttlSeconds: z.ZodOptional<z.ZodNumber>;
|
|
28
|
+
claimOnAuthentication: z.ZodOptional<z.ZodLiteral<true>>;
|
|
28
29
|
}, z.core.$strict>>;
|
|
29
30
|
}, z.core.$strict>>;
|
|
30
31
|
requires: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
@@ -549,6 +550,7 @@ export declare const manifestV2Schema: z.ZodObject<{
|
|
|
549
550
|
caller: "caller";
|
|
550
551
|
}>>;
|
|
551
552
|
ttlSeconds: z.ZodOptional<z.ZodNumber>;
|
|
553
|
+
claimOnAuthentication: z.ZodOptional<z.ZodLiteral<true>>;
|
|
552
554
|
}, z.core.$strict>>;
|
|
553
555
|
}, z.core.$strict>>;
|
|
554
556
|
requires: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
@@ -1199,6 +1201,7 @@ export declare const manifestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1199
1201
|
caller: "caller";
|
|
1200
1202
|
}>>;
|
|
1201
1203
|
ttlSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1204
|
+
claimOnAuthentication: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1202
1205
|
}, z.core.$strict>>;
|
|
1203
1206
|
}, z.core.$strict>>;
|
|
1204
1207
|
requires: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
@@ -1722,6 +1725,7 @@ export declare const manifestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1722
1725
|
caller: "caller";
|
|
1723
1726
|
}>>;
|
|
1724
1727
|
ttlSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1728
|
+
claimOnAuthentication: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1725
1729
|
}, z.core.$strict>>;
|
|
1726
1730
|
}, z.core.$strict>>;
|
|
1727
1731
|
requires: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
@@ -490,8 +490,27 @@ const stateHandleSchema = z
|
|
|
490
490
|
.positive()
|
|
491
491
|
.max(60 * 60 * 24 * 30)
|
|
492
492
|
.optional(),
|
|
493
|
+
claimOnAuthentication: z.literal(true).optional(),
|
|
493
494
|
})
|
|
494
|
-
.strict()
|
|
495
|
+
.strict()
|
|
496
|
+
.superRefine((handle, ctx) => {
|
|
497
|
+
if (handle.claimOnAuthentication !== true)
|
|
498
|
+
return;
|
|
499
|
+
if (handle.scope !== 'caller') {
|
|
500
|
+
ctx.addIssue({
|
|
501
|
+
code: 'custom',
|
|
502
|
+
path: ['scope'],
|
|
503
|
+
message: 'claimOnAuthentication requires an explicit caller scope',
|
|
504
|
+
});
|
|
505
|
+
}
|
|
506
|
+
if (handle.ttlSeconds === undefined) {
|
|
507
|
+
ctx.addIssue({
|
|
508
|
+
code: 'custom',
|
|
509
|
+
path: ['ttlSeconds'],
|
|
510
|
+
message: 'claimOnAuthentication requires a finite ttlSeconds',
|
|
511
|
+
});
|
|
512
|
+
}
|
|
513
|
+
});
|
|
495
514
|
const stateSchema = z
|
|
496
515
|
.object({
|
|
497
516
|
handles: z
|
|
@@ -17,7 +17,7 @@ import type { CompileError } from '../errors.js';
|
|
|
17
17
|
* re-derived per call, because a new `ArtifactTool` field would be a Core surface change under ADR 0150.
|
|
18
18
|
* ADR 0055's third class — a declared anonymous fallback — stays reserved, not produced.
|
|
19
19
|
*/
|
|
20
|
-
|
|
20
|
+
interface AssistantSurfaceInput {
|
|
21
21
|
readonly mode: 'authenticated' | 'public' | 'mixed';
|
|
22
22
|
readonly capabilities?: readonly {
|
|
23
23
|
readonly kind: string;
|
|
@@ -39,4 +39,5 @@ export interface WebsiteProjectionSurfaces {
|
|
|
39
39
|
/** A tool touches identity when it reads `${user}` or requires verified claims (ADR 0185). */
|
|
40
40
|
export declare function anonymousBehavior(tool: ArtifactTool): 'public-safe' | 'requires-identity';
|
|
41
41
|
export declare function validateWebsiteProjection(assistant: AssistantProjectionInput | undefined, surfaces: WebsiteProjectionSurfaces): readonly CompileError[];
|
|
42
|
+
export {};
|
|
42
43
|
//# sourceMappingURL=website-projection.d.ts.map
|
|
@@ -27,6 +27,7 @@ export function compileState(manifest, schemasMap, errors) {
|
|
|
27
27
|
version: handle.version,
|
|
28
28
|
scope: handle.scope ?? 'deployment',
|
|
29
29
|
...(handle.ttlSeconds !== undefined ? { ttlSeconds: handle.ttlSeconds } : {}),
|
|
30
|
+
...(handle.claimOnAuthentication === true ? { claimOnAuthentication: true } : {}),
|
|
30
31
|
};
|
|
31
32
|
}
|
|
32
33
|
return { handles };
|
|
@@ -28,8 +28,6 @@
|
|
|
28
28
|
"@noodle-borg/uri-template": "0.0.0",
|
|
29
29
|
"@noodle-borg/knowledge": "0.0.0",
|
|
30
30
|
"@noodle-borg/capabilities": "0.0.0",
|
|
31
|
-
"react": "^19.2.7",
|
|
32
|
-
"react-dom": "^19.2.7",
|
|
33
31
|
"tailwindcss": "^4.3.1",
|
|
34
32
|
"tldts": "^7.4.9",
|
|
35
33
|
"yaml": "^2.9.0",
|
|
@@ -37,7 +35,6 @@
|
|
|
37
35
|
},
|
|
38
36
|
"devDependencies": {
|
|
39
37
|
"@types/node": "^24.13.1",
|
|
40
|
-
"
|
|
41
|
-
"@types/react-dom": "^19.2.3"
|
|
38
|
+
"ajv": "^8.20.0"
|
|
42
39
|
}
|
|
43
40
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Project catalog operation credential metadata without adding it to compatibility signatures. */
|
|
2
|
-
|
|
2
|
+
function operationCredentials(def) {
|
|
3
3
|
const requirements = {};
|
|
4
4
|
for (const [name, operation] of Object.entries(def.operations)) {
|
|
5
5
|
const credentials = operation.credentials;
|
|
@@ -5,11 +5,6 @@ declare const credentialProfileSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5
5
|
kind: z.ZodLiteral<"apiKey">;
|
|
6
6
|
header: z.ZodString;
|
|
7
7
|
}, z.core.$strict>], "kind">;
|
|
8
|
-
declare const operationCredentialsSchema: z.ZodObject<{
|
|
9
|
-
profiles: z.ZodArray<z.ZodString>;
|
|
10
|
-
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11
|
-
audience: z.ZodOptional<z.ZodString>;
|
|
12
|
-
}, z.core.$strict>;
|
|
13
8
|
/**
|
|
14
9
|
* A declarative downstream auth scheme: the scheme plus the *name* of the secret the broker should mint.
|
|
15
10
|
* Branches are `.strict()`, so an inline `value`/`token` key fails to parse — secrets can only be
|
|
@@ -1739,6 +1734,5 @@ export type ComputeOperationDef = z.infer<typeof computeOperationSchema>;
|
|
|
1739
1734
|
export type McpOperationDef = z.infer<typeof mcpOperationSchema>;
|
|
1740
1735
|
export type HttpAuthDef = z.infer<typeof httpAuthSchema>;
|
|
1741
1736
|
export type CredentialProfileDef = z.infer<typeof credentialProfileSchema>;
|
|
1742
|
-
export type OperationCredentialsDef = z.infer<typeof operationCredentialsSchema>;
|
|
1743
1737
|
export {};
|
|
1744
1738
|
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -16,8 +16,7 @@ export type HttpAuthScheme = {
|
|
|
16
16
|
} | {
|
|
17
17
|
readonly kind: 'cookie';
|
|
18
18
|
};
|
|
19
|
-
|
|
20
|
-
export interface HttpOperationResilience {
|
|
19
|
+
interface HttpOperationResilience {
|
|
21
20
|
readonly timeoutMs?: number;
|
|
22
21
|
readonly retry?: HttpRetryPolicy;
|
|
23
22
|
}
|
|
@@ -148,4 +147,5 @@ export declare class HttpConnector implements Connector {
|
|
|
148
147
|
signature(operation: string): OperationSignature | undefined;
|
|
149
148
|
invoke(call: ConnectorCall): Promise<unknown>;
|
|
150
149
|
}
|
|
150
|
+
export {};
|
|
151
151
|
//# sourceMappingURL=http-connector.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type DnsLookup } from './ssrf.js';
|
|
2
|
-
|
|
2
|
+
type HttpRetryCategory = 'timeout' | 'network_error' | 'rate_limited' | 'upstream_5xx';
|
|
3
3
|
export interface HttpRetryPolicy {
|
|
4
4
|
readonly maxAttempts?: number;
|
|
5
5
|
readonly baseDelayMs?: number;
|
|
@@ -24,4 +24,5 @@ export interface ResponseFetchOptions {
|
|
|
24
24
|
readonly lookup?: DnsLookup;
|
|
25
25
|
}
|
|
26
26
|
export declare function fetchResponseWithResilience(url: URL, op: ResponseOperation, init: RequestInit, options: ResponseFetchOptions): Promise<unknown>;
|
|
27
|
+
export {};
|
|
27
28
|
//# sourceMappingURL=http-response.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ConnectorInvocationError } from '@noodle-borg/runtime';
|
|
2
2
|
const VARIABLE = /^\$\{env\.([A-Za-z0-9_]+)\}$/;
|
|
3
3
|
const MAX_RESPONSE_BYTES = 6 * 1024 * 1024;
|
|
4
|
-
|
|
4
|
+
const DEFAULT_RESPONSE_BYTES = 1 << 20;
|
|
5
5
|
export function isVariable(value) {
|
|
6
6
|
return VARIABLE.test(value);
|
|
7
7
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { IncomingMessage } from 'node:http';
|
|
2
2
|
import type { ControlPlaneIdentity } from './contracts.js';
|
|
3
|
-
export type { ControlPlaneIdentity } from './contracts.js';
|
|
4
3
|
export type ControlPlaneAuthResult = {
|
|
5
4
|
readonly ok: true;
|
|
6
5
|
readonly identity?: ControlPlaneIdentity;
|
|
@@ -5,7 +5,7 @@ export function WidgetHeader(props) {
|
|
|
5
5
|
export function Panel(props) {
|
|
6
6
|
return (_jsxs("section", { className: "panel", children: [_jsxs("header", { className: "panel-header", children: [_jsx("h2", { children: props.title }), props.description === undefined ? null : _jsx("p", { children: props.description })] }), props.children] }));
|
|
7
7
|
}
|
|
8
|
-
|
|
8
|
+
function StatusBadge(props) {
|
|
9
9
|
return (_jsxs("p", { className: "status-badge", role: "status", children: [_jsx("span", { className: "visually-hidden", "data-status-label": "", children: "Status:" }), ' ', _jsx("span", { "data-bind": props.path, children: "Loading" })] }));
|
|
10
10
|
}
|
|
11
11
|
export function BoundValue(props) {
|
|
@@ -22,7 +22,7 @@ export declare class InMemoryCrawlStateStore implements CrawlStateStore {
|
|
|
22
22
|
put(tenant: KnowledgeTenantRef, componentName: string, state: SiteCrawlState): Promise<void>;
|
|
23
23
|
}
|
|
24
24
|
/** A provider config reference by name (variable()/secret() doctrine) — never a value. */
|
|
25
|
-
|
|
25
|
+
interface ProviderConfigRef {
|
|
26
26
|
readonly kind: 'variable' | 'secret';
|
|
27
27
|
readonly name: string;
|
|
28
28
|
}
|
|
@@ -68,4 +68,5 @@ export declare function runDueCrawls(deps: CrawlDeps, servedComponents: () => Pr
|
|
|
68
68
|
}[]>, at: number): Promise<void>;
|
|
69
69
|
/** Serve the crawled corpus: the bundled index over the site revision, hits remapped to `site`. */
|
|
70
70
|
export declare function searchSiteCorpus(hooks: KnowledgeDeployHooks, tenant: KnowledgeTenantRef, componentName: string, request: SearchRequest): Promise<readonly SearchHit[]>;
|
|
71
|
+
export {};
|
|
71
72
|
//# sourceMappingURL=crawl-lifecycle.d.ts.map
|
|
@@ -28,8 +28,7 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@noodle-borg/knowledge": "0.0.0",
|
|
30
30
|
"@noodle-borg/knowledge-crawl": "0.0.0",
|
|
31
|
-
"@noodle-borg/wire-contracts": "0.0.0"
|
|
32
|
-
"zod": "^4.4.3"
|
|
31
|
+
"@noodle-borg/wire-contracts": "0.0.0"
|
|
33
32
|
},
|
|
34
33
|
"devDependencies": {
|
|
35
34
|
"@types/node": "^24.13.1",
|
|
@@ -207,7 +207,9 @@ function rowToEvent(row) {
|
|
|
207
207
|
...(row.deployment_id !== null ? { deploymentId: row.deployment_id } : {}),
|
|
208
208
|
...(row.server_version !== null ? { serverVersion: row.server_version } : {}),
|
|
209
209
|
...(row.sdk_protocol_version !== null ? { sdkProtocolVersion: row.sdk_protocol_version } : {}),
|
|
210
|
-
...(row.protocol_era !== null
|
|
210
|
+
...(row.protocol_era !== null
|
|
211
|
+
? { protocolEra: row.protocol_era }
|
|
212
|
+
: {}),
|
|
211
213
|
...(row.session_id !== null ? { sessionId: row.session_id } : {}),
|
|
212
214
|
...(row.client_name !== null ? { clientName: row.client_name } : {}),
|
|
213
215
|
...(row.client_version !== null ? { clientVersion: row.client_version } : {}),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createHash } from 'node:crypto';
|
|
2
2
|
import { deterministicZip, skillSlug, } from '@noodle-borg/agent-packaging';
|
|
3
|
-
|
|
3
|
+
const OPENAI_SUBMISSION_SCHEMA = 'https://developers.openai.com/apps-sdk/schemas/chatgpt-app-submission.v1.json';
|
|
4
4
|
export function renderOpenAiSubmissionArtifacts(input, options, markdown) {
|
|
5
5
|
const slug = skillSlug(input.appPackage.app.name);
|
|
6
6
|
const skillArchivePath = `submission/${slug}-skill.zip`;
|
|
@@ -9,6 +9,6 @@ export { handleStatelessHttp } from './stateless.js';
|
|
|
9
9
|
export { evaluateToolAuthorization, filterAuthorizedTools, TOOL_AUTHORIZATION_DENIED, type ToolAuthorizationCaller, type ToolAuthorizationDecision, type ToolAuthorizationRuleClass, toolAuthorizationRuleClass, toolAuthorizationRuleFingerprint, } from './tool-authorization.js';
|
|
10
10
|
export { toolRequiresConfirmation } from './tool-confirmation.js';
|
|
11
11
|
export { createDualEraMcpHandler, createPlatformDualEraMcpHandler, } from './v2/handler.js';
|
|
12
|
-
export { type McpProtocolEra, MODERN_MCP_PROTOCOL_VERSION, SERVED_MCP_PROTOCOL_VERSIONS, type ServedMcpProtocolVersion, } from './v2/versions.js';
|
|
12
|
+
export { LEGACY_MCP_PROTOCOL_VERSION, type McpProtocolEra, type McpProtocolMode, MODERN_MCP_PROTOCOL_VERSION, SERVED_MCP_PROTOCOL_VERSIONS, type ServedMcpProtocolVersion, } from './v2/versions.js';
|
|
13
13
|
export { injectWidgetBridge } from './widget/inject.js';
|
|
14
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -8,6 +8,6 @@ export { handleStatelessHttp } from './stateless.js';
|
|
|
8
8
|
export { evaluateToolAuthorization, filterAuthorizedTools, TOOL_AUTHORIZATION_DENIED, toolAuthorizationRuleClass, toolAuthorizationRuleFingerprint, } from './tool-authorization.js';
|
|
9
9
|
export { toolRequiresConfirmation } from './tool-confirmation.js';
|
|
10
10
|
export { createDualEraMcpHandler, createPlatformDualEraMcpHandler, } from './v2/handler.js';
|
|
11
|
-
export { MODERN_MCP_PROTOCOL_VERSION, SERVED_MCP_PROTOCOL_VERSIONS, } from './v2/versions.js';
|
|
11
|
+
export { LEGACY_MCP_PROTOCOL_VERSION, MODERN_MCP_PROTOCOL_VERSION, SERVED_MCP_PROTOCOL_VERSIONS, } from './v2/versions.js';
|
|
12
12
|
export { injectWidgetBridge } from './widget/inject.js';
|
|
13
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -32,7 +32,7 @@ export function toolUsesPortableInteractionArgument(tool) {
|
|
|
32
32
|
typeof properties === 'object' &&
|
|
33
33
|
Object.hasOwn(properties, '__noodleInteraction'));
|
|
34
34
|
}
|
|
35
|
-
|
|
35
|
+
function interactionResponsesFromMeta(value) {
|
|
36
36
|
if (value === null || typeof value !== 'object' || Array.isArray(value))
|
|
37
37
|
return {};
|
|
38
38
|
const noodle = value.noodle;
|
|
@@ -43,7 +43,7 @@ export function interactionResponsesFromMeta(value) {
|
|
|
43
43
|
return {};
|
|
44
44
|
return parseElicitationResponses(interaction.responses);
|
|
45
45
|
}
|
|
46
|
-
|
|
46
|
+
function parseElicitationResponses(value) {
|
|
47
47
|
if (value === null || typeof value !== 'object' || Array.isArray(value))
|
|
48
48
|
return {};
|
|
49
49
|
const responses = {};
|
|
@@ -16,5 +16,5 @@ export interface JsonRpcErrorObject {
|
|
|
16
16
|
readonly message: string;
|
|
17
17
|
readonly data?: unknown;
|
|
18
18
|
}
|
|
19
|
-
export { LEGACY_MCP_ERROR, RESOURCE_NOT_FOUND,
|
|
19
|
+
export { LEGACY_MCP_ERROR, RESOURCE_NOT_FOUND, } from './error-codes.js';
|
|
20
20
|
//# sourceMappingURL=jsonrpc.d.ts.map
|
|
@@ -11,5 +11,5 @@ export const JSON_RPC = {
|
|
|
11
11
|
INVALID_PARAMS: -32602,
|
|
12
12
|
INTERNAL_ERROR: -32603,
|
|
13
13
|
};
|
|
14
|
-
export { LEGACY_MCP_ERROR, RESOURCE_NOT_FOUND,
|
|
14
|
+
export { LEGACY_MCP_ERROR, RESOURCE_NOT_FOUND, } from './error-codes.js';
|
|
15
15
|
//# sourceMappingURL=jsonrpc.js.map
|
|
@@ -54,8 +54,6 @@ export declare function mapToolsList(artifact: RuntimeArtifact, caller?: ToolAut
|
|
|
54
54
|
readonly knowledgeTools?: boolean;
|
|
55
55
|
readonly intentCapture?: boolean;
|
|
56
56
|
}): ToolsListResult;
|
|
57
|
-
/** Generated `search_<name>` descriptors (ADR 0202 D4); listed only when the port is live. */
|
|
58
|
-
export declare function knowledgeToolDescriptors(artifact: RuntimeArtifact, intentCapture?: boolean): ToolsListResult['tools'];
|
|
59
57
|
/**
|
|
60
58
|
* Map a successful tool output to a `tools/call` result. Structured (object) output is returned as
|
|
61
59
|
* `structuredContent` and also serialized into a text block (the spec asks for both, for clients
|
|
@@ -63,7 +61,7 @@ export declare function knowledgeToolDescriptors(artifact: RuntimeArtifact, inte
|
|
|
63
61
|
*/
|
|
64
62
|
export declare function mapToolOutput(output: unknown): ToolsCallResult;
|
|
65
63
|
export declare function redactWidgetLinkedOutput(output: unknown): unknown;
|
|
66
|
-
|
|
64
|
+
interface ResourceDescriptor {
|
|
67
65
|
readonly uri: string;
|
|
68
66
|
readonly name: string;
|
|
69
67
|
readonly title?: string;
|
|
@@ -75,7 +73,7 @@ export interface ResourceDescriptor {
|
|
|
75
73
|
export interface ResourcesListResult {
|
|
76
74
|
readonly resources: readonly ResourceDescriptor[];
|
|
77
75
|
}
|
|
78
|
-
|
|
76
|
+
interface ResourceTemplateDescriptor {
|
|
79
77
|
readonly uriTemplate: string;
|
|
80
78
|
readonly name: string;
|
|
81
79
|
readonly title?: string;
|
|
@@ -108,12 +106,12 @@ export declare function mapResourceTemplatesList(artifact: RuntimeArtifact): Res
|
|
|
108
106
|
* anything else → a JSON-serialized text content.
|
|
109
107
|
*/
|
|
110
108
|
export declare function mapResourceContents(uri: string, mimeType: string | undefined, output: unknown, meta?: Readonly<Record<string, unknown>>, widgetDomain?: WidgetDomainProjection): ReadResourceResult;
|
|
111
|
-
|
|
109
|
+
interface PromptArgumentDescriptor {
|
|
112
110
|
readonly name: string;
|
|
113
111
|
readonly description?: string;
|
|
114
112
|
readonly required?: boolean;
|
|
115
113
|
}
|
|
116
|
-
|
|
114
|
+
interface PromptDescriptor {
|
|
117
115
|
readonly name: string;
|
|
118
116
|
readonly title?: string;
|
|
119
117
|
readonly description?: string;
|
|
@@ -74,7 +74,7 @@ export function mapToolsList(artifact, caller, options) {
|
|
|
74
74
|
};
|
|
75
75
|
}
|
|
76
76
|
/** Generated `search_<name>` descriptors (ADR 0202 D4); listed only when the port is live. */
|
|
77
|
-
|
|
77
|
+
function knowledgeToolDescriptors(artifact, intentCapture = false) {
|
|
78
78
|
return (artifact.server.knowledge ?? []).map((component) => ({
|
|
79
79
|
name: component.generatedTool.name,
|
|
80
80
|
description: component.generatedTool.description,
|
|
@@ -19,15 +19,6 @@ export interface ProtocolObservation {
|
|
|
19
19
|
/** Safe connector failure attribution projected from the execution error (#1309); scalars only. */
|
|
20
20
|
readonly connector?: ConnectorFailureAttribution;
|
|
21
21
|
}
|
|
22
|
-
/**
|
|
23
|
-
* The analytics `errorKind` for an execution error: the stable code, refined with the allowlisted
|
|
24
|
-
* `reason` when one exists (`connector_error.timeout`). Analytics-only — the wire's structured
|
|
25
|
-
* reasons are gated separately (and more narrowly) in `execution-error-mapping.ts`.
|
|
26
|
-
*/
|
|
27
|
-
export declare function executionErrorKind(error: {
|
|
28
|
-
readonly code: string;
|
|
29
|
-
readonly reason?: string;
|
|
30
|
-
}): string;
|
|
31
22
|
/** The observation slice carried by an execution error, ready to spread into an observe call. */
|
|
32
23
|
export declare function executionErrorObservation(error: {
|
|
33
24
|
readonly code: string;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* `reason` when one exists (`connector_error.timeout`). Analytics-only — the wire's structured
|
|
4
4
|
* reasons are gated separately (and more narrowly) in `execution-error-mapping.ts`.
|
|
5
5
|
*/
|
|
6
|
-
|
|
6
|
+
function executionErrorKind(error) {
|
|
7
7
|
return error.reason === undefined ? error.code : `${error.code}.${error.reason}`;
|
|
8
8
|
}
|
|
9
9
|
/** The observation slice carried by an execution error, ready to spread into an observe call. */
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { type McpHttpHandler, type McpServerFactory } from '@modelcontextprotocol/server';
|
|
2
2
|
import type { ProtocolRequestContext, ServedArtifact } from '../sdk-server.js';
|
|
3
|
+
import { type McpProtocolMode } from './versions.js';
|
|
3
4
|
/**
|
|
4
5
|
* The single Noodle MCP entry: SDK-owned era classification/dispatch with a narrow Noodle response seam.
|
|
5
6
|
*/
|
|
6
7
|
export declare function createDualEraMcpHandler(target: ServedArtifact, context?: ProtocolRequestContext): McpHttpHandler;
|
|
7
8
|
/** Platform-wide SDK v2 handler used by artifact and first-party MCP surfaces alike. */
|
|
8
9
|
export declare function createPlatformDualEraMcpHandler(factory: McpServerFactory, platformOptions?: {
|
|
9
|
-
readonly protocolMode?:
|
|
10
|
+
readonly protocolMode?: McpProtocolMode;
|
|
10
11
|
}): McpHttpHandler;
|
|
11
12
|
//# sourceMappingURL=handler.d.ts.map
|
|
@@ -3,4 +3,8 @@ export declare const SERVED_MCP_PROTOCOL_VERSIONS: readonly ["2026-07-28", "2025
|
|
|
3
3
|
export type ServedMcpProtocolVersion = (typeof SERVED_MCP_PROTOCOL_VERSIONS)[number];
|
|
4
4
|
export type McpProtocolEra = 'legacy' | 'modern';
|
|
5
5
|
export declare const MODERN_MCP_PROTOCOL_VERSION: "2026-07-28";
|
|
6
|
+
/** The newest revision served through the legacy (v1 SDK) path. */
|
|
7
|
+
export declare const LEGACY_MCP_PROTOCOL_VERSION: "2025-11-25";
|
|
8
|
+
/** Origin-wide rollout gate: serve both eras, or answer modern requests with method-not-found. */
|
|
9
|
+
export type McpProtocolMode = 'dual' | 'legacy-only';
|
|
6
10
|
//# sourceMappingURL=versions.d.ts.map
|