@inneranimalmedia/agentsam-sdk 2.6.12 → 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.ts +25 -13
- package/apps/client-cms-editor/frontend/src/editor/CmsEditor.tsx +7 -4
- package/apps/client-cms-editor/frontend/src/editor/canvas/PreviewCanvas.tsx +31 -3
- package/apps/client-cms-editor/frontend/src/editor/host-preview.test.tsx +104 -0
- package/apps/client-cms-editor/package-lock.json +8 -8
- package/apps/client-cms-editor/package.json +2 -1
- package/apps/client-cms-editor/shared/cms/package.json +1 -1
- package/docs/AUTORAG.md +2 -0
- package/docs/CAPABILITIES.md +28 -0
- package/docs/adr/ADR-0003-copro-clean-room-product-architecture.md +6 -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 +6 -0
- package/docs/architecture/CAD_OPERATOR_CAPABILITIES.md +64 -0
- package/docs/architecture/CAD_ROBOTICS_RELEASE_LEDGER_20261016.md +43 -0
- package/docs/architecture/CAD_RUN_MODES.md +34 -0
- package/docs/architecture/CLI-BOOT-REMOTE-DB-READINESS-20261015.md +65 -0
- package/docs/architecture/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/contracts/capability-install-planner.md +66 -38
- package/docs/contracts/environment-vocabulary.md +5 -5
- 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/plans/MEDIA_TRUTH_SOURCE_RECOVERY_20261008.md +31 -0
- package/docs/plans/OFFLINE_CLI_KNOWLEDGE_AGENT_HANDOFF.md +104 -0
- package/docs/plans/OFFLINE_CLI_KNOWLEDGE_RUNBOOK.md +81 -0
- package/docs/plans/SAM_EXPERIENCE_AGENT_DISPATCH_2026-10-15.md +107 -0
- package/docs/plans/SAM_MACHINERY_TO_EXPERIENCE_2026-10-15.md +172 -0
- package/docs/plans/UI_POLISH_DESKTOP_2026-10-16.md +102 -0
- package/docs/plans/WORK-UX-REMASTER-2026-10-15.md +48 -0
- package/docs/plans/WORK-WORKSPACE-PLAN-2026-10-14.md +212 -0
- package/docs/product/AGENTSAM-UI-QUALITY-GATE.md +148 -0
- package/docs/product/AGENTSAM_PRODUCT_EXPERIENCE_STANDARD.md +2 -0
- package/docs/product/MEDIA-PRODUCTION-FAMILY.md +47 -0
- package/docs/product/OFFER-PORTFOLIO.md +14 -0
- package/docs/product/PACKAGE-TAXONOMY.md +17 -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/package.json +60 -8
- package/packages/agentsam-brand/package.json +1 -1
- 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/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-nav/dist/browser.global.js +18 -21
- package/packages/agentsam-nav/dist/browser.js +4 -3
- package/packages/agentsam-nav/dist/index.js +4 -3
- 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/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 +13 -4
- package/packages/agentsam-workbench/src/agent/capability-catalog.ts +96 -0
- package/packages/agentsam-workbench/src/agent/index.ts +2 -0
- package/packages/agentsam-workbench/src/knowledge/AutoRagWorkflowDialog.tsx +166 -0
- package/packages/agentsam-workbench/src/knowledge/README.md +14 -0
- package/packages/agentsam-workbench/src/knowledge/autorag-workflow.css +6 -0
- package/packages/agentsam-workbench/src/knowledge/index.ts +2 -0
- package/packages/agentsam-workbench/src/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/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/lane1-packed-consumer.test.mjs +12 -1
- package/packages/identity/tests/password-enrollment.test.mjs +82 -0
- package/packages/identity/tests/password-reset.test.mjs +43 -0
- package/packages/providers/completeful/package.json +1 -1
- package/packages/theme-cypress/agentsam.package.json +42 -0
- package/packages/theme-cypress/package.json +1 -1
- package/packages/theme-ember/agentsam.package.json +42 -0
- package/packages/theme-ember/package.json +1 -1
- package/packages/theme-forge/agentsam.package.json +42 -0
- package/packages/theme-forge/package.json +1 -1
- package/packages/theme-grove/agentsam.package.json +42 -0
- package/packages/theme-grove/package.json +1 -1
- package/packages/theme-harbor/agentsam.package.json +42 -0
- package/packages/theme-harbor/package.json +1 -1
- package/packages/theme-resolve/agentsam.package.json +42 -0
- package/packages/theme-resolve/package.json +1 -1
- package/packages/theme-scenes/agentsam.package.json +42 -0
- package/packages/theme-scenes/package.json +1 -1
- package/packages/theme-summit/agentsam.package.json +42 -0
- package/packages/theme-summit/package.json +1 -1
- package/packages/theme-violet/agentsam.package.json +42 -0
- package/packages/theme-violet/package.json +1 -1
- 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/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/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/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
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# SAM Machine Build and Gap Acceptance
|
|
2
|
+
|
|
3
|
+
**Execution handoff · 2026-10-17**
|
|
4
|
+
|
|
5
|
+
The commands here operate on current repository implementations; they do not
|
|
6
|
+
invent generated-only operations or silently update customer/production data.
|
|
7
|
+
|
|
8
|
+
## Build now
|
|
9
|
+
|
|
10
|
+
node scripts/sam-machine/build.mjs --out /tmp/sam-machine-build --project . --verify
|
|
11
|
+
bash scripts/sam-machine/verify.sh /tmp/sam-machine-acceptance
|
|
12
|
+
node scripts/sam-machine/gate.mjs --input /tmp/sam-machine-acceptance/acceptance.json --require js,python
|
|
13
|
+
node scripts/sam-machine/gate.mjs --input /tmp/sam-machine-acceptance/acceptance.json --require all
|
|
14
|
+
# With separate IAM MCP authorization; optional live read-only proof:
|
|
15
|
+
node scripts/sam-machine/live-mcp-check.mjs --database YOUR_DATABASE_UUID
|
|
16
|
+
|
|
17
|
+
The final all-language gate intentionally fails until supported, verified
|
|
18
|
+
clients exist. The build generates catalog.json, acceptance.json, report.html,
|
|
19
|
+
report.md, manifest.json, inspection receipt and generated operation-ID
|
|
20
|
+
projections for TypeScript/Python/Go/Rust/C++. ID projections do not count as
|
|
21
|
+
working clients or handlers.
|
|
22
|
+
|
|
23
|
+
## Implemented in the integration worktree; merge still required
|
|
24
|
+
|
|
25
|
+
- Real AgentSamClient status, decide, run, events, and injected host capability dispatch facades.
|
|
26
|
+
- Existing SAM decision engine reused, no fabricated model decisions.
|
|
27
|
+
- Real ACP client used for run creation/wait/events; it DOES NOT automatically
|
|
28
|
+
execute arbitrary operations nor falsely complete a Plan.
|
|
29
|
+
- Deterministic artifact.render: HTML/MD/report manifest + receipt; no implicit
|
|
30
|
+
writes, no claims of verified evidence merely because refs were supplied.
|
|
31
|
+
- Real Python sync/async safe-local bridge and explicit ACP HTTP run adapter.
|
|
32
|
+
- Live positive read-only MCP list/query through the public AgentSamClient; write approval remains separate.
|
|
33
|
+
- Runnable machine catalog generator with conformance checks for JS and Python.
|
|
34
|
+
|
|
35
|
+
## Release-blocking gaps
|
|
36
|
+
|
|
37
|
+
| ID | Severity | Exit condition | Status |
|
|
38
|
+
|---|---|---|---|
|
|
39
|
+
| SAM-001 | P0 | One authoritative operation identity and cross-host projections | Partial |
|
|
40
|
+
| SAM-002 | P0 | Invoke real handler across local/MCP/ACP/app/native where configured | Partial |
|
|
41
|
+
| SAM-003 | P0 | Per-actor readiness with authorized/dependency/verified separate | Partial |
|
|
42
|
+
| SAM-004 | P0 | Versioned typed schemas and generated client bindings | Partial |
|
|
43
|
+
| SAM-007 | P0 | IAM consent scopes match actual token/write allowlist | OPEN SECURITY |
|
|
44
|
+
| SAM-009 | P0 | ACP/Plan actually executes steps and stores acceptance receipts | Partial |
|
|
45
|
+
| SAM-010 | P0 | Full run artifact lifecycle storage, versions, editing and publish | Partial |
|
|
46
|
+
| SAM-012 | P0 | Tenant isolation proved end-to-end for consumer CMS and commerce | Open |
|
|
47
|
+
| SAM-CL-TS | P0 | Real TS typed public facade and compile-time schema conformance | Open |
|
|
48
|
+
| SAM-CL-PY | P0 | Python remote/app parity and release packaging | Partial |
|
|
49
|
+
| SAM-CL-GO | P0 | Actual Go client handlers + security and receipt conformance | Open |
|
|
50
|
+
| SAM-CL-RS | P0 | Actual Rust client/native ops and conformance | Open |
|
|
51
|
+
| SAM-CL-CPP | P0 | Actual C++ client/native ops and conformance | Open |
|
|
52
|
+
| SAM-APP-CMS | P0 | Real CMS edit/preview/publish via installed authorized adapter | Open |
|
|
53
|
+
| SAM-APP-COPRO | P1 | CoPro timeline/render/media host integration and receipts | Open |
|
|
54
|
+
| SAM-APP-MEDIA | P1 | Media versioning/storage/derivatives authority parity | Open |
|
|
55
|
+
| SAM-APP-CAD | P1 | Native CAD/Rust/C++ operations across supported surfaces | Open |
|
|
56
|
+
| SAM-APP-IDE | P1 | IDE, Local Studio and miniAgentSam parity | Open |
|
|
57
|
+
|
|
58
|
+
No capability is certified from generated catalogs alone. Every ticket needs
|
|
59
|
+
source owner, real handler, permission and negative tests, positive execution
|
|
60
|
+
receipt, installation context, PR and deployed consumer verification.
|
|
61
|
+
|
|
62
|
+
## Repeatable implementation procedure
|
|
63
|
+
|
|
64
|
+
1. Generate catalog and compare IDs/schemas to existing owner code.
|
|
65
|
+
2. Find the actual handler; extend its adapter, never create parallel DB tables.
|
|
66
|
+
3. Attach identity/tenant/approval checks at the executing authority.
|
|
67
|
+
4. Add real positive/negative conformance tests (including denied writes).
|
|
68
|
+
5. Run machine verification and evaluate provenance/evidence.
|
|
69
|
+
6. Merge; install the new package/host; prove the consumer workflow.
|
|
70
|
+
7. Update the gap register with source, receipt, tests, PR and status.
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
## Resource CRUD expansion · 2026-10-17
|
|
74
|
+
|
|
75
|
+
Project resource lifecycle now binds project.list, project.get, project.create,
|
|
76
|
+
project.edit, project.delete (archive) and project.restore against owned
|
|
77
|
+
workspace directories. Local SQLite lifecycle binds agentsam_sqlite_list/get,
|
|
78
|
+
create/edit/delete (archive)/restore and real disk database files. An explicit
|
|
79
|
+
Cloudflare D1 REST provisioner exists behind a trusted customer installation
|
|
80
|
+
credential resolver and host write authorization; the production MCP catalog
|
|
81
|
+
entry is dormant pending IAM write-scope reconciliation.
|
|
82
|
+
|
|
83
|
+
Run:
|
|
84
|
+
|
|
85
|
+
node scripts/sam-machine/crud-smoke.mjs
|
|
86
|
+
node scripts/sam-machine/crud-coverage.mjs --out /tmp/sam-resource-gaps.json
|
|
87
|
+
node scripts/sam-machine/gate.mjs --input /tmp/sam-machine-build/acceptance.json --require js,python,project_crud,sqlite_crud
|
|
88
|
+
|
|
89
|
+
Cloudflare D1 **database resource** get/update/delete still need separate
|
|
90
|
+
provider contracts; row SQL operations do not satisfy these lifecycle gates.
|
|
91
|
+
Refer to docs/architecture/SAM_RESOURCE_CRUD_STANDARD.md.
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# GitHub issue → SAM intake → verified delivery
|
|
2
|
+
|
|
3
|
+
These issue forms create **human-visible requests**, not executable agents. SAM interprets a request only after inspecting source authority, validating boundaries and getting the required actor/host approvals.
|
|
4
|
+
|
|
5
|
+
## Pick the form
|
|
6
|
+
|
|
7
|
+
- **Scoped implementation**: a bounded correction with testable results; do not hardcode guessed implementation files.
|
|
8
|
+
- **Bug**: reproducible behavior, expected behavior, environment and regression proof.
|
|
9
|
+
- **Complete product journey**: user install/onboarding, resource CRUD, operational actions, preview/approval, saved state, recovery and post-delivery access.
|
|
10
|
+
|
|
11
|
+
Forms live under `.github/ISSUE_TEMPLATE/`. GitHub turns filled fields into Markdown headings on the issue. The chooser becomes available when these files reach the default branch.
|
|
12
|
+
|
|
13
|
+
## Current working read-only handoff
|
|
14
|
+
|
|
15
|
+
1. Create the issue using the relevant form, then triage scope and source authority.
|
|
16
|
+
2. Obtain the GitHub issue's Markdown body into a local `issue-body.md` (via an authorized GitHub API/CLI or by copying the issue body). **Do not** save tokens or private user data.
|
|
17
|
+
3. Parse it:
|
|
18
|
+
```bash
|
|
19
|
+
node scripts/issues/issue-intake.mjs --kind task --file issue-body.md
|
|
20
|
+
node scripts/issues/issue-intake.mjs --kind bug --file issue-body.md
|
|
21
|
+
node scripts/issues/issue-intake.mjs --kind product --file issue-body.md
|
|
22
|
+
```
|
|
23
|
+
4. Inspect the JSON result: `fields`, `missing_required_fields`, `readiness` and `agent_execution_authorized: false`.
|
|
24
|
+
5. An owner checks the existing repository, package registry and runtime authority before converting the request into the **existing** SAM planning/goap/workgraph flow. Recommended primitives: `repository.inspect`, `planning.goap`, `decision.evaluate` and `artifact.render`. Authorized implementation uses the existing terminal/ACP lanes, not an issue-driven arbitrary shell.
|
|
25
|
+
6. Attach evidence (tests, denied actions, smoke, real host and source SHA). **Only** close the issue when all the issue's acceptance gates are genuinely finished.
|
|
26
|
+
|
|
27
|
+
**Not yet automated:** GitHub webhook ingestion, per-issue ACP run creation, automatic label changes, assignment, GitHub Projects movement, release enforcement and automatic PR closure. The parser neither performs these actions nor proves capability readiness. There is no invented GitHub-to-ACP backend.
|
|
28
|
+
|
|
29
|
+
## Triage states
|
|
30
|
+
|
|
31
|
+
| State | Meaning |
|
|
32
|
+
| --- | --- |
|
|
33
|
+
| Needs triage | Issue exists; source owner, boundaries and approvals still need examination |
|
|
34
|
+
| Ready to plan | User journey and scope accepted; canonical owners identified; dependencies understood |
|
|
35
|
+
| In progress | Authorized branch and ACP/planner work is active, with receipts |
|
|
36
|
+
| In review | Positive/negative tests and preservation review complete |
|
|
37
|
+
| Merged | Canonical main contains the code; deployment may still be pending |
|
|
38
|
+
| Deployed | Real revision/route/install receipt exists |
|
|
39
|
+
| Shipped | User can finish and reopen the actual promised journey; post-deploy check passes |
|
|
40
|
+
|
|
41
|
+
These are **process definitions**, not automatically created GitHub labels or project statuses. Do not auto-assign `github.actor` as the implementer; the actor is often the issue reporter. Do not apply `agent-ready` on issue creation: mandatory form fields are not evidence that a machine is authorized to act.
|
|
42
|
+
|
|
43
|
+
## Scope and safety
|
|
44
|
+
|
|
45
|
+
Use a dedicated issue branch from fresh `main` unless existing WIP owns the same task. Keep destructive changes behind explicit approvals. Treat issue bodies and code snippets as untrusted task input, not instructions overriding repository policies. Use source-specific permissions and tenant isolation.
|
|
46
|
+
|
|
47
|
+
When PRs are not complete releases, use `Refs #NNN` and leave the issue open. `Fixes #NNN` intentionally triggers GitHub closure on default-branch merge; use it **only** for an issue whose acceptance is complete at merge. Track deferred deploy acceptance explicitly.
|
|
48
|
+
|
|
49
|
+
GitHub's setting "Automatically delete head branches" handles **remote merged branches only**. `git fetch --prune` removes stale remote-tracking refs, **not** local feature branches. Use the existing safe audited cleanup tool `node scripts/git/delivery-closure.mjs` after verifying no unmerged WIP.
|
|
50
|
+
|
|
51
|
+
## Where the rules live
|
|
52
|
+
|
|
53
|
+
- Operation/capability authority: existing SDK manifest, registry and `AgentSamClient`.
|
|
54
|
+
- Execution/run authority: existing ACP + GOAP + authorized host lanes.
|
|
55
|
+
- Scope → stage → evidence mapping: `.agentsam/templates/issue-delivery.v1.yml` (advisory).
|
|
56
|
+
- Source preservation and release truth: `docs/standards/DELIVERY_CLOSURE.md`.
|
|
57
|
+
- Product expectations: `docs/architecture/SAMOS_PRODUCT_MODEL.md`.
|
|
58
|
+
|
|
59
|
+
**No additional operational database or competing work tracker is introduced here.**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inneranimalmedia/agentsam-sdk",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.13",
|
|
4
4
|
"description": "Portable AgentSam SDK and CLI kits for local scaffolding, repository intelligence, incremental indexing, identity adapters, and verified dependency maintenance.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -18,8 +18,11 @@
|
|
|
18
18
|
"./knowledge-service-client": "./src/knowledge/service/client.js",
|
|
19
19
|
"./knowledge-service-grpc-client": "./src/knowledge/service/grpc-client.js",
|
|
20
20
|
"./capabilities": "./src/capabilities/index.js",
|
|
21
|
+
"./registry": "./src/registry/index.js",
|
|
22
|
+
"./registry/inventory": "./src/registry/generated/inventory.json",
|
|
21
23
|
"./capability-manifest": "./protocol/capabilities/manifest.json",
|
|
22
24
|
"./sam": "./src/sam/index.js",
|
|
25
|
+
"./sam/local-execution": "./src/sam/local-execution.js",
|
|
23
26
|
"./sam/operation-schema": "./protocol/sam/operation.schema.json",
|
|
24
27
|
"./sam/result-schema": "./protocol/sam/result.schema.json",
|
|
25
28
|
"./sam/registry-seed": "./protocol/sam/registry.seed.json",
|
|
@@ -28,6 +31,7 @@
|
|
|
28
31
|
"./sam/answer-schema": "./protocol/sam/answer.v1.schema.json",
|
|
29
32
|
"./sam/evaluation-schema": "./protocol/sam/evaluation.v1.schema.json",
|
|
30
33
|
"./sam/decision-receipt-schema": "./protocol/sam/decision-receipt.v1.schema.json",
|
|
34
|
+
"./ui/quality-schema": "./protocol/ui/agentsam.ui-quality.v1.schema.json",
|
|
31
35
|
"./sam/outcome-schema": "./protocol/sam/outcome.v1.schema.json",
|
|
32
36
|
"./sam/calibration-schema": "./protocol/sam/calibration.v1.schema.json",
|
|
33
37
|
"./sam/activity-schema": "./protocol/sam/activity.v1.schema.json",
|
|
@@ -43,6 +47,7 @@
|
|
|
43
47
|
"./brand": "./packages/agentsam-brand/src/index.js",
|
|
44
48
|
"./progression": "./src/progression/index.js",
|
|
45
49
|
"./identity": "./packages/identity/src/index.js",
|
|
50
|
+
"./identity/contracts/routes": "./packages/identity/src/contracts/routes.js",
|
|
46
51
|
"./identity/providers": "./packages/identity/src/providers/index.js",
|
|
47
52
|
"./identity/providers/google": "./packages/identity/src/providers/google/index.js",
|
|
48
53
|
"./identity/providers/github": "./packages/identity/src/providers/github/index.js",
|
|
@@ -101,6 +106,9 @@
|
|
|
101
106
|
"./skills": "./src/skills/index.js",
|
|
102
107
|
"./skills/catalog": "./skills/catalog.json",
|
|
103
108
|
"./cad-project": "./src/lib/cad/project-cli.js",
|
|
109
|
+
"./cad-project-v2": "./src/lib/cad/project-v2.js",
|
|
110
|
+
"./cad-delivery-profiles": "./src/lib/cad/delivery-profiles.js",
|
|
111
|
+
"./cad-production-operations": "./src/lib/cad/production-operations.js",
|
|
104
112
|
"./providers/completeful": "./packages/providers/completeful/src/index.js",
|
|
105
113
|
"./theme/heuristic": "./packages/heuristic-theme/src/index.js",
|
|
106
114
|
"./theme/cypress": "./packages/theme-cypress/src/index.js",
|
|
@@ -136,7 +144,12 @@
|
|
|
136
144
|
"./merch": "./packages/agentsam-merch/src/index.js",
|
|
137
145
|
"./merch/node": "./packages/agentsam-merch/src/node/index.js",
|
|
138
146
|
"./theme/resolve": "./packages/theme-resolve/src/index.js",
|
|
139
|
-
"./campaign": "./packages/agentsam-campaign/src/index.js"
|
|
147
|
+
"./campaign": "./packages/agentsam-campaign/src/index.js",
|
|
148
|
+
"./site-scrape": "./packages/agentsam-site-scrape/runtime/core.mjs",
|
|
149
|
+
"./site-scrape/worker": "./packages/agentsam-site-scrape/worker/index.mjs",
|
|
150
|
+
"./site-scrape/index": "./packages/agentsam-site-scrape/runtime/index.mjs",
|
|
151
|
+
"./site-scrape/storage": "./packages/agentsam-site-scrape/runtime/node-storage.mjs",
|
|
152
|
+
"./site-scrape/client": "./packages/agentsam-site-scrape/runtime/client.mjs"
|
|
140
153
|
},
|
|
141
154
|
"bin": {
|
|
142
155
|
"agentsam": "bin/agentsam",
|
|
@@ -155,8 +168,12 @@
|
|
|
155
168
|
"packages/agentsam-brand/bin",
|
|
156
169
|
"packages/agentsam-brand/src",
|
|
157
170
|
"packages/agentsam-contracts",
|
|
171
|
+
"packages/agentsam-cms",
|
|
172
|
+
"packages/agentsam-ide/src/lsp/host.mjs",
|
|
173
|
+
"packages/agentsam-ide/src/lsp/host.d.mts",
|
|
158
174
|
"packages/agentsam-hooks",
|
|
159
175
|
"packages/agentsam-errors",
|
|
176
|
+
"packages/catalog",
|
|
160
177
|
"packages/agentsam-repository",
|
|
161
178
|
"packages/agentsam-knowledge",
|
|
162
179
|
"packages/agentsam-nav/package.json",
|
|
@@ -181,10 +198,16 @@
|
|
|
181
198
|
"skills/agentsam-codebaseindex",
|
|
182
199
|
"skills/agentsam-jr-dev",
|
|
183
200
|
"skills/agentsam-progression-guard",
|
|
201
|
+
"skills/agentsam-plan-and-goap",
|
|
202
|
+
"skills/agentsam-sam-operations",
|
|
203
|
+
"skills/agentsam-repo-recon",
|
|
204
|
+
"skills/agentsam-cad",
|
|
205
|
+
"skills/agentsam-sdk-orientation",
|
|
184
206
|
"services/knowledge/package.json",
|
|
185
207
|
"services/knowledge/package-lock.json",
|
|
186
208
|
"services/cad/server.py",
|
|
187
209
|
"services/cad/blender",
|
|
210
|
+
"services/cad/occt",
|
|
188
211
|
"bin",
|
|
189
212
|
"README.md",
|
|
190
213
|
"LICENSE",
|
|
@@ -234,13 +257,16 @@
|
|
|
234
257
|
"packages/agentsam-workbench/src",
|
|
235
258
|
"packages/agentsam-workbench/tsconfig.json",
|
|
236
259
|
"packages/agentsam-merch",
|
|
237
|
-
"TRADEMARKS.md"
|
|
260
|
+
"TRADEMARKS.md",
|
|
261
|
+
"packages/agentsam-site-scrape",
|
|
262
|
+
"packages/agentsam-desktop-shell/scripts/app-discovery.mjs"
|
|
238
263
|
],
|
|
239
264
|
"workspaces": [
|
|
240
265
|
"packages/agentsam-analytics",
|
|
241
266
|
"packages/analytics-ui",
|
|
242
267
|
"packages/agentsam-assets-core",
|
|
243
268
|
"packages/agentsam-brand",
|
|
269
|
+
"packages/agentsam-cms",
|
|
244
270
|
"packages/agentsam-campaign",
|
|
245
271
|
"packages/agentsam-cloudflare-images",
|
|
246
272
|
"packages/agentsam-content",
|
|
@@ -298,6 +324,12 @@
|
|
|
298
324
|
"packages/copro-storage"
|
|
299
325
|
],
|
|
300
326
|
"scripts": {
|
|
327
|
+
"verify:ui-quality": "node --test scripts/ui-quality/*.test.mjs && node scripts/ui-quality/contrast.mjs",
|
|
328
|
+
"verify:ui-quality:source": "node scripts/ui-quality/check-source.mjs --changed-from origin/main",
|
|
329
|
+
"docs:registry": "node scripts/registry/generate-docs.mjs",
|
|
330
|
+
"docs:registry:check": "node scripts/registry/generate-docs.mjs --check",
|
|
331
|
+
"verify:registry": "node scripts/registry/generate-docs.mjs --check && node scripts/registry/generate.mjs --check && node scripts/registry/generate-error-docs.mjs --check && python3 scripts/catalog/build_catalog.py --repo . --check && node scripts/registry/check-plain-command-errors.mjs && node --test test/registry/*.test.mjs",
|
|
332
|
+
"catalog:check": "python3 scripts/catalog/build_catalog.py --repo . --check",
|
|
301
333
|
"test": "npm run test:standard && npm --prefix packages/identity test && npm --prefix packages/agentsam-brand test && npm run test:connectors && npm run test:providers",
|
|
302
334
|
"test:brand": "npm --prefix packages/agentsam-brand test",
|
|
303
335
|
"brand:scan": "python3 scripts/brand-compliance/brand_compliance.py scan",
|
|
@@ -318,6 +350,8 @@
|
|
|
318
350
|
"verify:package": "node scripts/verify-package.mjs",
|
|
319
351
|
"verify:boundaries": "node scripts/verify-source-boundaries.mjs",
|
|
320
352
|
"verify:bootstrap": "node scripts/verify-bootstrap.mjs",
|
|
353
|
+
"verify:ide-package": "node scripts/verify-ide-package.mjs",
|
|
354
|
+
"verify:ide-browser-lsp": "node scripts/verify-ide-browser-lsp.mjs",
|
|
321
355
|
"verify:knowledge-package": "node scripts/verify-knowledge-package.mjs && npm run test:autorag",
|
|
322
356
|
"test:python": "node scripts/verify-python.mjs",
|
|
323
357
|
"verify:release": "npm run verify && npm run verify:packages:public && npm run verify:knowledge-package && npm run test:python && npm run security:release",
|
|
@@ -366,7 +400,19 @@
|
|
|
366
400
|
"dev:browser-site": "npm --prefix apps/agentsam-browser-site run dev",
|
|
367
401
|
"build:browser-site": "npm --prefix apps/agentsam-browser-site run build",
|
|
368
402
|
"typecheck:browser-site": "npm --prefix apps/agentsam-browser-site run typecheck",
|
|
369
|
-
"verify:browser-promo": "npm run typecheck:browser-packages && npm run build:browser-packages && npm run typecheck:browser-site && npm run build:browser-site"
|
|
403
|
+
"verify:browser-promo": "npm run typecheck:browser-packages && npm run build:browser-packages && npm run typecheck:browser-site && npm run build:browser-site",
|
|
404
|
+
"release:registry:intent": "node scripts/verify-registry-train.mjs --intent-only",
|
|
405
|
+
"release:registry:check": "node scripts/verify-registry-train.mjs",
|
|
406
|
+
"release:publish:preflight": "bash scripts/npm-publish-preflight.sh",
|
|
407
|
+
"test:site-scrape": "node scripts/verify-site-scrape.mjs",
|
|
408
|
+
"quality:ui:source": "node scripts/quality/verify-ui-source.mjs packages/agentsam-settings/src/frontend/index.tsx",
|
|
409
|
+
"quality:ui:responsive": "node scripts/quality/verify-settings-responsive.mjs",
|
|
410
|
+
"quality:ui": "npm run quality:ui:source && npm --prefix apps/local-studio run build:desktop && npm run quality:ui:responsive",
|
|
411
|
+
"catalog:inventory": "node scripts/generate-capability-inventory.mjs",
|
|
412
|
+
"catalog:inventory:check": "node scripts/generate-capability-inventory.mjs --check",
|
|
413
|
+
"verify:cad-python": "uvx --from ty==0.0.88 ty check --project services/cad services/cad && uvx --from ruff==0.17.1 ruff check services/cad && uvx --from ruff==0.17.1 ruff check --select E4,E7,E9,F,I,UP services/cad",
|
|
414
|
+
"sam:machine:build": "node scripts/sam-machine/build.mjs --out /tmp/sam-machine-build",
|
|
415
|
+
"sam:machine:verify": "bash scripts/sam-machine/verify.sh"
|
|
370
416
|
},
|
|
371
417
|
"engines": {
|
|
372
418
|
"node": ">=22 <25",
|
|
@@ -375,13 +421,17 @@
|
|
|
375
421
|
"dependencies": {
|
|
376
422
|
"@clack/prompts": "^1.7.0",
|
|
377
423
|
"@grpc/grpc-js": "^1.14.4",
|
|
378
|
-
"@inneranimalmedia/agentsam-errors": "2.6.
|
|
379
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
424
|
+
"@inneranimalmedia/agentsam-errors": "2.6.13",
|
|
425
|
+
"@modelcontextprotocol/sdk": "^1.32.1",
|
|
426
|
+
"fast-xml-parser": "^5.11.2",
|
|
380
427
|
"google-protobuf": "^3.21.4",
|
|
428
|
+
"jsonc-parser": "^3.3.1",
|
|
381
429
|
"node-pty": "^1.1.0",
|
|
430
|
+
"parse5": "^8.0.0",
|
|
382
431
|
"pg": "8.16.3",
|
|
383
432
|
"picocolors": "^1.1.1",
|
|
384
433
|
"typescript": "5.9.3",
|
|
434
|
+
"undici": "^7.30.0",
|
|
385
435
|
"ws": "^8.18.0"
|
|
386
436
|
},
|
|
387
437
|
"publishConfig": {
|
|
@@ -427,13 +477,15 @@
|
|
|
427
477
|
"@electric-sql/pglite-pgvector": "0.0.9",
|
|
428
478
|
"esbuild": "0.28.1",
|
|
429
479
|
"grpc-tools": "^1.13.1",
|
|
430
|
-
"wrangler": "4.
|
|
480
|
+
"wrangler": "4.151.1"
|
|
431
481
|
},
|
|
432
482
|
"overrides": {
|
|
433
483
|
"@types/react": "19.2.18",
|
|
434
484
|
"@types/react-dom": "19.2.3",
|
|
435
485
|
"esbuild": "0.28.1",
|
|
436
|
-
"dompurify": "3.4.16"
|
|
486
|
+
"dompurify": "3.4.16",
|
|
487
|
+
"sharp": "0.35.5",
|
|
488
|
+
"shell-quote": "1.12.0"
|
|
437
489
|
},
|
|
438
490
|
"packageManager": "npm@10.9.2"
|
|
439
491
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inneranimalmedia/agentsam-brand",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.13",
|
|
4
4
|
"description": "Deterministic Brand Intelligence + portable brand-asset promotion SDK for AgentSam (inspect, derive, plan, promote, publish, verify).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# AgentSam CMS machine
|
|
2
|
+
|
|
3
|
+
The @inneranimalmedia/agentsam-cms package is a portable, versioned CMS
|
|
4
|
+
operations engine with no FuelNFreetime checkout, D1, MCP, ExecOS, or UI dependency.
|
|
5
|
+
|
|
6
|
+
This package provides:
|
|
7
|
+
- 13 canonical operations for definition discovery, page/section/block CRUD,
|
|
8
|
+
duplicate/move/visibility, revision history/restore, private preview, and
|
|
9
|
+
explicitly approved live publication.
|
|
10
|
+
- 12 compatibility aliases preserving legacy cms.section.* and cms.block.*
|
|
11
|
+
callers; new models should discover the canonical component operations.
|
|
12
|
+
- Typed input and output schemas, definition-specific settings validation,
|
|
13
|
+
atomic version checks, revision recovery and idempotent create operations.
|
|
14
|
+
- Trusted host actor/account/installation identity, permission and explicit
|
|
15
|
+
publication approval, never delegated to model-authored parameters.
|
|
16
|
+
- Optional durable SQLite Node adapter, with separate live snapshots and
|
|
17
|
+
revision history. Node SQLite is experimental on the currently used Node 22.
|
|
18
|
+
|
|
19
|
+
Portable entrypoint: @inneranimalmedia/agentsam-cms
|
|
20
|
+
Node adapter entrypoint: @inneranimalmedia/agentsam-cms/node
|
|
21
|
+
|
|
22
|
+
createCmsOperations needs a defineSamOperation callback from the installed
|
|
23
|
+
SAM SDK, a repository implementing the documented CmsRepository interface,
|
|
24
|
+
definitions containing settings_schema, resolveTrustedContext, and authorize.
|
|
25
|
+
It returns executable operation definitions, not inactive catalog placeholders.
|
|
26
|
+
|
|
27
|
+
The Node adapter createNodeSqliteCmsRepository({filename}) provides
|
|
28
|
+
transactional compare-and-swap, account/installation scoping, versions,
|
|
29
|
+
revival from historical snapshots, and durable publication snapshots.
|
|
30
|
+
|
|
31
|
+
Publish operations require BOTH explicit requested confirmation and a host
|
|
32
|
+
authorization response {allow:true, publicationApproved:true}. A model
|
|
33
|
+
cannot grant itself a publish permission.
|
|
34
|
+
|
|
35
|
+
The storefront or Worker supplies its own repository mapping the existing
|
|
36
|
+
authoritative CMS D1/R2 storage contracts. Do not add a competing family
|
|
37
|
+
of hosted CMS tables or import source from another repository.
|
|
38
|
+
The SQLite schema is a copied, pinned snapshot of the authoritative cms-runtime
|
|
39
|
+
schema, not a new family of tables. The SDK verifies it has not drifted.
|
|
40
|
+
Worker/D1 adapters must implement mutate with durable atomic revision CAS.
|
|
41
|
+
|
|
42
|
+
The package can be packed and installed independently. A release is not
|
|
43
|
+
hosted-production-ready until the consuming app implements and tests its
|
|
44
|
+
authorized repository and publish path with real resources.
|
|
45
|
+
|
|
46
|
+
Example (when installed as an application dependency):
|
|
47
|
+
|
|
48
|
+
import {createCmsOperations} from '@inneranimalmedia/agentsam-cms';
|
|
49
|
+
const installed = createCmsOperations({
|
|
50
|
+
defineSamOperation, repository, definitions,
|
|
51
|
+
resolveTrustedContext, authorize
|
|
52
|
+
});
|
|
53
|
+
// Register installed in the host SAM runtime after verifying its adapter.
|
|
54
|
+
|
|
55
|
+
The SDK also supports createSamOS({cms:{repository,definitions,
|
|
56
|
+
resolveTrustedContext,authorize}}), which installs the same operations.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "agentsam.package.v1",
|
|
3
|
+
"id": "agentsam-cms",
|
|
4
|
+
"name": "@inneranimalmedia/agentsam-cms",
|
|
5
|
+
"version": "0.1.0",
|
|
6
|
+
"catalog_status": "classified",
|
|
7
|
+
"class": "package",
|
|
8
|
+
"status": "local-verified-host-integration-required",
|
|
9
|
+
"languages": ["javascript", "typescript"],
|
|
10
|
+
"execution_domains": ["cms", "local", "worker-adapter"],
|
|
11
|
+
"purpose": "Portable executable SAM CMS machine with typed page/component tools, revision recovery, explicit publication, and the canonical cms-runtime SQLite storage schema.",
|
|
12
|
+
"install": [
|
|
13
|
+
{
|
|
14
|
+
"type": "npm",
|
|
15
|
+
"package": "@inneranimalmedia/agentsam-cms",
|
|
16
|
+
"command": "npm install ./packages/agentsam-cms-0.1.0.tgz"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"use_when": [
|
|
20
|
+
"Authoring or changing CMS drafts using validated, revision-safe operations",
|
|
21
|
+
"Installing CMS capabilities inside a standalone Ecommerce or desktop application",
|
|
22
|
+
"Resolving CMS definitions, preview, revision history and explicit publication"
|
|
23
|
+
],
|
|
24
|
+
"avoid_when": [
|
|
25
|
+
"The consuming CMS repository or IAM permissions are not installed",
|
|
26
|
+
"Claiming Ecommerce deployment readiness from the SDK's local tests",
|
|
27
|
+
"Trying to use CMS mutation tools as an unrestricted Bash or D1 executor"
|
|
28
|
+
],
|
|
29
|
+
"commands": [],
|
|
30
|
+
"topics": ["cms", "sections", "blocks", "drafts", "revisions", "publication", "sam-os"],
|
|
31
|
+
"registry": {
|
|
32
|
+
"kind": "npm",
|
|
33
|
+
"name": "@inneranimalmedia/agentsam-cms",
|
|
34
|
+
"public_claim": false
|
|
35
|
+
},
|
|
36
|
+
"evidence": {
|
|
37
|
+
"directory": "packages/agentsam-cms",
|
|
38
|
+
"readme": "packages/agentsam-cms/README.md",
|
|
39
|
+
"tests": [
|
|
40
|
+
"packages/agentsam-cms/test/standalone.test.mjs",
|
|
41
|
+
"test/integration/sam-cms-machine.integration.test.mjs"
|
|
42
|
+
],
|
|
43
|
+
"runtime_proof": "local-sqlite-and-cleanroom",
|
|
44
|
+
"host_integration": "not-verified"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@inneranimalmedia/agentsam-cms",
|
|
3
|
+
"version": "2.6.13",
|
|
4
|
+
"description": "Portable versioned CMS operation engine and transaction-backed Node adapter for SAM installations.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"files": [
|
|
7
|
+
"src",
|
|
8
|
+
"test",
|
|
9
|
+
"README.md"
|
|
10
|
+
],
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./src/index.d.ts",
|
|
14
|
+
"import": "./src/index.js"
|
|
15
|
+
},
|
|
16
|
+
"./node": {
|
|
17
|
+
"types": "./src/node.d.ts",
|
|
18
|
+
"import": "./src/node.js"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"engines": {
|
|
22
|
+
"node": ">=22"
|
|
23
|
+
},
|
|
24
|
+
"scripts": {
|
|
25
|
+
"test": "node --test test/*.test.mjs"
|
|
26
|
+
},
|
|
27
|
+
"license": "MIT",
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "git+https://github.com/SamPrimeaux/agentsam-sdk.git",
|
|
31
|
+
"directory": "packages/agentsam-cms"
|
|
32
|
+
},
|
|
33
|
+
"publishConfig": {
|
|
34
|
+
"access": "public"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Compatibility names for SDK users who already adopted the original
|
|
3
|
+
* v1.1 section/block operation vocabulary.
|
|
4
|
+
* They route to fully typed canonical machinery, not FuelNFreetime endpoints.
|
|
5
|
+
* They are intentionally hidden from the default model tool surface.
|
|
6
|
+
*/
|
|
7
|
+
import { CMS_CONTRACTS_BY_NAME } from './contracts.js';
|
|
8
|
+
const s={type:'string',minLength:1};
|
|
9
|
+
const v={type:'integer',minimum:1};
|
|
10
|
+
const settings={type:'object',additionalProperties:true};
|
|
11
|
+
const schema=(props,required)=>({type:'object',properties:props,required,additionalProperties:false});
|
|
12
|
+
const page={pageId:s};
|
|
13
|
+
const section={...page,sectionId:s};
|
|
14
|
+
const block={...page,blockId:s};
|
|
15
|
+
const expected={expectedVersion:v};
|
|
16
|
+
const entries=[
|
|
17
|
+
['cms.page.inspect','cms.resource.inspect',schema(page,['pageId']),i=>({pageId:i.pageId})],
|
|
18
|
+
['cms.section.inspect','cms.resource.inspect',schema(section,['pageId','sectionId']),i=>({pageId:i.pageId,componentId:i.sectionId})],
|
|
19
|
+
['cms.section.create','cms.component.create',schema({...page,...expected,definitionKey:s,settings},['pageId','expectedVersion','definitionKey']),
|
|
20
|
+
i=>({...i,kind:'section'})],
|
|
21
|
+
['cms.section.updateDraft','cms.component.update',schema({...section,...expected,settings},['pageId','sectionId','expectedVersion','settings']),
|
|
22
|
+
i=>({pageId:i.pageId,componentId:i.sectionId,expectedVersion:i.expectedVersion,patch:i.settings})],
|
|
23
|
+
['cms.section.duplicate','cms.component.duplicate',schema({...section,...expected},['pageId','sectionId','expectedVersion']),
|
|
24
|
+
i=>({pageId:i.pageId,componentId:i.sectionId,expectedVersion:i.expectedVersion})],
|
|
25
|
+
['cms.section.move','cms.component.reorder',schema({...section,...expected,targetIndex:{type:'integer',minimum:0}},['pageId','sectionId','expectedVersion','targetIndex']),
|
|
26
|
+
i=>({pageId:i.pageId,componentId:i.sectionId,expectedVersion:i.expectedVersion,targetIndex:i.targetIndex})],
|
|
27
|
+
['cms.section.visibility','cms.component.visibility',schema({...section,...expected,visible:{type:'boolean'}},['pageId','sectionId','expectedVersion','visible']),
|
|
28
|
+
i=>({pageId:i.pageId,componentId:i.sectionId,expectedVersion:i.expectedVersion,visible:i.visible})],
|
|
29
|
+
['cms.section.remove','cms.component.remove',schema({...section,...expected},['pageId','sectionId','expectedVersion']),
|
|
30
|
+
i=>({pageId:i.pageId,componentId:i.sectionId,expectedVersion:i.expectedVersion})],
|
|
31
|
+
['cms.block.add','cms.component.create',schema({...page,...expected,sectionId:s,definitionKey:s,settings},['pageId','sectionId','expectedVersion','definitionKey']),
|
|
32
|
+
i=>({pageId:i.pageId,expectedVersion:i.expectedVersion,kind:'block',definitionKey:i.definitionKey,
|
|
33
|
+
parentId:i.sectionId,settings:i.settings})],
|
|
34
|
+
['cms.block.update','cms.component.update',schema({...block,...expected,settings},['pageId','blockId','expectedVersion','settings']),
|
|
35
|
+
i=>({pageId:i.pageId,componentId:i.blockId,expectedVersion:i.expectedVersion,patch:i.settings})],
|
|
36
|
+
['cms.block.move','cms.component.reorder',schema({...block,...expected,targetIndex:{type:'integer',minimum:0}},['pageId','blockId','expectedVersion','targetIndex']),
|
|
37
|
+
i=>({pageId:i.pageId,componentId:i.blockId,expectedVersion:i.expectedVersion,targetIndex:i.targetIndex})],
|
|
38
|
+
['cms.block.remove','cms.component.remove',schema({...block,...expected},['pageId','blockId','expectedVersion']),
|
|
39
|
+
i=>({pageId:i.pageId,componentId:i.blockId,expectedVersion:i.expectedVersion})],
|
|
40
|
+
];
|
|
41
|
+
export const CMS_COMPATIBILITY_ALIASES = Object.freeze(entries.map(([name,canonical,input_schema])=>({name,canonical,input_schema})));
|
|
42
|
+
function assertAliasInput(input,schema) {
|
|
43
|
+
if(!input || typeof input!=='object' || Array.isArray(input)) throw new Error('cms_alias_input_object_required');
|
|
44
|
+
for(const required of schema.required) if(!Object.hasOwn(input,required)) throw new Error('cms_alias_input_required:'+required);
|
|
45
|
+
for(const [key,value] of Object.entries(input)) {
|
|
46
|
+
const spec=schema.properties[key];
|
|
47
|
+
if(!spec) throw new Error('cms_alias_unknown_field:'+key);
|
|
48
|
+
if(spec.type==='string' && (typeof value!=='string'||(spec.minLength&&value.length<spec.minLength))) throw new Error('cms_alias_invalid_string:'+key);
|
|
49
|
+
if(spec.type==='integer' && (!Number.isInteger(value)||(spec.minimum!==undefined&&value<spec.minimum))) throw new Error('cms_alias_invalid_integer:'+key);
|
|
50
|
+
if(spec.type==='boolean' && typeof value!=='boolean') throw new Error('cms_alias_invalid_boolean:'+key);
|
|
51
|
+
if(spec.type==='object' && (!value||typeof value!=='object'||Array.isArray(value))) throw new Error('cms_alias_invalid_object:'+key);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
export function createCmsCompatibilityOperations(canonical,defineSamOperation) {
|
|
55
|
+
const byName=new Map(canonical.map(op=>[op.id,op]));
|
|
56
|
+
return entries.map(([name,target,input_schema,translate])=>{
|
|
57
|
+
const source=byName.get(target);
|
|
58
|
+
const sourceContract=CMS_CONTRACTS_BY_NAME.get(target);
|
|
59
|
+
if(!source||!sourceContract) throw new Error('cms_compat_target_missing:'+target);
|
|
60
|
+
return defineSamOperation({
|
|
61
|
+
id:name,version:1,module:'cms',action:name.slice(4),
|
|
62
|
+
summary:'Compatibility alias of '+target+'. Use '+target+' for new clients.',
|
|
63
|
+
description:'Compatibility alias of '+target+'. Use canonical CMS operations for new models.',
|
|
64
|
+
capabilities:[sourceContract.capability],
|
|
65
|
+
execution:source.execution,risk:source.risk,
|
|
66
|
+
input_schema,output_schema:source.output_schema,
|
|
67
|
+
status:'compatibility',model_visible:false,aliasFor:target,
|
|
68
|
+
handler:(input,context)=>{
|
|
69
|
+
assertAliasInput(input,input_schema);
|
|
70
|
+
return source.handler(translate(input),{...context,requestedAlias:name});
|
|
71
|
+
},
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|