@salsita-ai/sdk 0.50.0-develop.dede205ab0 → 0.50.0-develop.e33c8d8711
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 +13 -12
- package/dist/admin/create-admin-pages-from-spec.d.ts +1 -1
- package/dist/application-spec/core/components/component-filter.d.ts +53 -0
- package/dist/application-spec/core/components/component-filter.js +1 -0
- package/dist/application-spec/core/components/index.d.ts +2 -0
- package/dist/application-spec/core/components/index.js +1 -0
- package/dist/application-spec/core/components/sdk-code-ref.d.ts +9 -0
- package/dist/application-spec/core/components/sdk-code-ref.js +1 -0
- package/dist/application-spec/core/enhanced-json-value.d.ts +0 -68
- package/dist/application-spec/core/enhanced-json-value.js +1 -1
- package/dist/application-spec/core/expressions/index.d.ts +2 -0
- package/dist/application-spec/core/expressions/index.js +1 -0
- package/dist/application-spec/core/expressions/relation-expression-params.d.ts +11 -0
- package/dist/application-spec/core/expressions/sdk-expression-implementation.d.ts +24 -0
- package/dist/application-spec/core/expressions/sdk-expression-implementation.js +1 -0
- package/dist/application-spec/core/index.d.ts +2 -0
- package/dist/application-spec/core/index.js +1 -1
- package/dist/application-spec/core/json-value.d.ts +1 -1
- package/dist/application-spec/{core → enhanced-json}/eval-to-constant.d.ts +1 -1
- package/dist/application-spec/enhanced-json/index.d.ts +4 -0
- package/dist/application-spec/enhanced-json/index.js +1 -0
- package/dist/application-spec/enhanced-json/is-enhanced-json-array.d.ts +2 -0
- package/dist/application-spec/enhanced-json/is-enhanced-json-array.js +1 -0
- package/dist/application-spec/enhanced-json/resolve-enhanced-json-value.d.ts +18 -0
- package/dist/application-spec/enhanced-json/resolve-enhanced-json-value.js +1 -0
- package/dist/application-spec/enhanced-json/schema-from-value.d.ts +24 -0
- package/dist/application-spec/enhanced-json/schema-from-value.js +1 -0
- package/dist/application-spec/enhanced-json/stringify-enhanced-json-value.d.ts +14 -0
- package/dist/application-spec/enhanced-json/stringify-enhanced-json-value.js +1 -0
- package/dist/application-spec/enhanced-json/validate-enhanced-json-value-caps.d.ts +12 -0
- package/dist/application-spec/enhanced-json/validate-enhanced-json-value-caps.js +1 -0
- package/dist/application-spec/enhanced-json/validate-no-legacy-code-ref.d.ts +13 -0
- package/dist/application-spec/enhanced-json/validate-no-legacy-code-ref.js +1 -0
- package/dist/application-spec/errors/diagnostic-codes.d.ts +12 -0
- package/dist/application-spec/errors/diagnostic-codes.js +1 -1
- package/dist/application-spec/errors/diagnostic-messages.d.ts +15 -0
- package/dist/application-spec/errors/diagnostic-messages.js +1 -1
- package/dist/application-spec/generate-application/code/domain-runtime-files.js +1 -1
- package/dist/application-spec/generate-application/code/generate-application-code.d.ts +3 -2
- package/dist/application-spec/generate-application/code/generate-application-code.js +1 -1
- package/dist/application-spec/generate-application/code/project-scaffolding.d.ts +17 -5
- package/dist/application-spec/generate-application/code/project-scaffolding.js +2 -2
- package/dist/application-spec/generate-application/code/standalone-app-files.d.ts +2 -2
- package/dist/application-spec/generate-application/code/standalone-app-files.js +1 -1
- package/dist/application-spec/generate-application/code/templates/configurator-config.js +6 -4
- package/dist/application-spec/generate-application/code/templates/domain-spec/generate-component-optics.js +4 -4
- package/dist/application-spec/generate-application/code/templates/domain-spec/generate-defaults.d.ts +4 -2
- package/dist/application-spec/generate-application/code/templates/domain-spec/generate-defaults.js +1 -1
- package/dist/application-spec/generate-application/code/templates/domain-spec/generate-domain-block.js +56 -56
- package/dist/application-spec/generate-application/code/templates/domain-spec/generate-invariants.d.ts +1 -1
- package/dist/application-spec/generate-application/code/templates/domain-spec/generate-invariants.js +1 -1
- package/dist/application-spec/generate-application/code/templates/domain-spec/generate-phx-globals.js +3 -0
- package/dist/application-spec/generate-application/code/templates/domain-spec/generate-relation-expressions.js +1 -1
- package/dist/application-spec/generate-application/code/templates/domain-spec/generate-resources.d.ts +6 -8
- package/dist/application-spec/generate-application/code/templates/domain-spec/generate-resources.js +11 -11
- package/dist/application-spec/generate-application/code/templates/domain-spec/index.d.ts +1 -1
- package/dist/application-spec/generate-application/code/templates/domain-spec/index.js +1 -1
- package/dist/application-spec/generate-application/code/templates/domain-spec.js +12 -12
- package/dist/application-spec/generate-application/code/templates/domain.js +3 -3
- package/dist/application-spec/generate-application/code/templates/frontend-config.js +3 -5
- package/dist/application-spec/generate-application/code/templates/gitignore.js +1 -2
- package/dist/application-spec/generate-application/code/templates/globals.js +3 -3
- package/dist/application-spec/generate-application/code/templates/index.d.ts +1 -8
- package/dist/application-spec/generate-application/code/templates/index.js +1 -1
- package/dist/application-spec/generate-application/code/templates/package-json.js +1 -1
- package/dist/application-spec/generate-application/code/templates/root-tsconfig.d.ts +6 -0
- package/dist/application-spec/generate-application/code/templates/root-tsconfig.js +2 -0
- package/dist/application-spec/generate-application/code/templates/skills/phoenix-cli-skill.js +1 -1
- package/dist/application-spec/generate-application/code/templates/skills/phoenix-create-configurator-skill.js +66 -42
- package/dist/application-spec/generate-application/code/templates/skills/phoenix-review-skill.js +9 -3
- package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill.js +1 -1
- package/dist/application-spec/generate-application/code/templates/skills/sdk-content.d.ts +24 -18
- package/dist/application-spec/generate-application/code/templates/skills/sdk-content.js +6 -8
- package/dist/application-spec/generate-application/code/templates/tsconfig.d.ts +5 -0
- package/dist/application-spec/generate-application/code/templates/tsconfig.js +1 -1
- package/dist/application-spec/generate-application/code/templates/webhook-builders.js +4 -3
- package/dist/application-spec/generate-application/code/templates/webhook-index.d.ts +6 -1
- package/dist/application-spec/generate-application/code/templates/webhook-index.js +10 -1
- package/dist/application-spec/generate-application/code/templates/webhooks-config.js +2 -3
- package/dist/application-spec/generate-application/index.d.ts +2 -0
- package/dist/application-spec/generate-application/index.js +1 -1
- package/dist/application-spec/generate-application/runtime/admin-runtime/admin-runtime.d.ts +6 -2
- package/dist/application-spec/generate-application/runtime/admin-runtime/admin-runtime.js +1 -1
- package/dist/application-spec/generate-application/runtime/application-runtime.d.ts +8 -3
- package/dist/application-spec/generate-application/runtime/application-runtime.js +1 -1
- package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-runtime.d.ts +5 -3
- package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-runtime.js +1 -1
- package/dist/application-spec/generate-application/runtime/factory-data/factory-data-runtime.d.ts +43 -0
- package/dist/application-spec/generate-application/runtime/factory-data/factory-data-runtime.js +1 -0
- package/dist/application-spec/generate-application/runtime/factory-data/index.d.ts +3 -0
- package/dist/application-spec/generate-application/runtime/factory-data/index.js +1 -0
- package/dist/application-spec/generate-application/runtime/factory-data/recipe-defaults.d.ts +13 -0
- package/dist/application-spec/generate-application/runtime/factory-data/recipe-defaults.js +1 -0
- package/dist/application-spec/generate-application/runtime/factory-data/static-violations.d.ts +16 -0
- package/dist/application-spec/generate-application/runtime/factory-data/static-violations.js +1 -0
- package/dist/application-spec/generate-application/runtime/migrations/index.d.ts +1 -0
- package/dist/application-spec/generate-application/runtime/migrations/index.js +1 -0
- package/dist/application-spec/generate-application/runtime/migrations/migration-runtime.d.ts +53 -0
- package/dist/application-spec/generate-application/runtime/migrations/migration-runtime.js +1 -0
- package/dist/application-spec/generate-application/runtime/sections/build-sdk-optic.d.ts +1 -1
- package/dist/application-spec/generate-application/runtime/sections/build-sdk-optic.js +1 -1
- package/dist/application-spec/generate-application/runtime/sections/component-optic.d.ts +2 -1
- package/dist/application-spec/generate-application/runtime/sections/expression-runtime.js +1 -1
- package/dist/application-spec/generate-application/runtime/sections/transformers-runtime.d.ts +2 -4
- package/dist/application-spec/generate-application/runtime-spec/decode-runtime-spec.d.ts +9 -0
- package/dist/application-spec/generate-application/runtime-spec/decode-runtime-spec.js +1 -0
- package/dist/application-spec/generate-application/runtime-spec/encode-runtime-spec.d.ts +8 -0
- package/dist/application-spec/generate-application/runtime-spec/encode-runtime-spec.js +1 -0
- package/dist/application-spec/generate-application/runtime-spec/encoded-runtime-spec.d.ts +27 -0
- package/dist/application-spec/generate-application/runtime-spec/encoded-runtime-spec.js +1 -0
- package/dist/application-spec/generate-application/runtime-spec/index.d.ts +4 -0
- package/dist/application-spec/generate-application/runtime-spec/index.js +1 -0
- package/dist/application-spec/generate-application/runtime-spec/runtime-spec.d.ts +68 -0
- package/dist/application-spec/generate-application/runtime-spec/runtime-spec.js +1 -0
- package/dist/application-spec/index.d.ts +1 -0
- package/dist/application-spec/index.js +1 -1
- package/dist/application-spec/parse-application-files/categorize/categorize-files.d.ts +16 -0
- package/dist/application-spec/parse-application-files/categorize/categorize-files.js +1 -1
- package/dist/application-spec/parse-application-files/categorize/earlier-generated-tsconfig.d.ts +9 -0
- package/dist/application-spec/parse-application-files/categorize/earlier-generated-tsconfig.js +1 -0
- package/dist/application-spec/parse-application-files/categorize/module-analysis.d.ts +1 -1
- package/dist/application-spec/parse-application-files/categorize/module-analysis.js +1 -1
- package/dist/application-spec/parse-application-files/raw-spec/parse-yaml-spec-file.js +1 -1
- package/dist/application-spec/parse-application-files/raw-spec/raw-assistant.d.ts +16 -3
- package/dist/application-spec/parse-application-files/raw-spec/raw-assistant.js +1 -1
- package/dist/application-spec/parse-application-files/raw-spec/raw-spec-file.js +1 -1
- package/dist/application-spec/parse-application-files/spec/application/admin-spec/admin-spec.js +1 -1
- package/dist/application-spec/parse-application-files/spec/application/configurator-spec/configurator-spec.js +1 -1
- package/dist/application-spec/parse-application-files/spec/common/index.d.ts +1 -0
- package/dist/application-spec/parse-application-files/spec/common/index.js +1 -1
- package/dist/application-spec/parse-application-files/spec/common/value-type/format-value-type.d.ts +3 -0
- package/dist/application-spec/parse-application-files/spec/common/value-type/format-value-type.js +1 -0
- package/dist/application-spec/parse-application-files/spec/common/value-type/index.d.ts +4 -0
- package/dist/application-spec/parse-application-files/spec/common/value-type/index.js +1 -0
- package/dist/application-spec/parse-application-files/spec/common/value-type/is-assignable-value-type.d.ts +8 -0
- package/dist/application-spec/parse-application-files/spec/common/value-type/is-assignable-value-type.js +1 -0
- package/dist/application-spec/parse-application-files/spec/common/value-type/value-type-at.d.ts +10 -0
- package/dist/application-spec/parse-application-files/spec/common/value-type/value-type-at.js +1 -0
- package/dist/application-spec/parse-application-files/spec/common/value-type/value-type.d.ts +98 -0
- package/dist/application-spec/parse-application-files/spec/common/value-type/value-type.js +1 -0
- package/dist/application-spec/parse-application-files/spec/components/bindings/component-path.d.ts +13 -0
- package/dist/application-spec/parse-application-files/spec/components/bindings/component-path.js +1 -0
- package/dist/application-spec/parse-application-files/spec/components/bindings/index.d.ts +2 -0
- package/dist/application-spec/parse-application-files/spec/components/bindings/index.js +1 -1
- package/dist/application-spec/parse-application-files/spec/components/bindings/read-binding-type.d.ts +24 -0
- package/dist/application-spec/parse-application-files/spec/components/bindings/read-binding-type.js +1 -0
- package/dist/application-spec/parse-application-files/spec/components/component-entry.d.ts +1 -9
- package/dist/application-spec/parse-application-files/spec/components/component-entry.js +1 -1
- package/dist/application-spec/parse-application-files/spec/components/component-filter.d.ts +1 -54
- package/dist/application-spec/parse-application-files/spec/components/component-filter.js +1 -1
- package/dist/application-spec/parse-application-files/spec/components/component-state-type.d.ts +8 -0
- package/dist/application-spec/parse-application-files/spec/components/component-state-type.js +1 -0
- package/dist/application-spec/parse-application-files/spec/components/filter-criterion-types.d.ts +13 -0
- package/dist/application-spec/parse-application-files/spec/components/filter-criterion-types.js +1 -0
- package/dist/application-spec/parse-application-files/spec/components/index.d.ts +1 -1
- package/dist/application-spec/parse-application-files/spec/components/index.js +1 -1
- package/dist/application-spec/parse-application-files/spec/components/static-entity-id.d.ts +14 -0
- package/dist/application-spec/parse-application-files/spec/components/static-entity-id.js +1 -0
- package/dist/application-spec/parse-application-files/spec/components/user-component-entry.d.ts +3 -0
- package/dist/application-spec/parse-application-files/spec/components/user-component-entry.js +1 -1
- package/dist/application-spec/parse-application-files/spec/components/user-components.d.ts +4 -4
- package/dist/application-spec/parse-application-files/spec/components/user-components.js +1 -1
- package/dist/application-spec/parse-application-files/spec/expressions/expression.d.ts +1 -28
- package/dist/application-spec/parse-application-files/spec/expressions/expression.js +1 -1
- package/dist/application-spec/parse-application-files/spec/expressions/expressions.d.ts +1 -1
- package/dist/application-spec/parse-application-files/spec/expressions/expressions.js +1 -1
- package/dist/application-spec/parse-application-files/spec/expressions/index.d.ts +0 -1
- package/dist/application-spec/parse-application-files/spec/expressions/index.js +1 -1
- package/dist/application-spec/parse-application-files/spec/expressions/memo-eval-plan.js +1 -1
- package/dist/application-spec/parse-application-files/spec/expressions/user-expressions.js +1 -1
- package/dist/application-spec/parse-application-files/spec/invariants/invariants.d.ts +2 -2
- package/dist/application-spec/parse-application-files/spec/invariants/invariants.js +1 -1
- package/dist/application-spec/parse-application-files/spec/model/defaults.d.ts +7 -2
- package/dist/application-spec/parse-application-files/spec/model/defaults.js +1 -1
- package/dist/application-spec/parse-application-files/spec/model/index.d.ts +1 -0
- package/dist/application-spec/parse-application-files/spec/model/index.js +1 -1
- package/dist/application-spec/parse-application-files/spec/model/model-type-resolution.d.ts +10 -0
- package/dist/application-spec/parse-application-files/spec/model/model-type-resolution.js +1 -0
- package/dist/application-spec/parse-application-files/spec/relations/reference-field-type.d.ts +25 -0
- package/dist/application-spec/parse-application-files/spec/relations/reference-field-type.js +1 -0
- package/dist/application-spec/parse-application-files/spec/relations/relation-field-mismatch.d.ts +46 -0
- package/dist/application-spec/parse-application-files/spec/relations/relation-field-mismatch.js +1 -0
- package/dist/application-spec/parse-application-files/spec/relations/relations.d.ts +4 -3
- package/dist/application-spec/parse-application-files/spec/relations/relations.js +1 -1
- package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-schema.js +1 -1
- package/dist/application-spec/parse-application-files/spec/sections/infra.d.ts +2 -0
- package/dist/application-spec/parse-application-files/spec/sections/infra.js +1 -1
- package/dist/client/phoenix-api.d.ts +468 -3
- package/dist/configurator/application-runtime/extensions/create-configurator-extensions.js +1 -1
- package/dist/configurator/application-runtime/extensions/selectors.d.ts +3 -1
- package/dist/configurator/application-runtime/extensions/selectors.js +1 -1
- package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.d.ts +66 -2
- 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 +7 -1
- package/dist/configurator/application-runtime/extensions/systems/assistant-system/graphql-tools.js +1 -1
- package/dist/configurator/application-runtime/extensions/systems/drag-and-drop-system/drag-and-drop-system.d.ts +3 -3
- package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.d.ts +20 -4
- package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.js +1 -1
- package/dist/configurator/application-runtime/extensions/systems/graphql-system/inject-assistant-lenses.d.ts +11 -0
- package/dist/configurator/application-runtime/extensions/systems/graphql-system/inject-assistant-lenses.js +1 -0
- package/dist/configurator/application-runtime/extensions/systems/layout-system/layout-system.d.ts +2 -2
- package/dist/configurator/application-runtime/extensions/systems/layout-system/layout-system.js +1 -1
- package/dist/configurator/common/configurator-interface.d.ts +26 -1
- package/dist/configurator/common/configurator-interface.js +1 -1
- package/dist/configurator/common/frontend-analytics.d.ts +2 -0
- package/dist/configurator/common/frontend-analytics.js +1 -1
- package/dist/configurator/common/index.d.ts +2 -0
- package/dist/configurator/common/index.js +1 -1
- package/dist/configurator/common/use-finalize-action.d.ts +31 -0
- package/dist/configurator/common/use-finalize-action.js +1 -0
- package/dist/configurator/common/use-reset-camera.d.ts +6 -0
- package/dist/configurator/common/use-reset-camera.js +1 -0
- package/dist/configurator/configurator-context/configurator-hooks/layout-hooks.d.ts +1 -1
- package/dist/configurator/pages/DefaultConfiguratorLayout.d.ts +7 -0
- package/dist/configurator/pages/DefaultConfiguratorLayout.js +1 -0
- package/dist/configurator/pages/LoadedConfiguratorDetailPage.js +1 -1
- package/dist/configurator/pages/configurator-layout-name.d.ts +2 -0
- package/dist/configurator/pages/configurator-layout-name.js +1 -0
- package/dist/configurator/pages/default-configurator-elements.d.ts +7 -0
- package/dist/configurator/pages/default-configurator-elements.js +1 -0
- package/dist/configurator/pages/index.d.ts +1 -0
- package/dist/configurator/pages/index.js +1 -1
- package/dist/configurator/scene/scene-controls/hotspot-drag-handle/HotspotDragHandle.d.ts +1 -1
- package/dist/configurator/scene/scene-controls/hotspot-drag-handle/HotspotDragSceneHandle.d.ts +1 -1
- package/dist/configurator/scene/scene-entity/dimension-indicators/DimensionIndicator.d.ts +1 -1
- package/dist/configurator/scene/scene-entity/dimension-indicators/DimensionIndicatorInternal.d.ts +1 -1
- package/dist/configurator/scene/scene-entity/drag-and-drop/shared.d.ts +2 -2
- package/dist/configurator/scene/scene-entity/drag-and-drop/use-drag-object.d.ts +1 -1
- package/dist/configurator/scene/scene-entity/materials/RemoteReplacedMaterial.js +1 -1
- package/dist/configurator/scene/scene-entity/objects/SceneEntityObjectTextDecal.d.ts +1 -1
- package/dist/configurator/ui/assistant/AssistantChips.d.ts +8 -2
- package/dist/configurator/ui/assistant/AssistantChips.js +1 -1
- package/dist/configurator/ui/assistant/AssistantMarkdown.d.ts +7 -2
- package/dist/configurator/ui/assistant/AssistantMarkdown.js +1 -1
- package/dist/configurator/ui/assistant/AssistantThread.js +1 -1
- package/dist/configurator/ui/assistant/entity-link/AssistantEntityLink.d.ts +13 -0
- package/dist/configurator/ui/assistant/entity-link/AssistantEntityLink.js +1 -0
- package/dist/configurator/ui/assistant/entity-link/entity-link-selection.d.ts +22 -0
- package/dist/configurator/ui/assistant/entity-link/entity-link-selection.js +1 -0
- package/dist/configurator/ui/assistant/entity-link/entity-link-state.d.ts +27 -0
- package/dist/configurator/ui/assistant/entity-link/entity-link-state.js +1 -0
- package/dist/configurator/ui/assistant/entity-link/entity-link-target.d.ts +5 -0
- package/dist/configurator/ui/assistant/entity-link/entity-link-target.js +1 -0
- package/dist/configurator/ui/assistant/entity-link/index.d.ts +3 -0
- package/dist/configurator/ui/assistant/entity-link/index.js +1 -0
- package/dist/configurator/ui/assistant/form/AssistantForm.d.ts +19 -0
- package/dist/configurator/ui/assistant/form/AssistantForm.js +1 -0
- package/dist/configurator/ui/assistant/form/built-in-form-registry.d.ts +10 -0
- package/dist/configurator/ui/assistant/form/built-in-form-registry.js +1 -0
- package/dist/configurator/ui/assistant/form/compose-answer.d.ts +11 -0
- package/dist/configurator/ui/assistant/form/compose-answer.js +1 -0
- package/dist/configurator/ui/assistant/form/describe-build-errors.d.ts +6 -0
- package/dist/configurator/ui/assistant/form/describe-build-errors.js +1 -0
- package/dist/configurator/ui/assistant/form/form-element-definition.d.ts +14 -0
- package/dist/configurator/ui/assistant/form/form-element-definition.js +1 -0
- package/dist/configurator/ui/assistant/form/form-model.d.ts +38 -0
- package/dist/configurator/ui/assistant/form/form-model.js +1 -0
- package/dist/configurator/ui/assistant/form/form-registry.d.ts +31 -0
- package/dist/configurator/ui/assistant/form/form-registry.js +8 -0
- package/dist/configurator/ui/assistant/form/form-state.d.ts +4 -0
- package/dist/configurator/ui/assistant/form/form-state.js +1 -0
- package/dist/configurator/ui/assistant/form/index.d.ts +2 -0
- package/dist/configurator/ui/assistant/form/index.js +1 -0
- package/dist/configurator/ui/assistant/form/parse-form-block.d.ts +9 -0
- package/dist/configurator/ui/assistant/form/parse-form-block.js +1 -0
- package/dist/configurator/ui/assistant/form/read-form-attributes.d.ts +13 -0
- package/dist/configurator/ui/assistant/form/read-form-attributes.js +1 -0
- package/dist/configurator/ui/assistant/form-elements/FormGroup.d.ts +3 -0
- package/dist/configurator/ui/assistant/form-elements/FormGroup.js +1 -0
- package/dist/configurator/ui/assistant/form-elements/FormOptions.d.ts +3 -0
- package/dist/configurator/ui/assistant/form-elements/FormOptions.js +1 -0
- package/dist/configurator/ui/assistant/form-elements/FormReply.d.ts +3 -0
- package/dist/configurator/ui/assistant/form-elements/FormReply.js +1 -0
- package/dist/configurator/ui/assistant/form-elements/FormText.d.ts +3 -0
- package/dist/configurator/ui/assistant/form-elements/FormText.js +1 -0
- package/dist/configurator/ui/assistant/form-elements/form-element-props.d.ts +34 -0
- package/dist/configurator/ui/assistant/form-elements/form-element-props.js +1 -0
- package/dist/configurator/ui/assistant/form-elements/index.d.ts +5 -0
- package/dist/configurator/ui/assistant/form-elements/index.js +1 -0
- package/dist/configurator/ui/assistant/streamed-markdown.d.ts +2 -0
- package/dist/configurator/ui/assistant/streamed-markdown.js +2 -2
- package/dist/configurator/ui/assistant/thread-items.d.ts +8 -1
- package/dist/configurator/ui/assistant/thread-items.js +1 -1
- package/dist/configurator/ui/configurator-layout/sidebar-keys/index.d.ts +1 -0
- package/dist/configurator/ui/configurator-layout/sidebar-keys/index.js +1 -0
- package/dist/configurator/ui/configurator-layout/sidebar-keys/sidebar-keys.d.ts +11 -0
- package/dist/configurator/ui/configurator-layout/sidebar-keys/sidebar-keys.js +1 -0
- package/dist/configurator/ui/configurator-layout/slots/desktop-sidebar/DesktopSidebar.d.ts +101 -0
- package/dist/configurator/ui/configurator-layout/slots/desktop-sidebar/DesktopSidebar.js +16 -0
- package/dist/configurator/ui/configurator-layout/slots/desktop-sidebar/index.d.ts +1 -0
- package/dist/configurator/ui/configurator-layout/slots/desktop-sidebar/index.js +1 -0
- package/dist/configurator/ui/configurator-layout/slots/services/InvariantViolations.d.ts +4 -4
- package/dist/configurator/ui/configurator-layout/slots/services/InvariantViolations.js +1 -1
- package/dist/configurator/ui/configurator-layout/slots/services/SideEffects.d.ts +3 -6
- package/dist/configurator/ui/configurator-layout/slots/services/SideEffects.js +1 -1
- package/dist/configurator/ui/configurator-layout/slots/slots.d.ts +1 -0
- package/dist/configurator/ui/configurator-layout/slots/slots.js +1 -1
- package/dist/configurator/ui/configurator-layout/universal/DesktopLayout.d.ts +0 -74
- package/dist/configurator/ui/configurator-layout/universal/DesktopLayout.js +5 -20
- package/dist/configurator/ui/configurator-layout/universal/DesktopPreview.js +1 -1
- package/dist/configurator/ui/configurator-layout/universal/MobileLayout.js +4 -4
- package/dist/configurator/ui/configurator-layout/universal/MobilePreview.js +1 -1
- package/dist/configurator/ui/configurator-layout/universal/use-layout-scene-safe-area.d.ts +47 -0
- package/dist/configurator/ui/configurator-layout/universal/use-layout-scene-safe-area.js +1 -0
- package/dist/configurator/ui/configurator-layout/universal/use-scene-safe-area.d.ts +11 -26
- package/dist/configurator/ui/configurator-layout/universal/use-scene-safe-area.js +1 -1
- package/dist/configurator/ui/legacy/layout/steps/StepsNavigation.d.ts +2 -2
- package/dist/configurator/ui/phoenix-layout-elements/header/common/step-navigation/StepsNavigation.d.ts +2 -2
- package/dist/docs/complex-use-cases/filtered-controls-with-fix-dialog.mdx +16 -19
- package/dist/docs/complex-use-cases/sketching.mdx +0 -38
- package/dist/docs/controls/select-attribute/cardselect.mdx +9 -13
- package/dist/docs/dimensions/3d-scene-integration/dimension-indicators.mdx +2 -2
- package/dist/docs/dimensions/3d-scene-integration/editable-angle-indicator.mdx +1 -1
- package/dist/docs/dimensions/3d-scene-integration/editable-distance-dimension-indicator.mdx +1 -1
- package/dist/docs/dimensions/3d-scene-integration/list-selector-dimension-indicator.mdx +1 -1
- package/dist/docs/drag-and-drop/drag-handle.mdx +1 -1
- package/dist/docs/drag-and-drop/hotspot-handle.mdx +1 -1
- package/dist/docs/drag-and-drop/planes.mdx +1 -1
- package/dist/docs/drag-and-drop/rotatable.mdx +2 -2
- package/dist/docs/index.json +42 -1
- package/dist/docs/integrations/woocommerce/local-development.mdx +1 -1
- package/dist/docs/layouts/custom-layout.mdx +2125 -0
- package/dist/docs/layouts/header/fixed.mdx +2 -2
- package/dist/docs/layouts/header/floating.mdx +2 -2
- package/dist/docs/layouts/sidebar/in-a-custom-layout.mdx +380 -0
- package/dist/docs/layouts/sidebar-footer/basic.mdx +32 -77
- package/dist/docs/other-features/client-side-rendering/declarative.mdx +1 -1
- package/dist/docs/other-features/side-effects.mdx +8 -11
- package/dist/docs/other-features/transformers.mdx +4 -0
- package/dist/docs/other-features/violation-messages.mdx +52 -56
- package/dist/docs/phoenix/application-states.mdx +9 -7
- package/dist/docs/phoenix/components.mdx +6 -0
- package/dist/docs/phoenix/configurator-interface.mdx +237 -80
- package/dist/docs/phoenix/deployments.mdx +2 -6
- package/dist/docs/phoenix/domain-model.mdx +4 -0
- package/dist/docs/phoenix/expression-context.mdx +11 -3
- package/dist/docs/phoenix/finalization.mdx +1 -1
- package/dist/docs/phoenix/getting-started.mdx +2 -1
- package/dist/docs/phoenix/layout-slots.mdx +116 -0
- package/dist/docs/phoenix/localization.mdx +4 -4
- package/dist/docs/phoenix/migration-guide.mdx +19 -8
- package/dist/docs/phoenix/phoenix-cli.mdx +66 -34
- package/dist/docs/phoenix/project-structure.mdx +38 -16
- package/dist/docs/phoenix/quickstart.mdx +2 -2
- package/dist/docs/phoenix/sdk-builder-workflow.mdx +3 -3
- package/dist/docs/phoenix/testing.mdx +140 -0
- package/dist/docs/phoenix/webhook-membership.mdx +10 -9
- package/dist/docs/phoenix/webhooks.mdx +23 -6
- package/dist/docs/ux-guidelines/choosing-a-control.mdx +11 -0
- package/dist/domain/admin-domain/implementation/common-admin-expressions.d.ts +26 -11
- package/dist/domain/admin-domain/implementation/common-admin-publish.d.ts +1 -2
- package/dist/domain/admin-domain/index.d.ts +7 -2
- package/dist/domain/admin-domain/index.js +1 -1
- package/dist/domain/application/GetApplicationWrapperHandler.d.ts +2 -2
- package/dist/domain/application/GetThemeHandler.d.ts +1 -1
- package/dist/domain/application/GetWebComponentOptions.d.ts +1 -1
- package/dist/domain/application/admin-page-factories.d.ts +1 -2
- package/dist/domain/application/application-config.d.ts +9 -26
- package/dist/domain/application/assistant/assistant-fields.d.ts +12 -0
- package/dist/domain/application/assistant/assistant-fields.js +1 -0
- package/dist/domain/application/assistant/assistant-form-elements.d.ts +28 -0
- package/dist/domain/application/assistant/assistant-form-elements.js +1 -0
- package/dist/domain/application/assistant/assistant-manifest.d.ts +9 -1
- package/dist/domain/application/assistant/assistant-resolved-manifest.d.ts +38 -2
- package/dist/domain/application/assistant/assistant-resolved-manifest.js +1 -1
- package/dist/domain/application/assistant/build-assistant-lenses.d.ts +14 -0
- package/dist/domain/application/assistant/build-assistant-lenses.js +5 -0
- package/dist/domain/application/assistant/build-assistant-manifest.js +1 -1
- package/dist/domain/application/assistant/create-assistant-execution-schema.d.ts +32 -0
- package/dist/domain/application/assistant/create-assistant-execution-schema.js +1 -0
- package/dist/domain/application/assistant/generate-assistant-prompt.js +1 -1
- package/dist/domain/application/assistant/index.d.ts +8 -1
- package/dist/domain/application/assistant/index.js +1 -1
- package/dist/domain/application/assistant/session-setup/AssistantSetupHandler.d.ts +20 -0
- package/dist/domain/application/assistant/session-setup/AssistantSetupHandler.js +1 -0
- package/dist/domain/application/assistant/session-setup/apply-assistant-setup.d.ts +10 -0
- package/dist/domain/application/assistant/session-setup/apply-assistant-setup.js +1 -0
- package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.d.ts +48 -0
- package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.js +1 -0
- package/dist/domain/application/assistant/session-setup/create-session-assistant.d.ts +15 -0
- package/dist/domain/application/assistant/session-setup/create-session-assistant.js +1 -0
- package/dist/domain/application/assistant/session-setup/index.d.ts +4 -0
- package/dist/domain/application/assistant/session-setup/index.js +1 -0
- package/dist/domain/application/assistant-mutations.d.ts +2 -1
- package/dist/domain/application/assistant-recipe-groups.d.ts +1 -1
- package/dist/domain/application/configurator-builder.d.ts +5 -2
- package/dist/domain/application/configurator-builder.js +1 -1
- package/dist/domain/application/create-initial-published-data.d.ts +6 -7
- package/dist/domain/application/index.d.ts +1 -5
- package/dist/domain/application/index.js +1 -1
- package/dist/domain/application/published-data/DataRowValidatorHandler.d.ts +1 -1
- package/dist/domain/application/published-data/FilterPublishedChunksHandler.d.ts +1 -1
- package/dist/domain/application/published-data/MapPublishedChunkedDataHandler.d.ts +1 -1
- package/dist/domain/application/published-data/MapPublishedRevisionDataHandler.d.ts +1 -1
- package/dist/domain/application/published-data/SheetValidatorHandler.d.ts +1 -1
- package/dist/domain/application/published-data/build-legend-data.d.ts +1 -1
- package/dist/domain/application/published-data/format-field-type.d.ts +1 -1
- package/dist/domain/application/published-data/map-data-to-sheet.d.ts +1 -1
- package/dist/domain/application/published-data/map-published-chunked-data.d.ts +3 -3
- package/dist/domain/application/published-data/map-published-data.d.ts +7 -3
- package/dist/domain/application/published-data/validate-sheet-data.d.ts +1 -1
- package/dist/domain/core/action/action-factory.d.ts +2 -2
- package/dist/domain/core/action/action.d.ts +19 -14
- package/dist/domain/core/component/domain-component-optic.d.ts +29 -40
- package/dist/domain/core/component/domain-component-optic.js +2 -2
- package/dist/domain/core/component/legacy-filter.d.ts +2 -17
- package/dist/domain/core/component/system-component-filter.d.ts +36 -18
- package/dist/domain/core/data-schema/data-cell-value.d.ts +4 -0
- package/dist/domain/core/data-schema/data-cell-value.js +1 -0
- package/dist/domain/core/data-schema/data-schema-array-field.d.ts +5 -0
- package/dist/domain/core/data-schema/data-schema-array-field.js +1 -0
- package/dist/domain/core/data-schema/data-schema-field-object.d.ts +4 -0
- package/dist/domain/core/data-schema/data-schema-field-object.js +1 -0
- package/dist/domain/core/data-schema/data-schema-field.d.ts +2 -0
- package/dist/domain/core/data-schema/data-schema-field.js +1 -0
- package/dist/domain/core/data-schema/data-schema-localized-field.d.ts +4 -0
- package/dist/domain/core/data-schema/data-schema-localized-field.js +1 -0
- package/dist/domain/core/data-schema/data-schema-primitive-field.d.ts +5 -0
- package/dist/domain/core/data-schema/data-schema-primitive-field.js +1 -0
- package/dist/domain/core/data-schema/data-schema.d.ts +2 -0
- package/dist/domain/core/data-schema/data-schema.js +1 -0
- package/dist/domain/core/data-schema/index.d.ts +7 -0
- package/dist/domain/core/data-schema/index.js +1 -0
- package/dist/domain/core/domain.d.ts +2 -2
- package/dist/domain/core/emission/index.d.ts +8 -0
- package/dist/domain/core/emission/index.js +1 -0
- package/dist/domain/core/emission/reset-state-emission.d.ts +12 -0
- package/dist/domain/core/emission/reset-state-emission.js +1 -0
- package/dist/domain/core/emission/state-emission.d.ts +4 -0
- package/dist/domain/core/emission/state-emission.js +1 -0
- package/dist/domain/core/emission/state-update-emission.d.ts +14 -0
- package/dist/domain/core/emission/state-update-emission.js +1 -0
- package/dist/domain/core/emission/state-validation-result.d.ts +18 -0
- package/dist/domain/core/emission/state-validation-result.js +1 -0
- package/dist/domain/core/emission/transformation-log.d.ts +2 -0
- package/dist/domain/core/emission/transformation-log.js +1 -0
- package/dist/domain/core/emission/transformer-log-entry.d.ts +6 -0
- package/dist/domain/core/emission/transformer-log-entry.js +1 -0
- package/dist/domain/core/emission/transformer-log.d.ts +11 -0
- package/dist/domain/core/emission/transformer-log.js +1 -0
- package/dist/domain/core/emission/transformer-phase.d.ts +1 -0
- package/dist/domain/core/emission/transformer-phase.js +1 -0
- package/dist/domain/core/expression/aliased-expressions.d.ts +2 -2
- package/dist/domain/core/expression/constant-expressions.d.ts +16 -8
- package/dist/domain/core/expression/constant-expressions.js +1 -1
- package/dist/domain/core/expression/custom-expression.d.ts +20 -7
- package/dist/domain/core/expression/custom-expression.js +1 -1
- package/dist/domain/core/expression/expression.d.ts +15 -17
- package/dist/domain/core/index.d.ts +2 -0
- package/dist/domain/core/invariant/custom-invariants.d.ts +8 -16
- package/dist/domain/core/invariant/index.d.ts +1 -1
- package/dist/domain/core/invariant/index.js +1 -1
- package/dist/domain/core/invariant/invariants.d.ts +4 -70
- package/dist/domain/core/invariant/invariants.js +1 -1
- package/dist/domain/core/invariant/violation.d.ts +51 -3
- package/dist/domain/core/invariant/violation.js +1 -1
- package/dist/domain/core/model/model.d.ts +1 -1
- package/dist/domain/core/recipe/recipes.d.ts +18 -50
- package/dist/domain/core/recipe/recipes.js +1 -1
- package/dist/domain/core/relation/all-of-type-relation.d.ts +8 -21
- package/dist/domain/core/relation/all-of-type-relation.js +1 -1
- package/dist/domain/core/relation/direct-relation.d.ts +13 -24
- package/dist/domain/core/relation/index.d.ts +0 -1
- package/dist/domain/core/relation/indirect-relation.d.ts +12 -67
- package/dist/domain/core/relation/indirect-relation.js +1 -1
- package/dist/domain/core/relation/reference-component.d.ts +2 -2
- package/dist/domain/core/relation/relation-factory.d.ts +19 -15
- package/dist/domain/core/relation/relation-factory.js +1 -1
- package/dist/domain/core/schema/extended-schema-validator.js +1 -1
- package/dist/domain/core/state/migrations.d.ts +14 -45
- package/dist/domain/core/state/migrations.js +1 -1
- package/dist/domain/core/state/state.d.ts +1 -1
- package/dist/domain/domain-builder.d.ts +1 -1
- package/dist/domain/domain-builder.js +1 -1
- package/dist/domain/domain-context/action-system/action-system.d.ts +2 -2
- package/dist/domain/domain-context/action-system/action-system.js +1 -1
- package/dist/domain/domain-context/action-system/index.d.ts +1 -0
- package/dist/domain/domain-context/action-system/index.js +1 -0
- package/dist/domain/domain-context/analytics-system/index.d.ts +2 -0
- package/dist/domain/domain-context/analytics-system/index.js +1 -0
- package/dist/domain/domain-context/create-transformer.d.ts +1 -1
- package/dist/domain/domain-context/dimension-system/dimension-system.d.ts +2 -2
- package/dist/domain/domain-context/dimension-system/dimension-system.js +1 -1
- package/dist/domain/domain-context/dimension-system/index.d.ts +1 -0
- package/dist/domain/domain-context/dimension-system/index.js +1 -0
- package/dist/domain/domain-context/domain-context-systems.d.ts +7 -7
- package/dist/domain/domain-context/index.d.ts +8 -17
- package/dist/domain/domain-context/index.js +1 -1
- package/dist/domain/domain-context/navigation-system/index.d.ts +3 -0
- package/dist/domain/domain-context/navigation-system/index.js +1 -0
- package/dist/domain/domain-context/navigation-system/navigation-system.d.ts +2 -3
- package/dist/domain/domain-context/navigation-system/navigation-system.js +1 -1
- package/dist/domain/domain-context/navigation-system/selection-transformers.d.ts +1 -1
- package/dist/domain/domain-context/recipe-system/index.d.ts +1 -0
- package/dist/domain/domain-context/recipe-system/index.js +1 -0
- package/dist/domain/domain-context/recipe-system/recipe-cooker-system.d.ts +1 -1
- package/dist/domain/domain-context/recipe-system/recipe-cooker-system.js +1 -1
- package/dist/domain/domain-context/relation-transformers/cascade-deletes.d.ts +2 -2
- package/dist/domain/domain-context/relation-transformers/cascade-ref-pruning.d.ts +2 -2
- package/dist/domain/domain-context/relation-transformers/create-entity-refs.d.ts +2 -2
- package/dist/domain/domain-context/relation-transformers/index.d.ts +4 -0
- package/dist/domain/domain-context/relation-transformers/index.js +1 -0
- package/dist/domain/domain-context/relation-transformers/replace-refs.d.ts +2 -2
- package/dist/domain/domain-context/store-system/index.d.ts +4 -0
- package/dist/domain/domain-context/store-system/index.js +1 -0
- package/dist/domain/domain-context/store-system/reconcile-projected-entities.js +1 -1
- package/dist/domain/domain-context/store-system/store-system.d.ts +2 -35
- package/dist/domain/domain-context/store-system/store-system.js +2 -2
- package/dist/domain/domain-context/store-system/system-state.d.ts +1 -1
- package/dist/domain/domain-context/transformers/actions-builder.js +1 -1
- package/dist/domain/domain-context/transformers/auto-snap-transformer.d.ts +5 -7
- package/dist/domain/domain-context/transformers/auto-snap-transformer.js +1 -1
- package/dist/domain/domain-context/transformers/chain-builder.d.ts +1 -1
- package/dist/domain/domain-context/transformers/context.d.ts +2 -3
- package/dist/domain/domain-context/transformers/context.js +1 -1
- package/dist/domain/domain-context/transformers/entity-builder.js +1 -1
- package/dist/domain/domain-context/transformers/index.d.ts +1 -1
- package/dist/domain/domain-context/transformers/index.js +1 -1
- package/dist/domain/domain-context/transformers/when-builder.d.ts +2 -3
- package/dist/domain/domain-context/transformers/when-builder.js +1 -1
- package/dist/domain/domain-context/undo-system.d.ts +29 -3
- package/dist/domain/domain-context/undo-system.js +1 -1
- package/dist/domain/domain-runtime/access/selectors.d.ts +9 -0
- package/dist/domain/domain-runtime/access/selectors.js +1 -1
- package/dist/domain/domain-runtime/access/types.d.ts +2 -0
- package/dist/domain/domain-runtime/access/types.js +1 -1
- package/dist/domain/domain-runtime/domain-context/action-context.d.ts +11 -0
- package/dist/domain/domain-runtime/domain-context/action-context.js +1 -0
- package/dist/domain/domain-runtime/domain-context/domain-context.js +1 -1
- package/dist/domain/domain-runtime/domain-context/expression-context.d.ts +8 -0
- package/dist/domain/domain-runtime/domain-context/expression-context.js +1 -0
- package/dist/domain/domain-runtime/domain-context/index.d.ts +3 -0
- package/dist/domain/domain-runtime/domain-context/runtime-expression-context.d.ts +18 -0
- package/dist/domain/domain-runtime/domain-context/runtime-expression-context.js +1 -0
- package/dist/domain/domain-runtime/domain-context/selectors.d.ts +18 -22
- package/dist/domain/domain-runtime/domain-context/selectors.js +1 -1
- package/dist/domain/domain-runtime/domain-context/types.d.ts +4 -1
- package/dist/domain/domain-runtime/domain-runtime.d.ts +84 -68
- package/dist/domain/domain-runtime/errors/implementation-error-collector.d.ts +19 -0
- package/dist/domain/domain-runtime/errors/implementation-error-collector.js +1 -0
- package/dist/domain/domain-runtime/errors/implementation-error.d.ts +46 -0
- package/dist/domain/domain-runtime/errors/implementation-error.js +1 -0
- package/dist/domain/domain-runtime/errors/implementation-errors.d.ts +13 -0
- package/dist/domain/domain-runtime/errors/implementation-errors.js +1 -0
- package/dist/domain/domain-runtime/errors/index.d.ts +4 -0
- package/dist/domain/domain-runtime/errors/index.js +1 -0
- package/dist/domain/domain-runtime/errors/to-implementation-errors.d.ts +10 -0
- package/dist/domain/domain-runtime/errors/to-implementation-errors.js +1 -0
- package/dist/domain/domain-runtime/index.d.ts +1 -0
- package/dist/domain/domain-runtime/index.js +1 -1
- package/dist/domain/domain-runtime/spec/create-violation-expressions.d.ts +24 -0
- package/dist/domain/domain-runtime/spec/create-violation-expressions.js +1 -0
- package/dist/domain/domain-runtime/spec/index.d.ts +2 -0
- package/dist/domain/domain-runtime/spec/index.js +1 -1
- package/dist/domain/domain-runtime/spec/initialize.d.ts +11 -0
- package/dist/domain/domain-runtime/spec/initialize.js +1 -1
- package/dist/domain/{application → domain-runtime/spec/module-checks}/element-registration.d.ts +2 -2
- package/dist/domain/domain-runtime/spec/module-checks/element-registration.js +1 -0
- package/dist/domain/{application → domain-runtime/spec/module-checks}/handler-registration.d.ts +1 -1
- package/dist/domain/domain-runtime/spec/module-checks/handler-registration.js +1 -0
- package/dist/domain/domain-runtime/spec/module-checks/index.d.ts +8 -0
- package/dist/domain/domain-runtime/spec/module-checks/index.js +1 -0
- package/dist/domain/{project-modules → domain-runtime/spec/module-checks}/project-modules.d.ts +8 -17
- package/dist/domain/domain-runtime/spec/module-checks/project-modules.js +1 -0
- package/dist/domain/domain-runtime/spec/module-checks/resolve-action-modules.d.ts +4 -0
- package/dist/domain/domain-runtime/spec/module-checks/resolve-action-modules.js +1 -0
- package/dist/domain/domain-runtime/spec/module-checks/resolve-component-optic-modules.d.ts +4 -0
- package/dist/domain/domain-runtime/spec/module-checks/resolve-component-optic-modules.js +1 -0
- package/dist/domain/domain-runtime/spec/module-checks/resolve-expression-modules.d.ts +15 -0
- package/dist/domain/domain-runtime/spec/module-checks/resolve-expression-modules.js +1 -0
- package/dist/domain/domain-runtime/spec/module-checks/resolve-imported-transformers.d.ts +22 -0
- package/dist/domain/domain-runtime/spec/module-checks/resolve-imported-transformers.js +1 -0
- package/dist/domain/domain-runtime/spec/module-checks/resolve-invariant-modules.d.ts +6 -0
- package/dist/domain/domain-runtime/spec/module-checks/resolve-invariant-modules.js +1 -0
- package/dist/domain/domain-runtime/spec/selectors.d.ts +5 -6
- package/dist/domain/domain-runtime/spec/selectors.js +1 -1
- package/dist/domain/domain-runtime/spec/types.d.ts +5 -2
- package/dist/domain/extensions/attribute-switch.d.ts +1 -1
- package/dist/domain/extensions/attribute-switch.js +1 -1
- package/dist/domain/extensions/canvas-config.d.ts +1 -1
- package/dist/domain/extensions/client-side-image.d.ts +2 -2
- package/dist/domain/extensions/client-side-image.js +1 -1
- package/dist/domain/extensions/common/angle-indicator-schema.d.ts +2 -2
- package/dist/domain/extensions/common/dimension-indicator-schema.d.ts +2 -2
- package/dist/domain/extensions/editable-angle-indicator.d.ts +1 -1
- package/dist/domain/extensions/editable-distance-dimension-indicator.d.ts +1 -1
- package/dist/domain/extensions/editable-offset-indicator.d.ts +1 -1
- package/dist/domain/extensions/editable-offset-indicator.js +1 -1
- package/dist/domain/extensions/fit-selection-orthographic-camera-component.js +1 -1
- package/dist/domain/extensions/fit-selection-perspective-camera-component.js +1 -1
- package/dist/domain/extensions/horizontal-tabs.d.ts +2 -2
- package/dist/domain/extensions/list-selector-dimension-indicator.d.ts +1 -1
- package/dist/domain/extensions/navigation-steps.d.ts +2 -2
- package/dist/domain/extensions/offset-indicator.js +1 -1
- package/dist/domain/extensions/rotation-handle.d.ts +2 -2
- package/dist/domain/extensions/save-template-thumbnail.d.ts +2 -2
- package/dist/domain/extensions/save-template-thumbnail.js +1 -1
- package/dist/domain/extensions/scene-entity-animation.js +1 -1
- package/dist/domain/index.d.ts +0 -1
- package/dist/domain/index.js +1 -1
- package/dist/domain/mocks/create-mock-domain-context.d.ts +1 -1
- package/dist/domain/mocks/create-mock-domain-runtime-services.d.ts +1 -1
- package/dist/domain/mocks/create-mock-domain-runtime.d.ts +28 -19
- package/dist/domain/mocks/create-mock-domain-runtime.js +1 -1
- package/dist/domain/mocks/create-mock-domain.d.ts +1 -1
- package/dist/domain/mocks/create-mock-domain.js +1 -1
- package/dist/domain/mocks/create-mock-state.d.ts +2 -2
- package/dist/domain/mocks/create-test-application-config.d.ts +59 -0
- package/dist/domain/mocks/create-test-application-config.js +1 -0
- package/dist/domain/mocks/index.d.ts +1 -0
- package/dist/domain/mocks/index.js +1 -1
- package/dist/domain/projections/blender-projections/blender-projections.d.ts +1 -2
- package/dist/domain/projections/blender-projections/camera.d.ts +2 -2
- package/dist/domain/projections/collision-projections.d.ts +1 -1
- package/dist/domain/projections/composition-projections.d.ts +1 -1
- package/dist/domain/projections/constraint-projections.d.ts +1 -1
- package/dist/domain/projections/index.d.ts +1 -1
- package/dist/domain/projections/position-projections.d.ts +1 -1
- package/dist/domain/projections/projected-entities-projections.d.ts +1 -1
- package/dist/domain/projections/snapping-projections.d.ts +1 -1
- package/dist/domain/projections/validation-projections.d.ts +3 -19
- package/dist/domain/sketching/sketching-projections.d.ts +1 -1
- package/dist/domain/system-components/application-config.d.ts +2 -2
- package/dist/domain/system-components/child-entity-selection.js +1 -1
- package/dist/domain/system-components/collision-box-geometry.d.ts +4 -2
- package/dist/domain/system-components/collision-geometry.d.ts +4 -2
- package/dist/domain/system-components/collision-point-geometry.d.ts +4 -2
- package/dist/domain/system-components/common/material-override-schema.d.ts +2 -2
- package/dist/domain/system-components/common/recipes.d.ts +21 -3
- package/dist/domain/system-components/common/recipes.js +1 -1
- package/dist/domain/system-components/constraint.d.ts +10 -23
- package/dist/domain/system-components/drag-handle.d.ts +1 -1
- package/dist/domain/system-components/drag-handle.js +1 -1
- package/dist/domain/system-components/fit-entity-orthographic-camera-component.js +1 -1
- package/dist/domain/system-components/fit-entity-perspective-camera-component.js +1 -1
- package/dist/domain/system-components/fit-root-orthographic-camera-component.js +1 -1
- package/dist/domain/system-components/fit-root-perspective-camera-component.js +1 -1
- package/dist/domain/system-components/hotspot-drag-handle.d.ts +1 -1
- package/dist/domain/system-components/hotspot-drag-handle.js +1 -1
- package/dist/domain/system-components/material-swatch.js +1 -1
- package/dist/domain/system-components/phoenix-entity-elements/admin-data-table-sidebar.d.ts +1 -1
- package/dist/domain/system-components/phoenix-layout-elements/admin-connected-resource-page.d.ts +1 -1
- package/dist/domain/system-components/phoenix-layout-elements/admin-data-table-actions.d.ts +1 -1
- package/dist/domain/system-components/phoenix-layout-elements/admin-data-table-page.d.ts +1 -1
- package/dist/domain/system-components/scene-entity-material-override.d.ts +1 -1
- package/dist/domain/system-components/scene-entity-object-material-override.d.ts +1 -1
- package/dist/domain/system-components/scene-entity-object-text-decal.d.ts +1 -1
- package/dist/domain/system-components/scene-entity-object-transimissive-material-override.d.ts +1 -1
- package/dist/domain/system-components/scene-entity-transimissive-material-override.d.ts +1 -1
- package/dist/domain/system-components/static-orthographic-camera-component.js +1 -1
- package/dist/domain/system-components/static-perspective-camera-component.js +1 -1
- package/dist/domain/utils/eval-cache.d.ts +1 -1
- package/dist/domain/utils/map-nested-object.d.ts +1 -1
- package/dist/domain/utils/memo-eval.d.ts +2 -2
- package/dist/editor/domain-editors/use-implementation-files.d.ts +1 -2
- package/dist/editor/mocks/EditorMockContext.js +1 -1
- package/dist/globals/index.d.ts +2 -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/domain-cli/gen/configurator-builder.js +13 -12
- package/dist/legacy/domain-cli/gen/constant-expressions.js +1 -3
- package/dist/legacy/domain-cli/gen/defaults.js +1 -7
- package/dist/legacy/domain-cli/gen/implementation.js +7 -11
- package/dist/legacy/domain-cli/gen/invariants.js +7 -6
- package/dist/legacy/domain-cli/gen/relations.js +1 -1
- package/dist/legacy/domain-cli/utils/cache.d.ts +1 -1
- package/dist/legacy/domain-cli/utils/cache.js +1 -1
- package/dist/legacy/domain-spec/__generated/domain-schema.d.ts +81 -68
- package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/claude-md.d.ts +1 -1
- package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/cursor-rules.d.ts +1 -1
- package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/shared-sdk-content.d.ts +1 -1
- package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/shared-sdk-content.js +7 -0
- package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/domain-index.js +17 -15
- package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/env-example.d.ts +1 -1
- package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/env-example.js +4 -0
- package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/frontend-admin.js +18 -16
- package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/frontend-configurator.js +14 -12
- package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/frontend-embedded-admin.js +13 -11
- package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/frontend-embedded-configurator.js +13 -11
- package/dist/phoenix/application-spec/application-spec-builder.js +1 -1
- package/dist/phoenix/application-spec/project-files.js +1 -1
- package/dist/phoenix/cli.js +1 -1
- package/dist/phoenix/commands/check.js +1 -1
- package/dist/phoenix/commands/deploy.js +1 -1
- package/dist/phoenix/commands/deps/deps.d.ts +52 -0
- package/dist/phoenix/commands/deps/deps.js +3 -0
- package/dist/phoenix/commands/deps/index.d.ts +1 -0
- package/dist/phoenix/commands/deps/index.js +1 -0
- package/dist/phoenix/commands/deps/sdk-manifest.d.ts +12 -0
- package/dist/phoenix/commands/deps/sdk-manifest.js +1 -0
- package/dist/phoenix/commands/dev.js +5 -5
- package/dist/phoenix/commands/fix.js +1 -1
- package/dist/phoenix/commands/index.d.ts +1 -0
- package/dist/phoenix/commands/index.js +1 -1
- package/dist/phoenix/commands/init.d.ts +4 -4
- package/dist/phoenix/commands/init.js +1 -1
- package/dist/phoenix/commands/prettier.js +1 -1
- package/dist/phoenix/services/application-spec-project-watcher.d.ts +2 -0
- package/dist/phoenix/services/application-spec-project-watcher.js +3 -3
- package/dist/phoenix/services/source-archive.d.ts +1 -0
- package/dist/phoenix/services/source-archive.js +1 -1
- package/dist/phoenix/services/swc.js +1 -1
- package/dist/phoenix/utils/git/index.d.ts +1 -0
- package/dist/phoenix/utils/git/index.js +1 -0
- package/dist/phoenix/utils/git/is-inside-git-repository.d.ts +6 -0
- package/dist/phoenix/utils/git/is-inside-git-repository.js +1 -0
- package/dist/phoenix/utils/index.d.ts +2 -0
- package/dist/phoenix/utils/index.js +1 -1
- package/dist/react-sdk/application-runtime/hooks/use-access-service.d.ts +2 -0
- package/dist/react-sdk/application-runtime/mocks/create-mock-application-runtime.js +1 -1
- package/dist/react-sdk/application-runtime/routing/access-service.d.ts +1 -0
- package/dist/react-sdk/application-runtime/runtime/create-application-runtime.d.ts +53 -36
- package/dist/react-sdk/application-runtime/runtime/create-application-runtime.js +1 -1
- package/dist/react-sdk/domain-context/common-hooks/use-configurator-messages.d.ts +30 -0
- package/dist/react-sdk/domain-context/common-hooks/use-configurator-messages.js +1 -0
- package/dist/react-sdk/domain-context/common-hooks/use-domain-context.d.ts +9 -9
- package/dist/react-sdk/domain-context/index.d.ts +2 -1
- package/dist/react-sdk/domain-context/index.js +1 -1
- package/dist/react-sdk/domain-context/system-hooks/navigation-hooks.d.ts +11 -0
- package/dist/react-sdk/domain-context/system-hooks/navigation-hooks.js +1 -1
- package/dist/react-sdk/domain-controls/hooks/use-angle-dimension.d.ts +1 -1
- package/dist/ui-sdk/theme/types.d.ts +1 -1
- package/dist/webhook/builders/common.d.ts +5 -0
- package/dist/webhook/builders/webhook-builder.js +1 -1
- package/package.json +34 -29
- package/schema/domain-spec.json +1115 -209
- package/dist/application-spec/generate-application/code/templates/env-ci.d.ts +0 -1
- package/dist/application-spec/generate-application/code/templates/env-ci.js +0 -25
- package/dist/application-spec/generate-application/code/templates/env-example.d.ts +0 -1
- package/dist/application-spec/generate-application/code/templates/env-example.js +0 -90
- package/dist/application-spec/generate-application/code/templates/prettier-ignore.d.ts +0 -1
- package/dist/application-spec/generate-application/code/templates/prettier-ignore.js +0 -6
- package/dist/application-spec/generate-application/code/templates/private-assets-readme.d.ts +0 -1
- package/dist/application-spec/generate-application/code/templates/private-assets-readme.js +0 -24
- package/dist/application-spec/generate-application/code/templates/public-assets-readme.d.ts +0 -1
- package/dist/application-spec/generate-application/code/templates/public-assets-readme.js +0 -24
- package/dist/application-spec/generate-application/code/templates/readme.d.ts +0 -1
- package/dist/application-spec/generate-application/code/templates/readme.js +0 -23
- package/dist/application-spec/generate-application/code/templates/skills/agents-md.d.ts +0 -1
- package/dist/application-spec/generate-application/code/templates/skills/agents-md.js +0 -2
- package/dist/application-spec/generate-application/code/templates/webhook-implementation.d.ts +0 -1
- package/dist/application-spec/generate-application/code/templates/webhook-implementation.js +0 -7
- package/dist/domain/application/element-registration.js +0 -1
- package/dist/domain/application/handler-registration.js +0 -1
- package/dist/domain/application/resolve-imported-transformers.d.ts +0 -23
- package/dist/domain/application/resolve-imported-transformers.js +0 -1
- package/dist/domain/application/resource-builder.d.ts +0 -13
- package/dist/domain/application/resource-builder.js +0 -1
- package/dist/domain/core/relation/relation-implementation.d.ts +0 -7
- package/dist/domain/project-modules/index.d.ts +0 -1
- package/dist/domain/project-modules/index.js +0 -1
- package/dist/domain/project-modules/project-modules.js +0 -1
- /package/dist/{domain/core/relation/relation-implementation.js → application-spec/core/expressions/relation-expression-params.js} +0 -0
- /package/dist/application-spec/{core → enhanced-json}/eval-code-uses-self.d.ts +0 -0
- /package/dist/application-spec/{core → enhanced-json}/eval-code-uses-self.js +0 -0
- /package/dist/application-spec/{core → enhanced-json}/eval-to-constant.js +0 -0
|
@@ -55,6 +55,88 @@ export interface paths {
|
|
|
55
55
|
readonly patch?: never
|
|
56
56
|
readonly trace?: never
|
|
57
57
|
}
|
|
58
|
+
readonly '/auth/callback': {
|
|
59
|
+
readonly parameters: {
|
|
60
|
+
readonly query?: never
|
|
61
|
+
readonly header?: never
|
|
62
|
+
readonly path?: never
|
|
63
|
+
readonly cookie?: never
|
|
64
|
+
}
|
|
65
|
+
readonly get: operations['completeBrowserLogin']
|
|
66
|
+
readonly put?: never
|
|
67
|
+
readonly post?: never
|
|
68
|
+
readonly delete?: never
|
|
69
|
+
readonly options?: never
|
|
70
|
+
readonly head?: never
|
|
71
|
+
readonly patch?: never
|
|
72
|
+
readonly trace?: never
|
|
73
|
+
}
|
|
74
|
+
readonly '/auth/config': {
|
|
75
|
+
readonly parameters: {
|
|
76
|
+
readonly query?: never
|
|
77
|
+
readonly header?: never
|
|
78
|
+
readonly path?: never
|
|
79
|
+
readonly cookie?: never
|
|
80
|
+
}
|
|
81
|
+
readonly get: operations['getBrowserAuthConfig']
|
|
82
|
+
readonly put?: never
|
|
83
|
+
readonly post?: never
|
|
84
|
+
readonly delete?: never
|
|
85
|
+
readonly options?: never
|
|
86
|
+
readonly head?: never
|
|
87
|
+
readonly patch?: never
|
|
88
|
+
readonly trace?: never
|
|
89
|
+
}
|
|
90
|
+
readonly '/auth/identity': {
|
|
91
|
+
readonly parameters: {
|
|
92
|
+
readonly query?: never
|
|
93
|
+
readonly header?: never
|
|
94
|
+
readonly path?: never
|
|
95
|
+
readonly cookie?: never
|
|
96
|
+
}
|
|
97
|
+
readonly get?: never
|
|
98
|
+
readonly put?: never
|
|
99
|
+
/** @description Resolve a verified customer Cognito identity to a stable Phoenix account and its active workspaces. Creates an empty account on first use; does not grant project or system access. */
|
|
100
|
+
readonly post: operations['resolveIdentity']
|
|
101
|
+
readonly delete?: never
|
|
102
|
+
readonly options?: never
|
|
103
|
+
readonly head?: never
|
|
104
|
+
readonly patch?: never
|
|
105
|
+
readonly trace?: never
|
|
106
|
+
}
|
|
107
|
+
readonly '/auth/login': {
|
|
108
|
+
readonly parameters: {
|
|
109
|
+
readonly query?: never
|
|
110
|
+
readonly header?: never
|
|
111
|
+
readonly path?: never
|
|
112
|
+
readonly cookie?: never
|
|
113
|
+
}
|
|
114
|
+
readonly get: operations['startBrowserLogin']
|
|
115
|
+
readonly put?: never
|
|
116
|
+
readonly post?: never
|
|
117
|
+
readonly delete?: never
|
|
118
|
+
readonly options?: never
|
|
119
|
+
readonly head?: never
|
|
120
|
+
readonly patch?: never
|
|
121
|
+
readonly trace?: never
|
|
122
|
+
}
|
|
123
|
+
readonly '/auth/logout': {
|
|
124
|
+
readonly parameters: {
|
|
125
|
+
readonly query?: never
|
|
126
|
+
readonly header?: never
|
|
127
|
+
readonly path?: never
|
|
128
|
+
readonly cookie?: never
|
|
129
|
+
}
|
|
130
|
+
readonly get?: never
|
|
131
|
+
readonly put?: never
|
|
132
|
+
/** @description Destroy the local session and return the fixed Cognito hosted logout URL. Requires the exact shared Studio Origin. */
|
|
133
|
+
readonly post: operations['endBrowserSession']
|
|
134
|
+
readonly delete?: never
|
|
135
|
+
readonly options?: never
|
|
136
|
+
readonly head?: never
|
|
137
|
+
readonly patch?: never
|
|
138
|
+
readonly trace?: never
|
|
139
|
+
}
|
|
58
140
|
readonly '/auth/me': {
|
|
59
141
|
readonly parameters: {
|
|
60
142
|
readonly query?: never
|
|
@@ -72,6 +154,23 @@ export interface paths {
|
|
|
72
154
|
readonly patch?: never
|
|
73
155
|
readonly trace?: never
|
|
74
156
|
}
|
|
157
|
+
readonly '/auth/session': {
|
|
158
|
+
readonly parameters: {
|
|
159
|
+
readonly query?: never
|
|
160
|
+
readonly header?: never
|
|
161
|
+
readonly path?: never
|
|
162
|
+
readonly cookie?: never
|
|
163
|
+
}
|
|
164
|
+
/** @description Read the opaque browser session and current account status/memberships. Requires the exact shared Studio Origin. */
|
|
165
|
+
readonly get: operations['getBrowserSession']
|
|
166
|
+
readonly put?: never
|
|
167
|
+
readonly post?: never
|
|
168
|
+
readonly delete?: never
|
|
169
|
+
readonly options?: never
|
|
170
|
+
readonly head?: never
|
|
171
|
+
readonly patch?: never
|
|
172
|
+
readonly trace?: never
|
|
173
|
+
}
|
|
75
174
|
readonly '/auth/token': {
|
|
76
175
|
readonly parameters: {
|
|
77
176
|
readonly query?: never
|
|
@@ -201,10 +300,10 @@ export interface paths {
|
|
|
201
300
|
readonly path?: never
|
|
202
301
|
readonly cookie?: never
|
|
203
302
|
}
|
|
204
|
-
/** @description Load the caller's latest assistant thread on the configuration with its active run, newest window first. The `x-assistant-thread-continuable` response header is `false` when the thread
|
|
303
|
+
/** @description Load the caller's latest assistant thread on the configuration with its active run, newest window first. The `x-assistant-thread-continuable` response header is `false` when the thread cannot be continued with this setup, has reached its size limit or is closed; a chat request then answers 409, and the thread continues once it is compacted. The `x-assistant-previous-thread` response header carries the id of the closed thread this one continues, when there is one. */
|
|
205
304
|
readonly get: operations['getAssistantThread']
|
|
206
305
|
readonly put?: never
|
|
207
|
-
/** @description Run the experimental assistant on the caller's thread of the configuration, or replay the run when the request carries `Last-Event-ID`. Answers 409 when the thread cannot be continued
|
|
306
|
+
/** @description Run the experimental assistant on the caller's thread of the configuration, or replay the run when the request carries `Last-Event-ID`. Answers 409 when the thread cannot be continued or another run is still answering, and 503 while the server shuts down; sent again, the message reaches another instance. A 409 for a thread that cannot be continued, because it is closed, was started with another setup or has reached its size limit, carries the `x-assistant-thread-continuable: false` response header; the thread continues once it is compacted. Answers 403 unless the customer has the AI Assistant feature flag on. */
|
|
208
307
|
readonly post: operations['assistantChat']
|
|
209
308
|
readonly delete?: never
|
|
210
309
|
readonly options?: never
|
|
@@ -221,7 +320,7 @@ export interface paths {
|
|
|
221
320
|
}
|
|
222
321
|
readonly get?: never
|
|
223
322
|
readonly put?: never
|
|
224
|
-
/** @description
|
|
323
|
+
/** @description Compact the caller's latest assistant thread on the configuration, which cannot be continued as it is: the thread is summarized and closed, and a new, empty thread is opened that links to it and keeps the summary. Nothing is run; the next chat request runs on the new thread, with the summary in its system prompt. Answers 409 when there is no thread, the latest one can be continued as it is, or one of its runs is still running, and 502 when the summary could not be made; nothing is closed then and the request can be sent again. */
|
|
225
324
|
readonly post: operations['compactAssistantThread']
|
|
226
325
|
readonly delete?: never
|
|
227
326
|
readonly options?: never
|
|
@@ -1603,6 +1702,299 @@ export interface operations {
|
|
|
1603
1702
|
}
|
|
1604
1703
|
}
|
|
1605
1704
|
}
|
|
1705
|
+
readonly completeBrowserLogin: {
|
|
1706
|
+
readonly parameters: {
|
|
1707
|
+
readonly query: {
|
|
1708
|
+
readonly code: string
|
|
1709
|
+
readonly state: string
|
|
1710
|
+
}
|
|
1711
|
+
readonly header?: never
|
|
1712
|
+
readonly path?: never
|
|
1713
|
+
readonly cookie?: never
|
|
1714
|
+
}
|
|
1715
|
+
readonly requestBody?: never
|
|
1716
|
+
readonly responses: {
|
|
1717
|
+
/** @description Redirect to the configured sign-in or Studio destination. */
|
|
1718
|
+
readonly 302: {
|
|
1719
|
+
headers: {
|
|
1720
|
+
readonly [name: string]: unknown
|
|
1721
|
+
}
|
|
1722
|
+
content: {
|
|
1723
|
+
readonly 'application/json': Record<string, unknown>
|
|
1724
|
+
}
|
|
1725
|
+
}
|
|
1726
|
+
/** @description Bad Request! */
|
|
1727
|
+
readonly 400: {
|
|
1728
|
+
headers: {
|
|
1729
|
+
readonly [name: string]: unknown
|
|
1730
|
+
}
|
|
1731
|
+
content: {
|
|
1732
|
+
readonly 'application/json': components['schemas']['BadRequestError']
|
|
1733
|
+
}
|
|
1734
|
+
}
|
|
1735
|
+
/** @description Unauthorized! */
|
|
1736
|
+
readonly 401: {
|
|
1737
|
+
headers: {
|
|
1738
|
+
readonly [name: string]: unknown
|
|
1739
|
+
}
|
|
1740
|
+
content: {
|
|
1741
|
+
readonly 'application/json': components['schemas']['UnauthorizedError']
|
|
1742
|
+
}
|
|
1743
|
+
}
|
|
1744
|
+
/** @description Forbidden! */
|
|
1745
|
+
readonly 403: {
|
|
1746
|
+
headers: {
|
|
1747
|
+
readonly [name: string]: unknown
|
|
1748
|
+
}
|
|
1749
|
+
content: {
|
|
1750
|
+
readonly 'application/json': components['schemas']['ForbiddenError']
|
|
1751
|
+
}
|
|
1752
|
+
}
|
|
1753
|
+
/** @description Not Found! */
|
|
1754
|
+
readonly 404: {
|
|
1755
|
+
headers: {
|
|
1756
|
+
readonly [name: string]: unknown
|
|
1757
|
+
}
|
|
1758
|
+
content: {
|
|
1759
|
+
readonly 'application/json': components['schemas']['NotFoundError']
|
|
1760
|
+
}
|
|
1761
|
+
}
|
|
1762
|
+
/** @description Service Unavailable! */
|
|
1763
|
+
readonly 503: {
|
|
1764
|
+
headers: {
|
|
1765
|
+
readonly [name: string]: unknown
|
|
1766
|
+
}
|
|
1767
|
+
content: {
|
|
1768
|
+
readonly 'application/json': components['schemas']['ServiceUnavailableError']
|
|
1769
|
+
}
|
|
1770
|
+
}
|
|
1771
|
+
/** @description An unexpected error occurred! */
|
|
1772
|
+
readonly default: {
|
|
1773
|
+
headers: {
|
|
1774
|
+
readonly [name: string]: unknown
|
|
1775
|
+
}
|
|
1776
|
+
content: {
|
|
1777
|
+
readonly 'application/json': components['schemas']['DefaultResponse']
|
|
1778
|
+
}
|
|
1779
|
+
}
|
|
1780
|
+
}
|
|
1781
|
+
}
|
|
1782
|
+
readonly getBrowserAuthConfig: {
|
|
1783
|
+
readonly parameters: {
|
|
1784
|
+
readonly query?: never
|
|
1785
|
+
readonly header?: never
|
|
1786
|
+
readonly path?: never
|
|
1787
|
+
readonly cookie?: never
|
|
1788
|
+
}
|
|
1789
|
+
readonly requestBody?: never
|
|
1790
|
+
readonly responses: {
|
|
1791
|
+
/** @description Shared Studio origin when browser sign-in is configured; null otherwise. */
|
|
1792
|
+
readonly 200: {
|
|
1793
|
+
headers: {
|
|
1794
|
+
readonly [name: string]: unknown
|
|
1795
|
+
}
|
|
1796
|
+
content: {
|
|
1797
|
+
readonly 'application/json': {
|
|
1798
|
+
readonly studioOrigin: string | null
|
|
1799
|
+
}
|
|
1800
|
+
}
|
|
1801
|
+
}
|
|
1802
|
+
/** @description An unexpected error occurred! */
|
|
1803
|
+
readonly default: {
|
|
1804
|
+
headers: {
|
|
1805
|
+
readonly [name: string]: unknown
|
|
1806
|
+
}
|
|
1807
|
+
content: {
|
|
1808
|
+
readonly 'application/json': components['schemas']['DefaultResponse']
|
|
1809
|
+
}
|
|
1810
|
+
}
|
|
1811
|
+
}
|
|
1812
|
+
}
|
|
1813
|
+
readonly resolveIdentity: {
|
|
1814
|
+
readonly parameters: {
|
|
1815
|
+
readonly query?: never
|
|
1816
|
+
readonly header?: never
|
|
1817
|
+
readonly path?: never
|
|
1818
|
+
readonly cookie?: never
|
|
1819
|
+
}
|
|
1820
|
+
readonly requestBody?: never
|
|
1821
|
+
readonly responses: {
|
|
1822
|
+
/** @description The Phoenix account and its active Cognito customer memberships. */
|
|
1823
|
+
readonly 200: {
|
|
1824
|
+
headers: {
|
|
1825
|
+
readonly [name: string]: unknown
|
|
1826
|
+
}
|
|
1827
|
+
content: {
|
|
1828
|
+
readonly 'application/json': {
|
|
1829
|
+
/** Format: uuid */
|
|
1830
|
+
readonly userId: string
|
|
1831
|
+
readonly workspaces: readonly {
|
|
1832
|
+
/** Format: uuid */
|
|
1833
|
+
readonly customerId: string
|
|
1834
|
+
readonly name: string
|
|
1835
|
+
/** @enum {string} */
|
|
1836
|
+
readonly role: 'user' | 'admin' | 'superadmin'
|
|
1837
|
+
readonly slug: string
|
|
1838
|
+
readonly tags: readonly string[]
|
|
1839
|
+
/** @enum {string} */
|
|
1840
|
+
readonly type: 'standard' | 'sdk_builder'
|
|
1841
|
+
}[]
|
|
1842
|
+
}
|
|
1843
|
+
}
|
|
1844
|
+
}
|
|
1845
|
+
/** @description Unauthorized! */
|
|
1846
|
+
readonly 401: {
|
|
1847
|
+
headers: {
|
|
1848
|
+
readonly [name: string]: unknown
|
|
1849
|
+
}
|
|
1850
|
+
content: {
|
|
1851
|
+
readonly 'application/json': components['schemas']['UnauthorizedError']
|
|
1852
|
+
}
|
|
1853
|
+
}
|
|
1854
|
+
/** @description Forbidden! */
|
|
1855
|
+
readonly 403: {
|
|
1856
|
+
headers: {
|
|
1857
|
+
readonly [name: string]: unknown
|
|
1858
|
+
}
|
|
1859
|
+
content: {
|
|
1860
|
+
readonly 'application/json': components['schemas']['ForbiddenError']
|
|
1861
|
+
}
|
|
1862
|
+
}
|
|
1863
|
+
/** @description Not Found! */
|
|
1864
|
+
readonly 404: {
|
|
1865
|
+
headers: {
|
|
1866
|
+
readonly [name: string]: unknown
|
|
1867
|
+
}
|
|
1868
|
+
content: {
|
|
1869
|
+
readonly 'application/json': components['schemas']['NotFoundError']
|
|
1870
|
+
}
|
|
1871
|
+
}
|
|
1872
|
+
/** @description Service Unavailable! */
|
|
1873
|
+
readonly 503: {
|
|
1874
|
+
headers: {
|
|
1875
|
+
readonly [name: string]: unknown
|
|
1876
|
+
}
|
|
1877
|
+
content: {
|
|
1878
|
+
readonly 'application/json': components['schemas']['ServiceUnavailableError']
|
|
1879
|
+
}
|
|
1880
|
+
}
|
|
1881
|
+
/** @description An unexpected error occurred! */
|
|
1882
|
+
readonly default: {
|
|
1883
|
+
headers: {
|
|
1884
|
+
readonly [name: string]: unknown
|
|
1885
|
+
}
|
|
1886
|
+
content: {
|
|
1887
|
+
readonly 'application/json': components['schemas']['DefaultResponse']
|
|
1888
|
+
}
|
|
1889
|
+
}
|
|
1890
|
+
}
|
|
1891
|
+
}
|
|
1892
|
+
readonly startBrowserLogin: {
|
|
1893
|
+
readonly parameters: {
|
|
1894
|
+
readonly query?: never
|
|
1895
|
+
readonly header?: never
|
|
1896
|
+
readonly path?: never
|
|
1897
|
+
readonly cookie?: never
|
|
1898
|
+
}
|
|
1899
|
+
readonly requestBody?: never
|
|
1900
|
+
readonly responses: {
|
|
1901
|
+
/** @description Redirect to the configured sign-in or Studio destination. */
|
|
1902
|
+
readonly 302: {
|
|
1903
|
+
headers: {
|
|
1904
|
+
readonly [name: string]: unknown
|
|
1905
|
+
}
|
|
1906
|
+
content: {
|
|
1907
|
+
readonly 'application/json': Record<string, unknown>
|
|
1908
|
+
}
|
|
1909
|
+
}
|
|
1910
|
+
/** @description Bad Request! */
|
|
1911
|
+
readonly 400: {
|
|
1912
|
+
headers: {
|
|
1913
|
+
readonly [name: string]: unknown
|
|
1914
|
+
}
|
|
1915
|
+
content: {
|
|
1916
|
+
readonly 'application/json': components['schemas']['BadRequestError']
|
|
1917
|
+
}
|
|
1918
|
+
}
|
|
1919
|
+
/** @description Not Found! */
|
|
1920
|
+
readonly 404: {
|
|
1921
|
+
headers: {
|
|
1922
|
+
readonly [name: string]: unknown
|
|
1923
|
+
}
|
|
1924
|
+
content: {
|
|
1925
|
+
readonly 'application/json': components['schemas']['NotFoundError']
|
|
1926
|
+
}
|
|
1927
|
+
}
|
|
1928
|
+
/** @description An unexpected error occurred! */
|
|
1929
|
+
readonly default: {
|
|
1930
|
+
headers: {
|
|
1931
|
+
readonly [name: string]: unknown
|
|
1932
|
+
}
|
|
1933
|
+
content: {
|
|
1934
|
+
readonly 'application/json': components['schemas']['DefaultResponse']
|
|
1935
|
+
}
|
|
1936
|
+
}
|
|
1937
|
+
}
|
|
1938
|
+
}
|
|
1939
|
+
readonly endBrowserSession: {
|
|
1940
|
+
readonly parameters: {
|
|
1941
|
+
readonly query?: never
|
|
1942
|
+
readonly header?: never
|
|
1943
|
+
readonly path?: never
|
|
1944
|
+
readonly cookie?: never
|
|
1945
|
+
}
|
|
1946
|
+
readonly requestBody?: never
|
|
1947
|
+
readonly responses: {
|
|
1948
|
+
/** @description Navigate to this URL to finish hosted logout. */
|
|
1949
|
+
readonly 200: {
|
|
1950
|
+
headers: {
|
|
1951
|
+
readonly [name: string]: unknown
|
|
1952
|
+
}
|
|
1953
|
+
content: {
|
|
1954
|
+
readonly 'application/json': {
|
|
1955
|
+
/** Format: uri */
|
|
1956
|
+
readonly logoutUrl: string
|
|
1957
|
+
}
|
|
1958
|
+
}
|
|
1959
|
+
}
|
|
1960
|
+
/** @description Bad Request! */
|
|
1961
|
+
readonly 400: {
|
|
1962
|
+
headers: {
|
|
1963
|
+
readonly [name: string]: unknown
|
|
1964
|
+
}
|
|
1965
|
+
content: {
|
|
1966
|
+
readonly 'application/json': components['schemas']['BadRequestError']
|
|
1967
|
+
}
|
|
1968
|
+
}
|
|
1969
|
+
/** @description Forbidden! */
|
|
1970
|
+
readonly 403: {
|
|
1971
|
+
headers: {
|
|
1972
|
+
readonly [name: string]: unknown
|
|
1973
|
+
}
|
|
1974
|
+
content: {
|
|
1975
|
+
readonly 'application/json': components['schemas']['ForbiddenError']
|
|
1976
|
+
}
|
|
1977
|
+
}
|
|
1978
|
+
/** @description Not Found! */
|
|
1979
|
+
readonly 404: {
|
|
1980
|
+
headers: {
|
|
1981
|
+
readonly [name: string]: unknown
|
|
1982
|
+
}
|
|
1983
|
+
content: {
|
|
1984
|
+
readonly 'application/json': components['schemas']['NotFoundError']
|
|
1985
|
+
}
|
|
1986
|
+
}
|
|
1987
|
+
/** @description An unexpected error occurred! */
|
|
1988
|
+
readonly default: {
|
|
1989
|
+
headers: {
|
|
1990
|
+
readonly [name: string]: unknown
|
|
1991
|
+
}
|
|
1992
|
+
content: {
|
|
1993
|
+
readonly 'application/json': components['schemas']['DefaultResponse']
|
|
1994
|
+
}
|
|
1995
|
+
}
|
|
1996
|
+
}
|
|
1997
|
+
}
|
|
1606
1998
|
readonly getApiSession: {
|
|
1607
1999
|
readonly parameters: {
|
|
1608
2000
|
readonly query?: never
|
|
@@ -1652,6 +2044,77 @@ export interface operations {
|
|
|
1652
2044
|
}
|
|
1653
2045
|
}
|
|
1654
2046
|
}
|
|
2047
|
+
readonly getBrowserSession: {
|
|
2048
|
+
readonly parameters: {
|
|
2049
|
+
readonly query?: never
|
|
2050
|
+
readonly header?: never
|
|
2051
|
+
readonly path?: never
|
|
2052
|
+
readonly cookie?: never
|
|
2053
|
+
}
|
|
2054
|
+
readonly requestBody?: never
|
|
2055
|
+
readonly responses: {
|
|
2056
|
+
/** @description Current account and fixed session expiry, in Unix milliseconds. */
|
|
2057
|
+
readonly 200: {
|
|
2058
|
+
headers: {
|
|
2059
|
+
readonly [name: string]: unknown
|
|
2060
|
+
}
|
|
2061
|
+
content: {
|
|
2062
|
+
readonly 'application/json': {
|
|
2063
|
+
readonly expiresAt: number
|
|
2064
|
+
/** Format: uuid */
|
|
2065
|
+
readonly userId: string
|
|
2066
|
+
readonly workspaces: readonly {
|
|
2067
|
+
/** Format: uuid */
|
|
2068
|
+
readonly customerId: string
|
|
2069
|
+
readonly name: string
|
|
2070
|
+
/** @enum {string} */
|
|
2071
|
+
readonly role: 'user' | 'admin' | 'superadmin'
|
|
2072
|
+
readonly slug: string
|
|
2073
|
+
readonly tags: readonly string[]
|
|
2074
|
+
/** @enum {string} */
|
|
2075
|
+
readonly type: 'standard' | 'sdk_builder'
|
|
2076
|
+
}[]
|
|
2077
|
+
}
|
|
2078
|
+
}
|
|
2079
|
+
}
|
|
2080
|
+
/** @description Unauthorized! */
|
|
2081
|
+
readonly 401: {
|
|
2082
|
+
headers: {
|
|
2083
|
+
readonly [name: string]: unknown
|
|
2084
|
+
}
|
|
2085
|
+
content: {
|
|
2086
|
+
readonly 'application/json': components['schemas']['UnauthorizedError']
|
|
2087
|
+
}
|
|
2088
|
+
}
|
|
2089
|
+
/** @description Forbidden! */
|
|
2090
|
+
readonly 403: {
|
|
2091
|
+
headers: {
|
|
2092
|
+
readonly [name: string]: unknown
|
|
2093
|
+
}
|
|
2094
|
+
content: {
|
|
2095
|
+
readonly 'application/json': components['schemas']['ForbiddenError']
|
|
2096
|
+
}
|
|
2097
|
+
}
|
|
2098
|
+
/** @description Not Found! */
|
|
2099
|
+
readonly 404: {
|
|
2100
|
+
headers: {
|
|
2101
|
+
readonly [name: string]: unknown
|
|
2102
|
+
}
|
|
2103
|
+
content: {
|
|
2104
|
+
readonly 'application/json': components['schemas']['NotFoundError']
|
|
2105
|
+
}
|
|
2106
|
+
}
|
|
2107
|
+
/** @description An unexpected error occurred! */
|
|
2108
|
+
readonly default: {
|
|
2109
|
+
headers: {
|
|
2110
|
+
readonly [name: string]: unknown
|
|
2111
|
+
}
|
|
2112
|
+
content: {
|
|
2113
|
+
readonly 'application/json': components['schemas']['DefaultResponse']
|
|
2114
|
+
}
|
|
2115
|
+
}
|
|
2116
|
+
}
|
|
2117
|
+
}
|
|
1655
2118
|
readonly exchangeAuthCode: {
|
|
1656
2119
|
readonly parameters: {
|
|
1657
2120
|
readonly query?: never
|
|
@@ -5610,6 +6073,7 @@ export interface operations {
|
|
|
5610
6073
|
| boolean
|
|
5611
6074
|
| {
|
|
5612
6075
|
readonly ai: {
|
|
6076
|
+
readonly maxThreadSize?: number
|
|
5613
6077
|
/** @enum {string} */
|
|
5614
6078
|
readonly model: 'frontier' | 'advanced' | 'balanced' | 'fast'
|
|
5615
6079
|
/** @enum {string} */
|
|
@@ -5832,6 +6296,7 @@ export interface operations {
|
|
|
5832
6296
|
| boolean
|
|
5833
6297
|
| {
|
|
5834
6298
|
readonly ai: {
|
|
6299
|
+
readonly maxThreadSize?: number
|
|
5835
6300
|
/** @enum {string} */
|
|
5836
6301
|
readonly model: 'frontier' | 'advanced' | 'balanced' | 'fast'
|
|
5837
6302
|
/** @enum {string} */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{createApplicationRuntimeExtension as e}from"#package/react-sdk";import{createConfiguratorExtensionSelectors as s}from"./selectors.js";export const createConfiguratorExtensions=o=>[e(s({domainContextSelectors:o.selectors.domainContext.configurator,specSelectors:o.selectors.spec,domainServicesSelectors:o.selectors.domainServices,accessSelectors:o.selectors.access,commonServicesSelectors:o.selectors.commonServices}).getSystems())];
|
|
1
|
+
import{createApplicationRuntimeExtension as e}from"#package/react-sdk";import{createConfiguratorExtensionSelectors as s}from"./selectors.js";export const createConfiguratorExtensions=o=>[e(s({getState:o.getState,domainContextSelectors:o.selectors.domainContext.configurator,specSelectors:o.selectors.spec,domainServicesSelectors:o.selectors.domainServices,accessSelectors:o.selectors.access,commonServicesSelectors:o.selectors.commonServices}).getSystems())];
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type AccessInfoSelectors, type DomainContextSelectorState, type DomainContextSelectors, type DomainServicesSelectors, type SpecSelectors } from '#package/domain';
|
|
2
2
|
import type { CommonServicesSelectors } from '#package/react-sdk';
|
|
3
3
|
import type { AnyConfiguratorExtensionSystems } from './configurator-extension-systems.js';
|
|
4
4
|
import { AnimationSystem, type AnyCameraSystem, type AnyCanvasSystem, type AnyDragAndDropSystem, type AnyExportSystem, type AnyImageRenderingSystem, type AnyLayoutSystem, type AnySketchingSystem, AssistantSystem, CameraControlSystem, GraphQLSystem } from './systems/index.js';
|
|
5
5
|
interface Context {
|
|
6
|
+
readonly getState: () => DomainContextSelectorState;
|
|
6
7
|
readonly domainContextSelectors: DomainContextSelectors;
|
|
7
8
|
readonly specSelectors: SpecSelectors;
|
|
8
9
|
readonly domainServicesSelectors: DomainServicesSelectors;
|
|
@@ -18,6 +19,7 @@ interface Context {
|
|
|
18
19
|
* matching the domain layer. Every configurator system reads the domain through
|
|
19
20
|
* `domainContextSelectors` and its same-layer peers through this slice's own selectors, so no
|
|
20
21
|
* system is handed a constructed instance and construction order stops being a dependency graph.
|
|
22
|
+
* The exceptions are the narrowed getters of `systemContext`, each with its reason there.
|
|
21
23
|
*/
|
|
22
24
|
export declare const createConfiguratorExtensionSelectors: (context: Context) => {
|
|
23
25
|
getSystems: () => AnyConfiguratorExtensionSystems;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{createSelector as e}from"@salsita-ai/common/utils";import{createSessionAssistant as t,isAssistantSetupHandler as n}from"#package/domain";import{AnimationSystem as s,AssistantSystem as o,CameraControlSystem as r,CameraSystem as a,CanvasSystem as i,DragAndDropSystem as g,ExportSystem as m,GraphQLSystem as c,ImageRenderingSystem as l,LayoutSystem as S,SketchingSystem as u}from"./systems/index.js";export const createConfiguratorExtensionSelectors=y=>{let{getState:C,domainContextSelectors:d,specSelectors:f,domainServicesSelectors:p,accessSelectors:w,commonServicesSelectors:h}=y,x=e.withTypes()([f.selectConfiguratorSpec,d.selectInitializationContext],(e,s)=>t({resolved:e.assistant,handler:e.handlers.find(n),inputs:s&&s.access?{role:s.role,sessionData:s.sessionData,access:s.access}:null})),A={getConfigurationId:()=>w.getConfiguratorConfigurationId(),getAuthorizedClient:()=>h.getConfiguratorAuthorizedClient(),getAssistantSetup:()=>x(C()),domainContextSelectors:d,domainServicesSelectors:p,specSelectors:f},D={getSystems:()=>q,getCanvasSystem:()=>I,getCameraControlSystem:()=>z,getAnimationSystem:()=>v,getDragAndDropSystem:()=>k,getImageRenderingSystem:()=>b,getLayoutSystem:()=>Q,getSketchingSystem:()=>R,getExportSystem:()=>L,getCameraSystem:()=>T,getGraphQLSystem:()=>j,getAssistantSystem:()=>G},E={...A,configuratorExtensionSelectors:D},I=new i(A),z=new r({configuratorExtensionSelectors:D}),k=new g(E),v=new s(A),L=new m(E),j=new c(A),G=new o(E),Q=new S(A),R=new u(E),T=new a(E),b=new l(E),q={cameraControlSystem:z,layoutSystem:Q,sketchingSystem:R,dragAndDropSystem:k,canvasSystem:I,cameraSystem:T,exportSystem:L,imageRenderingSystem:b,animationSystem:v,graphQLSystem:j,assistantSystem:G};return D};
|
|
@@ -2,7 +2,7 @@ import type { AnyClientTool } from '@tanstack/ai';
|
|
|
2
2
|
import { type UIMessage } from '@tanstack/ai-client';
|
|
3
3
|
import { type ObservableWithLastValue } from '@salsita-ai/common/utils';
|
|
4
4
|
import { type AuthorizedPhoenixApiClient } from '#package/client';
|
|
5
|
-
import type { DomainContextSelectors, DomainServicesSelectors, InitializableSystem, SpecSelectors } from '#package/domain';
|
|
5
|
+
import type { DomainContextSelectors, DomainServicesSelectors, InitializableSystem, SessionAssistantSetup, SpecSelectors } from '#package/domain';
|
|
6
6
|
import type { ConfiguratorExtensionSelectors } from '../../selectors.js';
|
|
7
7
|
/** A tool of the assistant that the model calls and the browser runs, as the chat client accepts it. */
|
|
8
8
|
export type AssistantClientTool = AnyClientTool;
|
|
@@ -18,6 +18,8 @@ export interface AssistantSystemContext {
|
|
|
18
18
|
readonly specSelectors: SpecSelectors;
|
|
19
19
|
readonly getConfigurationId: () => string;
|
|
20
20
|
readonly getAuthorizedClient: () => AuthorizedPhoenixApiClient<any, any, any>;
|
|
21
|
+
/** The assistant the initialized session runs: its tools, its exposed fields and whether chat runs at all. */
|
|
22
|
+
readonly getAssistantSetup: () => SessionAssistantSetup;
|
|
21
23
|
}
|
|
22
24
|
/**
|
|
23
25
|
* The conversation with the assistant as the panel paints it. One value is published per change, so
|
|
@@ -103,6 +105,18 @@ export declare class AssistantSystem implements InitializableSystem {
|
|
|
103
105
|
private _olderThreadId;
|
|
104
106
|
/** The resume that is running, so two sends that find the thread locked share one. */
|
|
105
107
|
private _resuming;
|
|
108
|
+
/**
|
|
109
|
+
* The message the server refused on a chat because its thread cannot be continued, by where it
|
|
110
|
+
* starts in the chat's messages: it is painted, but it is not part of the thread, so a resume
|
|
111
|
+
* leaves it out of the closed thread it paints above the new one.
|
|
112
|
+
*/
|
|
113
|
+
private _refused;
|
|
114
|
+
/**
|
|
115
|
+
* The chat a message is being sent on for the first time. When the server refuses that message
|
|
116
|
+
* because the thread cannot be continued, the refusal is not a failure of the chat: the thread is
|
|
117
|
+
* resumed and the message is sent again; see `send`.
|
|
118
|
+
*/
|
|
119
|
+
private _firstAttempt;
|
|
106
120
|
/**
|
|
107
121
|
* Identity of the chain of threads that is painted. A resumed chat keeps it, because its new
|
|
108
122
|
* thread continues the same chain; any other new chat starts another one.
|
|
@@ -113,11 +127,25 @@ export declare class AssistantSystem implements InitializableSystem {
|
|
|
113
127
|
private readonly _recorder;
|
|
114
128
|
/** The recorder's subscription to the committed emissions of the store; made by the first `initialize()`. */
|
|
115
129
|
private _recording;
|
|
130
|
+
/**
|
|
131
|
+
* The tool call of every `apply` by the state it committed or held, for as long as the state
|
|
132
|
+
* lives: an undone state that the undo history dropped is forgotten with it.
|
|
133
|
+
*
|
|
134
|
+
* Accepted: a commit the project's `registerIsUndoable` keeps out of the history never becomes a
|
|
135
|
+
* step, so the row of its `apply` never offers Undo.
|
|
136
|
+
*/
|
|
137
|
+
private readonly _applyToolCallIds;
|
|
138
|
+
private readonly _undoTipToolCallId;
|
|
116
139
|
constructor(_context: AssistantSystemContext);
|
|
117
140
|
/** The conversation. It never completes, and holds the empty chat whenever no chat is active. */
|
|
118
141
|
readonly chat$: ObservableWithLastValue<AssistantChatSnapshot>;
|
|
119
142
|
/** The state of the built-in panel. It never completes. */
|
|
120
143
|
readonly panel$: ObservableWithLastValue<AssistantPanelSnapshot>;
|
|
144
|
+
/**
|
|
145
|
+
* The `apply` tool call whose committed state is the step of the undo history the configuration is
|
|
146
|
+
* at; nothing when that step is not a change of the assistant. It never completes.
|
|
147
|
+
*/
|
|
148
|
+
readonly undoTipToolCallId$: ObservableWithLastValue<string | undefined>;
|
|
121
149
|
/**
|
|
122
150
|
* A new configuration load: the chat of the previous one is deactivated and both observables go
|
|
123
151
|
* back to their empty values. An activation that is still held outlives it and gets the chat of
|
|
@@ -168,12 +196,26 @@ export declare class AssistantSystem implements InitializableSystem {
|
|
|
168
196
|
* A thread this session may not continue is resumed first, in a new thread; see `resume`. When
|
|
169
197
|
* that fails the message is not sent.
|
|
170
198
|
*
|
|
199
|
+
* The chat can be out of date about that: the thread reached its size limit with the reply before
|
|
200
|
+
* this message, or the assistant's setup changed while the configurator stayed open. The server
|
|
201
|
+
* then refuses the message and says that the thread cannot be continued. The message stays
|
|
202
|
+
* painted while the thread is resumed, and is then sent again on the new thread, with the change
|
|
203
|
+
* record it was first sent with. This happens once: a refusal of the second attempt is the
|
|
204
|
+
* failure it is. When resuming fails, the message is left as any message that failed to send:
|
|
205
|
+
* painted, with the failure as the error of the chat.
|
|
206
|
+
*
|
|
207
|
+
* Accepted: when the server refuses the compaction itself with a conflict, because another tab
|
|
208
|
+
* compacted the thread or a run is still running, the thread is read again (see `resume`) and
|
|
209
|
+
* the refused message is gone without a notice. It takes two tabs or a run racing the send, and
|
|
210
|
+
* the user writes the message again, as after any reload of a thread that failed.
|
|
211
|
+
*
|
|
171
212
|
* It never rejects: a message the client could not send is reported as the error of the chat.
|
|
172
213
|
*/
|
|
173
214
|
send: (content: string) => Promise<void>;
|
|
174
215
|
/**
|
|
175
216
|
* Makes the chat ready for the next message. A thread the server no longer lets this session
|
|
176
|
-
* continue, because the assistant's setup changed since it was started
|
|
217
|
+
* continue, because the assistant's setup changed since it was started or the thread reached
|
|
218
|
+
* its size limit, is compacted there: the
|
|
177
219
|
* server closes it and opens a thread that starts from its summary. The messages painted so far
|
|
178
220
|
* move to `earlierThreads`, and a new client takes the new thread over.
|
|
179
221
|
*
|
|
@@ -199,9 +241,31 @@ export declare class AssistantSystem implements InitializableSystem {
|
|
|
199
241
|
* server is therefore gone from the thread and has to be written again.
|
|
200
242
|
*/
|
|
201
243
|
reloadThread: () => void;
|
|
244
|
+
/**
|
|
245
|
+
* Undoes the changes of the given `apply` tool calls, one undo step at a time, while the step the
|
|
246
|
+
* configuration is at is one of them. A change the user made in between stops it, so it is never
|
|
247
|
+
* taken back; the non-undoable commits made on top of an undone change go with it, as with the
|
|
248
|
+
* toolbar's undo.
|
|
249
|
+
*
|
|
250
|
+
* Accepted: like the toolbar's undo, it does not check the session mode; only `apply` requires `owner`.
|
|
251
|
+
*/
|
|
252
|
+
undoToolCalls: (toolCallIds: ReadonlySet<string>) => void;
|
|
202
253
|
setOpen: (open: boolean) => void;
|
|
203
254
|
setInputFocused: (isInputFocused: boolean) => void;
|
|
255
|
+
/**
|
|
256
|
+
* Where the message starts that is being sent on the chat for the first time and that the server
|
|
257
|
+
* refused because its thread cannot be continued, so it never reached the thread; `-1` when there
|
|
258
|
+
* is no such message. A refused continuation of a reply is not one: its message is stored.
|
|
259
|
+
*/
|
|
260
|
+
private _findRefusedMessageIndex;
|
|
261
|
+
private _sendOn;
|
|
204
262
|
private _resume;
|
|
263
|
+
/**
|
|
264
|
+
* The `apply` call whose committed state is the step the configuration is at. Nothing at the bottom
|
|
265
|
+
* of the history, where nothing can be undone: that step was not made by a change it could take back.
|
|
266
|
+
*/
|
|
267
|
+
private _findTipToolCallId;
|
|
268
|
+
private _refreshUndoTip;
|
|
205
269
|
private _committedState;
|
|
206
270
|
private _patchPanel;
|
|
207
271
|
/**
|