@inneranimalmedia/agentsam-sdk 2.6.17 → 2.6.18
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/AGENTSAM.md +19 -0
- package/README.md +15 -0
- package/apps/agentsam-copro-studio/agentsam.app.json +125 -0
- package/apps/cad-creator/agentsam.app.json +230 -0
- package/apps/cad-creator/shared/cad/package.json +1 -1
- package/apps/cad-creator/shared/cad/src/index.ts +1 -0
- package/apps/cad-creator/shared/cad/src/lighting.test.ts +32 -0
- package/apps/cad-creator/shared/cad/src/lighting.ts +79 -0
- package/apps/cad-creator/shared/cad/src/types.ts +106 -4
- package/apps/design-canvas/agentsam.app.json +144 -0
- package/apps/ecommerce-cms-agentsam/agentsam.app.json +658 -0
- package/apps/local-studio/agentsam.app.json +271 -0
- package/apps/samsketch/agentsam.app.json +136 -0
- package/contracts/source-types.v2.json +86 -1
- package/docs/CAPABILITIES.md +56 -0
- package/docs/PRODUCT_LIFECYCLE.md +2 -0
- package/docs/REPOSITORY_KNOWLEDGE.md +24 -0
- package/docs/adr/ADR-0010-widget-contributions-registry-persistence.md +60 -0
- package/docs/architecture/ACP_D1_HOSTING.md +67 -0
- package/docs/architecture/AGENTSAM-PRODUCT-CATALOG-RELEASES-20261028.md +3 -1
- package/docs/architecture/AGENTSAM_APPLICATION_CONTRACT.md +6 -2
- package/docs/architecture/AGENTSAM_APPLICATION_INVENTORY.md +135 -0
- package/docs/architecture/AGENTSAM_DISTRIBUTION_OWNERSHIP.md +1 -1
- package/docs/architecture/AGENTSAM_GO_RUNTIME.md +1 -1
- package/docs/architecture/APP_PRODUCT_DATA_MODEL.md +121 -0
- package/docs/architecture/BRAND_WORKSPACE_V1.md +71 -0
- package/docs/architecture/CANONICAL_CAD_FORMAT_SPINE.md +79 -0
- package/docs/architecture/ECOMMERCE_THEME_START_FLOW.md +31 -0
- package/docs/architecture/LIVE_AST_AND_CREATIVE_RESOURCE_GRAPH.md +129 -0
- package/docs/architecture/PRIMETECH_SCENE_V2_READINESS.md +89 -0
- package/docs/architecture/PYTHON_CAD_SERVICE_TRANSPORT.md +116 -0
- package/docs/architecture/SCHEMA_AUTHORITIES.md +83 -0
- package/docs/architecture/app-module-plugin-classification.md +71 -0
- package/docs/architecture/primetech/BARNDOMINIUM_BIM_BUILDOUT_RUNBOOK_20261123.md +139 -0
- package/docs/architecture/primetech/BARNDOMINIUM_SPACE_DELIVERY_20261123.md +58 -0
- package/docs/architecture/primetech/CAPABILITY_AND_ACCEPTANCE_MATRIX.md +176 -0
- package/docs/architecture/primetech/IMPLEMENTATION_WAVES.md +203 -0
- package/docs/architecture/primetech/PORTABLE_EDITOR_CONTRACTS.md +192 -0
- package/docs/architecture/primetech/README.md +65 -0
- package/docs/architecture/universal-registry-recovery.md +62 -0
- package/docs/audits/2026-11-22-sdk-d1-registry-parity.md +116 -0
- package/docs/brand/BRAND_CAPABILITY_INVENTORY.md +160 -0
- package/docs/cad/FORMAT_SUPPORT.md +46 -0
- package/docs/cad/LIB_CAD_REMASTER_AUDIT.md +49 -0
- package/docs/engineering/CMS_DATA_AUTHORITY_2026-11-03.md +4 -2
- package/docs/generated/SDK_CAPABILITY_INVENTORY.md +10 -10
- package/docs/intake/product-capabilities.proposed.ts +6 -6
- package/docs/operations/CLOUDFLARE-QUEUE-OBSERVABILITY.md +1 -1
- package/docs/product/AGENTSAM_PRODUCT_EXPERIENCE_STANDARD.md +1 -1
- package/docs/reference/AGENTSAM-CLI-WORKFLOWS.md +1 -1
- package/docs/reference/AGENTSAM-REGISTRY.generated.md +25 -16
- package/docs/sam/opencv-media.md +63 -0
- package/docs/standards/DESKTOP_WEB_PARITY_ACCEPTANCE.md +42 -0
- package/migrations/d1/0001_agentsam_plugin_runtime.sql +0 -2
- package/migrations/d1/0028_drop_unused_tool_handler_families.sql +4 -0
- package/migrations/d1/0029_agentsam_tools_account_plugin_key_unique.sql +26 -0
- package/migrations/d1/0030_cad_engine_plugins_contract_agnostic.sql +21 -0
- package/migrations/d1/0031_ops_trail_single_tool_call_source.sql +13 -0
- package/migrations/d1/0033_service_registry_model_discovery.sql +50 -0
- package/migrations/d1/20261123_skill_package_staging.sql +64 -0
- package/migrations/d1/20261123_universal_registry_stage.sql +58 -0
- package/migrations/d1/20261126_agentsam_tool_legacy_metadata_compact.sql +6 -0
- package/migrations/d1/20261126_agentsam_tools_archive_legacy_metadata.sql +20 -0
- package/migrations/d1/20261126_agentsam_tools_normalize_intent_tags.sql +49 -0
- package/migrations/d1/20261126_agentsam_tools_normalize_policy_health.sql +89 -0
- package/migrations/d1/20261126_agentsam_tools_remove_legacy_scope_keys.sql +29 -0
- package/migrations/d1/20261126_agentsam_tools_runtime_view_compat.sql +65 -0
- package/migrations/d1/generated/20261123_portable_cli_seed.sql +97 -0
- package/migrations/d1/generated/20261123_source_skill_seed.sql +3881 -0
- package/migrations/runtime/0012_agent_run_event_sequence.sql +27 -0
- package/package.json +57 -17
- package/packages/agentsam-3d-viewer/README.md +5 -0
- package/packages/agentsam-3d-viewer/package.json +1 -1
- package/packages/agentsam-3d-viewer/src/atmosphere.js +90 -0
- package/packages/agentsam-3d-viewer/src/gltf-loader.js +42 -0
- package/packages/agentsam-3d-viewer/src/index.d.ts +53 -1
- package/packages/agentsam-3d-viewer/src/index.js +18 -3
- package/packages/agentsam-3d-viewer/src/pbr-materials.js +330 -0
- package/packages/agentsam-3d-viewer/src/procedural-material.js +96 -0
- package/packages/agentsam-3d-viewer/src/procedural-textures.js +334 -0
- package/packages/agentsam-3d-viewer/src/renderer-capabilities.js +12 -0
- package/packages/agentsam-3d-viewer/src/stroke-geometry.js +4 -0
- package/packages/agentsam-3d-viewer/src/studio-finishes.js +67 -0
- package/packages/agentsam-3d-viewer/test/atmosphere.test.mjs +17 -0
- package/packages/agentsam-3d-viewer/test/gltf-loader.test.mjs +49 -0
- package/packages/agentsam-3d-viewer/test/pbr-mined-presets.test.mjs +44 -0
- package/packages/agentsam-3d-viewer/test/procedural-material.test.mjs +56 -0
- package/packages/agentsam-3d-viewer/test/renderer-capabilities.test.mjs +18 -0
- package/packages/agentsam-3d-viewer/test/studio-shared.test.mjs +23 -0
- package/packages/agentsam-architectural-intelligence/package.json +1 -1
- package/packages/agentsam-brand/package.json +3 -2
- package/packages/agentsam-brand/src/core/capabilities.js +108 -48
- package/packages/agentsam-brand/src/extract.js +6 -1
- package/packages/agentsam-brand/src/index.js +1 -0
- package/packages/agentsam-brand/src/public.js +15 -1
- package/packages/agentsam-brand/src/scan.js +47 -0
- package/packages/agentsam-brand/src/workspace.d.ts +19 -0
- package/packages/agentsam-brand/src/workspace.js +166 -0
- package/packages/agentsam-cms/README.md +11 -0
- package/packages/agentsam-cms/package.json +4 -3
- package/packages/agentsam-cms/src/contracts.js +16 -0
- package/packages/agentsam-cms/src/studio-bridge-protocol.js +113 -0
- package/packages/agentsam-cms/test/standalone.test.mjs +7 -3
- package/packages/agentsam-cms/test/studio-bridge-protocol.test.mjs +26 -0
- package/packages/agentsam-communications/package.json +3 -2
- package/packages/agentsam-communications/src/samspeaks-runtime.js +126 -0
- package/packages/agentsam-contracts/README.md +67 -0
- package/packages/agentsam-contracts/agentsam.package.json +46 -12
- package/packages/agentsam-contracts/dist/agent.d.ts +6 -3
- package/packages/agentsam-contracts/dist/agent.js +20 -0
- package/packages/agentsam-contracts/dist/bim-model.d.ts +95 -0
- package/packages/agentsam-contracts/dist/bim-model.js +57 -0
- package/packages/agentsam-contracts/dist/cad-source-formats.d.ts +55 -0
- package/packages/agentsam-contracts/dist/cad-source-formats.js +9617 -0
- package/packages/agentsam-contracts/dist/design-workspace.d.ts +13 -1
- package/packages/agentsam-contracts/dist/index.d.ts +6 -0
- package/packages/agentsam-contracts/dist/index.js +17836 -349
- package/packages/agentsam-contracts/dist/json-schema.d.ts +8 -0
- package/packages/agentsam-contracts/dist/json-schema.js +7787 -0
- package/packages/agentsam-contracts/dist/operations.d.ts +6 -1
- package/packages/agentsam-contracts/dist/operations.js +7795 -5
- package/packages/agentsam-contracts/dist/resource-ref.d.ts +21 -0
- package/packages/agentsam-contracts/dist/resource-ref.js +23 -0
- package/packages/agentsam-contracts/dist/run.d.ts +91 -3
- package/packages/agentsam-contracts/dist/run.js +28 -0
- package/packages/agentsam-contracts/dist/scene-document.d.ts +32 -0
- package/packages/agentsam-contracts/dist/scene-document.js +30 -0
- package/packages/agentsam-contracts/dist/scene-format.d.ts +44 -0
- package/packages/agentsam-contracts/dist/scene-format.js +35 -0
- package/packages/agentsam-contracts/dist/source-types-registry.d.ts +9 -0
- package/packages/agentsam-contracts/dist/source-types-registry.js +9512 -0
- package/packages/agentsam-contracts/dist/tools.d.ts +2 -1
- package/packages/agentsam-contracts/dist/tools.js +7794 -9
- package/packages/agentsam-contracts/dist/widgets.d.ts +2 -0
- package/packages/agentsam-contracts/package.json +42 -3
- package/packages/agentsam-contracts/schemas/activity.v1.schema.json +142 -0
- package/packages/agentsam-contracts/schemas/bim-model.v1.schema.json +76 -0
- package/packages/agentsam-contracts/schemas/resource-ref.v1.schema.json +18 -0
- package/packages/agentsam-contracts/schemas/run-receipt.v1.schema.json +411 -0
- package/packages/agentsam-contracts/schemas/run-start.v1.schema.json +40 -0
- package/packages/agentsam-contracts/schemas/run.v1.schema.json +243 -0
- package/packages/agentsam-contracts/schemas/sam-operation.v1.schema.json +8 -0
- package/packages/agentsam-contracts/schemas/scene-document.v2.schema.json +212 -0
- package/packages/agentsam-contracts/schemas/scene-format.v1.schema.json +173 -0
- package/packages/agentsam-contracts/schemas/source-types.v2.json +86 -1
- package/packages/agentsam-contracts/scripts/build.mjs +2 -1
- package/packages/agentsam-contracts/src/agent.ts +10 -18
- package/packages/agentsam-contracts/src/bim-model.ts +143 -0
- package/packages/agentsam-contracts/src/cad-source-formats.ts +195 -0
- package/packages/agentsam-contracts/src/design-workspace.ts +9 -0
- package/packages/agentsam-contracts/src/index.ts +6 -0
- package/packages/agentsam-contracts/src/json-schema.ts +37 -0
- package/packages/agentsam-contracts/src/operations.ts +12 -1
- package/packages/agentsam-contracts/src/resource-ref.ts +36 -0
- package/packages/agentsam-contracts/src/run.ts +93 -16
- package/packages/agentsam-contracts/src/scene-document.ts +58 -0
- package/packages/agentsam-contracts/src/scene-format.ts +91 -0
- package/packages/agentsam-contracts/src/source-types-registry.ts +65 -0
- package/packages/agentsam-contracts/src/tools.ts +4 -1
- package/packages/agentsam-contracts/src/widgets.ts +2 -0
- package/packages/agentsam-contracts/test/bim-model.test.mjs +66 -0
- package/packages/agentsam-contracts/test/cad-source-formats.test.mjs +103 -0
- package/packages/agentsam-contracts/test/contracts.test.mjs +23 -1
- package/packages/agentsam-contracts/test/resource-ref.test.mjs +29 -0
- package/packages/agentsam-contracts/test/run-contract.test.mjs +44 -0
- package/packages/agentsam-contracts/test/scene-document.test.mjs +30 -0
- package/packages/agentsam-contracts/test/scene-format.test.mjs +40 -0
- package/packages/agentsam-contracts/test/source-types.test.mjs +29 -0
- package/packages/agentsam-desktop-shell/scripts/app-discovery.mjs +36 -25
- package/packages/agentsam-errors/package.json +1 -1
- package/packages/agentsam-goalguru/agentsam.app.json +97 -0
- package/packages/agentsam-goap/package.json +2 -2
- package/packages/agentsam-hooks/package.json +1 -1
- package/packages/agentsam-knowledge/package.json +1 -1
- package/packages/agentsam-merch/package.json +1 -1
- package/packages/agentsam-nav/dist/Surfaces.d.ts +14 -4
- package/packages/agentsam-nav/dist/browser.global.js +16 -16
- package/packages/agentsam-nav/dist/browser.js +65 -22
- package/packages/agentsam-nav/dist/contracts.d.ts +2 -0
- package/packages/agentsam-nav/dist/index.d.ts +1 -1
- package/packages/agentsam-nav/dist/index.js +62 -21
- package/packages/agentsam-nav/dist/shell.css +149 -4
- package/packages/agentsam-nav/dist/theme.css +149 -4
- package/packages/agentsam-nav/dist/useAdminApps.d.ts +21 -2
- package/packages/agentsam-nav/package.json +1 -1
- package/packages/agentsam-occt/dist/native-provider.d.mts +1 -1
- package/packages/agentsam-occt/dist/native-provider.mjs +1 -1
- package/packages/agentsam-occt/package.json +1 -1
- package/packages/agentsam-occt/src/native-provider.mjs +1 -1
- package/packages/agentsam-queue-control/package.json +1 -1
- package/packages/agentsam-queue-control/src/adapters/sqlite.js +8 -6
- package/packages/agentsam-repository/package.json +1 -1
- package/packages/agentsam-vault/package.json +5 -1
- package/packages/agentsam-vault/src/crypto/aes-gcm.d.ts +25 -0
- package/packages/agentsam-vault/src/crypto/aes-gcm.js +149 -0
- package/packages/agentsam-vault/src/crypto/classify.d.ts +22 -0
- package/packages/agentsam-vault/src/crypto/classify.js +83 -0
- package/packages/agentsam-vault/src/crypto/oauth-envelope.d.ts +7 -0
- package/packages/agentsam-vault/src/index.js +10 -0
- package/packages/agentsam-vault/src/providers/registry.js +8 -0
- package/packages/agentsam-workbench/README.md +27 -3
- package/packages/agentsam-workbench/package.json +26 -4
- package/packages/agentsam-workbench/src/agent/AskAgentSamPill.tsx +17 -0
- package/packages/agentsam-workbench/src/agent/MiniAgentSam.tsx +144 -20
- package/packages/agentsam-workbench/src/agent/contextual-composer.css +7 -0
- package/packages/agentsam-workbench/src/agent/index.ts +1 -0
- package/packages/agentsam-workbench/src/agent/mini-agentsam.css +54 -0
- package/packages/agentsam-workbench/src/design/DesignWorkspaceFrame.tsx +277 -82
- package/packages/agentsam-workbench/src/design/design-workspace.css +173 -109
- package/packages/agentsam-workbench/src/index.ts +1 -0
- package/packages/agentsam-workbench/src/shell/InspectorPicker.tsx +38 -0
- package/packages/agentsam-workbench/src/shell/ResizableStage.tsx +26 -5
- package/packages/agentsam-workbench/src/shell/SidePanel.tsx +3 -3
- package/packages/agentsam-workbench/src/shell/StudioCommands.tsx +32 -0
- package/packages/agentsam-workbench/src/shell/appearance.d.mts +28 -0
- package/packages/agentsam-workbench/src/shell/appearance.mjs +279 -0
- package/packages/agentsam-workbench/src/shell/index.ts +2 -0
- package/packages/agentsam-workbench/src/shell/inspector-picker.css +48 -0
- package/packages/agentsam-workbench/src/shell/studio-icons.ts +104 -0
- package/packages/agentsam-workbench/src/shell/studio-panels.ts +21 -0
- package/packages/agentsam-workbench/src/widgets/registry.ts +4 -4
- package/packages/agentsam-workbench/src/workflows/WorkflowStudio.tsx +936 -0
- package/packages/agentsam-workbench/src/workflows/index.ts +5 -0
- package/packages/agentsam-workbench/src/workflows/model.ts +207 -0
- package/packages/agentsam-workbench/src/workflows/types.ts +206 -0
- package/packages/agentsam-workbench/src/workflows/workflow-studio.css +290 -0
- package/packages/catalog/generated/packages.json +157 -45
- package/packages/connectors/cfoa/package.json +7 -2
- package/packages/connectors/cfoa/src/PERMISSION_REGISTRY.md +45 -0
- package/packages/connectors/cfoa/src/api-client.js +4 -0
- package/packages/connectors/cfoa/src/capabilities.js +123 -285
- package/packages/connectors/cfoa/src/families/media.js +16 -12
- package/packages/connectors/cfoa/src/index.js +31 -37
- package/packages/connectors/cfoa/src/oauth-persist.js +18 -2
- package/packages/connectors/cfoa/src/permission-options.js +147 -1038
- package/packages/connectors/cfoa/src/routes.js +92 -35
- package/packages/connectors/cfoa/src/scope-catalog.js +16 -351
- package/packages/connectors/cfoa/src/scope-registry.js +248 -0
- package/packages/connectors/cfoa/test/scope-registry.test.mjs +168 -0
- package/packages/connectors/cfoa/tests/capabilities.test.mjs +86 -45
- package/packages/connectors/cfoa/tests/connector.test.mjs +143 -0
- package/packages/connectors/cfoa/tests/media-discovery.test.mjs +34 -10
- package/packages/identity/.agentsam/features/oauth-login-portal/agentsam.feature.json +1 -1
- package/packages/identity/agentsam.package.json +4 -4
- package/packages/identity/migrations/apply-portable.js +11 -4
- package/packages/identity/migrations/sqlite/007_identity_session_revoke_reason.sql +3 -0
- package/packages/identity/migrations/sqlite/008_identity_accounts.sql +41 -0
- package/packages/identity/migrations/sqlite/009_identity_scope.sql +30 -0
- package/packages/identity/package.json +11 -6
- package/packages/identity/schema/agentsam.identity/manifest.json +21 -4
- package/packages/identity/src/adapters/account-security-store.js +7 -0
- package/packages/identity/src/adapters/column-support.js +39 -0
- package/packages/identity/src/adapters/iam-compat/index.js +19 -4
- package/packages/identity/src/adapters/portable-d1/index.js +3 -1
- package/packages/identity/src/adapters/portable-store.js +80 -51
- package/packages/identity/src/app/verify-app.js +27 -0
- package/packages/identity/src/contracts/identity-store.js +2 -2
- package/packages/identity/src/core/password-gate.js +116 -0
- package/packages/identity/src/frontend/auth-portal/pages/login.html +1 -1
- package/packages/identity/src/frontend/auth-portal/pages/reset.html +1 -1
- package/packages/identity/src/frontend/auth-portal/pages/signup.html +1 -1
- package/packages/identity/src/frontend/auth-portal/shared/company-branding.js +18 -7
- package/packages/identity/src/frontend/auth-portal/shared/default-auth-logo.svg +4 -0
- package/packages/identity/src/frontend/auth-portal/store-access.js +97 -0
- package/packages/identity/src/migrations/0005_session_audit_columns.sql +6 -0
- package/packages/identity/src/migrations/README.md +2 -0
- package/packages/identity/src/oauth/native-handoff.js +2 -2
- package/packages/identity/src/server/identity-service.js +1 -1
- package/packages/identity/src/server/worker-router.js +16 -5
- package/packages/identity/tests/identity-portal-e2e.test.mjs +166 -0
- package/packages/identity/tests/lane1-identity-store-parity.test.mjs +17 -6
- package/packages/identity/tests/password-gate.test.mjs +66 -0
- package/packages/identity/tests/portable-identity-scope.test.mjs +59 -0
- package/packages/identity/tests/session-audit.test.mjs +135 -0
- package/packages/identity/tests/worker-portal-assets.test.mjs +47 -0
- package/packages/primetech-procedures/README.md +46 -5
- package/packages/primetech-procedures/agentsam.package.json +6 -6
- package/packages/primetech-procedures/package.json +14 -3
- package/packages/primetech-procedures/procedures/arch.assembly.calculate/procedure.json +83 -0
- package/packages/primetech-procedures/procedures/media.asset.preflight/procedure.json +85 -0
- package/packages/primetech-procedures/procedures/media.image.optimize-asset/procedure.json +102 -0
- package/packages/primetech-procedures/procedures/repo.asset.inventory/__pycache__/run.cpython-314.pyc +0 -0
- package/packages/primetech-procedures/procedures/repo.git.status/procedure.json +58 -0
- package/packages/primetech-procedures/procedures/repo.git.status/run.sh +10 -0
- package/packages/primetech-procedures/src/index.js +140 -41
- package/packages/primetech-procedures/test/__pycache__/test_inventory.cpython-314.pyc +0 -0
- package/packages/primetech-procedures/test/runtime-kinds.test.mjs +210 -0
- package/packages/theme-scenes/package.json +1 -1
- package/packages/work-graph/package.json +1 -1
- package/protocol/README.md +18 -0
- package/protocol/capabilities/capability-manifest.schema.json +111 -19
- package/protocol/capabilities/manifest.json +12 -1
- package/protocol/contracts/source-types.v2.json +86 -1
- package/protocol/product-releases/README.md +15 -12
- package/protocol/registry/universal-catalog.v1.json +2820 -0
- package/protocol/sam/activity.v1.schema.json +111 -17
- package/protocol/sam/operation.schema.json +8 -0
- package/protocol/sam/run-receipt.v1.schema.json +411 -0
- package/protocol/sam/run-start.v1.schema.json +40 -0
- package/protocol/sam/run.v1.schema.json +243 -0
- package/protocol/theme-refinery/d1-reconciliation.md +66 -32
- package/protocol/theme-refinery/product-metadata.schema.json +1 -1
- package/python/README.md +81 -8
- package/python/agentsam_sdk/cad/__init__.py +26 -3
- package/python/agentsam_sdk/cad/adapters/__init__.py +6 -0
- package/python/agentsam_sdk/cad/adapters/freecad.py +200 -0
- package/python/agentsam_sdk/cad/building.py +42 -0
- package/python/agentsam_sdk/cad/jobs.py +174 -0
- package/python/agentsam_sdk/cad/native.py +68 -9
- package/python/agentsam_sdk/cad/service.py +570 -0
- package/python/agentsam_sdk/cli.py +31 -0
- package/python/agentsam_sdk/client.py +49 -16
- package/python/agentsam_sdk/data/d1_bloat.py +0 -1
- package/python/agentsam_sdk/media/__init__.py +8 -0
- package/python/agentsam_sdk/media/opencv.py +188 -0
- package/python/agentsam_sdk/procedures/client.py +1 -1
- package/python/agentsam_sdk/registry_cli.py +88 -0
- package/python/agentsam_sdk/runtime/native.py +1 -1
- package/python/agentsam_sdk/terminal_art.py +5 -6
- package/python/pyproject.toml +3 -0
- package/python/tests/fixtures/freecad_host_cases.json +30 -0
- package/python/tests/test_bridge_policy.py +40 -0
- package/python/tests/test_cad_building_client.py +47 -0
- package/python/tests/test_cad_jobs_client.py +102 -0
- package/python/tests/test_cad_native.py +104 -1
- package/python/tests/test_cad_service_client.py +288 -0
- package/python/tests/test_opencv_media.py +79 -0
- package/python/tests/test_procedure_client.py +6 -0
- package/python/tests/test_public_client.py +13 -0
- package/services/cad/blender/adapter.py +49 -0
- package/services/cad/ifc/__pycache__/adapter.cpython-311.pyc +0 -0
- package/services/cad/ifc/adapter.py +836 -0
- package/services/cad/server.py +435 -132
- package/skills/README.md +1 -1
- package/skills/agentsam-app-fundamentals/agentsam.skill.json +20 -0
- package/skills/agentsam-arch-bim/SKILL.md +166 -6
- package/skills/agentsam-arch-bim/agentsam.skill.json +2 -2
- package/skills/agentsam-cad/SKILL.md +122 -36
- package/skills/agentsam-cad/agentsam.skill.json +20 -0
- package/skills/agentsam-cad/evals/README.md +56 -0
- package/skills/agentsam-cad/references/engines-and-lanes.md +70 -0
- package/skills/agentsam-cad/references/projects-and-operations.md +112 -0
- package/skills/agentsam-cad/references/proof-and-triage.md +89 -0
- package/skills/agentsam-cad/references/python-service-and-jobs.md +102 -0
- package/skills/agentsam-cad/references/scene-geometry-bim.md +113 -0
- package/skills/agentsam-canvas-creation/agentsam.skill.json +20 -0
- package/skills/agentsam-cloudflare-workers/agentsam.skill.json +20 -0
- package/skills/agentsam-cms-ready-creation/agentsam.skill.json +20 -0
- package/skills/agentsam-codebaseindex/agentsam.skill.json +20 -0
- package/skills/agentsam-jr-dev/agentsam.skill.json +20 -0
- package/skills/agentsam-plan-and-goap/agentsam.skill.json +20 -0
- package/skills/agentsam-progression-guard/agentsam.skill.json +20 -0
- package/skills/agentsam-repo-recon/agentsam.skill.json +20 -0
- package/skills/agentsam-sam-operations/SKILL.md +76 -36
- package/skills/agentsam-sam-operations/agentsam.skill.json +20 -0
- package/skills/agentsam-sdk-orientation/agentsam.skill.json +20 -0
- package/skills/catalog.json +21 -6
- package/src/acp/agent-executor.js +38 -2
- package/src/acp/client.js +128 -39
- package/src/acp/dependencies.js +159 -19
- package/src/acp/http.js +14 -0
- package/src/acp/index.js +3 -0
- package/src/acp/runs.js +5 -3
- package/src/agent/capability-adapter.js +21 -23
- package/src/cli/command-catalog.js +4 -4
- package/src/cli/desktop-launch.js +2 -2
- package/src/cli/update-check.js +131 -0
- package/src/cli.js +6 -5
- package/src/commands/account-auth.js +36 -26
- package/src/commands/app-inventory.js +343 -0
- package/src/commands/app.js +162 -27
- package/src/commands/ast.js +80 -0
- package/src/commands/cad.js +2 -0
- package/src/commands/cheat-sheet.js +1 -1
- package/src/commands/cloudflare-login.js +170 -65
- package/src/commands/cloudflare-status.js +38 -0
- package/src/commands/cloudflare.js +54 -42
- package/src/commands/codebaseindex.js +34 -13
- package/src/commands/db.js +2 -2
- package/src/commands/go.js +1 -1
- package/src/commands/interactive.js +5 -0
- package/src/commands/knowledge.js +4 -2
- package/src/commands/mcp.js +5 -2
- package/src/commands/preferences.js +48 -6
- package/src/commands/product.js +4 -4
- package/src/commands/run.js +3 -4
- package/src/commands/shell.js +32 -10
- package/src/go/contract.js +1 -1
- package/src/go/official-registry.js +41 -36
- package/src/go/product-catalog.test.mjs +52 -0
- package/src/go/receipts.js +19 -6
- package/src/indexing/index.js +10 -0
- package/src/indexing/live-ast.js +200 -0
- package/src/indexing/live-cad-graph.js +107 -0
- package/src/indexing/live-resource-graph.js +95 -0
- package/src/knowledge/config.js +5 -4
- package/src/knowledge/store-discovery.js +22 -5
- package/src/knowledge/stores/d1.js +141 -0
- package/src/lib/auth.js +7 -4
- package/src/lib/cad/bim-bridge.d.ts +6 -0
- package/src/lib/cad/bim-bridge.js +96 -0
- package/src/lib/cad/d1-project-store.js +1 -1
- package/src/lib/cad/delivery-profiles.d.ts +1 -1
- package/src/lib/cad/delivery-profiles.js +82 -6
- package/src/lib/cad/format-policy.d.ts +11 -0
- package/src/lib/cad/format-policy.js +14 -0
- package/src/lib/cad/freecad-host.d.ts +19 -0
- package/src/lib/cad/freecad-host.js +171 -0
- package/src/lib/cad/freecad.js +38 -65
- package/src/lib/cad/ifc-cli.js +82 -0
- package/src/lib/cad/ifc.js +152 -0
- package/src/lib/cad/index.js +3 -0
- package/src/lib/cad/production-operations.js +2 -0
- package/src/lib/cad/project-runtime.js +2 -2
- package/src/lib/cad/project-v2.js +13 -25
- package/src/lib/cad-docker.js +35 -17
- package/src/lib/whoami-capabilities.js +8 -14
- package/src/mcp/cloudflare-bundles.js +39 -41
- package/src/models/inventory-core.d.ts +32 -1
- package/src/models/inventory-core.js +118 -36
- package/src/plugins/cloudflare.js +3 -3
- package/src/plugins/completeful.js +2 -4
- package/src/plugins/contracts.js +2 -3
- package/src/plugins/creative.js +2 -2
- package/src/plugins/registry.js +52 -33
- package/src/plugins/runtime.js +64 -13
- package/src/registry/generated/inventory.json +289 -66
- package/src/registry/universal-reconcile.js +120 -0
- package/src/registry/universal-source.js +253 -0
- package/src/sam/adapters/opencv-video.js +206 -0
- package/src/sam/adapters/workspace-media.js +15 -2
- package/src/sam/bridge/policy.mjs +50 -0
- package/src/sam/bridge/stdio.mjs +61 -38
- package/src/sam/operations/architectural-knowledge.js +1 -0
- package/src/sam/operations/artifact-render.js +2 -1
- package/src/sam/operations/cad-bim-ifc.js +89 -0
- package/src/sam/operations/decision-evaluate.js +1 -0
- package/src/sam/operations/planning-goap.js +1 -0
- package/src/sam/operations/repository-inspect.js +1 -0
- package/src/sam/operations/robotics.js +1 -1
- package/src/sam/packs/core.js +2 -0
- package/src/sam/packs/evidence/endpoint.js +39 -0
- package/src/sam/packs/evidence/media.js +3 -2
- package/src/sam/packs/evidence/store-hosted.js +5 -3
- package/src/sam/shell-host.js +26 -8
- package/src/skills/catalog.js +12 -1
- package/src/skills/registry.js +16 -17
- package/src/ui/boot.js +12 -14
- package/src/ui/brand/agentsam-mark.generated.js +49 -0
- package/src/ui/cli/prompt-box.js +151 -0
- package/src/ui/home-screen.js +49 -0
- package/apps/README.md +0 -67
- package/apps/cad-creator/README.md +0 -743
- package/packages/agentsam-brand/LICENSE +0 -110
- package/packages/agentsam-desktop-shell/LICENSE +0 -110
- package/packages/agentsam-desktop-shell/README.md +0 -73
- package/packages/agentsam-ide/LICENSE +0 -110
- package/packages/agentsam-ide/README.md +0 -147
- package/packages/agentsam-nav/LICENSE +0 -110
- package/packages/agentsam-vault/LICENSE +0 -110
- package/packages/agentsam-workbench/LICENSE +0 -110
- package/src/ui/art/geaux_boot.json +0 -25
- package/src/ui/companion-art.js +0 -40
- /package/{apps/cad-creator → packages/primetech-procedures}/LICENSE +0 -0
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
# AgentSam Brand — Existing Capability Inventory
|
|
2
|
+
|
|
3
|
+
**Snapshot:** 2026-11-22 00:xx US Central
|
|
4
|
+
**Scope:** `agentsam-sdk`, `agentsam-plugin-mcp`, the connected `inneranimalmedia-business` tool/workflow registry, and the existing creative application surfaces.
|
|
5
|
+
**Purpose:** establish what can be reused before adding new Brand-specific engines or workflows.
|
|
6
|
+
|
|
7
|
+
## Executive finding
|
|
8
|
+
|
|
9
|
+
The platform already has substantial asset, media, typography, 3D, storage and creative-production infrastructure. The primary gap is orchestration and evidence integration: the published Brand plugin does not yet gather the user's authorized sources into one portfolio, does not connect the existing creative editors to a Brand lifecycle, and does not expose the existing tool capabilities as a coherent workflow library.
|
|
10
|
+
|
|
11
|
+
The correct approach is to make AgentSam Brand the evidence, identity, review and production-orchestration layer. It must consume existing editors and providers rather than reimplement them.
|
|
12
|
+
|
|
13
|
+
## 1. Existing domain packages and applications
|
|
14
|
+
|
|
15
|
+
| Domain | Existing implementation | Actual capability | Status / boundary |
|
|
16
|
+
|---|---|---|---|
|
|
17
|
+
| Shared asset identity | `packages/agentsam-assets-core` | Canonical `ast_*` IDs, asset kinds, machine facts, hashes, provider representations, provenance history, master/delivery representation selection | **Implemented.** This is the shared asset identity authority; Brand and Content should not invent parallel asset identities. |
|
|
18
|
+
| Brand compiler | `packages/agentsam-brand` | BrandPack v1/v2, semantic asset roles, tokens, provenance, derivatives, packaging, optimization, promotion, publish receipts, verification | **Implemented, partial intelligence.** Strong asset compiler and image delivery pipeline; not a complete brand-discovery or creative-production workspace by itself. |
|
|
19
|
+
| Content provider runtime | `packages/agentsam-content` | Provider-neutral asset/runtime contracts, machine pass, source identity, usage, permissions, routing, jobs, events and semantic enrichment hooks | **Implemented.** Reuse its provider registry and runtime rather than creating a second storage layer. |
|
|
20
|
+
| Content Studio UI | `packages/agentsam-content-studio` | `ContentStudio`, `ContentLibrary`, `AssetDetail`, media dropzone, image/video/model/delivery/usage inspectors and assistant rail | **Implemented UI package.** Brand should consume/filter this shared library surface where possible, not create a competing media manager. |
|
|
21
|
+
| Typeface Studio | `apps/samsketch/src/typeface-studio.ts`, `src/typeface/model.ts` | Glyph outline editing with `opentype.js`, seven traced source masters, editable glyph inventory, source JSON export and TTF export | **Existing authoring surface.** Reuse from SamSketch. This is not yet evidence of full WOFF/WOFF2 conversion, variable-font axis editing or automated licensing analysis. |
|
|
22
|
+
| SamSketch | `apps/samsketch` | Vector authoring, scene editing, geometry and integrated Typeface Studio | **Existing editor.** Brand should hand off authoring instead of embedding a second vector/font editor. |
|
|
23
|
+
| CoPro media | `packages/copro-media` | Provider-neutral media asset identity, provenance and repository contracts | **Implemented foundation.** Reuse for media identity and source tracking. |
|
|
24
|
+
| CoPro render | `packages/copro-render` | Render planning, renderer capability selection, transitions and world/3D rendering support | **Implemented render foundation.** Reuse for production rather than building a second renderer. |
|
|
25
|
+
| MovieMode | `/admin/moviemode` | Timeline-based video project editing and render/export surfaces | **Existing editor.** Platform tools include `veo_generate_video`, `moviemode_render` and `moviemode_export`; Brand orchestration is not yet wired end-to-end. |
|
|
26
|
+
| IAMScene | `packages/iamscene` v0.1.3 | Portable editable scene format, authoring API, animation runtime, Three.js presentation and OCCT geometry pipeline | **Existing scene engine.** Brand can coordinate scenes and packages; do not create another scene format. |
|
|
27
|
+
| CAD / spatial | `apps/cad-creator`, `packages/agentsam-occt`, `packages/agentsam-3d-viewer` | Engineering geometry, model viewing and CAD execution | **Existing engineering surfaces.** Use for technical/spatial production; do not imply it is a brand guideline editor. |
|
|
28
|
+
| Image delivery | `packages/agentsam-cloudflare-images`, Brand Sharp/Cloudflare processors | Raster encoding/optimization, Cloudflare Images delivery, R2 storage and receipts | **Implemented for supported formats.** Not a universal image editor or universal file converter. |
|
|
29
|
+
|
|
30
|
+
## 2. BrandPack readers, extractors and format support
|
|
31
|
+
|
|
32
|
+
### Existing readers and extractors
|
|
33
|
+
|
|
34
|
+
| Implementation | Reads / extracts | Boundary |
|
|
35
|
+
|---|---|---|
|
|
36
|
+
| `packages/agentsam-brand/src/core/v2/ingest-graph.js` | Folder and file inventory; supported BrandPack formats; archive expansion; HTML/CSS/JS/TS/JSON/Markdown/YAML source extraction | Local Node implementation. It is not a Cloudflare Worker archive service. |
|
|
37
|
+
| `extractArchive()` | ZIP via system `unzip`; TAR/TGZ/TAR.GZ via system `tar`; standalone GZ via Node `zlib` | Requires local system executables for ZIP/TAR. No archive mutation; extraction is to a work directory. Nested archive recursion and archive-bomb hardening need explicit acceptance tests before claiming complete large-archive support. |
|
|
38
|
+
| `extractFromCode()` | Regex-based extraction of hex/RGB/OKLCH colors, CSS custom properties, `font-family` declarations and image/font/media URLs | Useful deterministic evidence, not a full CSS parser, AST parser or semantic design interpreter. |
|
|
39
|
+
| `packages/agentsam-brand/src/scan.js` | Repository snapshot paths, style and component evidence, token extraction, conflicts and asset-path inventory | Deterministic repository scan. It does not visually understand image content or automatically read every binary asset. The asset inventory now emits structured path/format/role/hash/size/provenance records. |
|
|
40
|
+
| `packages/agentsam-brand/src/core/inspect.js` | File hashing, local asset metadata inspection and SVG validation | File/asset inspection; not a general PDF/Office/font/video/3D parser. |
|
|
41
|
+
| `packages/agentsam-repository` snapshot/Merkle APIs | Repository tree, paths, content hashes, semantic file metadata and revision/snapshot provenance | Reuse as repository evidence authority; do not substitute arbitrary `find` output for a repository snapshot. |
|
|
42
|
+
| Connected Files/document readers | Read and search supported uploaded/library documents; PDF/document page inspection is available through the host Files capability | Host capability, not a reusable parser implemented inside `agentsam-brand`. Do not claim every Office or archive format has a Brand-native parser. |
|
|
43
|
+
|
|
44
|
+
### Format operation contract
|
|
45
|
+
|
|
46
|
+
`packages/agentsam-brand/src/core/capabilities.js` is the format registry. It now exposes explicit operation flags for `read`, `inspect`, `edit`, `generate`, `convert`, `optimize`, `preview`, `export`, `preserve_original` and `validate_roundtrip`.
|
|
47
|
+
|
|
48
|
+
| Family | Formats | BrandPack-level support | Important limitation |
|
|
49
|
+
|---|---|---|---|
|
|
50
|
+
| Raster | PNG, JPG/JPEG, WebP, AVIF, GIF, TIFF/TIF, HEIC/HEIF, APNG | Import; metadata inspection and preview for supported raster rows; Sharp/native encoding, conversion and optimization for supported formats; preserve source | HEIC/HEIF and APNG have narrower editing support. Generation is a separate registered media tool. |
|
|
51
|
+
| Vector / print | SVG, PDF, EPS, AI | SVG inspection, preview, raster conversion and export; PDF/EPS/AI import and preservation | PDF/EPS/AI are not represented as editable vectors by BrandPack. |
|
|
52
|
+
| Platform icons | ICO, ICNS | Import, metadata inventory and preservation | Not a complete platform-icon editor or derivative generator. |
|
|
53
|
+
| Fonts | TTF, OTF, WOFF, WOFF2 | Import and preserve; export remains licensing-gated | BrandPack does not itself implement full font-table inspection or font editing. Typeface Studio is the existing authoring surface. |
|
|
54
|
+
| Video | MP4, MOV, WebM, MKV | Import and preserve; poster-frame intent is declared for selected formats | BrandPack does not edit or transcode video. Use MovieMode/CoPro and the registered video tools. |
|
|
55
|
+
| Motion | Lottie JSON, Rive RIV, GIF/APNG | Import and preserve; GIF is handled as raster/animated image | Lottie/Rive are not authorable by BrandPack. A unified motion authoring workflow is not connected. |
|
|
56
|
+
| 3D / spatial | GLB, glTF, USDZ, OBJ, FBX, KTX2 | Import and preserve; role classification | BrandPack is not the 3D editor or universal model converter. Use IAMScene, SamSketch, CAD and Meshy where supported. |
|
|
57
|
+
| Tokens / theme / source docs | JSON, YAML, CSS, SCSS, Markdown, HTML | Read/inspect supported text evidence, edit token/source representations and export supported compiled forms | Regex extraction is not a complete CSS/HTML/Office semantic parser. |
|
|
58
|
+
| Office/interchange docs | DOCX, PPTX, XLSX, ODT, ODP, ODS, RTF, TXT, CSV, XML | Inventory and preserve; simple text formats can be handed to document readers | Deep document extraction is not implemented in BrandPack for Office formats. Use a real document reader and report unsupported parsing. |
|
|
59
|
+
| Archives | ZIP, TAR, GZ, TGZ, TAR.GZ | Import, inspect/extract supported containers, preserve original | Existing extractor uses local system tools for ZIP/TAR. Not a Worker-safe or universal archive service. |
|
|
60
|
+
|
|
61
|
+
`validate_roundtrip` is not claimed for these formats unless a format-specific round-trip test exists. Importing a format does not imply it can be edited, converted or exported losslessly.
|
|
62
|
+
|
|
63
|
+
## 3. Storage and provider adapters
|
|
64
|
+
|
|
65
|
+
### Brand package adapters
|
|
66
|
+
|
|
67
|
+
- `FilesystemStorageAdapter` — local filesystem representation.
|
|
68
|
+
- `MemoryStorageAdapter` — in-memory/test storage.
|
|
69
|
+
- `CloudflareR2StorageAdapter` — R2 object storage.
|
|
70
|
+
- `CloudflareImagesDeliveryAdapter` — Cloudflare Images delivery and upload path.
|
|
71
|
+
- `D1BrandRegistryAdapter` — optional metadata registry hook; it is not a complete independent Brand database.
|
|
72
|
+
|
|
73
|
+
### Shared Content providers
|
|
74
|
+
|
|
75
|
+
`packages/agentsam-content/src/providers` contains:
|
|
76
|
+
|
|
77
|
+
- `local.ts`
|
|
78
|
+
- `r2.ts`
|
|
79
|
+
- `gdrv.ts`
|
|
80
|
+
- `cms.ts`
|
|
81
|
+
- `cloudflare-images.ts`
|
|
82
|
+
- `cloudflare-stream.ts`
|
|
83
|
+
|
|
84
|
+
The provider contract declares `list`, `head`, `upload`, `delete` and `deliveryUrl`, with capability declarations for list/upload/delete/deliver/transform/stream/sync/download/captions/metadata. Reuse this registry and provider contract for connected storage and delivery.
|
|
85
|
+
|
|
86
|
+
## 4. Registered platform tools relevant to Brand
|
|
87
|
+
|
|
88
|
+
The connected `inneranimalmedia-business` tool catalog currently contains these relevant active tool contracts:
|
|
89
|
+
|
|
90
|
+
| Area | Registered tools | Status |
|
|
91
|
+
|---|---|---|
|
|
92
|
+
| Repository / files | `agentsam_filesystem_walk`, `agentsam_filesystem_stat_many`, `agentsam_filesystem_hash_many`, `fs_list_dir`, `fs_read_file`, `fs_search_files`, `agentsam_codebase_retrieve` | Active read/evidence tools. |
|
|
93
|
+
| Google Drive | `agentsam_gdrive` | Active integration reader. |
|
|
94
|
+
| R2 | `agentsam_r2_list`, `agentsam_r2_get` | Active storage readers. |
|
|
95
|
+
| Published websites | `browser_run_snapshot` | Active page capture tool. |
|
|
96
|
+
| Image generation | `imgx_generate_image` | Active media-generation tool. |
|
|
97
|
+
| Video generation | `veo_generate_video` | Active asynchronous media-generation tool. |
|
|
98
|
+
| Video rendering | `moviemode_render`, `moviemode_export` | Active MovieMode media tools. |
|
|
99
|
+
| 3D generation / transform | `meshy_image_to_3d`, `meshy_animate`, `meshy_convert` and related Meshy tools | Active media tools; individual operations have their own input constraints. |
|
|
100
|
+
| CAD / scene | `cad_generate`, `designstudio_asset_list`, `designstudio_scene_list` | Active engineering/design tools. |
|
|
101
|
+
| Brand plugin (currently deployed catalog) | `brand.get_context`, `brand.inspect`, `brand.assets.list`, `brand.asset.inspect`, `brand.usage.find`, `brand.contract.draft`, `brand.contract.save`, `brand.consistency.evaluate`, `brand.plan` | Nine existing remote tools. The new `brand.workspace.build` and `brand.sources.discover` are implemented in plugin source but are not yet present in the production D1 tool catalog until the plugin is deployed and synchronized. |
|
|
102
|
+
|
|
103
|
+
The tool catalog also contains other media and storage operations. A workflow must bind to an exact registered tool contract; do not invent tool names or infer an implementation from a package name.
|
|
104
|
+
|
|
105
|
+
## 5. Existing workflow registry
|
|
106
|
+
|
|
107
|
+
The connected `agentsam_workflows` table currently contains six workflow records:
|
|
108
|
+
|
|
109
|
+
- `cad.edit_preview` — draft
|
|
110
|
+
- `cad.house_baseline` — draft
|
|
111
|
+
- `cad.occt_step_roundtrip` — draft
|
|
112
|
+
- `code.index.build` — active
|
|
113
|
+
- `integrations.github_supabase.source_sync` — active
|
|
114
|
+
- `my_automation` — account-scoped draft
|
|
115
|
+
|
|
116
|
+
There are currently **no `brand.*` or `content.*` workflow registrations** in that registry. The Brand workflow keys in the product brief remain proposed until executable graph nodes are registered against exact tools and acceptance-tested.
|
|
117
|
+
|
|
118
|
+
Do not seed empty workflow shells or six more GOAP planning actions. Register only workflows with real action handlers, explicit input/output schemas, provenance, retry behavior and any required human approval nodes.
|
|
119
|
+
|
|
120
|
+
## 6. Current Brand plugin implementation
|
|
121
|
+
|
|
122
|
+
The `agentsam-plugin-mcp` repository now contains:
|
|
123
|
+
|
|
124
|
+
- `brand.workspace.build` — reviewable workspace payload: overview, asset inventory, visual portfolio, sources, usage, findings, draft BrandContract, review queue and creative-production handoffs.
|
|
125
|
+
- `brand.sources.discover` — authorized connection inventory with source-coverage limitations.
|
|
126
|
+
- MCP App resource with Overview / Assets / Sources / Usage / Review tabs and a Create handoff menu.
|
|
127
|
+
- Updated Brand skills for discovery, asset review, consistency, definition and planning.
|
|
128
|
+
|
|
129
|
+
The workspace builder is read-only. It does not silently approve or save a BrandContract, mutate assets or publish content. It requires actual scan evidence for the portfolio and findings; context-only mode visibly reports the missing evidence.
|
|
130
|
+
|
|
131
|
+
## 7. Gaps that must be closed before calling the full product complete
|
|
132
|
+
|
|
133
|
+
| Gap | Required work | Reuse first |
|
|
134
|
+
|---|---|---|
|
|
135
|
+
| Source acquisition is still orchestrated, not fully automatic | Connect authorized repository, Drive, R2, website and upload readers to a unified source inventory with pagination and per-source completion receipts | Content providers, repository snapshot/Merkle tools, browser capture and host Files readers |
|
|
136
|
+
| Archive extraction is local-only | Add a safe, bounded archive inspection/extraction path for hosted workflows; test nested archives, path traversal, expansion limits and recoverable failures | Existing `extractArchive()` as behavioral reference; do not run its local `unzip`/`tar` implementation in Workers |
|
|
137
|
+
| Office/document parsing is incomplete | Register real PDF/DOCX/PPTX/XLSX readers and preserve page/sheet/slide provenance | Host Files/document readers and any existing document parser already installed |
|
|
138
|
+
| Visual interpretation is not part of deterministic scan | Add vision-assisted asset interpretation with source references and human review | Existing image/vision capabilities; never infer identity from filename alone |
|
|
139
|
+
| Brand usage is not connected to all production surfaces | Trace assets/tokens through repositories, CMS, published websites, themes, scenes and media projects | AST/repository tools, Content usage inspector and browser snapshot |
|
|
140
|
+
| Typeface packaging is incomplete | Connect Typeface Studio project/source export to Brand asset records; add font metadata/license inspection and validated web-font packaging | Existing SamSketch Typeface Studio and `opentype.js` |
|
|
141
|
+
| Bespoke logo/icon authoring handoff is incomplete | Connect editable vector source, logo variants, icon-family source and export history | SamSketch vector authoring and existing Brand iconography pack builder |
|
|
142
|
+
| Image transformations are not orchestrated from Brand | Add a workflow around existing Sharp/Cloudflare processors with source preservation and receipts | Brand processors and shared image delivery adapters |
|
|
143
|
+
| Motion authoring is not unified | Connect animation source projects, preview, rendering and export; Lottie/Rive remain explicitly unsupported until an editor exists | MovieMode, CoPro and IAMScene animation runtime |
|
|
144
|
+
| Brand-specific scene packaging is incomplete | Add brand scene templates, asset links and render/presentation receipts | IAMScene, SamSketch and CAD/OCCT |
|
|
145
|
+
| Visual guidelines generation is incomplete | Generate reviewable guideline documents/presentations from approved contract and linked assets | Existing document/presentation authoring tools; no new bespoke editor |
|
|
146
|
+
| Workflow library is not registered | Register executable `content.*` and `brand.*` graphs in the existing `agentsam_workflows` system after their tool contracts are live | Existing workflow nodes, pinned tool references, approval nodes and output nodes |
|
|
147
|
+
|
|
148
|
+
## 8. Reuse decisions
|
|
149
|
+
|
|
150
|
+
1. `agentsam-assets-core` owns canonical asset identity and provenance.
|
|
151
|
+
2. `agentsam-content` owns provider-neutral storage/content operations.
|
|
152
|
+
3. `agentsam-content-studio` owns the reusable media-library and inspector UI.
|
|
153
|
+
4. `agentsam-brand` owns BrandPack, BrandContract, brand-specific classification, portfolio and review orchestration.
|
|
154
|
+
5. SamSketch / Typeface Studio owns vector and font authoring.
|
|
155
|
+
6. MovieMode / CoPro owns video and media rendering.
|
|
156
|
+
7. IAMScene owns editable spatial scene format and runtime.
|
|
157
|
+
8. CAD / OCCT owns engineering geometry.
|
|
158
|
+
9. The existing `agentsam_workflows` registry owns workflow definitions and execution graphs.
|
|
159
|
+
|
|
160
|
+
No new asset database, document parser, media editor, scene format, workflow engine or generic converter should be introduced until the existing implementation inventory proves a specific missing capability.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# CAD format identity and delivery policy
|
|
2
|
+
|
|
3
|
+
The root identity catalog is `contracts/source-types.v2.json`. The SDK's
|
|
4
|
+
`src/lib/cad/format-policy.js` only maps CAD-relevant filename suffixes to
|
|
5
|
+
canonical identities. It is **not** a competing format catalog, codec list,
|
|
6
|
+
file-content detector, or claim that CAD Creator can import the file.
|
|
7
|
+
|
|
8
|
+
The scene registry (`packages/iamscene/src/format-registry.ts`) separately
|
|
9
|
+
advertises **import**, **export**, **live reference**, and **round-trip** for
|
|
10
|
+
each adapter. An extension recognized by local CAD source discovery does not
|
|
11
|
+
grant import/edit/export functionality.
|
|
12
|
+
|
|
13
|
+
## Key format families
|
|
14
|
+
|
|
15
|
+
| Work | Common source / exchange | Presentation and deliverables |
|
|
16
|
+
| --- | --- | --- |
|
|
17
|
+
| Semantic building BIM | IFC, IFCZIP, IFCXML, FCStd, RVT | IFC, PDF, DXF, SVG, CSV |
|
|
18
|
+
| Precise solids / fabrication | STEP, IGES, BREP, FCStd, STL, 3MF, OBJ, PLY | STEP, STL, 3MF, DXF, SVG |
|
|
19
|
+
| Site / surveying | IFC, E57, LAS, LAZ, XYZ | PDF, SVG, DXF, GLB |
|
|
20
|
+
| Native scenes | IAMScene, IAMGeometry, BLEND, USD, USDZ, GLTF | GLB, MP4, MOV, PNG |
|
|
21
|
+
| Video editing | MOV, MP4, OTIO, WAV | MOV, MP4 |
|
|
22
|
+
|
|
23
|
+
Every delivery profile produces *planned intents*. A provider must explicitly
|
|
24
|
+
advertise an authorized operation, produce real artifact bytes, record the
|
|
25
|
+
source revision, and provide a receipt. Generated outputs are **not** considered
|
|
26
|
+
validated for delivery. Professional-review flags never claim permit readiness
|
|
27
|
+
or a legal seal.
|
|
28
|
+
|
|
29
|
+
## Known capability gaps
|
|
30
|
+
|
|
31
|
+
- **IFC:** the existing IfcOpenShell adapter inspects semantics, but general
|
|
32
|
+
`cad.project.v2` import/edit/export parity and independent round-trip proof
|
|
33
|
+
are separate engineering tasks.
|
|
34
|
+
- **STL/OBJ/PLY:** IAMScene can import triangle meshes. This is not parametric
|
|
35
|
+
reconstruction and is not a CAD solid-editing operation.
|
|
36
|
+
- **SVG / MOV:** recognized for routing, archiving and delivery planning.
|
|
37
|
+
They do not have IAMScene semantic import/export adapters.
|
|
38
|
+
- **3MF, RVT, DWG, IFCZIP, USD:** suffix recognition is not proof of a working
|
|
39
|
+
reader, writer, license, engine installation, or round-trip support.
|
|
40
|
+
- **Native project formats:** FCStd and BLEND must retain their original
|
|
41
|
+
source and a trusted external application engine; a GLB preview is not a
|
|
42
|
+
replacement for the editable native file.
|
|
43
|
+
|
|
44
|
+
When implementing a codec, add a real fixture and test preservation of native
|
|
45
|
+
identity, units, orientation, semantic relationships, geometry, and sidecars;
|
|
46
|
+
do not promote 'recognized' to 'implemented' based on a successful upload.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# CAD SDK authority, portability and scale audit
|
|
2
|
+
|
|
3
|
+
This audit is based on the current implementation in `src/lib/cad` and the
|
|
4
|
+
CAD Creator backend. It distinguishes verified behavior from pending work.
|
|
5
|
+
**Do not introduce another CAD project model, another file format catalog,
|
|
6
|
+
another shell, or a DreamHouse-specific rendering engine.**
|
|
7
|
+
|
|
8
|
+
## What owns what
|
|
9
|
+
|
|
10
|
+
| Existing module(s) | Current owner / behavior | Required evolution |
|
|
11
|
+
| --- | --- | --- |
|
|
12
|
+
| `project-v2.js`, `project-v2.d.ts` | Portable `cad.project.v2` project model, source and output format references, receipt rules, revision invalidation | Single project authority for the authoring runtime. Stable, revisioned semantic edits and durable geometry identities |
|
|
13
|
+
| `bim-bridge.js` | Verified read-only projection of `agentsam.bim.model.v1` inspections into v2, keyed by IFC GlobalId | Full IFC import/edit/export provider with geometry and semantic round-trip proof |
|
|
14
|
+
| `delivery-profiles.js`, `production-operations.js` | Desired deliverables; runtime operations exposed only by authorized provider ports | Match operation + concrete encoder/engine + file format + geometry capability; validate real bytes and professional-review state |
|
|
15
|
+
| `format-policy.js` | CAD context roles derived from root `agentsam.source-types.v2` catalog | Do not create more ad-hoc extension allowlists. Add content identification and format-specific codec proofs separately |
|
|
16
|
+
| `editable-project-contract.js`, `project-contract.js` | Older inch-based model (walls, doors, windows, rooms) | Compatibility facade for legacy documents only; never make it the authority for new v2 projects |
|
|
17
|
+
| `project-cli.js`, `project-runtime.js`, `project-tools.js`, `project-workflows.js` | Installed local design runtime still uses the legacy project document and revision flows | Route project commands through one v2 command API; expose accurate host operation support and typed errors, not universal format promises |
|
|
18
|
+
| `project-store.js`, `d1-project-store.js` | Legacy file and authenticated D1/R2 stores | v2 persistence with immutable revisions, ownership scoping, optimistic concurrency and byte-verified assets; no separate project truth per surface |
|
|
19
|
+
| `project-recipe.js` | Legacy Blender projection with rectangular-floor and operation-count limits; roofs can reject | Replace as general CAD compiler with reusable IAMScene/IAMGeometry + IFC/OCCT/IfcOpenShell engine adapters; preserve only as v1 compatibility |
|
|
20
|
+
| `discovery.js` | Native and container availability probes | Probe individual operations, codecs, installed library versions and execution lanes per customer host |
|
|
21
|
+
| `blender.js`, `freecad.js`, `openscad.js`, `occt-native-provider.mjs` | Execution adapters and receipts for their individual engine families | Share provider execution/evidence contract; use installed engines rather than duplicating geometry algorithms |
|
|
22
|
+
| `docker-executor.js` | HTTP transport to container CAD service | Verify artifact hashes and sizes independently; preserve binary STL and 3MF as bytes; stream large payloads and enforce time/size limits |
|
|
23
|
+
| CAD Creator `source-discovery.ts`, `source-browser.ts` | Local-only folder scan, source IDs, hash + download; wider format identities now derived from shared policy | Replace synchronous, capped filesystem traversal with authenticated, paginated source indexes and hash-once immutable manifests |
|
|
24
|
+
| IAMScene/IAMGeometry package | Native scene graph, linked geometry and supported mesh/GLB adapters | Scene/world/presentation representation, not a replacement for semantic BIM or exact BREP |
|
|
25
|
+
|
|
26
|
+
## Immediate acceptance gates for actual IFC editing
|
|
27
|
+
|
|
28
|
+
1. **Import:** Parse a real IFC with IfcOpenShell, preserve its original bytes/hash, spatial tree, GlobalIds, properties, quantities, classifications, placements, representations and opening/filling/containment links. Current semantic projection is read-only.
|
|
29
|
+
2. **Select:** CAD Creator selection, properties, BIM tree, types, openings and schedules must resolve to one identity across viewer, IFC and v2 project.
|
|
30
|
+
3. **Edit:** Execute typed edits through `ifcopenshell.api` and OCCT where geometry is required; preserve identifiers or record explicit GUID remaps. Never silently flatten IFC to GLB.
|
|
31
|
+
4. **Export and compare:** Write IFC4, reopen through an independent parse, prove semantic counts, element identity, placements, opening relationships, psets, quantities and changed geometry. Report losses rather than claiming a round trip.
|
|
32
|
+
5. **Drawings and schedules:** Recut PDF/DXF/SVG sheets from the current source revision. Verify dimensions and scales, and mark professional review required when appropriate.
|
|
33
|
+
6. **Publish:** R2 objects and D1 project/revision/artifact rows must be ownership-scoped, hash-verified and atomically promoted. Draft source != approved building documents.
|
|
34
|
+
7. **Scale:** Paginated project assets, asynchronous background content extraction, bounded memory/CPU, cancellation, per-tenant storage quotas and no repo-specific or customer-name-specific file paths.
|
|
35
|
+
|
|
36
|
+
## Formats and their actual responsibilities
|
|
37
|
+
|
|
38
|
+
- **IFC/IFCZIP:** canonical BIM semantics; IfcOpenShell read/author/write. A recognized extension is not proof an archive importer exists.
|
|
39
|
+
- **STEP/IGES/BREP:** accurate engineering solids and geometry; OCCT and FreeCAD.
|
|
40
|
+
- **STL/OBJ/PLY/3MF:** fabrication/mesh interchange; meshes are not parametric solids. Units and watertightness need validation.
|
|
41
|
+
- **SVG/DXF/PDF:** dimensioned vector drawing and sheet exchange; SVG is a source/deliverable type, not automatically an editable CAD sketch.
|
|
42
|
+
- **GLB/glTF/IAMScene/IAMGeometry/USD/BLEND:** native and interchange scene/geometry/workflow content. Keep linkable original sources.
|
|
43
|
+
- **MOV/MP4/OTIO/WAV:** film deliverables; MovieMode/CoPro or authorized media service performs real encoding/editing, while CAD provides model-derived scene sources.
|
|
44
|
+
- **E57/LAS/LAZ:** survey/point cloud reference data; never automatically interpreted as triangulated surface geometry.
|
|
45
|
+
|
|
46
|
+
Before declaring any new format `implemented`, prove its operation with real
|
|
47
|
+
fixtures, byte/semantic validation, round-trip loss report when meaningful, and
|
|
48
|
+
a customer-installation capability probe. Format recognition alone is not
|
|
49
|
+
that proof.
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
> **Superseded by migration 1384 (2026-11-25):** product identity and technical catalog metadata now live in the canonical products table. agentsam_products is retained only as a frozen legacy source.
|
|
2
|
+
|
|
1
3
|
# AgentSam Local Studio — CMS data authority and release gates
|
|
2
4
|
|
|
3
5
|
Read-only live D1 inventory checked 2026-11-03. Never treat a site directory entry
|
|
@@ -12,9 +14,9 @@ as proof that its CMS content is in the platform database.
|
|
|
12
14
|
| Page Editor | `cms_page_sections`, `cms_section_blocks`, `cms_definitions`, `cms_revisions` | Site's own CMS; preserve source project identity and distinguish working drafts from published pages. |
|
|
13
15
|
| Theme Editor | `cms_globals`, `cms_artifacts`, `cms_themes`, `cms_site_theme_overrides`, `cms_revisions` | Site-scoped selected theme and R2 content; platform `cms_themes` is also used for older style presets. Do not promote previews as published. |
|
|
14
16
|
| Reusable parts | `cms_component_templates`, `cms_definitions` | Shared definition catalog; an installed instance belongs to the selected site's pages and sections. |
|
|
15
|
-
| Theme Store | `
|
|
17
|
+
| Theme Store | `products`, `agentsam_product_releases`, immutable R2 assets | Product distribution, not the merchant site inventory projection. |
|
|
16
18
|
| Media | `cms_assets` or merchant `media_assets`; site's R2 objects | Owning site; no global unscoped uploads or copied private assets. |
|
|
17
|
-
| Shop | `products`, `product_variants`, `store_collections`, `store_collection_products`, `store_settings` | Merchant D1, not platform
|
|
19
|
+
| Shop | `products`, `product_variants`, `store_collections`, `store_collection_products`, `store_settings` | Merchant D1, not the platform catalog identity table. |
|
|
18
20
|
| Orders | `orders`, `order_items`, provider payment records | Merchant D1 and authorized payment integrations. |
|
|
19
21
|
|
|
20
22
|
## Deployed shape and content (read only)
|
|
@@ -22,7 +22,7 @@ Authority: `src/cli/command-catalog.js` (a command being listed does not guarant
|
|
|
22
22
|
| `agentsam plugins` | — | Install and manage AgentSam plugins |
|
|
23
23
|
| `agentsam plugin` | — | Inspect and verify governed plugin products |
|
|
24
24
|
| `agentsam install` | — | Install an explicitly selected plugin |
|
|
25
|
-
| `agentsam capabilities` | — | Inspect capability contracts |
|
|
25
|
+
| `agentsam capabilities` | — | Inspect capability contracts, including experimental and package-only APIs |
|
|
26
26
|
| `agentsam skills` | skill | List or load portable skill instructions |
|
|
27
27
|
| `agentsam init` | — | Knowledge setup or local scaffold |
|
|
28
28
|
| `agentsam dockerize` | — | Build/run supported containers |
|
|
@@ -31,11 +31,10 @@ Authority: `src/cli/command-catalog.js` (a command being listed does not guarant
|
|
|
31
31
|
| `agentsam scaffold` | — | Generate CMS or worker-api starter |
|
|
32
32
|
| `agentsam app` | apps | Bundled AgentSam apps launcher |
|
|
33
33
|
|
|
34
|
-
### inside (
|
|
34
|
+
### inside (3)
|
|
35
35
|
|
|
36
36
|
| Command | Aliases | Advertised purpose |
|
|
37
37
|
| --- | --- | --- |
|
|
38
|
-
| `agentsam tui` | — | Full-screen terminal agent (separate from the desktop app) |
|
|
39
38
|
| `agentsam shell` | — | Interactive slash-command shell |
|
|
40
39
|
| `agentsam goals` | goal | List and manage shared account goals |
|
|
41
40
|
| `agentsam goap` | — | Inspect local GOAP and manage shared repository goals |
|
|
@@ -89,9 +88,9 @@ Authority: `src/cli/command-catalog.js` (a command being listed does not guarant
|
|
|
89
88
|
| `agentsam logout` | — | Sign out locally |
|
|
90
89
|
| `agentsam whoami` | — | Authenticated account + tokenPermissions |
|
|
91
90
|
| `agentsam resume` | — | Resume a saved AgentSam session |
|
|
92
|
-
| `agentsam
|
|
91
|
+
| `agentsam open` | desktop, studio | Open AgentSam Local Studio (desktop app) here or at a directory |
|
|
93
92
|
|
|
94
|
-
### work (
|
|
93
|
+
### work (23)
|
|
95
94
|
|
|
96
95
|
| Command | Aliases | Advertised purpose |
|
|
97
96
|
| --- | --- | --- |
|
|
@@ -102,6 +101,7 @@ Authority: `src/cli/command-catalog.js` (a command being listed does not guarant
|
|
|
102
101
|
| `agentsam merch` | — | Preflight designs against portable manufacturing profiles |
|
|
103
102
|
| `agentsam context` | — | Git + bridge context from any repo |
|
|
104
103
|
| `agentsam exec` | — | Run the existing AgentSam coding agent noninteractively with scoped permissions |
|
|
104
|
+
| `agentsam ast` | — | Inspect live code AST and creative resource objects without an index |
|
|
105
105
|
| `agentsam index` | — | Plan/run incremental AST (+ optional embeddings) |
|
|
106
106
|
| `agentsam search` | — | Retrieve indexed code/text |
|
|
107
107
|
| `agentsam memory` | — | Source-backed long-horizon memory via authorized remote MCP |
|
|
@@ -112,7 +112,7 @@ Authority: `src/cli/command-catalog.js` (a command being listed does not guarant
|
|
|
112
112
|
| `agentsam plan` | — | Durable project-local work plans + domain plans |
|
|
113
113
|
| `agentsam security` | sca | Dependency + trust-boundary scan |
|
|
114
114
|
| `agentsam merkle` | — | File integrity snapshots and explorer |
|
|
115
|
-
| `agentsam cad` | — | CAD:
|
|
115
|
+
| `agentsam cad` | — | CAD: project tools (design_project_*/design_model_*), Blender/OpenSCAD/FreeCAD, OCCT native via design_model_build |
|
|
116
116
|
| `agentsam robotics` | — | SAM Robotics: robotics.scene.inspect/object.locate/grasp.plan/motion.plan/validate/simulate/execute/verify, robot.home, execution.cancel (model: never) |
|
|
117
117
|
| `agentsam recon` | — | Bounded-worker packets + finding reports |
|
|
118
118
|
| `agentsam autorag` | — | AutoRAG configure/probe helpers |
|
|
@@ -243,7 +243,7 @@ Authority: `packages/catalog/generated/packages.json`. `catalog_status` and `sta
|
|
|
243
243
|
| `@inneranimalmedia/agentsam-connector-cloudflare` | Portable Cloudflare capability connector for AgentSam applications and SDK consumers. Independent project; not affiliated with Cloudflare, Inc.. | needs-review | unknown |
|
|
244
244
|
| `@inneranimalmedia/agentsam-content` | Portable content/library peer domain over Asset Core: lifecycle, usage, providers, intelligence, and createContentRuntime(). BrandPack remains peer brand authority. | needs-review | unknown |
|
|
245
245
|
| `@inneranimalmedia/agentsam-content-studio` | Canonical React UI for AgentSam Content Studio: library, inspectors, assistant rail. Host apps provide a ContentRuntime; the UI never knows their names. | needs-review | unknown |
|
|
246
|
-
| `@inneranimalmedia/agentsam-contracts` |
|
|
246
|
+
| `@inneranimalmedia/agentsam-contracts` | Portable contracts for AgentSam operations, tools, authority, providers, workspaces, and scene-format capability/round-trip receipts; does not implement codecs, renderers, authorization or asset storage. | needs-review | unknown |
|
|
247
247
|
| `@inneranimalmedia/agentsam-database-editor` | Portable AgentSam Database Editor — adapters for SQLite/D1/Postgres/Supabase + vectors surface. Donor: IAM /dashboard/database. Independent project; not affiliated with Supabase. | active | active |
|
|
248
248
|
| `@inneranimalmedia/agentsam-desktop-shell` | Tauri desktop application and downloadable AgentSam Local Studio .app/.dmg packaging, including native bridges, bundled frontend and agentsamd sidecar. | needs-review | unknown |
|
|
249
249
|
| `@inneranimalmedia/agentsam-docs-theme` | Violet docs skin tokens for AgentSam public guides (Systematic Autonomous Machinery). | needs-review | unknown |
|
|
@@ -280,10 +280,10 @@ Authority: `packages/catalog/generated/packages.json`. `catalog_status` and `sta
|
|
|
280
280
|
| `@inneranimalmedia/copro-templates` | Structured CoPro creative template contracts for canvas, slots, track skeletons, captions, transitions, audio cues, styles, and generation slots. | needs-review | unknown |
|
|
281
281
|
| `@inneranimalmedia/copro-timeline` | Headless CoPro timeline projection, ordering, duration, and viewport math. | needs-review | unknown |
|
|
282
282
|
| `@inneranimalmedia/copro-ui` | Mobile-first creator UI for CoPro with preview, timeline, direct manipulation, edit tools, media tray, transport, and responsive desktop composition. | needs-review | unknown |
|
|
283
|
-
| `@inneranimalmedia/iamscene` | Portable
|
|
284
|
-
| `@inneranimalmedia/primetech-procedures` | Versioned PrimeTech workflow manifests, schema validation, authorized SAM operation orchestration, native asset inventory, run receipts, output hashes, and performance evidence without creating a second runtime or database registry. | classified |
|
|
283
|
+
| `@inneranimalmedia/iamscene` | Portable scene v1 runtime and verified file interchange; experimental IAMScene v2 multi-scene authoring model, independent scene-system records, and migration, with renderer support explicitly separate. | needs-review | in-development |
|
|
284
|
+
| `@inneranimalmedia/primetech-procedures` | Versioned PrimeTech workflow manifests, schema validation, authorized SAM operation orchestration, native asset inventory, run receipts, output hashes, and performance evidence without creating a second runtime or database registry. | classified | public-package |
|
|
285
285
|
| `@inneranimalmedia/theme-contract` | Portable provider-neutral theme preview registry and composition contracts | needs-review | unknown |
|
|
286
|
-
| `@inneranimalmedia/theme-plain-jane` |
|
|
286
|
+
| `@inneranimalmedia/theme-plain-jane` | Legacy editorial journal and photography reference; not the canonical CMS starter or default theme. | needs-review | review |
|
|
287
287
|
| `@inneranimalmedia/theme-scenes` | Cross-product creative scene composition contracts, reusable scene templates and a CMS-compatible portable renderer. Not a storefront theme. | classified | ready |
|
|
288
288
|
| `agentsam-rapid-rust` | AgentSam native scaffolder and lifecycle CLI for Cloudflare Rust/Wasm Workers | needs-review | unknown |
|
|
289
289
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* One product system: distribute software today, manufacture physical goods tomorrow.
|
|
3
3
|
* No new tables. Product identity stays in the existing authority:
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* all products -> products (catalog_kind, lifecycle_status, tags_json, metadata_json)
|
|
5
|
+
* commerce and technical fields stay on the same products row
|
|
6
6
|
* Collections: cms_collections (identity + smart rule). Media: cms_assets.
|
|
7
7
|
*
|
|
8
8
|
* Three ideas kept apart:
|
|
@@ -95,7 +95,7 @@ export const LEGACY_CAPABILITY_ALIASES: Record<string, CapabilityId> = {
|
|
|
95
95
|
|
|
96
96
|
export type VerificationState = "unverified" | "verified" | "failed" | "revoked";
|
|
97
97
|
|
|
98
|
-
/** Stored at
|
|
98
|
+
/** Stored at products.metadata_json.capability_states. */
|
|
99
99
|
export interface CapabilityState {
|
|
100
100
|
capability: CapabilityId | keyof typeof LEGACY_CAPABILITY_ALIASES;
|
|
101
101
|
state: VerificationState;
|
|
@@ -207,9 +207,9 @@ export interface SmartCollectionRule {
|
|
|
207
207
|
/** field -> SQL expression, per item type. Anything not listed is rejected, never interpolated. */
|
|
208
208
|
export const RULE_FIELDS: Record<string, Record<string, { sql: string; allow: Array<"eq" | "in" | "contains"> }>> = {
|
|
209
209
|
product: {
|
|
210
|
-
kind: { sql: "
|
|
211
|
-
status: { sql: "status", allow: ["eq", "in"] },
|
|
212
|
-
tags: { sql: "EXISTS (SELECT 1 FROM json_each(
|
|
210
|
+
kind: { sql: "COALESCE(catalog_kind, product_kind)", allow: ["eq", "in"] },
|
|
211
|
+
status: { sql: "COALESCE(lifecycle_status, status)", allow: ["eq", "in"] },
|
|
212
|
+
tags: { sql: "EXISTS (SELECT 1 FROM json_each(tags_json) t WHERE t.value = ?)", allow: ["contains"] },
|
|
213
213
|
},
|
|
214
214
|
};
|
|
215
215
|
|
|
@@ -61,4 +61,4 @@ Cloudflare per-queue metrics: https://developers.cloudflare.com/api/resources/qu
|
|
|
61
61
|
Consumer API: https://developers.cloudflare.com/api/resources/queues/subresources/consumers/methods/list/
|
|
62
62
|
History fields: https://developers.cloudflare.com/queues/observability/metrics/
|
|
63
63
|
|
|
64
|
-
**Not yet included:** AgentSam logical job status
|
|
64
|
+
**Not yet included:** AgentSam logical job status reconciliation with Cloudflare Queue delivery metrics. The canonical D1 `agentsam_queue_job` ledger now exists; the runtime consumer still needs to claim/ack jobs and reconcile job IDs with provider delivery metrics. Also cross-account BYOK management and privileged message operations.
|
|
@@ -234,7 +234,7 @@ INSTALL
|
|
|
234
234
|
.agentsam state + receipts
|
|
235
235
|
```
|
|
236
236
|
|
|
237
|
-
The
|
|
237
|
+
The canonical platform product inventory is `products`, with relationships in `asset_relationships`. `apps` owns installable application identity; agentsam_products is a frozen legacy source.
|
|
238
238
|
|
|
239
239
|
Any source-controlled `registry/products/*` layer is a **thin relationship/index seed**: product IDs, authority paths, host/mount relationships, service relationships, and platform linkage. It must not copy versions, commands, capability lists, runtime facts, or other fields already owned elsewhere.
|
|
240
240
|
|
|
@@ -35,7 +35,7 @@ The first group prints the CLI, registry and package descriptions. It does not g
|
|
|
35
35
|
| Validate runtime state | `agentsam setup runtime --dry-run`, `agentsam runtime doctor --json`, `agentsam connections` | Placement plan and actual runtime/connection evidence; a profile plan is not enrollment |
|
|
36
36
|
| Prepare a native dependency | `agentsam setup --list`, `agentsam setup <recipe> --dry-run` | Explicit OS/native package recipe and mutation plan |
|
|
37
37
|
| Discover and inspect applications | `agentsam app list`, `agentsam app inspect <id>`, `agentsam app validate --all` | APP manifests and validation findings |
|
|
38
|
-
|
|
|
38
|
+
| Install an independently released application package | `agentsam app install <id> [--version <exact>]` | Resolves the current npm latest dist-tag unless an exact version is requested, installs globally, and verifies its app identity, version and declared executable; separate from account access and native installers |
|
|
39
39
|
| Manage plugins | `agentsam plugins`, `agentsam plugin inspect <target>` | Governed plugin/catalog integration; installation, connection, approval and tool-readiness are separate |
|
|
40
40
|
| Inspect delivery evidence | `agentsam receipts`, `agentsam deploy-receipt capture`, `agentsam security scan` | Content-addressed receipts and trust-boundary findings; not proof of a deployed customer journey by themselves |
|
|
41
41
|
| Review identity / providers | `agentsam whoami`, `agentsam credentials audit --verify`, `agentsam providers`, `agentsam google-cloud doctor` | Account, credential-name-only status, provider/connection diagnostics |
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
| Source authority | Count | Meaning |
|
|
10
10
|
| --- | ---: | --- |
|
|
11
11
|
| `src/cli/command-catalog.js` | 80 | Registered top-level CLI command entries |
|
|
12
|
-
| `protocol/capabilities/manifest.json` |
|
|
12
|
+
| `protocol/capabilities/manifest.json` | 93 | Capability and agent-primitive declarations |
|
|
13
13
|
| `src/lib/setup/recipes.js` | 4 | Native prerequisite install recipes |
|
|
14
|
-
| `apps/*/agentsam.app.json and packages/*/agentsam.app.json` |
|
|
14
|
+
| `apps/*/agentsam.app.json and packages/*/agentsam.app.json` | 7 | APP manifests discoverable from this checkout |
|
|
15
15
|
| `packages/catalog/generated/packages.json` | 55 | Package inventory rows (not npm publication proof) |
|
|
16
16
|
|
|
17
|
-
Manifest status: 56 stable,
|
|
17
|
+
Manifest status: 56 stable, 37 experimental, 17 explicitly non-deterministic. Host binding and approval remain separate.
|
|
18
18
|
|
|
19
19
|
## CLI command authority
|
|
20
20
|
|
|
@@ -24,11 +24,12 @@ Manifest status: 56 stable, 26 experimental, 15 explicitly non-deterministic. Ho
|
|
|
24
24
|
| `agentsam api-key` | start | Create/list/rotate AgentSam API keys (aak_*) |
|
|
25
25
|
| `agentsam app` | create | Bundled AgentSam apps launcher |
|
|
26
26
|
| `agentsam assist` | start | Choose software architecture using deterministic questions |
|
|
27
|
+
| `agentsam ast` | work | Inspect live code AST and creative resource objects without an index |
|
|
27
28
|
| `agentsam autorag` | work | AutoRAG configure/probe helpers |
|
|
28
29
|
| `agentsam billing` | runtime | Billing account relationships (not --billing-project) |
|
|
29
30
|
| `agentsam brand` | work | Deterministic brand intelligence |
|
|
30
|
-
| `agentsam cad` | work | CAD:
|
|
31
|
-
| `agentsam capabilities` | create | Inspect capability contracts |
|
|
31
|
+
| `agentsam cad` | work | CAD: project tools (design_project_*/design_model_*), Blender/OpenSCAD/FreeCAD, OCCT native via design_model_build |
|
|
32
|
+
| `agentsam capabilities` | create | Inspect capability contracts, including experimental and package-only APIs |
|
|
32
33
|
| `agentsam cheat-sheet` | start | Organized command groups (gcloud-like) |
|
|
33
34
|
| `agentsam choose` | start | Choose an execution runtime from explicit goals |
|
|
34
35
|
| `agentsam cloudflare` | runtime | Wrangler reads + Worker CPU profiles |
|
|
@@ -70,6 +71,7 @@ Manifest status: 56 stable, 26 experimental, 15 explicitly non-deterministic. Ho
|
|
|
70
71
|
| `agentsam mini` | create | Create a small local gadget |
|
|
71
72
|
| `agentsam models` | start | Probe hosted/local model availability |
|
|
72
73
|
| `agentsam ollama` | runtime | Local Ollama setup/status/models |
|
|
74
|
+
| `agentsam open` | start | Open AgentSam Local Studio (desktop app) here or at a directory |
|
|
73
75
|
| `agentsam package` | work | Audit, verify, and plan publication of distributable packages |
|
|
74
76
|
| `agentsam plan` | work | Durable project-local work plans + domain plans |
|
|
75
77
|
| `agentsam plugin` | create | Inspect and verify governed plugin products |
|
|
@@ -94,9 +96,7 @@ Manifest status: 56 stable, 26 experimental, 15 explicitly non-deterministic. Ho
|
|
|
94
96
|
| `agentsam skills` | create | List or load portable skill instructions |
|
|
95
97
|
| `agentsam start-local` | runtime | Local PTY WebSocket service |
|
|
96
98
|
| `agentsam status` | runtime | Account, models, terminal, and live deploy awareness |
|
|
97
|
-
| `agentsam studio` | start | Open AgentSam Local Studio (desktop app); bare agentsam does the same |
|
|
98
99
|
| `agentsam terminal` | runtime | Manage terminal identity and enrollment, distinct from PTY sessions |
|
|
99
|
-
| `agentsam tui` | inside | Full-screen terminal agent (separate from the desktop app) |
|
|
100
100
|
| `agentsam tunnel` | runtime | Cloudflare Tunnel via Wrangler |
|
|
101
101
|
| `agentsam update` | runtime | Component update preview (gcloud-like) |
|
|
102
102
|
| `agentsam whoami` | start | Authenticated account + tokenPermissions |
|
|
@@ -124,6 +124,7 @@ Manifest status: 56 stable, 26 experimental, 15 explicitly non-deterministic. Ho
|
|
|
124
124
|
| `brand.plan` | brand | capability | stable | yes | `none` | `agentsam plan brand` |
|
|
125
125
|
| `brand.resolve` | brand | capability | stable | yes | `none` | `agentsam brand resolve` |
|
|
126
126
|
| `brand.scan` | brand | capability | stable | yes | `none` | `agentsam brand scan` |
|
|
127
|
+
| `cad.building.export` | cad-bim | capability | experimental | no | `filesystem-write` | — |
|
|
127
128
|
| `capability.describe` | tool | capability | stable | yes | `none` | — |
|
|
128
129
|
| `capability.invoke` | tool | capability | stable | yes | `delegated-execution` | — |
|
|
129
130
|
| `capability.search` | tool | capability | stable | yes | `none` | — |
|
|
@@ -134,6 +135,16 @@ Manifest status: 56 stable, 26 experimental, 15 explicitly non-deterministic. Ho
|
|
|
134
135
|
| `cloudflare.wrangler.native` | cloudflare | capability | experimental | no | `network-read` | `agentsam cloudflare run <command>` |
|
|
135
136
|
| `context.resolve` | agent | capability | experimental | yes | `none` | — |
|
|
136
137
|
| `deploy.receipt` | delivery | capability | stable | yes | `local-state` | `agentsam deploy-receipt capture` |
|
|
138
|
+
| `iamscene.format.export` | scene-interchange | capability | experimental | yes | `none` | — |
|
|
139
|
+
| `iamscene.format.import` | scene-interchange | capability | experimental | yes | `none` | — |
|
|
140
|
+
| `iamscene.format.list` | scene-interchange | capability | experimental | yes | `none` | — |
|
|
141
|
+
| `iamscene.format.reference` | scene-interchange | capability | experimental | yes | `none` | — |
|
|
142
|
+
| `iamscene.format.round-trip` | scene-interchange | capability | experimental | yes | `none` | — |
|
|
143
|
+
| `iamscene.native.export` | scene-interchange | capability | experimental | no | `local_write` | — |
|
|
144
|
+
| `iamscene.v2.create` | scene-authoring | capability | experimental | yes | `none` | — |
|
|
145
|
+
| `iamscene.v2.edit` | scene-authoring | capability | experimental | yes | `none` | — |
|
|
146
|
+
| `iamscene.v2.migrate` | scene-authoring | capability | experimental | yes | `none` | — |
|
|
147
|
+
| `iamscene.v2.validate` | scene-authoring | capability | experimental | yes | `none` | — |
|
|
137
148
|
| `identity.init` | app | capability | stable | yes | `filesystem` | `agentsam identity init` |
|
|
138
149
|
| `knowledge.index` | repository | capability | stable | yes | `local-state` | `agentsam index run` |
|
|
139
150
|
| `knowledge.search` | repository | capability | stable | yes | `none` | `agentsam search "query"` |
|
|
@@ -205,17 +216,15 @@ Run `agentsam setup --list` for the current recipe catalog. `agentsam setup runt
|
|
|
205
216
|
|
|
206
217
|
| APP ID | Manifest name | Package | CLI binary |
|
|
207
218
|
| --- | --- | --- | --- |
|
|
208
|
-
| `agentsam-copro-studio` | MovieMode / CoPro Studio | `@inneranimalmedia/agentsam-copro-studio` | — |
|
|
209
219
|
| `cad-creator` | AgentSam CAD Creator | `@inneranimalmedia/agentsam-cad-creator` | `bin/agentsam-cad-creator.mjs` |
|
|
210
|
-
| `
|
|
211
|
-
| `design-canvas` | AgentSam Design Canvas | `@inneranimalmedia/agentsam-design-canvas` | `bin/agentsam-design-canvas.mjs` |
|
|
220
|
+
| `design-canvas` | AgentSam Design | `@inneranimalmedia/agentsam-design-canvas` | `bin/agentsam-design-canvas.mjs` |
|
|
212
221
|
| `ecommerce-cms-agentsam` | AgentSam Ecommerce + CMS | `@inneranimalmedia/ecommerce-cms-agentsam` | `bin/ecommerce.mjs` |
|
|
213
222
|
| `goalguru` | AgentSam GoalGuru | `@inneranimalmedia/agentsam-goalguru` | — |
|
|
214
223
|
| `local-studio` | AgentSam Local Studio | `@inneranimalmedia/agentsam-local-studio` | `bin/agentsam-studio.mjs` |
|
|
224
|
+
| `moviemode` | MovieMode | `@inneranimalmedia/agentsam-copro-studio` | — |
|
|
215
225
|
| `samsketch` | SamSketch | `@inneranimalmedia/samsketch` | — |
|
|
216
|
-
| `samspeaks` | SamSpeaks | `@inneranimalmedia/samspeaks` | — |
|
|
217
226
|
|
|
218
|
-
An APP definition is not a user-scoped installation. `agentsam app install <id>`
|
|
227
|
+
An APP definition is not a user-scoped installation. `agentsam app install <id>` installs and verifies the declared npm package on the device; it does not grant account access, install a native desktop bundle, or activate host-component screens.
|
|
219
228
|
|
|
220
229
|
## Package inventory
|
|
221
230
|
|
|
@@ -233,7 +242,7 @@ An APP definition is not a user-scoped installation. `agentsam app install <id>`
|
|
|
233
242
|
| `agentsam-connector-cloudflare` | `@inneranimalmedia/agentsam-connector-cloudflare` | needs-review | Portable Cloudflare capability connector for AgentSam applications and SDK consumers. Independent project; not aff… |
|
|
234
243
|
| `agentsam-content` | `@inneranimalmedia/agentsam-content` | needs-review | Portable content/library peer domain over Asset Core: lifecycle, usage, providers, intelligence, and createContent… |
|
|
235
244
|
| `agentsam-content-studio` | `@inneranimalmedia/agentsam-content-studio` | needs-review | Canonical React UI for AgentSam Content Studio: library, inspectors, assistant rail. Host apps provide a ContentRu… |
|
|
236
|
-
| `agentsam-contracts` | `@inneranimalmedia/agentsam-contracts` | needs-review |
|
|
245
|
+
| `agentsam-contracts` | `@inneranimalmedia/agentsam-contracts` | needs-review | Portable contracts for AgentSam operations, tools, authority, providers, workspaces, and scene-format capability/r… |
|
|
237
246
|
| `agentsam-database-editor` | `@inneranimalmedia/agentsam-database-editor` | active | Portable AgentSam Database Editor — adapters for SQLite/D1/Postgres/Supabase + vectors surface. Donor: IAM /dashbo… |
|
|
238
247
|
| `agentsam-desktop-shell` | `@inneranimalmedia/agentsam-desktop-shell` | needs-review | Tauri desktop application and downloadable AgentSam Local Studio .app/.dmg packaging, including native bridges, bu… |
|
|
239
248
|
| `agentsam-docs-theme` | `@inneranimalmedia/agentsam-docs-theme` | needs-review | Violet docs skin tokens for AgentSam public guides (Systematic Autonomous Machinery). |
|
|
@@ -271,13 +280,13 @@ An APP definition is not a user-scoped installation. `agentsam app install <id>`
|
|
|
271
280
|
| `copro-templates` | `@inneranimalmedia/copro-templates` | needs-review | Structured CoPro creative template contracts for canvas, slots, track skeletons, captions, transitions, audio cues… |
|
|
272
281
|
| `copro-timeline` | `@inneranimalmedia/copro-timeline` | needs-review | Headless CoPro timeline projection, ordering, duration, and viewport math. |
|
|
273
282
|
| `copro-ui` | `@inneranimalmedia/copro-ui` | needs-review | Mobile-first creator UI for CoPro with preview, timeline, direct manipulation, edit tools, media tray, transport, … |
|
|
274
|
-
| `iamscene` | `@inneranimalmedia/iamscene` | needs-review | Portable
|
|
283
|
+
| `iamscene` | `@inneranimalmedia/iamscene` | needs-review | Portable scene v1 runtime and verified file interchange; experimental IAMScene v2 multi-scene authoring model, ind… |
|
|
275
284
|
| `primetech-procedures` | `@inneranimalmedia/primetech-procedures` | classified | Versioned PrimeTech workflow manifests, schema validation, authorized SAM operation orchestration, native asset in… |
|
|
276
285
|
| `theme-contract` | `@inneranimalmedia/theme-contract` | needs-review | Portable provider-neutral theme preview registry and composition contracts |
|
|
277
|
-
| `theme-plain-jane` | `@inneranimalmedia/theme-plain-jane` | needs-review |
|
|
286
|
+
| `theme-plain-jane` | `@inneranimalmedia/theme-plain-jane` | needs-review | Legacy editorial journal and photography reference; not the canonical CMS starter or default theme. |
|
|
278
287
|
| `theme-scenes` | `@inneranimalmedia/theme-scenes` | classified | Cross-product creative scene composition contracts, reusable scene templates and a CMS-compatible portable rendere… |
|
|
279
288
|
|
|
280
|
-
Packages may be public distributions, shared implementation, local application dependencies, or infrastructure. Directory placement alone does not define the intent or distribution status. The package catalog is a projection, not platform
|
|
289
|
+
Packages may be public distributions, shared implementation, local application dependencies, or infrastructure. Directory placement alone does not define the intent or distribution status. The package catalog is a projection, not the platform products catalog or install-state authority.
|
|
281
290
|
|
|
282
291
|
## Ownership and verification
|
|
283
292
|
|