@salsita-ai/sdk 0.50.0-develop.9241bcf09e → 0.50.0-develop.927e2414eb
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/admin/common/admin-interface.d.ts +11 -1
- package/dist/admin/common/admin-interface.js +1 -1
- package/dist/admin/ui/layout/UserProfile.d.ts +1 -1
- package/dist/admin/ui/layout/UserProfile.js +1 -1
- package/dist/admin/ui/maintenance/ImportPresets.js +1 -1
- package/dist/application/mount-application.js +1 -1
- package/dist/application/mount-configurator.js +1 -1
- package/dist/application/studio-embedding.d.ts +6 -0
- package/dist/application/studio-embedding.js +1 -0
- package/dist/application-spec/core/enhanced-json-schema.d.ts +5 -6
- package/dist/application-spec/core/enhanced-json-schema.js +1 -1
- package/dist/application-spec/core/markers/index.d.ts +1 -0
- package/dist/application-spec/core/markers/index.js +1 -1
- package/dist/application-spec/core/markers/set-in-studio-marker.d.ts +15 -0
- package/dist/application-spec/core/markers/set-in-studio-marker.js +1 -0
- package/dist/application-spec/errors/diagnostic-codes.d.ts +16 -0
- package/dist/application-spec/errors/diagnostic-codes.js +1 -1
- package/dist/application-spec/errors/diagnostic-messages.d.ts +16 -0
- package/dist/application-spec/errors/diagnostic-messages.js +1 -1
- package/dist/application-spec/generate-application/code/domain-runtime-files.d.ts +3 -3
- package/dist/application-spec/generate-application/code/domain-runtime-files.js +1 -1
- package/dist/application-spec/generate-application/code/standalone-app-files.d.ts +0 -12
- package/dist/application-spec/generate-application/code/standalone-app-files.js +1 -1
- package/dist/application-spec/generate-application/code/templates/admin-config.d.ts +5 -1
- package/dist/application-spec/generate-application/code/templates/admin-config.js +4 -4
- package/dist/application-spec/generate-application/code/templates/application-types.js +5 -5
- package/dist/application-spec/generate-application/code/templates/configurator-config.js +6 -6
- package/dist/application-spec/generate-application/code/templates/domain-spec/generate-phx-globals.d.ts +1 -1
- package/dist/application-spec/generate-application/code/templates/domain-spec/generate-phx-globals.js +19 -0
- package/dist/application-spec/generate-application/code/templates/domain-spec.js +12 -12
- package/dist/application-spec/generate-application/code/templates/frontend-config.js +7 -3
- package/dist/application-spec/generate-application/code/templates/global-definition/generate-action-types.d.ts +3 -3
- package/dist/application-spec/generate-application/code/templates/global-definition/generate-action-types.js +3 -3
- package/dist/application-spec/generate-application/code/templates/global-definition/generate-assistant-form-element-types.d.ts +10 -6
- package/dist/application-spec/generate-application/code/templates/global-definition/generate-assistant-form-element-types.js +7 -7
- package/dist/application-spec/generate-application/code/templates/global-definition/generate-phx-types.js +12 -12
- package/dist/application-spec/generate-application/code/templates/globals.js +21 -12
- package/dist/application-spec/generate-application/code/templates/index.d.ts +1 -1
- package/dist/application-spec/generate-application/code/templates/index.js +1 -1
- package/dist/application-spec/generate-application/code/templates/sign-in-page-options.d.ts +5 -0
- package/dist/application-spec/generate-application/code/templates/sign-in-page-options.js +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/core/cli.d.ts +2 -1
- package/dist/application-spec/generate-application/code/templates/skills/core/cli.js +1 -1
- package/dist/application-spec/generate-application/code/templates/skills/core/sdk.js +2 -1
- package/dist/application-spec/generate-application/code/templates/skills/features/application-states/presets.js +1 -1
- package/dist/application-spec/generate-application/code/templates/skills/features/application-states/views-and-tools.js +1 -1
- package/dist/application-spec/generate-application/code/templates/skills/features/assistant/index.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/assistant/index.js +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/{custom-layout/assistant.d.ts → assistant/panel.d.ts} +1 -1
- package/dist/application-spec/generate-application/code/templates/skills/features/assistant/panel.js +42 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/assistant/reading-and-changing.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/assistant/reading-and-changing.js +55 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/{webhooks/assistant-setup.d.ts → assistant/session-setup.d.ts} +1 -1
- package/dist/application-spec/generate-application/code/templates/skills/features/assistant/session-setup.js +16 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/custom-layout.js +2 -2
- package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/sign-in.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/sign-in.js +19 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/actions.js +1 -1
- package/dist/application-spec/generate-application/code/templates/skills/features/embedding.d.ts +2 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/embedding.js +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/features.js +1 -1
- package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/authentication.d.ts +1 -1
- package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/authentication.js +32 -26
- package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/entry-and-environment.js +1 -3
- package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/publishing.js +1 -1
- package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/session-fields.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/session-fields.js +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/webhooks.js +1 -1
- package/dist/application-spec/generate-application/code/templates/skills/guide.d.ts +1 -1
- package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill-bundle.d.ts +1 -1
- package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill-bundle.js +3 -3
- package/dist/application-spec/generate-application/code/templates/skills/processes/asset-conversion.js +3 -3
- package/dist/application-spec/generate-application/code/templates/skills/processes/assistant-configuration.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/assistant-configuration.js +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/report.js +2 -2
- package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/handoff.js +1 -1
- package/dist/application-spec/generate-application/code/templates/skills/processes/index.d.ts +2 -1
- package/dist/application-spec/generate-application/code/templates/skills/processes/index.js +1 -1
- package/dist/application-spec/generate-application/code/templates/skills/processes/model-migration.js +1 -1
- package/dist/application-spec/generate-application/code/templates/skills/processes/review/appearance.js +1 -1
- package/dist/application-spec/generate-application/code/templates/skills/processes/review/code.js +1 -1
- package/dist/application-spec/generate-application/code/templates/skills/processes/scene-realism.d.ts +2 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/scene-realism.js +29 -0
- package/dist/application-spec/generate-application/code/templates/skills/sdk-channel.d.ts +17 -0
- package/dist/application-spec/generate-application/code/templates/skills/sdk-channel.js +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/sdk-subpath-imports.js +1 -1
- package/dist/application-spec/generate-application/code/templates/webhook-builders.js +3 -2
- package/dist/application-spec/generate-application/code/templates/webhook-index.d.ts +1 -2
- package/dist/application-spec/generate-application/code/templates/webhook-index.js +3 -7
- package/dist/application-spec/generate-application/code/webhook-safe-files.d.ts +3 -1
- package/dist/application-spec/generate-application/code/webhook-safe-files.js +1 -1
- package/dist/application-spec/parse-application-files/access/access-handler-kinds.d.ts +18 -0
- package/dist/application-spec/parse-application-files/access/access-handler-kinds.js +1 -0
- package/dist/application-spec/parse-application-files/access/analyzed-file.d.ts +7 -0
- package/dist/application-spec/parse-application-files/access/analyzed-file.js +1 -0
- package/dist/application-spec/parse-application-files/access/check-access-handler-files.d.ts +20 -0
- package/dist/application-spec/parse-application-files/access/check-access-handler-files.js +1 -0
- package/dist/application-spec/parse-application-files/access/check-auth-hook-files.d.ts +17 -0
- package/dist/application-spec/parse-application-files/access/check-auth-hook-files.js +1 -0
- package/dist/application-spec/parse-application-files/access/index.d.ts +5 -0
- package/dist/application-spec/parse-application-files/access/index.js +1 -0
- package/dist/application-spec/parse-application-files/access/sign-in-control.d.ts +7 -0
- package/dist/application-spec/parse-application-files/access/sign-in-control.js +1 -0
- package/dist/application-spec/parse-application-files/categorize/categorize-files.d.ts +2 -1
- package/dist/application-spec/parse-application-files/categorize/categorize-files.js +1 -1
- package/dist/application-spec/parse-application-files/categorize/module-analysis.d.ts +30 -4
- package/dist/application-spec/parse-application-files/categorize/module-analysis.js +1 -1
- package/dist/application-spec/parse-application-files/categorize/webhook-safety.js +1 -1
- package/dist/application-spec/parse-application-files/merge/merged-app-metadata.d.ts +16 -1
- package/dist/application-spec/parse-application-files/merge/merged-app-metadata.js +1 -1
- package/dist/application-spec/parse-application-files/merge/merged-assistant.js +1 -1
- package/dist/application-spec/parse-application-files/merge/merged-spec.d.ts +7 -1
- package/dist/application-spec/parse-application-files/merge/merged-spec.js +1 -1
- package/dist/application-spec/parse-application-files/parse-application-files.js +1 -1
- package/dist/application-spec/parse-application-files/parse-common-admin-spec.js +1 -1
- package/dist/application-spec/parse-application-files/raw-spec/raw-actions.d.ts +3 -2
- package/dist/application-spec/parse-application-files/raw-spec/raw-actions.js +1 -1
- package/dist/application-spec/parse-application-files/raw-spec/raw-assistant.d.ts +29 -6
- package/dist/application-spec/parse-application-files/raw-spec/raw-assistant.js +1 -1
- package/dist/application-spec/parse-application-files/raw-spec/raw-components.js +1 -1
- package/dist/application-spec/parse-application-files/raw-spec/raw-spec-file.d.ts +11 -3
- package/dist/application-spec/parse-application-files/raw-spec/raw-spec-file.js +1 -1
- package/dist/application-spec/parse-application-files/resolve/resolve-import-modules.js +1 -1
- package/dist/application-spec/parse-application-files/spec/application/configurator-spec/configurator-spec.d.ts +6 -0
- package/dist/application-spec/parse-application-files/spec/application/configurator-spec/configurator-spec.js +1 -1
- package/dist/application-spec/parse-application-files/spec/model/index.d.ts +2 -1
- package/dist/application-spec/parse-application-files/spec/model/index.js +1 -1
- package/dist/application-spec/parse-application-files/spec/model/session-data-schema.d.ts +5 -2
- package/dist/application-spec/parse-application-files/spec/model/session-data-schema.js +1 -1
- package/dist/application-spec/parse-application-files/spec/model/session-fields/index.d.ts +1 -0
- package/dist/application-spec/parse-application-files/spec/model/session-fields/index.js +1 -0
- package/dist/application-spec/parse-application-files/spec/model/session-fields/session-fields.d.ts +15 -0
- package/dist/application-spec/parse-application-files/spec/model/session-fields/session-fields.js +1 -0
- package/dist/application-spec/parse-application-files/spec/relations/relations.js +1 -1
- package/dist/application-spec/parse-application-files/spec/sections/actions.js +1 -1
- package/dist/application-spec/parse-application-files/spec/sections/app-metadata.js +1 -1
- package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-form-elements.d.ts +14 -2
- package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-form-elements.js +1 -1
- package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-schema.d.ts +6 -9
- package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-schema.js +1 -1
- package/dist/application-spec/parse-application-files/spec/sections/assistant/index.d.ts +0 -1
- package/dist/client/authenticated-client.d.ts +5 -1
- package/dist/client/authenticated-client.js +1 -1
- package/dist/client/authorized-client.d.ts +3 -1
- package/dist/client/authorized-client.js +1 -1
- package/dist/client/base-client.d.ts +15 -1
- package/dist/client/base-client.js +1 -1
- package/dist/client/cli-client/cli-api-client.d.ts +17 -0
- package/dist/client/cli-client/cli-api-client.js +1 -0
- package/dist/client/cli-client/index.d.ts +2 -0
- package/dist/client/cli-client/index.js +1 -0
- package/dist/client/cli-client/unsupported-api-version-error.d.ts +11 -0
- package/dist/client/cli-client/unsupported-api-version-error.js +1 -0
- package/dist/client/contract.d.ts +39 -4
- package/dist/client/contract.js +1 -1
- package/dist/client/index.d.ts +3 -1
- package/dist/client/index.js +1 -1
- package/dist/client/phoenix-api.d.ts +7834 -2378
- package/dist/client/unauthenticated-client.d.ts +2 -1
- package/dist/client/unauthenticated-client.js +1 -1
- package/dist/client/version.d.ts +11 -0
- package/dist/client/version.js +1 -1
- package/dist/configurator/application-runtime/extensions/selectors.js +1 -1
- package/dist/configurator/application-runtime/extensions/systems/action-system/action.d.ts +16 -4
- package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.d.ts +25 -10
- package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.js +1 -1
- package/dist/configurator/application-runtime/extensions/systems/assistant-system/graphql-tools.d.ts +15 -5
- package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/index.d.ts +1 -0
- package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/index.js +1 -1
- package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/register-webmcp-tools.d.ts +7 -3
- package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/register-webmcp-tools.js +6 -2
- package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/share-link.d.ts +14 -0
- package/dist/configurator/application-runtime/extensions/systems/assistant-system/webmcp/share-link.js +2 -0
- package/dist/configurator/application-runtime/extensions/systems/camera-control-system/camera-control-system.d.ts +41 -35
- package/dist/configurator/application-runtime/extensions/systems/camera-control-system/camera-control-system.js +1 -1
- package/dist/configurator/application-runtime/extensions/systems/export-system/export-system.d.ts +4 -2
- package/dist/configurator/application-runtime/extensions/systems/graphql-system/entity-meta.js +1 -1
- package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.d.ts +9 -3
- package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.js +1 -1
- package/dist/configurator/application-runtime/extensions/systems/graphql-system/read-offered-navigation.d.ts +6 -3
- package/dist/configurator/application-runtime/extensions/systems/graphql-system/read-offered-navigation.js +1 -1
- package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/export-image-capture.d.ts +15 -4
- package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/export-image-capture.js +3 -3
- package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/image-rendering-system.d.ts +15 -7
- package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/image-rendering-system.js +1 -1
- package/dist/configurator/common/configurator-interface.d.ts +13 -1
- package/dist/configurator/common/configurator-interface.js +1 -1
- package/dist/configurator/scene/animations/Animations.js +1 -1
- package/dist/configurator/scene/cameras/CameraPadding.d.ts +5 -0
- package/dist/configurator/scene/cameras/CameraPadding.js +1 -1
- package/dist/configurator/scene/resources/use-phx-gltf.js +1 -1
- package/dist/configurator/scene/scene-entity/materials/LocalCreatedMaterial.js +1 -1
- package/dist/configurator/scene/scene-entity/materials/RemoteReplacedMaterial.d.ts +5 -0
- package/dist/configurator/scene/scene-entity/materials/RemoteReplacedMaterial.js +1 -1
- package/dist/configurator/scene/scene-entity/materials/use-dispose-replaced.d.ts +27 -0
- package/dist/configurator/scene/scene-entity/materials/use-dispose-replaced.js +1 -0
- package/dist/configurator/toolbar-actions/use-toolbar-actions.js +1 -1
- package/dist/configurator/ui/assistant/AssistantComposer.js +1 -1
- package/dist/configurator/ui/assistant/AssistantPanel.js +1 -1
- package/dist/configurator/ui/assistant/annotation/editor/AnnotationComment.d.ts +6 -5
- package/dist/configurator/ui/assistant/annotation/editor/AnnotationComment.js +1 -1
- package/dist/configurator/ui/assistant/annotation/editor/AnnotationEditor.d.ts +4 -3
- package/dist/configurator/ui/assistant/annotation/editor/AnnotationEditor.js +1 -1
- package/dist/configurator/ui/assistant/annotation/editor/annotation-pins.d.ts +5 -0
- package/dist/configurator/ui/assistant/annotation/editor/annotation-pins.js +1 -1
- package/dist/configurator/ui/assistant/disclaimer/AssistantDisclaimerDialog.d.ts +10 -0
- package/dist/configurator/ui/assistant/disclaimer/AssistantDisclaimerDialog.js +1 -0
- package/dist/configurator/ui/assistant/disclaimer/AssistantDisclaimerLine.d.ts +10 -0
- package/dist/configurator/ui/assistant/disclaimer/AssistantDisclaimerLine.js +1 -0
- package/dist/configurator/ui/assistant/disclaimer/index.d.ts +2 -0
- package/dist/configurator/ui/assistant/disclaimer/index.js +1 -0
- package/dist/configurator/ui/assistant/drawing/AssistantDrawing.d.ts +2 -3
- package/dist/configurator/ui/assistant/drawing/AssistantDrawing.js +1 -1
- package/dist/configurator/ui/assistant/drawing/index.d.ts +1 -1
- package/dist/configurator/ui/assistant/drawing/index.js +1 -1
- package/dist/configurator/ui/assistant/drawing/use-drawing-url.d.ts +6 -12
- package/dist/configurator/ui/assistant/drawing/use-drawing-url.js +1 -1
- package/dist/configurator/ui/assistant/form/registry/create-assistant-form-element.d.ts +11 -7
- package/dist/configurator/ui/assistant/form-elements/FormTile.js +1 -1
- package/dist/configurator/ui/assistant/image-view/ImageView.js +1 -1
- package/dist/configurator/ui/assistant/panel/AssistantPanelHeader.js +1 -1
- package/dist/configurator/ui/assistant/use-assistant-composer.d.ts +5 -0
- package/dist/configurator/ui/assistant/use-assistant-composer.js +2 -2
- package/dist/configurator/ui/configurator-layout/index.d.ts +1 -1
- package/dist/configurator/ui/configurator-layout/index.js +1 -1
- package/dist/configurator/ui/configurator-layout/slots/desktop-sidebar/DesktopSidebar.js +4 -4
- package/dist/configurator/ui/configurator-layout/slots/index.d.ts +2 -0
- package/dist/configurator/ui/configurator-layout/slots/index.js +1 -1
- package/dist/configurator/ui/configurator-layout/slots/view-controls/DesktopViewControls.js +1 -1
- package/dist/configurator/ui/configurator-layout/slots/view-controls/MobileViewControls.js +1 -1
- package/dist/configurator/ui/configurator-layout/slots/view-controls/NestedViewControls.d.ts +7 -0
- package/dist/configurator/ui/configurator-layout/slots/view-controls/NestedViewControls.js +1 -0
- package/dist/configurator/ui/configurator-layout/slots/view-controls/use-view-control-items.d.ts +6 -0
- package/dist/configurator/ui/configurator-layout/slots/view-controls/use-view-control-items.js +1 -0
- package/dist/configurator/ui/configurator-layout/universal/DesktopPreview.js +1 -1
- package/dist/configurator/ui/configurator-layout/universal/MobileLayout.js +3 -3
- package/dist/configurator/ui/configurator-layout/universal/MobilePreview.js +1 -1
- package/dist/configurator/ui/configurator-layout/universal/use-preview-description.d.ts +1 -0
- package/dist/configurator/ui/configurator-layout/universal/use-preview-description.js +1 -0
- package/dist/configurator/ui/index.d.ts +1 -1
- package/dist/configurator/ui/legacy/layout/common/ViewControls.js +1 -1
- package/dist/configurator/ui/phoenix-layout-elements/AssistantToolbarButton.js +1 -1
- package/dist/docs/index.json +117 -2
- package/dist/docs/layouts/nested-view-controls.mdx +223 -0
- package/dist/docs/layouts/preview/always.mdx +22 -0
- package/dist/docs/layouts/view-controls.mdx +2 -0
- package/dist/docs/other-features/domain-actions.mdx +53 -56
- package/dist/docs/phoenix/admin.mdx +5 -40
- package/dist/docs/phoenix/application-states.mdx +1 -1
- package/dist/docs/phoenix/assistant/actions.mdx +183 -0
- package/dist/docs/phoenix/assistant/changing-the-configuration.mdx +333 -0
- package/dist/docs/phoenix/assistant/instructions-and-ai-settings.mdx +221 -0
- package/dist/docs/phoenix/assistant/overview.mdx +137 -0
- package/dist/docs/phoenix/assistant/per-session-setup.mdx +166 -0
- package/dist/docs/phoenix/assistant/reading-the-configuration.mdx +349 -0
- package/dist/docs/phoenix/assistant/screenshots.mdx +135 -0
- package/dist/docs/phoenix/assistant/security-and-limits.mdx +151 -0
- package/dist/docs/phoenix/assistant/the-panel.mdx +298 -0
- package/dist/docs/phoenix/clerk-sign-in.mdx +9 -5
- package/dist/docs/phoenix/configurator-interface.mdx +18 -33
- package/dist/docs/phoenix/csp.mdx +3 -1
- package/dist/docs/phoenix/data-sources.mdx +26 -30
- package/dist/docs/phoenix/deployments.mdx +3 -3
- package/dist/docs/phoenix/finalization.mdx +0 -1
- package/dist/docs/phoenix/integration/authentication-external.mdx +17 -15
- package/dist/docs/phoenix/integration/authentication-internal.mdx +1 -1
- package/dist/docs/phoenix/integration/finalization-internal.mdx +1 -4
- package/dist/docs/phoenix/integration/integration-modes-external.mdx +2 -2
- package/dist/docs/phoenix/integration/integration-modes-internal.mdx +9 -0
- package/dist/docs/phoenix/layout-slots.mdx +1 -1
- package/dist/docs/phoenix/migrations.mdx +1 -1
- package/dist/docs/phoenix/phoenix-cli.mdx +90 -57
- package/dist/docs/phoenix/project-structure.mdx +30 -15
- package/dist/docs/phoenix/publishing.mdx +21 -28
- package/dist/docs/phoenix/sdk-builder-workflow.mdx +51 -34
- package/dist/docs/phoenix/sessions-and-access.mdx +171 -164
- package/dist/docs/phoenix/webhook-membership.mdx +4 -1
- package/dist/docs/phoenix/webhooks.mdx +93 -116
- package/dist/docs/ux-guidelines/interaction-modes.mdx +2 -2
- package/dist/domain/application/access/access-handlers.d.ts +19 -0
- package/dist/domain/application/access/access-handlers.js +1 -0
- package/dist/domain/application/access/anonymous-handler.d.ts +16 -0
- package/dist/domain/application/access/anonymous-handler.js +1 -0
- package/dist/domain/application/access/chunk-scopes-handler.d.ts +27 -0
- package/dist/domain/application/access/chunk-scopes-handler.js +1 -0
- package/dist/domain/application/access/code-handler.d.ts +16 -0
- package/dist/domain/application/access/code-handler.js +1 -0
- package/dist/domain/application/access/index.d.ts +7 -0
- package/dist/domain/application/access/index.js +1 -0
- package/dist/domain/application/access/refresh-handler.d.ts +16 -0
- package/dist/domain/application/access/refresh-handler.js +1 -0
- package/dist/domain/application/access/signed-in-handler.d.ts +44 -0
- package/dist/domain/application/access/signed-in-handler.js +1 -0
- package/dist/domain/application/access/visitor-handler.d.ts +23 -0
- package/dist/domain/application/access/visitor-handler.js +1 -0
- package/dist/domain/application/application-config.d.ts +36 -1
- package/dist/domain/application/assistant/assistant-exposure.d.ts +22 -0
- package/dist/domain/application/assistant/assistant-exposure.js +1 -0
- package/dist/domain/application/assistant/build-assistant-lenses.js +3 -3
- package/dist/domain/application/assistant/build-assistant-manifest.js +1 -1
- package/dist/domain/application/assistant/generate-assistant-prompt.d.ts +6 -2
- package/dist/domain/application/assistant/generate-assistant-prompt.js +1 -1
- package/dist/domain/application/assistant/index.d.ts +1 -0
- package/dist/domain/application/assistant/index.js +1 -1
- package/dist/domain/application/assistant/session-setup/apply-assistant-setup.js +1 -1
- package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.d.ts +14 -2
- package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.js +1 -1
- package/dist/domain/application/assistant/session-setup/assistant-takes-images.d.ts +7 -0
- package/dist/domain/application/assistant/session-setup/assistant-takes-images.js +1 -0
- package/dist/domain/application/assistant/session-setup/index.d.ts +1 -0
- package/dist/domain/application/assistant/session-setup/index.js +1 -1
- package/dist/domain/application/assistant-mutations.js +1 -1
- package/dist/domain/application/assistant-recipe-groups.d.ts +4 -3
- package/dist/domain/application/assistant-recipe-groups.js +1 -1
- package/dist/domain/application/configurator-builder.d.ts +2 -0
- package/dist/domain/application/configurator-builder.js +1 -1
- package/dist/domain/application/index.d.ts +2 -1
- package/dist/domain/application/index.js +1 -1
- package/dist/domain/application/standard-properties.d.ts +1 -1
- package/dist/domain/application/standard-properties.js +1 -1
- package/dist/domain/available-system-components/available-system-components.js +1 -1
- package/dist/domain/core/component/system-component-filter.d.ts +1 -0
- package/dist/domain/core/component/system-component-filter.js +1 -1
- package/dist/domain/core/component/view-state-component.d.ts +4 -3
- package/dist/domain/core/component/view-state-component.js +1 -1
- package/dist/domain/core/domain-factory.d.ts +6 -0
- package/dist/domain/core/domain-factory.js +1 -1
- package/dist/domain/core/fit-session-data.d.ts +16 -0
- package/dist/domain/core/fit-session-data.js +1 -0
- package/dist/domain/domain-context/navigation-system/navigation-system.d.ts +2 -2
- package/dist/domain/domain-context/navigation-system/navigation-system.js +1 -1
- package/dist/domain/domain-context/transformers/when-builder.js +1 -1
- package/dist/domain/domain-runtime/domain-context/actions.d.ts +4 -0
- package/dist/domain/domain-runtime/domain-context/actions.js +1 -1
- package/dist/domain/domain-runtime/domain-context/domain-context.d.ts +8 -0
- package/dist/domain/domain-runtime/domain-context/domain-context.js +1 -1
- package/dist/domain/domain-runtime/domain-context/selectors.d.ts +1 -0
- package/dist/domain/domain-runtime/domain-context/selectors.js +1 -1
- package/dist/domain/domain-runtime/domain-context/types.d.ts +8 -4
- package/dist/domain/domain-runtime/domain-runtime.d.ts +8 -0
- package/dist/domain/extensions/export-images/agent-screenshot.d.ts +5 -4
- package/dist/domain/extensions/export-images/agent-screenshot.js +1 -1
- package/dist/domain/extensions/index.d.ts +0 -1
- package/dist/domain/extensions/index.js +1 -1
- package/dist/domain/mocks/create-mock-domain-runtime.d.ts +4 -0
- package/dist/domain/spec/sections/actions.d.ts +3 -2
- package/dist/domain/spec/sections/app-metadata.d.ts +12 -0
- package/dist/domain/spec/sections/assistant/assistant-features.d.ts +13 -0
- package/dist/domain/spec/sections/assistant/assistant-features.js +1 -0
- package/dist/domain/spec/sections/assistant/assistant-manifest.d.ts +17 -6
- package/dist/domain/spec/sections/assistant/assistant-resolved-manifest.d.ts +28 -5
- package/dist/domain/spec/sections/assistant/index.d.ts +1 -0
- package/dist/domain/system-components/index.d.ts +1 -0
- package/dist/domain/system-components/index.js +1 -1
- package/dist/domain/system-components/navigation/index.d.ts +1 -0
- package/dist/domain/system-components/navigation/index.js +1 -0
- package/dist/domain/system-components/navigation/view-controls.d.ts +24 -0
- package/dist/domain/system-components/navigation/view-controls.js +1 -0
- package/dist/editor/domain-editors/use-implementation-files.js +1 -1
- package/dist/extras/clerk/index.d.ts +6 -0
- package/dist/extras/cognito/AccountAvatar.d.ts +7 -0
- package/dist/extras/cognito/AccountAvatar.js +1 -0
- package/dist/extras/cognito/AccountControl.d.ts +14 -0
- package/dist/extras/cognito/AccountControl.js +1 -0
- package/dist/extras/cognito/AdminSignInPage.d.ts +26 -0
- package/dist/extras/cognito/AdminSignInPage.js +1 -0
- package/dist/extras/cognito/CognitoSignInPage.d.ts +8 -2
- package/dist/extras/cognito/CognitoSignInPage.js +1 -1
- package/dist/extras/cognito/ConfiguratorSignInPage.d.ts +19 -0
- package/dist/extras/cognito/ConfiguratorSignInPage.js +1 -0
- package/dist/extras/cognito/SignInFailurePage.d.ts +11 -0
- package/dist/extras/cognito/SignInFailurePage.js +1 -0
- package/dist/extras/cognito/SignInGateLayout.d.ts +25 -0
- package/dist/extras/cognito/SignInGateLayout.js +1 -0
- package/dist/extras/cognito/SignInNotice.d.ts +9 -0
- package/dist/extras/cognito/SignInNotice.js +1 -0
- package/dist/extras/cognito/index.d.ts +4 -0
- package/dist/extras/cognito/index.js +1 -1
- package/dist/globals/index.d.ts +5 -0
- package/dist/i18n/locales/cs/messages.js +1 -1
- package/dist/i18n/locales/da/messages.js +1 -1
- package/dist/i18n/locales/de/messages.js +1 -1
- package/dist/i18n/locales/de-AT/messages.js +1 -1
- package/dist/i18n/locales/en/messages.js +1 -1
- package/dist/i18n/locales/en-AU/messages.js +1 -1
- package/dist/i18n/locales/en-GB/messages.js +1 -1
- package/dist/i18n/locales/es/messages.js +1 -1
- package/dist/i18n/locales/fr/messages.js +1 -1
- package/dist/i18n/locales/hu/messages.js +1 -1
- package/dist/i18n/locales/it/messages.js +1 -1
- package/dist/i18n/locales/nl/messages.js +1 -1
- package/dist/i18n/locales/pl/messages.js +1 -1
- package/dist/i18n/locales/pt/messages.js +1 -1
- package/dist/i18n/locales/ro/messages.js +1 -1
- package/dist/i18n/locales/sk/messages.js +1 -1
- package/dist/i18n/locales/tr/messages.js +1 -1
- package/dist/legacy/deployment-cli/commands/create-environment.js +1 -1
- package/dist/legacy/deployment-cli/commands/list-environments.js +1 -1
- package/dist/legacy/deployment-cli/commands/register-deployment.js +1 -1
- package/dist/legacy/domain-spec/__generated/domain-schema.d.ts +12 -3
- package/dist/legacy/phoenix-cli/commands/prepare-deployment-command.js +1 -1
- package/dist/legacy/phoenix-cli/commands/prepare-local-environment-command.js +1 -1
- package/dist/legacy/phoenix-cli/services/prepare-development-environment.js +1 -1
- package/dist/legacy/phoenix-cli/services/webhook-service/transport.js +1 -1
- package/dist/phoenix/application-spec/index.d.ts +1 -1
- package/dist/phoenix/application-spec/index.js +1 -1
- package/dist/phoenix/application-spec/resolve-deployment-data.d.ts +10 -3
- package/dist/phoenix/application-spec/resolve-deployment-data.js +2 -2
- package/dist/phoenix/cli.js +1 -1
- package/dist/phoenix/commands/account/whoami.d.ts +8 -2
- package/dist/phoenix/commands/account/whoami.js +4 -3
- package/dist/phoenix/commands/cleanup-environment.js +1 -1
- package/dist/phoenix/commands/deploy.d.ts +7 -2
- package/dist/phoenix/commands/deploy.js +9 -3
- package/dist/phoenix/commands/deployment-build-envs-command.js +1 -1
- package/dist/phoenix/commands/deps/deps.js +2 -2
- package/dist/phoenix/commands/feedback.d.ts +2 -2
- package/dist/phoenix/commands/feedback.js +1 -1
- package/dist/phoenix/commands/finish-deployment-command.js +1 -1
- package/dist/phoenix/commands/init-starter-spec.js +3 -4
- package/dist/phoenix/commands/init.d.ts +2 -2
- package/dist/phoenix/commands/init.js +1 -1
- package/dist/phoenix/commands/login.d.ts +1 -1
- package/dist/phoenix/commands/login.js +2 -2
- package/dist/phoenix/commands/logout.js +1 -1
- package/dist/phoenix/commands/prepare-deployment-command.js +2 -2
- package/dist/phoenix/commands/prepare-local-environment-command.js +1 -1
- package/dist/phoenix/services/cli-credentials.d.ts +13 -2
- package/dist/phoenix/services/cli-credentials.js +2 -2
- package/dist/phoenix/services/cli-server/describe-saved-logins.d.ts +5 -0
- package/dist/phoenix/services/cli-server/describe-saved-logins.js +1 -0
- package/dist/phoenix/services/cli-server/index.d.ts +2 -0
- package/dist/phoenix/services/cli-server/index.js +1 -0
- package/dist/phoenix/services/cli-server/resolve-cli-server-url.d.ts +25 -0
- package/dist/phoenix/services/cli-server/resolve-cli-server-url.js +1 -0
- package/dist/phoenix/services/development-credential.js +1 -1
- package/dist/phoenix/services/frontend-config.d.ts +2 -0
- package/dist/phoenix/services/index.d.ts +4 -2
- package/dist/phoenix/services/index.js +1 -1
- package/dist/phoenix/services/phoenix-regions.d.ts +15 -5
- package/dist/phoenix/services/phoenix-regions.js +1 -1
- package/dist/phoenix/services/prepare-development-environment.js +2 -2
- package/dist/phoenix/services/session/phoenix-application.js +1 -1
- package/dist/phoenix/services/signed-in-development-environment.d.ts +15 -4
- package/dist/phoenix/services/signed-in-development-environment.js +1 -1
- package/dist/phoenix/services/spec-project/describe-workspace-projects.d.ts +11 -0
- package/dist/phoenix/services/spec-project/describe-workspace-projects.js +1 -0
- package/dist/phoenix/services/spec-project/index.d.ts +3 -0
- package/dist/phoenix/services/spec-project/index.js +1 -0
- package/dist/phoenix/services/spec-project/resolve-deploy-target.d.ts +47 -0
- package/dist/phoenix/services/spec-project/resolve-deploy-target.js +1 -0
- package/dist/phoenix/services/spec-project/resolve-target-project.d.ts +34 -0
- package/dist/phoenix/services/spec-project/resolve-target-project.js +2 -0
- package/dist/phoenix/services/spec-project/write-spec-project.d.ts +7 -0
- package/dist/phoenix/services/spec-project/write-spec-project.js +1 -0
- package/dist/phoenix/services/variant-file-session.js +1 -1
- package/dist/phoenix/services/vite-config.js +1 -1
- package/dist/phoenix/services/webhook-service/transport.js +1 -1
- package/dist/react-sdk/application-runtime/common-services/selectors.js +1 -1
- package/dist/react-sdk/application-runtime/domain-application-context/configuration-persist-system.d.ts +6 -0
- package/dist/react-sdk/application-runtime/domain-application-context/configuration-persist-system.js +1 -1
- package/dist/react-sdk/application-runtime/host-properties/selectors.d.ts +2 -2
- package/dist/react-sdk/application-runtime/integration/integration-mode.d.ts +30 -0
- package/dist/react-sdk/application-runtime/integration/integration-mode.js +1 -1
- package/dist/react-sdk/application-runtime/runtime/create-application-runtime.d.ts +20 -6
- package/dist/react-sdk/application-runtime/session/actions.d.ts +2 -1
- package/dist/react-sdk/application-runtime/session/actions.js +1 -1
- package/dist/react-sdk/application-runtime/session/initialize.js +1 -1
- package/dist/react-sdk/application-runtime/session/selectors.d.ts +2 -0
- package/dist/react-sdk/application-runtime/session/selectors.js +1 -1
- package/dist/react-sdk/application-runtime/session/session-service.d.ts +64 -2
- package/dist/react-sdk/application-runtime/session/session-service.js +1 -1
- package/dist/react-sdk/application-runtime/session/session-token.d.ts +8 -0
- package/dist/react-sdk/application-runtime/session/session-token.js +1 -1
- package/dist/react-sdk/application-runtime/session/types.d.ts +6 -1
- package/dist/react-sdk/domain-context/common-hooks/use-domain-context.d.ts +1 -0
- package/dist/react-sdk/domain-context/index.d.ts +3 -2
- package/dist/react-sdk/domain-context/index.js +1 -1
- package/dist/react-sdk/domain-context/system-hooks/generate-share-link-hooks.d.ts +1 -5
- package/dist/react-sdk/domain-context/system-hooks/generate-share-link-hooks.js +1 -1
- package/dist/react-sdk/domain-context/system-hooks/generate-share-link.d.ts +25 -0
- package/dist/react-sdk/domain-context/system-hooks/generate-share-link.js +1 -0
- package/dist/react-sdk/domain-context/system-hooks/navigation-hooks.d.ts +5 -3
- package/dist/react-sdk/domain-context/system-hooks/navigation-hooks.js +1 -1
- package/dist/react-sdk/preset-selection/PresetSelectionProvider.js +1 -1
- package/dist/react-sdk/session/AccessDeniedAdminPage.d.ts +13 -0
- package/dist/react-sdk/session/AccessDeniedAdminPage.js +1 -0
- package/dist/react-sdk/session/AccessDeniedPage.d.ts +20 -0
- package/dist/react-sdk/session/AccessDeniedPage.js +1 -0
- package/dist/react-sdk/session/ConfiguratorUnavailablePage.d.ts +5 -0
- package/dist/react-sdk/session/ConfiguratorUnavailablePage.js +1 -0
- package/dist/react-sdk/session/SessionServiceProvider.d.ts +5 -0
- package/dist/react-sdk/session/SessionServiceProvider.js +1 -1
- package/dist/react-sdk/session/index.d.ts +3 -0
- package/dist/react-sdk/session/index.js +1 -1
- package/dist/react-sdk/session/server-sign-in-support.d.ts +16 -0
- package/dist/react-sdk/session/server-sign-in-support.js +1 -0
- package/dist/react-sdk/session/sign-in-address.d.ts +18 -0
- package/dist/react-sdk/session/sign-in-address.js +1 -0
- package/dist/react-sdk/session/studio-frame.d.ts +14 -0
- package/dist/react-sdk/session/studio-frame.js +1 -0
- package/dist/react-sdk/session/use-sign-in.d.ts +51 -0
- package/dist/react-sdk/session/use-sign-in.js +1 -0
- package/dist/ui-sdk/components/preview/Preview.d.ts +12 -4
- package/dist/ui-sdk/components/preview/Preview.js +2 -2
- package/dist/ui-sdk/components/snackbar/Snackbar.d.ts +3 -2
- package/dist/ui-sdk/components/snackbar/Snackbar.js +1 -1
- package/dist/ui-sdk/components/toolbar/desktop-toolbar/ToolbarPopper.d.ts +2 -0
- package/dist/ui-sdk/components/toolbar/desktop-toolbar/ToolbarPopper.js +1 -1
- package/dist/ui-sdk/components/view-controls/ViewControlsContext.d.ts +3 -1
- package/dist/ui-sdk/components/view-controls/ViewControlsItem.js +1 -1
- package/dist/ui-sdk/components/view-controls/ViewControlsRoot.d.ts +6 -1
- package/dist/ui-sdk/components/view-controls/ViewControlsRoot.js +1 -1
- package/dist/webhook/builders/auth-handler-builder.d.ts +21 -1
- package/dist/webhook/builders/auth-handler-builder.js +1 -1
- package/dist/webhook/builders/common.d.ts +9 -0
- package/dist/webhook/builders/webhook-builder.d.ts +18 -0
- package/dist/webhook/builders/webhook-builder.js +1 -1
- package/package.json +5 -4
- package/schema/domain-spec.json +224 -65
- package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/assistant.js +0 -43
- package/dist/application-spec/generate-application/code/templates/skills/features/webhooks/assistant-setup.js +0 -32
- package/dist/application-spec/generate-application/code/templates/skills/processes/beta.d.ts +0 -14
- package/dist/application-spec/generate-application/code/templates/skills/processes/beta.js +0 -4
- package/dist/domain/extensions/view-controls.d.ts +0 -25
- package/dist/domain/extensions/view-controls.js +0 -1
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
# Actions
|
|
2
|
+
|
|
3
|
+
Some changes are more than setting a value, adding a part or removing one. Moving a part goes through the placement rules. Replacing a whole floor plan creates and removes many entities at once. Placing a catalog item puts it where it fits. For these, the assistant runs an action: an operation you write in code and declare in the spec.
|
|
4
|
+
|
|
5
|
+
An action is also how the assistant does a large job in one step. An internal configurator can offer one that lays out a whole design from a few inputs. The agent then calls it once, where it would otherwise build the same result from dozens of single changes.
|
|
6
|
+
|
|
7
|
+
Reach for an action after the standard changes, not before. A field with choices or a recipe group tells the agent what is possible and what each choice would lead to. An action only takes inputs. See [Changing the Configuration](?path=/docs/phoenix-assistant-changing-the-configuration--docs).
|
|
8
|
+
|
|
9
|
+
- [Exposing an action](#exposing-an-action)
|
|
10
|
+
- [Inputs the agent gets right](#inputs-the-agent-gets-right)
|
|
11
|
+
- [Results and errors](#results-and-errors)
|
|
12
|
+
|
|
13
|
+
## Exposing an action
|
|
14
|
+
|
|
15
|
+
An action is declared once under `actions` and implemented in `src/actions/`. The controls of the UI can run it, and so can the assistant. This keeps a rule such as "the part must stay inside the range" in one place. [Domain Actions](?path=/docs/other-features-domain-actions--docs) covers how to declare and implement one. This page covers what the assistant needs on top.
|
|
16
|
+
|
|
17
|
+
Typical actions in a real setup: move a part to a position through the same snapping as a drag, set the length of one run while its neighbors follow, replace the whole outline from a list of points, add an item from the catalog.
|
|
18
|
+
|
|
19
|
+
#### Configure
|
|
20
|
+
|
|
21
|
+
```yaml
|
|
22
|
+
actions:
|
|
23
|
+
movePartBy:
|
|
24
|
+
description: Moves a base unit among the base units by a number of positions.
|
|
25
|
+
params:
|
|
26
|
+
partId:
|
|
27
|
+
$ref: phx:DomainEntityId
|
|
28
|
+
references: Base
|
|
29
|
+
description: The base unit to move
|
|
30
|
+
delta:
|
|
31
|
+
type: integer
|
|
32
|
+
description: Positions to move by; negative moves left
|
|
33
|
+
|
|
34
|
+
assistant:
|
|
35
|
+
actions:
|
|
36
|
+
movePartBy:
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
- **`assistant.actions`** lists the actions the agent may run, by the names they have under `actions`. An empty entry is enough.
|
|
40
|
+
- **The action's own `description` and `params`** are what the agent gets. They are written once, for the UI and the assistant alike.
|
|
41
|
+
- **This action declares no `result`**, so it reports nothing beyond having run. [Results and errors](#results-and-errors) covers what a useful result holds.
|
|
42
|
+
|
|
43
|
+
An entry can also change how the agent sees the action:
|
|
44
|
+
|
|
45
|
+
```yaml
|
|
46
|
+
assistant:
|
|
47
|
+
actions:
|
|
48
|
+
movePartBy:
|
|
49
|
+
as: moveBaseUnit
|
|
50
|
+
description: Moves a base unit left or right. Use it whenever the user asks to reorder the range.
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
- **`as`** gives the action another name for the agent.
|
|
54
|
+
- **`description`** replaces the action's own description for the agent. Use it to say when to use the action, which the UI never needed to know.
|
|
55
|
+
|
|
56
|
+
<details>
|
|
57
|
+
<summary>What the agent sees</summary>
|
|
58
|
+
|
|
59
|
+
```graphql
|
|
60
|
+
type Mutation {
|
|
61
|
+
"Moves a base unit among the base units by a number of positions."
|
|
62
|
+
movePartBy(partId: ID!, delta: Int!): Boolean!
|
|
63
|
+
}
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
The action is a mutation of its own, next to the standard ones. Each param is an argument. An action without a `result` returns `true` once its changes apply. The guide tells the agent to prefer one mutation that does the whole of what the user asked over building the same change from several others.
|
|
67
|
+
|
|
68
|
+
</details>
|
|
69
|
+
|
|
70
|
+
## Inputs the agent gets right
|
|
71
|
+
|
|
72
|
+
A control calls an action with values the UI made sure of: the id of the part the user clicked, an offset from a button. The agent makes its inputs up from the conversation. Three things keep them right.
|
|
73
|
+
|
|
74
|
+
- **Describe every param.** Give the unit, and for a position the axis and the origin, as for [a field](?path=/docs/phoenix-assistant-reading-the-configuration--docs). For a direction, say what it is relative to.
|
|
75
|
+
- **Put the limits into the schema.** A `minimum`, a `maximum` or an `enum` is checked before your code runs, and the agent reads the allowed values of an `enum` in the description.
|
|
76
|
+
- **Check an id in your code.** `references` types an id param, but any entity id passes the check at run time.
|
|
77
|
+
|
|
78
|
+
#### Configure
|
|
79
|
+
|
|
80
|
+
```yaml
|
|
81
|
+
actions:
|
|
82
|
+
extendRailing:
|
|
83
|
+
description: Extends one end of the railing by a straight run or a 90-degree turn.
|
|
84
|
+
params:
|
|
85
|
+
end:
|
|
86
|
+
type: string
|
|
87
|
+
enum: [start, end]
|
|
88
|
+
description: Which end of the railing to extend
|
|
89
|
+
direction:
|
|
90
|
+
type: string
|
|
91
|
+
enum: [straight, left, right]
|
|
92
|
+
description: Direction, seen facing outwards from that end
|
|
93
|
+
lengthMm:
|
|
94
|
+
type: number
|
|
95
|
+
minimum: 850
|
|
96
|
+
maximum: 25000
|
|
97
|
+
description: Length to add, in millimeters
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
- **`enum`** limits a param to a few words. The agent picks one of them.
|
|
101
|
+
- **`minimum`** and **`maximum`** bound a number. A value outside fails before the action runs.
|
|
102
|
+
- **`description`** of `direction` says what left and right are measured against. Without it the agent would have to guess.
|
|
103
|
+
|
|
104
|
+
A param whose schema allows `null` is optional. Every other param is required.
|
|
105
|
+
|
|
106
|
+
<details>
|
|
107
|
+
<summary>What the agent sees</summary>
|
|
108
|
+
|
|
109
|
+
```graphql
|
|
110
|
+
type Mutation {
|
|
111
|
+
extendRailing(
|
|
112
|
+
"Which end of the railing to extend. One of: \"start\", \"end\"."
|
|
113
|
+
end: String!
|
|
114
|
+
"Direction, seen facing outwards from that end. One of: \"straight\", \"left\", \"right\"."
|
|
115
|
+
direction: String!
|
|
116
|
+
"Length to add, in millimeters"
|
|
117
|
+
lengthMm: Float!
|
|
118
|
+
): Boolean!
|
|
119
|
+
}
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
An `enum` param is a `String` whose description ends with the allowed values. The limits of a number are not shown to the agent, so name them in the description when they matter for planning.
|
|
123
|
+
|
|
124
|
+
</details>
|
|
125
|
+
|
|
126
|
+
## Results and errors
|
|
127
|
+
|
|
128
|
+
After an action, the agent has to tell the user what happened, and often continue from there. Give it what it needs for both in the result, so it does not have to read the configuration again.
|
|
129
|
+
|
|
130
|
+
Return the entities the action changed or created. This matters most where the outcome can differ from the request. A move that snaps ends at the snapped position, and the agent should report that one, not the one it asked for.
|
|
131
|
+
|
|
132
|
+
When an action has nothing worth reporting, leave `result` out. Do not return the root for good measure. The agent can read the root at any time, and a result that hands it the whole configuration invites it to read everything after every call.
|
|
133
|
+
|
|
134
|
+
When an action cannot do what was asked, throw an error. The agent reads the message, so say what went wrong and what to send instead. The same message reaches the user when a control runs the action.
|
|
135
|
+
|
|
136
|
+
#### Configure
|
|
137
|
+
|
|
138
|
+
```yaml
|
|
139
|
+
actions:
|
|
140
|
+
movePartBy:
|
|
141
|
+
result:
|
|
142
|
+
part:
|
|
143
|
+
$ref: phx:$DomainEntity
|
|
144
|
+
references: Base
|
|
145
|
+
description: The moved base unit at its new position
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
```ts
|
|
149
|
+
// src/actions/move-part.ts
|
|
150
|
+
export default phx.frontend.implementActions({
|
|
151
|
+
movePartBy: ({ partId, delta }, state, { systems: { domain } }) => {
|
|
152
|
+
const entity = state.entities.find(candidate => candidate.id === partId)
|
|
153
|
+
|
|
154
|
+
if (entity?.type !== 'Base') {
|
|
155
|
+
throw new Error(`"${partId}" is not a base unit. Pass the id of a base unit, as the range lists them.`)
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
return {
|
|
159
|
+
updates: movePartBy(domain.get$Entity(partId, state), delta),
|
|
160
|
+
readResult: ({ state: moved }) => ({ part: domain.get$Entity(partId, moved) }),
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
})
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
- **A result member typed `phx:$DomainEntity`** returns an entity. `references` names its type.
|
|
167
|
+
- **`readResult`** reads the result from the state after the change, so it includes whatever the configurator adjusted along the way.
|
|
168
|
+
- **The thrown message** names the problem and the fix.
|
|
169
|
+
- **`movePartBy`**, called for the updates, is the project's own helper.
|
|
170
|
+
|
|
171
|
+
<details>
|
|
172
|
+
<summary>What the agent sees</summary>
|
|
173
|
+
|
|
174
|
+
```graphql
|
|
175
|
+
type MovePartByResult {
|
|
176
|
+
"The moved base unit at its new position"
|
|
177
|
+
part: Base!
|
|
178
|
+
}
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
The agent reads the result like any entity, with the fields you listed under `entities`: `movePartBy(partId: "Base-2", delta: 1) { part { id width } }`. A failed call returns the thrown message as its error, and nothing is changed.
|
|
182
|
+
|
|
183
|
+
</details>
|
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
# Changing the Configuration
|
|
2
|
+
|
|
3
|
+
The assistant changes a configuration the way the user does. It sets a value, adds a part, replaces one or removes one. Each of these reuses what the configurator's controls already declare, so the agent gets the choices the user has and no others. The configurator then treats the change like a click: it adjusts what it would adjust and refuses what it would refuse.
|
|
4
|
+
|
|
5
|
+
Prefer these standard changes wherever they fit. They come with abilities that an operation of your own does not get, which the [last topic](#what-every-standard-change-comes-with) covers.
|
|
6
|
+
|
|
7
|
+
- [Writable fields](#writable-fields)
|
|
8
|
+
- [Fields with a list of choices](#fields-with-a-list-of-choices)
|
|
9
|
+
- [Adding and replacing parts](#adding-and-replacing-parts)
|
|
10
|
+
- [Removing parts](#removing-parts)
|
|
11
|
+
- [What every standard change comes with](#what-every-standard-change-comes-with)
|
|
12
|
+
|
|
13
|
+
## Writable fields
|
|
14
|
+
|
|
15
|
+
Make a field writable when the user sets it directly in the configurator: a name, a length, a color, a finish. The agent then sets it on request, and several fields in one step.
|
|
16
|
+
|
|
17
|
+
Leave a field out when the configurator works it out. A position that a placement rule or a drag decides is the usual case. Writing it directly would bypass that rule, so such a move belongs in an [action](?path=/docs/phoenix-assistant-actions--docs).
|
|
18
|
+
|
|
19
|
+
This topic covers fields with a free value. Fields the user picks from a list come [next](#fields-with-a-list-of-choices).
|
|
20
|
+
|
|
21
|
+
#### Configure
|
|
22
|
+
|
|
23
|
+
```yaml
|
|
24
|
+
assistant:
|
|
25
|
+
entities:
|
|
26
|
+
Module:
|
|
27
|
+
name:
|
|
28
|
+
description: Name of the module, shown on drawings
|
|
29
|
+
length:
|
|
30
|
+
description: Length of the module in millimeters
|
|
31
|
+
writable:
|
|
32
|
+
Module:
|
|
33
|
+
name:
|
|
34
|
+
length:
|
|
35
|
+
description: Length of the module in millimeters. The modules after this one move along.
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
- **`writable`** takes an entity type, then the fields the agent may set on it. An empty entry, as for `name`, is enough.
|
|
39
|
+
- **`description`** on a writable entry says what writing the field does, where that is more than what the field means. Here it adds what a new length does to the other modules.
|
|
40
|
+
- **Without one, the agent gets the description from `entities`.** Where the field is not listed there either, it gets the description the domain model gives the field.
|
|
41
|
+
|
|
42
|
+
List a writable field under `entities` too. Otherwise the agent can set a value it cannot read back.
|
|
43
|
+
|
|
44
|
+
Take care with a free value. A control can make a wrong value impossible to enter, with a slider that stops at its limits or a number input with a step. The agent has no control in front of it and can send any value. Three things stop a wrong one, and all are yours to set up:
|
|
45
|
+
|
|
46
|
+
- **The domain model.** The agent's value is checked against the field's schema before anything is applied. Put the limits there: `minimum`, `maximum`, `enum`, a pattern.
|
|
47
|
+
- **An invariant.** A change that leaves the configuration with an error-level violation is refused, and the agent gets the violation's message. Use one for a rule the schema cannot express, such as a limit that depends on another field.
|
|
48
|
+
- **A list of choices.** A field with a list accepts only a value from that list, which is the next topic.
|
|
49
|
+
|
|
50
|
+
<details>
|
|
51
|
+
<summary>What the agent sees</summary>
|
|
52
|
+
|
|
53
|
+
```graphql
|
|
54
|
+
type Mutation {
|
|
55
|
+
modifyModule(id: ID!, delta: ModuleDelta!): Module
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
input ModuleDelta {
|
|
59
|
+
"Name of the module, shown on drawings"
|
|
60
|
+
name: String
|
|
61
|
+
"Length of the module in millimeters. The modules after this one move along."
|
|
62
|
+
length: Float
|
|
63
|
+
}
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
Each entity type with writable fields gets one mutation. Its `delta` holds the writable fields, all optional, so the agent sends only the ones it changes. Each field carries its description: the one from the `writable` entry for `length`, and the one from `entities` for `name`.
|
|
67
|
+
|
|
68
|
+
</details>
|
|
69
|
+
|
|
70
|
+
## Fields with a list of choices
|
|
71
|
+
|
|
72
|
+
Most fields the user sets are picked from a list: a swatch of colors, a select of finishes, a set of catalog widths. The agent should pick from the same list. It then offers what the user could pick, with the same names, colors and pictures, and cannot write anything else.
|
|
73
|
+
|
|
74
|
+
#### How the list is found
|
|
75
|
+
|
|
76
|
+
The agent's list is the list of the control that writes the field. With an empty entry the build finds that control by itself:
|
|
77
|
+
|
|
78
|
+
```yaml
|
|
79
|
+
components:
|
|
80
|
+
KitchenRange:
|
|
81
|
+
materialSwatch:
|
|
82
|
+
trim:
|
|
83
|
+
selectedSwatchKey:
|
|
84
|
+
$bind: trim
|
|
85
|
+
swatches:
|
|
86
|
+
$read: $trimSwatches
|
|
87
|
+
|
|
88
|
+
assistant:
|
|
89
|
+
writable:
|
|
90
|
+
KitchenRange:
|
|
91
|
+
trim:
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
- **The build looks at three kinds of control**: `materialSwatch`, `attributeSelection` and `distanceDimensionSelect`. These are the ones that hold a list of choices.
|
|
95
|
+
- **It looks on the entity type and on every alias that contains it.** The `trim` swatch sits on `KitchenRange` here.
|
|
96
|
+
- **It takes the instance that writes the field through `$bind` or `$write`.** The swatch's `selectedSwatchKey` has `$bind: trim`, so this swatch writes `trim`, and its `swatches` become the agent's choices. `$write: trim` next to a `$read` counts the same way. See [Components](?path=/docs/phoenix-components--docs) for the two bindings.
|
|
97
|
+
|
|
98
|
+
What happens next depends on how many instances the build finds:
|
|
99
|
+
|
|
100
|
+
- **One.** Its choices are the agent's list. This is the common case.
|
|
101
|
+
- **None.** The field has no list and is a [free value](#writable-fields). A field written by a control of another kind, or by code, ends up here.
|
|
102
|
+
- **Several.** The build fails and names each of them. Say which one counts with `options`.
|
|
103
|
+
|
|
104
|
+
#### Configure
|
|
105
|
+
|
|
106
|
+
`options` is for the cases the build cannot settle by itself, and for telling the agent more about the list:
|
|
107
|
+
|
|
108
|
+
```yaml
|
|
109
|
+
assistant:
|
|
110
|
+
writable:
|
|
111
|
+
KitchenRange:
|
|
112
|
+
color:
|
|
113
|
+
options:
|
|
114
|
+
hints: [sameForAllInstances, constantDuringSession]
|
|
115
|
+
Base:
|
|
116
|
+
width:
|
|
117
|
+
options:
|
|
118
|
+
componentType: distanceDimensionSelect
|
|
119
|
+
instanceName: catalogWidth
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
- **`hints`** are promises about the list. `sameForAllInstances` says every entity of the type gets the same list. `constantDuringSession` says the list does not change while the user works. With both, the agent reads the colors once and not again after every change. Nothing checks a hint, so give one only when it holds.
|
|
123
|
+
- **`componentType`** and **`instanceName`** name the control, and go together. Two `distanceDimensionSelect` instances write `Base.width` here, so the build cannot choose. One is the user's own control. The other, `catalogWidth`, is shown by no layout and exists to give the agent a list of its own: the catalog widths, each with a short description. A named instance does not have to write the field.
|
|
124
|
+
|
|
125
|
+
#### Every choice carries its what-if
|
|
126
|
+
|
|
127
|
+
Think of the choices as the buttons of a control. Each button stands for a what-if: the configuration as it would be after the click. The agent gets that what-if with every choice, as its `dryRun`. It says whether the change would succeed, what the configuration would then look like, what else the configurator would adjust, and which warnings or errors would follow. Nothing is changed by reading it.
|
|
128
|
+
|
|
129
|
+
This is what lets the agent choose well and not only choose. It reads the whole list with the what-ifs it cares about in one go, and picks the color that keeps the price lowest or the width that still fits. Recipes carry the same what-if. See [Adding and replacing parts](#adding-and-replacing-parts).
|
|
130
|
+
|
|
131
|
+
Three more settings cover rarer cases:
|
|
132
|
+
|
|
133
|
+
```yaml
|
|
134
|
+
assistant:
|
|
135
|
+
writable:
|
|
136
|
+
Shelf:
|
|
137
|
+
thickness:
|
|
138
|
+
options:
|
|
139
|
+
validate: false
|
|
140
|
+
label:
|
|
141
|
+
options: null
|
|
142
|
+
material:
|
|
143
|
+
options:
|
|
144
|
+
allowDryRuns: false
|
|
145
|
+
as: materials
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
- **`validate: false`** turns off the check against the list, so the agent may write a value the list does not hold. The list then only suggests. This is rarely needed.
|
|
149
|
+
- **`options: null`** makes the field writable with no list, even though a control with choices writes it. It is then a [free value](#writable-fields).
|
|
150
|
+
- **`allowDryRuns: false`** leaves the what-if off the choices of this list: `dryRun` is null on each of them. Every what-if is a full run of the change, so a list of several hundred materials is too costly to try out in one read. The agent can still try a single value by running the change in memory.
|
|
151
|
+
- **`as`** names the list for the agent. By default the name is the field's name followed by `Options`, so `materialOptions` here.
|
|
152
|
+
|
|
153
|
+
<details>
|
|
154
|
+
<summary>What the agent sees</summary>
|
|
155
|
+
|
|
156
|
+
```graphql
|
|
157
|
+
type KitchenRange {
|
|
158
|
+
"Accepts the values listed under meta { colorOptions }."
|
|
159
|
+
color: String!
|
|
160
|
+
meta: KitchenRangeMeta!
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
type KitchenRangeMeta {
|
|
164
|
+
"Values \"color\" accepts on this KitchenRange. Null when there is no choice to make. Same for every KitchenRange. Fixed for the session."
|
|
165
|
+
colorOptions: [FieldOption!]
|
|
166
|
+
}
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
Every entity has a `meta` field that says what can be done to it right now. The lists sit there and not on the entity itself, so a plain read of the range stays small.
|
|
170
|
+
|
|
171
|
+
The list is named after the field, `colorOptions`, and its description names the field too. The field points back: its description, on the entity and in the delta, ends with a sentence that names the list. The guide tells the agent to read the list before it changes such a field, and before it tells the user what is available.
|
|
172
|
+
|
|
173
|
+
Each choice is a `FieldOption`, with what the user sees and the what-if:
|
|
174
|
+
|
|
175
|
+
```graphql
|
|
176
|
+
type FieldOption {
|
|
177
|
+
value: JSON! # what to write
|
|
178
|
+
name: String # what the user sees, with color and imageUrl next to it
|
|
179
|
+
dryRun: DryRun
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
type DryRun {
|
|
183
|
+
ok: Boolean!
|
|
184
|
+
root: KitchenRange # the configuration as it would be
|
|
185
|
+
sideEffects: [String!]!
|
|
186
|
+
warnings: [JSON!]!
|
|
187
|
+
errors: [JSON!]!
|
|
188
|
+
}
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
To compare the colors by price, the agent reads the price each one would lead to. This assumes `$price` is listed under `entities`:
|
|
192
|
+
|
|
193
|
+
```graphql
|
|
194
|
+
{
|
|
195
|
+
root {
|
|
196
|
+
meta {
|
|
197
|
+
colorOptions {
|
|
198
|
+
name
|
|
199
|
+
dryRun {
|
|
200
|
+
root {
|
|
201
|
+
_price
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
A hint becomes a sentence in the description of the list: "Same for every KitchenRange." and "Fixed for the session." here. In the same way, `validate: false` adds "Not checked on write." and `allowDryRuns: false` adds "Cannot be dry-run."
|
|
211
|
+
|
|
212
|
+
</details>
|
|
213
|
+
|
|
214
|
+
## Adding and replacing parts
|
|
215
|
+
|
|
216
|
+
Parts are added and replaced through recipes: the catalog of things the user can pick from in the configurator, such as modules, appliances or accessories. Expose the recipe groups the user has, and the agent adds from the same catalog, with the same names and pictures. The configurator places the new part and adjusts the rest as it does for the user.
|
|
217
|
+
|
|
218
|
+
The description of a group is where you say what using it does beyond the obvious. The user learns that by watching the scene, and the agent can only read it. Typical cases: the new part copies the settings of its neighbor, the range grows by a cabinet, or replacing a part removes what was attached to it. Where a product has a group per direction, say which direction each one adds in.
|
|
219
|
+
|
|
220
|
+
A part that the UI adds through code of its own has no recipe group for the agent to use. Give it one, or expose an action for it.
|
|
221
|
+
|
|
222
|
+
#### Configure
|
|
223
|
+
|
|
224
|
+
```yaml
|
|
225
|
+
assistant:
|
|
226
|
+
childRecipes:
|
|
227
|
+
KitchenRange:
|
|
228
|
+
base:
|
|
229
|
+
description: Base units that can be added to the range
|
|
230
|
+
top:
|
|
231
|
+
description: >-
|
|
232
|
+
Cooking components that can be added on top of the range. The range places the component
|
|
233
|
+
where it fits and adds a cabinet when the component needs one.
|
|
234
|
+
replaceRecipes:
|
|
235
|
+
Base:
|
|
236
|
+
replace:
|
|
237
|
+
description: >-
|
|
238
|
+
Other base units this one can be replaced with. Replacing removes the cooking components
|
|
239
|
+
linked to this base unit.
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
- **`childRecipes`** takes an entity type, then the instance names of its `childEntityRecipes` components. `base` and `top` are two such components on the range.
|
|
243
|
+
- **`replaceRecipes`** does the same for `replaceEntityRecipes` components.
|
|
244
|
+
- **`description`** tells the agent what the group holds and what using it does.
|
|
245
|
+
|
|
246
|
+
A group also takes `hints`, `allowDryRuns` and `as`, with the same meaning as for [the choices of a field](#fields-with-a-list-of-choices). See [Recipes & Delete](?path=/docs/recipes-delete-simple--docs) for the components themselves.
|
|
247
|
+
|
|
248
|
+
<details>
|
|
249
|
+
<summary>What the agent sees</summary>
|
|
250
|
+
|
|
251
|
+
```graphql
|
|
252
|
+
type KitchenRangeChildRecipes {
|
|
253
|
+
"Base units that can be added to the range. Null while the configurator does not offer it on the entity."
|
|
254
|
+
base: RecipeGroup
|
|
255
|
+
top: RecipeGroup
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
type Mutation {
|
|
259
|
+
addChild(parentId: ID!, groupId: String!, recipeKey: String!): [AnyDomainEntity!]!
|
|
260
|
+
replaceEntity(entityId: ID!, groupId: String!, recipeKey: String!): [AnyDomainEntity!]!
|
|
261
|
+
}
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
The groups sit under `meta`, like the choices of a field, and each group is a field of its own. The agent reads only the group it needs, picks a recipe by its key and passes that key to `addChild` or `replaceEntity`. A replacement is a new entity with a new id.
|
|
265
|
+
|
|
266
|
+
Each recipe carries a `dryRun` like a choice does. Before adding anything, the agent can see which recipes would bring a second part along, and what each would do to the price.
|
|
267
|
+
|
|
268
|
+
</details>
|
|
269
|
+
|
|
270
|
+
## Removing parts
|
|
271
|
+
|
|
272
|
+
List the entity types the user can remove in the configurator. The agent then removes one on request.
|
|
273
|
+
|
|
274
|
+
#### Configure
|
|
275
|
+
|
|
276
|
+
```yaml
|
|
277
|
+
assistant:
|
|
278
|
+
deletable:
|
|
279
|
+
Base:
|
|
280
|
+
CookingTop:
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
- **`deletable`** takes entity types, each with an empty entry.
|
|
284
|
+
|
|
285
|
+
Removing an entity also removes everything composed into it. A removal the configuration does not allow fails, and the agent gets the reason the user would be shown.
|
|
286
|
+
|
|
287
|
+
Do not list a projected entity type. The configurator creates such entities itself from other data, so it would create a removed one again.
|
|
288
|
+
|
|
289
|
+
<details>
|
|
290
|
+
<summary>What the agent sees</summary>
|
|
291
|
+
|
|
292
|
+
```graphql
|
|
293
|
+
type Mutation {
|
|
294
|
+
"Deletes the entity and everything composed into it. Deletable types: Base, CookingTop. Returns the ids removed, the given one first, then the others of the types this schema describes in detail."
|
|
295
|
+
deleteEntity(id: ID!): [ID!]!
|
|
296
|
+
}
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
One mutation serves all deletable types. The agent learns from its description which types it accepts.
|
|
300
|
+
|
|
301
|
+
</details>
|
|
302
|
+
|
|
303
|
+
## What every standard change comes with
|
|
304
|
+
|
|
305
|
+
Writing a field, adding from a recipe, replacing and removing all run through the configurator's own machinery. That gives the agent four things without any work on your side:
|
|
306
|
+
|
|
307
|
+
- **Looking ahead.** Every choice and every recipe carries [its what-if](#every-choice-carries-its-what-if). The agent can also run any change in memory, read the result and keep nothing.
|
|
308
|
+
- **Side effects, in words.** When the configurator adjusts something else along with the change, the agent is told, and passes it on to the user. It hears the hints the user sees as snackbars.
|
|
309
|
+
- **New warnings.** The agent is told which warnings the change newly caused, so it can mention them or fix them.
|
|
310
|
+
- **Undo.** The changes the agent applies together are one undo step.
|
|
311
|
+
|
|
312
|
+
A change is also all or nothing. When one part of it fails, nothing is kept. While the configuration is read-only, the agent can read and cannot change.
|
|
313
|
+
|
|
314
|
+
An [action](?path=/docs/phoenix-assistant-actions--docs) gets all of this too, with one gap. The agent can try an action out, but nothing lists the inputs it could try. A field comes with its choices and a recipe group with its recipes, and the agent compares them in one read. That is the reason to model a change as a field, a recipe or a removal whenever the product allows it.
|
|
315
|
+
|
|
316
|
+
#### Configure
|
|
317
|
+
|
|
318
|
+
Nothing to declare. The side effects are the hints of your transformers, the rules that adjust the configuration after a change. A transformer can word a hint for the agent separately, or keep it from the agent. See [Side Effects](?path=/docs/other-features-side-effects--docs).
|
|
319
|
+
|
|
320
|
+
<details>
|
|
321
|
+
<summary>What the agent sees</summary>
|
|
322
|
+
|
|
323
|
+
After a real change, the result says what happened beyond the change itself:
|
|
324
|
+
|
|
325
|
+
```json
|
|
326
|
+
{
|
|
327
|
+
"committed": true,
|
|
328
|
+
"sideEffects": ["A cabinet was added to carry the new component"],
|
|
329
|
+
"warnings": []
|
|
330
|
+
}
|
|
331
|
+
```
|
|
332
|
+
|
|
333
|
+
</details>
|