@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.
Files changed (651) hide show
  1. package/AGENTSAM.md +32 -0
  2. package/DEVELOPMENT.md +69 -74
  3. package/README.md +11 -0
  4. package/apps/cad-creator/README.md +12 -0
  5. package/apps/cad-creator/shared/cad/package.json +1 -1
  6. package/apps/cad-creator/shared/cad/src/domain/project-contract.js +2 -75
  7. package/apps/cad-creator/shared/cad/src/domain/project-tools.js +2 -24
  8. package/apps/cad-creator/shared/cad/src/types.ts +2 -2
  9. package/apps/client-cms-editor/backend/package.json +2 -2
  10. package/apps/client-cms-editor/frontend/package.json +3 -3
  11. package/apps/client-cms-editor/frontend/src/adapters/http.ts +25 -13
  12. package/apps/client-cms-editor/frontend/src/editor/CmsEditor.tsx +7 -4
  13. package/apps/client-cms-editor/frontend/src/editor/canvas/PreviewCanvas.tsx +31 -3
  14. package/apps/client-cms-editor/frontend/src/editor/host-preview.test.tsx +104 -0
  15. package/apps/client-cms-editor/package-lock.json +8 -8
  16. package/apps/client-cms-editor/package.json +2 -1
  17. package/apps/client-cms-editor/shared/cms/package.json +1 -1
  18. package/docs/AUTORAG.md +2 -0
  19. package/docs/CAPABILITIES.md +28 -0
  20. package/docs/adr/ADR-0003-copro-clean-room-product-architecture.md +6 -0
  21. package/docs/architecture/AGENTSAM-CANONICAL-DISCOVERY-FIRST-SLICE.md +70 -0
  22. package/docs/architecture/AGENTSAM-REGISTRY-CLI-AGENT-PARITY.md +133 -0
  23. package/docs/architecture/AGENTSAM_APPLICATION_CONTRACT.md +6 -0
  24. package/docs/architecture/CAD_OPERATOR_CAPABILITIES.md +64 -0
  25. package/docs/architecture/CAD_ROBOTICS_RELEASE_LEDGER_20261016.md +43 -0
  26. package/docs/architecture/CAD_RUN_MODES.md +34 -0
  27. package/docs/architecture/CLI-BOOT-REMOTE-DB-READINESS-20261015.md +65 -0
  28. package/docs/architecture/EXISTING-MCP-D1-AGENT-BRIDGE.md +47 -0
  29. package/docs/architecture/PLAN-PORTABILITY-SAM-FIRST-SPRINT-20261015.md +36 -0
  30. package/docs/architecture/PLUGIN-PRODUCTIZATION-SPINE.md +101 -0
  31. package/docs/architecture/SAMOS_PRODUCT_MODEL.md +49 -0
  32. package/docs/architecture/SAM_KERNEL.md +40 -0
  33. package/docs/architecture/SAM_RESOURCE_CRUD_STANDARD.md +96 -0
  34. package/docs/architecture/SAM_SYSTEMATIC_AUTONOMOUS_MACHINERY.md +79 -0
  35. package/docs/architecture/USER_GLOBAL_AGENT_INSTRUCTIONS.md +55 -0
  36. package/docs/autorag-workflow.md +13 -0
  37. package/docs/brand/AGENT_SAM_ICON_GRAMMAR.md +4 -0
  38. package/docs/contracts/capability-install-planner.md +66 -38
  39. package/docs/contracts/environment-vocabulary.md +5 -5
  40. package/docs/engineering/SUPERBASH_LOCAL_RUNTIME.md +100 -0
  41. package/docs/generated/SDK_CAPABILITY_INVENTORY.md +313 -0
  42. package/docs/handoffs/AGENT_HANDOFF_SUPERBASH_AND_MODEL_PERFORMANCE_2026-10-14.md +134 -0
  43. package/docs/intake/product-capabilities.proposed.ts +232 -0
  44. package/docs/knowledge-supabase-node-api.md +51 -0
  45. package/docs/plans/MEDIA_TRUTH_SOURCE_RECOVERY_20261008.md +31 -0
  46. package/docs/plans/OFFLINE_CLI_KNOWLEDGE_AGENT_HANDOFF.md +104 -0
  47. package/docs/plans/OFFLINE_CLI_KNOWLEDGE_RUNBOOK.md +81 -0
  48. package/docs/plans/SAM_EXPERIENCE_AGENT_DISPATCH_2026-10-15.md +107 -0
  49. package/docs/plans/SAM_MACHINERY_TO_EXPERIENCE_2026-10-15.md +172 -0
  50. package/docs/plans/UI_POLISH_DESKTOP_2026-10-16.md +102 -0
  51. package/docs/plans/WORK-UX-REMASTER-2026-10-15.md +48 -0
  52. package/docs/plans/WORK-WORKSPACE-PLAN-2026-10-14.md +212 -0
  53. package/docs/product/AGENTSAM-UI-QUALITY-GATE.md +148 -0
  54. package/docs/product/AGENTSAM_PRODUCT_EXPERIENCE_STANDARD.md +2 -0
  55. package/docs/product/MEDIA-PRODUCTION-FAMILY.md +47 -0
  56. package/docs/product/OFFER-PORTFOLIO.md +14 -0
  57. package/docs/product/PACKAGE-TAXONOMY.md +17 -0
  58. package/docs/product/PLUGIN-GALLERY-DISCOVERY-AND-INSTALL.md +97 -0
  59. package/docs/product/README.md +2 -0
  60. package/docs/product/WIDGET-GALLERY-PHASE-ONE.md +43 -0
  61. package/docs/reference/AGENTSAM-CLI-WORKFLOWS.md +73 -0
  62. package/docs/reference/AGENTSAM-ERROR-REASONS.md +267 -0
  63. package/docs/reference/AGENTSAM-REGISTRY.generated.md +288 -0
  64. package/docs/reference/INNERANIMALMEDIA_EXPERIENCE_ACCEPTANCE_2026-10-15.md +99 -0
  65. package/docs/releases/cad-v2-sdk-2.6.13.md +25 -0
  66. package/docs/roadmaps/ROAD_TO_REAL_DISTRIBUTION.md +97 -0
  67. package/docs/robotics-chess-handoff.md +15 -0
  68. package/docs/standards/DELIVERY_CLOSURE.md +33 -0
  69. package/docs/standards/SAM_MACHINE_BUILD_AND_GAPS.md +91 -0
  70. package/docs/workflows/ISSUE_TO_SAMOS.md +59 -0
  71. package/package.json +60 -8
  72. package/packages/agentsam-brand/package.json +1 -1
  73. package/packages/agentsam-cms/README.md +56 -0
  74. package/packages/agentsam-cms/agentsam.package.json +46 -0
  75. package/packages/agentsam-cms/package.json +36 -0
  76. package/packages/agentsam-cms/src/aliases.js +74 -0
  77. package/packages/agentsam-cms/src/contracts.js +105 -0
  78. package/packages/agentsam-cms/src/index.d.ts +80 -0
  79. package/packages/agentsam-cms/src/index.js +3 -0
  80. package/packages/agentsam-cms/src/machine.js +221 -0
  81. package/packages/agentsam-cms/src/node-sqlite-repository.js +148 -0
  82. package/packages/agentsam-cms/src/node.d.ts +7 -0
  83. package/packages/agentsam-cms/src/node.js +1 -0
  84. package/packages/agentsam-cms/src/schema/cms-local-runtime.v1.sql +365 -0
  85. package/packages/agentsam-cms/test/standalone.test.mjs +28 -0
  86. package/packages/agentsam-contracts/agentsam.package.json +43 -0
  87. package/packages/agentsam-contracts/dist/errors.d.ts +1 -1
  88. package/packages/agentsam-contracts/dist/widgets.d.ts +7 -0
  89. package/packages/agentsam-contracts/package.json +1 -1
  90. package/packages/agentsam-contracts/src/errors.ts +1 -1
  91. package/packages/agentsam-contracts/src/widgets.ts +7 -0
  92. package/packages/agentsam-desktop-shell/README.md +38 -0
  93. package/packages/agentsam-desktop-shell/scripts/app-discovery.mjs +43 -0
  94. package/packages/agentsam-errors/README.md +14 -0
  95. package/packages/agentsam-errors/agentsam.package.json +43 -0
  96. package/packages/agentsam-errors/package.json +1 -1
  97. package/packages/agentsam-errors/protocol/error-catalog.json +12 -0
  98. package/packages/agentsam-errors/src/cli.js +56 -0
  99. package/packages/agentsam-errors/src/index.js +2 -0
  100. package/packages/agentsam-errors/src/vocabulary.js +2 -0
  101. package/packages/agentsam-errors/test/approval-contract.test.mjs +12 -0
  102. package/packages/agentsam-errors/types/index.d.ts +5 -1
  103. package/packages/agentsam-goap/agentsam.package.json +42 -0
  104. package/packages/agentsam-goap/package.json +2 -2
  105. package/packages/agentsam-hooks/agentsam.package.json +45 -0
  106. package/packages/agentsam-hooks/bindings/go/errors_generated.go +1 -0
  107. package/packages/agentsam-hooks/bindings/rust/src/errors_generated.rs +1 -0
  108. package/packages/agentsam-hooks/package.json +1 -1
  109. package/packages/agentsam-hooks/src/errors-generated.js +10 -0
  110. package/packages/agentsam-ide/README.md +59 -0
  111. package/packages/agentsam-ide/src/lsp/host.d.mts +13 -0
  112. package/packages/agentsam-ide/src/lsp/host.mjs +133 -0
  113. package/packages/agentsam-knowledge/agentsam.package.json +42 -0
  114. package/packages/agentsam-knowledge/package.json +1 -1
  115. package/packages/agentsam-knowledge/src/autorag/index.js +25 -4
  116. package/packages/agentsam-knowledge/src/backends/index.js +21 -1
  117. package/packages/agentsam-knowledge/src/backends/supabase-node-api.js +91 -0
  118. package/packages/agentsam-knowledge/test/autorag.test.mjs +13 -0
  119. package/packages/agentsam-knowledge/test/supabase-node-api.test.mjs +59 -0
  120. package/packages/agentsam-merch/agentsam.package.json +43 -0
  121. package/packages/agentsam-merch/package.json +1 -1
  122. package/packages/agentsam-nav/dist/browser.global.js +18 -21
  123. package/packages/agentsam-nav/dist/browser.js +4 -3
  124. package/packages/agentsam-nav/dist/index.js +4 -3
  125. package/packages/agentsam-nav/package.json +1 -1
  126. package/packages/agentsam-queue-control/agentsam.package.json +42 -0
  127. package/packages/agentsam-queue-control/package.json +1 -1
  128. package/packages/agentsam-rapid-rust/Cargo.toml +5 -0
  129. package/packages/agentsam-rapid-rust/agentsam.package.json +42 -0
  130. package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/0b22ca9c5f8cddc15e6816df4a2467a28d41aa174361cdfed9019ee4e04dfbb8.json +1 -0
  131. package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/0c5064875a5d7645013880f04d71f56c0dfa1bc87ac9fd59adc3e9a93a2745da.json +1 -0
  132. package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/11ebd15702c169ee0666656be851cc549f70f84498dbca3c5b72d2ceaa91c851.json +1 -0
  133. package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/1d7f2c8ad9588cd2077a1d07fce156e0bd47be686d8c9f26885bab14874c4ab5.json +1 -0
  134. package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/1f21ba21e7b631b0d4893cbdd7a6bb7345d34e8b1a0ee9cf644cc30aeb3c8b8d.json +1 -0
  135. package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/23f4d4b90def0782de32e7a57558cba24525f12ba3c009728ea4881259a74099.json +1 -0
  136. package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/26b60985b6ef62e4f20e06c37e47c6996c1a2f457335fa9eb4a68d1288e18490.json +1 -0
  137. package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/2b27d15a1b8c3637a56f631d583cc9ba584bed2b7018dd962a9340d5e1c50a1d.json +1 -0
  138. package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/3110a5568a544c4c38de6585dcdabc21fa5f54a5772ecf4e1f4076ee0d49e933.json +1 -0
  139. package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/357ce3db8299e01866bf4fc3d8ee1c784ef53c7455cf86bb17c52f3dad20d050.json +1 -0
  140. package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/4516c6e03636538cacc7a6e4063d98a7ed2f0090c3a02c5ee817f1c512b1070e.json +1 -0
  141. package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/649e02dbaec2edabbd40372e0c5f72f114164fe7704e7825220b1955f6a7c74e.json +1 -0
  142. package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/81c266d4c150a4f6c5a73c9c4fef6541577fd0acd8c1f911f02781deb5f0be0f.json +1 -0
  143. package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/86b4b8de30eed9902750b3de9fb54276d229244671a8b6035345bbe705463d82.json +1 -0
  144. package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/8a877fdc5dbc6a66c344b4ebc4d9b746d47f95153e98872210becd85ca941ddd.json +1 -0
  145. package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/96a11200f7b42ddd1281e4f749e88dcb8455ab0e3883f943934e0a9a7935147a.json +1 -0
  146. package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/9e2df2335cfc73ec021bdd6b2d34af798f6ed9c52e3061ce16b6ceabae4e275f.json +1 -0
  147. package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/a405fe3addeaab2908ed58836997be3b679d990ec9102d06bece3569e4bd4a81.json +1 -0
  148. package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/a63915da0a45f86a5938ba9a2b2e87d469e7d07f7ea9cc531136fdc9e055557e.json +1 -0
  149. package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/a8452c2dcaa959ced25e3597931b311999c0aa5b257ca8610fe415e8cfa598cc.json +1 -0
  150. package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/b35fc2ae65ea07fbbfdd242a3d76489947462399e7a2db91f8545ca50d97d86f.json +1 -0
  151. package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/b966932defe9c7b5ec9599c9276d333bd09ad1605adae80300d825d2161ad20c.json +1 -0
  152. package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/ca9060e5ccb91f3a2663f57afd47a25099b6b3313c2a7436c4634993ff6e9afc.json +1 -0
  153. package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/d0eba82a259be203c68c3ebf6d5b8a376f31a3b84fad418fdb9b5e2715c59869.json +1 -0
  154. package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/d8838513009c65079aba67314ab130920484c674c5f0b8a356c8777eb6174eb2.json +1 -0
  155. package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/dda01925b7f0a213215b983979ce23625dd0f6cfdb49c483ec1ff73e64def56f.json +1 -0
  156. package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/e4956d8f97608f8324607b22cc93635d8183b23021d79cb4c21668c8b8a6ce87.json +1 -0
  157. package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/e80c1e517e7173dcbde78869d2bf67a24a11b0bb9df5a87fb12934e39497abc8.json +1 -0
  158. package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/eeeaa9394ac979eb4ffa557e97d67ed96dbd61437e09058f7c776bdc0483f050.json +1 -0
  159. package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/f9264d8d7d1ccfb415362a28b4a1b4fa0dfbdf828ff970d1aaecfb0ebe208978.json +1 -0
  160. package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/f957a80b89d32af4f33f9f840b4795af1b5145fc44780ad88a6a3b1b3a7ea3bc.json +1 -0
  161. package/packages/agentsam-repository/.agentsam/machine/runs/run_2b0d196f16961f88/asset-manifest.json +418 -0
  162. package/packages/agentsam-repository/.agentsam/machine/runs/run_2b0d196f16961f88/findings.json +308 -0
  163. package/packages/agentsam-repository/.agentsam/machine/runs/run_2b0d196f16961f88/frontend-manifest.json +70 -0
  164. package/packages/agentsam-repository/.agentsam/machine/runs/run_2b0d196f16961f88/graph.json +322 -0
  165. package/packages/agentsam-repository/.agentsam/machine/runs/run_2b0d196f16961f88/inventory.json +932 -0
  166. package/packages/agentsam-repository/.agentsam/machine/runs/run_2b0d196f16961f88/summary.json +21 -0
  167. package/packages/agentsam-repository/.agentsam/machine/runs/run_2d70e3d4fe8290fb/asset-manifest.json +418 -0
  168. package/packages/agentsam-repository/.agentsam/machine/runs/run_2d70e3d4fe8290fb/findings.json +308 -0
  169. package/packages/agentsam-repository/.agentsam/machine/runs/run_2d70e3d4fe8290fb/frontend-manifest.json +70 -0
  170. package/packages/agentsam-repository/.agentsam/machine/runs/run_2d70e3d4fe8290fb/graph.json +322 -0
  171. package/packages/agentsam-repository/.agentsam/machine/runs/run_2d70e3d4fe8290fb/inventory.json +932 -0
  172. package/packages/agentsam-repository/.agentsam/machine/runs/run_2d70e3d4fe8290fb/summary.json +21 -0
  173. package/packages/agentsam-repository/.agentsam/machine/runs/run_63fab76b2f18c2f0/asset-manifest.json +418 -0
  174. package/packages/agentsam-repository/.agentsam/machine/runs/run_63fab76b2f18c2f0/findings.json +308 -0
  175. package/packages/agentsam-repository/.agentsam/machine/runs/run_63fab76b2f18c2f0/frontend-manifest.json +70 -0
  176. package/packages/agentsam-repository/.agentsam/machine/runs/run_63fab76b2f18c2f0/graph.json +322 -0
  177. package/packages/agentsam-repository/.agentsam/machine/runs/run_63fab76b2f18c2f0/inventory.json +932 -0
  178. package/packages/agentsam-repository/.agentsam/machine/runs/run_63fab76b2f18c2f0/summary.json +21 -0
  179. package/packages/agentsam-repository/.agentsam/machine/runs/run_72fe856b80b0c46f/asset-manifest.json +418 -0
  180. package/packages/agentsam-repository/.agentsam/machine/runs/run_72fe856b80b0c46f/findings.json +300 -0
  181. package/packages/agentsam-repository/.agentsam/machine/runs/run_72fe856b80b0c46f/frontend-manifest.json +70 -0
  182. package/packages/agentsam-repository/.agentsam/machine/runs/run_72fe856b80b0c46f/graph.json +322 -0
  183. package/packages/agentsam-repository/.agentsam/machine/runs/run_72fe856b80b0c46f/inventory.json +932 -0
  184. package/packages/agentsam-repository/.agentsam/machine/runs/run_72fe856b80b0c46f/summary.json +21 -0
  185. package/packages/agentsam-repository/.agentsam/machine/runs/run_a5834156504f3050/asset-manifest.json +418 -0
  186. package/packages/agentsam-repository/.agentsam/machine/runs/run_a5834156504f3050/findings.json +308 -0
  187. package/packages/agentsam-repository/.agentsam/machine/runs/run_a5834156504f3050/frontend-manifest.json +70 -0
  188. package/packages/agentsam-repository/.agentsam/machine/runs/run_a5834156504f3050/graph.json +322 -0
  189. package/packages/agentsam-repository/.agentsam/machine/runs/run_a5834156504f3050/inventory.json +932 -0
  190. package/packages/agentsam-repository/.agentsam/machine/runs/run_a5834156504f3050/summary.json +21 -0
  191. package/packages/agentsam-repository/README.md +25 -0
  192. package/packages/agentsam-repository/agentsam.package.json +42 -0
  193. package/packages/agentsam-repository/package.json +6 -3
  194. package/packages/agentsam-repository/src/crawl.js +220 -0
  195. package/packages/agentsam-repository/src/index.js +3 -0
  196. package/packages/agentsam-repository/src/merkle/semantic.js +20 -0
  197. package/packages/agentsam-repository/src/refinery.js +96 -0
  198. package/packages/agentsam-repository/test/crawl-refinery.test.mjs +113 -0
  199. package/packages/agentsam-site-scrape/README.md +357 -0
  200. package/packages/agentsam-site-scrape/agentsam_site_scrape/__init__.py +4 -0
  201. package/packages/agentsam-site-scrape/agentsam_site_scrape/__main__.py +349 -0
  202. package/packages/agentsam-site-scrape/agentsam_site_scrape/classify.py +80 -0
  203. package/packages/agentsam-site-scrape/agentsam_site_scrape/config.py +83 -0
  204. package/packages/agentsam-site-scrape/agentsam_site_scrape/contract.py +108 -0
  205. package/packages/agentsam-site-scrape/agentsam_site_scrape/crawl.py +395 -0
  206. package/packages/agentsam-site-scrape/agentsam_site_scrape/evidence.py +226 -0
  207. package/packages/agentsam-site-scrape/agentsam_site_scrape/htmlparse.py +109 -0
  208. package/packages/agentsam-site-scrape/agentsam_site_scrape/imageops.py +121 -0
  209. package/packages/agentsam-site-scrape/agentsam_site_scrape/jsonrun.py +127 -0
  210. package/packages/agentsam-site-scrape/agentsam_site_scrape/net.py +121 -0
  211. package/packages/agentsam-site-scrape/agentsam_site_scrape/pageextract.py +202 -0
  212. package/packages/agentsam-site-scrape/agentsam_site_scrape/r2_upload.py +140 -0
  213. package/packages/agentsam-site-scrape/agentsam_site_scrape/ssrf.py +57 -0
  214. package/packages/agentsam-site-scrape/agentsam_site_scrape/storage.py +57 -0
  215. package/packages/agentsam-site-scrape/agentsam_site_scrape/wrangler_bucket.py +98 -0
  216. package/packages/agentsam-site-scrape/pyproject.toml +21 -0
  217. package/packages/agentsam-site-scrape/runtime/client.mjs +32 -0
  218. package/packages/agentsam-site-scrape/runtime/core.mjs +211 -0
  219. package/packages/agentsam-site-scrape/runtime/index.mjs +31 -0
  220. package/packages/agentsam-site-scrape/runtime/knowledge.mjs +38 -0
  221. package/packages/agentsam-site-scrape/runtime/node-runner.mjs +231 -0
  222. package/packages/agentsam-site-scrape/runtime/node-storage.mjs +146 -0
  223. package/packages/agentsam-site-scrape/runtime/project-site.mjs +74 -0
  224. package/packages/agentsam-site-scrape/runtime/secure-fetch.mjs +88 -0
  225. package/packages/agentsam-site-scrape/runtime/test/knowledge-handoff.test.mjs +51 -0
  226. package/packages/agentsam-site-scrape/runtime/test/project-index-command.test.mjs +109 -0
  227. package/packages/agentsam-site-scrape/runtime/test/runtime.test.mjs +145 -0
  228. package/packages/agentsam-site-scrape/tests/__init__.py +0 -0
  229. package/packages/agentsam-site-scrape/tests/test_contract.py +83 -0
  230. package/packages/agentsam-site-scrape/tests/test_core.py +119 -0
  231. package/packages/agentsam-site-scrape/tests/test_evidence.py +88 -0
  232. package/packages/agentsam-site-scrape/tests/test_evidence_pipeline.py +112 -0
  233. package/packages/agentsam-site-scrape/tests/test_jsonrun.py +63 -0
  234. package/packages/agentsam-site-scrape/tests/test_redirects.py +68 -0
  235. package/packages/agentsam-site-scrape/tests/test_storage.py +34 -0
  236. package/packages/agentsam-site-scrape/worker/index.mjs +259 -0
  237. package/packages/agentsam-site-scrape/worker/project-config.mjs +57 -0
  238. package/packages/agentsam-site-scrape/worker/test/worker.test.mjs +191 -0
  239. package/packages/agentsam-vault/package.json +1 -1
  240. package/packages/agentsam-workbench/README.md +18 -0
  241. package/packages/agentsam-workbench/package.json +13 -4
  242. package/packages/agentsam-workbench/src/agent/capability-catalog.ts +96 -0
  243. package/packages/agentsam-workbench/src/agent/index.ts +2 -0
  244. package/packages/agentsam-workbench/src/knowledge/AutoRagWorkflowDialog.tsx +166 -0
  245. package/packages/agentsam-workbench/src/knowledge/README.md +14 -0
  246. package/packages/agentsam-workbench/src/knowledge/autorag-workflow.css +6 -0
  247. package/packages/agentsam-workbench/src/knowledge/index.ts +2 -0
  248. package/packages/agentsam-workbench/src/widgets/registry.ts +266 -1
  249. package/packages/catalog/README.md +69 -0
  250. package/packages/catalog/assist/questions.json +205 -0
  251. package/packages/catalog/assist/rules.json +149 -0
  252. package/packages/catalog/doctor/toolchains.json +12 -0
  253. package/packages/catalog/evidence/agentsam-abs.json +76 -0
  254. package/packages/catalog/evidence/agentsam-analytics.json +59 -0
  255. package/packages/catalog/evidence/agentsam-assets-core.json +38 -0
  256. package/packages/catalog/evidence/agentsam-brand.json +73 -0
  257. package/packages/catalog/evidence/agentsam-browser-surface.json +42 -0
  258. package/packages/catalog/evidence/agentsam-campaign.json +48 -0
  259. package/packages/catalog/evidence/agentsam-cloudflare-images.json +38 -0
  260. package/packages/catalog/evidence/agentsam-content-studio.json +42 -0
  261. package/packages/catalog/evidence/agentsam-content.json +70 -0
  262. package/packages/catalog/evidence/agentsam-contracts.json +92 -0
  263. package/packages/catalog/evidence/agentsam-database-editor.json +82 -0
  264. package/packages/catalog/evidence/agentsam-desktop-shell.json +56 -0
  265. package/packages/catalog/evidence/agentsam-docs-theme.json +35 -0
  266. package/packages/catalog/evidence/agentsam-errors.json +42 -0
  267. package/packages/catalog/evidence/agentsam-goap.json +52 -0
  268. package/packages/catalog/evidence/agentsam-hooks.json +100 -0
  269. package/packages/catalog/evidence/agentsam-ide.json +64 -0
  270. package/packages/catalog/evidence/agentsam-identity.json +91 -0
  271. package/packages/catalog/evidence/agentsam-key-manager.json +46 -0
  272. package/packages/catalog/evidence/agentsam-knowledge.json +42 -0
  273. package/packages/catalog/evidence/agentsam-loading-scene.json +54 -0
  274. package/packages/catalog/evidence/agentsam-merch.json +68 -0
  275. package/packages/catalog/evidence/agentsam-nav.json +63 -0
  276. package/packages/catalog/evidence/agentsam-queue-control.json +60 -0
  277. package/packages/catalog/evidence/agentsam-rapid-rust.json +46 -0
  278. package/packages/catalog/evidence/agentsam-repository.json +56 -0
  279. package/packages/catalog/evidence/agentsam-scoring.json +39 -0
  280. package/packages/catalog/evidence/agentsam-sections.json +52 -0
  281. package/packages/catalog/evidence/agentsam-settings.json +58 -0
  282. package/packages/catalog/evidence/agentsam-shell-kit.json +56 -0
  283. package/packages/catalog/evidence/agentsam-vault.json +61 -0
  284. package/packages/catalog/evidence/agentsam-work-graph.json +51 -0
  285. package/packages/catalog/evidence/agentsam-work.json +64 -0
  286. package/packages/catalog/evidence/agentsam-workbench.json +96 -0
  287. package/packages/catalog/evidence/analytics-ui.json +43 -0
  288. package/packages/catalog/evidence/cms-runtime.json +49 -0
  289. package/packages/catalog/evidence/copro-editor.json +42 -0
  290. package/packages/catalog/evidence/copro-media.json +42 -0
  291. package/packages/catalog/evidence/copro-project.json +42 -0
  292. package/packages/catalog/evidence/copro-proof.json +48 -0
  293. package/packages/catalog/evidence/copro-provider-contracts.json +40 -0
  294. package/packages/catalog/evidence/copro-render.json +40 -0
  295. package/packages/catalog/evidence/copro-storage.json +44 -0
  296. package/packages/catalog/evidence/copro-templates.json +42 -0
  297. package/packages/catalog/evidence/copro-timeline.json +44 -0
  298. package/packages/catalog/evidence/copro-ui.json +52 -0
  299. package/packages/catalog/evidence/fnf-theme.json +34 -0
  300. package/packages/catalog/evidence/theme-contract.json +34 -0
  301. package/packages/catalog/evidence/theme-cypress.json +41 -0
  302. package/packages/catalog/evidence/theme-ember.json +41 -0
  303. package/packages/catalog/evidence/theme-forge.json +41 -0
  304. package/packages/catalog/evidence/theme-grove.json +41 -0
  305. package/packages/catalog/evidence/theme-harbor.json +41 -0
  306. package/packages/catalog/evidence/theme-heuristic.json +50 -0
  307. package/packages/catalog/evidence/theme-iasf.json +48 -0
  308. package/packages/catalog/evidence/theme-resolve.json +41 -0
  309. package/packages/catalog/evidence/theme-scenes.json +68 -0
  310. package/packages/catalog/evidence/theme-summit.json +41 -0
  311. package/packages/catalog/evidence/theme-violet.json +41 -0
  312. package/packages/catalog/generated/packages.json +2649 -0
  313. package/packages/catalog/topics/runtime.json +33 -0
  314. package/packages/connectors/cfoa/agentsam.package.json +46 -0
  315. package/packages/connectors/cfoa/package.json +1 -1
  316. package/packages/connectors/cfoa/src/capabilities.js +22 -2
  317. package/packages/connectors/cfoa/src/families/analytics-sql.js +44 -0
  318. package/packages/connectors/cfoa/src/families/basin.js +30 -0
  319. package/packages/connectors/cfoa/src/index.js +3 -0
  320. package/packages/connectors/cfoa/src/routes.js +11 -2
  321. package/packages/connectors/cfoa/test/analytics-sql.test.mjs +27 -0
  322. package/packages/connectors/cfoa/test/basin.test.mjs +30 -0
  323. package/packages/heuristic-theme/README.md +14 -0
  324. package/packages/heuristic-theme/agentsam.package.json +42 -0
  325. package/packages/heuristic-theme/contracts/README.md +15 -0
  326. package/packages/heuristic-theme/contracts/block.schema.json +33 -0
  327. package/packages/heuristic-theme/contracts/header-presets.json +20 -0
  328. package/packages/heuristic-theme/contracts/page.schema.json +18 -0
  329. package/packages/heuristic-theme/contracts/preset.schema.json +18 -0
  330. package/packages/heuristic-theme/contracts/section.schema.json +83 -0
  331. package/packages/heuristic-theme/package.json +13 -3
  332. package/packages/heuristic-theme/presets/fuel-free-time/assets.json +8 -0
  333. package/packages/heuristic-theme/presets/fuel-free-time/globals/shell.json +30 -0
  334. package/packages/heuristic-theme/presets/fuel-free-time/pages/about.json +4 -0
  335. package/packages/heuristic-theme/presets/fuel-free-time/pages/cart.json +4 -0
  336. package/packages/heuristic-theme/presets/fuel-free-time/pages/collection.json +4 -0
  337. package/packages/heuristic-theme/presets/fuel-free-time/pages/collections.json +4 -0
  338. package/packages/heuristic-theme/presets/fuel-free-time/pages/community.json +4 -0
  339. package/packages/heuristic-theme/presets/fuel-free-time/pages/home.json +92 -0
  340. package/packages/heuristic-theme/presets/fuel-free-time/pages/order-confirmation.json +39 -0
  341. package/packages/heuristic-theme/presets/fuel-free-time/pages/product.json +4 -0
  342. package/packages/heuristic-theme/presets/fuel-free-time/pages/shop.json +9 -0
  343. package/packages/heuristic-theme/presets/fuel-free-time/preset.json +23 -0
  344. package/packages/heuristic-theme/presets/fuel-free-time/tokens.json +23 -0
  345. package/packages/heuristic-theme/storefront/about.html +1103 -0
  346. package/packages/heuristic-theme/storefront/assets/presets/fuel-free-time/GENERATED-ASSETS.md +15 -0
  347. package/packages/heuristic-theme/storefront/assets/presets/fuel-free-time/earned-hours-hero.webp +0 -0
  348. package/packages/heuristic-theme/storefront/assets/presets/fuel-free-time/essentials.webp +0 -0
  349. package/packages/heuristic-theme/storefront/assets/presets/fuel-free-time/masters.webp +0 -0
  350. package/packages/heuristic-theme/storefront/cart.html +64 -0
  351. package/packages/heuristic-theme/storefront/collaborate.html +58 -0
  352. package/packages/heuristic-theme/storefront/collection.html +10 -0
  353. package/packages/heuristic-theme/storefront/collections.html +10 -0
  354. package/packages/heuristic-theme/storefront/community.html +921 -0
  355. package/packages/heuristic-theme/storefront/css/content-page.css +199 -0
  356. package/packages/heuristic-theme/storefront/css/global-footer.css +401 -0
  357. package/packages/heuristic-theme/storefront/css/heuristic-theme.css +81 -0
  358. package/packages/heuristic-theme/storefront/css/page-composer.css +76 -0
  359. package/packages/heuristic-theme/storefront/css/shop-hero.css +230 -0
  360. package/packages/heuristic-theme/storefront/css/store-cart.css +422 -0
  361. package/packages/heuristic-theme/storefront/css/store-collections.css +36 -0
  362. package/packages/heuristic-theme/storefront/css/store-pdp.css +459 -0
  363. package/packages/heuristic-theme/storefront/css/store-shell.css +474 -0
  364. package/packages/heuristic-theme/storefront/css/store-shop.css +117 -0
  365. package/packages/heuristic-theme/storefront/home.html +25 -0
  366. package/packages/heuristic-theme/storefront/js/cms-hydrate.js +395 -0
  367. package/packages/heuristic-theme/storefront/js/cms-structure.js +85 -0
  368. package/packages/heuristic-theme/storefront/js/fnf-attribution.js +98 -0
  369. package/packages/heuristic-theme/storefront/js/fnf-head.js +47 -0
  370. package/packages/heuristic-theme/storefront/js/fnf-newsletter.js +64 -0
  371. package/packages/heuristic-theme/storefront/js/global-footer.js +277 -0
  372. package/packages/heuristic-theme/storefront/js/heuristic-runtime.js +78 -0
  373. package/packages/heuristic-theme/storefront/js/order-confirmation.js +109 -0
  374. package/packages/heuristic-theme/storefront/js/page-composer.js +310 -0
  375. package/packages/heuristic-theme/storefront/js/shop-hero.js +85 -0
  376. package/packages/heuristic-theme/storefront/js/store-cart.js +276 -0
  377. package/packages/heuristic-theme/storefront/js/store-catalog.js +140 -0
  378. package/packages/heuristic-theme/storefront/js/store-collections.js +45 -0
  379. package/packages/heuristic-theme/storefront/js/store-product.js +287 -0
  380. package/packages/heuristic-theme/storefront/js/store-shell.js +449 -0
  381. package/packages/heuristic-theme/storefront/order-confirmation.html +30 -0
  382. package/packages/heuristic-theme/storefront/policies.html +43 -0
  383. package/packages/heuristic-theme/storefront/product.html +27 -0
  384. package/packages/heuristic-theme/storefront/shop.html +113 -0
  385. package/packages/heuristic-theme/storefront/terms.html +45 -0
  386. package/packages/heuristic-theme/test/commerce-portability.test.mjs +16 -0
  387. package/packages/heuristic-theme/theme.json +55 -0
  388. package/packages/heuristic-theme/theme.schema.json +32 -0
  389. package/packages/identity/agentsam.package.json +42 -0
  390. package/packages/identity/package.json +1 -1
  391. package/packages/identity/src/oauth/iam-platform.js +4 -2
  392. package/packages/identity/src/recovery/password-reset.js +8 -8
  393. package/packages/identity/src/server/worker-router.js +63 -1
  394. package/packages/identity/tests/lane1-packed-consumer.test.mjs +12 -1
  395. package/packages/identity/tests/password-enrollment.test.mjs +82 -0
  396. package/packages/identity/tests/password-reset.test.mjs +43 -0
  397. package/packages/providers/completeful/package.json +1 -1
  398. package/packages/theme-cypress/agentsam.package.json +42 -0
  399. package/packages/theme-cypress/package.json +1 -1
  400. package/packages/theme-ember/agentsam.package.json +42 -0
  401. package/packages/theme-ember/package.json +1 -1
  402. package/packages/theme-forge/agentsam.package.json +42 -0
  403. package/packages/theme-forge/package.json +1 -1
  404. package/packages/theme-grove/agentsam.package.json +42 -0
  405. package/packages/theme-grove/package.json +1 -1
  406. package/packages/theme-harbor/agentsam.package.json +42 -0
  407. package/packages/theme-harbor/package.json +1 -1
  408. package/packages/theme-resolve/agentsam.package.json +42 -0
  409. package/packages/theme-resolve/package.json +1 -1
  410. package/packages/theme-scenes/agentsam.package.json +42 -0
  411. package/packages/theme-scenes/package.json +1 -1
  412. package/packages/theme-summit/agentsam.package.json +42 -0
  413. package/packages/theme-summit/package.json +1 -1
  414. package/packages/theme-violet/agentsam.package.json +42 -0
  415. package/packages/theme-violet/package.json +1 -1
  416. package/packages/work-graph/agentsam.package.json +42 -0
  417. package/packages/work-graph/package.json +1 -1
  418. package/protocol/apps/agentsam.app.v1.schema.json +27 -1
  419. package/protocol/cad/README.md +77 -0
  420. package/protocol/cad/cad.project.v2.schema.json +451 -0
  421. package/protocol/cad/v2/core/artifact-receipt.schema.json +126 -0
  422. package/protocol/cad/v2/core/coordinate-system.schema.json +364 -0
  423. package/protocol/cad/v2/core/geometry-constraint.schema.json +136 -0
  424. package/protocol/cad/v2/core/geometry-entity.schema.json +73 -0
  425. package/protocol/cad/v2/core/geometry-feature.schema.json +115 -0
  426. package/protocol/cad/v2/core/geometry-relationship.schema.json +67 -0
  427. package/protocol/cad/v2/core/project-revision.schema.json +111 -0
  428. package/protocol/cad/v2/core/topology-reference.schema.json +80 -0
  429. package/protocol/cad/v2/intent/design-decision.schema.json +126 -0
  430. package/protocol/cad/v2/intent/design-option.schema.json +88 -0
  431. package/protocol/cad/v2/interchange/ifc-mapping.schema.json +145 -0
  432. package/protocol/cad/v2/interchange/native-document.schema.json +130 -0
  433. package/protocol/cad/v2/interchange/reference-model.schema.json +141 -0
  434. package/protocol/cad/v2/modules/architecture.v1.schema.json +278 -0
  435. package/protocol/cad/v2/modules/landscape.v1.schema.json +157 -0
  436. package/protocol/cad/v2/modules/mechanical.v1.schema.json +325 -0
  437. package/protocol/cad/v2/modules/parametric.v1.schema.json +89 -0
  438. package/protocol/cad/v2/modules/product-design.v1.schema.json +178 -0
  439. package/protocol/cad/v2/modules/robotics.v1.schema.json +246 -0
  440. package/protocol/cad/v2/presentation/camera-path.schema.json +143 -0
  441. package/protocol/cad/v2/presentation/drawing.schema.json +162 -0
  442. package/protocol/cad/v2/presentation/production.schema.json +166 -0
  443. package/protocol/cad/v2/presentation/scene.schema.json +198 -0
  444. package/protocol/cad/v2/presentation/sheet.schema.json +254 -0
  445. package/protocol/cad/v2/presentation/view.schema.json +190 -0
  446. package/protocol/cad/v2/presentation/walkthrough.schema.json +199 -0
  447. package/protocol/cad/v2/schema-pack.manifest.json +189 -0
  448. package/protocol/cad/v2/validation/deliverable-manifest.schema.json +199 -0
  449. package/protocol/cad/v2/validation/result.schema.json +141 -0
  450. package/protocol/capabilities/evidence-manifest.schema.json +404 -0
  451. package/protocol/capabilities/manifest.json +101 -10
  452. package/protocol/capabilities/repository-crawl-input.schema.json +17 -0
  453. package/protocol/capabilities/repository-crawl-result.schema.json +79 -0
  454. package/protocol/capabilities/repository-mine-input.schema.json +27 -0
  455. package/protocol/capabilities/repository-mine-result.schema.json +51 -0
  456. package/protocol/capabilities/site-index.schema.json +15 -0
  457. package/protocol/capabilities/site-scrape-evidence-manifest.schema.json +114 -0
  458. package/protocol/capabilities/site-scrape-input.schema.json +90 -0
  459. package/protocol/capabilities/site-scrape-project-authority.schema.json +15 -0
  460. package/protocol/capabilities/site-scrape-result.schema.json +198 -0
  461. package/protocol/capabilities/site-scrape-worker-job.schema.json +18 -0
  462. package/protocol/errors/error-catalog.json +12 -0
  463. package/protocol/governance/distribution-roadmap.v1.json +335 -0
  464. package/protocol/governance/github-labels.v1.json +232 -0
  465. package/protocol/models/workers-ai-curated.mjs +14 -0
  466. package/protocol/plugins/agentsam.plugin-evidence-bundle.v1.schema.json +55 -0
  467. package/protocol/plugins/agentsam.plugin-product.v1.schema.json +227 -0
  468. package/protocol/plugins/agentsam.plugin-quality-evidence.v1.schema.json +47 -0
  469. package/protocol/plugins/agentsam.plugin-quality-receipt.v1.schema.json +160 -0
  470. package/protocol/ui/agentsam.ui-quality.v1.schema.json +31 -0
  471. package/python/agentsam_sdk/__init__.py +4 -0
  472. package/python/agentsam_sdk/client.py +202 -0
  473. package/python/agentsam_sdk/errors/vocabulary.py +10 -0
  474. package/python/tests/test_public_client.py +82 -0
  475. package/services/cad/blender/adapter.py +0 -0
  476. package/services/cad/occt/CMakeLists.txt +43 -0
  477. package/services/cad/occt/README.md +38 -0
  478. package/services/cad/occt/main.cpp +95 -0
  479. package/services/cad/server.py +103 -21
  480. package/skills/README.md +6 -0
  481. package/skills/agentsam-cad/SKILL.md +59 -0
  482. package/skills/agentsam-plan-and-goap/SKILL.md +77 -0
  483. package/skills/agentsam-repo-recon/SKILL.md +63 -0
  484. package/skills/agentsam-sam-operations/SKILL.md +71 -0
  485. package/skills/agentsam-sdk-orientation/SKILL.md +75 -0
  486. package/skills/catalog.json +85 -0
  487. package/src/AgentSam.js +2 -0
  488. package/src/agent/capability-adapter.js +207 -9
  489. package/src/agent/index.js +1 -0
  490. package/src/agent/intent.js +12 -0
  491. package/src/agent/project-discovery.js +47 -0
  492. package/src/agent/project-resources.js +157 -0
  493. package/src/agent/responses-runner.js +64 -12
  494. package/src/capabilities/cloudflare-d1-provision.js +48 -0
  495. package/src/capabilities/knowledge-operations.js +87 -0
  496. package/src/capabilities/local-sqlite-resources.js +124 -0
  497. package/src/capabilities/machine-inspect.js +28 -0
  498. package/src/capabilities/mcp-d1-bridge.js +98 -0
  499. package/src/capabilities/plan-operation-ids.js +6 -0
  500. package/src/capabilities/plan-operations.js +85 -0
  501. package/src/capabilities/repository-awareness.js +52 -0
  502. package/src/capabilities/test-run.js +10 -0
  503. package/src/capabilities/workspace-files.js +125 -0
  504. package/src/cli/command-catalog.js +16 -3
  505. package/src/cli.js +71 -116
  506. package/src/commands/app.js +43 -44
  507. package/src/commands/autorag-node-api.js +96 -0
  508. package/src/commands/autorag.js +178 -17
  509. package/src/commands/catalog-doctor.js +52 -0
  510. package/src/commands/catalog.js +151 -0
  511. package/src/commands/cheat-sheet.js +92 -63
  512. package/src/commands/cloudflare.js +64 -2
  513. package/src/commands/codebaseindex.js +2 -2
  514. package/src/commands/db.js +17 -0
  515. package/src/commands/goap-world.js +4 -0
  516. package/src/commands/interactive.js +21 -1
  517. package/src/commands/knowledge.js +8 -3
  518. package/src/commands/machine-binary.js +3 -2
  519. package/src/commands/machine.js +66 -15
  520. package/src/commands/mcp.js +98 -8
  521. package/src/commands/plan-ledger.js +60 -22
  522. package/src/commands/plan.js +3 -3
  523. package/src/commands/plugins.js +34 -2
  524. package/src/commands/product.js +21 -0
  525. package/src/commands/rust.js +4 -1
  526. package/src/commands/sam-evidence.js +87 -0
  527. package/src/commands/sam-media.js +78 -0
  528. package/src/commands/sam.js +117 -0
  529. package/src/commands/shell.js +97 -8
  530. package/src/commands/site-scrape.js +9 -0
  531. package/src/context/resolve.js +5 -1
  532. package/src/index.js +13 -0
  533. package/src/knowledge/d1-schema.js +65 -0
  534. package/src/knowledge/engine.js +55 -15
  535. package/src/knowledge/source.js +8 -0
  536. package/src/knowledge/store-discovery.js +9 -3
  537. package/src/knowledge/stores/sqlite.js +8 -0
  538. package/src/knowledge/wrangler-binding-discovery.js +43 -0
  539. package/src/lib/agent-instructions.js +29 -5
  540. package/src/lib/auth.js +46 -7
  541. package/src/lib/cad/delivery-profiles.d.ts +7 -0
  542. package/src/lib/cad/delivery-profiles.js +122 -0
  543. package/src/lib/cad/docker-executor.js +1 -1
  544. package/src/lib/cad/editable-project-contract.js +75 -0
  545. package/src/lib/cad/index.js +6 -0
  546. package/src/lib/cad/occt-native-provider.mjs +138 -0
  547. package/src/lib/cad/openscad.js +13 -1
  548. package/src/lib/cad/production-operations.d.ts +8 -0
  549. package/src/lib/cad/production-operations.js +74 -0
  550. package/src/lib/cad/project-cli.d.ts +1 -1
  551. package/src/lib/cad/project-contract.js +1 -1
  552. package/src/lib/cad/project-runtime.d.ts +1 -1
  553. package/src/lib/cad/project-runtime.js +48 -3
  554. package/src/lib/cad/project-tools.js +24 -0
  555. package/src/lib/cad/project-v2.d.ts +48 -0
  556. package/src/lib/cad/project-v2.js +288 -0
  557. package/src/lib/cad-docker.js +48 -4
  558. package/src/lib/dockerize.js +3 -3
  559. package/src/lib/execution-approvals.js +29 -3
  560. package/src/local-fs/capability.js +5 -0
  561. package/src/local-lsp/host.js +2 -0
  562. package/src/local-pty/server.js +21 -0
  563. package/src/mcp/client.js +2 -1
  564. package/src/mcp/oauth-connection.js +109 -0
  565. package/src/models/inventory-core.js +2 -10
  566. package/src/plugins/index.js +13 -0
  567. package/src/plugins/productization.js +348 -0
  568. package/src/providers/gemini-generate-content.js +18 -0
  569. package/src/registry/generated/inventory.json +4266 -0
  570. package/src/registry/index.js +96 -0
  571. package/src/registry/turn-one.js +45 -0
  572. package/src/sam/adapters/local-media-store.js +71 -0
  573. package/src/sam/adapters/local-script-runtime.js +122 -0
  574. package/src/sam/adapters/local-script-store.js +103 -0
  575. package/src/sam/adapters/object-media-store.js +89 -0
  576. package/src/sam/adapters/workspace-media.js +78 -0
  577. package/src/sam/artifacts/render.js +94 -0
  578. package/src/sam/bridge/stdio.mjs +59 -0
  579. package/src/sam/client.js +269 -22
  580. package/src/sam/index.js +30 -1
  581. package/src/sam/local-execution.js +8 -0
  582. package/src/sam/media/environment.js +96 -0
  583. package/src/sam/model-adapter.js +45 -0
  584. package/src/sam/operation-packs/generated-v2/background.js +54 -0
  585. package/src/sam/operation-packs/generated-v2/catalog.js +1746 -0
  586. package/src/sam/operation-packs/generated-v2/generated-execution-policies.json +401 -0
  587. package/src/sam/operation-packs/generated-v2/generated-tool-descriptors.json +1352 -0
  588. package/src/sam/operation-packs/generated-v2/glb.js +41 -0
  589. package/src/sam/operation-packs/generated-v2/inneranimalmedia-provider.js +24 -0
  590. package/src/sam/operation-packs/generated-v2/operation-pack.js +126 -0
  591. package/src/sam/operation-packs/generated-v2/raster.js +140 -0
  592. package/src/sam/operation-packs/generated-v2/scripts.js +63 -0
  593. package/src/sam/operation-packs/generated-v2/sdk-adapter.js +9 -0
  594. package/src/sam/operation-packs/generated-v2/test/alias-runtime.test.mjs +51 -0
  595. package/src/sam/operation-packs/generated-v2/test/background.test.mjs +19 -0
  596. package/src/sam/operation-packs/generated-v2/test/glb.test.mjs +19 -0
  597. package/src/sam/operation-packs/generated-v2/test/raster.test.mjs +38 -0
  598. package/src/sam/operation-packs/generated-v2/test/real-asset-bindings.test.mjs +74 -0
  599. package/src/sam/operation-packs/generated-v2/test/registration.test.mjs +65 -0
  600. package/src/sam/operation-packs/generated-v2/test/scripts.test.mjs +32 -0
  601. package/src/sam/operation-packs/generated-v2/test/superbash-client-integration.test.mjs +215 -0
  602. package/src/sam/operation-packs/generated-v2/tool-types.d.ts +53 -0
  603. package/src/sam/operations/artifact-render.js +13 -0
  604. package/src/sam/operations/repository-inspect.js +12 -2
  605. package/src/sam/operations/robotics.js +45 -0
  606. package/src/sam/os.js +117 -0
  607. package/src/sam/packs/authoring/README.md +13 -0
  608. package/src/sam/packs/authoring/index.js +108 -0
  609. package/src/sam/packs/cad/http-ports.js +55 -0
  610. package/src/sam/packs/cad/index.js +158 -0
  611. package/src/sam/packs/cad/model-tools.js +22 -0
  612. package/src/sam/packs/cad/modes.js +87 -0
  613. package/src/sam/packs/cms/aliases.js +1 -0
  614. package/src/sam/packs/cms/contracts.js +1 -0
  615. package/src/sam/packs/cms/machine.js +6 -0
  616. package/src/sam/packs/cms/node.js +1 -0
  617. package/src/sam/packs/core.js +27 -0
  618. package/src/sam/packs/evidence/README.md +65 -0
  619. package/src/sam/packs/evidence/compare.js +98 -0
  620. package/src/sam/packs/evidence/contract.js +56 -0
  621. package/src/sam/packs/evidence/derive.js +59 -0
  622. package/src/sam/packs/evidence/driver-blender.js +96 -0
  623. package/src/sam/packs/evidence/driver-playwright.js +91 -0
  624. package/src/sam/packs/evidence/exporter-copro.js +70 -0
  625. package/src/sam/packs/evidence/facts.js +37 -0
  626. package/src/sam/packs/evidence/host-local.js +74 -0
  627. package/src/sam/packs/evidence/index.js +494 -0
  628. package/src/sam/packs/evidence/media.js +44 -0
  629. package/src/sam/packs/evidence/naming.js +67 -0
  630. package/src/sam/packs/evidence/normalize.js +117 -0
  631. package/src/sam/packs/evidence/review-page.js +102 -0
  632. package/src/sam/packs/evidence/screenplay.js +34 -0
  633. package/src/sam/packs/evidence/seal.js +55 -0
  634. package/src/sam/packs/evidence/serve.js +74 -0
  635. package/src/sam/packs/evidence/store.js +93 -0
  636. package/src/sam/packs/evidence/viewports.js +23 -0
  637. package/src/sam/robotics/chess-adapter.js +14 -0
  638. package/src/sam/robotics/franka.js +44 -0
  639. package/src/sam/robotics/index.js +4 -0
  640. package/src/sam/robotics/receipt.js +21 -0
  641. package/src/sam/robotics/world.js +57 -0
  642. package/src/sam/seed.js +10 -40
  643. package/src/sam/shell-host.js +120 -0
  644. package/src/sam/validation.js +40 -0
  645. package/src/security/local-vault.js +6 -1
  646. package/src/ui/cli/help.js +6 -0
  647. package/templates/clay/clay-blueprint-template.html +481 -0
  648. package/templates/clay/clay-case-study-blueprint.html +269 -0
  649. package/templates/clay/conversion-showcase-section.html +534 -0
  650. package/templates/clay/enhancing-conversion-section.html +141 -0
  651. package/templates/clay/nuant-wireframe.html +117 -0
