@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
|
@@ -552,16 +552,36 @@
|
|
|
552
552
|
"version": "2.6.12"
|
|
553
553
|
},
|
|
554
554
|
{
|
|
555
|
-
"avoid_when": [
|
|
555
|
+
"avoid_when": [
|
|
556
|
+
"Using contracts declarations as evidence that a codec, importer, native runtime or hosted agent dispatcher exists.",
|
|
557
|
+
"Duplicating IAMScene file-format registration, actual geometry operations, or tenant/project persistence in the contracts package."
|
|
558
|
+
],
|
|
556
559
|
"catalog_status": "needs-review",
|
|
557
560
|
"class": "package",
|
|
558
561
|
"commands": [],
|
|
559
562
|
"evidence": {
|
|
560
563
|
"directory": "packages/agentsam-contracts",
|
|
561
564
|
"purpose_source": "package-manifest-description",
|
|
562
|
-
"readme": "packages/agentsam-contracts/README.md"
|
|
565
|
+
"readme": "packages/agentsam-contracts/README.md",
|
|
566
|
+
"resource_ref_contract": "packages/agentsam-contracts/src/resource-ref.ts",
|
|
567
|
+
"resource_ref_schema": "packages/agentsam-contracts/schemas/resource-ref.v1.schema.json",
|
|
568
|
+
"scene_document_contract": "packages/agentsam-contracts/src/scene-document.ts",
|
|
569
|
+
"scene_document_schema": "packages/agentsam-contracts/schemas/scene-document.v2.schema.json",
|
|
570
|
+
"scene_format_contract": "packages/agentsam-contracts/src/scene-format.ts",
|
|
571
|
+
"scene_format_schema": "packages/agentsam-contracts/schemas/scene-format.v1.schema.json",
|
|
572
|
+
"tests": [
|
|
573
|
+
"packages/agentsam-contracts/test/scene-format.test.mjs",
|
|
574
|
+
"packages/agentsam-contracts/test/design-workspace.test.mjs",
|
|
575
|
+
"packages/agentsam-contracts/test/resource-ref.test.mjs",
|
|
576
|
+
"packages/agentsam-contracts/test/scene-document.test.mjs"
|
|
577
|
+
]
|
|
563
578
|
},
|
|
564
|
-
"execution_domains": [
|
|
579
|
+
"execution_domains": [
|
|
580
|
+
"browser",
|
|
581
|
+
"node",
|
|
582
|
+
"desktop",
|
|
583
|
+
"headless"
|
|
584
|
+
],
|
|
565
585
|
"id": "agentsam-contracts",
|
|
566
586
|
"install": [
|
|
567
587
|
{
|
|
@@ -575,24 +595,38 @@
|
|
|
575
595
|
"typescript"
|
|
576
596
|
],
|
|
577
597
|
"name": "@inneranimalmedia/agentsam-contracts",
|
|
578
|
-
"purpose": "
|
|
598
|
+
"purpose": "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.",
|
|
579
599
|
"registry": {
|
|
580
600
|
"kind": "npm",
|
|
581
601
|
"name": "@inneranimalmedia/agentsam-contracts",
|
|
582
602
|
"public_claim": true
|
|
583
603
|
},
|
|
584
604
|
"review_required": [
|
|
585
|
-
"
|
|
586
|
-
"execution_domains",
|
|
587
|
-
"status",
|
|
588
|
-
"topics",
|
|
589
|
-
"use_when"
|
|
605
|
+
"status"
|
|
590
606
|
],
|
|
591
607
|
"schema": "agentsam.package.v1",
|
|
592
608
|
"status": "unknown",
|
|
593
|
-
"topics": [
|
|
594
|
-
|
|
595
|
-
|
|
609
|
+
"topics": [
|
|
610
|
+
"authority",
|
|
611
|
+
"contracts",
|
|
612
|
+
"design-workspace",
|
|
613
|
+
"events",
|
|
614
|
+
"interchange",
|
|
615
|
+
"providers",
|
|
616
|
+
"resource-ref",
|
|
617
|
+
"resource-scope",
|
|
618
|
+
"scene-format",
|
|
619
|
+
"tools",
|
|
620
|
+
"runtime-capability",
|
|
621
|
+
"scene-document",
|
|
622
|
+
"scene-v2"
|
|
623
|
+
],
|
|
624
|
+
"use_when": [
|
|
625
|
+
"Type-checking cross-application scene-format operation availability and loss-aware round-trip receipts without importing a scene engine.",
|
|
626
|
+
"Sharing AgentSam tool, agent, event, workspace, context and resource-scope contracts across independently packaged products.",
|
|
627
|
+
"Representing loose file, asset, scene and optional project references without treating project membership as an authorization grant."
|
|
628
|
+
],
|
|
629
|
+
"version": "2.6.18"
|
|
596
630
|
},
|
|
597
631
|
{
|
|
598
632
|
"avoid_when": [],
|
|
@@ -645,7 +679,7 @@
|
|
|
645
679
|
"multi-provider SQL adapters",
|
|
646
680
|
"reusable database request handler"
|
|
647
681
|
],
|
|
648
|
-
"version": "2.6.
|
|
682
|
+
"version": "2.6.18"
|
|
649
683
|
},
|
|
650
684
|
{
|
|
651
685
|
"avoid_when": [
|
|
@@ -924,8 +958,8 @@
|
|
|
924
958
|
"id": "agentsam-identity",
|
|
925
959
|
"install": [
|
|
926
960
|
{
|
|
927
|
-
"command": "npm install @inneranimalmedia/agentsam-
|
|
928
|
-
"package": "@inneranimalmedia/agentsam-
|
|
961
|
+
"command": "npm install @inneranimalmedia/agentsam-sdk",
|
|
962
|
+
"package": "@inneranimalmedia/agentsam-sdk",
|
|
929
963
|
"type": "npm"
|
|
930
964
|
}
|
|
931
965
|
],
|
|
@@ -936,7 +970,7 @@
|
|
|
936
970
|
"purpose": "Identity module for @inneranimalmedia/agentsam-sdk (workspace — publish via root SDK)",
|
|
937
971
|
"registry": {
|
|
938
972
|
"kind": "npm",
|
|
939
|
-
"name": "@inneranimalmedia/agentsam-
|
|
973
|
+
"name": "@inneranimalmedia/agentsam-sdk",
|
|
940
974
|
"public_claim": true
|
|
941
975
|
},
|
|
942
976
|
"review_required": [
|
|
@@ -950,7 +984,7 @@
|
|
|
950
984
|
"status": "unknown",
|
|
951
985
|
"topics": [],
|
|
952
986
|
"use_when": [],
|
|
953
|
-
"version": "2.6.
|
|
987
|
+
"version": "2.6.18"
|
|
954
988
|
},
|
|
955
989
|
{
|
|
956
990
|
"avoid_when": [],
|
|
@@ -993,7 +1027,7 @@
|
|
|
993
1027
|
"status": "unknown",
|
|
994
1028
|
"topics": [],
|
|
995
1029
|
"use_when": [],
|
|
996
|
-
"version": "2.6.
|
|
1030
|
+
"version": "2.6.18"
|
|
997
1031
|
},
|
|
998
1032
|
{
|
|
999
1033
|
"avoid_when": [],
|
|
@@ -1619,7 +1653,7 @@
|
|
|
1619
1653
|
"status": "unknown",
|
|
1620
1654
|
"topics": [],
|
|
1621
1655
|
"use_when": [],
|
|
1622
|
-
"version": "2.6.
|
|
1656
|
+
"version": "2.6.18"
|
|
1623
1657
|
},
|
|
1624
1658
|
{
|
|
1625
1659
|
"avoid_when": [],
|
|
@@ -1747,7 +1781,7 @@
|
|
|
1747
1781
|
"status": "unknown",
|
|
1748
1782
|
"topics": [],
|
|
1749
1783
|
"use_when": [],
|
|
1750
|
-
"version": "2.6.
|
|
1784
|
+
"version": "2.6.18"
|
|
1751
1785
|
},
|
|
1752
1786
|
{
|
|
1753
1787
|
"avoid_when": [],
|
|
@@ -2218,22 +2252,46 @@
|
|
|
2218
2252
|
},
|
|
2219
2253
|
{
|
|
2220
2254
|
"avoid_when": [
|
|
2221
|
-
"
|
|
2222
|
-
"
|
|
2255
|
+
"Claiming .blend/.dwg/.usd/.ifc import or other reference-only extensions are semantically editable or exportable without registered and tested adapters.",
|
|
2256
|
+
"Treating an integrity-checked live reference as proof of parse, render, edit or semantic round-trip support.",
|
|
2257
|
+
"Replacing CAD Creator project authority, OCCT parametric modeling source or CoPro media timeline authority.",
|
|
2258
|
+
"Assuming a host has a native OCCT binary, Node.js, Blender or FreeCAD installed without an explicit runtime probe.",
|
|
2259
|
+
"Using a flattened GLB as the sole authoritative editable source for a scene or BIM project.",
|
|
2260
|
+
"Treating the bounded CAD shell export as complete BIM/IFC import, full DreamHouse coverage or a generally available Cloudflare production worker."
|
|
2223
2261
|
],
|
|
2224
2262
|
"catalog_status": "needs-review",
|
|
2225
2263
|
"class": "package",
|
|
2226
|
-
"commands": [
|
|
2264
|
+
"commands": [
|
|
2265
|
+
"iamscene formats",
|
|
2266
|
+
"iamscene verify <file>",
|
|
2267
|
+
"iamscene convert <file> --out <scene.iamscene.json>",
|
|
2268
|
+
"iamscene export <scene.iamscene.json> --out <file.step|file.brep|file.ifc> --binary <occt-path>",
|
|
2269
|
+
"iamscene init <file> --format-version 2",
|
|
2270
|
+
"iamscene migrate-v2 <old.iamscene.json> --out <new.iamscene.json>"
|
|
2271
|
+
],
|
|
2227
2272
|
"evidence": {
|
|
2273
|
+
"cad_building_proof": "services/cad/proof/building_proof.py",
|
|
2274
|
+
"cad_building_source": "services/cad/proof/building_source.py",
|
|
2228
2275
|
"directory": "packages/iamscene",
|
|
2276
|
+
"format_registry": "packages/iamscene/src/format-registry.ts",
|
|
2277
|
+
"geometry_schema": "packages/iamscene/schema/iamgeometry.v1.schema.json",
|
|
2278
|
+
"host_adapter": "packages/iamscene/src/cad-host.ts",
|
|
2229
2279
|
"reference_scene": "packages/iamscene/examples/retrofuturistic-circuit-loop/retrofuturistic-circuit-loop.iamscene.json",
|
|
2230
2280
|
"schema": "packages/iamscene/schema/iamscene.v1.schema.json",
|
|
2231
2281
|
"tests": [
|
|
2282
|
+
"packages/iamscene/test/animation.test.mjs",
|
|
2232
2283
|
"packages/iamscene/test/document.test.mjs",
|
|
2233
2284
|
"packages/iamscene/test/editor.test.mjs",
|
|
2234
|
-
"packages/iamscene/test/
|
|
2235
|
-
"packages/iamscene/test/
|
|
2236
|
-
|
|
2285
|
+
"packages/iamscene/test/format-cli.test.mjs",
|
|
2286
|
+
"packages/iamscene/test/format-registry.test.mjs",
|
|
2287
|
+
"packages/iamscene/test/geometry.test.mjs",
|
|
2288
|
+
"packages/iamscene/test/native-format-adapters.test.mjs",
|
|
2289
|
+
"packages/iamscene/test/occt.test.mjs",
|
|
2290
|
+
"packages/iamscene/test/cad-host.test.mjs",
|
|
2291
|
+
"packages/iamscene/test/v2-authoring.test.mjs"
|
|
2292
|
+
],
|
|
2293
|
+
"v2_schema": "packages/iamscene/schema/iamscene.v2.schema.json",
|
|
2294
|
+
"v2_source": "packages/iamscene/src/v2.ts"
|
|
2237
2295
|
},
|
|
2238
2296
|
"execution_domains": [
|
|
2239
2297
|
"browser",
|
|
@@ -2242,6 +2300,21 @@
|
|
|
2242
2300
|
"web",
|
|
2243
2301
|
"headless"
|
|
2244
2302
|
],
|
|
2303
|
+
"format_registry": {
|
|
2304
|
+
"authority": "packages/iamscene/src/format-registry.ts",
|
|
2305
|
+
"contract": "agentsam.scene-format.v1",
|
|
2306
|
+
"identity_authority": "contracts/source-types.v2.json",
|
|
2307
|
+
"native_package_export": "createIAMSceneNativeFormatRegistry",
|
|
2308
|
+
"operations": [
|
|
2309
|
+
"import",
|
|
2310
|
+
"export",
|
|
2311
|
+
"live-reference",
|
|
2312
|
+
"round-trip"
|
|
2313
|
+
],
|
|
2314
|
+
"optional_service_export": "createIAMSceneCadBuildingHost",
|
|
2315
|
+
"package_export": "createIAMSceneFormatRegistry",
|
|
2316
|
+
"support": "runtime-adapter-detection-not-file-extension"
|
|
2317
|
+
},
|
|
2245
2318
|
"id": "iamscene",
|
|
2246
2319
|
"install": [
|
|
2247
2320
|
{
|
|
@@ -2256,30 +2329,68 @@
|
|
|
2256
2329
|
"json"
|
|
2257
2330
|
],
|
|
2258
2331
|
"name": "@inneranimalmedia/iamscene",
|
|
2259
|
-
"purpose": "Portable
|
|
2332
|
+
"purpose": "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.",
|
|
2260
2333
|
"registry": {
|
|
2261
2334
|
"kind": "npm",
|
|
2262
2335
|
"name": "@inneranimalmedia/iamscene",
|
|
2263
2336
|
"public_claim": true
|
|
2264
2337
|
},
|
|
2338
|
+
"scene_document_versions": [
|
|
2339
|
+
{
|
|
2340
|
+
"authoring": "implemented",
|
|
2341
|
+
"formatVersion": "1.0.0",
|
|
2342
|
+
"renderer": "implemented-for-supported-v1-features",
|
|
2343
|
+
"schema": "packages/iamscene/schema/iamscene.v1.schema.json",
|
|
2344
|
+
"status": "stable"
|
|
2345
|
+
},
|
|
2346
|
+
{
|
|
2347
|
+
"authoring": "experimental",
|
|
2348
|
+
"formatVersion": "2.0.0",
|
|
2349
|
+
"renderer": "unavailable",
|
|
2350
|
+
"schema": "packages/iamscene/schema/iamscene.v2.schema.json",
|
|
2351
|
+
"status": "experimental"
|
|
2352
|
+
}
|
|
2353
|
+
],
|
|
2265
2354
|
"schema": "agentsam.package.v1",
|
|
2266
2355
|
"status": "in-development",
|
|
2267
2356
|
"topics": [
|
|
2268
2357
|
"3d",
|
|
2269
|
-
"scene-graph",
|
|
2270
2358
|
"animation",
|
|
2359
|
+
"authoring",
|
|
2360
|
+
"cad-building-service",
|
|
2361
|
+
"dxf",
|
|
2362
|
+
"format-registry",
|
|
2271
2363
|
"gltf",
|
|
2364
|
+
"iamgeometry",
|
|
2365
|
+
"ifc4",
|
|
2366
|
+
"interchange",
|
|
2367
|
+
"mesh-import",
|
|
2368
|
+
"native-export",
|
|
2272
2369
|
"occt",
|
|
2370
|
+
"png",
|
|
2371
|
+
"python-provider",
|
|
2372
|
+
"resource-ref",
|
|
2373
|
+
"round-trip",
|
|
2374
|
+
"scene-graph",
|
|
2375
|
+
"source-integrity",
|
|
2376
|
+
"svg",
|
|
2273
2377
|
"threejs",
|
|
2274
|
-
"
|
|
2275
|
-
"
|
|
2378
|
+
"visualization",
|
|
2379
|
+
"migration",
|
|
2380
|
+
"multi-scene",
|
|
2381
|
+
"object-catalog",
|
|
2382
|
+
"scene-systems",
|
|
2383
|
+
"scene-v2"
|
|
2276
2384
|
],
|
|
2277
2385
|
"use_when": [
|
|
2278
|
-
"
|
|
2279
|
-
"
|
|
2280
|
-
"
|
|
2281
|
-
|
|
2282
|
-
|
|
2386
|
+
"Authoring and versioning editable scenes and individually addressable geometry assets without losing native source references.",
|
|
2387
|
+
"Discovering true per-format import, export, live-reference and round-trip capabilities through createIAMSceneFormatRegistry().",
|
|
2388
|
+
"Importing glTF/GLB with source-backed node hierarchy and limited editable material properties, or importing STL/OBJ/PLY triangles into linked .iamgeometry plus GLB representations.",
|
|
2389
|
+
"Exporting exact geometry as STEP/BREP and geometric IFC4 through a verified optional OCCT native executable on an authorized host.",
|
|
2390
|
+
"Integrating IAMScene scenes into browser/Node editors while preserving imported source files and reporting conversion losses.",
|
|
2391
|
+
"Calling the optional hosted CAD building-service adapter to export a bounded cad.project.v2 rectangular shell into verified IFC4/STEP/DXF/SVG/PNG/GLB/PDF/MP4 artifacts, subject to host authorization."
|
|
2392
|
+
],
|
|
2393
|
+
"version": "0.1.4"
|
|
2283
2394
|
},
|
|
2284
2395
|
{
|
|
2285
2396
|
"avoid_when": [
|
|
@@ -2308,9 +2419,9 @@
|
|
|
2308
2419
|
"id": "primetech-procedures",
|
|
2309
2420
|
"install": [
|
|
2310
2421
|
{
|
|
2311
|
-
"command": "npm install
|
|
2422
|
+
"command": "npm install @inneranimalmedia/primetech-procedures",
|
|
2312
2423
|
"package": "@inneranimalmedia/primetech-procedures",
|
|
2313
|
-
"type": "
|
|
2424
|
+
"type": "npm"
|
|
2314
2425
|
}
|
|
2315
2426
|
],
|
|
2316
2427
|
"languages": [
|
|
@@ -2321,12 +2432,12 @@
|
|
|
2321
2432
|
"name": "@inneranimalmedia/primetech-procedures",
|
|
2322
2433
|
"purpose": "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.",
|
|
2323
2434
|
"registry": {
|
|
2324
|
-
"kind": "npm
|
|
2435
|
+
"kind": "npm",
|
|
2325
2436
|
"name": "@inneranimalmedia/primetech-procedures",
|
|
2326
|
-
"public_claim":
|
|
2437
|
+
"public_claim": true
|
|
2327
2438
|
},
|
|
2328
2439
|
"schema": "agentsam.package.v1",
|
|
2329
|
-
"status": "
|
|
2440
|
+
"status": "public-package",
|
|
2330
2441
|
"topics": [
|
|
2331
2442
|
"primetech",
|
|
2332
2443
|
"procedures",
|
|
@@ -2342,7 +2453,7 @@
|
|
|
2342
2453
|
"Composing existing SAM operations with pinned Bash, Python, and native-tool steps",
|
|
2343
2454
|
"Capturing procedure, entrypoint, input, output and artifact hashes with verification receipts"
|
|
2344
2455
|
],
|
|
2345
|
-
"version": "
|
|
2456
|
+
"version": "2.6.17"
|
|
2346
2457
|
},
|
|
2347
2458
|
{
|
|
2348
2459
|
"avoid_when": [],
|
|
@@ -2378,11 +2489,12 @@
|
|
|
2378
2489
|
"status": "unknown",
|
|
2379
2490
|
"topics": [],
|
|
2380
2491
|
"use_when": [],
|
|
2381
|
-
"version": "2.6.
|
|
2492
|
+
"version": "2.6.17"
|
|
2382
2493
|
},
|
|
2383
2494
|
{
|
|
2384
2495
|
"avoid_when": [
|
|
2385
|
-
"A licensed production storefront or a verified CMS installation is required."
|
|
2496
|
+
"A licensed production storefront or a verified CMS installation is required.",
|
|
2497
|
+
"Selecting the default starter for a new CMS site."
|
|
2386
2498
|
],
|
|
2387
2499
|
"catalog_status": "needs-review",
|
|
2388
2500
|
"class": "theme",
|
|
@@ -2401,7 +2513,7 @@
|
|
|
2401
2513
|
"javascript"
|
|
2402
2514
|
],
|
|
2403
2515
|
"name": "@inneranimalmedia/theme-plain-jane",
|
|
2404
|
-
"purpose": "
|
|
2516
|
+
"purpose": "Legacy editorial journal and photography reference; not the canonical CMS starter or default theme.",
|
|
2405
2517
|
"registry": {
|
|
2406
2518
|
"kind": "local-package",
|
|
2407
2519
|
"name": "@inneranimalmedia/theme-plain-jane",
|
|
@@ -2422,7 +2534,7 @@
|
|
|
2422
2534
|
"theme"
|
|
2423
2535
|
],
|
|
2424
2536
|
"use_when": [
|
|
2425
|
-
"Review
|
|
2537
|
+
"Review or maintain existing Plain Jane editorial projects and source provenance."
|
|
2426
2538
|
],
|
|
2427
2539
|
"version": "0.1.0"
|
|
2428
2540
|
},
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inneranimalmedia/agentsam-connector-cloudflare",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.18",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": "./src/index.js",
|
|
8
8
|
"./capabilities": "./src/capabilities.js",
|
|
9
|
-
"./api-client": "./src/api-client.js"
|
|
9
|
+
"./api-client": "./src/api-client.js",
|
|
10
|
+
"./credential": "./src/credential.js",
|
|
11
|
+
"./routes": "./src/routes.js",
|
|
12
|
+
"./vault": "./src/vault.js",
|
|
13
|
+
"./families/basin": "./src/families/basin.js",
|
|
14
|
+
"./families/media": "./src/families/media.js"
|
|
10
15
|
},
|
|
11
16
|
"publishConfig": {
|
|
12
17
|
"access": "public"
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Host permission registry contract
|
|
2
|
+
|
|
3
|
+
The Cloudflare connector does not own provider permission-pack configuration and does not read host database tables.
|
|
4
|
+
|
|
5
|
+
When mounting handleCloudflareConnectionRequest, the host supplies an options object with a `permissionRegistry` adapter. The adapter exposes two methods:
|
|
6
|
+
|
|
7
|
+
{
|
|
8
|
+
async getOAuthPermissionCatalog(providerKey) {
|
|
9
|
+
return {
|
|
10
|
+
providerKey,
|
|
11
|
+
baselineScopes: [],
|
|
12
|
+
defaultPacks: [],
|
|
13
|
+
aliases: {},
|
|
14
|
+
packs: [
|
|
15
|
+
{ id: "read", label: "Read", description: "Read provider resources", scopes: ["resource.read"] }
|
|
16
|
+
],
|
|
17
|
+
capabilities: [
|
|
18
|
+
{ id: "provider.resource", label: "Resource", scopes: ["resource.read"] }
|
|
19
|
+
],
|
|
20
|
+
availablePermissions: [
|
|
21
|
+
{ scope: "resource.read", label: "Read resource", category: "resources" }
|
|
22
|
+
]
|
|
23
|
+
};
|
|
24
|
+
},
|
|
25
|
+
async getActiveGrantedScopes({ ownerId, providerKey, accountIdentifier }) {
|
|
26
|
+
// Read only the active grant for this exact account connection.
|
|
27
|
+
return ["resource.read"];
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
The normalized catalog fields are:
|
|
32
|
+
|
|
33
|
+
- baselineScopes: identity and refresh scopes required for this provider connection.
|
|
34
|
+
- defaultPacks: packs requested when the user starts a connection without explicit pack or capability IDs.
|
|
35
|
+
- defaultCapabilities: capability IDs requested by default when no explicit pack or capability selection is supplied.
|
|
36
|
+
- allowFullCatalogOptIn: an explicit opt-in switch for the special all pack; disabled unless the host enables it.
|
|
37
|
+
- aliases: optional compatibility aliases, each expanding to one or more canonical pack IDs.
|
|
38
|
+
- packs: provider-specific permission profiles; each profile owns its scopes and associated capability IDs.
|
|
39
|
+
- capabilities: optional fine-grained capability-to-scope mappings.
|
|
40
|
+
- availablePermissions: optional picker metadata. If omitted, the connector derives the inventory from baseline, pack and capability scopes.
|
|
41
|
+
|
|
42
|
+
The connector validates every requested pack and capability against the injected catalog and fails closed when the adapter is absent or the selection is unknown. For an existing connection, `getActiveGrantedScopes` must return the scopes granted to the exact owner/provider/account tuple; return `[]` when no active token exists and `null` when grants cannot be verified. The connector fails closed on `null` so an upgrade cannot silently discard prior grants. Offerable permissions are never represented as granted permissions; actual grants come from the selected account token.
|
|
43
|
+
|
|
44
|
+
The host adapter may use D1, Postgres, a remote registry, a static config file, or another source. That storage choice is intentionally outside this package.
|
|
45
|
+
|
|
@@ -75,6 +75,7 @@ export class CloudflareApiClient {
|
|
|
75
75
|
connectionId = null,
|
|
76
76
|
grantedScopes = [],
|
|
77
77
|
capabilityId = null,
|
|
78
|
+
permissionCatalog = null,
|
|
78
79
|
fetchImpl = globalThis.fetch,
|
|
79
80
|
env = process.env,
|
|
80
81
|
} = {}) {
|
|
@@ -85,6 +86,7 @@ export class CloudflareApiClient {
|
|
|
85
86
|
this.connectionId = connectionId;
|
|
86
87
|
this.grantedScopes = Array.isArray(grantedScopes) ? grantedScopes : [];
|
|
87
88
|
this.capabilityId = capabilityId;
|
|
89
|
+
this.permissionCatalog = permissionCatalog;
|
|
88
90
|
this.fetchImpl = bindFetchImpl(fetchImpl);
|
|
89
91
|
}
|
|
90
92
|
|
|
@@ -224,6 +226,7 @@ export class CloudflareApiClient {
|
|
|
224
226
|
operation,
|
|
225
227
|
httpStatus: res.status,
|
|
226
228
|
providerMessage: message,
|
|
229
|
+
permissionCatalog: this.permissionCatalog,
|
|
227
230
|
})
|
|
228
231
|
: null;
|
|
229
232
|
return new CloudflareApiError(message, {
|
|
@@ -302,6 +305,7 @@ export async function createCloudflareApiClient(opts = {}) {
|
|
|
302
305
|
connectionId: cred.connectionId,
|
|
303
306
|
grantedScopes: cred.grantedScopes,
|
|
304
307
|
capabilityId: opts.capabilityId || null,
|
|
308
|
+
permissionCatalog: opts.permissionCatalog || null,
|
|
305
309
|
fetchImpl: opts.fetchImpl,
|
|
306
310
|
env: {},
|
|
307
311
|
});
|