@noodleseed/one 0.152.0 → 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/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/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/generated/example-files.js +5 -3
- 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-content.js +5 -5
- 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-configuration.js +2 -1
- package/node_modules/@noodle-borg/assistant-gateway/package.json +1 -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/compiler/dist/artifact/types.d.ts +11 -11
- 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/website-projection.d.ts +2 -1
- 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/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-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 +1 -1
- 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 +1 -1
- package/node_modules/@noodle-borg/service/dist/routes/assistant-interactions.js +1 -1
- 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-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 +2 -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/@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { PLUGIN_NAME } from './plugin-bootstrap-skill.js';
|
|
2
2
|
/** The public marketplace identifier (`/plugin install noodle-seed@noodleseed`). */
|
|
3
3
|
export declare const MARKETPLACE_NAME = "noodleseed";
|
|
4
4
|
/** Where the plugin lives inside the marketplace repo (relative sources must start with "./"). */
|
|
@@ -23,7 +23,7 @@ import { APP_DIRECTORY_COMPLIANCE_REFERENCE } from './skill-router.js';
|
|
|
23
23
|
import { renderBuildAnMcpServerReference } from './skill-server-playbook-ref.js';
|
|
24
24
|
import { renderToolDesignReference } from './skill-tool-design-ref.js';
|
|
25
25
|
import { renderVerifyAndRecoverReference } from './skill-verification-ref.js';
|
|
26
|
-
export {
|
|
26
|
+
export { skillRouterBody } from './skill-router.js';
|
|
27
27
|
// ----------------------------------------------------------------------------
|
|
28
28
|
// references/sdk-surface.md (GENERATED from SDK_EXPORTS + curated recipes)
|
|
29
29
|
// ----------------------------------------------------------------------------
|
|
@@ -251,7 +251,7 @@ const SDK_AUTHORING_SIGNATURES = [
|
|
|
251
251
|
'- `customerAuth.*(...)` belongs in `server` options when deployed customer callers need verified identity; inspect `examples/customer-auth` or `examples/sharepoint` before using it.',
|
|
252
252
|
'- `state` defines durable widget state handles; handle schemas may use `.optional()`/`.default()` — defaulted fields are optional on write, so a save that omits them still validates. Add `claimOnAuthentication: true` only to an explicitly caller-scoped handle with a finite TTL when a mixed public assistant should atomically adopt that expiring draft on sign-in-ticket spend. `handoff` declares allowed external domains for safe host handoff.',
|
|
253
253
|
];
|
|
254
|
-
|
|
254
|
+
function renderSdkSurfaceReference() {
|
|
255
255
|
const remaining = new Set(SDK_EXPORTS);
|
|
256
256
|
const sections = [];
|
|
257
257
|
for (const group of SDK_GROUPS) {
|
|
@@ -290,7 +290,7 @@ export function renderSdkSurfaceReference() {
|
|
|
290
290
|
// ----------------------------------------------------------------------------
|
|
291
291
|
// references/cli-commands.md (GENERATED from CLI_COMMANDS + curated groups)
|
|
292
292
|
// ----------------------------------------------------------------------------
|
|
293
|
-
|
|
293
|
+
function renderCliCommandsReference() {
|
|
294
294
|
const groupOrder = [...COMMAND_GROUP_ORDER, 'Other'];
|
|
295
295
|
const byGroup = new Map();
|
|
296
296
|
for (const name of CLI_COMMANDS) {
|
|
@@ -327,7 +327,7 @@ export function renderCliCommandsReference() {
|
|
|
327
327
|
// ----------------------------------------------------------------------------
|
|
328
328
|
// references/agent-contract.md (CURATED)
|
|
329
329
|
// ----------------------------------------------------------------------------
|
|
330
|
-
|
|
330
|
+
function renderAgentContractReference() {
|
|
331
331
|
return [
|
|
332
332
|
'# Agent contract: --json, exit codes, output modes',
|
|
333
333
|
'',
|
|
@@ -378,7 +378,7 @@ export function renderAgentContractReference() {
|
|
|
378
378
|
// ----------------------------------------------------------------------------
|
|
379
379
|
// references/compile-errors.md (GENERATED codes + curated fixes)
|
|
380
380
|
// ----------------------------------------------------------------------------
|
|
381
|
-
|
|
381
|
+
function renderCompileErrorsReference() {
|
|
382
382
|
const rows = COMPILE_ERROR_CODES.map((code) => [`\`${code}\``, ERROR_FIXES[code] ?? '—']);
|
|
383
383
|
return [
|
|
384
384
|
'# Fixing noodle validate errors',
|
|
@@ -3,7 +3,7 @@ import type { AgentTarget } from './index.js';
|
|
|
3
3
|
export declare const SKILL_DESCRIPTION: string;
|
|
4
4
|
export type SkillReferencePath = `references/${string}.md`;
|
|
5
5
|
export declare const APP_DIRECTORY_COMPLIANCE_REFERENCE: SkillReferencePath;
|
|
6
|
-
|
|
6
|
+
type SkillRouteId = 'design-product' | 'create-product-guide' | 'wrap-existing-app' | 'build-server' | 'connect-api' | 'build-app' | 'verify-recover' | 'debug-recover' | 'inspect-hosted' | 'deploy-hosted' | 'embed-assistant' | 'publish' | 'feedback';
|
|
7
7
|
export interface SkillRoute {
|
|
8
8
|
readonly id: SkillRouteId;
|
|
9
9
|
readonly intent: string;
|
|
@@ -11,7 +11,6 @@ export interface SkillRoute {
|
|
|
11
11
|
readonly exitCondition: string;
|
|
12
12
|
}
|
|
13
13
|
export declare const SKILL_ROUTES: readonly SkillRoute[];
|
|
14
|
-
/** Complete lookup catalog. Routes above, not this inventory, own discovery. */
|
|
15
|
-
export declare const REFERENCE_INDEX_LINES: readonly string[];
|
|
16
14
|
export declare function skillRouterBody(_target: AgentTarget): string;
|
|
15
|
+
export {};
|
|
17
16
|
//# sourceMappingURL=skill-router.d.ts.map
|
|
@@ -86,7 +86,7 @@ export const SKILL_ROUTES = [
|
|
|
86
86
|
},
|
|
87
87
|
];
|
|
88
88
|
/** Complete lookup catalog. Routes above, not this inventory, own discovery. */
|
|
89
|
-
|
|
89
|
+
const REFERENCE_INDEX_LINES = [
|
|
90
90
|
'- `references/agent-contract.md` — the `--json` envelope, exit codes, and the three output modes.',
|
|
91
91
|
'- `references/product-agent-guides.md` — decide, interview, propose, prove, preview, and explicitly install one host-neutral product guide.',
|
|
92
92
|
'- `references/sdk-surface.md` — what to import from `@noodleseed/one` and which builder to use.',
|
|
@@ -163,7 +163,7 @@ export function resolveHostPackageAssets(distribution, inputs, target) {
|
|
|
163
163
|
issues,
|
|
164
164
|
};
|
|
165
165
|
}
|
|
166
|
-
|
|
166
|
+
function normalizeHostAssetPath(value) {
|
|
167
167
|
const normalized = value.replace(/\\/g, '/').replace(/^\.\/+/, '');
|
|
168
168
|
return safeRelativePath(normalized) ? normalized : undefined;
|
|
169
169
|
}
|
|
@@ -41,7 +41,8 @@ export function assistantBrowserConfiguration(server, boundSurface) {
|
|
|
41
41
|
function surfaceOfMode(assistant, mode) {
|
|
42
42
|
if (mode === undefined || !Array.isArray(assistant?.surfaces))
|
|
43
43
|
return undefined;
|
|
44
|
-
|
|
44
|
+
// A `mixed` surface mints `public` sessions (ADR 0220): it is the public binding's surface.
|
|
45
|
+
return assistant.surfaces.find((surface) => surface.mode === mode || (mode === 'public' && surface.mode === 'mixed'));
|
|
45
46
|
}
|
|
46
47
|
/** Resolve environment operator state above the immutable deployment projection. */
|
|
47
48
|
export async function effectiveAssistantBrowserConfiguration(server, tenant, store, boundSurface) {
|
|
@@ -134,7 +134,7 @@ export type AssistantModel = OpenAICompatibleModel | NoodleManagedModel;
|
|
|
134
134
|
* `${user.claims.<key>}` in tool fulfilment; `exposeToModel: true` additionally places the value
|
|
135
135
|
* in the assistant's identity system line so the model can use it directly.
|
|
136
136
|
*/
|
|
137
|
-
|
|
137
|
+
interface SessionClaimDeclaration {
|
|
138
138
|
readonly exposeToModel?: boolean;
|
|
139
139
|
}
|
|
140
140
|
/**
|
|
@@ -275,4 +275,5 @@ export declare function openAICompatible(input: OpenAICompatibleModelInput): Ope
|
|
|
275
275
|
/** Use Noodle Seed Cloud's operator-selected model. Provider details never enter authored source. */
|
|
276
276
|
export declare function noodleManaged(): NoodleManagedModel;
|
|
277
277
|
export declare function embeddedAssistant(input: EmbeddedAssistantOptions): EmbeddedAssistantConfig;
|
|
278
|
+
export {};
|
|
278
279
|
//# sourceMappingURL=assistant.d.ts.map
|
|
@@ -15,8 +15,6 @@ export type { ConnectionBinding, ConnectionRef, ConnectionSource, GoogleWorkload
|
|
|
15
15
|
type ManifestV2ConnectorBinding = NonNullable<NonNullable<Extract<Manifest, {
|
|
16
16
|
manifestVersion: '2';
|
|
17
17
|
}>['connectors']>[string]['binding']>;
|
|
18
|
-
/** Internal manifest projection: clone readonly author inputs to the mutable generated schema shape. */
|
|
19
|
-
export declare function toManifestConnectionBinding(binding: ConnectionBinding): ManifestV2ConnectorBinding;
|
|
20
18
|
export declare function toManifestConnectorRef(connector: ConnectorRef): {
|
|
21
19
|
readonly id: string;
|
|
22
20
|
readonly version: string;
|
|
@@ -25,7 +25,7 @@ export function bind(connector, options) {
|
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
/** Internal manifest projection: clone readonly author inputs to the mutable generated schema shape. */
|
|
28
|
-
|
|
28
|
+
function toManifestConnectionBinding(binding) {
|
|
29
29
|
const source = binding.connection.source;
|
|
30
30
|
return {
|
|
31
31
|
profile: binding.profile,
|
|
@@ -33,9 +33,9 @@ export function prepareAuthoringRuntimeDir(dir, options) {
|
|
|
33
33
|
'./react': './react.mjs',
|
|
34
34
|
},
|
|
35
35
|
}));
|
|
36
|
-
writeFileSync(join(self, 'index.mjs'), "export { annotations, asset, authenticatedWebsite, bind, clientCredentials, connector, connection, customerAuth, customerEndpoint, embeddedAssistant, externalExchange, file, gmailConnector, googleWorkloadIdentity, handoffSession, knowledge, managedSecret, noodleManaged, openAICompatible, prompt, publicWebsite, resource, secret, server, site, tool, variable, when, z } from '@noodle-borg/authoring';\n");
|
|
36
|
+
writeFileSync(join(self, 'index.mjs'), "export { algolia, annotations, asset, authenticatedWebsite, bind, clientCredentials, connector, connection, customerAuth, customerEndpoint, embeddedAssistant, externalExchange, file, firecrawl, gmailConnector, googleWorkloadIdentity, handoffSession, knowledge, managedSecret, meilisearch, noodleManaged, openAICompatible, prompt, publicWebsite, resource, secret, server, site, tavily, tool, variable, when, z } from '@noodle-borg/authoring';\n");
|
|
37
37
|
writeFileSync(join(self, 'platform.mjs'), "export { noodlePlatform, noodlePlatformCatalog } from '@noodle-borg/authoring';\n");
|
|
38
|
-
writeFileSync(join(self, 'react.mjs'), "export
|
|
38
|
+
writeFileSync(join(self, 'react.mjs'), "export * from '@noodle-borg/authoring/react';\n");
|
|
39
39
|
}
|
|
40
40
|
function pathExists(path) {
|
|
41
41
|
try {
|
|
@@ -44,12 +44,12 @@ export type ModelContextUpdate = {
|
|
|
44
44
|
}[];
|
|
45
45
|
readonly structuredContent?: Readonly<Record<string, unknown>>;
|
|
46
46
|
};
|
|
47
|
-
|
|
47
|
+
type RuntimeBrandAsset = {
|
|
48
48
|
readonly uri: string;
|
|
49
49
|
readonly darkUri?: string;
|
|
50
50
|
readonly alt: string;
|
|
51
51
|
};
|
|
52
|
-
|
|
52
|
+
type RuntimeBrandTheme = {
|
|
53
53
|
readonly surface?: string;
|
|
54
54
|
readonly surfaceRaised?: string;
|
|
55
55
|
readonly surfaceMuted?: string;
|
|
@@ -108,4 +108,5 @@ export declare function globalViewState(): Record<string, unknown>;
|
|
|
108
108
|
export declare function setGlobalViewState(value: Record<string, unknown>): void;
|
|
109
109
|
export declare function globalLayout(): LayoutState;
|
|
110
110
|
export declare function globalBranding(): RuntimeBranding;
|
|
111
|
+
export {};
|
|
111
112
|
//# sourceMappingURL=bridge.d.ts.map
|
|
@@ -58,8 +58,6 @@ export type RadioGroupProps = Omit<HTMLAttributes<HTMLDivElement>, 'defaultValue
|
|
|
58
58
|
readonly options: readonly RadioOption[];
|
|
59
59
|
readonly value?: string;
|
|
60
60
|
readonly defaultValue?: string;
|
|
61
|
-
/** @deprecated Use `onValueChange`; retained for source compatibility. */
|
|
62
|
-
readonly onChange?: (value: string) => void;
|
|
63
61
|
readonly onValueChange?: (value: string) => void;
|
|
64
62
|
/** Shared radio `name`; defaults to a stable generated id. */
|
|
65
63
|
readonly name?: string;
|
|
@@ -71,8 +69,6 @@ export declare const RadioGroup: import("react").ForwardRefExoticComponent<Omit<
|
|
|
71
69
|
readonly options: readonly RadioOption[];
|
|
72
70
|
readonly value?: string;
|
|
73
71
|
readonly defaultValue?: string;
|
|
74
|
-
/** @deprecated Use `onValueChange`; retained for source compatibility. */
|
|
75
|
-
readonly onChange?: (value: string) => void;
|
|
76
72
|
readonly onValueChange?: (value: string) => void;
|
|
77
73
|
/** Shared radio `name`; defaults to a stable generated id. */
|
|
78
74
|
readonly name?: string;
|
|
@@ -101,8 +97,6 @@ export type SegmentedControlProps = Omit<HTMLAttributes<HTMLDivElement>, 'defaul
|
|
|
101
97
|
readonly options: readonly SegmentedOption[];
|
|
102
98
|
readonly value?: string;
|
|
103
99
|
readonly defaultValue?: string;
|
|
104
|
-
/** @deprecated Use `onValueChange`; retained for source compatibility. */
|
|
105
|
-
readonly onChange?: (value: string) => void;
|
|
106
100
|
readonly onValueChange?: (value: string) => void;
|
|
107
101
|
readonly name?: string;
|
|
108
102
|
readonly disabled?: boolean;
|
|
@@ -113,8 +107,6 @@ export declare const SegmentedControl: import("react").ForwardRefExoticComponent
|
|
|
113
107
|
readonly options: readonly SegmentedOption[];
|
|
114
108
|
readonly value?: string;
|
|
115
109
|
readonly defaultValue?: string;
|
|
116
|
-
/** @deprecated Use `onValueChange`; retained for source compatibility. */
|
|
117
|
-
readonly onChange?: (value: string) => void;
|
|
118
110
|
readonly onValueChange?: (value: string) => void;
|
|
119
111
|
readonly name?: string;
|
|
120
112
|
readonly disabled?: boolean;
|
|
@@ -152,7 +152,7 @@ export const Checkbox = forwardRef(function Checkbox({ label, className, onChang
|
|
|
152
152
|
? box
|
|
153
153
|
: createElement('label', { className: 'nsr-check' }, box, createElement('span', null, label));
|
|
154
154
|
});
|
|
155
|
-
export const RadioGroup = forwardRef(function RadioGroup({ options, value, defaultValue,
|
|
155
|
+
export const RadioGroup = forwardRef(function RadioGroup({ options, value, defaultValue, onValueChange, name, direction = 'column', disabled, required, className, ...props }, ref) {
|
|
156
156
|
const fallbackName = useId();
|
|
157
157
|
const groupName = name ?? fallbackName;
|
|
158
158
|
const field = useFieldControlProps({ ...props, required }, 'group');
|
|
@@ -174,7 +174,6 @@ export const RadioGroup = forwardRef(function RadioGroup({ options, value, defau
|
|
|
174
174
|
required: field.required,
|
|
175
175
|
disabled: disabled || option.disabled,
|
|
176
176
|
onChange: () => {
|
|
177
|
-
onChange?.(option.value);
|
|
178
177
|
onValueChange?.(option.value);
|
|
179
178
|
},
|
|
180
179
|
}), createElement('span', null, option.label))));
|
|
@@ -208,7 +207,7 @@ export const Slider = forwardRef(function Slider({ className, ...props }, ref) {
|
|
|
208
207
|
});
|
|
209
208
|
});
|
|
210
209
|
/** Single-select value picker implemented with native radios for keyboard and form behavior. */
|
|
211
|
-
export const SegmentedControl = forwardRef(function SegmentedControl({ options, value, defaultValue,
|
|
210
|
+
export const SegmentedControl = forwardRef(function SegmentedControl({ options, value, defaultValue, onValueChange, name, disabled, required, className, ...props }, ref) {
|
|
212
211
|
const fallbackName = useId();
|
|
213
212
|
const groupName = name ?? fallbackName;
|
|
214
213
|
const field = useFieldControlProps({ ...props, required }, 'group');
|
|
@@ -234,7 +233,6 @@ export const SegmentedControl = forwardRef(function SegmentedControl({ options,
|
|
|
234
233
|
required: field.required,
|
|
235
234
|
disabled: disabled || option.disabled,
|
|
236
235
|
onChange: () => {
|
|
237
|
-
onChange?.(option.value);
|
|
238
236
|
onValueChange?.(option.value);
|
|
239
237
|
},
|
|
240
238
|
}), createElement('span', { className: 'nsr-segmented-label' }, option.label))));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type AppFlow, type AppFlowConfig } from './app-flow.js';
|
|
2
2
|
import { type DisplayMode, type LayoutState, type ModelContextUpdate, type NoodleReactBridge, type RuntimeBranding, type ToolResult } from './bridge.js';
|
|
3
3
|
import { type HandoffController } from './handoff.js';
|
|
4
|
-
import { createViewStore
|
|
4
|
+
import { createViewStore } from './store.js';
|
|
5
5
|
export type ToolStatus = 'idle' | 'pending' | 'success' | 'error';
|
|
6
6
|
export type CallToolState = {
|
|
7
7
|
readonly status: ToolStatus;
|
|
@@ -54,5 +54,5 @@ export declare function useSendFollowUpMessage(): (message: {
|
|
|
54
54
|
export declare function useUpdateModelContext(): (update: ModelContextUpdate) => Promise<void>;
|
|
55
55
|
/** Publish a portable, structured widget lifecycle summary through the standard model-context path. */
|
|
56
56
|
export declare function useWidgetLifecycle(widgetName: string): (lifecycle: 'mounted' | 'submitted' | 'cancelled' | 'dismissed', summary?: Readonly<Record<string, unknown>>) => Promise<void>;
|
|
57
|
-
export type { DisplayMode, LayoutState, ModelContextUpdate, NoodleReactBridge, RuntimeBranding,
|
|
57
|
+
export type { DisplayMode, LayoutState, ModelContextUpdate, NoodleReactBridge, RuntimeBranding, ToolResult, };
|
|
58
58
|
//# sourceMappingURL=hooks.d.ts.map
|
|
@@ -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;
|
|
@@ -165,14 +165,14 @@ export interface ArtifactServerContext {
|
|
|
165
165
|
readonly fulfilment: ArtifactFulfilment;
|
|
166
166
|
};
|
|
167
167
|
}
|
|
168
|
-
|
|
168
|
+
interface ArtifactOidcAuth {
|
|
169
169
|
readonly kind?: 'oidc' | undefined;
|
|
170
170
|
readonly issuer: string;
|
|
171
171
|
readonly audience: string;
|
|
172
172
|
readonly claims?: ArtifactAuthClaimMap | undefined;
|
|
173
173
|
readonly routing?: ArtifactCustomerAuthRouting | undefined;
|
|
174
174
|
}
|
|
175
|
-
|
|
175
|
+
interface ArtifactFederatedOidcAuth {
|
|
176
176
|
readonly kind: 'federatedOidc';
|
|
177
177
|
readonly issuers: readonly {
|
|
178
178
|
readonly issuer: string;
|
|
@@ -186,7 +186,7 @@ export interface ArtifactCustomerAuthRouting {
|
|
|
186
186
|
readonly claim: string;
|
|
187
187
|
}>>;
|
|
188
188
|
}
|
|
189
|
-
|
|
189
|
+
interface ArtifactBridgeAuth {
|
|
190
190
|
readonly kind: 'bridge';
|
|
191
191
|
readonly provider: string;
|
|
192
192
|
readonly verifyUrl?: string | undefined;
|
|
@@ -204,8 +204,8 @@ export interface ArtifactBridgeAuth {
|
|
|
204
204
|
readonly authMethod?: 'client_secret_basic' | 'client_secret_post' | undefined;
|
|
205
205
|
readonly user?: ArtifactAuthClaimMap | undefined;
|
|
206
206
|
}
|
|
207
|
-
|
|
208
|
-
|
|
207
|
+
type ArtifactAuth = ArtifactOidcAuth | ArtifactFederatedOidcAuth | ArtifactBridgeAuth;
|
|
208
|
+
interface ArtifactAuthClaimMap {
|
|
209
209
|
readonly id?: string | undefined;
|
|
210
210
|
readonly email?: string | undefined;
|
|
211
211
|
readonly name?: string | undefined;
|
|
@@ -285,7 +285,7 @@ export interface ArtifactServer {
|
|
|
285
285
|
};
|
|
286
286
|
readonly state?: ArtifactState;
|
|
287
287
|
}
|
|
288
|
-
|
|
288
|
+
interface ArtifactBrandTheme {
|
|
289
289
|
readonly surface?: string | undefined;
|
|
290
290
|
readonly surfaceRaised?: string | undefined;
|
|
291
291
|
readonly surfaceMuted?: string | undefined;
|
|
@@ -302,19 +302,19 @@ export interface ArtifactBrandTheme {
|
|
|
302
302
|
readonly danger?: string | undefined;
|
|
303
303
|
readonly code?: string | undefined;
|
|
304
304
|
}
|
|
305
|
-
|
|
305
|
+
interface ArtifactSource {
|
|
306
306
|
readonly manifestName: string;
|
|
307
307
|
/** Application version retained for artifact compatibility. */
|
|
308
308
|
readonly manifestVersion: string;
|
|
309
309
|
/** Core manifest language version that produced this internal artifact. */
|
|
310
310
|
readonly coreVersion?: '1' | '2';
|
|
311
311
|
}
|
|
312
|
-
|
|
312
|
+
interface ArtifactCapabilities {
|
|
313
313
|
readonly tools: readonly string[];
|
|
314
314
|
readonly resources?: readonly string[];
|
|
315
315
|
readonly prompts?: readonly string[];
|
|
316
316
|
}
|
|
317
|
-
|
|
317
|
+
interface ArtifactRequirements {
|
|
318
318
|
readonly capabilities?: readonly CapabilityRequirementName[];
|
|
319
319
|
}
|
|
320
320
|
export type ArtifactConnectionSource = {
|
|
@@ -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
|
}
|
|
@@ -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
|
|
@@ -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",
|