@@ -0,0 +1,269 @@
1
+ <!doctype html>
2
+ <html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
3
+ <title>Clay Site Blueprint</title>
4
+ <style>
5
+ :root{--bg:#f4f4f2;--ink:#1f1f1f;--mut:#666;--line:#a8a8a4;--fill:#e4e4e0;--hatch:#d3d3ce;--acc:#c2410c;--card:#fff}
6
+ *{box-sizing:border-box}
7
+ body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.5 ui-sans-serif,system-ui,sans-serif}
8
+ .mono{font-family:ui-monospace,Menlo,Consolas,monospace}
9
+ .w{max-width:1080px;margin:0 auto;padding:32px 16px 80px}
10
+ h1{font-size:24px;margin:0 0 4px}h2{font-size:18px;margin:48px 0 4px;padding-top:16px;border-top:2px solid var(--ink)}h3{font-size:14px;margin:0 0 4px}
11
+ .sub{color:var(--mut);margin:0 0 16px}
12
+ .note{background:#fff7ed;border-left:3px solid var(--acc);padding:8px 12px;margin:12px 0;font-size:13px}
13
+ .grid{display:grid;gap:14px}.g2{grid-template-columns:repeat(2,1fr)}.g3{grid-template-columns:repeat(3,1fr)}
14
+ @media(max-width:800px){.g2,.g3{grid-template-columns:1fr}}
15
+ .card{background:var(--card);border:1px solid var(--line);padding:12px}
16
+ .spec{font-size:12px;color:var(--mut);margin-top:8px}
17
+ .spec b{color:var(--ink)}
18
+ /* wire primitives */
19
+ .f{background:#fff;border:1px solid var(--line);padding:8px;position:relative}
20
+ .im{background:repeating-linear-gradient(45deg,var(--fill),var(--fill) 6px,var(--hatch) 6px,var(--hatch) 7px);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;font-size:10px;color:#555;text-align:center}
21
+ .im span{background:#fff;padding:1px 5px;border:1px solid var(--line)}
22
+ .hd{height:12px;background:#444;margin-bottom:5px}.ln{height:5px;background:var(--fill);margin-bottom:4px}
23
+ .dark{background:#0d0d0d;border-color:#444}.dark .hd{background:#ddd}.dark .ln{background:#444}.dark .im{background:repeating-linear-gradient(45deg,#2a2a2a,#2a2a2a 6px,#333 6px,#333 7px);color:#aaa}.dark .im span{background:#111;border-color:#555}
24
+ .r{display:flex;gap:6px}.r>*{flex:1}
25
+ .tag{display:inline-block;background:var(--ink);color:#fff;font-size:10px;padding:0 6px;border-radius:8px;margin-right:4px}
26
+ table{border-collapse:collapse;width:100%;font-size:12.5px;background:#fff}
27
+ th,td{border:1px solid var(--line);padding:6px 8px;text-align:left;vertical-align:top}th{background:var(--fill)}
28
+ /* recipe strips */
29
+ .strips{display:flex;gap:18px;align-items:flex-start;overflow-x:auto;padding:12px;background:#fff;border:1px solid var(--line)}
30
+ .strip{flex:0 0 130px}.strip h3{font-size:12px;text-align:center}
31
+ .strip .col{display:flex;flex-direction:column;gap:2px}
32
+ .blk{font-size:9px;line-height:1.1;color:#fff;padding:2px 3px;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden;border:1px solid rgba(0,0,0,.25)}
33
+ .lg{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0;font-size:12px}.lg i{display:inline-block;width:12px;height:12px;vertical-align:-2px;margin-right:4px}
34
+ ul{margin:6px 0;padding-left:20px}li{margin-bottom:3px}
35
+ code{background:var(--fill);padding:0 4px;font-size:12px}
36
+ .slot{border:1px dashed var(--acc);padding:8px;margin-bottom:8px;background:#fff}
37
+ </style></head><body><div class="w">
38
+
39
+ <h1>Clay site blueprint: case studies + services</h1>
40
+ <p class="sub">Layout and structure library from clay.global, measured on desktop. Structure only; no content from Clay is reproduced. Ready for your own builds to be slotted in.</p>
41
+ <div class="note"><b>Scope.</b> Case studies measured at 1280px: Sky, Slack, Meta, Eden, Nuant, plus the /work index. Marqeta (section 7) and the Services page (section 8) were measured at 1440px. Discover appears in the recipes from your pasted notes (914px viewport, not re-measured by me). Snapchat I only saw at phone width. Wealth, Grayscale, Serena &amp; Lily, Joe &amp; the Juice and Lulo were not analyzed because my measurement script was blocked on them. Mobile layouts were not measured.</div>
42
+
43
+ <h2>1. The work index (/work)</h2>
44
+ <p class="sub">Filter row, then a staggered grid. Each card is image + name + one-line description.</p>
45
+ <div class="grid g2">
46
+ <div class="card"><div class="f" style="background:#fafafa">
47
+ <div class="hd" style="width:55%;height:16px"></div>
48
+ <div class="r mono" style="font-size:10px;margin:6px 0 10px;flex:none;gap:12px"><span>● All Work 39</span><span>Digital Products 16</span><span>Websites 21</span><span>Branding 11</span></div>
49
+ <div class="im" style="height:110px;width:82%;margin-left:10%"><span>WIDE card · ~984×678 · offset</span></div><div class="ln" style="width:30%;margin:4px 10%"></div>
50
+ <div class="r" style="margin-top:10px;align-items:flex-start"><div><div class="im" style="height:100px"><span>~501×625</span></div><div class="ln" style="width:50%;margin-top:4px"></div></div><div style="margin-top:22px"><div class="im" style="height:120px"><span>~501×750</span></div><div class="ln" style="width:50%;margin-top:4px"></div></div></div>
51
+ <div class="im" style="height:110px;width:82%;margin:10px 0 0 10%"><span>WIDE card again</span></div></div></div>
52
+ <div class="card"><h3>Rules</h3><ul>
53
+ <li><b>Page title:</b> one-line promise ("We bring your boldest ideas to life"), no hero image.</li>
54
+ <li><b>Filter:</b> All / Digital Products / Websites / Branding, each with a count.</li>
55
+ <li><b>Grid rhythm:</b> wide card, then a pair, then wide, repeating. In the pair, the left card is shorter (~625) and the right is taller (~750) and shifted down, so the columns never align.</li>
56
+ <li><b>Card:</b> media on top (image or looping video), client name, one sentence stating the deliverable ("Web redesign for…", "Brand identity for…").</li>
57
+ <li>Whole card is the link. 37 case studies, no pagination seen.</li></ul></div></div>
58
+
59
+ <h2>2. Anatomy of every case study</h2>
60
+ <p class="sub">All five measured pages follow the same skeleton. Only the middle changes.</p>
61
+ <div class="card"><div class="grid g3" style="grid-template-columns:repeat(3,1fr)">
62
+ <div><span class="tag">1</span><b>Hero</b><br>Name as H1 (64px), one-line subtitle stating the deliverable, then a ~712px full-bleed image or video.</div>
63
+ <div><span class="tag">2</span><b>Intro split</b><br>Left: 1–2 paragraphs on client and brief (~446px wide). Right: list of services delivered (4–6 items, ~266px).</div>
64
+ <div><span class="tag">3</span><b>Chapters ×7–20</b><br>Each is a short heading, one paragraph, and one media block, or a media-only follow-up beat.</div>
65
+ <div><span class="tag">4</span><b>Breaker</b><br>Full-bleed image with no text, a final visual before leaving.</div>
66
+ <div><span class="tag">5</span><b>Next case study</b><br>Label, client name, full-bleed preview. The entire block is one link. This is the only built-in exit.</div>
67
+ <div><span class="tag">+</span><b>Global</b><br>Header is just logo + Contact pill + menu. No in-page nav, no progress bar, no metrics strip, no testimonial block seen in the measured pages.</div>
68
+ </div></div>
69
+
70
+ <h2>3. Type and spacing (desktop)</h2>
71
+ <table><tr><th>Element</th><th>Measured</th></tr>
72
+ <tr><td>H1</td><td>64px / 70px at 1280 wide, 74px / 81px at 1440 wide (it steps up by breakpoint), weight ~740. H2 stays 52px / 57px at both.</td></tr>
73
+ <tr><td>H2 (chapter heading)</td><td>52px / 57px, weight ~740, left-aligned at ~6% margin</td></tr>
74
+ <tr><td>Body paragraph</td><td>22px / ~30px, weight ~500, column ~446–500px (about 35–39% of width)</td></tr>
75
+ <tr><td>Side margin</td><td>~72–75px (~6%) for text and inset media; full-bleed media at ~99%</td></tr>
76
+ <tr><td>Chapter height</td><td>Typically 1,000–1,400px (header + paragraph + one media block)</td></tr>
77
+ <tr><td>Copy per chapter</td><td>1 paragraph, ~140–300 characters; occasionally 2</td></tr>
78
+ <tr><td>Heading style</td><td>2–5 word noun phrase ("Custom Iconography", "Optimized for Every Screen")</td></tr></table>
79
+
80
+ <h2>4. Module library</h2>
81
+ <p class="sub">Eight media layouts under the same text header, plus the structural modules. Every chapter is one text header + one of these.</p>
82
+ <div class="grid g3">
83
+
84
+ <div class="card"><h3>M1 · Hero</h3><div class="f"><div class="hd" style="width:25%;height:16px"></div><div class="ln" style="width:45%"></div><div class="im" style="height:70px;margin-top:6px"><span>full-bleed 99% × ~712</span></div></div><div class="spec"><b>Slots:</b> name, deliverable line, hero media (image or video).</div></div>
85
+
86
+ <div class="card"><h3>M2 · Intro split</h3><div class="f r"><div style="flex:1.7"><div class="ln"></div><div class="ln"></div><div class="ln" style="width:70%"></div><div class="ln" style="margin-top:8px"></div><div class="ln" style="width:55%"></div></div><div><div class="ln" style="background:#444;width:70%"></div><div class="ln" style="background:#444;width:55%"></div><div class="ln" style="background:#444;width:65%"></div><div class="ln" style="background:#444;width:50%"></div></div></div><div class="spec"><b>Slots:</b> 1–2 brief paragraphs, 4–6 services.</div></div>
87
+
88
+ <div class="card"><h3>M3 · Full-bleed</h3><div class="f"><div class="hd" style="width:45%"></div><div class="ln" style="width:55%"></div><div class="im" style="height:60px;margin:6px -8px -8px"><span>99% × 712–791</span></div></div><div class="spec"><b>Use:</b> hero shots, big moments, light/dark comparisons. Most common layout.</div></div>
89
+
90
+ <div class="card"><h3>M4 · Inset</h3><div class="f"><div class="hd" style="width:45%"></div><div class="ln" style="width:55%"></div><div class="im" style="height:60px;margin:6px 6% 0"><span>87% × 627–697</span></div></div><div class="spec"><b>Use:</b> a single UI screenshot or poster that needs breathing room.</div></div>
91
+
92
+ <div class="card"><h3>M5 · Two-up</h3><div class="f"><div class="hd" style="width:45%"></div><div class="ln" style="width:55%"></div><div class="r" style="margin:6px 6% 0"><div class="im" style="height:70px"><span>43% × 550</span></div><div class="im" style="height:70px"><span>43% × 550</span></div></div></div><div class="spec"><b>Use:</b> before/after, two states, two screens. Equal halves.</div></div>
93
+
94
+ <div class="card"><h3>M6 · Offset single</h3><div class="f"><div class="hd" style="width:45%"></div><div class="ln" style="width:55%"></div><div class="im" style="height:60px;margin:6px 0 0 42%"><span>51% × 439–652, right-aligned</span></div></div><div class="spec"><b>Use:</b> a supporting visual that pairs with the paragraph above. Leaves white space on the left.</div></div>
95
+
96
+ <div class="card"><h3>M7 · Desktop + mobile pair</h3><div class="f"><div class="hd" style="width:45%"></div><div class="ln" style="width:55%"></div><div class="r" style="margin:6px 6% 0;align-items:flex-end;gap:5%"><div class="im" style="height:70px;flex:2"><span>58% × 741</span></div><div class="im" style="height:45px;flex:1"><span>28% × 358</span></div></div></div><div class="spec"><b>Use:</b> responsive proof, same screen at two sizes.</div></div>
97
+
98
+ <div class="card"><h3>M8 · Mosaic</h3><div class="f"><div class="hd" style="width:45%"></div><div class="ln" style="width:55%"></div><div class="r" style="margin:6px 6% 0"><div style="display:flex;flex-direction:column;gap:4px"><div class="im" style="height:33px"><span>43×369</span></div><div class="im" style="height:33px"><span>43×369</span></div></div><div class="im" style="height:70px"><span>43 × 754 tall</span></div></div></div><div class="spec"><b>Use:</b> two small assets stacked against one tall one. Good for logo + icon + app screen.</div></div>
99
+
100
+ <div class="card"><h3>M9 · Carousel</h3><div class="f"><div class="hd" style="width:45%"></div><div class="ln" style="width:55%"></div><div style="display:flex;gap:6px;margin:6px -8px 0;overflow:hidden"><div class="im" style="height:60px;flex:0 0 62%"><span>78–80% wide slide</span></div><div class="im" style="height:60px;flex:0 0 62%"><span>next</span></div></div></div><div class="spec"><b>Use:</b> 3–5 slides, each ~78–80% of viewport, bleeding off the right edge. Captions beneath each slide on some pages. Drag or arrows.</div></div>
101
+
102
+ <div class="card"><h3>M10 · Continuation beat</h3><div class="f"><div class="ln" style="width:50%"></div><div class="ln" style="width:42%"></div><div class="im" style="height:60px;margin-top:6px"><span>any media layout</span></div></div><div class="spec"><b>No heading.</b> Paragraph + media that continues the chapter above. About 40% of sections are this.</div></div>
103
+
104
+ <div class="card"><h3>M11 · Breaker</h3><div class="f"><div class="im" style="height:70px;margin:-8px"><span>media only · full-bleed · ~712–791</span></div></div><div class="spec"><b>No text.</b> Appears before the next-case block and mid-page as a pause.</div></div>
105
+
106
+ <div class="card"><h3>M12 · Dark chapter</h3><div class="f dark"><div class="hd" style="width:45%"></div><div class="ln" style="width:55%"></div><div class="im" style="height:60px;margin-top:6px"><span>same layouts on #050505</span></div></div><div class="spec"><b>Background switch,</b> not a separate layout. Used on Sky and Meta for "universe/night" chapters; any M3–M9 can sit on it.</div></div>
107
+
108
+ <div class="card"><h3>M13 · Next case study</h3><div class="f" style="background:#efefec"><div class="ln" style="width:25%"></div><div class="hd" style="width:30%;height:16px"></div><div class="im" style="height:60px;margin-bottom:-8px"><span>full-bleed preview · whole block links</span></div></div><div class="spec"><b>Slots:</b> next project name and image. 1,021px tall.</div></div>
109
+ </div>
110
+
111
+ <h2>5. How the pacing works</h2>
112
+ <div class="card"><ul>
113
+ <li><b>Never the same layout twice in a row.</b> Full-bleed, inset, two-up, offset, pair, carousel, and mosaic rotate. A text header only appears every 1–2 beats.</li>
114
+ <li><b>Zoom-in arc.</b> Overview and challenge first, then system and components, then specific features (dark mode, icons, localization) last.</li>
115
+ <li><b>One idea per chapter.</b> Heading names the idea, paragraph says what you did and why, the media proves it.</li>
116
+ <li><b>Palette cleanser.</b> A text-free full-bleed breaker every 5–8 chapters and again before the exit.</li>
117
+ <li><b>Length scales with the project.</b> Meta is 11 sections, Nuant 10, Slack 13, Eden 16, Sky 24 (about 27,000px). Brand projects run longer because they have more deliverables to show.</li>
118
+ <li><b>Media is a mix</b> of stills and looping video; the same layouts accept either.</li></ul></div>
119
+
120
+ <h2>6. Page recipes (to scale)</h2>
121
+ <p class="sub">Each column is one page, top to bottom. Block height is proportional to the real section height.</p>
122
+ <div class="lg" id="lg"></div>
123
+ <p class="sub" style="font-size:12px">Left edge stripe = section background (indigo, gray or dark), marked only on Marqeta and Discover; the other pages are mostly white with some dark chapters I didn't mark. *Discover comes from your pasted notes at a 914px viewport, so its heights aren't directly comparable.</p>
124
+ <div class="strips" id="strips"></div>
125
+
126
+ <h2>7. Marqeta: what it adds to the case-study kit</h2>
127
+ <p class="sub">Measured at 1440px wide: 14,967px tall, 13 sections, same skeleton as the others. The difference is that it themes the page in the client's own color instead of staying white.</p>
128
+ <div class="grid g3">
129
+ <div class="card"><h3>M14 · Themed backgrounds</h3>
130
+ <div class="f" style="padding:0"><div style="height:18px;background:#fff;border-bottom:1px solid var(--line)"></div><div style="height:30px;background:#2a206a"></div><div style="height:30px;background:#f5f5f7;border-bottom:1px solid var(--line)"></div><div style="height:18px;background:#2a206a"></div><div style="height:24px;background:#fff;border-bottom:1px solid var(--line)"></div><div style="height:22px;background:#2a206a"></div></div>
131
+ <div class="spec"><b>Order:</b> white → indigo → light gray → indigo → white → indigo. Colors measured: indigo <code>#2a206a</code> (client brand), gray <code>#f5f5f7</code>, white. Share of page: ~51% white, ~32% indigo, ~17% gray. Headings turn white on indigo.</div></div>
132
+ <div class="card"><h3>M15 · Browser-frame inset</h3>
133
+ <div class="f dark" style="padding:8px 10%"><div style="background:#fff;border-radius:6px;padding:4px"><div class="im" style="height:46px"><span>site screenshot in rounded frame · 87% × ~781</span></div></div></div>
134
+ <div class="spec"><b>Use:</b> full-page website shots on dark chapters. Frame has rounded corners (the page's own images stay square). Two of them sit back to back with a statement line between.</div></div>
135
+ <div class="card"><h3>M16 · Statement block</h3>
136
+ <div class="f dark"><div class="hd" style="width:50%;height:14px"></div><div class="hd" style="width:38%;height:14px"></div><div class="hd" style="width:44%;height:14px"></div></div>
137
+ <div class="spec"><b>Heading only,</b> 52px, no paragraph, ~389px tall, on dark. A pause that states the point of the next screenshots.</div></div>
138
+ <div class="card"><h3>M17 · Text-only block</h3>
139
+ <div class="f"><div class="hd" style="width:35%"></div><div class="ln" style="width:55%"></div><div class="ln" style="width:48%"></div><div class="ln" style="width:30%"></div></div>
140
+ <div class="spec"><b>Heading + paragraph, no media,</b> ~394px. Used right after the big-and-small pair to introduce the next run of screenshots ("The Card Journey").</div></div>
141
+ <div class="card"><h3>Para / media / para / media</h3>
142
+ <div class="f" style="background:#f5f5f7"><div class="hd" style="width:35%"></div><div class="ln" style="width:55%"></div><div class="im" style="height:34px;margin:4px 3%"><span>media</span></div><div class="ln" style="width:50%"></div><div class="ln" style="width:35%"></div><div class="im" style="height:34px;margin:4px 3%"><span>media</span></div></div>
143
+ <div class="spec"><b>Light-gray chapter</b> (~2,400px): heading, paragraph, 89%-wide media (717px), a second paragraph, a second media. One idea told in two beats.</div></div>
144
+ <div class="card"><h3>Hero and ending notes</h3>
145
+ <ul style="font-size:12px;margin:0"><li><b>Hero (1,680px):</b> full-bleed 802px image, then a 3-paragraph intro with 5 services (Web Design, Content, Interaction Design, 3D Design, Development) and a link to the client's own site.</li>
146
+ <li><b>Big + small pair:</b> 59% photo (1,090 tall) next to a 29% tall tile (657).</li>
147
+ <li><b>Carousel:</b> 5 slides at 79% × 715, with arrow buttons top-right and a caption under each slide.</li>
148
+ <li><b>Last chapter:</b> narrow mobile (20%) beside a wide desktop (91%) scroller.</li></ul></div>
149
+ </div>
150
+ <div class="note"><b>3D on this page:</b> there is no 3D layer in the body. The 3D objects are baked into the screenshots and videos. The only live canvas is the footer helix, the same one used on the services page. <b>Take-away for your case studies:</b> pick one brand color per project, use it for the dark chapters, and alternate white, tint and brand-color sections.</div>
151
+
152
+ <h2>8. Services page (/services)</h2>
153
+ <p class="sub">Measured at 1440px wide. Scale drawing on the left (about 0.32×); specs on the right. Hatched boxes = photographs/mockups, soft ellipses = the 3D (GLB) objects.</p>
154
+ <div class="sv" style="display:grid;grid-template-columns:464px 1fr;gap:20px;align-items:start">
155
+ <div id="svc" style="position:relative;width:460px;height:2463px;border:2px solid var(--ink);background:#fff;overflow:hidden;flex:none"></div>
156
+ <div>
157
+ <div class="card"><h3>Size and scroll</h3><ul>
158
+ <li><b>Page height:</b> 7,713px at 1440 wide (about 8.6 screens at 900px tall). It's 3 blocks plus the header: hero, services list, industries, then the footer inside the last block.</li>
159
+ <li><b>Hero:</b> 641px (0.7 screen), text only.</li>
160
+ <li><b>Services list:</b> 4,432px for 5 services, ~918px each (about one screen per service).</li>
161
+ <li><b>Industries:</b> 1,919px (about 2 screens).</li>
162
+ <li><b>Footer:</b> 641px.</li>
163
+ <li>Widths change the numbers: your own 1054px measure gave 7,086px.</li></ul></div>
164
+ <div class="card" style="margin-top:12px"><h3>White vs dark balance</h3><ul>
165
+ <li><b>Light:</b> hero 641 + services 4,432 + footer 641 = 5,714px (74%). <b>Dark:</b> Industries only, 1,919px (25%).</li>
166
+ <li>One hard cut to dark at y=5,154 (67% down the page), colour <code>#171921</code>. After the dark block the footer returns to light gray.</li>
167
+ <li>Nothing else on the page is dark or tinted, so all colour comes from the photographs.</li></ul></div>
168
+ <div class="card" style="margin-top:12px"><h3>Titles and text</h3><ul>
169
+ <li><b>H1:</b> "A full-service digital innovation partner", 74px / 81px, left at 5%, about 46% wide, two lines. Subtitle 28px / 39px, 39% wide, two lines.</li>
170
+ <li><b>Service row:</b> H2 52px / 57px, paragraph 22px / 30px (about 260 characters, 5 lines), then a list of 6 service names in bold 22px-ish smaller type, stacked, no bullets.</li>
171
+ <li>Text column is 36% wide. Paragraph and list live in the same column under the heading.</li>
172
+ <li><b>Industries:</b> H2 52px, short intro, then 12 two-column rows (label left in white, client names right in muted gray), separated by hairlines. About 120px per row.</li></ul></div>
173
+ <div class="card" style="margin-top:12px"><h3>Branding row, then Digital Products (the mirror)</h3><ul>
174
+ <li><b>Branding:</b> text left (x 5–41%), picture right (x 58–94%, 518×679, a portrait about 3:4). Picture shows the brand in use: a poster in an outdoor frame.</li>
175
+ <li><b>Digital Products:</b> everything flips. Text right (x 58%), picture left (x 5%). Picture is a dashboard UI on a saturated indigo field, cropped at the edge.</li>
176
+ <li>Rows 3 and 5 repeat Branding's side; rows 4 repeat Digital Products' side. Strict left/right alternation, nothing else changes.</li>
177
+ <li>Pictures are square-cornered, with no border, shadow or caption.</li></ul></div>
178
+ <div class="card" style="margin-top:12px"><h3>3D (GLB) objects</h3><ul>
179
+ <li><b>6 canvases:</b> one per service plus one in the footer, each a transparent layer 73% wide × 1050px tall, absolutely positioned behind the content. Models loaded: <code>orbs/branding</code>, <code>flatCircles/digital</code>, <code>squares/websites</code>, <code>doubleCone/content</code>, <code>corners/dev</code>, <code>helix/helix</code> (footer). Two <code>satellites</code> models also load; I didn't see where they appear on this page.</li>
180
+ <li><b>Placement rule:</b> each object sits in the seam above its row, about 90px above the picture's top edge, hovering over the picture's top inner corner. Right-picture rows: centered at ~61% across. Left-picture rows: centered at ~39%. It overlaps the previous row's bottom, so objects tie rows together.</li>
181
+ <li><b>Size:</b> roughly 330 × 420px, so about the width of a quarter of the screen.</li>
182
+ <li><b>Look:</b> pale matte clay-white forms with faint lavender or blue translucency and very soft shadows. Low contrast on white, so text and pictures stay the focus.</li>
183
+ <li><b>Shape per service:</b> branding = cluster of spheres, digital = stack of flat discs, websites = stacked panels/cubes, content = double cone, development = folded corner planes. Footer = a huge helix swoosh across the lower left.</li>
184
+ <li><b>Motion:</b> I only captured still frames. I haven't confirmed whether the objects rotate or react to scroll or mouse; check on the live page.</li></ul></div>
185
+ <div class="card" style="margin-top:12px"><h3>Footer</h3><ul>
186
+ <li>Light gray with the helix swoosh behind it. "Let's Talk" as a large heading with email and phone, left.</li>
187
+ <li>Right: nav in 2 columns (Work, Services, About, Contact | Clients, Industries, Blog), then 6 office addresses in a 3×2 grid.</li>
188
+ <li>Bottom: social icons left, copyright and legal links right.</li></ul></div>
189
+ </div></div>
190
+
191
+ <h2>9. Briefs for your five images and GLB objects</h2>
192
+ <p class="sub">Derived from the measurements above. Sizes are for a 1440px desktop layout; export at 2×.</p>
193
+ <div class="grid g2">
194
+ <div class="card"><h3>Five pictures (one per service)</h3><ul>
195
+ <li><b>Size:</b> 518×679 displayed. Export at <b>1036×1358</b> (about 3:4 portrait).</li>
196
+ <li><b>Content:</b> your own work shown in use, each in a different medium so the column doesn't look repetitive. Clay's five are an outdoor poster, a cropped dashboard UI, a phone held in a hand, a 3D character photographed on a desk, and an app UI collage.</li>
197
+ <li><b>Colour:</b> one saturated field or a neutral photo per image. The page itself is white, so the pictures carry all the color.</li>
198
+ <li><b>Treatment:</b> square corners, no border, no shadow, no caption, no text overlay.</li>
199
+ <li><b>Order and sides:</b> picture 1 right, 2 left, 3 right, 4 left, 5 right.</li></ul></div>
200
+ <div class="card"><h3>GLB objects (one per service + footer)</h3><ul>
201
+ <li><b>Render:</b> transparent background, camera angled slightly from above, soft contact shadow.</li>
202
+ <li><b>Materials:</b> matte white with a hint of lavender or pearl translucency, no saturated color, so objects never compete with text.</li>
203
+ <li><b>Size:</b> about 330×420px on screen, canvas layer 73% × 1050px.</li>
204
+ <li><b>Position:</b> in the seam above each row, about 90px above the picture's top inner corner, alternating ~61% / ~39% across.</li>
205
+ <li><b>Shape idea per service:</b> one silhouette that hints at the service, kept simple enough to read at small size.</li>
206
+ <li><b>Footer:</b> one oversized, cropped swoosh in light gray, left side, behind the "Let's Talk" block.</li></ul></div>
207
+ </div>
208
+
209
+ <h2>10. Your content slots</h2>
210
+ <p class="sub">What each case study needs from you, so structure and content can be matched in the next phase.</p>
211
+ <div class="grid g2">
212
+ <div>
213
+ <div class="slot"><b>Hero</b> · project name · one-line deliverable ("Design system for…") · 1 hero visual (≥1600px wide image or short loop)</div>
214
+ <div class="slot"><b>Intro</b> · 1–2 paragraphs: who the client is, the brief · 4–6 services (e.g. Brand, UI/UX, Dev…)</div>
215
+ <div class="slot"><b>Chapters (aim 6–10)</b> · each: 2–5 word heading · 140–300 char paragraph · 1 asset. Mark the layout you want from M3–M9.</div>
216
+ </div><div>
217
+ <div class="slot"><b>Breakers</b> · 1–2 text-free hero-quality visuals</div>
218
+ <div class="slot"><b>Closing</b> · next-case link (auto from your project order) + a primary CTA. Clay only has a header Contact link; you can add a closing CTA or a short result/metric block, which Clay's pages don't show.</div>
219
+ <div class="slot"><b>Per-project decisions</b> · light or dark chapters · which chapter, if any, gets a carousel · which proof shots need a desktop+mobile pair</div>
220
+ </div></div>
221
+
222
+ <div class="note"><b>Next step options.</b> (a) Give me your projects and I'll assign each to a recipe and draft the chapter outline. (b) I turn modules M1–M13 into reusable TypeScript components with a typed case-study schema (list of chapters, each with layout, heading, body, media). (c) Mid-fidelity wireframes with your real copy.</div>
223
+
224
+ </div>
225
+ <script>
226
+ const C={HERO:['#444','Hero'],INTRO:['#777','Intro'],FULL:['#2563eb','Full-bleed'],INSET:['#0d9488','Inset'],TWO:['#9333ea','Two-up'],OFF:['#d97706','Offset'],PAIR:['#db2777','Big+small pair'],MOS:['#65a30d','Mosaic'],CAR:['#dc2626','Carousel'],BRK:['#94a3b8','Breaker'],NXT:['#111','Next'],TEXT:['#a16207','Text-only']};
227
+ const R={
228
+ 'Nuant (10)':[['HERO',1283],['INSET',1006],['TWO',1072],['FULL',1202],['FULL',918],['CAR',1021],['FULL',729],['BRK',685],['NXT',926]],
229
+ 'Meta (11)':[['HERO',1533],['MOS',914],['INSET',1348],['FULL',1133],['INSET',1505],['CAR',814],['FULL',901],['INSET',1111],['TWO',879],['BRK',791],['NXT',1021]],
230
+ 'Slack (13)':[['HERO',1539],['INSET',1200],['FULL',1040],['INSET',1052],['FULL',1580],['BRK',791],['TWO',1053],['INSET',1052],['MOS',1225],['PAIR',1228],['INSET',1141],['BRK',791],['NXT',1021]],
231
+ 'Eden (16)':[['HERO',1592],['MOS',1454],['FULL',791],['TWO',1339],['INSET',857],['INSET',1171],['MOS',1570],['CAR',1214],['BRK',791],['INSET',1246],['FULL',1182],['FULL',1711],['FULL',1271],['INTRO',816],['BRK',712],['NXT',1021]],
232
+ 'Sky (24)':[['HERO',1622],['TWO',1110],['INSET',1158],['TWO',968],['FULL',2019],['OFF',812],['FULL',1133],['OFF',599],['INSET',1218],['PAIR',1129],['FULL',1181],['OFF',812],['INSET',1115],['CAR',912],['FULL',967],['PAIR',1301],['CAR',1098],['FULL',1271],['FULL',1162],['OFF',599],['INSET',1071],['INTRO',805],['BRK',712],['NXT',1021]],
233
+ 'Marqeta (13)':[['HERO',1680],['PAIR',1250],['TEXT',394],['INSET',967,'#2a206a'],['TEXT',389,'#2a206a'],['INSET',967,'#2a206a'],['INSET',1388,'#cfcfd4'],['INSET',1046,'#cfcfd4'],['INSET',967,'#2a206a'],['CAR',1298],['BRK',891],['PAIR',1408,'#2a206a'],['NXT',1122]],
234
+ 'Discover* (11)':[['HERO',1149],['PAIR',1011],['MOS',764],['FULL',1036],['TWO',674],['FULL',1215,'#161520'],['MOS',840,'#161520'],['FULL',889,'#161520'],['FULL',720,'#161520'],['NXT',747,'#09001a']]
235
+ };
236
+ document.getElementById('lg').innerHTML=Object.values(C).map(c=>`<span><i style="background:${c[0]}"></i>${c[1]}</span>`).join('');
237
+ const S=40;
238
+ document.getElementById('strips').innerHTML=Object.entries(R).map(([n,a])=>`<div class="strip"><h3>${n}</h3><div class="col">${a.map(([t,h,bg])=>`<div class="blk" style="height:${Math.round(h/S)}px;background:${C[t][0]};border-left:7px solid ${bg||'#fff'}">${C[t][1]}</div>`).join('')}</div></div>`).join('');
239
+ </script>
240
+ <script>
241
+ (()=>{const el=document.getElementById('svc');if(!el)return;const s=460/1440,px=v=>Math.round(v*s);let h='';
242
+ const bar=(x,y,w,hh,bg)=>`<div style="position:absolute;left:${x}%;top:${px(y)}px;width:${w}%;height:${Math.max(2,px(hh))}px;background:${bg||'#555'}"></div>`;
243
+ const blk=(x,y,w,hh,st,inner)=>`<div style="position:absolute;left:${x}%;top:${px(y)}px;width:${w}%;height:${px(hh)}px;${st||''}">${inner||''}</div>`;
244
+ const tg=(y,t)=>`<span class="tag" style="position:absolute;right:4px;top:${px(y)+2}px;font-size:9px;z-index:5">${t}</span>`;
245
+ // header + hero
246
+ h+=bar(2,30,6,40,'#bbb')+bar(55,40,5,14,'#ccc')+bar(62,40,5,14,'#ccc')+bar(69,40,5,14,'#ccc')+bar(76,40,5,14,'#ccc')+bar(90,28,8,36,'#333');
247
+ h+=bar(5,200,46,70)+bar(5,281,30,70)+bar(5,403,39,22,'#bbb')+bar(5,442,28,22,'#bbb')+tg(0,'HERO · 641')+blk(0,641,100,0,'border-top:1px dashed #999');
248
+ // service rows
249
+ const names=['Branding','Digital Products','Websites','Content','Development'],objs=['orbs/branding','flatCircles/digital','squares/websites','doubleCone/content','corners/dev'];
250
+ const imgY=[737,1695,2613,3532,4450],h2Y=[706,1624,2543,3461,4380],cx=[61,39,61,38,62];
251
+ names.forEach((n,i)=>{const L=i%2===0,tx=L?5:58,ix=L?58:5;
252
+ h+=bar(tx,h2Y[i],tx===5?20:22,57);
253
+ for(let k=0;k<5;k++)h+=bar(tx,h2Y[i]+90+k*28,k===4?20:34,14,'#d6d6d2');
254
+ for(let k=0;k<6;k++)h+=bar(tx,h2Y[i]+280+k*34,14+((k*7)%8),16,'#555');
255
+ h+=blk(ix,imgY[i],36,679,'',`<div class="im" style="width:100%;height:100%"><span>${n} picture<br>518×679</span></div>`);
256
+ const oy=imgY[i]-90;
257
+ h+=blk(cx[i]-11.5,oy-210,23,420,'border-radius:50%;background:radial-gradient(circle at 38% 32%,#fff 0%,#dedcec 55%,rgba(222,220,236,0) 72%);border:1px dashed #b3b0d6;display:flex;align-items:center;justify-content:center;z-index:3',`<span style="font-size:8px;color:#666;background:rgba(255,255,255,.8);padding:0 2px">${objs[i]}</span>`);
258
+ h+=tg(641+i*918,'ROW '+(i+1)+' · '+(L?'text L / pic R':'text R / pic L'));});
259
+ // industries
260
+ h+=blk(0,5154,100,1919,'background:#171921','')+tg(5154,'INDUSTRIES · 1,919 · #171921');
261
+ h+=bar(5,5274,18,57,'#eee')+bar(5,5350,32,14,'#777')+bar(5,5380,26,14,'#777');
262
+ for(let i=0;i<12;i++){const y=5154+420+i*120;h+=bar(5,y,89,1,'#33363f')+bar(5,y+30,14,20,'#eee')+bar(30,y+34,i<2?56:(30+(i*5)%25),14,'#777');if(i<2)h+=bar(30,y+60,28,14,'#777');}
263
+ // footer
264
+ h+=blk(0,7072,100,641,'background:#f5f5f7;overflow:hidden',`<div style="position:absolute;left:-10%;top:30%;width:70%;height:40%;background:rgba(255,255,255,.9);transform:rotate(-35deg);border-radius:40px"></div>`)+tg(7072,'FOOTER · 641 · helix GLB');
265
+ h+=bar(5,7072+90,22,80,'#222')+bar(5,7072+190,18,16,'#666')+bar(5,7072+220,14,16,'#666');
266
+ h+=bar(52,7072+90,8,16,'#555')+bar(52,7072+125,8,16,'#555')+bar(52,7072+160,8,16,'#555')+bar(65,7072+90,8,16,'#555')+bar(65,7072+125,8,16,'#555');
267
+ for(let r=0;r<2;r++)for(let c=0;c<3;c++)h+=bar(52+c*14,7072+300+r*90,10,40,'#bbb');
268
+ el.innerHTML=h;})();
269
+ </script></body></html>