@inneranimalmedia/agentsam-sdk 2.6.11 → 2.6.13
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/README.md +11 -0
- 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/types.ts +2 -2
- package/apps/client-cms-editor/backend/package.json +2 -2
- package/apps/client-cms-editor/frontend/package.json +3 -3
- package/apps/client-cms-editor/frontend/src/adapters/http-authoring.test.ts +161 -0
- package/apps/client-cms-editor/frontend/src/adapters/http.ts +320 -77
- package/apps/client-cms-editor/frontend/src/editor/CmsEditor.tsx +54 -20
- package/apps/client-cms-editor/frontend/src/editor/canvas/PreviewCanvas.tsx +31 -3
- package/apps/client-cms-editor/frontend/src/editor/composition-groups.test.ts +40 -0
- package/apps/client-cms-editor/frontend/src/editor/host-preview.test.tsx +104 -0
- package/apps/client-cms-editor/frontend/src/editor/legacy/CmsEditorPrototype.tsx +28 -28
- package/apps/client-cms-editor/frontend/src/editor/useCmsEditorController.ts +3 -3
- package/apps/client-cms-editor/frontend/src/styles/agentsam-drawer.css +5 -4
- package/apps/client-cms-editor/frontend/src/styles/studio.css +150 -149
- package/apps/client-cms-editor/package-lock.json +8 -8
- package/apps/client-cms-editor/package.json +2 -1
- package/apps/client-cms-editor/reference/harvest/plans/INNERANIMALS-CONTENT-001.md +1 -1
- package/apps/client-cms-editor/shared/cms/package.json +1 -1
- package/apps/client-cms-editor/shared/cms/src/editor-types.ts +42 -1
- package/docs/AUTORAG.md +2 -0
- package/docs/CAPABILITIES.md +28 -0
- package/docs/CMS_CONTEXTUAL_COMPOSER.md +4 -4
- package/docs/PRODUCT_LIFECYCLE.md +38 -38
- package/docs/REPO_FILE_MAP.txt +2 -2
- package/docs/THEME_REFINERY.md +6 -6
- package/docs/WINDOWS_RUNTIME_INSTALL.md +1 -1
- package/docs/adr/ADR-0002-brand-campaign-plugin-boundaries.md +603 -0
- package/docs/adr/ADR-0003-copro-clean-room-product-architecture.md +40 -0
- package/docs/adr/ADR-0003-product-portfolio-and-package-taxonomy.md +146 -0
- package/docs/adr/ADR-0004-product-composition-and-provider-neutrality.md +56 -0
- package/docs/adr/ADR-0005-offer-graduation-standard.md +66 -0
- package/docs/adr/README.md +25 -0
- package/docs/architecture/AGENTSAM-CANONICAL-DISCOVERY-FIRST-SLICE.md +70 -0
- package/docs/architecture/AGENTSAM-REGISTRY-CLI-AGENT-PARITY.md +133 -0
- package/docs/architecture/AGENTSAM_APPLICATION_CONTRACT.md +7 -1
- 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/DUAL_ANALYTICS_PRODUCT.md +1 -1
- 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/PLUGIN-PRODUCTIZATION-SPINE.md +101 -0
- package/docs/architecture/SAMOS_PRODUCT_MODEL.md +49 -0
- package/docs/architecture/SAM_KERNEL.md +40 -0
- package/docs/architecture/SAM_RESOURCE_CRUD_STANDARD.md +96 -0
- package/docs/architecture/SAM_SYSTEMATIC_AUTONOMOUS_MACHINERY.md +79 -0
- package/docs/architecture/USER_GLOBAL_AGENT_INSTRUCTIONS.md +55 -0
- package/docs/autorag-workflow.md +13 -0
- package/docs/brand/AGENT_SAM_ICON_GRAMMAR.md +4 -0
- package/docs/content-studio/HOST_MOUNT_CHECKLIST.md +1 -1
- package/docs/content-studio/REVISION_GATE_2026-09-27.md +3 -3
- package/docs/contracts/capability-install-planner.md +66 -38
- package/docs/contracts/environment-vocabulary.md +5 -5
- package/docs/contracts/google-cloud-oauth-setup.md +1 -1
- package/docs/engineering/SUPERBASH_LOCAL_RUNTIME.md +100 -0
- package/docs/generated/SDK_CAPABILITY_INVENTORY.md +313 -0
- package/docs/handoffs/AGENT_HANDOFF_SUPERBASH_AND_MODEL_PERFORMANCE_2026-10-14.md +134 -0
- package/docs/intake/product-capabilities.proposed.ts +232 -0
- package/docs/knowledge-supabase-node-api.md +51 -0
- package/docs/local-studio/WORKMODE_DONOR_NOTES.md +3 -3
- package/docs/plans/ASTRA-BRIEF-2026-09-18.md +1 -1
- package/docs/plans/LOCAL-STUDIO-REAL-APP-CONTRACT-ADDENDUM-2026-09-27.md +2 -2
- package/docs/plans/MACHINE-FIRST-APPS-TUI-2026-09-24.md +1 -1
- package/docs/plans/MEDIA_TRUTH_SOURCE_RECOVERY_20261008.md +31 -0
- package/docs/plans/NEXT-AGENT-HANDOFF.md +2 -2
- 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 +68 -68
- package/docs/plans/TOMORROW-MACHINE-FIRST-BRIEFING.md +1 -1
- package/docs/plans/UI_POLISH_DESKTOP_2026-10-16.md +102 -0
- package/docs/plans/UNIVERSAL-INGEST-MACHINE-FIRST-2026-09-24.md +1 -1
- 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/prd/PRD-agentsam-analytics.md +174 -0
- package/docs/prd/PRD-agentsam-brand.md +181 -0
- package/docs/prd/PRD-agentsam-browser.md +177 -0
- package/docs/prd/PRD-agentsam-cad-studio.md +177 -0
- package/docs/prd/PRD-agentsam-campaign.md +1178 -0
- package/docs/prd/PRD-agentsam-commerce-studio.md +180 -0
- package/docs/prd/PRD-agentsam-content-studio.md +179 -0
- package/docs/prd/PRD-agentsam-copro.md +39 -0
- package/docs/prd/PRD-agentsam-database-studio.md +175 -0
- package/docs/prd/PRD-agentsam-developer-studio.md +175 -0
- package/docs/prd/PRD-agentsam-hosted-runtime.md +180 -0
- package/docs/prd/PRD-agentsam-knowledge.md +174 -0
- package/docs/prd/PRD-agentsam-local-studio.md +180 -0
- package/docs/prd/PRD-agentsam-merch.md +177 -0
- package/docs/prd/PRD-agentsam-platform.md +179 -0
- package/docs/prd/PRD-agentsam-site-studio.md +180 -0
- package/docs/prd/PRD-agentsam-work.md +180 -0
- package/docs/prd/README.md +39 -0
- package/docs/product/AGENTSAM-UI-QUALITY-GATE.md +148 -0
- package/docs/product/AGENTSAM_PRODUCT_EXPERIENCE_STANDARD.md +2 -0
- package/docs/product/COPRO-DONOR-AUDIT.md +9 -0
- package/docs/product/COPRO-EXECUTION-PLAN.md +81 -0
- package/docs/product/COPRO-UI-QUALITY-GATE.md +119 -0
- package/docs/product/MEDIA-PRODUCTION-FAMILY.md +47 -0
- package/docs/product/OFFER-PORTFOLIO.md +172 -0
- package/docs/product/PACKAGE-TAXONOMY.md +95 -0
- 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 +288 -0
- package/docs/reference/INNERANIMALMEDIA_EXPERIENCE_ACCEPTANCE_2026-10-15.md +99 -0
- package/docs/releases/cad-v2-sdk-2.6.13.md +25 -0
- package/docs/roadmaps/ROAD_TO_REAL_DISTRIBUTION.md +97 -0
- package/docs/robotics-chess-handoff.md +15 -0
- package/docs/standards/DELIVERY_CLOSURE.md +33 -0
- package/docs/standards/SAM_MACHINE_BUILD_AND_GAPS.md +91 -0
- package/docs/workflows/ISSUE_TO_SAMOS.md +59 -0
- package/examples/hyperspace-demo/dist/assets/index-SZ2LfOpJ.js +242 -0
- package/examples/hyperspace-demo/dist/index.html +13 -0
- package/native/agentsam-machine/core/src/lib.rs +2 -2
- package/package.json +111 -39
- package/packages/agentsam-brand/package.json +3 -2
- package/packages/agentsam-brand/src/public.js +192 -0
- package/packages/agentsam-cms/README.md +56 -0
- package/packages/agentsam-cms/agentsam.package.json +46 -0
- package/packages/agentsam-cms/package.json +36 -0
- package/packages/agentsam-cms/src/aliases.js +74 -0
- package/packages/agentsam-cms/src/contracts.js +105 -0
- package/packages/agentsam-cms/src/index.d.ts +80 -0
- package/packages/agentsam-cms/src/index.js +3 -0
- package/packages/agentsam-cms/src/machine.js +221 -0
- package/packages/agentsam-cms/src/node-sqlite-repository.js +148 -0
- package/packages/agentsam-cms/src/node.d.ts +7 -0
- package/packages/agentsam-cms/src/node.js +1 -0
- package/packages/agentsam-cms/src/schema/cms-local-runtime.v1.sql +365 -0
- package/packages/agentsam-cms/test/standalone.test.mjs +28 -0
- package/packages/agentsam-contracts/README.md +1 -1
- package/packages/agentsam-contracts/agentsam.package.json +43 -0
- package/packages/agentsam-contracts/dist/errors.d.ts +1 -1
- package/packages/agentsam-contracts/dist/widgets.d.ts +7 -0
- package/packages/agentsam-contracts/package.json +1 -1
- package/packages/agentsam-contracts/src/errors.ts +1 -1
- package/packages/agentsam-contracts/src/widgets.ts +7 -0
- package/packages/agentsam-desktop-shell/README.md +38 -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 +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/agentsam.package.json +42 -0
- package/packages/agentsam-goap/package.json +2 -2
- 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 +1 -1
- package/packages/agentsam-hooks/src/errors-generated.js +10 -0
- package/packages/agentsam-ide/README.md +59 -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/agentsam.package.json +42 -0
- package/packages/agentsam-knowledge/package.json +1 -1
- 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/agentsam.package.json +43 -0
- package/packages/agentsam-merch/package.json +1 -1
- package/packages/agentsam-merch/test/merch.test.mjs +1 -1
- package/packages/agentsam-nav/dist/browser.global.js +31 -71
- package/packages/agentsam-nav/dist/browser.js +760 -3157
- package/packages/agentsam-nav/dist/index.js +752 -3149
- package/packages/agentsam-nav/package.json +1 -1
- package/packages/agentsam-queue-control/agentsam.package.json +42 -0
- package/packages/agentsam-queue-control/package.json +1 -1
- package/packages/agentsam-rapid-rust/Cargo.toml +5 -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/README.md +25 -0
- package/packages/agentsam-repository/agentsam.package.json +42 -0
- package/packages/agentsam-repository/package.json +6 -3
- package/packages/agentsam-repository/src/crawl.js +220 -0
- package/packages/agentsam-repository/src/goap.js.bak-20260922011251 +670 -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/package.json +1 -1
- package/packages/agentsam-workbench/README.md +18 -0
- package/packages/agentsam-workbench/package.json +15 -5
- package/packages/agentsam-workbench/src/agent/MiniAgentSam.tsx +28 -4
- package/packages/agentsam-workbench/src/agent/capability-catalog.ts +96 -0
- package/packages/agentsam-workbench/src/agent/contextual-composer.css +72 -70
- package/packages/agentsam-workbench/src/agent/index.ts +2 -0
- package/packages/agentsam-workbench/src/agent/mini-agentsam.css +228 -10
- 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/widgets/registry.ts +266 -1
- 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/cms-runtime.json +49 -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/fnf-theme.json +34 -0
- package/packages/catalog/evidence/theme-contract.json +34 -0
- package/packages/catalog/evidence/theme-cypress.json +41 -0
- package/packages/catalog/evidence/theme-ember.json +41 -0
- package/packages/catalog/evidence/theme-forge.json +41 -0
- package/packages/catalog/evidence/theme-grove.json +41 -0
- package/packages/catalog/evidence/theme-harbor.json +41 -0
- package/packages/catalog/evidence/theme-heuristic.json +50 -0
- package/packages/catalog/evidence/theme-iasf.json +48 -0
- package/packages/catalog/evidence/theme-resolve.json +41 -0
- package/packages/catalog/evidence/theme-scenes.json +68 -0
- package/packages/catalog/evidence/theme-summit.json +41 -0
- package/packages/catalog/evidence/theme-violet.json +41 -0
- package/packages/catalog/generated/packages.json +2649 -0
- package/packages/catalog/topics/runtime.json +33 -0
- package/packages/connectors/cfoa/agentsam.package.json +46 -0
- package/packages/connectors/cfoa/package.json +1 -1
- package/packages/connectors/cfoa/src/capabilities.js +22 -2
- 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/index.js +3 -0
- package/packages/connectors/cfoa/src/routes.js +11 -2
- package/packages/connectors/cfoa/test/analytics-sql.test.mjs +27 -0
- package/packages/connectors/cfoa/test/basin.test.mjs +30 -0
- package/packages/heuristic-theme/README.md +14 -0
- package/packages/heuristic-theme/agentsam.package.json +42 -0
- package/packages/heuristic-theme/contracts/README.md +15 -0
- package/packages/heuristic-theme/contracts/block.schema.json +33 -0
- package/packages/heuristic-theme/contracts/header-presets.json +20 -0
- package/packages/heuristic-theme/contracts/page.schema.json +18 -0
- package/packages/heuristic-theme/contracts/preset.schema.json +18 -0
- package/packages/heuristic-theme/contracts/section.schema.json +83 -0
- package/packages/heuristic-theme/package.json +13 -3
- package/packages/heuristic-theme/presets/fuel-free-time/assets.json +8 -0
- package/packages/heuristic-theme/presets/fuel-free-time/globals/shell.json +30 -0
- package/packages/heuristic-theme/presets/fuel-free-time/pages/about.json +4 -0
- package/packages/heuristic-theme/presets/fuel-free-time/pages/cart.json +4 -0
- package/packages/heuristic-theme/presets/fuel-free-time/pages/collection.json +4 -0
- package/packages/heuristic-theme/presets/fuel-free-time/pages/collections.json +4 -0
- package/packages/heuristic-theme/presets/fuel-free-time/pages/community.json +4 -0
- package/packages/heuristic-theme/presets/fuel-free-time/pages/home.json +92 -0
- package/packages/heuristic-theme/presets/fuel-free-time/pages/order-confirmation.json +39 -0
- package/packages/heuristic-theme/presets/fuel-free-time/pages/product.json +4 -0
- package/packages/heuristic-theme/presets/fuel-free-time/pages/shop.json +9 -0
- package/packages/heuristic-theme/presets/fuel-free-time/preset.json +23 -0
- package/packages/heuristic-theme/presets/fuel-free-time/tokens.json +23 -0
- package/packages/heuristic-theme/storefront/about.html +1103 -0
- package/packages/heuristic-theme/storefront/assets/presets/fuel-free-time/GENERATED-ASSETS.md +15 -0
- package/packages/heuristic-theme/storefront/assets/presets/fuel-free-time/earned-hours-hero.webp +0 -0
- package/packages/heuristic-theme/storefront/assets/presets/fuel-free-time/essentials.webp +0 -0
- package/packages/heuristic-theme/storefront/assets/presets/fuel-free-time/masters.webp +0 -0
- package/packages/heuristic-theme/storefront/cart.html +64 -0
- package/packages/heuristic-theme/storefront/collaborate.html +58 -0
- package/packages/heuristic-theme/storefront/collection.html +10 -0
- package/packages/heuristic-theme/storefront/collections.html +10 -0
- package/packages/heuristic-theme/storefront/community.html +921 -0
- package/packages/heuristic-theme/storefront/css/content-page.css +199 -0
- package/packages/heuristic-theme/storefront/css/global-footer.css +401 -0
- package/packages/heuristic-theme/storefront/css/heuristic-theme.css +81 -0
- package/packages/heuristic-theme/storefront/css/page-composer.css +76 -0
- package/packages/heuristic-theme/storefront/css/shop-hero.css +230 -0
- package/packages/heuristic-theme/storefront/css/store-cart.css +422 -0
- package/packages/heuristic-theme/storefront/css/store-collections.css +36 -0
- package/packages/heuristic-theme/storefront/css/store-pdp.css +459 -0
- package/packages/heuristic-theme/storefront/css/store-shell.css +474 -0
- package/packages/heuristic-theme/storefront/css/store-shop.css +117 -0
- package/packages/heuristic-theme/storefront/home.html +25 -0
- package/packages/heuristic-theme/storefront/js/cms-hydrate.js +395 -0
- package/packages/heuristic-theme/storefront/js/cms-structure.js +85 -0
- package/packages/heuristic-theme/storefront/js/fnf-attribution.js +98 -0
- package/packages/heuristic-theme/storefront/js/fnf-head.js +47 -0
- package/packages/heuristic-theme/storefront/js/fnf-newsletter.js +64 -0
- package/packages/heuristic-theme/storefront/js/global-footer.js +277 -0
- package/packages/heuristic-theme/storefront/js/heuristic-runtime.js +78 -0
- package/packages/heuristic-theme/storefront/js/order-confirmation.js +109 -0
- package/packages/heuristic-theme/storefront/js/page-composer.js +310 -0
- package/packages/heuristic-theme/storefront/js/shop-hero.js +85 -0
- package/packages/heuristic-theme/storefront/js/store-cart.js +276 -0
- package/packages/heuristic-theme/storefront/js/store-catalog.js +140 -0
- package/packages/heuristic-theme/storefront/js/store-collections.js +45 -0
- package/packages/heuristic-theme/storefront/js/store-product.js +287 -0
- package/packages/heuristic-theme/storefront/js/store-shell.js +449 -0
- package/packages/heuristic-theme/storefront/order-confirmation.html +30 -0
- package/packages/heuristic-theme/storefront/policies.html +43 -0
- package/packages/heuristic-theme/storefront/product.html +27 -0
- package/packages/heuristic-theme/storefront/shop.html +113 -0
- package/packages/heuristic-theme/storefront/terms.html +45 -0
- package/packages/heuristic-theme/test/commerce-portability.test.mjs +16 -0
- package/packages/heuristic-theme/theme.json +55 -0
- package/packages/heuristic-theme/theme.schema.json +32 -0
- package/packages/identity/agentsam.package.json +42 -0
- package/packages/identity/package.json +1 -1
- package/packages/identity/src/frontend/auth-portal/pages/login.html +1 -1
- package/packages/identity/src/frontend/auth-portal/pages/reset.html +1 -1
- package/packages/identity/src/frontend/auth-portal/pages/signup.html +1 -1
- package/packages/identity/src/oauth/iam-platform.js +4 -2
- package/packages/identity/src/recovery/password-reset.js +8 -8
- package/packages/identity/src/server/worker-router.js +63 -1
- package/packages/identity/tests/chatgpt-provider.test.mjs +3 -3
- package/packages/identity/tests/lane1-packed-consumer.test.mjs +12 -1
- package/packages/identity/tests/oauth-consent-view.test.mjs +11 -11
- package/packages/identity/tests/password-enrollment.test.mjs +82 -0
- package/packages/identity/tests/password-reset.test.mjs +43 -0
- package/packages/providers/completeful/README.md +3 -3
- package/packages/providers/completeful/package.json +1 -1
- package/packages/theme-cypress/README.md +11 -0
- package/packages/theme-cypress/agentsam.package.json +42 -0
- package/packages/{theme-church-site → theme-cypress}/package.json +14 -11
- package/packages/theme-cypress/prebuild.json +23 -0
- package/packages/theme-cypress/site/assets/generated/favicon.svg +7 -0
- 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 +226 -0
- 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 +7 -0
- package/packages/theme-cypress/site/beliefs.html +175 -0
- package/packages/theme-cypress/site/community.html +175 -0
- package/packages/theme-cypress/site/connect.html +319 -0
- package/packages/theme-cypress/site/donate.html +106 -0
- package/packages/theme-cypress/site/groups.html +1352 -0
- package/packages/theme-cypress/site/help.html +1 -0
- package/packages/theme-cypress/site/icons/clock.svg +4 -0
- package/packages/theme-cypress/site/icons/email.svg +4 -0
- package/packages/theme-cypress/site/icons/giving.svg +4 -0
- package/packages/theme-cypress/site/icons/home.svg +4 -0
- package/packages/theme-cypress/site/icons/location.svg +4 -0
- package/packages/theme-cypress/site/icons/media.svg +4 -0
- package/packages/theme-cypress/site/icons/ministries.svg +6 -0
- package/packages/theme-cypress/site/icons/prayer.svg +5 -0
- package/packages/theme-cypress/site/icons/visit.svg +6 -0
- package/packages/theme-cypress/site/index.html +1013 -0
- package/packages/theme-cypress/site/mensgroup.html +477 -0
- package/packages/theme-cypress/site/mission.html +512 -0
- package/packages/theme-cypress/site/unified-footer.css +172 -0
- package/packages/theme-cypress/site/unified-footer.js +175 -0
- package/packages/theme-cypress/site/unified-header.css +226 -0
- package/packages/theme-cypress/site/unified-header.js +111 -0
- package/packages/theme-cypress/site/womansgroup.html +452 -0
- package/packages/{theme-church-site → theme-cypress}/src/index.js +22 -35
- package/packages/theme-cypress/src/node.js +69 -0
- package/packages/theme-cypress/test/theme.test.mjs +47 -0
- package/packages/theme-ember/README.md +11 -0
- package/packages/theme-ember/agentsam.package.json +42 -0
- package/packages/{theme-fuelnfree-site → theme-ember}/package.json +14 -11
- package/packages/theme-ember/prebuild.json +23 -0
- package/packages/theme-ember/site/about.html +1840 -0
- package/packages/theme-ember/site/assets/generated/favicon.svg +7 -0
- 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 +190 -0
- 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 +7 -0
- package/packages/theme-ember/site/community.html +1664 -0
- package/packages/theme-ember/site/index.html +2044 -0
- package/packages/theme-ember/site/shop.html +2104 -0
- package/packages/{theme-fuelnfree-site → theme-ember}/src/index.js +23 -33
- package/packages/theme-ember/src/node.js +69 -0
- package/packages/theme-ember/test/theme.test.mjs +47 -0
- package/packages/theme-forge/README.md +11 -0
- package/packages/theme-forge/agentsam.package.json +42 -0
- package/packages/theme-forge/package.json +44 -0
- package/packages/theme-forge/prebuild.json +23 -0
- package/packages/theme-forge/site/apple-touch-icon.png +0 -0
- package/packages/theme-forge/site/assets/generated/favicon.svg +7 -0
- package/packages/theme-forge/site/assets/generated/media-manifest.json +17 -0
- 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 +7 -0
- package/packages/theme-forge/site/assets/index-DBOqQVsA.css +1 -0
- package/packages/theme-forge/site/assets/index-pXC0o9jp.js +241 -0
- package/packages/theme-forge/site/assets/workbox-window.prod.es5-Bd17z0YL.js +2 -0
- package/packages/theme-forge/site/index.html +5 -0
- package/packages/theme-forge/site/manifest.webmanifest +1 -0
- 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 +107 -0
- package/packages/theme-forge/site/workbox-7e5eb42b.js +3395 -0
- package/packages/theme-forge/src/index.js +76 -0
- package/packages/theme-forge/src/node.js +69 -0
- package/packages/theme-forge/test/theme.test.mjs +47 -0
- package/packages/theme-grove/README.md +11 -0
- package/packages/theme-grove/agentsam.package.json +42 -0
- package/packages/{theme-floors-site → theme-grove}/package.json +14 -11
- package/packages/theme-grove/prebuild.json +23 -0
- package/packages/theme-grove/site/assets/generated/favicon.svg +7 -0
- 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 +267 -0
- 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 +7 -0
- package/packages/theme-grove/site/index.html +1429 -0
- package/packages/theme-grove/site/pages/contact.html +664 -0
- package/packages/theme-grove/site/pages/gallery.html +216 -0
- package/packages/theme-grove/site/pages/privacy.html +180 -0
- package/packages/theme-grove/site/pages/process.html +592 -0
- package/packages/theme-grove/site/pages/services.html +567 -0
- package/packages/theme-grove/site/pages/terms.html +189 -0
- package/packages/theme-grove/site/shared/footer.css +140 -0
- package/packages/theme-grove/site/shared/footer.html +41 -0
- package/packages/{theme-floors-site → theme-grove}/src/index.js +24 -35
- package/packages/theme-grove/src/node.js +69 -0
- package/packages/theme-grove/test/theme.test.mjs +47 -0
- package/packages/theme-harbor/README.md +11 -0
- package/packages/theme-harbor/agentsam.package.json +42 -0
- package/packages/{theme-insurance-site → theme-harbor}/package.json +14 -11
- package/packages/theme-harbor/prebuild.json +23 -0
- package/packages/theme-harbor/site/assets/generated/favicon.svg +7 -0
- package/packages/theme-harbor/site/assets/generated/media-manifest.json +17 -0
- 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 +7 -0
- package/packages/theme-harbor/site/assets/index-D58RKkr-.js +239 -0
- package/packages/theme-harbor/site/assets/index-Dd3YN9Mf.css +1 -0
- package/packages/theme-harbor/site/index.html +15 -0
- package/packages/theme-harbor/src/index.js +76 -0
- package/packages/theme-harbor/src/node.js +69 -0
- package/packages/theme-harbor/test/theme.test.mjs +47 -0
- package/packages/theme-resolve/README.md +11 -0
- package/packages/theme-resolve/agentsam.package.json +42 -0
- package/packages/theme-resolve/package.json +44 -0
- package/packages/theme-resolve/prebuild.json +23 -0
- package/packages/theme-resolve/site/assets/generated/favicon.svg +7 -0
- 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 +72 -0
- 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 +7 -0
- package/packages/theme-resolve/site/assets/index-BSaLpPG1.css +2 -0
- package/packages/theme-resolve/site/assets/index-D8au46Z5.js +17 -0
- package/packages/theme-resolve/site/index.html +22 -0
- package/packages/theme-resolve/src/index.js +69 -0
- package/packages/theme-resolve/src/node.js +69 -0
- package/packages/theme-resolve/test/theme.test.mjs +47 -0
- package/packages/theme-scenes/agentsam.package.json +42 -0
- package/packages/theme-scenes/package.json +1 -1
- package/packages/theme-scenes/src/registry.js +32 -49
- package/packages/theme-summit/README.md +11 -0
- package/packages/theme-summit/agentsam.package.json +42 -0
- package/packages/{theme-shinshu-site → theme-summit}/package.json +14 -11
- package/packages/theme-summit/prebuild.json +23 -0
- package/packages/theme-summit/site/adventures.html +450 -0
- package/packages/theme-summit/site/assets/generated/favicon.svg +7 -0
- 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 +39 -0
- 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 +7 -0
- package/packages/theme-summit/site/business-card.html +315 -0
- package/packages/theme-summit/site/chatbot.js +312 -0
- package/packages/theme-summit/site/gallery.html +524 -0
- package/packages/theme-summit/site/i18n.js +947 -0
- package/packages/theme-summit/site/icons.svg +87 -0
- package/packages/theme-summit/site/index.html +2415 -0
- package/packages/theme-summit/site/pages/about.html +100 -0
- package/packages/theme-summit/site/pages/contact.html +117 -0
- package/packages/theme-summit/site/pages/dashboard.html +111 -0
- package/packages/theme-summit/site/pages/index.html +129 -0
- package/packages/theme-summit/site/pages/services.html +125 -0
- package/packages/theme-summit/site/shared/footer.html +41 -0
- package/packages/theme-summit/site/shared/layout.js +315 -0
- package/packages/theme-summit/site/shared/nav.html +19 -0
- package/packages/theme-summit/site/shared/styles.css +696 -0
- package/packages/theme-summit/site/theme-styles.css +131 -0
- package/packages/theme-summit/site/themes.js +442 -0
- package/packages/{theme-shinshu-site → theme-summit}/src/index.js +23 -35
- package/packages/theme-summit/src/node.js +69 -0
- package/packages/theme-summit/test/theme.test.mjs +47 -0
- package/packages/theme-violet/README.md +11 -0
- package/packages/theme-violet/agentsam.package.json +42 -0
- package/packages/{theme-companions-site → theme-violet}/package.json +14 -11
- package/packages/theme-violet/prebuild.json +23 -0
- package/packages/theme-violet/site/assets/generated/favicon.svg +7 -0
- 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 +245 -0
- 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 +7 -0
- package/packages/theme-violet/site/global/cpas-contact.css +405 -0
- package/packages/theme-violet/site/global/cpas-donate-v2.css +931 -0
- package/packages/theme-violet/site/global/cpas-drawer-override.css +1 -0
- package/packages/theme-violet/site/global/cpas-footer.html +38 -0
- package/packages/theme-violet/site/global/cpas-header.html +30 -0
- package/packages/theme-violet/site/global/cpas-hero-watercolor.css +275 -0
- package/packages/theme-violet/site/global/cpas-modals.js +802 -0
- package/packages/theme-violet/site/global/cpas-public-surface.css +982 -0
- package/packages/theme-violet/site/global/cpas-shell.css +3980 -0
- package/packages/theme-violet/site/global/cpas-shell.js +107 -0
- package/packages/theme-violet/site/global/cpas-shelter-hub.css +326 -0
- package/packages/theme-violet/site/index.html +141 -0
- package/packages/theme-violet/site/pages/about/campaigns.html +28 -0
- package/packages/theme-violet/site/pages/about/cta.html +25 -0
- package/packages/theme-violet/site/pages/about/hero.html +46 -0
- package/packages/theme-violet/site/pages/about/paths.html +24 -0
- package/packages/theme-violet/site/pages/about/why_we_exist.html +28 -0
- package/packages/theme-violet/site/pages/home/campaigns.html +67 -0
- package/packages/theme-violet/site/pages/home/hero.html +42 -0
- package/packages/theme-violet/site/pages/home/how-it-helps.html +32 -0
- package/packages/theme-violet/site/pages/home/impact-stats.html +31 -0
- package/packages/theme-violet/site/pages/home/mission.html +36 -0
- package/packages/theme-violet/site/pages/home/newsletter.html +29 -0
- package/packages/theme-violet/site/pages/home/transport-win.html +22 -0
- package/packages/theme-violet/site/pages/index.html +141 -0
- package/packages/theme-violet/src/index.js +76 -0
- package/packages/theme-violet/src/node.js +69 -0
- package/packages/theme-violet/test/theme.test.mjs +47 -0
- package/packages/work-graph/agentsam.package.json +42 -0
- package/packages/work-graph/package.json +1 -1
- package/protocol/apps/agentsam.app.v1.schema.json +27 -1
- package/protocol/cad/README.md +77 -0
- package/protocol/cad/cad.project.v2.schema.json +451 -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/capabilities/evidence-manifest.schema.json +404 -0
- package/protocol/capabilities/manifest.json +101 -10
- package/protocol/capabilities/repository-crawl-input.schema.json +17 -0
- package/protocol/capabilities/repository-crawl-result.schema.json +79 -0
- package/protocol/capabilities/repository-mine-input.schema.json +27 -0
- package/protocol/capabilities/repository-mine-result.schema.json +51 -0
- 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/errors/error-catalog.json +12 -0
- package/protocol/features/README.md +1 -1
- package/protocol/features/catalog.json +12 -12
- package/protocol/features/examples/provider-resend.feature.json +2 -2
- package/protocol/governance/distribution-roadmap.v1.json +335 -0
- package/protocol/governance/github-labels.v1.json +232 -0
- package/protocol/models/workers-ai-curated.mjs +14 -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 +1 -1
- package/protocol/theme-refinery/prebuild-registry.json +45 -0
- package/protocol/theme-refinery/product-metadata.schema.json +63 -26
- package/protocol/theme-refinery/receipts/prebuild-remaster-20261004.json +21 -0
- package/protocol/ui/agentsam.ui-quality.v1.schema.json +31 -0
- package/python/agentsam_sdk/__init__.py +4 -0
- package/python/agentsam_sdk/client.py +202 -0
- package/python/agentsam_sdk/errors/vocabulary.py +10 -0
- package/python/tests/test_public_client.py +82 -0
- package/services/cad/blender/adapter.py +0 -0
- package/services/cad/occt/CMakeLists.txt +43 -0
- package/services/cad/occt/README.md +38 -0
- package/services/cad/occt/main.cpp +95 -0
- package/services/cad/server.py +103 -21
- package/skills/README.md +6 -0
- package/skills/agentsam-cad/SKILL.md +59 -0
- package/skills/agentsam-plan-and-goap/SKILL.md +77 -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 +75 -0
- package/skills/catalog.json +85 -0
- package/src/AgentSam.js +2 -0
- package/src/agent/capability-adapter.js +207 -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/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/test-run.js +10 -0
- package/src/capabilities/workspace-files.js +125 -0
- package/src/cli/command-catalog.js +16 -3
- package/src/cli.js +71 -116
- package/src/commands/app.js +43 -44
- 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/goap-world.js +4 -0
- 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 +98 -8
- package/src/commands/plan-ledger.js +60 -22
- package/src/commands/plan.js +3 -3
- package/src/commands/plugins.js +34 -2
- 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 +117 -0
- package/src/commands/shell.js +97 -8
- package/src/commands/site-scrape.js +9 -0
- package/src/context/resolve.js +5 -1
- package/src/index.js +13 -0
- 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/docker-executor.js +1 -1
- package/src/lib/cad/editable-project-contract.js +75 -0
- package/src/lib/cad/index.js +6 -0
- package/src/lib/cad/occt-native-provider.mjs +138 -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 +48 -3
- package/src/lib/cad/project-tools.js +24 -0
- package/src/lib/cad/project-v2.d.ts +48 -0
- package/src/lib/cad/project-v2.js +288 -0
- package/src/lib/cad-docker.js +48 -4
- package/src/lib/dockerize.js +3 -3
- package/src/lib/execution-approvals.js +29 -3
- 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/client.js +2 -1
- package/src/mcp/oauth-connection.js +109 -0
- package/src/models/inventory-core.js +2 -10
- package/src/plugins/completeful.js +2 -2
- package/src/plugins/index.js +13 -0
- package/src/plugins/productization.js +348 -0
- package/src/providers/gemini-generate-content.js +18 -0
- package/src/registry/generated/inventory.json +4266 -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/index.js +30 -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/artifact-render.js +13 -0
- package/src/sam/operations/repository-inspect.js +12 -2
- 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 +55 -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 +27 -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.js +93 -0
- package/src/sam/packs/evidence/viewports.js +23 -0
- package/src/sam/robotics/chess-adapter.js +14 -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/validation.js +40 -0
- package/src/security/local-vault.js +6 -1
- package/src/ui/cli/help.js +6 -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/packages/theme-church-site/README.md +0 -10
- package/packages/theme-church-site/src/harvest.json +0 -16
- package/packages/theme-church-site/test/theme.test.mjs +0 -21
- package/packages/theme-companions-site/README.md +0 -10
- package/packages/theme-companions-site/src/harvest.json +0 -14
- package/packages/theme-companions-site/src/index.js +0 -87
- package/packages/theme-companions-site/test/theme.test.mjs +0 -21
- package/packages/theme-floors-site/README.md +0 -10
- package/packages/theme-floors-site/src/harvest.json +0 -16
- package/packages/theme-floors-site/test/theme.test.mjs +0 -21
- package/packages/theme-fuelnfree-site/README.md +0 -10
- package/packages/theme-fuelnfree-site/src/harvest.json +0 -15
- package/packages/theme-fuelnfree-site/test/theme.test.mjs +0 -21
- package/packages/theme-handyman-site/README.md +0 -10
- package/packages/theme-handyman-site/package.json +0 -41
- package/packages/theme-handyman-site/src/harvest.json +0 -12
- package/packages/theme-handyman-site/src/index.js +0 -88
- package/packages/theme-handyman-site/test/theme.test.mjs +0 -21
- package/packages/theme-insurance-site/README.md +0 -10
- package/packages/theme-insurance-site/src/harvest.json +0 -12
- package/packages/theme-insurance-site/src/index.js +0 -88
- package/packages/theme-insurance-site/test/theme.test.mjs +0 -21
- package/packages/theme-shinshu-site/README.md +0 -10
- package/packages/theme-shinshu-site/src/harvest.json +0 -14
- package/packages/theme-shinshu-site/test/theme.test.mjs +0 -21
- package/protocol/theme-refinery/lineage-registry.json +0 -105
- package/protocol/theme-refinery/receipts/products-registry-batch-20260924.json +0 -318
- package/protocol/theme-refinery/receipts/theme-harvest-20260924.json +0 -472
package/AGENTSAM.md
CHANGED
|
@@ -8,6 +8,10 @@ conventional client variable for that machinery, never a human identity. Prefer
|
|
|
8
8
|
“AgentSam executes through SAM…” over anthropomorphic phrasing. Architecture SSOT:
|
|
9
9
|
`docs/architecture/SAM_KERNEL.md`.
|
|
10
10
|
|
|
11
|
+
**Owner development-quality gate:** InnerAnimalMedia-owned work follows the [Experience Standard](https://github.com/SamPrimeaux/inneranimalmedia/blob/main/docs/standards/INNERANIMALMEDIA_EXPERIENCE_STANDARD.md): *Craft over spectacle. Substance over promises.* Visual distinction, functional depth, effortless usability, technical reliability, and narrative coherence determine actual experience quality. Never claim a feature is finished solely because it compiles, passes isolated tests, or looks good in a screenshot. This is an owner-scoped development standard, **not** a default policy for unrelated customers installing the portable SDK. See [user-global rule loading](docs/architecture/USER_GLOBAL_AGENT_INSTRUCTIONS.md).
|
|
12
|
+
|
|
13
|
+
**Delivery closure law:** Follow [docs/standards/DELIVERY_CLOSURE.md](docs/standards/DELIVERY_CLOSURE.md) for every owner-led branch. Feature branch ≠ shipped. Check existing branches first, complete real runtime validation, merge, prove the deployed revision and route, then safely prune merged worktrees. A PR, standalone Vite screenshot, or doc-only handoff never completes a functional user request.
|
|
14
|
+
|
|
11
15
|
## AgentSam system model: deterministic machinery + LLM augmentation
|
|
12
16
|
|
|
13
17
|
AgentSam is deliberately **not** “an LLM with tools.” It is a layered system:
|
|
@@ -21,6 +25,10 @@ AgentSam is deliberately **not** “an LLM with tools.” It is a layered system
|
|
|
21
25
|
|
|
22
26
|
This division is a product requirement: **LLMs supercharge AgentSam; they do not become the source of truth that holds AgentSam together.**
|
|
23
27
|
|
|
28
|
+
## Authored experiences and multi-agent delivery
|
|
29
|
+
|
|
30
|
+
For brand/experience work, use the portable workflow skill `agentsam-experience-delivery` and the proposed, status-labeled program at `docs/plans/SAM_MACHINERY_TO_EXPERIENCE_2026-10-15.md`. These are procedural references, **not** new runtime capabilities or authority to edit a consuming brand. Brand identity decisions belong to that project’s approved guide and owner. Machine/kernel correctness and source preservation precede creative-source mining and presentation work. Never transplant the InnerAnimalMedia reference fixture into a generic SDK default.
|
|
31
|
+
|
|
24
32
|
## Portability, resale, and repurposability law
|
|
25
33
|
|
|
26
34
|
AgentSam machinery is only reusable when an unrelated user can install or instantiate it without inheriting the operator's machine, identity, credentials, infrastructure, or monorepo.
|
|
@@ -60,8 +68,22 @@ Product graduation and resale enforcement are defined in
|
|
|
60
68
|
- Prefer deterministic code, Git, Merkle, AST, indexes, and other non-LLM mechanisms when they can answer the question reliably.
|
|
61
69
|
- Keep security- or correctness-critical checks in trusted runtime code, not prompt prose.
|
|
62
70
|
|
|
71
|
+
## Skills
|
|
72
|
+
|
|
73
|
+
Portable skills live in `skills/` (index: `skills/catalog.json`; list with `agentsam skills`, open with
|
|
74
|
+
`agentsam skills <id>`). Before planning, resuming work, or building a new capability, load the matching
|
|
75
|
+
skill instead of rediscovering it:
|
|
76
|
+
|
|
77
|
+
- plan or blackboard state: `agentsam-plan-and-goap`
|
|
78
|
+
- calling or judging operations: `agentsam-sam-operations`
|
|
79
|
+
- understanding a repository: `agentsam-repo-recon`
|
|
80
|
+
- Blender and CAD artifacts: `agentsam-cad`
|
|
81
|
+
- where something lives, or what is authoritative: `agentsam-sdk-orientation`
|
|
82
|
+
|
|
63
83
|
## Repository behavior
|
|
64
84
|
|
|
85
|
+
- For **AgentSam-owned visual identity** work (mascot, icons, favicons, miniAgentSam and pet), consult `assets/brand/agentsam-gorilla/README.md` and `asset-roles.json` before re-creating artwork or distributing assets. This is a character asset source, not a customer/merchant branding default.
|
|
86
|
+
|
|
65
87
|
- Inspect relevant current code before changing it.
|
|
66
88
|
- Extend working primitives instead of creating parallel legacy implementations.
|
|
67
89
|
- Git owns source-control history. Merkle owns filesystem evidence and snapshot lineage. Runtime/hosted stores own run and execution history.
|
|
@@ -123,6 +145,16 @@ Portable product apps follow [`docs/architecture/AGENTSAM_APPLICATION_CONTRACT.m
|
|
|
123
145
|
- Batch is an asynchronous execution lane, not an interactive service tier. Projected spend and request counts must be known before submitting budgeted background work.
|
|
124
146
|
- Do not impose arbitrary short wall-clock caps on legitimate long work. Use checkpoints, progress events, durable receipts, provider status, and explicit fallback policy so a slow run can continue or fail visibly rather than being silently abandoned.
|
|
125
147
|
|
|
148
|
+
## Product verification evidence law
|
|
149
|
+
|
|
150
|
+
Any new product-verification feature must first consume existing Machine, Repository, capability, Settings, Identity, Vault, hooks/MCP, and package evidence. It may add a missing evidence adapter, but it must not rescan or reimplement an authority that already produces the required fact.
|
|
151
|
+
|
|
152
|
+
Every product finding must identify:
|
|
153
|
+
- the evidence source that supports it, and
|
|
154
|
+
- the expected canonical owner when the finding is about duplicated or misplaced authority.
|
|
155
|
+
|
|
156
|
+
A warning that only says "duplicate code" is incomplete. Product inspection is perception only; it must not mutate source, connect accounts, grant permissions, execute tools, or manufacture runtime proof. Product readiness is computed from current verification evidence and must never be stored as a casually writable `ready` flag.
|
|
157
|
+
|
|
126
158
|
## Verification and completion
|
|
127
159
|
|
|
128
160
|
- Run proportionate focused tests first, then the repository gates required by the affected public surface.
|
package/DEVELOPMENT.md
CHANGED
|
@@ -1,80 +1,75 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
Developing AgentSam
|
|
2
|
+
Canonical source: agentsam-sdk
|
|
3
|
+
Machinery: SAM — Systematic Autonomous Machinery
|
|
4
|
+
Distribution direction: private-first, reusable and commercially licensed where rights permit
|
|
5
|
+
Current release train: 2.6.13 (publication must be verified separately)
|
|
6
|
+
AgentSam is InnerAnimalMedia's development platform for turning substantial engineering work into reusable, versioned software: deterministic operations, SDKs, CLIs, packages, application shells, product modules and installable customer products.
|
|
7
|
+
The goal is not to duplicate an application for every customer. Build a capability once at its proper source, consume it through an explicit contract, and deliver a verified installation to the intended host. Complexity belongs in the machinery; the experience should remain straightforward.
|
|
8
|
+
Read [the ownership protocol](protocol/README.md), [SAM Kernel](docs/architecture/SAM_KERNEL.md), [application contract](docs/architecture/AGENTSAM_APPLICATION_CONTRACT.md) and [delivery closure standard](docs/standards/DELIVERY_CLOSURE.md) before changing a package or app boundary.
|
|
9
|
+
Source and ownership boundaries
|
|
10
|
+
Directory / authority Owns
|
|
11
|
+
protocol/, src/sam/, src/ Portable contracts, normalized operations, SDK and CLI behavior
|
|
12
|
+
packages/ Reusable, separately identifiable packages with explicit public APIs; a directory does not determine licensing or publication status
|
|
13
|
+
apps/ Runnable products and hosts with canonical agentsam.app.json definitions
|
|
14
|
+
apps/*/apps/ Product-owned extension modules, not another independent Studio
|
|
15
|
+
.agentsam/ Local receipts and host/install state; not a duplicate product definition
|
|
16
|
+
apps/local-studio/ The existing Local Studio host, navigation, application discovery and launch surfaces
|
|
17
|
+
Customer installation Its own Worker, database, object storage, providers, identity context and website
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
sam.invoke() is the normalized execution doorway. The registered operation, host adapter, authorization, tool executor, revision and evidence determine what actually runs. A declared capability is not proof that its provider or production host is connected.
|
|
21
|
+
There is one source of truth for each shared primitive. Preserve source and behavior before extraction, then replace duplicates with imports; do not mirror entire application trees. The portable cms_* contract governs editable public-facing sites, pages, themes, sections, blocks, assets, drafts and publications—not ecommerce orders, inventory, CAD geometry or other product-specific business records.
|
|
22
|
+
Applications and Local Studio
|
|
23
|
+
The complete @inneranimalmedia/ecommerce-cms-agentsam product supplies its real admin interface: Online Store, Theme Studio, pages and blocks, media, products, inventory, orders, growth, analytics and related application routes. Its first paying installation is Fuel & Free Time; no customer-specific data or configuration is a universal product default.
|
|
24
|
+
Local Studio discovers and hosts applications; it does not replace their business APIs with a generic CMS facade. The canonical site entry is /sites. A selected customer's Ecommerce Worker and resources remain authoritative for the installed application. CAD Creator and other products use the same app contract and installation pattern while keeping their own machinery and Workers.
|
|
25
|
+
included_apps is a build-time inclusion, not an installation record for a customer. Today agentsam app install <id> reports distribution instructions; it does not yet complete account-scoped installation and activation. Record build, installation, route launch and actual use as distinct delivery gates.
|
|
26
|
+
agentsam app list
|
|
27
|
+
agentsam app info cad-creator
|
|
28
|
+
agentsam app doctor cad-creator
|
|
29
|
+
Contributor setup and verification
|
|
30
|
+
Use Node.js 22.5+ and the repository's locked dependencies; Python 3.10+ is needed for the bundled Python tooling. Native engines and Docker are installed only for the operations that require them.
|
|
9
31
|
npm ci
|
|
10
32
|
npm run verify
|
|
33
|
+
npm run verify:registry
|
|
11
34
|
npm run verify:knowledge-package
|
|
12
35
|
npm run test:python
|
|
13
|
-
npm run security:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
Postgres/pgvector checks use development-only PGlite; no production database or embedding
|
|
27
|
-
API call is required by the tests. Dependency scanning requires access to OSV.
|
|
28
|
-
|
|
29
|
-
## Use in a consumer
|
|
30
|
-
|
|
31
|
-
```sh
|
|
32
|
-
npm link
|
|
33
|
-
cd /path/to/consumer
|
|
34
|
-
npm link @inneranimalmedia/agentsam-sdk
|
|
35
|
-
agentsam context --json
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
Git context is derived from the checkout. Host authorization and credentials are supplied
|
|
39
|
-
through explicit adapters. See [portable context](docs/PORTABLE_CONTEXT.md).
|
|
40
|
-
|
|
41
|
-
For a new local application:
|
|
42
|
-
|
|
43
|
-
```sh
|
|
44
|
-
agentsam init --name my-agent --lane fullstack --run-target local --yes
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
For an existing repository:
|
|
48
|
-
|
|
49
|
-
```sh
|
|
36
|
+
npm run security:release
|
|
37
|
+
npm run verify:release
|
|
38
|
+
verify:release is the aggregate release gate; running every command above separately is useful for diagnosis, not a second publication requirement. The suite includes SDK, CLI, identity, package, scaffold, knowledge, security and installed-tarball checks. Offline knowledge-package verification is available when required dependencies are cached:
|
|
39
|
+
npm run verify:knowledge-package -- --offline
|
|
40
|
+
Keep true engine tests separate from compilation or mock-free contract tests. For CAD, validate the native precision kernel, execution adapters, actual project revision roundtrip and produced artifacts on an equipped runner. Record pass, fail and skip honestly; skipped real-engine tests are not shipment evidence.
|
|
41
|
+
Work on a dedicated branch/worktree. Inspect existing branches and dirty state before touching a shared implementation:
|
|
42
|
+
git fetch origin --prune
|
|
43
|
+
git worktree list --porcelain
|
|
44
|
+
git status -sb
|
|
45
|
+
Never reset, rebase, force-push or delete unrelated work as a shortcut. Prefer a clean worktree based on origin/main when the primary checkout has diverged.
|
|
46
|
+
Consume and build locally
|
|
47
|
+
Within an authorized checkout, use the SDK's exact source or a pinned package version; do not confuse a development link with proof of a published installation.
|
|
48
|
+
# Existing repository
|
|
50
49
|
agentsam init . --yes --include src,docs
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
## Publish
|
|
54
|
-
|
|
55
|
-
Use [the stable 2.0 release guide](docs/sdk-2.0-release.md). The root package is the only
|
|
56
|
-
npm publication; identity and shell-kit workspaces remain private. Versions in the root
|
|
57
|
-
manifest, lockfile and identity workspace must match. All export targets and the shipped
|
|
58
|
-
knowledge-service runtime assets are checked before publication.
|
|
59
|
-
|
|
60
|
-
`scripts/npm-publish-preflight.sh` checks package invariants and npm login. Package
|
|
61
|
-
publishing rights are enforced by npm, not a hardcoded local username. Scoped public
|
|
62
|
-
publication uses `--access public`.
|
|
63
|
-
|
|
64
|
-
Stable publishing is manual:
|
|
65
|
-
|
|
66
|
-
```sh
|
|
67
|
-
npm publish --tag latest --access public
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
Legacy `publish:identity-alpha` commands and the manual alpha workflow only accept alpha
|
|
71
|
-
versions. They do not publish a stable version under the alpha tag.
|
|
72
|
-
|
|
73
|
-
## Remaining integration work
|
|
74
|
-
|
|
75
|
-
The local status command is implemented. Hosted execution/orchestration, production
|
|
76
|
-
knowledge-service routing, additional embedding adapters, scheduled indexing, and retention
|
|
77
|
-
are separate host or feature work. The archived execution branch is mapped in
|
|
78
|
-
[branch archive](docs/branch-archive-2026-09-02.md); it is not an implemented API surface.
|
|
79
50
|
|
|
80
|
-
|
|
51
|
+
# New application
|
|
52
|
+
agentsam create my-agent --preset fullstack
|
|
53
|
+
Local package links can support contributor iteration. Release acceptance must install the actual intended npm tarballs and verify their exported contracts, executable, assets and launch behavior without relying on the monorepo checkout.
|
|
54
|
+
Private-first distribution and licensing
|
|
55
|
+
InnerAnimalMedia intends to keep original commercial application code and internal packages private by default. Private GitHub, npm package accessibility and intellectual-property licenses are different controls: none automatically grants or revokes the others.
|
|
56
|
+
- An internal workspace that must never be published uses "private": true.
|
|
57
|
+
- An installable product available only to authorized npm accounts uses "private": false and "publishConfig": { "access": "restricted" }, subject to registry access and billing support.
|
|
58
|
+
- Commercial applications require explicit, reviewed customer-use terms and rights notices.
|
|
59
|
+
- Existing MIT-licensed versions and third-party code retain their applicable permissions. Do not automatically relabel historical MIT code proprietary or imply those licenses are revoked. Audit code ownership and dependencies first.
|
|
60
|
+
- Keep npm read credentials in trusted CI or servers, never in browser JavaScript, customer site assets, committed .npmrc files or logs.
|
|
61
|
+
See [private-first release policy](docs/policy/PRIVATE_FIRST_RELEASE.md) once merged. Until that policy and all registry/release consumers are reconciled, treat private-first as a migration in progress, not as a finished distribution change.
|
|
62
|
+
Coordinated releases
|
|
63
|
+
SDK and Ecommerce CMS use the coordinated 2.6.13 release train, while remaining distinct npm artifacts with independent runtime/resource ownership. Supplier integrations and product-owned modules retain their legitimate dependency boundaries. A release version is not the same as a deployment or customer installation.
|
|
64
|
+
The canonical publication path is the protected, manually dispatched [stable release workflow](.github/workflows/publish-stable.yml), following source review, release-train validation, package/runtime tests, licensing checks, npm authorization and a clean release commit. Do not run npm publish --access public as an alternative release path. The target package must declare the approved access mode; publishing is blocked while any script or gate still assumes public distribution.
|
|
65
|
+
Required evidence:
|
|
66
|
+
1. All product and SDK manifests, dependency edges and lockfiles agree on the approved release versions.
|
|
67
|
+
2. The actual application and its embedded host build, with real source and assets; native functionality is exercised where required.
|
|
68
|
+
3. The appropriate package is published to its authorized registry scope and can be installed with read-only credentials.
|
|
69
|
+
4. Local Studio discovers and opens the intended app, with a verified selected installation and permissions.
|
|
70
|
+
5. Customer-owned APIs, persistence, publish operations and failure/recovery paths work in the target environment.
|
|
71
|
+
6. The deployed artifact, Git SHA, package integrity, installation and launch evidence are recorded before calling the delivery shipped.
|
|
72
|
+
Use [release receipts](docs/RELEASES.md) and [delivery closure](docs/standards/DELIVERY_CLOSURE.md). A merged PR, passing mock tests, or a preview is not a live release.
|
|
73
|
+
Current engineering boundaries
|
|
74
|
+
Hosted authorization, remote execution, storage/provider connections, customer installation activation and native CAD/BIM output must be verified in their actual runtime. Don't state that a declared API, scaffold, application or adapter is production-ready merely because its interface exists.
|
|
75
|
+
When work is incomplete, preserve its source, identify the owner and record the remaining acceptance gate. Do not replace a real product with a placeholder, duplicate Studio, or customer-specific hardcoding.
|
package/README.md
CHANGED
|
@@ -168,6 +168,17 @@ do not run just because a user enters a repository. Precompiled npm-native
|
|
|
168
168
|
platform binaries remain a separate future distribution lane; the current managed
|
|
169
169
|
installer uses Cargo and therefore requires a Rust/Cargo toolchain.
|
|
170
170
|
|
|
171
|
+
## Product and capability map
|
|
172
|
+
|
|
173
|
+
AgentSam is a working CLI/SDK and application ecosystem, not a single demo application. Its command catalog, deterministic capability contracts, native package setup recipes, standalone APP manifests, reusable packages, and per-host/account installation records are **different authorities**.
|
|
174
|
+
|
|
175
|
+
- [Generated registry reference](docs/reference/AGENTSAM-REGISTRY.generated.md) — current commands, all declared capabilities, four setup recipes, APP manifests and package inventory. Regenerate with `npm run docs:registry`; `npm run verify:registry` fails if the generated reference drifts.
|
|
176
|
+
- [CLI workflows](docs/reference/AGENTSAM-CLI-WORKFLOWS.md) — practical command-to-outcome map, including brand, Machine, plans, database, runtime, apps and release evidence.
|
|
177
|
+
- [Capability install planner](docs/contracts/capability-install-planner.md) — provider-native prerequisites vs `agentsamd` runtime placement vs actual app/plugin installations.
|
|
178
|
+
- [APP contract](docs/architecture/AGENTSAM_APPLICATION_CONTRACT.md) — portable product identity; build-time `included_apps` does not install new apps for an existing customer.
|
|
179
|
+
|
|
180
|
+
`agentsam app install <id>` currently **prints** distribution instructions; a durable post-download Local Studio APP installation/activation is a distinct product gate. `agentsam capabilities` prints declarations, not proof that every host has the required handler and authorization. See [Delivery closure](docs/standards/DELIVERY_CLOSURE.md) before labeling a workflow shipped.
|
|
181
|
+
|
|
171
182
|
## Capability discovery and available kits
|
|
172
183
|
|
|
173
184
|
The canonical machine-readable capability registry is available through `agentsam capabilities --json`
|
|
@@ -596,6 +596,18 @@ agentsam cad project ...
|
|
|
596
596
|
|
|
597
597
|
Project writes are revision-guarded. Builds and downstream artifacts are tied back to project revision/content evidence rather than treated as anonymous files.
|
|
598
598
|
|
|
599
|
+
### Verified native OCCT integration (2026-10-18)
|
|
600
|
+
|
|
601
|
+
The current SDK already contains a real C++ OpenCascade engine at `services/cad/occt/`. The local host build was tested with OpenCascade **7.9.3** and installed as `~/.agentsam/bin/agentsam-occt`. Its existing `createOcctNativeProvider` implements actual kernel doctor, STEP export/reopen, volume inspection, and SHA-256 artifact verification.
|
|
602
|
+
|
|
603
|
+
CAD Creator now consumes this engine **through the same `cad.project.v1` nine-tool vocabulary**. A saved editable `parametricObjects` entry with `generator: "occt"`, `generatorTemplate: "box"`, and `source: "occt:box"` can be built by `design_model_build` with `engine: "occt"` and its `parametric_object_id`. `design_model_inspect` and `design_model_export` with `format: "step"` then verify the exact revision and deliver its STEP artifact. The existing Blender scene build/render remains the default. This proves a **native precision solid**, not yet a complete IFC/BIM architectural compiler.
|
|
604
|
+
|
|
605
|
+
The actual `MiniAgentSam` component is consumed from `@inneranimalmedia/agentsam-workbench/agent` (v2.6.12). In Local Studio's embedded CAD Creator, bounded descriptive selections are submitted over the existing host-controlled conversation bridge, where authentication, approvals, proposals and writes remain host responsibilities. Standalone mode saves a copyable request draft, not an unapproved AI edit. Do not describe the copilot as an independently authorized model runner.
|
|
606
|
+
|
|
607
|
+
Host engine discovery is explicit: the verified local OCCT, OpenSCAD, and Blender engines are distinct from FreeCAD's currently failing CLI probe and absent build123d/IfcOpenShell Python dependencies. The company D1 inventory records these as **disabled host-scoped engine connections**, and the existing hosted CAD tools remain **inactive** pending deployed dispatcher authorization/verification. The draft `cad.occt_step_roundtrip` workflow is cataloged with validation, save, build, inspection, export and receipt stages.
|
|
608
|
+
|
|
609
|
+
For reproducible commands, exact evidence, original native receipts, the registry reconciliation and outstanding desktop/hosted delivery gates, see [Native OCCT project round-trip acceptance](docs/acceptance/NATIVE_OCCT_PROJECT_ROUNDTRIP.md).
|
|
610
|
+
|
|
599
611
|
### Next capability packs
|
|
600
612
|
|
|
601
613
|
Expand outward from `cad.project.v1`; do not bypass it with app-only integrations.
|
|
@@ -1,75 +1,2 @@
|
|
|
1
|
-
//
|
|
2
|
-
export
|
|
3
|
-
const errors = [];
|
|
4
|
-
if (!p || typeof p !== 'object') return {valid:false, errors:['project_required']};
|
|
5
|
-
if (!p.id || !p.name) errors.push('id_and_name_required');
|
|
6
|
-
if (p.scale !== 1) errors.push('coordinate_scale_must_be_one_inch');
|
|
7
|
-
const groups=['walls','rooms','doors','windows','furniture','annotations'];
|
|
8
|
-
const ids=new Set();
|
|
9
|
-
for (const group of groups) {
|
|
10
|
-
if (!Array.isArray(p[group])) { errors.push(group+'_array_required'); continue; }
|
|
11
|
-
for (const e of p[group]) {
|
|
12
|
-
if (!e || typeof e.id !== 'string' || !e.id || ids.has(e.id)) errors.push('invalid_or_duplicate_element_id');
|
|
13
|
-
else ids.add(e.id);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
if(groups.some(g=>!Array.isArray(p[g])))return {valid:false,errors};
|
|
17
|
-
const finite=(v)=>typeof v==='number'&&Number.isFinite(v);
|
|
18
|
-
const positive=(v)=>finite(v)&&v>0;
|
|
19
|
-
for(const w of p.walls||[]) {
|
|
20
|
-
if (!w) continue;
|
|
21
|
-
if (![w.x1,w.y1,w.x2,w.y2].every(finite)||!positive(w.thickness)||!positive(w.height3D)||Math.hypot(w.x2-w.x1,w.y2-w.y1)<1e-6) errors.push('invalid_wall:'+w.id);
|
|
22
|
-
}
|
|
23
|
-
for(const e of [...(p.doors||[]),...(p.windows||[])]) {
|
|
24
|
-
if (!e) continue;
|
|
25
|
-
const w=(p.walls||[]).find(w=>w?.id===e.wallId);
|
|
26
|
-
if (!w) { errors.push('opening_wall_missing:'+e.id); continue; }
|
|
27
|
-
const len=Math.hypot(w.x2-w.x1,w.y2-w.y1), z=e.elevation??0;
|
|
28
|
-
if (!positive(e.width)||!positive(e.height)||!finite(e.distanceAlongWall)||e.distanceAlongWall<0||e.distanceAlongWall>1||!finite(z)||z<0||z+e.height>w.height3D||e.distanceAlongWall*len-e.width/2<0||e.distanceAlongWall*len+e.width/2>len) errors.push('opening_out_of_bounds:'+e.id);
|
|
29
|
-
}
|
|
30
|
-
for(const r of p.rooms||[]) if(!r||!Array.isArray(r.points)||r.points.length<3||!r.points.every(v=>Array.isArray(v)&&v.length===2&&v.every(finite))) errors.push('invalid_room:'+r?.id);
|
|
31
|
-
for(const f of p.furniture||[]) if(!f||![f.x,f.y,f.rotation].every(finite)||![f.w,f.d,f.h].every(positive)) errors.push('invalid_fixture:'+f?.id);
|
|
32
|
-
return {valid:errors.length===0,errors};
|
|
33
|
-
}
|
|
34
|
-
export function requireValidProject(p) {
|
|
35
|
-
const v=validateProject(p); if(!v.valid) throw new Error(v.errors.join('; ')); return p;
|
|
36
|
-
}
|
|
37
|
-
export function applyProjectOperation(project, operation) {
|
|
38
|
-
requireValidProject(project);
|
|
39
|
-
const next=structuredClone(project);
|
|
40
|
-
const apply=(op)=>{
|
|
41
|
-
if(!op||typeof op.type!=='string') throw new Error('operation_type_required');
|
|
42
|
-
if(op.type==='batch_operations'||op.type==='convert_sketch_selection') {
|
|
43
|
-
const list=op.operations??op.proposedOperations;
|
|
44
|
-
if(!Array.isArray(list)||list.length>256) throw new Error('invalid_operation_batch');
|
|
45
|
-
list.forEach(apply); return;
|
|
46
|
-
}
|
|
47
|
-
const specs={
|
|
48
|
-
create_wall:['walls','wall'], create_room:['rooms','room'], add_door:['doors','door'],add_window:['windows','window'],add_fixture:['furniture','fixture'],create_parametric_object:['parametricObjects','parametricObject']
|
|
49
|
-
};
|
|
50
|
-
if(specs[op.type]) {const [group,key]=specs[op.type]; if(!op[key])throw new Error(key+'_required'); (next[group]??=[]).push(structuredClone(op[key]));return;}
|
|
51
|
-
const updates={update_wall:['walls','wallId'],update_room:['rooms','roomId'],update_door:['doors','doorId'],update_window:['windows','windowId'],update_fixture:['furniture','fixtureId']};
|
|
52
|
-
const deletes={delete_wall:['walls','wallId'],delete_room:['rooms','roomId'],delete_door:['doors','doorId'],delete_window:['windows','windowId'],delete_fixture:['furniture','fixtureId'],delete_parametric_object:['parametricObjects','parametricObjectId']};
|
|
53
|
-
const find=(group,id)=>{const e=(next[group]||[]).find(e=>e.id===id);if(!e)throw new Error('element_not_found:'+id);return e;};
|
|
54
|
-
if(updates[op.type]){const [g,k]=updates[op.type];const e=find(g,op[k]);if(!op.updates||('id' in op.updates&&op.updates.id!==e.id))throw new Error('invalid_updates');Object.assign(e,op.updates);return;}
|
|
55
|
-
if(deletes[op.type]){const [g,k]=deletes[op.type];find(g,op[k]);next[g]=next[g].filter(e=>e.id!==op[k]);if(g==='walls'){next.doors=next.doors.filter(e=>e.wallId!==op[k]);next.windows=next.windows.filter(e=>e.wallId!==op[k]);}return;}
|
|
56
|
-
if(op.type==='move_element'){
|
|
57
|
-
if(!Number.isFinite(op.dx)||!Number.isFinite(op.dy))throw new Error('finite_displacement_required');
|
|
58
|
-
const g={wall:'walls',room:'rooms',furniture:'furniture',parametric:'parametricObjects'}[op.elementType];
|
|
59
|
-
if(!g)throw new Error('unsupported_move_type:'+op.elementType);
|
|
60
|
-
const e=find(g,op.elementId);
|
|
61
|
-
if(g==='walls'){e.x1+=op.dx;e.x2+=op.dx;e.y1+=op.dy;e.y2+=op.dy;}
|
|
62
|
-
else if(g==='rooms') e.points=e.points.map(([x,y])=>[x+op.dx,y+op.dy]);
|
|
63
|
-
else if(g==='parametricObjects'){e.transform.x+=op.dx;e.transform.y+=op.dy;e.transform.z+=op.dz??0;}
|
|
64
|
-
else {e.x+=op.dx;e.y+=op.dy;}return;
|
|
65
|
-
}
|
|
66
|
-
if(op.type==='set_lighting'){next.lighting={...next.lighting,...op.lighting};return;}
|
|
67
|
-
if(op.type==='attach_sketch'){next.sketchDocument=structuredClone(op.sketchDocument);return;}
|
|
68
|
-
if(op.type==='update_parametric_parameter'){const e=find('parametricObjects',op.parametricObjectId);e.parameters[op.parameterName]=op.value;return;}
|
|
69
|
-
if(op.type==='update_parametric_source'){find('parametricObjects',op.parametricObjectId).source=op.source;return;}
|
|
70
|
-
throw new Error('unsupported_operation:'+op.type);
|
|
71
|
-
};
|
|
72
|
-
apply(operation);requireValidProject(next);
|
|
73
|
-
next.version=(project.version||1)+1;next.updatedAt=Date.now();
|
|
74
|
-
return next;
|
|
75
|
-
}
|
|
1
|
+
// Compatibility export; SDK is canonical.
|
|
2
|
+
export * from '../../../../../../src/lib/cad/editable-project-contract.js';
|
|
@@ -1,24 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
['design_project_validate','Validate inch-based CAD project geometry and references','design.read'],
|
|
4
|
-
['design_apply_operation','Apply an atomic typed edit with revision conflict detection','design.write'],
|
|
5
|
-
['design_project_save','Save an immutable CAD project revision','design.write'],
|
|
6
|
-
['design_project_restore','Restore saved geometry as a new revision','design.write'],
|
|
7
|
-
['design_model_build','Build a real Blender model from an editable CAD project','design.write'],
|
|
8
|
-
['design_model_inspect','Inspect a verified revision model','design.read'],
|
|
9
|
-
['design_model_render','Render a courtyard PNG from a revision model','design.export'],
|
|
10
|
-
['design_model_export','Export a revision model as GLB STL or OBJ','design.export']
|
|
11
|
-
].map(([name,description,capability_key])=>{
|
|
12
|
-
const fields={
|
|
13
|
-
expected_content_hash:{type:'string',pattern:'^[a-f0-9]{64}$'},project_id:{type:'string',pattern:'^[A-Za-z0-9_-]{1,100}$'},revision:{type:'integer',minimum:1},expected_revision:{type:'integer',minimum:0},
|
|
14
|
-
project:{type:'object',additionalProperties:true},operation:{type:'object',properties:{type:{type:'string'}},required:['type'],additionalProperties:true},format:{type:'string',enum:['glb','stl','obj']},message:{type:'string',maxLength:2000}};
|
|
15
|
-
const allowed=name==='design_project_get'?['project_id','revision','expected_content_hash']:name==='design_project_save'?['project','expected_revision','message']:
|
|
16
|
-
name==='design_project_validate'?['project','project_id','revision']:
|
|
17
|
-
name==='design_apply_operation'?['project_id','expected_revision','operation','message']:
|
|
18
|
-
name==='design_project_restore'?['project_id','revision','expected_revision']:
|
|
19
|
-
name==='design_model_export'?['project_id','revision','format']:['project_id','revision'];
|
|
20
|
-
const required=name==='design_project_validate'?[]:name==='design_project_save'?['project','expected_revision']:
|
|
21
|
-
name==='design_apply_operation'?['project_id','expected_revision','operation']:
|
|
22
|
-
name==='design_project_restore'?['project_id','revision','expected_revision']:['project_id'];
|
|
23
|
-
return {name,description,capability_key,strict:false,input_schema:{type:'object',properties:Object.fromEntries(allowed.map(k=>[k,fields[k]])),required,additionalProperties:false},output_schema:{type:'object'}};
|
|
24
|
-
});
|
|
1
|
+
// Compatibility export; SDK is canonical.
|
|
2
|
+
export * from '../../../../../../src/lib/cad/project-tools.js';
|
|
@@ -95,7 +95,7 @@ export interface LightingConfig {
|
|
|
95
95
|
// PARAMETRIC & OPENSCAD DOMAIN MODEL
|
|
96
96
|
// ---------------------------------------------------------------------------
|
|
97
97
|
|
|
98
|
-
export type ParametricGeneratorType = 'openscad' | 'procedural_csg' | 'custom_script';
|
|
98
|
+
export type ParametricGeneratorType = 'openscad' | 'procedural_csg' | 'custom_script' | 'occt';
|
|
99
99
|
|
|
100
100
|
export interface ParametricParameterDef {
|
|
101
101
|
name: string;
|
|
@@ -125,7 +125,7 @@ export interface ParametricObject {
|
|
|
125
125
|
rotationY?: number; // rotation around Y axis in degrees
|
|
126
126
|
rotationZ?: number;
|
|
127
127
|
};
|
|
128
|
-
source: string; // OpenSCAD source
|
|
128
|
+
source: string; // OpenSCAD source (.scad) or a native kernel recipe identifier (e.g. occt:box)
|
|
129
129
|
generatedArtifacts?: DesignArtifactSummary[];
|
|
130
130
|
updatedAt?: number;
|
|
131
131
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inneranimalmedia/agentsam-cms-backend",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.13",
|
|
4
4
|
"description": "Internal CMS backend bridge (bundled into @inneranimalmedia/client-cms-editor — not published separately).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"typecheck": "tsc --noEmit -p tsconfig.json"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@inneranimalmedia/agentsam-cms-shared": "2.6.
|
|
17
|
+
"@inneranimalmedia/agentsam-cms-shared": "2.6.13"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"typescript": "^5.9.3"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inneranimalmedia/agentsam-cms-frontend",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.13",
|
|
4
4
|
"description": "Internal CMS frontend (bundled into @inneranimalmedia/client-cms-editor — not published separately).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"test": "vitest run --passWithNoTests"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@inneranimalmedia/agentsam-cms-backend": "2.6.
|
|
19
|
-
"@inneranimalmedia/agentsam-cms-shared": "2.6.
|
|
18
|
+
"@inneranimalmedia/agentsam-cms-backend": "2.6.13",
|
|
19
|
+
"@inneranimalmedia/agentsam-cms-shared": "2.6.13",
|
|
20
20
|
"react": "^19.2.0",
|
|
21
21
|
"react-dom": "^19.2.0"
|
|
22
22
|
},
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { describe, expect, it } from 'vitest';
|
|
2
|
+
import { HttpCmsAdapter } from './http';
|
|
3
|
+
|
|
4
|
+
type Call = { url: string; method: string; body: unknown };
|
|
5
|
+
|
|
6
|
+
function json(value: unknown, status = 200) {
|
|
7
|
+
return new Response(JSON.stringify(value), {
|
|
8
|
+
status,
|
|
9
|
+
headers: { 'content-type': 'application/json' },
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
describe('HttpCmsAdapter composition authoring', () => {
|
|
14
|
+
it('persists groups -> sections -> blocks and stores a composition revision', async () => {
|
|
15
|
+
const calls: Call[] = [];
|
|
16
|
+
const transport: typeof fetch = async (input, init = {}) => {
|
|
17
|
+
const url = String(input);
|
|
18
|
+
const method = String(init.method || 'GET').toUpperCase();
|
|
19
|
+
let body: unknown = undefined;
|
|
20
|
+
if (typeof init.body === 'string') body = JSON.parse(init.body);
|
|
21
|
+
calls.push({ url, method, body });
|
|
22
|
+
|
|
23
|
+
if (url.includes('/api/cms/bootstrap')) {
|
|
24
|
+
return json({
|
|
25
|
+
ok: true,
|
|
26
|
+
tenant: { name: 'Demo' },
|
|
27
|
+
pages: [{ id: 'page_home', slug: 'home', title: 'Home', status: 'draft' }],
|
|
28
|
+
sections_by_page: {
|
|
29
|
+
page_home: [{
|
|
30
|
+
id: 'section_hero',
|
|
31
|
+
section_name: 'Hero',
|
|
32
|
+
section_type: 'hero',
|
|
33
|
+
section_data: JSON.stringify({ group_id: 'intro', group_label: 'Intro' }),
|
|
34
|
+
is_visible: 1,
|
|
35
|
+
}],
|
|
36
|
+
},
|
|
37
|
+
blocks_by_section: {
|
|
38
|
+
section_hero: [{
|
|
39
|
+
id: 'block_title',
|
|
40
|
+
section_id: 'section_hero',
|
|
41
|
+
component_type: 'heading',
|
|
42
|
+
component_data: JSON.stringify({ text: 'Hello' }),
|
|
43
|
+
is_visible: 1,
|
|
44
|
+
sort_order: 10,
|
|
45
|
+
}],
|
|
46
|
+
},
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
if (url.includes('/revisions') && method === 'POST') {
|
|
51
|
+
const payload = body as { snapshot?: unknown };
|
|
52
|
+
return json({
|
|
53
|
+
ok: true,
|
|
54
|
+
revision: {
|
|
55
|
+
id: 'rev_1',
|
|
56
|
+
pageId: 'page_home',
|
|
57
|
+
kind: 'draft',
|
|
58
|
+
createdAt: '2026-10-04T18:00:00.000Z',
|
|
59
|
+
snapshot: payload.snapshot,
|
|
60
|
+
},
|
|
61
|
+
}, 201);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
if (url.includes('/api/cms/blocks/block_title') && method === 'PUT') {
|
|
65
|
+
return json({
|
|
66
|
+
ok: true,
|
|
67
|
+
block: {
|
|
68
|
+
id: 'block_title',
|
|
69
|
+
section_id: 'section_hero',
|
|
70
|
+
component_type: 'heading',
|
|
71
|
+
component_data: JSON.stringify({ text: 'Updated' }),
|
|
72
|
+
is_visible: 1,
|
|
73
|
+
sort_order: 10,
|
|
74
|
+
},
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
if (url.includes('/api/cms/sections/section_hero') && method === 'PUT') {
|
|
79
|
+
return json({
|
|
80
|
+
ok: true,
|
|
81
|
+
section: {
|
|
82
|
+
id: 'section_hero',
|
|
83
|
+
section_name: 'Hero',
|
|
84
|
+
section_type: 'hero',
|
|
85
|
+
section_data: JSON.stringify({ group_id: 'intro', group_label: 'Intro' }),
|
|
86
|
+
is_visible: 1,
|
|
87
|
+
},
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
if (url.includes('/api/cms/pages/page_home') && method === 'PUT') {
|
|
92
|
+
return json({ ok: true, page: { id: 'page_home', slug: 'home', title: 'Home', status: 'draft' } });
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
return json({ ok: true });
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
const adapter = new HttpCmsAdapter({
|
|
99
|
+
transport,
|
|
100
|
+
sites: [{ id: 'demo', name: 'Demo' }],
|
|
101
|
+
});
|
|
102
|
+
|
|
103
|
+
const revision = await adapter.saveDraft('page_home', {
|
|
104
|
+
sections: [{
|
|
105
|
+
id: 'section_hero',
|
|
106
|
+
name: 'Hero',
|
|
107
|
+
type: 'hero',
|
|
108
|
+
zone: 'BODY',
|
|
109
|
+
visible: true,
|
|
110
|
+
color: '#111115',
|
|
111
|
+
fields: { group_id: 'intro', group_label: 'Intro' },
|
|
112
|
+
blocks: [{
|
|
113
|
+
id: 'block_title',
|
|
114
|
+
sectionId: 'section_hero',
|
|
115
|
+
type: 'heading',
|
|
116
|
+
visible: true,
|
|
117
|
+
data: { text: 'Updated' },
|
|
118
|
+
sortOrder: 10,
|
|
119
|
+
}],
|
|
120
|
+
}],
|
|
121
|
+
});
|
|
122
|
+
|
|
123
|
+
expect(revision.id).toBe('rev_1');
|
|
124
|
+
const revisionCall = calls.find((call) => call.url.includes('/revisions') && call.method === 'POST');
|
|
125
|
+
expect(revisionCall).toBeTruthy();
|
|
126
|
+
const revisionBody = revisionCall!.body as {
|
|
127
|
+
snapshot: { groups: Array<{ id: string }>; sections: unknown[]; pages?: unknown };
|
|
128
|
+
};
|
|
129
|
+
expect(revisionBody.snapshot.groups.map((group) => group.id)).toEqual(['intro']);
|
|
130
|
+
expect(revisionBody.snapshot.sections).toHaveLength(1);
|
|
131
|
+
expect(revisionBody.snapshot.pages).toBeUndefined();
|
|
132
|
+
|
|
133
|
+
expect(calls.some((call) => call.url.includes('/blocks/reorder') && call.method === 'POST')).toBe(true);
|
|
134
|
+
expect(calls.some((call) => call.url.includes('/sections/section_hero/visibility') && call.method === 'POST')).toBe(true);
|
|
135
|
+
});
|
|
136
|
+
|
|
137
|
+
it('uses real DELETE routes for sections and blocks', async () => {
|
|
138
|
+
const calls: Call[] = [];
|
|
139
|
+
const transport: typeof fetch = async (input, init = {}) => {
|
|
140
|
+
calls.push({
|
|
141
|
+
url: String(input),
|
|
142
|
+
method: String(init.method || 'GET').toUpperCase(),
|
|
143
|
+
body: undefined,
|
|
144
|
+
});
|
|
145
|
+
return json({ ok: true });
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
const adapter = new HttpCmsAdapter({
|
|
149
|
+
transport,
|
|
150
|
+
sites: [{ id: 'demo', name: 'Demo' }],
|
|
151
|
+
});
|
|
152
|
+
|
|
153
|
+
await adapter.deleteSection('section_1');
|
|
154
|
+
await adapter.deleteBlock('block_1');
|
|
155
|
+
|
|
156
|
+
expect(calls.map(({ url, method }) => [url, method])).toEqual([
|
|
157
|
+
['/api/cms/sections/section_1?site=demo', 'DELETE'],
|
|
158
|
+
['/api/cms/blocks/block_1?site=demo', 'DELETE'],
|
|
159
|
+
]);
|
|
160
|
+
});
|
|
161
|
+
});
|