@inneranimalmedia/agentsam-sdk 2.6.12 → 2.6.17
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 +32 -0
- package/DEVELOPMENT.md +69 -74
- package/LICENSE +97 -8
- package/LICENSING.md +30 -0
- package/README.md +44 -7
- package/apps/README.md +1 -1
- package/apps/cad-creator/LICENSE +97 -8
- package/apps/cad-creator/README.md +12 -0
- package/apps/cad-creator/shared/cad/package.json +1 -1
- package/apps/cad-creator/shared/cad/src/domain/project-contract.js +2 -75
- package/apps/cad-creator/shared/cad/src/domain/project-tools.js +2 -24
- package/apps/cad-creator/shared/cad/src/index.ts +2 -0
- package/apps/cad-creator/shared/cad/src/native-plan.ts +16 -0
- package/apps/cad-creator/shared/cad/src/types.ts +52 -3
- package/contracts/source-types.v2.json +9381 -0
- package/contracts/source-types.v2.schema.json +571 -0
- package/docs/2026-11-12-chat-work-whitelabel-scaffold.md +42 -0
- package/docs/AUTORAG.md +2 -0
- package/docs/CAPABILITIES.md +28 -0
- package/docs/DATABASE_EDITOR_REMASTER_ACCEPTANCE_20261103.md +41 -0
- package/docs/DOCKERIZE.md +2 -2
- package/docs/PRODUCT_LIFECYCLE.md +2 -2
- package/docs/REPO_FILE_MAP.txt +1 -1
- package/docs/THEME_REFINERY.md +4 -117
- package/docs/acceptance/AGENTSAM_DOCS_CMS_2026-11-10.md +62 -0
- package/docs/acceptance/AGENTSAM_SDK_LOCAL_LAUNCH_2026-11-06.md +42 -0
- package/docs/acceptance/AGENTSAM_SDK_PUBLIC_CMS_2026-11-10.md +35 -0
- package/docs/acceptance/AGENTSAM_WIDGET_UTILITIES_2026-11-06.md +34 -0
- package/docs/acceptance/CREATIVE_DEPARTMENT_BATCH1_2026-11-01.md +47 -0
- package/docs/acceptance/FINANCE_SETTINGS_CMS_WIP_2026-11-07.md +42 -0
- package/docs/adr/ADR-0003-copro-clean-room-product-architecture.md +6 -0
- package/docs/adr/ADR-0009-widget-platform-authority.md +130 -0
- package/docs/adr/ADR-0010-widget-contributions-registry-persistence.md +265 -0
- package/docs/adr/README.md +5 -0
- package/docs/agent-briefs/2026-10-28-agent1-ui-product-foundation.md +132 -0
- package/docs/agent-briefs/2026-10-28-agent2-cms-audit.md +144 -0
- package/docs/agent-briefs/2026-10-28-sites-next-wave-acceptance.md +67 -0
- package/docs/architecture/AGENTSAM-CANONICAL-DISCOVERY-FIRST-SLICE.md +70 -0
- package/docs/architecture/AGENTSAM-PRODUCT-CATALOG-RELEASES-20261028.md +80 -0
- package/docs/architecture/AGENTSAM-REGISTRY-CLI-AGENT-PARITY.md +133 -0
- package/docs/architecture/AGENTSAM_ACCOUNT_FIRST_METRICS_V2_2026-10-28.md +38 -0
- package/docs/architecture/AGENTSAM_APPLICATION_CONTRACT.md +43 -0
- package/docs/architecture/AGENTSAM_WORK_IDE_LANES_2026-10-28.md +51 -0
- package/docs/architecture/CAD_OPERATOR_CAPABILITIES.md +64 -0
- package/docs/architecture/CAD_ROBOTICS_RELEASE_LEDGER_20261016.md +43 -0
- package/docs/architecture/CAD_RUN_MODES.md +34 -0
- package/docs/architecture/CLI-BOOT-REMOTE-DB-READINESS-20261015.md +65 -0
- package/docs/architecture/DESIGN_WORKSPACE_BOUNDARY.md +69 -0
- package/docs/architecture/EXISTING-MCP-D1-AGENT-BRIDGE.md +47 -0
- package/docs/architecture/PLAN-PORTABILITY-SAM-FIRST-SPRINT-20261015.md +36 -0
- package/docs/architecture/PLATFORM_R2_SOURCE_OF_TRUTH.md +134 -0
- package/docs/architecture/PLUGIN-PRODUCTIZATION-SPINE.md +101 -0
- package/docs/architecture/PROJECTS_DREAMHOUSE_METRICS_SPRINT_2026-10-28.md +34 -0
- package/docs/architecture/SAMOS_PRODUCT_MODEL.md +49 -0
- package/docs/architecture/SAM_KERNEL.md +48 -2
- package/docs/architecture/SAM_RESOURCE_CRUD_STANDARD.md +96 -0
- package/docs/architecture/SAM_SYSTEMATIC_AUTONOMOUS_MACHINERY.md +79 -0
- package/docs/architecture/SCHEMA_AUTHORITIES.md +87 -0
- package/docs/architecture/USER_GLOBAL_AGENT_INSTRUCTIONS.md +55 -0
- package/docs/architecture/brand-presentation-context-discovery-2026-11-01.md +41 -0
- package/docs/architecture/studio-templates-audit-2026-11-01.md +59 -0
- package/docs/audits/2026-10-28-cms-platform-seam-baseline.md +86 -0
- package/docs/audits/2026-10-28-cms-v1-v2-side-by-side.md +53 -0
- package/docs/authoring/agentsam-sdk-docs-portal.json +175 -0
- package/docs/autorag-workflow.md +13 -0
- package/docs/brand/AGENT_SAM_ICON_GRAMMAR.md +4 -0
- package/docs/brand/ICONOGRAPHY-WIP-HANDOFF-20261022.md +36 -0
- package/docs/brand/ICONOGRAPHY_INTEGRATION_AUDIT_2026-10-28.md +39 -0
- package/docs/contracts/capability-install-planner.md +66 -38
- package/docs/contracts/environment-vocabulary.md +5 -5
- package/docs/engineering/CMS_DATA_AUTHORITY_2026-11-03.md +45 -0
- package/docs/engineering/LOCAL_STUDIO_CMS_INSTALL_2026-11-02.md +23 -0
- package/docs/engineering/SUPERBASH_LOCAL_RUNTIME.md +100 -0
- package/docs/evidence/COPRO_CREATIVE_V1_20261030.md +22 -0
- package/docs/evidence/media-library-20261031/README.md +39 -0
- package/docs/generated/SDK_CAPABILITY_INVENTORY.md +312 -0
- package/docs/handoffs/AGENT_HANDOFF_SUPERBASH_AND_MODEL_PERFORMANCE_2026-10-14.md +134 -0
- package/docs/handoffs/COPRO_CREATIVE_V1_AGENT2.md +69 -0
- package/docs/intake/product-capabilities.proposed.ts +232 -0
- package/docs/knowledge-supabase-node-api.md +51 -0
- package/docs/media/local-intake-r2-backup.md +47 -0
- package/docs/operations/CLOUDFLARE-QUEUE-OBSERVABILITY.md +64 -0
- package/docs/operations/WIP_RECONCILIATION_2026-11-02.md +89 -0
- package/docs/plans/AGENTSAM_MEDIA_LIBRARY_AGENT1_MAP_20261031.md +62 -0
- package/docs/plans/AGENTSAM_SDK_RELEASE_PROGRAM.md +145 -0
- package/docs/plans/LOCAL_STUDIO_DESKTOP_RELEASE_2026-09-29.md +5 -3
- package/docs/plans/MEDIA_TRUTH_SOURCE_RECOVERY_20261008.md +31 -0
- package/docs/plans/OFFLINE_CLI_KNOWLEDGE_AGENT_HANDOFF.md +104 -0
- package/docs/plans/OFFLINE_CLI_KNOWLEDGE_RUNBOOK.md +81 -0
- package/docs/plans/SAM_EXPERIENCE_AGENT_DISPATCH_2026-10-15.md +107 -0
- package/docs/plans/SAM_MACHINERY_TO_EXPERIENCE_2026-10-15.md +172 -0
- package/docs/plans/TOMORROW-EXTENSIVE-TODO-2026-09-26.md +1 -1
- package/docs/plans/UI_POLISH_DESKTOP_2026-10-16.md +102 -0
- package/docs/plans/WORK-UX-REMASTER-2026-10-15.md +48 -0
- package/docs/plans/WORK-WORKSPACE-PLAN-2026-10-14.md +212 -0
- package/docs/plugins.md +54 -0
- package/docs/primetech/CREATIVE_ENGINEERING.md +125 -0
- package/docs/product/AGENTSAM-UI-QUALITY-GATE.md +148 -0
- package/docs/product/AGENTSAM_PRODUCT_EXPERIENCE_STANDARD.md +2 -0
- package/docs/product/MEDIA-PRODUCTION-FAMILY.md +47 -0
- package/docs/product/OFFER-PORTFOLIO.md +14 -0
- package/docs/product/PACKAGE-TAXONOMY.md +20 -12
- package/docs/product/PLUGIN-GALLERY-DISCOVERY-AND-INSTALL.md +97 -0
- package/docs/product/README.md +2 -0
- package/docs/product/WIDGET-GALLERY-PHASE-ONE.md +43 -0
- package/docs/reference/AGENTSAM-CLI-WORKFLOWS.md +73 -0
- package/docs/reference/AGENTSAM-ERROR-REASONS.md +267 -0
- package/docs/reference/AGENTSAM-REGISTRY.generated.md +289 -0
- package/docs/reference/INNERANIMALMEDIA_EXPERIENCE_ACCEPTANCE_2026-10-15.md +99 -0
- package/docs/release/NPM-TRUSTED-PUBLISHING.md +13 -0
- package/docs/releases/INDEPENDENT_PACKAGE_PUBLISHING.md +30 -0
- package/docs/releases/cad-v2-sdk-2.6.13.md +25 -0
- package/docs/roadmaps/2026-10-28-product-platform-stabilization.md +149 -0
- package/docs/roadmaps/ROAD_TO_REAL_DISTRIBUTION.md +97 -0
- package/docs/robotics-chess-handoff.md +15 -0
- package/docs/sprints/2026-11-14-companion-media-product-preview.md +42 -0
- package/docs/standards/DELIVERY_CLOSURE.md +41 -0
- package/docs/standards/SAM_MACHINE_BUILD_AND_GAPS.md +91 -0
- package/docs/studio/oauth-ddl-media-completion-2026-11-01.md +22 -0
- package/docs/studio/pwa-build-meta-agentsam-note.md +9 -0
- package/docs/workflows/ISSUE_TO_SAMOS.md +59 -0
- package/examples/widget-consumer/package.json +12 -0
- package/examples/widget-consumer/src/smoke.mjs +18 -0
- package/migrations/d1/0021_agentsam_product_releases.sql +94 -0
- package/migrations/d1/0022_agentsam_plugin_registry.sql +182 -0
- package/migrations/d1/0023_agentsam_plugin_install_health.sql +33 -0
- package/migrations/d1/0024_user_oauth_tokens_account_spine.sql +61 -0
- package/migrations/d1/0025_meta_model_api_service.sql +7 -0
- package/migrations/d1/0026_identity_github_signin_product.sql +34 -0
- package/migrations/d1/0027_unified_digital_products_collections.sql +72 -0
- package/migrations/d1/README_PORTABLE_CONTROL_PLANE.md +2 -0
- package/migrations/runtime/0010_agentsam_notifications.sql +86 -0
- package/migrations/runtime/0011_agentsam_product_releases.sql +94 -0
- package/native/agentsam-machine/cli/Cargo.toml +1 -1
- package/native/agentsam-machine/cli/LICENSE +110 -0
- package/native/agentsam-machine/core/Cargo.toml +1 -1
- package/native/agentsam-machine/core/LICENSE +110 -0
- package/native/agentsam-machine/core/src/lib.rs +3 -3
- package/package.json +123 -73
- package/packages/agentsam-3d-viewer/LICENSE +110 -0
- package/packages/agentsam-3d-viewer/README.md +58 -0
- package/packages/agentsam-3d-viewer/agentsam.package.json +63 -0
- package/packages/agentsam-3d-viewer/package.json +41 -0
- package/packages/agentsam-3d-viewer/src/format.d.ts +3 -0
- package/packages/agentsam-3d-viewer/src/format.js +24 -0
- package/packages/agentsam-3d-viewer/src/index.d.ts +104 -0
- package/packages/agentsam-3d-viewer/src/index.js +303 -0
- package/packages/agentsam-3d-viewer/src/occt.d.ts +12 -0
- package/packages/agentsam-3d-viewer/src/occt.js +54 -0
- package/packages/agentsam-3d-viewer/test/format.test.mjs +24 -0
- package/packages/agentsam-3d-viewer/test/occt.test.mjs +37 -0
- package/packages/agentsam-3d-viewer/test/viewport.test.mjs +128 -0
- package/packages/agentsam-architectural-intelligence/README.md +8 -0
- package/packages/agentsam-architectural-intelligence/data/materials.json +9 -0
- package/packages/agentsam-architectural-intelligence/data/sources.json +15 -0
- package/packages/agentsam-architectural-intelligence/mcp/server.mjs +80 -0
- package/packages/agentsam-architectural-intelligence/package.json +23 -0
- package/packages/agentsam-architectural-intelligence/test/reference.test.mjs +30 -0
- package/packages/agentsam-architectural-intelligence/test/sam-integration.test.mjs +20 -0
- package/packages/agentsam-brand/LICENSE +110 -0
- package/packages/agentsam-brand/README.md +6 -0
- package/packages/agentsam-brand/package.json +7 -4
- package/packages/agentsam-brand/src/cli/controller.js +28 -1
- package/packages/agentsam-brand/src/core/iconography/build.js +617 -0
- package/packages/agentsam-brand/src/core/iconography/render_clay.py +409 -0
- package/packages/agentsam-brand/src/core/preview.js +4 -0
- package/packages/agentsam-brand/src/core/processors/sharp.js +5 -3
- package/packages/agentsam-brand/src/index.js +2 -0
- package/packages/agentsam-cms/LICENSE +110 -0
- package/packages/agentsam-cms/README.md +71 -0
- package/packages/agentsam-cms/agentsam.package.json +61 -0
- package/packages/agentsam-cms/package.json +47 -0
- package/packages/agentsam-cms/src/account-context.js +135 -0
- package/packages/agentsam-cms/src/aliases.js +74 -0
- package/packages/agentsam-cms/src/application.js +252 -0
- package/packages/agentsam-cms/src/chat-storage.js +300 -0
- package/packages/agentsam-cms/src/contracts.js +147 -0
- package/packages/agentsam-cms/src/index.d.ts +135 -0
- package/packages/agentsam-cms/src/index.js +4 -0
- package/packages/agentsam-cms/src/machine.js +223 -0
- package/packages/agentsam-cms/src/node.d.ts +3 -0
- package/packages/agentsam-cms/src/node.js +8 -0
- package/packages/agentsam-cms/src/site-nav-defaults.js +16 -0
- package/packages/agentsam-cms/src/site-settings-contract.js +37 -0
- package/packages/agentsam-cms/test/application.test.mjs +134 -0
- package/packages/agentsam-cms/test/chat-storage.test.mjs +212 -0
- package/packages/agentsam-cms/test/standalone.test.mjs +89 -0
- package/packages/agentsam-cms/test/support/memory-repository.mjs +78 -0
- package/packages/agentsam-communications/README.md +52 -0
- package/packages/agentsam-communications/package.json +30 -0
- package/packages/agentsam-communications/src/adapters.js +78 -0
- package/packages/agentsam-communications/src/index.js +3 -0
- package/packages/agentsam-communications/src/outbox.js +56 -0
- package/packages/agentsam-communications/src/service.js +126 -0
- package/packages/agentsam-communications/test/communications.test.mjs +188 -0
- package/packages/agentsam-contracts/README.md +23 -0
- package/packages/agentsam-contracts/agentsam.package.json +43 -0
- package/packages/agentsam-contracts/dist/authority.d.ts +2 -1
- package/packages/agentsam-contracts/dist/authority.js +12 -0
- package/packages/agentsam-contracts/dist/design-workspace-bridge.d.ts +20 -0
- package/packages/agentsam-contracts/dist/design-workspace-registry.d.ts +12 -0
- package/packages/agentsam-contracts/dist/design-workspace-registry.js +133 -0
- package/packages/agentsam-contracts/dist/design-workspace.d.ts +115 -0
- package/packages/agentsam-contracts/dist/design-workspace.js +64 -0
- package/packages/agentsam-contracts/dist/errors.d.ts +1 -1
- package/packages/agentsam-contracts/dist/index.d.ts +7 -0
- package/packages/agentsam-contracts/dist/index.js +580 -0
- package/packages/agentsam-contracts/dist/operations.d.ts +138 -0
- package/packages/agentsam-contracts/dist/operations.js +117 -0
- package/packages/agentsam-contracts/dist/resource-scope.d.ts +24 -0
- package/packages/agentsam-contracts/dist/resource-scope.js +25 -0
- package/packages/agentsam-contracts/dist/source-types.d.ts +92 -0
- package/packages/agentsam-contracts/dist/source-types.js +13 -0
- package/packages/agentsam-contracts/dist/spawn-policy.d.ts +32 -0
- package/packages/agentsam-contracts/dist/spawn-policy.js +27 -0
- package/packages/agentsam-contracts/dist/tools.d.ts +12 -5
- package/packages/agentsam-contracts/dist/tools.js +164 -0
- package/packages/agentsam-contracts/dist/widgets.d.ts +7 -0
- package/packages/agentsam-contracts/package.json +34 -4
- package/packages/agentsam-contracts/schemas/agent-tool-definition.v1.schema.json +78 -0
- package/packages/agentsam-contracts/schemas/sam-operation.v1.schema.json +159 -0
- package/packages/agentsam-contracts/schemas/sam-result.v1.schema.json +76 -0
- package/packages/agentsam-contracts/schemas/source-types.v2.json +9381 -0
- package/packages/agentsam-contracts/schemas/source-types.v2.schema.json +571 -0
- package/packages/agentsam-contracts/scripts/build.mjs +21 -5
- package/packages/agentsam-contracts/src/authority.ts +9 -7
- package/packages/agentsam-contracts/src/design-workspace-bridge.ts +99 -0
- package/packages/agentsam-contracts/src/design-workspace-registry.ts +130 -0
- package/packages/agentsam-contracts/src/design-workspace.ts +256 -0
- package/packages/agentsam-contracts/src/errors.ts +1 -1
- package/packages/agentsam-contracts/src/index.ts +7 -0
- package/packages/agentsam-contracts/src/operations.ts +229 -0
- package/packages/agentsam-contracts/src/resource-scope.ts +39 -0
- package/packages/agentsam-contracts/src/source-types.ts +92 -0
- package/packages/agentsam-contracts/src/spawn-policy.ts +43 -0
- package/packages/agentsam-contracts/src/tools.ts +145 -25
- package/packages/agentsam-contracts/src/widgets.ts +7 -0
- package/packages/agentsam-contracts/test/contracts.test.mjs +112 -2
- package/packages/agentsam-contracts/test/design-workspace.test.mjs +238 -0
- package/packages/agentsam-contracts/test/resource-scope.test.mjs +22 -0
- package/packages/agentsam-contracts/test/source-types.test.mjs +31 -0
- package/packages/agentsam-contracts/test/spawn-policy.test.mjs +20 -0
- package/packages/agentsam-desktop-shell/LICENSE +110 -0
- package/packages/agentsam-desktop-shell/README.md +73 -0
- package/packages/agentsam-desktop-shell/scripts/app-discovery.mjs +43 -0
- package/packages/agentsam-errors/README.md +14 -0
- package/packages/agentsam-errors/agentsam.package.json +43 -0
- package/packages/agentsam-errors/package.json +2 -2
- package/packages/agentsam-errors/protocol/agentsam.error.v2.schema.json +1 -1
- package/packages/agentsam-errors/protocol/error-catalog.json +12 -0
- package/packages/agentsam-errors/src/cli.js +56 -0
- package/packages/agentsam-errors/src/index.js +2 -0
- package/packages/agentsam-errors/src/vocabulary.js +2 -0
- package/packages/agentsam-errors/test/approval-contract.test.mjs +12 -0
- package/packages/agentsam-errors/types/index.d.ts +5 -1
- package/packages/agentsam-goap/LICENSE +110 -0
- package/packages/agentsam-goap/agentsam.package.json +42 -0
- package/packages/agentsam-goap/package.json +4 -4
- package/packages/agentsam-hooks/agentsam.package.json +45 -0
- package/packages/agentsam-hooks/bindings/go/errors_generated.go +1 -0
- package/packages/agentsam-hooks/bindings/rust/src/errors_generated.rs +1 -0
- package/packages/agentsam-hooks/package.json +2 -2
- package/packages/agentsam-hooks/schema/manifest.json +1 -1
- package/packages/agentsam-hooks/src/errors-generated.js +10 -0
- package/packages/agentsam-ide/LICENSE +110 -0
- package/packages/agentsam-ide/README.md +147 -0
- package/packages/agentsam-ide/src/lsp/host.d.mts +13 -0
- package/packages/agentsam-ide/src/lsp/host.mjs +133 -0
- package/packages/agentsam-knowledge/LICENSE +110 -0
- package/packages/agentsam-knowledge/agentsam.package.json +42 -0
- package/packages/agentsam-knowledge/package.json +3 -3
- package/packages/agentsam-knowledge/src/autorag/index.js +25 -4
- package/packages/agentsam-knowledge/src/backends/index.js +21 -1
- package/packages/agentsam-knowledge/src/backends/supabase-node-api.js +91 -0
- package/packages/agentsam-knowledge/test/autorag.test.mjs +13 -0
- package/packages/agentsam-knowledge/test/supabase-node-api.test.mjs +59 -0
- package/packages/agentsam-merch/LICENSE +110 -0
- package/packages/agentsam-merch/README.md +59 -39
- package/packages/agentsam-merch/agentsam.package.json +43 -0
- package/packages/agentsam-merch/package.json +18 -3
- package/packages/agentsam-merch/profiles/completeful/dtg-back-large.json +1 -1
- package/packages/agentsam-merch/profiles/completeful/laser-engraving.json +1 -1
- package/packages/agentsam-merch/profiles/generic/embroidery-digitization.json +1 -1
- package/packages/agentsam-merch/schemas/collection-candidate.schema.json +1 -1
- package/packages/agentsam-merch/schemas/manufacturing-profile.schema.json +1 -1
- package/packages/agentsam-merch/src/adapters-printify.js +66 -0
- package/packages/agentsam-merch/src/collection-planning.d.ts +46 -0
- package/packages/agentsam-merch/src/collection-planning.js +135 -0
- package/packages/agentsam-merch/src/collection-showcase.css +34 -0
- package/packages/agentsam-merch/src/collection-showcase.d.ts +2 -0
- package/packages/agentsam-merch/src/collection-showcase.js +62 -0
- package/packages/agentsam-merch/src/compatibility.js +18 -1
- package/packages/agentsam-merch/src/geometry.js +82 -0
- package/packages/agentsam-merch/src/index.d.ts +33 -0
- package/packages/agentsam-merch/src/index.js +2 -0
- package/packages/agentsam-merch/src/merch-hero.css +32 -0
- package/packages/agentsam-merch/src/merch-hero.d.ts +5 -0
- package/packages/agentsam-merch/src/merch-hero.js +123 -0
- package/packages/agentsam-merch/src/node/index.js +1 -0
- package/packages/agentsam-merch/src/node/vector.js +83 -0
- package/packages/agentsam-merch/test/collection-planning.test.mjs +17 -0
- package/packages/agentsam-merch/test/collection-showcase.test.mjs +12 -0
- package/packages/agentsam-merch/test/geometry.test.mjs +32 -0
- package/packages/agentsam-merch/test/printify-adapter.test.mjs +42 -0
- package/packages/agentsam-merch/test/svg-normalization.test.mjs +33 -0
- package/packages/agentsam-nav/LICENSE +110 -0
- package/packages/agentsam-nav/README.md +21 -1
- package/packages/agentsam-nav/dist/AdminAppsDialog.d.ts +15 -0
- package/packages/agentsam-nav/dist/Nav.d.ts +3 -1
- package/packages/agentsam-nav/dist/NavProvider.d.ts +8 -1
- package/packages/agentsam-nav/dist/NavTrigger.d.ts +1 -1
- package/packages/agentsam-nav/dist/Surfaces.d.ts +16 -1
- package/packages/agentsam-nav/dist/browser.d.ts +18 -0
- package/packages/agentsam-nav/dist/browser.global.js +63 -26
- package/packages/agentsam-nav/dist/browser.js +7589 -6094
- package/packages/agentsam-nav/dist/contracts.d.ts +71 -2
- package/packages/agentsam-nav/dist/index.d.ts +4 -0
- package/packages/agentsam-nav/dist/index.js +1356 -192
- package/packages/agentsam-nav/dist/legacy.css +7 -4
- package/packages/agentsam-nav/dist/shell.css +380 -11
- package/packages/agentsam-nav/dist/state.d.ts +25 -0
- package/packages/agentsam-nav/dist/theme.css +380 -11
- package/packages/agentsam-nav/dist/useAdminApps.d.ts +55 -0
- package/packages/agentsam-nav/dist/utils.d.ts +4 -0
- package/packages/agentsam-nav/package.json +7 -3
- package/packages/agentsam-occt/.native-build/CMakeCache.txt +433 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/4.4.4/CMakeCXXCompiler.cmake +103 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/4.4.4/CMakeDetermineCompilerABI_CXX.bin +0 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/4.4.4/CMakeSystem.cmake +15 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/4.4.4/CompilerIdCXX/CMakeCXXCompilerId.cpp +954 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/4.4.4/CompilerIdCXX/a.out +0 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/4.4.4/CompilerIdCXX/apple-sdk.cpp +1 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/CMakeConfigureLog.yaml +2968 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/CMakeDirectoryInformation.cmake +16 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/InstallScripts.json +7 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/Makefile.cmake +53 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/Makefile2 +157 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/TargetDirectories.txt +4 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/agentsam-occt.dir/DependInfo.cmake +24 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/agentsam-occt.dir/build.make +146 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/agentsam-occt.dir/cmake_clean.cmake +13 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/agentsam-occt.dir/compiler_depend.internal +3152 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/agentsam-occt.dir/compiler_depend.make +6886 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/agentsam-occt.dir/compiler_depend.ts +2 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/agentsam-occt.dir/depend.make +2 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/agentsam-occt.dir/engine.cpp.o +0 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/agentsam-occt.dir/engine.cpp.o.d +1868 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/agentsam-occt.dir/flags.make +12 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/agentsam-occt.dir/link.txt +1 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/agentsam-occt.dir/main.cpp.o +0 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/agentsam-occt.dir/main.cpp.o.d +1279 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/agentsam-occt.dir/progress.make +4 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/agentsam-sketch-solver.dir/DependInfo.cmake +23 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/agentsam-sketch-solver.dir/build.make +114 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/agentsam-sketch-solver.dir/cmake_clean.cmake +11 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/agentsam-sketch-solver.dir/cmake_clean_target.cmake +3 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/agentsam-sketch-solver.dir/compiler_depend.internal +1256 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/agentsam-sketch-solver.dir/compiler_depend.make +3757 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/agentsam-sketch-solver.dir/compiler_depend.ts +2 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/agentsam-sketch-solver.dir/depend.make +2 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/agentsam-sketch-solver.dir/flags.make +12 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/agentsam-sketch-solver.dir/link.txt +2 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/agentsam-sketch-solver.dir/progress.make +3 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/agentsam-sketch-solver.dir/sketch_solver.cpp.o +0 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/agentsam-sketch-solver.dir/sketch_solver.cpp.o.d +1252 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/cmake.check_cache +1 -0
- package/packages/agentsam-occt/.native-build/CMakeFiles/progress.marks +1 -0
- package/packages/agentsam-occt/.native-build/Makefile +249 -0
- package/packages/agentsam-occt/.native-build/agentsam-occt +0 -0
- package/packages/agentsam-occt/.native-build/cmake_install.cmake +61 -0
- package/packages/agentsam-occt/.native-build/libagentsam-sketch-solver.a +0 -0
- package/packages/agentsam-occt/LICENSE +110 -0
- package/packages/agentsam-occt/README.md +100 -0
- package/packages/agentsam-occt/agentsam.package.json +60 -0
- package/packages/agentsam-occt/dist/browser.d.ts +32 -0
- package/packages/agentsam-occt/dist/browser.js +71 -0
- package/packages/agentsam-occt/dist/browser.js.map +1 -0
- package/packages/agentsam-occt/dist/index.d.ts +8 -0
- package/packages/agentsam-occt/dist/index.js +25 -0
- package/packages/agentsam-occt/dist/index.js.map +1 -0
- package/packages/agentsam-occt/dist/native-provider.d.mts +107 -0
- package/packages/agentsam-occt/dist/native-provider.mjs +177 -0
- package/packages/agentsam-occt/dist/native-provider.mjs.map +1 -0
- package/packages/agentsam-occt/dist/native-session.d.mts +8 -0
- package/packages/agentsam-occt/dist/native-session.mjs +64 -0
- package/packages/agentsam-occt/dist/native-session.mjs.map +1 -0
- package/packages/agentsam-occt/native/CMakeLists.txt +47 -0
- package/packages/agentsam-occt/native/engine.cpp +864 -0
- package/packages/agentsam-occt/native/engine.hpp +2 -0
- package/packages/agentsam-occt/native/main.cpp +123 -0
- package/packages/agentsam-occt/native/sketch_solver.cpp +198 -0
- package/packages/agentsam-occt/native/sketch_solver.hpp +5 -0
- package/packages/agentsam-occt/package.json +46 -0
- package/packages/agentsam-occt/src/browser.ts +92 -0
- package/packages/agentsam-occt/src/index.js +24 -0
- package/packages/agentsam-occt/src/native-provider.mjs +156 -0
- package/packages/agentsam-occt/src/native-session.d.mts +5 -0
- package/packages/agentsam-occt/src/native-session.mjs +35 -0
- package/packages/agentsam-occt/test/browser-provider.test.mjs +90 -0
- package/packages/agentsam-occt/test/contracts.test.mjs +32 -0
- package/packages/agentsam-occt/test/native-engine.test.mjs +49 -0
- package/packages/agentsam-occt/tsconfig.json +18 -0
- package/packages/agentsam-queue-control/LICENSE +110 -0
- package/packages/agentsam-queue-control/agentsam.package.json +42 -0
- package/packages/agentsam-queue-control/package.json +3 -3
- package/packages/agentsam-queue-control/schemas/job-envelope.schema.json +1 -1
- package/packages/agentsam-queue-control/src/adapters/cloudflare.js +39 -3
- package/packages/agentsam-queue-control/test/cloudflare-observability.test.mjs +54 -0
- package/packages/agentsam-rapid-rust/Cargo.toml +6 -1
- package/packages/agentsam-rapid-rust/LICENSE +110 -0
- package/packages/agentsam-rapid-rust/agentsam.package.json +42 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/0b22ca9c5f8cddc15e6816df4a2467a28d41aa174361cdfed9019ee4e04dfbb8.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/0c5064875a5d7645013880f04d71f56c0dfa1bc87ac9fd59adc3e9a93a2745da.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/11ebd15702c169ee0666656be851cc549f70f84498dbca3c5b72d2ceaa91c851.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/1d7f2c8ad9588cd2077a1d07fce156e0bd47be686d8c9f26885bab14874c4ab5.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/1f21ba21e7b631b0d4893cbdd7a6bb7345d34e8b1a0ee9cf644cc30aeb3c8b8d.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/23f4d4b90def0782de32e7a57558cba24525f12ba3c009728ea4881259a74099.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/26b60985b6ef62e4f20e06c37e47c6996c1a2f457335fa9eb4a68d1288e18490.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/2b27d15a1b8c3637a56f631d583cc9ba584bed2b7018dd962a9340d5e1c50a1d.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/3110a5568a544c4c38de6585dcdabc21fa5f54a5772ecf4e1f4076ee0d49e933.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/357ce3db8299e01866bf4fc3d8ee1c784ef53c7455cf86bb17c52f3dad20d050.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/4516c6e03636538cacc7a6e4063d98a7ed2f0090c3a02c5ee817f1c512b1070e.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/649e02dbaec2edabbd40372e0c5f72f114164fe7704e7825220b1955f6a7c74e.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/81c266d4c150a4f6c5a73c9c4fef6541577fd0acd8c1f911f02781deb5f0be0f.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/86b4b8de30eed9902750b3de9fb54276d229244671a8b6035345bbe705463d82.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/8a877fdc5dbc6a66c344b4ebc4d9b746d47f95153e98872210becd85ca941ddd.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/96a11200f7b42ddd1281e4f749e88dcb8455ab0e3883f943934e0a9a7935147a.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/9e2df2335cfc73ec021bdd6b2d34af798f6ed9c52e3061ce16b6ceabae4e275f.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/a405fe3addeaab2908ed58836997be3b679d990ec9102d06bece3569e4bd4a81.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/a63915da0a45f86a5938ba9a2b2e87d469e7d07f7ea9cc531136fdc9e055557e.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/a8452c2dcaa959ced25e3597931b311999c0aa5b257ca8610fe415e8cfa598cc.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/b35fc2ae65ea07fbbfdd242a3d76489947462399e7a2db91f8545ca50d97d86f.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/b966932defe9c7b5ec9599c9276d333bd09ad1605adae80300d825d2161ad20c.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/ca9060e5ccb91f3a2663f57afd47a25099b6b3313c2a7436c4634993ff6e9afc.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/d0eba82a259be203c68c3ebf6d5b8a376f31a3b84fad418fdb9b5e2715c59869.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/d8838513009c65079aba67314ab130920484c674c5f0b8a356c8777eb6174eb2.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/dda01925b7f0a213215b983979ce23625dd0f6cfdb49c483ec1ff73e64def56f.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/e4956d8f97608f8324607b22cc93635d8183b23021d79cb4c21668c8b8a6ce87.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/e80c1e517e7173dcbde78869d2bf67a24a11b0bb9df5a87fb12934e39497abc8.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/eeeaa9394ac979eb4ffa557e97d67ed96dbd61437e09058f7c776bdc0483f050.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/f9264d8d7d1ccfb415362a28b4a1b4fa0dfbdf828ff970d1aaecfb0ebe208978.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/f957a80b89d32af4f33f9f840b4795af1b5145fc44780ad88a6a3b1b3a7ea3bc.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_2b0d196f16961f88/asset-manifest.json +418 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_2b0d196f16961f88/findings.json +308 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_2b0d196f16961f88/frontend-manifest.json +70 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_2b0d196f16961f88/graph.json +322 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_2b0d196f16961f88/inventory.json +932 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_2b0d196f16961f88/summary.json +21 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_2d70e3d4fe8290fb/asset-manifest.json +418 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_2d70e3d4fe8290fb/findings.json +308 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_2d70e3d4fe8290fb/frontend-manifest.json +70 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_2d70e3d4fe8290fb/graph.json +322 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_2d70e3d4fe8290fb/inventory.json +932 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_2d70e3d4fe8290fb/summary.json +21 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_63fab76b2f18c2f0/asset-manifest.json +418 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_63fab76b2f18c2f0/findings.json +308 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_63fab76b2f18c2f0/frontend-manifest.json +70 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_63fab76b2f18c2f0/graph.json +322 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_63fab76b2f18c2f0/inventory.json +932 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_63fab76b2f18c2f0/summary.json +21 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_72fe856b80b0c46f/asset-manifest.json +418 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_72fe856b80b0c46f/findings.json +300 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_72fe856b80b0c46f/frontend-manifest.json +70 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_72fe856b80b0c46f/graph.json +322 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_72fe856b80b0c46f/inventory.json +932 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_72fe856b80b0c46f/summary.json +21 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_a5834156504f3050/asset-manifest.json +418 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_a5834156504f3050/findings.json +308 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_a5834156504f3050/frontend-manifest.json +70 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_a5834156504f3050/graph.json +322 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_a5834156504f3050/inventory.json +932 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_a5834156504f3050/summary.json +21 -0
- package/packages/agentsam-repository/LICENSE +110 -0
- package/packages/agentsam-repository/README.md +25 -0
- package/packages/agentsam-repository/agentsam.package.json +42 -0
- package/packages/agentsam-repository/package.json +8 -5
- package/packages/agentsam-repository/src/crawl.js +220 -0
- package/packages/agentsam-repository/src/index.js +3 -0
- package/packages/agentsam-repository/src/merkle/semantic.js +20 -0
- package/packages/agentsam-repository/src/refinery.js +96 -0
- package/packages/agentsam-repository/test/crawl-refinery.test.mjs +113 -0
- package/packages/agentsam-site-scrape/README.md +357 -0
- package/packages/agentsam-site-scrape/agentsam_site_scrape/__init__.py +4 -0
- package/packages/agentsam-site-scrape/agentsam_site_scrape/__main__.py +349 -0
- package/packages/agentsam-site-scrape/agentsam_site_scrape/classify.py +80 -0
- package/packages/agentsam-site-scrape/agentsam_site_scrape/config.py +83 -0
- package/packages/agentsam-site-scrape/agentsam_site_scrape/contract.py +108 -0
- package/packages/agentsam-site-scrape/agentsam_site_scrape/crawl.py +395 -0
- package/packages/agentsam-site-scrape/agentsam_site_scrape/evidence.py +226 -0
- package/packages/agentsam-site-scrape/agentsam_site_scrape/htmlparse.py +109 -0
- package/packages/agentsam-site-scrape/agentsam_site_scrape/imageops.py +121 -0
- package/packages/agentsam-site-scrape/agentsam_site_scrape/jsonrun.py +127 -0
- package/packages/agentsam-site-scrape/agentsam_site_scrape/net.py +121 -0
- package/packages/agentsam-site-scrape/agentsam_site_scrape/pageextract.py +202 -0
- package/packages/agentsam-site-scrape/agentsam_site_scrape/r2_upload.py +140 -0
- package/packages/agentsam-site-scrape/agentsam_site_scrape/ssrf.py +57 -0
- package/packages/agentsam-site-scrape/agentsam_site_scrape/storage.py +57 -0
- package/packages/agentsam-site-scrape/agentsam_site_scrape/wrangler_bucket.py +98 -0
- package/packages/agentsam-site-scrape/pyproject.toml +21 -0
- package/packages/agentsam-site-scrape/runtime/client.mjs +32 -0
- package/packages/agentsam-site-scrape/runtime/core.mjs +211 -0
- package/packages/agentsam-site-scrape/runtime/index.mjs +31 -0
- package/packages/agentsam-site-scrape/runtime/knowledge.mjs +38 -0
- package/packages/agentsam-site-scrape/runtime/node-runner.mjs +231 -0
- package/packages/agentsam-site-scrape/runtime/node-storage.mjs +146 -0
- package/packages/agentsam-site-scrape/runtime/project-site.mjs +74 -0
- package/packages/agentsam-site-scrape/runtime/secure-fetch.mjs +88 -0
- package/packages/agentsam-site-scrape/runtime/test/knowledge-handoff.test.mjs +51 -0
- package/packages/agentsam-site-scrape/runtime/test/project-index-command.test.mjs +109 -0
- package/packages/agentsam-site-scrape/runtime/test/runtime.test.mjs +145 -0
- package/packages/agentsam-site-scrape/tests/__init__.py +0 -0
- package/packages/agentsam-site-scrape/tests/test_contract.py +83 -0
- package/packages/agentsam-site-scrape/tests/test_core.py +119 -0
- package/packages/agentsam-site-scrape/tests/test_evidence.py +88 -0
- package/packages/agentsam-site-scrape/tests/test_evidence_pipeline.py +112 -0
- package/packages/agentsam-site-scrape/tests/test_jsonrun.py +63 -0
- package/packages/agentsam-site-scrape/tests/test_redirects.py +68 -0
- package/packages/agentsam-site-scrape/tests/test_storage.py +34 -0
- package/packages/agentsam-site-scrape/worker/index.mjs +259 -0
- package/packages/agentsam-site-scrape/worker/project-config.mjs +57 -0
- package/packages/agentsam-site-scrape/worker/test/worker.test.mjs +191 -0
- package/packages/agentsam-vault/LICENSE +110 -0
- package/packages/agentsam-vault/package.json +3 -3
- package/packages/agentsam-workbench/LICENSE +110 -0
- package/packages/agentsam-workbench/README.md +18 -0
- package/packages/agentsam-workbench/package.json +29 -5
- package/packages/agentsam-workbench/src/agent/AgentRuntimeField.tsx +12 -7
- package/packages/agentsam-workbench/src/agent/Composer.tsx +10 -3
- package/packages/agentsam-workbench/src/agent/MiniAgentSam.tsx +129 -16
- package/packages/agentsam-workbench/src/agent/SelectionToolbar.tsx +161 -0
- package/packages/agentsam-workbench/src/agent/capability-catalog.ts +103 -0
- package/packages/agentsam-workbench/src/agent/index.ts +4 -0
- package/packages/agentsam-workbench/src/agent/mini-agentsam.css +18 -6
- package/packages/agentsam-workbench/src/agent/selection-toolbar.css +84 -0
- package/packages/agentsam-workbench/src/design/DesignWorkspaceFrame.tsx +209 -0
- package/packages/agentsam-workbench/src/design/canvas-handoff.ts +44 -0
- package/packages/agentsam-workbench/src/design/design-workspace.css +267 -0
- package/packages/agentsam-workbench/src/design/index.ts +7 -0
- package/packages/agentsam-workbench/src/index.ts +1 -0
- package/packages/agentsam-workbench/src/knowledge/AutoRagWorkflowDialog.tsx +166 -0
- package/packages/agentsam-workbench/src/knowledge/README.md +14 -0
- package/packages/agentsam-workbench/src/knowledge/autorag-workflow.css +6 -0
- package/packages/agentsam-workbench/src/knowledge/index.ts +2 -0
- package/packages/agentsam-workbench/src/resources/ResourceCard.tsx +90 -0
- package/packages/agentsam-workbench/src/resources/index.ts +6 -0
- package/packages/agentsam-workbench/src/resources/resource-card.css +174 -0
- package/packages/agentsam-workbench/src/widgets/BuiltinWidget.tsx +6 -0
- package/packages/agentsam-workbench/src/widgets/CalculatorWidget.tsx +81 -0
- package/packages/agentsam-workbench/src/widgets/ClockWidget.tsx +66 -0
- package/packages/agentsam-workbench/src/widgets/QueueDepthWidget.tsx +122 -0
- package/packages/agentsam-workbench/src/widgets/calculator.ts +57 -0
- package/packages/agentsam-workbench/src/widgets/clock.ts +54 -0
- package/packages/agentsam-workbench/src/widgets/index.ts +5 -0
- package/packages/agentsam-workbench/src/widgets/registry.ts +269 -1
- package/packages/agentsam-workbench/src/widgets/widgets.css +31 -0
- package/packages/catalog/README.md +69 -0
- package/packages/catalog/assist/questions.json +205 -0
- package/packages/catalog/assist/rules.json +149 -0
- package/packages/catalog/doctor/toolchains.json +12 -0
- package/packages/catalog/evidence/agentsam-abs.json +76 -0
- package/packages/catalog/evidence/agentsam-analytics.json +59 -0
- package/packages/catalog/evidence/agentsam-assets-core.json +38 -0
- package/packages/catalog/evidence/agentsam-brand.json +73 -0
- package/packages/catalog/evidence/agentsam-browser-surface.json +42 -0
- package/packages/catalog/evidence/agentsam-campaign.json +48 -0
- package/packages/catalog/evidence/agentsam-cloudflare-images.json +38 -0
- package/packages/catalog/evidence/agentsam-content-studio.json +42 -0
- package/packages/catalog/evidence/agentsam-content.json +70 -0
- package/packages/catalog/evidence/agentsam-contracts.json +92 -0
- package/packages/catalog/evidence/agentsam-database-editor.json +82 -0
- package/packages/catalog/evidence/agentsam-desktop-shell.json +56 -0
- package/packages/catalog/evidence/agentsam-docs-theme.json +35 -0
- package/packages/catalog/evidence/agentsam-errors.json +42 -0
- package/packages/catalog/evidence/agentsam-goap.json +52 -0
- package/packages/catalog/evidence/agentsam-hooks.json +100 -0
- package/packages/catalog/evidence/agentsam-ide.json +64 -0
- package/packages/catalog/evidence/agentsam-identity.json +91 -0
- package/packages/catalog/evidence/agentsam-key-manager.json +46 -0
- package/packages/catalog/evidence/agentsam-knowledge.json +42 -0
- package/packages/catalog/evidence/agentsam-loading-scene.json +54 -0
- package/packages/catalog/evidence/agentsam-merch.json +68 -0
- package/packages/catalog/evidence/agentsam-nav.json +63 -0
- package/packages/catalog/evidence/agentsam-queue-control.json +60 -0
- package/packages/catalog/evidence/agentsam-rapid-rust.json +46 -0
- package/packages/catalog/evidence/agentsam-repository.json +56 -0
- package/packages/catalog/evidence/agentsam-scoring.json +39 -0
- package/packages/catalog/evidence/agentsam-sections.json +52 -0
- package/packages/catalog/evidence/agentsam-settings.json +58 -0
- package/packages/catalog/evidence/agentsam-shell-kit.json +56 -0
- package/packages/catalog/evidence/agentsam-vault.json +61 -0
- package/packages/catalog/evidence/agentsam-work-graph.json +51 -0
- package/packages/catalog/evidence/agentsam-work.json +64 -0
- package/packages/catalog/evidence/agentsam-workbench.json +96 -0
- package/packages/catalog/evidence/analytics-ui.json +43 -0
- package/packages/catalog/evidence/copro-editor.json +42 -0
- package/packages/catalog/evidence/copro-media.json +42 -0
- package/packages/catalog/evidence/copro-project.json +42 -0
- package/packages/catalog/evidence/copro-proof.json +48 -0
- package/packages/catalog/evidence/copro-provider-contracts.json +40 -0
- package/packages/catalog/evidence/copro-render.json +40 -0
- package/packages/catalog/evidence/copro-storage.json +44 -0
- package/packages/catalog/evidence/copro-templates.json +42 -0
- package/packages/catalog/evidence/copro-timeline.json +44 -0
- package/packages/catalog/evidence/copro-ui.json +52 -0
- package/packages/catalog/evidence/theme-contract.json +34 -0
- package/packages/catalog/evidence/theme-scenes.json +59 -0
- package/packages/catalog/generated/packages.json +2496 -0
- package/packages/catalog/src/theme-products.mjs +64 -0
- package/packages/catalog/topics/runtime.json +33 -0
- package/packages/connectors/cfoa/LICENSE +110 -0
- package/packages/connectors/cfoa/OAUTH_STORAGE_AUDIT.md +5 -0
- package/packages/connectors/cfoa/agentsam.package.json +46 -0
- package/packages/connectors/cfoa/package.json +2 -2
- package/packages/connectors/cfoa/src/api-client.js +54 -8
- package/packages/connectors/cfoa/src/capabilities.js +63 -3
- package/packages/connectors/cfoa/src/credential.js +381 -48
- package/packages/connectors/cfoa/src/families/analytics-sql.js +44 -0
- package/packages/connectors/cfoa/src/families/basin.js +30 -0
- package/packages/connectors/cfoa/src/families/media.js +622 -0
- package/packages/connectors/cfoa/src/index.js +39 -2
- package/packages/connectors/cfoa/src/oauth-persist.js +231 -95
- package/packages/connectors/cfoa/src/routes.js +281 -36
- package/packages/connectors/cfoa/src/scope-catalog.js +14 -1
- package/packages/connectors/cfoa/test/analytics-sql.test.mjs +27 -0
- package/packages/connectors/cfoa/test/basin.test.mjs +30 -0
- package/packages/connectors/cfoa/tests/api-client-fetch.test.mjs +71 -0
- package/packages/connectors/cfoa/tests/capabilities.test.mjs +28 -3
- package/packages/connectors/cfoa/tests/connector.test.mjs +5 -5
- package/packages/connectors/cfoa/tests/cross-host-recovery.test.mjs +125 -0
- package/packages/connectors/cfoa/tests/media-discovery.test.mjs +260 -0
- package/packages/connectors/cfoa/tests/oauth-persist.test.mjs +114 -14
- package/packages/identity/.agentsam/features/oauth-login-portal/agentsam.feature.json +1 -1
- package/packages/identity/LICENSE +110 -0
- package/packages/identity/README.md +25 -0
- package/packages/identity/agentsam.package.json +42 -0
- package/packages/identity/migrations/apply-portable.js +1 -0
- package/packages/identity/migrations/sqlite/006_identity_account_security.sql +31 -0
- package/packages/identity/package.json +4 -2
- package/packages/identity/schema/agentsam.identity/manifest.json +31 -9
- package/packages/identity/src/adapters/account-security-store.js +236 -0
- package/packages/identity/src/adapters/iam-compat/index.js +13 -0
- package/packages/identity/src/adapters/portable-store.js +15 -0
- package/packages/identity/src/contracts/sign-in-options.js +10 -0
- package/packages/identity/src/core/account-security.js +149 -0
- package/packages/identity/src/frontend/auth-portal/pages/login.html +14 -2
- package/packages/identity/src/frontend/auth-portal/pages/signup.html +10 -4
- package/packages/identity/src/frontend/merchant-onboarding/store-start.css +9 -0
- package/packages/identity/src/frontend/merchant-onboarding/store-start.html +73 -0
- package/packages/identity/src/frontend/merchant-onboarding/store-start.js +166 -0
- package/packages/identity/src/migrations/0004_account_security.sql +24 -0
- package/packages/identity/src/oauth/iam-platform.js +4 -2
- package/packages/identity/src/recovery/password-reset.js +8 -8
- package/packages/identity/src/server/merchant-onboarding.js +103 -0
- package/packages/identity/src/server/worker-router.js +255 -6
- package/packages/identity/tests/account-security.test.mjs +341 -0
- package/packages/identity/tests/chatgpt-provider.test.mjs +4 -2
- package/packages/identity/tests/lane1-packed-consumer.test.mjs +28 -3
- package/packages/identity/tests/merchant-onboarding-portability.test.mjs +77 -0
- package/packages/identity/tests/password-enrollment.test.mjs +82 -0
- package/packages/identity/tests/password-reset.test.mjs +43 -0
- package/packages/identity/tests/portable-identity-architecture.test.mjs +3 -3
- package/packages/identity/tests/preview-auth-portal.test.mjs +2 -0
- package/packages/identity/tests/stock-product-provenance.test.mjs +22 -0
- package/packages/primetech-procedures/README.md +61 -0
- package/packages/primetech-procedures/agentsam.package.json +63 -0
- package/packages/primetech-procedures/package.json +22 -0
- package/packages/primetech-procedures/procedures/cad.motor-bearing-end-plate/README.md +21 -0
- package/packages/primetech-procedures/procedures/cad.motor-bearing-end-plate/__pycache__/test_generate_toolpaths.cpython-314.pyc +0 -0
- package/packages/primetech-procedures/procedures/cad.motor-bearing-end-plate/build_freecad.py +514 -0
- package/packages/primetech-procedures/procedures/cad.motor-bearing-end-plate/finalize_bundle.py +26 -0
- package/packages/primetech-procedures/procedures/cad.motor-bearing-end-plate/generate_assets.py +284 -0
- package/packages/primetech-procedures/procedures/cad.motor-bearing-end-plate/generate_toolpaths.py +715 -0
- package/packages/primetech-procedures/procedures/cad.motor-bearing-end-plate/package_artifacts.py +154 -0
- package/packages/primetech-procedures/procedures/cad.motor-bearing-end-plate/parameters.json +51 -0
- package/packages/primetech-procedures/procedures/cad.motor-bearing-end-plate/procedure.json +101 -0
- package/packages/primetech-procedures/procedures/cad.motor-bearing-end-plate/render_preview.py +98 -0
- package/packages/primetech-procedures/procedures/cad.motor-bearing-end-plate/run.py +214 -0
- package/packages/primetech-procedures/procedures/cad.motor-bearing-end-plate/test_generate_toolpaths.py +50 -0
- package/packages/primetech-procedures/procedures/repo.asset.inventory/__pycache__/run.cpython-312.pyc +0 -0
- package/packages/primetech-procedures/procedures/repo.asset.inventory/procedure.json +65 -0
- package/packages/primetech-procedures/procedures/repo.asset.inventory/run.py +116 -0
- package/packages/primetech-procedures/procedures/repo.asset.inventory/run.sh +11 -0
- package/packages/primetech-procedures/profiles/PRIMETECH_PROCEDURE_ENGINEER.md +25 -0
- package/packages/primetech-procedures/src/index.js +547 -0
- package/packages/primetech-procedures/test/__pycache__/test_inventory.cpython-312.pyc +0 -0
- package/packages/primetech-procedures/test/procedure.test.mjs +207 -0
- package/packages/primetech-procedures/test/test_inventory.py +57 -0
- package/packages/providers/completeful/LICENSE +110 -0
- package/packages/providers/completeful/README.md +67 -27
- package/packages/providers/completeful/dist/client.d.ts +118 -0
- package/packages/providers/completeful/dist/client.js +221 -0
- package/packages/providers/completeful/dist/generated/operations.generated.d.ts +760 -0
- package/packages/providers/completeful/dist/generated/operations.generated.js +931 -0
- package/packages/providers/completeful/dist/generated/types.generated.d.ts +1173 -0
- package/packages/providers/completeful/dist/generated/types.generated.js +1 -0
- package/packages/providers/completeful/openapi/openapi.json +5320 -0
- package/packages/providers/completeful/package.json +34 -8
- package/packages/providers/completeful/scripts/generate.mjs +156 -0
- package/packages/providers/completeful/src/client.js +12 -162
- package/packages/providers/completeful/src/core/client.ts +248 -0
- package/packages/providers/completeful/src/core/generated/operations.generated.ts +931 -0
- package/packages/providers/completeful/src/core/generated/types.generated.ts +94 -0
- package/packages/providers/completeful/src/index.d.ts +24 -0
- package/packages/providers/completeful/src/index.js +3 -0
- package/packages/providers/completeful/test/openapi.test.mjs +70 -0
- package/packages/providers/completeful/test/types/consumer.ts +30 -0
- package/packages/providers/completeful/test/types/tsconfig.json +12 -0
- package/packages/providers/completeful/tsconfig.json +15 -0
- package/packages/theme-scenes/LICENSE +110 -0
- package/packages/theme-scenes/README.md +57 -2
- package/packages/theme-scenes/agentsam.package.json +65 -0
- package/packages/theme-scenes/package.json +11 -12
- package/packages/theme-scenes/src/cms/adapter.js +232 -0
- package/packages/theme-scenes/src/cms/browser.js +5 -0
- package/packages/theme-scenes/src/cms/index.js +22 -0
- package/packages/theme-scenes/src/cms/runtime.js +524 -0
- package/packages/theme-scenes/src/contracts/index.js +40 -0
- package/packages/theme-scenes/src/index.js +1 -0
- package/packages/theme-scenes/src/runtime/compile.js +24 -0
- package/packages/theme-scenes/src/scenes/index.js +3 -1
- package/packages/theme-scenes/src/visuals/index.js +7 -0
- package/packages/theme-scenes/test/cms.test.mjs +118 -0
- package/packages/theme-scenes/test/theme-scenes.test.mjs +52 -0
- package/packages/work-graph/LICENSE +110 -0
- package/packages/work-graph/agentsam.package.json +42 -0
- package/packages/work-graph/package.json +2 -2
- package/protocol/README.md +2 -2
- package/protocol/apps/agentsam.app.v1.schema.json +28 -2
- package/protocol/apps/agentsam.host-install.v1.schema.json +1 -1
- package/protocol/assets/asset-record.v1.schema.json +1 -1
- package/protocol/brand/brandpack.v1.schema.json +1 -1
- package/protocol/cad/README.md +85 -0
- package/protocol/cad/blender-recipe.schema.json +1 -1
- package/protocol/cad/cad.project.v2.schema.json +554 -0
- package/protocol/cad/v2/core/artifact-receipt.schema.json +126 -0
- package/protocol/cad/v2/core/coordinate-system.schema.json +364 -0
- package/protocol/cad/v2/core/geometry-constraint.schema.json +136 -0
- package/protocol/cad/v2/core/geometry-entity.schema.json +73 -0
- package/protocol/cad/v2/core/geometry-feature.schema.json +115 -0
- package/protocol/cad/v2/core/geometry-relationship.schema.json +67 -0
- package/protocol/cad/v2/core/project-revision.schema.json +111 -0
- package/protocol/cad/v2/core/topology-reference.schema.json +80 -0
- package/protocol/cad/v2/intent/design-decision.schema.json +126 -0
- package/protocol/cad/v2/intent/design-option.schema.json +88 -0
- package/protocol/cad/v2/interchange/ifc-mapping.schema.json +145 -0
- package/protocol/cad/v2/interchange/native-document.schema.json +130 -0
- package/protocol/cad/v2/interchange/reference-model.schema.json +141 -0
- package/protocol/cad/v2/modules/architecture.v1.schema.json +278 -0
- package/protocol/cad/v2/modules/landscape.v1.schema.json +157 -0
- package/protocol/cad/v2/modules/mechanical.v1.schema.json +325 -0
- package/protocol/cad/v2/modules/parametric.v1.schema.json +89 -0
- package/protocol/cad/v2/modules/product-design.v1.schema.json +178 -0
- package/protocol/cad/v2/modules/robotics.v1.schema.json +246 -0
- package/protocol/cad/v2/presentation/camera-path.schema.json +143 -0
- package/protocol/cad/v2/presentation/drawing.schema.json +162 -0
- package/protocol/cad/v2/presentation/production.schema.json +166 -0
- package/protocol/cad/v2/presentation/scene.schema.json +198 -0
- package/protocol/cad/v2/presentation/sheet.schema.json +254 -0
- package/protocol/cad/v2/presentation/view.schema.json +190 -0
- package/protocol/cad/v2/presentation/walkthrough.schema.json +199 -0
- package/protocol/cad/v2/schema-pack.manifest.json +189 -0
- package/protocol/cad/v2/validation/deliverable-manifest.schema.json +199 -0
- package/protocol/cad/v2/validation/result.schema.json +141 -0
- package/protocol/canvas/knowledge-core.mjs +35 -0
- package/protocol/capabilities/capability-manifest.schema.json +1 -1
- package/protocol/capabilities/cloudflare-cpu-audit-input.schema.json +1 -1
- package/protocol/capabilities/cloudflare-cpu-profile-input.schema.json +1 -1
- package/protocol/capabilities/cloudflare-wrangler-native-input.schema.json +1 -1
- package/protocol/capabilities/evidence-manifest.schema.json +404 -0
- package/protocol/capabilities/knowledge-search-input.schema.json +1 -1
- package/protocol/capabilities/manifest.json +135 -9
- package/protocol/capabilities/repository-audit-input.schema.json +1 -1
- package/protocol/capabilities/repository-audit.schema.json +1 -1
- package/protocol/capabilities/repository-crawl-input.schema.json +18 -0
- package/protocol/capabilities/repository-crawl-result.schema.json +80 -0
- package/protocol/capabilities/repository-mine-input.schema.json +28 -0
- package/protocol/capabilities/repository-mine-result.schema.json +52 -0
- package/protocol/capabilities/repository-snapshot-input.schema.json +1 -1
- package/protocol/capabilities/repository-snapshot.schema.json +1 -1
- package/protocol/capabilities/site-index.schema.json +15 -0
- package/protocol/capabilities/site-scrape-evidence-manifest.schema.json +114 -0
- package/protocol/capabilities/site-scrape-input.schema.json +90 -0
- package/protocol/capabilities/site-scrape-project-authority.schema.json +15 -0
- package/protocol/capabilities/site-scrape-result.schema.json +198 -0
- package/protocol/capabilities/site-scrape-worker-job.schema.json +18 -0
- package/protocol/capabilities/terminal-exec-input.schema.json +1 -1
- package/protocol/context/context-budget.schema.json +1 -1
- package/protocol/context/context-item.schema.json +1 -1
- package/protocol/context/resolved-context-pack.schema.json +3 -3
- package/protocol/context/result-policy.schema.json +1 -1
- package/protocol/contracts/source-types.v2.json +9381 -0
- package/protocol/contracts/source-types.v2.schema.json +571 -0
- package/protocol/credentials/issue.v1.schema.json +2 -2
- package/protocol/database/agentsam.schema-pack.v1.schema.json +1 -1
- package/protocol/database/connection.v1.schema.json +1 -1
- package/protocol/embeddings/embedding-profile.v1.schema.json +1 -1
- package/protocol/errors/agentsam.error.v2.schema.json +1 -1
- package/protocol/errors/error-catalog.json +12 -0
- package/protocol/errors/error-envelope.schema.json +1 -1
- package/protocol/errors/recovery.v1.schema.json +1 -1
- package/protocol/features/agentsam.feature.v1.schema.json +1 -1
- package/protocol/governance/distribution-roadmap.v1.json +335 -0
- package/protocol/governance/github-labels.v1.json +232 -0
- package/protocol/hooks/README.md +2 -0
- package/protocol/hooks/agentsam.hook.output.v1.schema.json +1 -1
- package/protocol/hooks/agentsam.hook.receipt.v1.schema.json +1 -1
- package/protocol/hooks/agentsam.hook.v1.schema.json +1 -1
- package/protocol/hooks/agentsam.hooks.config.v1.schema.json +1 -1
- package/protocol/knowledge/chunk.schema.json +1 -1
- package/protocol/knowledge/context-pack.schema.json +3 -3
- package/protocol/knowledge/document.schema.json +1 -1
- package/protocol/knowledge/index-config.schema.json +1 -1
- package/protocol/knowledge/ingest-receipt.schema.json +1 -1
- package/protocol/knowledge/repository.schema.json +1 -1
- package/protocol/knowledge/retrieval-hit.schema.json +1 -1
- package/protocol/knowledge/retrieval-query.schema.json +2 -2
- package/protocol/knowledge/source.schema.json +1 -1
- package/protocol/local-engine/benchmark.v1.schema.json +1 -1
- package/protocol/local-engine/engine.v1.schema.json +1 -1
- package/protocol/models/discovery.mjs +409 -0
- package/protocol/models/model-inventory-v2.schema.json +1 -1
- package/protocol/models/provider-model-snapshot.v1.schema.json +1 -1
- package/protocol/models/workers-ai-curated.mjs +14 -0
- package/protocol/notifications/README.md +45 -0
- package/protocol/packages/agentsam.package-schema-registry.v1.schema.json +108 -0
- package/protocol/plugins/agentsam.plugin-evidence-bundle.v1.schema.json +55 -0
- package/protocol/plugins/agentsam.plugin-product.v1.schema.json +227 -0
- package/protocol/plugins/agentsam.plugin-quality-evidence.v1.schema.json +47 -0
- package/protocol/plugins/agentsam.plugin-quality-receipt.v1.schema.json +160 -0
- package/protocol/presets/catalog.json +4 -4
- package/protocol/product-releases/README.md +132 -0
- package/protocol/receipts/agentsam.receipt.v1.json +2 -2
- package/protocol/recon/finding-report.schema.json +1 -1
- package/protocol/recon/task-packet.schema.json +1 -1
- package/protocol/repository/repository-contract.schema.json +1 -1
- package/protocol/repository/repository-dependency.schema.json +1 -1
- package/protocol/repository/repository-identity.schema.json +1 -1
- package/protocol/runtime/agentsam.runtime.v1.schema.json +1 -1
- package/protocol/runtime/primetech-procedure.v1.schema.json +125 -0
- package/protocol/runtime/terminal-exec.conformance.v1.json +88 -0
- package/protocol/runtime/workspace-fs.conformance.v1.json +96 -0
- package/protocol/runtime/workspace-fs.v1.schema.json +2 -1
- package/protocol/sam/activity.v1.schema.json +1 -1
- package/protocol/sam/answer.v1.schema.json +1 -1
- package/protocol/sam/calibration.v1.schema.json +1 -1
- package/protocol/sam/decision-receipt.v1.schema.json +1 -1
- package/protocol/sam/evaluation.v1.schema.json +1 -1
- package/protocol/sam/operation.schema.json +103 -10
- package/protocol/sam/outcome.v1.schema.json +1 -1
- package/protocol/sam/question.v1.schema.json +1 -1
- package/protocol/sam/result.schema.json +33 -10
- package/protocol/sam/state.v1.schema.json +1 -1
- package/protocol/scoring/scorecard.v1.schema.json +1 -1
- package/protocol/skills/agentsam.interaction.v1.schema.json +1 -1
- package/protocol/skills/agentsam.skill.v1.schema.json +1 -1
- package/protocol/theme-refinery/product-metadata.schema.json +1 -1
- package/protocol/theme-refinery/reconciliation-receipt.schema.json +1 -1
- package/protocol/tools/agent-tool-definition.v1.schema.json +78 -0
- package/protocol/ui/agentsam.ui-quality.v1.schema.json +31 -0
- package/protocol/ui/icon.v1.schema.json +1 -1
- package/python/README.md +97 -21
- package/python/agentsam_sdk/__init__.py +9 -2
- package/python/agentsam_sdk/assets/__init__.py +4 -0
- package/python/agentsam_sdk/assets/geaux_boot.json +25 -0
- package/python/agentsam_sdk/assets/procedures.py +40 -0
- package/python/agentsam_sdk/cad/__init__.py +5 -0
- package/python/agentsam_sdk/cad/native.py +189 -0
- package/python/agentsam_sdk/cad/occt.py +96 -0
- package/python/agentsam_sdk/cli.py +57 -12
- package/python/agentsam_sdk/client.py +402 -0
- package/python/agentsam_sdk/data/d1_adapter.py +71 -2
- package/python/agentsam_sdk/diagnostics.py +44 -0
- package/python/agentsam_sdk/errors/vocabulary.py +10 -0
- package/python/agentsam_sdk/procedures/__init__.py +4 -0
- package/python/agentsam_sdk/procedures/client.py +75 -0
- package/python/agentsam_sdk/py.typed +0 -0
- package/python/agentsam_sdk/runtime/native.py +918 -0
- package/python/agentsam_sdk/terminal_art.py +85 -0
- package/python/agentsam_sdk/terminal_ui.py +187 -0
- package/python/agentsam_sdk/tui/README.md +3 -3
- package/python/agentsam_sdk/tui/__init__.py +1 -1
- package/python/agentsam_sdk/tui/bootstrap.py +2 -2
- package/python/agentsam_sdk/tui/demo.py +2 -2
- package/python/docs/gaps.md +12 -3
- package/python/docs/release.md +55 -0
- package/python/pyproject.toml +33 -6
- package/python/scripts/check-dist.py +65 -0
- package/python/tests/test_asset_procedure_api.py +66 -0
- package/python/tests/test_cad_native.py +73 -0
- package/python/tests/test_cad_occt.py +52 -0
- package/python/tests/test_cli_distribution.py +82 -0
- package/python/tests/test_d1_write_adapter.py +66 -0
- package/python/tests/test_native_runtime.py +298 -0
- package/python/tests/test_packaging.py +43 -0
- package/python/tests/test_procedure_client.py +80 -0
- package/python/tests/test_public_client.py +85 -0
- package/python/tests/test_terminal_art.py +36 -0
- package/services/cad/blender/adapter.py +0 -0
- package/services/cad/occt/CMakeLists.txt +9 -0
- package/services/cad/occt/README.md +14 -0
- package/services/cad/server.py +327 -26
- package/skills/README.md +18 -4
- package/skills/agentsam-arch-accessibility/SKILL.md +19 -0
- package/skills/agentsam-arch-accessibility/agentsam.skill.json +20 -0
- package/skills/agentsam-arch-assemblies/SKILL.md +20 -0
- package/skills/agentsam-arch-assemblies/agentsam.skill.json +20 -0
- package/skills/agentsam-arch-bim/SKILL.md +20 -0
- package/skills/agentsam-arch-bim/agentsam.skill.json +20 -0
- package/skills/agentsam-arch-cad/SKILL.md +19 -0
- package/skills/agentsam-arch-cad/agentsam.skill.json +20 -0
- package/skills/agentsam-arch-codes/SKILL.md +19 -0
- package/skills/agentsam-arch-codes/agentsam.skill.json +20 -0
- package/skills/agentsam-arch-coordination/SKILL.md +19 -0
- package/skills/agentsam-arch-coordination/agentsam.skill.json +20 -0
- package/skills/agentsam-arch-documents/SKILL.md +19 -0
- package/skills/agentsam-arch-documents/agentsam.skill.json +20 -0
- package/skills/agentsam-arch-geometry/SKILL.md +19 -0
- package/skills/agentsam-arch-geometry/agentsam.skill.json +20 -0
- package/skills/agentsam-arch-materials/SKILL.md +19 -0
- package/skills/agentsam-arch-materials/agentsam.skill.json +20 -0
- package/skills/agentsam-arch-orchestrate/SKILL.md +21 -0
- package/skills/agentsam-arch-orchestrate/agentsam.skill.json +20 -0
- package/skills/agentsam-arch-specifications/SKILL.md +19 -0
- package/skills/agentsam-arch-specifications/agentsam.skill.json +20 -0
- package/skills/agentsam-arch-verify/SKILL.md +20 -0
- package/skills/agentsam-arch-verify/agentsam.skill.json +20 -0
- package/skills/agentsam-cad/SKILL.md +59 -0
- package/skills/agentsam-canvas-creation/SKILL.md +79 -0
- package/skills/agentsam-canvas-creation/references/creation-journey.md +55 -0
- package/skills/agentsam-canvas-creation/references/fullstack-creation-checklist.md +28 -0
- package/skills/agentsam-canvas-creation/references/quality-and-consistency.md +39 -0
- package/skills/agentsam-cms-ready-creation/SKILL.md +68 -0
- package/skills/agentsam-cms-ready-creation/references/cms-handoff-map.md +50 -0
- package/skills/agentsam-cms-ready-creation/references/web-fullstack-readiness.md +38 -0
- package/skills/agentsam-plan-and-goap/SKILL.md +90 -0
- package/skills/agentsam-repo-recon/SKILL.md +63 -0
- package/skills/agentsam-sam-operations/SKILL.md +71 -0
- package/skills/agentsam-sdk-orientation/SKILL.md +78 -0
- package/skills/catalog.json +416 -0
- package/src/AgentSam.js +2 -0
- package/src/agent/capability-adapter.js +210 -9
- package/src/agent/index.js +1 -0
- package/src/agent/intent.js +12 -0
- package/src/agent/project-discovery.js +47 -0
- package/src/agent/project-resources.js +157 -0
- package/src/agent/responses-runner.js +64 -12
- package/src/capabilities/cloudflare-d1-provision.js +48 -0
- package/src/capabilities/index.js +2 -0
- package/src/capabilities/knowledge-operations.js +87 -0
- package/src/capabilities/local-sqlite-resources.js +124 -0
- package/src/capabilities/machine-inspect.js +28 -0
- package/src/capabilities/mcp-d1-bridge.js +98 -0
- package/src/capabilities/plan-operation-ids.js +6 -0
- package/src/capabilities/plan-operations.js +85 -0
- package/src/capabilities/repository-awareness.js +52 -0
- package/src/capabilities/terminal-exec.js +16 -4
- package/src/capabilities/test-run.js +10 -0
- package/src/capabilities/workspace-files.js +181 -0
- package/src/cli/command-catalog.js +40 -4
- package/src/cli/desktop-launch.js +107 -0
- package/src/cli.js +116 -126
- package/src/commands/app.js +45 -46
- package/src/commands/autorag-node-api.js +96 -0
- package/src/commands/autorag.js +178 -17
- package/src/commands/catalog-doctor.js +52 -0
- package/src/commands/catalog.js +151 -0
- package/src/commands/cheat-sheet.js +92 -63
- package/src/commands/cloudflare.js +64 -2
- package/src/commands/codebaseindex.js +2 -2
- package/src/commands/db.js +17 -0
- package/src/commands/dockerize.js +11 -2
- package/src/commands/goals.js +59 -0
- package/src/commands/goap-world.js +4 -0
- package/src/commands/goap.js +48 -1
- package/src/commands/interactive.js +21 -1
- package/src/commands/knowledge.js +8 -3
- package/src/commands/machine-binary.js +3 -2
- package/src/commands/machine.js +66 -15
- package/src/commands/mcp.js +175 -21
- package/src/commands/memory.js +102 -0
- package/src/commands/package.js +1 -1
- package/src/commands/plan-ledger.js +60 -22
- package/src/commands/plan.js +3 -3
- package/src/commands/plugins.js +81 -9
- package/src/commands/product.js +21 -0
- package/src/commands/rust.js +4 -1
- package/src/commands/sam-evidence.js +87 -0
- package/src/commands/sam-media.js +78 -0
- package/src/commands/sam.js +132 -0
- package/src/commands/shell.js +114 -8
- package/src/commands/site-scrape.js +9 -0
- package/src/commands/skill.js +1 -1
- package/src/commands/start-local.js +29 -1
- package/src/context/resolve.js +5 -1
- package/src/index.js +13 -0
- package/src/indexing/ingest/style-evidence.js +10 -6
- package/src/knowledge/d1-schema.js +65 -0
- package/src/knowledge/engine.js +55 -15
- package/src/knowledge/source.js +8 -0
- package/src/knowledge/store-discovery.js +9 -3
- package/src/knowledge/stores/sqlite.js +8 -0
- package/src/knowledge/wrangler-binding-discovery.js +43 -0
- package/src/lib/agent-instructions.js +29 -5
- package/src/lib/auth.js +46 -7
- package/src/lib/cad/delivery-profiles.d.ts +7 -0
- package/src/lib/cad/delivery-profiles.js +122 -0
- package/src/lib/cad/discovery.js +6 -1
- package/src/lib/cad/docker-executor.js +1 -1
- package/src/lib/cad/editable-project-contract.js +81 -0
- package/src/lib/cad/index.js +6 -0
- package/src/lib/cad/occt-native-provider.mjs +3 -0
- package/src/lib/cad/openscad.js +13 -1
- package/src/lib/cad/production-operations.d.ts +8 -0
- package/src/lib/cad/production-operations.js +74 -0
- package/src/lib/cad/project-cli.d.ts +1 -1
- package/src/lib/cad/project-contract.js +1 -1
- package/src/lib/cad/project-runtime.d.ts +1 -1
- package/src/lib/cad/project-runtime.js +64 -3
- package/src/lib/cad/project-tools.js +24 -0
- package/src/lib/cad/project-v2.d.ts +76 -0
- package/src/lib/cad/project-v2.js +325 -0
- package/src/lib/cad-docker.js +96 -16
- package/src/lib/deploy/local-studio.js +9 -1
- package/src/lib/dockerize.js +5 -5
- package/src/lib/execution-approvals.js +29 -3
- package/src/lib/scaffold/wizards/cms.js +0 -79
- package/src/lib/terminal-scopes.js +5 -2
- package/src/local-fs/capability.js +5 -0
- package/src/local-lsp/host.js +2 -0
- package/src/local-pty/server.js +21 -0
- package/src/mcp/authority.js +26 -2
- package/src/mcp/browsermcp.js +28 -0
- package/src/mcp/client-adapters.js +22 -5
- package/src/mcp/client.js +35 -7
- package/src/mcp/oauth-connection.js +109 -0
- package/src/models/discovery.js +1 -373
- package/src/models/inventory-core.d.ts +21 -0
- package/src/models/inventory-core.js +46 -11
- package/src/plugins/browsermcp.js +47 -0
- package/src/plugins/contracts.js +8 -0
- package/src/plugins/creative.js +38 -0
- package/src/plugins/index.js +16 -0
- package/src/plugins/productization.js +348 -0
- package/src/plugins/registry.js +90 -75
- package/src/plugins/runtime.js +12 -3
- package/src/providers/factory.js +13 -0
- package/src/providers/gemini-generate-content.js +18 -0
- package/src/registry/generated/inventory.json +4152 -0
- package/src/registry/index.js +96 -0
- package/src/registry/turn-one.js +45 -0
- package/src/sam/adapters/local-media-store.js +71 -0
- package/src/sam/adapters/local-script-runtime.js +122 -0
- package/src/sam/adapters/local-script-store.js +103 -0
- package/src/sam/adapters/object-media-store.js +89 -0
- package/src/sam/adapters/workspace-media.js +78 -0
- package/src/sam/artifacts/render.js +94 -0
- package/src/sam/bridge/stdio.mjs +59 -0
- package/src/sam/client.js +269 -22
- package/src/sam/define.js +11 -2
- package/src/sam/index.js +31 -1
- package/src/sam/local-execution.js +8 -0
- package/src/sam/media/environment.js +96 -0
- package/src/sam/model-adapter.js +45 -0
- package/src/sam/operation-packs/generated-v2/background.js +54 -0
- package/src/sam/operation-packs/generated-v2/catalog.js +1746 -0
- package/src/sam/operation-packs/generated-v2/generated-execution-policies.json +401 -0
- package/src/sam/operation-packs/generated-v2/generated-tool-descriptors.json +1352 -0
- package/src/sam/operation-packs/generated-v2/glb.js +41 -0
- package/src/sam/operation-packs/generated-v2/inneranimalmedia-provider.js +24 -0
- package/src/sam/operation-packs/generated-v2/operation-pack.js +126 -0
- package/src/sam/operation-packs/generated-v2/raster.js +140 -0
- package/src/sam/operation-packs/generated-v2/scripts.js +63 -0
- package/src/sam/operation-packs/generated-v2/sdk-adapter.js +9 -0
- package/src/sam/operation-packs/generated-v2/test/alias-runtime.test.mjs +51 -0
- package/src/sam/operation-packs/generated-v2/test/background.test.mjs +19 -0
- package/src/sam/operation-packs/generated-v2/test/glb.test.mjs +19 -0
- package/src/sam/operation-packs/generated-v2/test/raster.test.mjs +38 -0
- package/src/sam/operation-packs/generated-v2/test/real-asset-bindings.test.mjs +74 -0
- package/src/sam/operation-packs/generated-v2/test/registration.test.mjs +65 -0
- package/src/sam/operation-packs/generated-v2/test/scripts.test.mjs +32 -0
- package/src/sam/operation-packs/generated-v2/test/superbash-client-integration.test.mjs +215 -0
- package/src/sam/operation-packs/generated-v2/tool-types.d.ts +53 -0
- package/src/sam/operations/architectural-knowledge.js +30 -0
- package/src/sam/operations/artifact-render.js +13 -0
- package/src/sam/operations/brand-scan.js +1 -1
- package/src/sam/operations/codebaseindex-ingest.js +1 -1
- package/src/sam/operations/decision-evaluate.js +1 -1
- package/src/sam/operations/package-audit.js +1 -1
- package/src/sam/operations/planning-astar.js +1 -1
- package/src/sam/operations/planning-goap.js +1 -1
- package/src/sam/operations/repository-inspect.js +13 -3
- package/src/sam/operations/robotics.js +45 -0
- package/src/sam/os.js +117 -0
- package/src/sam/packs/authoring/README.md +13 -0
- package/src/sam/packs/authoring/index.js +108 -0
- package/src/sam/packs/cad/http-ports.js +114 -0
- package/src/sam/packs/cad/index.js +158 -0
- package/src/sam/packs/cad/model-tools.js +22 -0
- package/src/sam/packs/cad/modes.js +87 -0
- package/src/sam/packs/cms/aliases.js +1 -0
- package/src/sam/packs/cms/contracts.js +1 -0
- package/src/sam/packs/cms/machine.js +6 -0
- package/src/sam/packs/cms/node.js +1 -0
- package/src/sam/packs/core.js +29 -0
- package/src/sam/packs/evidence/README.md +65 -0
- package/src/sam/packs/evidence/compare.js +98 -0
- package/src/sam/packs/evidence/contract.js +56 -0
- package/src/sam/packs/evidence/derive.js +59 -0
- package/src/sam/packs/evidence/driver-blender.js +96 -0
- package/src/sam/packs/evidence/driver-playwright.js +91 -0
- package/src/sam/packs/evidence/exporter-copro.js +70 -0
- package/src/sam/packs/evidence/facts.js +37 -0
- package/src/sam/packs/evidence/host-local.js +74 -0
- package/src/sam/packs/evidence/index.js +494 -0
- package/src/sam/packs/evidence/media.js +44 -0
- package/src/sam/packs/evidence/naming.js +67 -0
- package/src/sam/packs/evidence/normalize.js +117 -0
- package/src/sam/packs/evidence/review-page.js +102 -0
- package/src/sam/packs/evidence/screenplay.js +34 -0
- package/src/sam/packs/evidence/seal.js +55 -0
- package/src/sam/packs/evidence/serve.js +74 -0
- package/src/sam/packs/evidence/store-hosted.js +89 -0
- package/src/sam/packs/evidence/store.js +93 -0
- package/src/sam/packs/evidence/viewports.js +23 -0
- package/src/sam/robotics/chess-adapter.js +20 -0
- package/src/sam/robotics/franka.js +44 -0
- package/src/sam/robotics/index.js +4 -0
- package/src/sam/robotics/receipt.js +21 -0
- package/src/sam/robotics/world.js +57 -0
- package/src/sam/seed.js +10 -40
- package/src/sam/shell-host.js +120 -0
- package/src/sam/types.js +17 -98
- package/src/sam/validation.js +40 -0
- package/src/security/inventory.js +11 -9
- package/src/security/local-vault.js +6 -1
- package/src/skills/canvas-knowledge-core.js +1 -0
- package/src/skills/canvas-knowledge.js +8 -0
- package/src/skills/index.js +2 -0
- package/src/tools/registry.js +9 -11
- package/src/ui/art/geaux_boot.json +25 -0
- package/src/ui/boot.js +21 -20
- package/src/ui/cli/help.js +6 -0
- package/src/ui/companion-art.js +40 -0
- package/templates/clay/clay-blueprint-template.html +481 -0
- package/templates/clay/clay-case-study-blueprint.html +269 -0
- package/templates/clay/conversion-showcase-section.html +534 -0
- package/templates/clay/enhancing-conversion-section.html +141 -0
- package/templates/clay/nuant-wireframe.html +117 -0
- package/apps/client-cms-editor/AGENTS.md +0 -17
- package/apps/client-cms-editor/IMPORT_PROVENANCE.json +0 -8
- package/apps/client-cms-editor/README.md +0 -103
- package/apps/client-cms-editor/agentsam.app.json +0 -74
- package/apps/client-cms-editor/backend/README.md +0 -5
- package/apps/client-cms-editor/backend/package.json +0 -37
- package/apps/client-cms-editor/backend/src/api/client.ts +0 -233
- package/apps/client-cms-editor/backend/src/index.ts +0 -6
- package/apps/client-cms-editor/backend/src/model.ts +0 -11
- package/apps/client-cms-editor/backend/src/preview/bridge.ts +0 -79
- package/apps/client-cms-editor/backend/src/preview/urls.ts +0 -55
- package/apps/client-cms-editor/backend/src/routing/cms-route.js +0 -293
- package/apps/client-cms-editor/backend/src/routing/index.js +0 -10
- package/apps/client-cms-editor/backend/src/storefront.ts +0 -52
- package/apps/client-cms-editor/backend/tsconfig.json +0 -20
- package/apps/client-cms-editor/backend/worker/index.js +0 -34
- package/apps/client-cms-editor/backend/wrangler.jsonc +0 -11
- package/apps/client-cms-editor/bin/agentsam-cms.js +0 -262
- package/apps/client-cms-editor/bin/agentsam-cms.mjs +0 -3
- package/apps/client-cms-editor/frontend/index.html +0 -12
- package/apps/client-cms-editor/frontend/package.json +0 -40
- package/apps/client-cms-editor/frontend/src/AgentSamDrawer.tsx +0 -156
- package/apps/client-cms-editor/frontend/src/CmsAgentSurface.tsx +0 -36
- package/apps/client-cms-editor/frontend/src/adapters/heuristic.ts +0 -29
- package/apps/client-cms-editor/frontend/src/adapters/http-authoring.test.ts +0 -161
- package/apps/client-cms-editor/frontend/src/adapters/http.ts +0 -859
- package/apps/client-cms-editor/frontend/src/adapters/memory.ts +0 -510
- package/apps/client-cms-editor/frontend/src/editor/CmsEditor.tsx +0 -244
- package/apps/client-cms-editor/frontend/src/editor/CmsEditorProvider.tsx +0 -20
- package/apps/client-cms-editor/frontend/src/editor/canvas/PreviewCanvas.tsx +0 -53
- package/apps/client-cms-editor/frontend/src/editor/composition-groups.test.ts +0 -40
- package/apps/client-cms-editor/frontend/src/editor/legacy/CmsEditorPrototype.tsx +0 -1374
- package/apps/client-cms-editor/frontend/src/editor/useCmsEditorController.ts +0 -218
- package/apps/client-cms-editor/frontend/src/env.d.ts +0 -14
- package/apps/client-cms-editor/frontend/src/index.ts +0 -22
- package/apps/client-cms-editor/frontend/src/lib/agent-host.ts +0 -24
- package/apps/client-cms-editor/frontend/src/lib/content-safety.ts +0 -63
- package/apps/client-cms-editor/frontend/src/main.tsx +0 -91
- package/apps/client-cms-editor/frontend/src/mount.tsx +0 -113
- package/apps/client-cms-editor/frontend/src/styles/agentsam-drawer.css +0 -215
- package/apps/client-cms-editor/frontend/src/styles/cmsShell.css +0 -1739
- package/apps/client-cms-editor/frontend/src/styles/studio.css +0 -159
- package/apps/client-cms-editor/frontend/src/surfaces/CmsDashboard.tsx +0 -313
- package/apps/client-cms-editor/frontend/src/surfaces/CmsGuidedChatHero.tsx +0 -121
- package/apps/client-cms-editor/frontend/src/surfaces/CmsHubPage.tsx +0 -132
- package/apps/client-cms-editor/frontend/src/surfaces/CmsSiteSwitcher.tsx +0 -176
- package/apps/client-cms-editor/frontend/src/surfaces/index.ts +0 -5
- package/apps/client-cms-editor/frontend/src/surfaces/types.ts +0 -48
- package/apps/client-cms-editor/frontend/tsconfig.json +0 -55
- package/apps/client-cms-editor/frontend/vite.config.ts +0 -25
- package/apps/client-cms-editor/package-lock.json +0 -4671
- package/apps/client-cms-editor/package.json +0 -135
- package/apps/client-cms-editor/reference/DONOR_README.md +0 -52
- package/apps/client-cms-editor/reference/DONOR_package-lock.json +0 -1253
- package/apps/client-cms-editor/reference/DONOR_tsconfig.json +0 -15
- package/apps/client-cms-editor/reference/harvest/HARVEST_RECEIPT.json +0 -201
- package/apps/client-cms-editor/reference/harvest/PROVENANCE_HISTORY.txt +0 -10
- package/apps/client-cms-editor/reference/harvest/README.md +0 -8
- package/apps/client-cms-editor/reference/harvest/plans/ARCHIVE-INTAKE.md +0 -135
- package/apps/client-cms-editor/reference/harvest/plans/CHATGPT-IDENTITY-HARVEST.md +0 -83
- package/apps/client-cms-editor/reference/harvest/plans/CMS-EDITOR-HARVEST.md +0 -166
- package/apps/client-cms-editor/reference/harvest/plans/HARVEST-INDEX.md +0 -196
- package/apps/client-cms-editor/reference/harvest/plans/INNERANIMALS-CONTENT-001.md +0 -137
- package/apps/client-cms-editor/reference/harvest/plans/NO-IMPLICIT-SIDE-EFFECTS.md +0 -87
- package/apps/client-cms-editor/reference/harvest/plans/STOREFRONT-SURFACE-MAP.md +0 -140
- package/apps/client-cms-editor/reference/harvest/plans/THEME-INNERANIMALS-HARVEST.md +0 -137
- package/apps/client-cms-editor/reference/harvest/plans/TOOLING-LAB.md +0 -63
- package/apps/client-cms-editor/reference/harvest/plans/harvest-manifest.json +0 -97
- package/apps/client-cms-editor/reference/harvest/plans/local-cms-harvest-schema.sql +0 -328
- package/apps/client-cms-editor/shared/cms/package.json +0 -29
- package/apps/client-cms-editor/shared/cms/src/adapter.ts +0 -204
- package/apps/client-cms-editor/shared/cms/src/agent-context.ts +0 -37
- package/apps/client-cms-editor/shared/cms/src/cloudflare-bindings.ts +0 -51
- package/apps/client-cms-editor/shared/cms/src/editor-types.ts +0 -131
- package/apps/client-cms-editor/shared/cms/src/host.ts +0 -82
- package/apps/client-cms-editor/shared/cms/src/index.ts +0 -9
- package/apps/client-cms-editor/shared/cms/src/map.ts +0 -115
- package/apps/client-cms-editor/shared/cms/src/publication.ts +0 -24
- package/apps/client-cms-editor/shared/cms/src/routes.ts +0 -11
- package/apps/client-cms-editor/shared/cms/src/starter-pack.ts +0 -158
- package/apps/client-cms-editor/shared/cms/tsconfig.json +0 -12
- package/docs/client-cms-editor.md +0 -15
- package/packages/heuristic-theme/README.md +0 -11
- package/packages/heuristic-theme/package.json +0 -30
- package/packages/heuristic-theme/src/index.js +0 -2
- package/packages/heuristic-theme/src/registry.js +0 -36
- package/packages/heuristic-theme/src/theme.js +0 -41
- package/packages/heuristic-theme/test/theme.test.mjs +0 -26
- package/packages/theme-cypress/README.md +0 -11
- package/packages/theme-cypress/package.json +0 -44
- package/packages/theme-cypress/prebuild.json +0 -23
- package/packages/theme-cypress/site/assets/generated/favicon.svg +0 -7
- package/packages/theme-cypress/site/assets/generated/media-044ba16613.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-0a1ea6f6d9.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-0c06778307.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-1539ed373a.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-2df479fd2d.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-2e8bd0d9bc.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-41d4e2643c.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-46205bfde8.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-50c5f3e279.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-5f1467778c.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-6703642b22.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-87a490bc8e.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-997c10ef39.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-a423735c21.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-c9cea5245b.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-cab3c84c60.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-ce06595d59.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-d268905e7e.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-f6711b5053.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-manifest.json +0 -226
- package/packages/theme-cypress/site/assets/generated/social-card.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/theme-mark-192.png +0 -0
- package/packages/theme-cypress/site/assets/generated/theme-mark-512.png +0 -0
- package/packages/theme-cypress/site/assets/generated/theme-mark.svg +0 -7
- package/packages/theme-cypress/site/beliefs.html +0 -175
- package/packages/theme-cypress/site/community.html +0 -175
- package/packages/theme-cypress/site/connect.html +0 -319
- package/packages/theme-cypress/site/donate.html +0 -106
- package/packages/theme-cypress/site/groups.html +0 -1352
- package/packages/theme-cypress/site/help.html +0 -1
- package/packages/theme-cypress/site/icons/clock.svg +0 -4
- package/packages/theme-cypress/site/icons/email.svg +0 -4
- package/packages/theme-cypress/site/icons/giving.svg +0 -4
- package/packages/theme-cypress/site/icons/home.svg +0 -4
- package/packages/theme-cypress/site/icons/location.svg +0 -4
- package/packages/theme-cypress/site/icons/media.svg +0 -4
- package/packages/theme-cypress/site/icons/ministries.svg +0 -6
- package/packages/theme-cypress/site/icons/prayer.svg +0 -5
- package/packages/theme-cypress/site/icons/visit.svg +0 -6
- package/packages/theme-cypress/site/index.html +0 -1013
- package/packages/theme-cypress/site/mensgroup.html +0 -477
- package/packages/theme-cypress/site/mission.html +0 -512
- package/packages/theme-cypress/site/unified-footer.css +0 -172
- package/packages/theme-cypress/site/unified-footer.js +0 -175
- package/packages/theme-cypress/site/unified-header.css +0 -226
- package/packages/theme-cypress/site/unified-header.js +0 -111
- package/packages/theme-cypress/site/womansgroup.html +0 -452
- package/packages/theme-cypress/src/index.js +0 -76
- package/packages/theme-cypress/src/node.js +0 -69
- package/packages/theme-cypress/test/theme.test.mjs +0 -47
- package/packages/theme-ember/README.md +0 -11
- package/packages/theme-ember/package.json +0 -44
- package/packages/theme-ember/prebuild.json +0 -23
- package/packages/theme-ember/site/about.html +0 -1840
- package/packages/theme-ember/site/assets/generated/favicon.svg +0 -7
- package/packages/theme-ember/site/assets/generated/media-1e0b1e6ee6.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-2371dcb426.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-2db4f5ff9e.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-4ed07a756e.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-58182cf167.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-5b8b8472ae.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-71f4bd16a1.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-7c1c8120bc.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-832b176433.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-931439701c.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-c2860d40d1.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-c56974d198.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-cb83a44ff4.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-df02ccdfcf.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-fab72cd344.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-manifest.json +0 -190
- package/packages/theme-ember/site/assets/generated/social-card.webp +0 -0
- package/packages/theme-ember/site/assets/generated/theme-mark-192.png +0 -0
- package/packages/theme-ember/site/assets/generated/theme-mark-512.png +0 -0
- package/packages/theme-ember/site/assets/generated/theme-mark.svg +0 -7
- package/packages/theme-ember/site/community.html +0 -1664
- package/packages/theme-ember/site/index.html +0 -2044
- package/packages/theme-ember/site/shop.html +0 -2104
- package/packages/theme-ember/src/index.js +0 -76
- package/packages/theme-ember/src/node.js +0 -69
- package/packages/theme-ember/test/theme.test.mjs +0 -47
- package/packages/theme-forge/README.md +0 -11
- package/packages/theme-forge/package.json +0 -44
- package/packages/theme-forge/prebuild.json +0 -23
- package/packages/theme-forge/site/apple-touch-icon.png +0 -0
- package/packages/theme-forge/site/assets/generated/favicon.svg +0 -7
- package/packages/theme-forge/site/assets/generated/media-manifest.json +0 -17
- package/packages/theme-forge/site/assets/generated/social-card.webp +0 -0
- package/packages/theme-forge/site/assets/generated/theme-mark-192.png +0 -0
- package/packages/theme-forge/site/assets/generated/theme-mark-512.png +0 -0
- package/packages/theme-forge/site/assets/generated/theme-mark.svg +0 -7
- package/packages/theme-forge/site/assets/index-DBOqQVsA.css +0 -1
- package/packages/theme-forge/site/assets/index-pXC0o9jp.js +0 -241
- package/packages/theme-forge/site/assets/workbox-window.prod.es5-Bd17z0YL.js +0 -2
- package/packages/theme-forge/site/index.html +0 -5
- package/packages/theme-forge/site/manifest.webmanifest +0 -1
- package/packages/theme-forge/site/pwa-192x192.png +0 -0
- package/packages/theme-forge/site/pwa-512x512.png +0 -0
- package/packages/theme-forge/site/sw.js +0 -107
- package/packages/theme-forge/site/workbox-7e5eb42b.js +0 -3395
- package/packages/theme-forge/src/index.js +0 -76
- package/packages/theme-forge/src/node.js +0 -69
- package/packages/theme-forge/test/theme.test.mjs +0 -47
- package/packages/theme-grove/README.md +0 -11
- package/packages/theme-grove/package.json +0 -44
- package/packages/theme-grove/prebuild.json +0 -23
- package/packages/theme-grove/site/assets/generated/favicon.svg +0 -7
- package/packages/theme-grove/site/assets/generated/media-098b13d75a.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-0c064db1aa.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-0fbfef655e.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-14759c7460.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-19b23d2a8f.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-2012f04243.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-23b8c5e2bb.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-2bffb1a6ef.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-2e1523a5b0.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-31107c21f2.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-31373ec865.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-45e8e27542.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-4aa9846fe7.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-5476b24219.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-7a227d3e4b.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-b183eed550.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-b2c650f9ab.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-b5d7471694.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-c86498fdb4.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-ce2cfff9a1.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-cf41a5f324.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-ec6c01bf8d.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-manifest.json +0 -267
- package/packages/theme-grove/site/assets/generated/social-card.webp +0 -0
- package/packages/theme-grove/site/assets/generated/theme-mark-192.png +0 -0
- package/packages/theme-grove/site/assets/generated/theme-mark-512.png +0 -0
- package/packages/theme-grove/site/assets/generated/theme-mark.svg +0 -7
- package/packages/theme-grove/site/index.html +0 -1429
- package/packages/theme-grove/site/pages/contact.html +0 -664
- package/packages/theme-grove/site/pages/gallery.html +0 -216
- package/packages/theme-grove/site/pages/privacy.html +0 -180
- package/packages/theme-grove/site/pages/process.html +0 -592
- package/packages/theme-grove/site/pages/services.html +0 -567
- package/packages/theme-grove/site/pages/terms.html +0 -189
- package/packages/theme-grove/site/shared/footer.css +0 -140
- package/packages/theme-grove/site/shared/footer.html +0 -41
- package/packages/theme-grove/src/index.js +0 -76
- package/packages/theme-grove/src/node.js +0 -69
- package/packages/theme-grove/test/theme.test.mjs +0 -47
- package/packages/theme-harbor/README.md +0 -11
- package/packages/theme-harbor/package.json +0 -44
- package/packages/theme-harbor/prebuild.json +0 -23
- package/packages/theme-harbor/site/assets/generated/favicon.svg +0 -7
- package/packages/theme-harbor/site/assets/generated/media-manifest.json +0 -17
- package/packages/theme-harbor/site/assets/generated/social-card.webp +0 -0
- package/packages/theme-harbor/site/assets/generated/theme-mark-192.png +0 -0
- package/packages/theme-harbor/site/assets/generated/theme-mark-512.png +0 -0
- package/packages/theme-harbor/site/assets/generated/theme-mark.svg +0 -7
- package/packages/theme-harbor/site/assets/index-D58RKkr-.js +0 -239
- package/packages/theme-harbor/site/assets/index-Dd3YN9Mf.css +0 -1
- package/packages/theme-harbor/site/index.html +0 -15
- package/packages/theme-harbor/src/index.js +0 -76
- package/packages/theme-harbor/src/node.js +0 -69
- package/packages/theme-harbor/test/theme.test.mjs +0 -47
- package/packages/theme-resolve/README.md +0 -11
- package/packages/theme-resolve/package.json +0 -44
- package/packages/theme-resolve/prebuild.json +0 -23
- package/packages/theme-resolve/site/assets/generated/favicon.svg +0 -7
- package/packages/theme-resolve/site/assets/generated/media-216610d365.webp +0 -0
- package/packages/theme-resolve/site/assets/generated/media-2a9e0f623f.webp +0 -0
- package/packages/theme-resolve/site/assets/generated/media-a70660bfa9.webp +0 -0
- package/packages/theme-resolve/site/assets/generated/media-bc1322e813.webp +0 -0
- package/packages/theme-resolve/site/assets/generated/media-ced60fcecc.webp +0 -0
- package/packages/theme-resolve/site/assets/generated/media-manifest.json +0 -72
- package/packages/theme-resolve/site/assets/generated/social-card.webp +0 -0
- package/packages/theme-resolve/site/assets/generated/theme-mark-192.png +0 -0
- package/packages/theme-resolve/site/assets/generated/theme-mark-512.png +0 -0
- package/packages/theme-resolve/site/assets/generated/theme-mark.svg +0 -7
- package/packages/theme-resolve/site/assets/index-BSaLpPG1.css +0 -2
- package/packages/theme-resolve/site/assets/index-D8au46Z5.js +0 -17
- package/packages/theme-resolve/site/index.html +0 -22
- package/packages/theme-resolve/src/index.js +0 -69
- package/packages/theme-resolve/src/node.js +0 -69
- package/packages/theme-resolve/test/theme.test.mjs +0 -47
- package/packages/theme-scenes/src/registry.js +0 -170
- package/packages/theme-summit/README.md +0 -11
- package/packages/theme-summit/package.json +0 -44
- package/packages/theme-summit/prebuild.json +0 -23
- package/packages/theme-summit/site/adventures.html +0 -450
- package/packages/theme-summit/site/assets/generated/favicon.svg +0 -7
- package/packages/theme-summit/site/assets/generated/media-1e958ea679.webp +0 -0
- package/packages/theme-summit/site/assets/generated/media-9d4521abba.webp +0 -0
- package/packages/theme-summit/site/assets/generated/media-manifest.json +0 -39
- package/packages/theme-summit/site/assets/generated/social-card.webp +0 -0
- package/packages/theme-summit/site/assets/generated/theme-mark-192.png +0 -0
- package/packages/theme-summit/site/assets/generated/theme-mark-512.png +0 -0
- package/packages/theme-summit/site/assets/generated/theme-mark.svg +0 -7
- package/packages/theme-summit/site/business-card.html +0 -315
- package/packages/theme-summit/site/chatbot.js +0 -312
- package/packages/theme-summit/site/gallery.html +0 -524
- package/packages/theme-summit/site/i18n.js +0 -947
- package/packages/theme-summit/site/icons.svg +0 -87
- package/packages/theme-summit/site/index.html +0 -2415
- package/packages/theme-summit/site/pages/about.html +0 -100
- package/packages/theme-summit/site/pages/contact.html +0 -117
- package/packages/theme-summit/site/pages/dashboard.html +0 -111
- package/packages/theme-summit/site/pages/index.html +0 -129
- package/packages/theme-summit/site/pages/services.html +0 -125
- package/packages/theme-summit/site/shared/footer.html +0 -41
- package/packages/theme-summit/site/shared/layout.js +0 -315
- package/packages/theme-summit/site/shared/nav.html +0 -19
- package/packages/theme-summit/site/shared/styles.css +0 -696
- package/packages/theme-summit/site/theme-styles.css +0 -131
- package/packages/theme-summit/site/themes.js +0 -442
- package/packages/theme-summit/src/index.js +0 -76
- package/packages/theme-summit/src/node.js +0 -69
- package/packages/theme-summit/test/theme.test.mjs +0 -47
- package/packages/theme-violet/README.md +0 -11
- package/packages/theme-violet/package.json +0 -44
- package/packages/theme-violet/prebuild.json +0 -23
- package/packages/theme-violet/site/assets/generated/favicon.svg +0 -7
- package/packages/theme-violet/site/assets/generated/media-07b46d6457.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-09d38ddffc.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-254b0e2ad3.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-3a1b5c0a8d.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-3a78eb7d9d.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-49076977d8.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-6342d50dbd.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-646c65381e.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-7a5fb7c91a.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-9bbd133220.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-9e73307c2a.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-af382146a0.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-b2ae348b43.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-b8f43a3887.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-c96a3e1979.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-cd07daa54a.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-e03ab6b5fe.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-eae4917d25.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-f227ec5690.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-fb57ffd474.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-manifest.json +0 -245
- package/packages/theme-violet/site/assets/generated/social-card.webp +0 -0
- package/packages/theme-violet/site/assets/generated/theme-mark-192.png +0 -0
- package/packages/theme-violet/site/assets/generated/theme-mark-512.png +0 -0
- package/packages/theme-violet/site/assets/generated/theme-mark.svg +0 -7
- package/packages/theme-violet/site/global/cpas-contact.css +0 -405
- package/packages/theme-violet/site/global/cpas-donate-v2.css +0 -931
- package/packages/theme-violet/site/global/cpas-drawer-override.css +0 -1
- package/packages/theme-violet/site/global/cpas-footer.html +0 -38
- package/packages/theme-violet/site/global/cpas-header.html +0 -30
- package/packages/theme-violet/site/global/cpas-hero-watercolor.css +0 -275
- package/packages/theme-violet/site/global/cpas-modals.js +0 -802
- package/packages/theme-violet/site/global/cpas-public-surface.css +0 -982
- package/packages/theme-violet/site/global/cpas-shell.css +0 -3980
- package/packages/theme-violet/site/global/cpas-shell.js +0 -107
- package/packages/theme-violet/site/global/cpas-shelter-hub.css +0 -326
- package/packages/theme-violet/site/index.html +0 -141
- package/packages/theme-violet/site/pages/about/campaigns.html +0 -28
- package/packages/theme-violet/site/pages/about/cta.html +0 -25
- package/packages/theme-violet/site/pages/about/hero.html +0 -46
- package/packages/theme-violet/site/pages/about/paths.html +0 -24
- package/packages/theme-violet/site/pages/about/why_we_exist.html +0 -28
- package/packages/theme-violet/site/pages/home/campaigns.html +0 -67
- package/packages/theme-violet/site/pages/home/hero.html +0 -42
- package/packages/theme-violet/site/pages/home/how-it-helps.html +0 -32
- package/packages/theme-violet/site/pages/home/impact-stats.html +0 -31
- package/packages/theme-violet/site/pages/home/mission.html +0 -36
- package/packages/theme-violet/site/pages/home/newsletter.html +0 -29
- package/packages/theme-violet/site/pages/home/transport-win.html +0 -22
- package/packages/theme-violet/site/pages/index.html +0 -141
- package/packages/theme-violet/src/index.js +0 -76
- package/packages/theme-violet/src/node.js +0 -69
- package/packages/theme-violet/test/theme.test.mjs +0 -47
- /package/{apps/client-cms-editor → python}/LICENSE +0 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# AgentSam canonical discovery and knowledge first slice
|
|
2
|
+
|
|
3
|
+
Status: implemented as an incremental SDK feature. Model/provider, standalone
|
|
4
|
+
CLI and native host acceptance are separate evidence levels.
|
|
5
|
+
|
|
6
|
+
## Canonical surfaces
|
|
7
|
+
|
|
8
|
+
The canonical registry is src/registry/index.js. Its capability.search,
|
|
9
|
+
capability.describe, capability.status and capability.invoke tools share the
|
|
10
|
+
same query and handler status. tools.search delegates to the same discovery
|
|
11
|
+
function; it is not another catalog. The model's first tool schema selection
|
|
12
|
+
reserves four bootstrap slots for search/describe/status/invoke, filling remaining
|
|
13
|
+
slots with task-specific capability cards from the bound adapter.
|
|
14
|
+
|
|
15
|
+
capability.invoke is delegated-execution risk, never inherently read-only.
|
|
16
|
+
The host must approve the actual invoked operation with its side effects; direct
|
|
17
|
+
tools also use the runner's beforeTool approval. Missing native Machine tools
|
|
18
|
+
are not advertised as available.
|
|
19
|
+
|
|
20
|
+
## Bound repository and knowledge operations
|
|
21
|
+
|
|
22
|
+
| Capability | Implementation | Execution boundary |
|
|
23
|
+
| --- | --- | --- |
|
|
24
|
+
| project.discover | src/agent/project-discovery.js | Read-only existing npm, Wrangler/Vectorize/D1/R2, knowledge, Python, Rust, MCP signals |
|
|
25
|
+
| repository.snapshot | Existing snapshot engine | Runtime-owned project root, bounded churn |
|
|
26
|
+
| repository.intelligence | Existing Python deterministic historian | Runtime-owned root, bounded process output/time |
|
|
27
|
+
| machine.inspect | Installed Rust Machine | Runtime-owned root; local evidence artifacts, source read-only |
|
|
28
|
+
| repository.crawl | Machine evidence -> repository graph | Bounded summary back to model, full graph stays local |
|
|
29
|
+
| repository.mine | Machine graphs -> refinery candidates | Second repo explicitly allowed by host |
|
|
30
|
+
| knowledge.index | Existing SQLite knowledge engine | Plan/read and approved local index run; no automatic embedding |
|
|
31
|
+
| knowledge.search | Existing knowledge retrieval | Configured scope and active generation, top-k/token budgets |
|
|
32
|
+
| context.resolve | Existing context budget resolver | Bounded supplied evidence, no arbitrary repository scan |
|
|
33
|
+
|
|
34
|
+
An unavailable index never launches a rebuild. The knowledge.search status
|
|
35
|
+
probe checks whether the current configured scope has an active SQLite
|
|
36
|
+
generation. It reports missing or scope-mismatched generations without silently
|
|
37
|
+
switching to a historical generation owned by another scope.
|
|
38
|
+
|
|
39
|
+
## Adaptive first-run behavior
|
|
40
|
+
|
|
41
|
+
After a user explicitly trusts a project, the existing Clack first-run sequence
|
|
42
|
+
can offer read-only recommendations based on the tooling already present.
|
|
43
|
+
Declining proceeds directly to AgentSam. Accepting only displays proposed
|
|
44
|
+
reuse options, never provisions Vectorize, rewrites Wrangler, selects a provider
|
|
45
|
+
or changes deployment target. project.discover provides that read-only evidence
|
|
46
|
+
again in later agent turns.
|
|
47
|
+
|
|
48
|
+
## Verification
|
|
49
|
+
|
|
50
|
+
Run npm run verify:registry, node --test test/responses-runner.test.mjs,
|
|
51
|
+
node --test test/integration/tool-schema.test.mjs and the existing Superbash
|
|
52
|
+
scripts tests in src/sam/operation-packs/generated-v2/test/.
|
|
53
|
+
|
|
54
|
+
The tests cover local SQLite index/search, a deterministic fake model calling
|
|
55
|
+
search -> describe -> status -> authorized invoke through the real runner,
|
|
56
|
+
denied calls, unauthorized repository escapes, and existing infrastructure
|
|
57
|
+
detected without mutation. Native Machine and Python intelligence are also
|
|
58
|
+
exercised separately on small real repositories.
|
|
59
|
+
|
|
60
|
+
## Known limitations
|
|
61
|
+
|
|
62
|
+
- Existing Cloudflare Vectorize/pgvector pipelines are discovered, not
|
|
63
|
+
automatically adopted without an explicit authorized adapter.
|
|
64
|
+
- Native Machine scans may write local evidence artifacts under .agentsam,
|
|
65
|
+
even though they do not modify tracked source files.
|
|
66
|
+
- Local Studio hosted/desktop chat parity is NOT proven by the CLI runner tests.
|
|
67
|
+
- The optional TUI prompt has a tested detector but not cross-platform
|
|
68
|
+
pseudoterminal interaction coverage.
|
|
69
|
+
- Provider API inference is simulated for the runner test; it is not a live
|
|
70
|
+
paid model inference test.
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# AgentSam — reusable themes, templates and apps
|
|
2
|
+
|
|
3
|
+
> **Contract SSOT (2026-10-31):** `protocol/product-releases/README.md` +
|
|
4
|
+
> `migrations/runtime/0011_agentsam_product_releases.sql`.
|
|
5
|
+
> Product identity = live `agentsam_products`. Versioned artifacts =
|
|
6
|
+
> `agentsam_product_releases`. Use this canonical release table; do **not** introduce a desktop-only registry.
|
|
7
|
+
|
|
8
|
+
## Product lifecycle decision
|
|
9
|
+
|
|
10
|
+
Separate authored source Git repos, immutable built artifacts, catalog metadata
|
|
11
|
+
and per-customer installations. Do not copy a theme per customer or put ZIPs
|
|
12
|
+
in D1. A read-only preview is not proof of a production CMS installer.
|
|
13
|
+
|
|
14
|
+
The working first product is theme-plain-jane-starter v0.1.0. Its original
|
|
15
|
+
source is SamPrimeaux/inneranimalmedia-blog-template, pinned in
|
|
16
|
+
packages/theme-plain-jane/provenance.json. The SDK compiles the real source
|
|
17
|
+
and exports its manifest. Resolve and Violet retain their existing packages.
|
|
18
|
+
|
|
19
|
+
1. Author in GitHub and pin the source SHA.
|
|
20
|
+
2. Build package and typed CMS manifest; keep original visual components.
|
|
21
|
+
3. Prove TypeScript, deep links, metadata/SEO, accessibility, install schema,
|
|
22
|
+
tenant ownership, rollback, asset integrity, CSP and license.
|
|
23
|
+
4. Review in local Theme Studio and produce a staged candidate, not an install.
|
|
24
|
+
5. Release immutable SHA-256-named ZIP/TAR assets and preview imagery to R2.
|
|
25
|
+
6. Store SKU/version, compatibility, release state, entitlement, artifact hash,
|
|
26
|
+
preview URI and category in the existing D1 catalog structures.
|
|
27
|
+
7. Install through an authenticated backend with schema compatibility checks,
|
|
28
|
+
staging, idempotency keys, tenant isolation and an install receipt.
|
|
29
|
+
8. Publish in a separate explicitly authorized transaction; retain rollback
|
|
30
|
+
and customer-specific customization history.
|
|
31
|
+
|
|
32
|
+
The shared catalog product contract should include sku, kind, package,
|
|
33
|
+
version, source_sha, preview_url, cms_manifest_url, artifact_url, sha256,
|
|
34
|
+
runtime_requirements, compatible_schema_version, entitlement policy,
|
|
35
|
+
review_status, release_status and install_status. Only the backend can assign
|
|
36
|
+
installed, purchased or published from authoritative records.
|
|
37
|
+
|
|
38
|
+
### Canonical storage roles
|
|
39
|
+
|
|
40
|
+
GitHub: authored source, review and release tags.
|
|
41
|
+
AgentSam SDK: package manifests, component contracts, build/test commands.
|
|
42
|
+
Cloudflare R2: immutable compiled storefronts, source media and archives.
|
|
43
|
+
D1: products, releases, entitlements, per-site installs, install jobs/receipts.
|
|
44
|
+
Workers/app API: auth, catalog, safe download grants and install orchestration.
|
|
45
|
+
Customer CMS: actual owned pages, sections, blocks, media and overrides.
|
|
46
|
+
|
|
47
|
+
### UI integration
|
|
48
|
+
|
|
49
|
+
Local SDK: /admin/store browses original packaged previews and links to Studio.
|
|
50
|
+
It offers a preview-only ZIP and cannot publish, install or charge a customer.
|
|
51
|
+
|
|
52
|
+
Fuel N Free Time: its authenticated online store and CMS page picker should use
|
|
53
|
+
the same catalog API; publishing remains separate and versioned. The localhost
|
|
54
|
+
preview endpoint must NOT become its production backend by simple copying.
|
|
55
|
+
|
|
56
|
+
AgentSam /sites: repair empty/loading/error active-theme previews, offer Retry,
|
|
57
|
+
and add Browse Templates beside site management. Show source-backed gallery
|
|
58
|
+
cards, real live demos, compatibility and install status. Preview themes are
|
|
59
|
+
never displayed as the active site theme.
|
|
60
|
+
|
|
61
|
+
Apps: reuse catalog, releases, entitlements, installation logs and receipts.
|
|
62
|
+
Apps additionally require explicit permissions and connection setup. Do not
|
|
63
|
+
build a second marketplace for apps.
|
|
64
|
+
|
|
65
|
+
### Next guarded implementation wave
|
|
66
|
+
|
|
67
|
+
- Reconcile the Journal seed's 11 tables with canonical D1 migrations; keep
|
|
68
|
+
existing site-specific CMS rows as authority and avoid parallel legacy tables.
|
|
69
|
+
- Implement authenticated product/release catalog readers and licensed assets.
|
|
70
|
+
- Implement staging install/upgrade/uninstall with validation, rollback receipts,
|
|
71
|
+
conflict detection, idempotency and per-tenant authorization.
|
|
72
|
+
- Run browser-level visual, route and SEO verification. Chrome headless exited
|
|
73
|
+
before render during this local build, so visual acceptance is not claimed.
|
|
74
|
+
- Confirm commercial license, source provenance, accessibility and customer
|
|
75
|
+
entitlement before setting a product publicly available for sale.
|
|
76
|
+
- Consolidate the upstream Journal's two SEO implementations (cms.ts and
|
|
77
|
+
useSEO.ts) into one tested hook before a public release.
|
|
78
|
+
|
|
79
|
+
This local archive proves packing and static materialization, not checkout,
|
|
80
|
+
authenticated content CRUD, or a live customer installation.
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
# AgentSam Registry / CLI / Agent Parity (incremental v1)
|
|
2
|
+
|
|
3
|
+
The root @inneranimalmedia/agentsam-sdk is the canonical agent harness product.
|
|
4
|
+
bin/agentsam remains the thin executable entry. src/ owns the model loop,
|
|
5
|
+
CLI interfaces, registry and binding adapters. packages/ exports reusable
|
|
6
|
+
capability implementations; apps/ consume the harness instead of forking it.
|
|
7
|
+
|
|
8
|
+
This first integration is intentionally NOT a full CLI-to-agent conversion.
|
|
9
|
+
|
|
10
|
+
## Inventory ownership
|
|
11
|
+
|
|
12
|
+
- src/cli/command-catalog.js: canonical human CLI command descriptions.
|
|
13
|
+
- protocol/capabilities/manifest.json: canonical declarations, schema and effects.
|
|
14
|
+
- src/agent/capability-adapter.js: concrete invokable handler bindings.
|
|
15
|
+
- packages/*/agentsam.package.json and two extra workspace package manifests:
|
|
16
|
+
package product descriptions, install metadata and authored classifications.
|
|
17
|
+
- src/registry/index.js: pure joined view over those authorities (not a second
|
|
18
|
+
command dispatcher).
|
|
19
|
+
- scripts/registry/generate.mjs: deterministic generated registry with command
|
|
20
|
+
usage and package use_when values derived from actual descriptions or mapped
|
|
21
|
+
capability commands. Unproven runtime statuses stay unverified.
|
|
22
|
+
- agentsam.yaml packages.inventory and cli.commands: generated; hand-curated
|
|
23
|
+
root package configuration under packages remains intact.
|
|
24
|
+
|
|
25
|
+
Existing user-facing commands:
|
|
26
|
+
|
|
27
|
+
agentsam capabilities
|
|
28
|
+
agentsam capabilities --inventory --json
|
|
29
|
+
agentsam capabilities --inventory --commands --search machine
|
|
30
|
+
agentsam capabilities --inventory --packages --search workbench
|
|
31
|
+
agentsam explain command machine
|
|
32
|
+
agentsam explain package agentsam-local-shared
|
|
33
|
+
agentsam explain capability workspace.write
|
|
34
|
+
|
|
35
|
+
No new agentsam catalog command exists.
|
|
36
|
+
|
|
37
|
+
## Agent discovery
|
|
38
|
+
|
|
39
|
+
The CLI agent capability adapter now exposes:
|
|
40
|
+
- capability.search
|
|
41
|
+
- capability.describe
|
|
42
|
+
- capability.status
|
|
43
|
+
- capability.invoke
|
|
44
|
+
|
|
45
|
+
invoke requires an actual bound handler, a first-family allowlist, and a host
|
|
46
|
+
authorization callback. Unbound and unavailable tools return an explicit reason.
|
|
47
|
+
The outer model loop still controls tool-call approval and run budgets.
|
|
48
|
+
|
|
49
|
+
First bound families: repository.snapshot, knowledge.search, machine.inspect
|
|
50
|
+
(only advertised when native resolution exists), workspace.read, workspace.write,
|
|
51
|
+
terminal.exec, test.run. Other declared capabilities may be executable via
|
|
52
|
+
existing handlers but are not universally mapped from all CLI commands.
|
|
53
|
+
|
|
54
|
+
Filesystem read/write roots are supplied by the host, never selected from the
|
|
55
|
+
active terminal tab. Relative paths remain under the real project root;
|
|
56
|
+
protected .git, node_modules and environment files are excluded. Updating an
|
|
57
|
+
existing file requires its expected SHA-256. Write/test/terminal operations
|
|
58
|
+
remain approval-requiring; terminal commands execute with the project root
|
|
59
|
+
supplied by the host.
|
|
60
|
+
|
|
61
|
+
This does not claim that the host is a sandbox against an approved subprocess.
|
|
62
|
+
Operator execution permissions are still a trust boundary.
|
|
63
|
+
|
|
64
|
+
## CLI error work
|
|
65
|
+
|
|
66
|
+
The error package exports usageError / processError / renderCliError, preserving
|
|
67
|
+
the canonical error catalog, context and exit status.
|
|
68
|
+
|
|
69
|
+
- Usage errors: exit 2.
|
|
70
|
+
- Runtime execution failures: exit 1.
|
|
71
|
+
- Local human errors do not claim HTTP 500.
|
|
72
|
+
- JSON output retains the canonical envelope and redacted CLI context.
|
|
73
|
+
- Machine command migrated first.
|
|
74
|
+
- Bare agentsam rust now prints guidance.
|
|
75
|
+
- Root --help dispatches without launching commands.
|
|
76
|
+
- The outer cli.js boundary catches previously unwrapped throws.
|
|
77
|
+
|
|
78
|
+
The plain-command-Error count is a **legacy debt baseline**. CI blocks new
|
|
79
|
+
instances per file but does not claim that every command has been converted.
|
|
80
|
+
Continue with rust, setup, status, resume, credentials, models and deploy.
|
|
81
|
+
|
|
82
|
+
Generated error vocabulary reference:
|
|
83
|
+
docs/reference/AGENTSAM-ERROR-REASONS.md.
|
|
84
|
+
|
|
85
|
+
## Turn-one context audit
|
|
86
|
+
|
|
87
|
+
CLI operator opt-in only (absolute destination path, private 0600, one-shot):
|
|
88
|
+
|
|
89
|
+
AGENTSAM_TURN1_AUDIT_FILE=/tmp/agentsam-cli-turn-one.json agentsam
|
|
90
|
+
|
|
91
|
+
When a model turn actually runs, its **pre-provider-adapter** input, system
|
|
92
|
+
instructions, selected tool schemas and context receipt are saved. These may
|
|
93
|
+
contain private or credential-like text. Never commit or upload these dumps.
|
|
94
|
+
|
|
95
|
+
Local Studio streamChat now supports onPreparedTurn(payload), which receives
|
|
96
|
+
the exact outbound message list to the local provider bridge or hosted chat API.
|
|
97
|
+
It is not yet connected to an interactive debug UI or persisted desktop audit
|
|
98
|
+
artifact. The hosted API and provider adapter may further transform messages;
|
|
99
|
+
the capture is NOT proof of exact provider-native wire bytes.
|
|
100
|
+
|
|
101
|
+
After capturing local files explicitly, use:
|
|
102
|
+
|
|
103
|
+
node scripts/registry/compare-turn-one.mjs /tmp/cli.json /tmp/studio.json
|
|
104
|
+
|
|
105
|
+
The comparator reports message roles, tool names, schema sizes and context
|
|
106
|
+
character counts without dumping full prompt text in its output. The actual
|
|
107
|
+
pre-provider capture remains in the two source files.
|
|
108
|
+
|
|
109
|
+
For simple, unambiguously general knowledge questions, the CLI runner does not
|
|
110
|
+
build a repository card or hydrate tools. More specific project-related prompts
|
|
111
|
+
retain contextual perception. Local Studio's corresponding context discipline
|
|
112
|
+
comes from its separate stream/chat policy; unify the runners next.
|
|
113
|
+
|
|
114
|
+
## Verification
|
|
115
|
+
|
|
116
|
+
npm run verify:registry
|
|
117
|
+
npm --prefix packages/agentsam-errors test
|
|
118
|
+
|
|
119
|
+
CI checks catalog and generated-file drift, first-family agent handler binding,
|
|
120
|
+
CLI help/usage behavior, errors and workspace path protection.
|
|
121
|
+
|
|
122
|
+
## Not yet READY / follow-up work
|
|
123
|
+
|
|
124
|
+
- Local Studio still streams text through its separate provider path. It must
|
|
125
|
+
consume the same canonical tool execution and event/receipt runtime before
|
|
126
|
+
desktop agent parity can be claimed.
|
|
127
|
+
- Actual CLI-vs-Local Studio model calls have not yet been captured and compared.
|
|
128
|
+
- Full provider-native wire tracing requires the host adapter boundary.
|
|
129
|
+
- All CLI command errors are not yet typed; see the plain-error baseline.
|
|
130
|
+
- Remaining CLI command usage, avoid_when and package classification data
|
|
131
|
+
should be classified only when source-backed, never inferred as verified.
|
|
132
|
+
- Build automated fixtures for real Machine inspection, authorized file
|
|
133
|
+
write, test runner and packaged macOS app invocation before READY.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# AgentSam Account-First Authority and Real Metrics V2
|
|
2
|
+
|
|
3
|
+
## Authority — one account, optional contexts
|
|
4
|
+
- Authenticate user, then resolve the canonical `account_id`/`auth_user_id` from the identity/session provider. Never take ownership from URL/body/workspace.
|
|
5
|
+
- A project is an optional grouping of resources (`project_id`) that must pass an account-owned resource lookup.
|
|
6
|
+
- A workspace is optional **execution/collaboration context**, not an ownership requirement or provisioning prerequisite. Use ephemeral isolation for separate agent lanes.
|
|
7
|
+
- Account-first contract: `packages/agentsam-contracts/src/resource-scope.ts` (`agentsam.resource-scope.v2`).
|
|
8
|
+
- Spawn policy is a separate, host-enforced authority in `agentsam.spawn-policy.v2`. Production host must resolve account budgets explicitly and validate any optional workspace override. No fallback from another user's workspace, profile default, or arbitrary caller string.
|
|
9
|
+
|
|
10
|
+
## Actual D1 tables, not invented aggregates
|
|
11
|
+
- `agentsam_tool_call_log`: canonical per-tool execution receipts. Indexed by `(account_id, created_at_unix)` via `idx_tool_call_account_time`. `tool_key`, `status`, `duration_ms`, `cache_hit`, `cost_usd`, `agent_run_id`, `conversation_id` provide truthful measurements.
|
|
12
|
+
- `agentsam_tool_stats_compacted`: intended derived per-tool/day read model, **empty during the 2026-10-28 audit**; do not drive charts from it until the compactor is implemented and reconciled.
|
|
13
|
+
- `agentsam_analytics`: separate normalized event stream, one row in audit; cannot be substituted for the canonical tool execution ledger.
|
|
14
|
+
- `agentsam_usage_rollups_daily`: 259 populated rows at audit, source coverage must be documented before merging with tool logs; prevent double counting.
|
|
15
|
+
- `agentsam_agent_run`: three runs at audit; separately recorded usage; do not infer that three runs equals all account activity.
|
|
16
|
+
- `projects`: existing project authority currently populated (39 records at audit); scope access by owner, not a requested workspace.
|
|
17
|
+
- `agentsam_projects`: 0 rows at audit. Treat as an optional projection requiring explicit reconciliation, not an empty authoritative replacement.
|
|
18
|
+
- D1 stores indexed structured measurements, revision links and job state; R2 stores binaries and immutable artifacts. Local SQLite caches are never the hosted authority.
|
|
19
|
+
|
|
20
|
+
## Implemented API & UI
|
|
21
|
+
- `GET /api/analytics/tool-usage?range=24h|7d|30d|90d|YTD|All` authenticates the account session, binds `account_id` to SQL, and returns `agentsam.tool-usage.v2`.
|
|
22
|
+
- No `account_id`, `workspace_id`, or owner override accepted from query/body. Bridge-only clients without verified account identity are denied on this endpoint.
|
|
23
|
+
- The packaged `agentsam-analytics` Tools tab defaults to canonical event metrics. Missing coverage/cost is not imputed.
|
|
24
|
+
- Compatibility tests verify tool aggregation input contract, account binding, read-model coverage and null-safe zero rates.
|
|
25
|
+
|
|
26
|
+
## Release blockers and follow-on migration
|
|
27
|
+
1. Existing legacy `/api/analytics/overview|usage|performance|health|scores` queries still read `agentsam_analytics` without account filters. They must be migrated and tested before production exposure across multiple accounts. Do not regard them as account-safe merely because the new tool endpoint is scoped.
|
|
28
|
+
2. Integrate actual hosted spawn policy with the account-first contract and authenticated optional workspace membership; account-default policy has null spending caps and spawning disabled while the `ws_inneranimalmedia` policy has $5/$2 caps and spawning enabled. Do not change account-wide authorization implicitly.
|
|
29
|
+
3. Implement event-to-rollup reconciliation and measured cost attribution, with daily/account/tool grain and duplicate prevention. Compare compacted statistics against canonical log counts.
|
|
30
|
+
4. Reconcile `projects` and `agentsam_projects` identities without creating duplicate project rows. Add project/job/artifact outcome KPIs from their actual D1 sources and versioned R2 receipts.
|
|
31
|
+
5. Verify login, account isolation, metrics UI and per-surface parity in a real browser. No hosted merge/deploy yet.
|
|
32
|
+
|
|
33
|
+
## Current local package revisions
|
|
34
|
+
- `@inneranimalmedia/agentsam-contracts` 2.6.15 — resource-scope.v2 and spawn-policy.v2 contracts.
|
|
35
|
+
- `@inneranimalmedia/agentsam-analytics` 2.6.14 — account-scoped Tools read model and UI.
|
|
36
|
+
- `@inneranimalmedia/agentsam-local-studio` 2.6.14 — account-authenticated Tools API host and packaged shell.
|
|
37
|
+
|
|
38
|
+
The source worktree contains unrelated staged work. Commit only reviewed scoped files after UI/host acceptance. Never bulk-stage.
|
|
@@ -4,6 +4,12 @@
|
|
|
4
4
|
**Schema:** `protocol/apps/agentsam.app.v1.schema.json`
|
|
5
5
|
**CLI:** `agentsam app validate` · `agentsam app list` · `agentsam app inspect <id>`
|
|
6
6
|
|
|
7
|
+
## Runtime installation versus distribution
|
|
8
|
+
|
|
9
|
+
`agentsam app list` / `inspect` / `validate` discover and validate APP manifests in the current source checkout. The current `agentsam app install <id>` implementation **prints** the manifest's npm/curl distribution command; it does not execute an install, create account-scoped host state, update installed-app records, or activate a Local Studio route.
|
|
10
|
+
|
|
11
|
+
`included_apps` and `embed` control **build-time packaging**. Installing an APP after Local Studio is already downloaded requires an actual runtime installation record, permission/connection checks, launcher/mount resolution, and verification/receipt. That must be distinct from npm installation, native `agentsam setup` recipes, and plugin OAuth registration. A manifested product can be genuine and usable before that particular host-install bridge is finished.
|
|
12
|
+
|
|
7
13
|
## Artifact taxonomy
|
|
8
14
|
|
|
9
15
|
| Type | Meaning | Canonical manifest |
|
|
@@ -186,3 +192,40 @@ app Studio APP / host
|
|
|
186
192
|
```
|
|
187
193
|
|
|
188
194
|
Goal is **not** one identifier everywhere. Goal is **one canonical identifier per namespace**, with explicit relationships between namespaces.
|
|
195
|
+
|
|
196
|
+
## Product-family and navigation boundaries
|
|
197
|
+
|
|
198
|
+
These boundaries are binding for Local Studio, the public CAD experience, and future desktop app distribution.
|
|
199
|
+
|
|
200
|
+
### Product identities
|
|
201
|
+
|
|
202
|
+
- **Local Studio is the host shell.** It owns identity/session presentation, global navigation, app discovery, installed-app state, projects, search, settings, and the shared AgentSam assistant surface. It does not absorb every product's specialist UI.
|
|
203
|
+
- **CAD Creator and SamSketch are separate APPs.** Their canonical identities remain `cad-creator` and `samsketch`, each with its own `agentsam.app.json`, route, release, and user experience. CAD Creator remains the engineering-oriented CAD workspace. SamSketch remains the visual, Spline-inspired scene-authoring experience. They may share host services, project references, selection/context contracts, and AgentSam assistance; they must not redirect into one another or be presented as one interchangeable editor.
|
|
204
|
+
- **DreamHouse is an owner project, not an APP.** It belongs in the project registry and is opened from the CAD Creator project workflow. It must not acquire a product manifest, installed-app entry, or standalone top-level route. Owner-project loading must fail visibly if the local project authority is unavailable; it must not silently substitute a public example.
|
|
205
|
+
- **A product family is a catalog grouping, not a route merge.** CAD Creator and SamSketch may be discoverable together under a CAD & 3D family, while remaining separately launchable/installable APPs.
|
|
206
|
+
- **Do not create a separate APP identity for a capability just because it has a tool, tab, or workspace name.** A capability becomes an installable APP only when it has an owned manifest, package/release, runtime contract, and installation behavior.
|
|
207
|
+
|
|
208
|
+
### Navigation responsibilities
|
|
209
|
+
|
|
210
|
+
- Global shell navigation exposes host-level destinations and the separately installed apps.
|
|
211
|
+
- Each app owns its specialist toolbar, layouts, panels, tools, and contextual menus. Shared design-system components may be reused; product interaction models must not be homogenized.
|
|
212
|
+
- The **Apps +** affordance opens the app catalog/discovery flow. The installed-app list is derived from host installation state, not a hard-coded list pretending every catalog product is installed.
|
|
213
|
+
- Dropdowns organize contextual layouts and actions. They should progressively reveal tools when relevant rather than add every command as a permanent global navigation item.
|
|
214
|
+
- Projects are data entities, not installed apps. Project records point to the owning product/runtime and its authoritative files/revisions; the project name does not become a new route or product identity.
|
|
215
|
+
|
|
216
|
+
### Catalog, install, and native-runtime boundaries
|
|
217
|
+
|
|
218
|
+
- `agentsam_products` is the official product/catalog authority. `agentsam.app.json` defines a portable APP's identity and distribution contract. `agentsam_plugins` is for installable integrations/providers, not a duplicate APP catalog.
|
|
219
|
+
- The existing desktop manifest's `included_apps` is an explicit **build-time bootstrap bundle**. It is not proof of runtime installation and must not be treated as the long-term app marketplace.
|
|
220
|
+
- Runtime app installation requires a real flow: discover a verified release; check host/OS compatibility and permissions; download and verify the versioned artifact; record the installation; mount/launch its declared routes; and expose uninstall/update/rollback state. Until that flow exists, UI must not claim that an app was installed merely because its manifest contains an npm command.
|
|
221
|
+
- A web-first APP must not require a Rust rebuild just to be installed or updated. Rust commands, native sidecars, filesystem access, and other privileged host capabilities are opt-in host capabilities with explicit contracts and permissions. Only a product that genuinely requires a new native capability should trigger host-runtime work.
|
|
222
|
+
- The base desktop host and its included bootstrap apps are released independently from later app artifacts wherever their runtime contracts permit it. A product release must declare whether it is a web bundle, a native capability, or both.
|
|
223
|
+
|
|
224
|
+
### Required integration and release gates
|
|
225
|
+
|
|
226
|
+
1. Validate the APP manifests and official product identities; reject duplicate IDs and missing release/runtime metadata.
|
|
227
|
+
2. Run the changed app's tests and typecheck, the Local Studio shell/route contract tests, and relevant native/provider tests.
|
|
228
|
+
3. Build the actual app bundles. Launch the Local Studio preview and verify that CAD Creator and SamSketch open independently, their assistant/context bridges work, and the Apps navigation does not claim unavailable installation functionality.
|
|
229
|
+
4. Verify the DreamHouse owner-project path through the local project authority and project registry. Verify that public CAD preview remains isolated from owner-only project data and does not redirect users to the AgentSam dashboard to perform the advertised work.
|
|
230
|
+
5. Commit and push the finished integration; merge to `main` only after the gates pass. Publish/deploy the relevant web artifact and/or desktop package from the merged source, then verify the actual destination URL/build.
|
|
231
|
+
6. After verification, prune completed remote branches and worktrees. Do not leave a completed implementation living only in an agent branch, local tree, chat, or screenshot.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# AgentSam Work / IDE / storage lanes — 2026-10-28
|
|
2
|
+
|
|
3
|
+
## One existing product, not competing IDEs
|
|
4
|
+
|
|
5
|
+
- packages/agentsam-work owns portable Work navigation, Artifacts and Project Detail.
|
|
6
|
+
- apps/local-studio/backend/worker/work-service.js supplies account-scoped Work snapshots.
|
|
7
|
+
- packages/agentsam-ide owns Monaco document models, LSP contracts, save-queue conflict detection and filetree.
|
|
8
|
+
- apps/local-studio/frontend/src/components/workbench/files.tsx embeds the existing Monaco editor in the AgentSam side-stage.
|
|
9
|
+
- Legacy /files endpoints redirect into /admin/agentsam with the Files side tab; no duplicate full-page IDE.
|
|
10
|
+
- Work Project Gallery filters only explicit media_assets.project_id === projects.id, authorized by the project's owner_user_id. A local filesystem workspace is linked only when exactly one explicit Work-project assignment exists in Studio trails.
|
|
11
|
+
- Storage source choices: R2, local, Google Drive, shared drives and registered artifacts. Live hosted Work currently lists selected R2 prefixes and owner-authorized registered media. Local workspace metadata comes from mounted authorized workspaces in browser state; Google Drive/shared drives provider listing are NOT implemented in Work host. OAuth alone does not prove file-listing capability.
|
|
12
|
+
- Public preview URLs are restricted to the known public R2 prefix. No arbitrary private R2 key or local path becomes an unauthenticated URL.
|
|
13
|
+
|
|
14
|
+
## Multiple agent work lanes
|
|
15
|
+
|
|
16
|
+
Monaco document URIs are keyed by Studio workspace/project ID plus file path. Separate scratch workspaces have independent editor models and undo stacks but no independent on-disk Git branch.
|
|
17
|
+
|
|
18
|
+
For real filesystem lane isolation, use separate authorized Git worktrees, one loopback AgentSam PTY/FS service per root. The UI attaches to these services by loopback URL; the runtime reports the authorized root and temporary capability. Two services reporting the same root cannot both register as independent Studio lanes.
|
|
19
|
+
|
|
20
|
+
Example (inspect Git status and branches first; never discard unrelated work):
|
|
21
|
+
|
|
22
|
+
cd ~/agentsam-sdk
|
|
23
|
+
git status --short --branch
|
|
24
|
+
git worktree list
|
|
25
|
+
git -C ~/dreamhouse worktree list
|
|
26
|
+
|
|
27
|
+
# When the requested branches/worktrees do not already exist:
|
|
28
|
+
git -C ~/agentsam-sdk worktree add -b lane/site ~/agentsam-lanes/site HEAD
|
|
29
|
+
git -C ~/dreamhouse worktree add -b lane/architecture ~/agentsam-lanes/architecture HEAD
|
|
30
|
+
git -C ~/agentsam-sdk worktree add -b lane/platform ~/agentsam-lanes/platform HEAD
|
|
31
|
+
|
|
32
|
+
# Run each in a separate Mac terminal:
|
|
33
|
+
cd ~/agentsam-sdk
|
|
34
|
+
./bin/agentsam start-local --cwd ~/agentsam-lanes/site --port 3101
|
|
35
|
+
./bin/agentsam start-local --cwd ~/agentsam-lanes/architecture --port 3102
|
|
36
|
+
./bin/agentsam start-local --cwd ~/agentsam-lanes/platform --port 3103
|
|
37
|
+
|
|
38
|
+
In AgentSam -> Files side-stage -> Host, attach http://127.0.0.1:3101, :3102 and :3103 to the appropriate lane. The local capability is never an unrestricted public Worker token.
|
|
39
|
+
|
|
40
|
+
## Remaining full orchestration gates
|
|
41
|
+
|
|
42
|
+
- Agent-to-worktree job assignment and task-scoped permissions.
|
|
43
|
+
- Per-lane agent/terminal lifecycle, LSP sessions and cancellation.
|
|
44
|
+
- Cross-agent merge/review queue, optimistic concurrency, separate branch ownership.
|
|
45
|
+
- GitHub provider browsing and Google Drive/shared drive listing in the Work artifact host.
|
|
46
|
+
- Accessible project-file linking UI, authorized private preview/download and durable file provenance.
|
|
47
|
+
- Hosted Artifacts/mobile and multi-agent end-to-end visual acceptance.
|
|
48
|
+
|
|
49
|
+
## Verification
|
|
50
|
+
|
|
51
|
+
Two temporary local PTY/FS runtimes on distinct roots/ports reported different workspace IDs, and both capability bootstraps passed; both servers and test roots were cleaned up. IDE package 16 tests; Work package 13; Local Studio frontend 81; local Gallery/CLI 4 integration tests; all pass. TypeScript checks pass. Hosted deployment and full multi-agent orchestration are NOT claimed. Unrelated CAD/3D repository changes were not modified by this work.
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# CAD operators: Design Studio donor → AgentSam capabilities
|
|
2
|
+
|
|
3
|
+
Status: portable SDK host-injected capability pack, **not** an automatically deployed CAD Creator chat integration.
|
|
4
|
+
|
|
5
|
+
## Audit — existing InnerAnimalMedia donor
|
|
6
|
+
|
|
7
|
+
- `inneranimalmedia/app/dashboard/components/designstudio/cad-studio/operators.ts` defines the existing operator palette. The `iamcad.operator.generateFreeCAD` / `generateBlender` identifiers shown in the modal are **descriptive labels**, not callable SDK tools.
|
|
8
|
+
- `OperatorModals.tsx` routes viewport controls to viewport-local handlers, Meshy operations to canonical API handlers, and FreeCAD/Blender/OpenSCAD operators to `dispatchCadChat`.
|
|
9
|
+
- `dispatchCadChat.ts` sends a conversation-composer event with preferred D1 catalog tools (`cad_generate`, `cad_job_status`) and a task type. It does not itself execute the CAD job.
|
|
10
|
+
- `src/api/cad.js` actually exposes authenticated CAD generation endpoints: `/api/cad/openscad/generate`, `/api/cad/freecad/script`, `/api/cad/blender/script`; job status `/api/cad/jobs/:id`; approval/dispatch path `/api/cad/jobs/:id/execute`. These create/execute separate job stages; generating a script does **not** prove compilation.
|
|
11
|
+
- `apps/cad-creator/shared/cad/src/domain/project-tools.js` defines the nine existing authoritative CAD project tools, including revision-guarded edits and GLB export. They remain the underlying project authority; we do not fork their schemas.
|
|
12
|
+
- CAD Creator's standalone Node server provides native FreeCAD/Blender/OpenSCAD endpoints. Its Cloudflare Worker is still a scaffold for native execution; do not advertise Worker-native FreeCAD.
|
|
13
|
+
|
|
14
|
+
## Ported SDK capability surface
|
|
15
|
+
|
|
16
|
+
Install with `createSamOS({ cad })` (direct SAM operations) or `createCadModelTools({ cad, modelAuthorize, hookRuntime, requestPermission, invocation })` for AgentSam's **existing model tool loop**.
|
|
17
|
+
|
|
18
|
+
**Revision/project operators:** `cad.project.get`, `cad.project.validate`, `cad.project.apply`, `cad.project.save`, `cad.project.restore`, `cad.model.build`, `cad.model.inspect`, `cad.model.render`, `cad.model.export`. These invoke the canonical `design_*` tool definitions and service, not JavaScript geometry substitutes.
|
|
19
|
+
|
|
20
|
+
**CAD job operators:** `cad.job.generate` (OpenSCAD/FreeCAD/Blender intent), `cad.job.status` (actual persisted job state), and `cad.job.execute` (explicitly approved existing job dispatch). The model/user supplies intent and project context rather than handwritten Blender/FreeCAD scripts. Do not report a completed GLB until status and artifact evidence confirm success.
|
|
21
|
+
|
|
22
|
+
Legacy labels are covered by `CAD_DONOR_OPERATOR_MAPPINGS`. Meshy operations continue to use their established Meshy tools. Viewport Add Cube / Delete Selected / Reset Scene remain local and do not need new remote LLM calls. Geometry repair requires a context-aware planner; the mapping deliberately does not pretend it is one generic tool.
|
|
23
|
+
|
|
24
|
+
## Host integration
|
|
25
|
+
|
|
26
|
+
Host runtime uses the *existing* identity, project authorization, model tools and hook adapters. Example (conceptual host wiring, not a standalone app):
|
|
27
|
+
|
|
28
|
+
```js
|
|
29
|
+
import { createCadHttpPorts, createCadModelTools } from '@inneranimalmedia/agentsam-sdk/sam';
|
|
30
|
+
import { createCompositeCapabilityAdapter } from '@inneranimalmedia/agentsam-hooks';
|
|
31
|
+
|
|
32
|
+
const ports = createCadHttpPorts({
|
|
33
|
+
request: authorizedHostRequest, // server-owned actor session, NOT guest-provided fetch URL/credentials
|
|
34
|
+
});
|
|
35
|
+
const cadTools = createCadModelTools({
|
|
36
|
+
cad: {
|
|
37
|
+
...ports,
|
|
38
|
+
resolveTrustedContext: getTrustedActor,
|
|
39
|
+
authorize: authorizeProjectCapability,
|
|
40
|
+
requestApproval: showHostApproval,
|
|
41
|
+
},
|
|
42
|
+
modelAuthorize: authorizeModelTool,
|
|
43
|
+
hookRuntime: existingHookRuntime,
|
|
44
|
+
requestPermission: existingHostHookApproval,
|
|
45
|
+
invocation: { session_id: currentSession.id, run_id: currentRun.id },
|
|
46
|
+
});
|
|
47
|
+
const modelTools = createCompositeCapabilityAdapter([existingTools, cadTools]);
|
|
48
|
+
// Pass modelTools to the existing AgentSam conversation / run engine.
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Require trusted actor/tenant/account and project grant **on every call**, validate revision/approval for writes, enforce job ownership on server, and never pass OAuth tokens or arbitrary API endpoints from model arguments. Permissions and consent in Cloudflare OAuth do not automatically authorize a customer's R2 objects, FreeCAD native process, or another tenant's project.
|
|
52
|
+
|
|
53
|
+
Use already-connected project storage / R2 authorities and `agentsam_cad_jobs`; there is no new D1 table, second job store or second mini-chat UI.
|
|
54
|
+
|
|
55
|
+
## Verify
|
|
56
|
+
|
|
57
|
+
```sh
|
|
58
|
+
node --test test/integration/cad-operator-capabilities.test.mjs
|
|
59
|
+
node --test test/integration/sam-kernel.test.mjs
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
The CAD operator tests prove authorized handler invocations, approval rejection, exact existing project-tool delegation, real API route mapping, model descriptor discovery and pre-tool Hook execution. They do **not** prove the hosted CAD Creator UI has installed this pack, that the older cloud Worker compiles native geometry, or that a new FreeCAD/Blender file has been generated end-to-end.
|
|
63
|
+
|
|
64
|
+
The following **separate integration** is still required: register `cadTools` with the CAD Creator host's current model capability adapter, send selected project/revision/objects from the existing preview bridge into the conversation, surface approvals, then receive job progress/artifacts and reload the viewport. Use current host and miniAgentSam surfaces; never create another composer, standalone assistant or agent lane.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# CAD Creator / robotics shipping ledger — 2026-10-16
|
|
2
|
+
|
|
3
|
+
This is a release gate, not a claim that features merged to SDK automatically work in an installed desktop, online CAD host, or public chess game.
|
|
4
|
+
|
|
5
|
+
## Source already on main
|
|
6
|
+
- SDK PR #243/249/252: existing CAD Creator source and desktop embedding; approval-gated revision tools, native OCCT work.
|
|
7
|
+
- SDK PR #254: preserved FreeCAD BIM starter source and 3D preview library in standalone Node CAD Creator.
|
|
8
|
+
- SDK PR #257: opt-in, host-resolved CAD operator pack with twelve executable schema-bound operations, not yet mounted in hosted/desktop miniAgentSam.
|
|
9
|
+
- IAM PRs #482/#483: visual Franka chess mode and Obsidian-style camera presets in MeauxChess; Durable Object chess backend remains authoritative.
|
|
10
|
+
- Host has Cloudflare OAuth / GitHub OAuth infrastructure; no user token textbox should take its place.
|
|
11
|
+
|
|
12
|
+
## Source fixes in this branch
|
|
13
|
+
- Only Plan, Model, Robotics are primary CAD destinations. Legacy `parametric` and `render` IDs are accepted for older links, but actions route to Model's contextual inspector and existing Render modal.
|
|
14
|
+
- Active CAD selection is now posted to AgentSam only when a server-confirmed saved project revision is available. No `revision: 1` fabricated for drafts.
|
|
15
|
+
- A MuJoCo-only reach test invokes the installed IK simulator, measures movement from telemetry, and cannot claim verified grasp/real hardware behavior.
|
|
16
|
+
- Publishing choices read the authenticated host's OAuth connection status. No PAT, CF API token or arbitrary Docker endpoint fields appear in the CAD UI. Remote publishing adapters **refuse success until a real, host-owned upload route returns durable artifact receipts**. Local export remains usable.
|
|
17
|
+
- CAD Creator app icon/favicon uses the supplied InnerAnimalMedia CAD icon.
|
|
18
|
+
|
|
19
|
+
## Still blocked; don't mark shipped
|
|
20
|
+
|
|
21
|
+
| Priority | Acceptance scenario | Missing integration |
|
|
22
|
+
| --- | --- | --- |
|
|
23
|
+
| P0 | Open ArchDetail/BIMExample from installed desktop CAD Creator, edit, save native working copy, restore, reload | SDK issue #255: embedded guest ↔ authorized local host BIM source bridge |
|
|
24
|
+
| P0 | Cloudflare-authorized CAD project opened on desktop then on another authorized session | project-scoped D1 `projects` authority, `project_storage` account/bucket resolver, private R2 originals and revisioned derivatives |
|
|
25
|
+
| P0 | Ask the existing miniAgentSam/assistant to edit a door or create a solid; approve the typed CAD operation and verify the job, artifact and saved revision in the same project | Host install of PR #257 `createCadModelTools` through the existing model capability adapter and progress/receipt/viewport bridge; SDK issue #256 |
|
|
26
|
+
| P0 | Publish authenticated project to GitHub App or Cloudflare OAuth resource, verify remote content hash, report actual URL | host-owned connected repository/R2 APIs, tenant-scoped write permission, artifact receipt validation; current CAD frontend rightly refuses remote fake-success |
|
|
27
|
+
| P1 | Click a chess piece or object → plan arm trajectory → simulate → measured grasp/placement receipt | MuJoCo world selection + deterministic SAM robotics operations + simulation and chess board transform synchronization, **not just** PR #482 visuals |
|
|
28
|
+
| P1 | Real architect workflow from Plan ↔ 3D walkthrough ↔ assemblies | viewport camera and 3D data authority, walkthrough acceptance, selected-object inspector and saved revision semantics |
|
|
29
|
+
| P1 | Cinematic chess game becomes branded single MeauxChess experience | UI/board look parity (not merely camera), existing premium GLB pieces, DO multiplayer and Stockfish; on-device and touch verification |
|
|
30
|
+
| P1 | Show real case-study video/interactive capture of chess-robot workflow | capture the actual running Three.js scene; storyboard, controlled lighting, truthful telemetry labels and user-interactable playable demo; never substitute invented glossy images |
|
|
31
|
+
| P2 | Alternate robot hand / QB Robotics SoftHand | verify vendor/model asset license and fit; abstract end-effector profile, retarget joint rig, gripper limits, and physics validation. **No physical grasp claim** |
|
|
32
|
+
| P2 | AgentSam favicon / pet sprites | inventory canonical existing favicon/animation/GIF package and phases, preserve originals, define deterministic idle/thinking/tool/executing/approval/error states, integrate only once in canonical AgentSam surface |
|
|
33
|
+
|
|
34
|
+
## Canonical experience requirements
|
|
35
|
+
1. **One shell**: Local Studio hosts app navigation and AgentSam composer. CAD Creator owns canvas and contextual inspectors, not competing settings/navigation.
|
|
36
|
+
2. **One project authority**: `projects`, `project_storage`, artifacts/media and CAD jobs own identity, storage and evidence. No new local-only shadow CAD database or per-tenant hardcodes.
|
|
37
|
+
3. **One operation path**: selected object + saved revision → AgentSam capability registry → authorized approval hook → native/remote execution → typed receipt → same project's visible result.
|
|
38
|
+
4. **One publishing authority**: discover a user's real GitHub App/Cloudflare OAuth grant; never request keys in viewport or return successful receipt for a speculative URL.
|
|
39
|
+
5. **Simulation honesty**: visual move, engine-legal chess move, simulator trajectory, contact sensor evidence and physical grasp are distinct statuses.
|
|
40
|
+
|
|
41
|
+
## Release checklist
|
|
42
|
+
|
|
43
|
+
For each actual ship: clean branch and CI, reproducible production build; installed desktop test in embedded mode; native asset discovery; save/reload and revision conflict rejection; Cloudflare OAuth account/tenant separation; GitHub/R2 provenance hash receipts; iPhone-sized canvas/inspector/chat; real chess multiplayer and robot scenario; checksummed original CAD/GLB assets; final deployment hash and URL verification.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# AgentSam CAD run modes — executable SDK contract
|
|
2
|
+
Status: SDK dispatch implemented and tested; **host integration/deployment requires a separate proof**.
|
|
3
|
+
|
|
4
|
+
These modes are domain execution intents, separate from the ordinary Work chat modes
|
|
5
|
+
`ask | plan | agent | debug | multitask`. UI labels and LLM prompts do not create
|
|
6
|
+
permissions or provider availability. Caller uses `executeCadRunMode({mode,input},{sam,authorizeMode})`
|
|
7
|
+
with the actual trusted `AgentSamClient` and an authorization callback.
|
|
8
|
+
|
|
9
|
+
| Mode | Existing SAM operation | Trust / outcome |
|
|
10
|
+
| ---- | ---------------------- | --------------- |
|
|
11
|
+
| `cad.inspect` | `cad.project.get` | Authorized project/revision read; receipt |
|
|
12
|
+
| `cad.create` | `cad.project.save` | Validated CAD document + expected revision, authorization and approval; new immutable revision |
|
|
13
|
+
| `cad.edit` | `cad.project.apply` | Typed operation + optimistic revision check; authorized edit receipt |
|
|
14
|
+
| `cad.export` | `cad.model.export` | Real GLB/STL/OBJ for an existing revision; valid artifact receipt |
|
|
15
|
+
| `cad.generate` | `cad.job.generate` | Authorized runner + project/workspace/engine + prompt; real job record |
|
|
16
|
+
|
|
17
|
+
Host contract: resolve OAuth principal, tenant/project scope, capability grants,
|
|
18
|
+
write approvals (existing Hooks runtime), job runner availability, canonical project
|
|
19
|
+
authority, asset bucket, and results/revisions. The SDK refuses missing host ports.
|
|
20
|
+
The LLM produces structured proposals/inputs; SAM validates and executes.
|
|
21
|
+
A chat response does not count as CAD success, and a local simulated robot
|
|
22
|
+
does not count as verified physical grasp.
|
|
23
|
+
|
|
24
|
+
**Current integration gate:** Local Studio's `runCadAssistantTurn()` still feeds
|
|
25
|
+
a Work conversation. Until an authorized host binds this run-mode dispatcher
|
|
26
|
+
to the floating CAD composer and returns real typed receipts, do not expose
|
|
27
|
+
these modes as working hosted UI actions or mark this product journey shipped.
|
|
28
|
+
Do not modify generic Work `AgentRunMode` to camouflage the missing bridge.
|
|
29
|
+
|
|
30
|
+
Acceptance: live host user selects CAD object, asks for change, sees a proposed
|
|
31
|
+
typed operation and approval, confirms, project revision actually advances in
|
|
32
|
+
canonical store, reloads, verifies model geometry, exports from the new revision,
|
|
33
|
+
and can restore. Also test missing permission, missing provider, stale revision,
|
|
34
|
+
and retries. Store source and deployment revision in release evidence.
|