@inneranimalmedia/agentsam-sdk 2.6.11 → 2.6.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTSAM.md +32 -0
- package/DEVELOPMENT.md +69 -74
- package/README.md +11 -0
- package/apps/cad-creator/README.md +12 -0
- package/apps/cad-creator/shared/cad/package.json +1 -1
- package/apps/cad-creator/shared/cad/src/domain/project-contract.js +2 -75
- package/apps/cad-creator/shared/cad/src/domain/project-tools.js +2 -24
- package/apps/cad-creator/shared/cad/src/types.ts +2 -2
- package/apps/client-cms-editor/backend/package.json +2 -2
- package/apps/client-cms-editor/frontend/package.json +3 -3
- package/apps/client-cms-editor/frontend/src/adapters/http-authoring.test.ts +161 -0
- package/apps/client-cms-editor/frontend/src/adapters/http.ts +320 -77
- package/apps/client-cms-editor/frontend/src/editor/CmsEditor.tsx +54 -20
- package/apps/client-cms-editor/frontend/src/editor/canvas/PreviewCanvas.tsx +31 -3
- package/apps/client-cms-editor/frontend/src/editor/composition-groups.test.ts +40 -0
- package/apps/client-cms-editor/frontend/src/editor/host-preview.test.tsx +104 -0
- package/apps/client-cms-editor/frontend/src/editor/legacy/CmsEditorPrototype.tsx +28 -28
- package/apps/client-cms-editor/frontend/src/editor/useCmsEditorController.ts +3 -3
- package/apps/client-cms-editor/frontend/src/styles/agentsam-drawer.css +5 -4
- package/apps/client-cms-editor/frontend/src/styles/studio.css +150 -149
- package/apps/client-cms-editor/package-lock.json +8 -8
- package/apps/client-cms-editor/package.json +2 -1
- package/apps/client-cms-editor/reference/harvest/plans/INNERANIMALS-CONTENT-001.md +1 -1
- package/apps/client-cms-editor/shared/cms/package.json +1 -1
- package/apps/client-cms-editor/shared/cms/src/editor-types.ts +42 -1
- package/docs/AUTORAG.md +2 -0
- package/docs/CAPABILITIES.md +28 -0
- package/docs/CMS_CONTEXTUAL_COMPOSER.md +4 -4
- package/docs/PRODUCT_LIFECYCLE.md +38 -38
- package/docs/REPO_FILE_MAP.txt +2 -2
- package/docs/THEME_REFINERY.md +6 -6
- package/docs/WINDOWS_RUNTIME_INSTALL.md +1 -1
- package/docs/adr/ADR-0002-brand-campaign-plugin-boundaries.md +603 -0
- package/docs/adr/ADR-0003-copro-clean-room-product-architecture.md +40 -0
- package/docs/adr/ADR-0003-product-portfolio-and-package-taxonomy.md +146 -0
- package/docs/adr/ADR-0004-product-composition-and-provider-neutrality.md +56 -0
- package/docs/adr/ADR-0005-offer-graduation-standard.md +66 -0
- package/docs/adr/README.md +25 -0
- package/docs/architecture/AGENTSAM-CANONICAL-DISCOVERY-FIRST-SLICE.md +70 -0
- package/docs/architecture/AGENTSAM-REGISTRY-CLI-AGENT-PARITY.md +133 -0
- package/docs/architecture/AGENTSAM_APPLICATION_CONTRACT.md +7 -1
- package/docs/architecture/CAD_OPERATOR_CAPABILITIES.md +64 -0
- package/docs/architecture/CAD_ROBOTICS_RELEASE_LEDGER_20261016.md +43 -0
- package/docs/architecture/CAD_RUN_MODES.md +34 -0
- package/docs/architecture/CLI-BOOT-REMOTE-DB-READINESS-20261015.md +65 -0
- package/docs/architecture/DUAL_ANALYTICS_PRODUCT.md +1 -1
- package/docs/architecture/EXISTING-MCP-D1-AGENT-BRIDGE.md +47 -0
- package/docs/architecture/PLAN-PORTABILITY-SAM-FIRST-SPRINT-20261015.md +36 -0
- package/docs/architecture/PLUGIN-PRODUCTIZATION-SPINE.md +101 -0
- package/docs/architecture/SAMOS_PRODUCT_MODEL.md +49 -0
- package/docs/architecture/SAM_KERNEL.md +40 -0
- package/docs/architecture/SAM_RESOURCE_CRUD_STANDARD.md +96 -0
- package/docs/architecture/SAM_SYSTEMATIC_AUTONOMOUS_MACHINERY.md +79 -0
- package/docs/architecture/USER_GLOBAL_AGENT_INSTRUCTIONS.md +55 -0
- package/docs/autorag-workflow.md +13 -0
- package/docs/brand/AGENT_SAM_ICON_GRAMMAR.md +4 -0
- package/docs/content-studio/HOST_MOUNT_CHECKLIST.md +1 -1
- package/docs/content-studio/REVISION_GATE_2026-09-27.md +3 -3
- package/docs/contracts/capability-install-planner.md +66 -38
- package/docs/contracts/environment-vocabulary.md +5 -5
- package/docs/contracts/google-cloud-oauth-setup.md +1 -1
- package/docs/engineering/SUPERBASH_LOCAL_RUNTIME.md +100 -0
- package/docs/generated/SDK_CAPABILITY_INVENTORY.md +313 -0
- package/docs/handoffs/AGENT_HANDOFF_SUPERBASH_AND_MODEL_PERFORMANCE_2026-10-14.md +134 -0
- package/docs/intake/product-capabilities.proposed.ts +232 -0
- package/docs/knowledge-supabase-node-api.md +51 -0
- package/docs/local-studio/WORKMODE_DONOR_NOTES.md +3 -3
- package/docs/plans/ASTRA-BRIEF-2026-09-18.md +1 -1
- package/docs/plans/LOCAL-STUDIO-REAL-APP-CONTRACT-ADDENDUM-2026-09-27.md +2 -2
- package/docs/plans/MACHINE-FIRST-APPS-TUI-2026-09-24.md +1 -1
- package/docs/plans/MEDIA_TRUTH_SOURCE_RECOVERY_20261008.md +31 -0
- package/docs/plans/NEXT-AGENT-HANDOFF.md +2 -2
- package/docs/plans/OFFLINE_CLI_KNOWLEDGE_AGENT_HANDOFF.md +104 -0
- package/docs/plans/OFFLINE_CLI_KNOWLEDGE_RUNBOOK.md +81 -0
- package/docs/plans/SAM_EXPERIENCE_AGENT_DISPATCH_2026-10-15.md +107 -0
- package/docs/plans/SAM_MACHINERY_TO_EXPERIENCE_2026-10-15.md +172 -0
- package/docs/plans/TOMORROW-EXTENSIVE-TODO-2026-09-26.md +68 -68
- package/docs/plans/TOMORROW-MACHINE-FIRST-BRIEFING.md +1 -1
- package/docs/plans/UI_POLISH_DESKTOP_2026-10-16.md +102 -0
- package/docs/plans/UNIVERSAL-INGEST-MACHINE-FIRST-2026-09-24.md +1 -1
- package/docs/plans/WORK-UX-REMASTER-2026-10-15.md +48 -0
- package/docs/plans/WORK-WORKSPACE-PLAN-2026-10-14.md +212 -0
- package/docs/prd/PRD-agentsam-analytics.md +174 -0
- package/docs/prd/PRD-agentsam-brand.md +181 -0
- package/docs/prd/PRD-agentsam-browser.md +177 -0
- package/docs/prd/PRD-agentsam-cad-studio.md +177 -0
- package/docs/prd/PRD-agentsam-campaign.md +1178 -0
- package/docs/prd/PRD-agentsam-commerce-studio.md +180 -0
- package/docs/prd/PRD-agentsam-content-studio.md +179 -0
- package/docs/prd/PRD-agentsam-copro.md +39 -0
- package/docs/prd/PRD-agentsam-database-studio.md +175 -0
- package/docs/prd/PRD-agentsam-developer-studio.md +175 -0
- package/docs/prd/PRD-agentsam-hosted-runtime.md +180 -0
- package/docs/prd/PRD-agentsam-knowledge.md +174 -0
- package/docs/prd/PRD-agentsam-local-studio.md +180 -0
- package/docs/prd/PRD-agentsam-merch.md +177 -0
- package/docs/prd/PRD-agentsam-platform.md +179 -0
- package/docs/prd/PRD-agentsam-site-studio.md +180 -0
- package/docs/prd/PRD-agentsam-work.md +180 -0
- package/docs/prd/README.md +39 -0
- package/docs/product/AGENTSAM-UI-QUALITY-GATE.md +148 -0
- package/docs/product/AGENTSAM_PRODUCT_EXPERIENCE_STANDARD.md +2 -0
- package/docs/product/COPRO-DONOR-AUDIT.md +9 -0
- package/docs/product/COPRO-EXECUTION-PLAN.md +81 -0
- package/docs/product/COPRO-UI-QUALITY-GATE.md +119 -0
- package/docs/product/MEDIA-PRODUCTION-FAMILY.md +47 -0
- package/docs/product/OFFER-PORTFOLIO.md +172 -0
- package/docs/product/PACKAGE-TAXONOMY.md +95 -0
- package/docs/product/PLUGIN-GALLERY-DISCOVERY-AND-INSTALL.md +97 -0
- package/docs/product/README.md +2 -0
- package/docs/product/WIDGET-GALLERY-PHASE-ONE.md +43 -0
- package/docs/reference/AGENTSAM-CLI-WORKFLOWS.md +73 -0
- package/docs/reference/AGENTSAM-ERROR-REASONS.md +267 -0
- package/docs/reference/AGENTSAM-REGISTRY.generated.md +288 -0
- package/docs/reference/INNERANIMALMEDIA_EXPERIENCE_ACCEPTANCE_2026-10-15.md +99 -0
- package/docs/releases/cad-v2-sdk-2.6.13.md +25 -0
- package/docs/roadmaps/ROAD_TO_REAL_DISTRIBUTION.md +97 -0
- package/docs/robotics-chess-handoff.md +15 -0
- package/docs/standards/DELIVERY_CLOSURE.md +33 -0
- package/docs/standards/SAM_MACHINE_BUILD_AND_GAPS.md +91 -0
- package/docs/workflows/ISSUE_TO_SAMOS.md +59 -0
- package/examples/hyperspace-demo/dist/assets/index-SZ2LfOpJ.js +242 -0
- package/examples/hyperspace-demo/dist/index.html +13 -0
- package/native/agentsam-machine/core/src/lib.rs +2 -2
- package/package.json +111 -39
- package/packages/agentsam-brand/package.json +3 -2
- package/packages/agentsam-brand/src/public.js +192 -0
- package/packages/agentsam-cms/README.md +56 -0
- package/packages/agentsam-cms/agentsam.package.json +46 -0
- package/packages/agentsam-cms/package.json +36 -0
- package/packages/agentsam-cms/src/aliases.js +74 -0
- package/packages/agentsam-cms/src/contracts.js +105 -0
- package/packages/agentsam-cms/src/index.d.ts +80 -0
- package/packages/agentsam-cms/src/index.js +3 -0
- package/packages/agentsam-cms/src/machine.js +221 -0
- package/packages/agentsam-cms/src/node-sqlite-repository.js +148 -0
- package/packages/agentsam-cms/src/node.d.ts +7 -0
- package/packages/agentsam-cms/src/node.js +1 -0
- package/packages/agentsam-cms/src/schema/cms-local-runtime.v1.sql +365 -0
- package/packages/agentsam-cms/test/standalone.test.mjs +28 -0
- package/packages/agentsam-contracts/README.md +1 -1
- package/packages/agentsam-contracts/agentsam.package.json +43 -0
- package/packages/agentsam-contracts/dist/errors.d.ts +1 -1
- package/packages/agentsam-contracts/dist/widgets.d.ts +7 -0
- package/packages/agentsam-contracts/package.json +1 -1
- package/packages/agentsam-contracts/src/errors.ts +1 -1
- package/packages/agentsam-contracts/src/widgets.ts +7 -0
- package/packages/agentsam-desktop-shell/README.md +38 -0
- package/packages/agentsam-desktop-shell/scripts/app-discovery.mjs +43 -0
- package/packages/agentsam-errors/README.md +14 -0
- package/packages/agentsam-errors/agentsam.package.json +43 -0
- package/packages/agentsam-errors/package.json +1 -1
- package/packages/agentsam-errors/protocol/error-catalog.json +12 -0
- package/packages/agentsam-errors/src/cli.js +56 -0
- package/packages/agentsam-errors/src/index.js +2 -0
- package/packages/agentsam-errors/src/vocabulary.js +2 -0
- package/packages/agentsam-errors/test/approval-contract.test.mjs +12 -0
- package/packages/agentsam-errors/types/index.d.ts +5 -1
- package/packages/agentsam-goap/agentsam.package.json +42 -0
- package/packages/agentsam-goap/package.json +2 -2
- package/packages/agentsam-hooks/agentsam.package.json +45 -0
- package/packages/agentsam-hooks/bindings/go/errors_generated.go +1 -0
- package/packages/agentsam-hooks/bindings/rust/src/errors_generated.rs +1 -0
- package/packages/agentsam-hooks/package.json +1 -1
- package/packages/agentsam-hooks/src/errors-generated.js +10 -0
- package/packages/agentsam-ide/README.md +59 -0
- package/packages/agentsam-ide/src/lsp/host.d.mts +13 -0
- package/packages/agentsam-ide/src/lsp/host.mjs +133 -0
- package/packages/agentsam-knowledge/agentsam.package.json +42 -0
- package/packages/agentsam-knowledge/package.json +1 -1
- package/packages/agentsam-knowledge/src/autorag/index.js +25 -4
- package/packages/agentsam-knowledge/src/backends/index.js +21 -1
- package/packages/agentsam-knowledge/src/backends/supabase-node-api.js +91 -0
- package/packages/agentsam-knowledge/test/autorag.test.mjs +13 -0
- package/packages/agentsam-knowledge/test/supabase-node-api.test.mjs +59 -0
- package/packages/agentsam-merch/agentsam.package.json +43 -0
- package/packages/agentsam-merch/package.json +1 -1
- package/packages/agentsam-merch/test/merch.test.mjs +1 -1
- package/packages/agentsam-nav/dist/browser.global.js +31 -71
- package/packages/agentsam-nav/dist/browser.js +760 -3157
- package/packages/agentsam-nav/dist/index.js +752 -3149
- package/packages/agentsam-nav/package.json +1 -1
- package/packages/agentsam-queue-control/agentsam.package.json +42 -0
- package/packages/agentsam-queue-control/package.json +1 -1
- package/packages/agentsam-rapid-rust/Cargo.toml +5 -0
- package/packages/agentsam-rapid-rust/agentsam.package.json +42 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/0b22ca9c5f8cddc15e6816df4a2467a28d41aa174361cdfed9019ee4e04dfbb8.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/0c5064875a5d7645013880f04d71f56c0dfa1bc87ac9fd59adc3e9a93a2745da.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/11ebd15702c169ee0666656be851cc549f70f84498dbca3c5b72d2ceaa91c851.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/1d7f2c8ad9588cd2077a1d07fce156e0bd47be686d8c9f26885bab14874c4ab5.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/1f21ba21e7b631b0d4893cbdd7a6bb7345d34e8b1a0ee9cf644cc30aeb3c8b8d.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/23f4d4b90def0782de32e7a57558cba24525f12ba3c009728ea4881259a74099.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/26b60985b6ef62e4f20e06c37e47c6996c1a2f457335fa9eb4a68d1288e18490.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/2b27d15a1b8c3637a56f631d583cc9ba584bed2b7018dd962a9340d5e1c50a1d.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/3110a5568a544c4c38de6585dcdabc21fa5f54a5772ecf4e1f4076ee0d49e933.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/357ce3db8299e01866bf4fc3d8ee1c784ef53c7455cf86bb17c52f3dad20d050.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/4516c6e03636538cacc7a6e4063d98a7ed2f0090c3a02c5ee817f1c512b1070e.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/649e02dbaec2edabbd40372e0c5f72f114164fe7704e7825220b1955f6a7c74e.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/81c266d4c150a4f6c5a73c9c4fef6541577fd0acd8c1f911f02781deb5f0be0f.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/86b4b8de30eed9902750b3de9fb54276d229244671a8b6035345bbe705463d82.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/8a877fdc5dbc6a66c344b4ebc4d9b746d47f95153e98872210becd85ca941ddd.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/96a11200f7b42ddd1281e4f749e88dcb8455ab0e3883f943934e0a9a7935147a.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/9e2df2335cfc73ec021bdd6b2d34af798f6ed9c52e3061ce16b6ceabae4e275f.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/a405fe3addeaab2908ed58836997be3b679d990ec9102d06bece3569e4bd4a81.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/a63915da0a45f86a5938ba9a2b2e87d469e7d07f7ea9cc531136fdc9e055557e.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/a8452c2dcaa959ced25e3597931b311999c0aa5b257ca8610fe415e8cfa598cc.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/b35fc2ae65ea07fbbfdd242a3d76489947462399e7a2db91f8545ca50d97d86f.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/b966932defe9c7b5ec9599c9276d333bd09ad1605adae80300d825d2161ad20c.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/ca9060e5ccb91f3a2663f57afd47a25099b6b3313c2a7436c4634993ff6e9afc.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/d0eba82a259be203c68c3ebf6d5b8a376f31a3b84fad418fdb9b5e2715c59869.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/d8838513009c65079aba67314ab130920484c674c5f0b8a356c8777eb6174eb2.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/dda01925b7f0a213215b983979ce23625dd0f6cfdb49c483ec1ff73e64def56f.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/e4956d8f97608f8324607b22cc93635d8183b23021d79cb4c21668c8b8a6ce87.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/e80c1e517e7173dcbde78869d2bf67a24a11b0bb9df5a87fb12934e39497abc8.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/eeeaa9394ac979eb4ffa557e97d67ed96dbd61437e09058f7c776bdc0483f050.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/f9264d8d7d1ccfb415362a28b4a1b4fa0dfbdf828ff970d1aaecfb0ebe208978.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/cache/machine-parser.v1/f957a80b89d32af4f33f9f840b4795af1b5145fc44780ad88a6a3b1b3a7ea3bc.json +1 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_2b0d196f16961f88/asset-manifest.json +418 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_2b0d196f16961f88/findings.json +308 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_2b0d196f16961f88/frontend-manifest.json +70 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_2b0d196f16961f88/graph.json +322 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_2b0d196f16961f88/inventory.json +932 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_2b0d196f16961f88/summary.json +21 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_2d70e3d4fe8290fb/asset-manifest.json +418 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_2d70e3d4fe8290fb/findings.json +308 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_2d70e3d4fe8290fb/frontend-manifest.json +70 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_2d70e3d4fe8290fb/graph.json +322 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_2d70e3d4fe8290fb/inventory.json +932 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_2d70e3d4fe8290fb/summary.json +21 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_63fab76b2f18c2f0/asset-manifest.json +418 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_63fab76b2f18c2f0/findings.json +308 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_63fab76b2f18c2f0/frontend-manifest.json +70 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_63fab76b2f18c2f0/graph.json +322 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_63fab76b2f18c2f0/inventory.json +932 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_63fab76b2f18c2f0/summary.json +21 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_72fe856b80b0c46f/asset-manifest.json +418 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_72fe856b80b0c46f/findings.json +300 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_72fe856b80b0c46f/frontend-manifest.json +70 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_72fe856b80b0c46f/graph.json +322 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_72fe856b80b0c46f/inventory.json +932 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_72fe856b80b0c46f/summary.json +21 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_a5834156504f3050/asset-manifest.json +418 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_a5834156504f3050/findings.json +308 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_a5834156504f3050/frontend-manifest.json +70 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_a5834156504f3050/graph.json +322 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_a5834156504f3050/inventory.json +932 -0
- package/packages/agentsam-repository/.agentsam/machine/runs/run_a5834156504f3050/summary.json +21 -0
- package/packages/agentsam-repository/README.md +25 -0
- package/packages/agentsam-repository/agentsam.package.json +42 -0
- package/packages/agentsam-repository/package.json +6 -3
- package/packages/agentsam-repository/src/crawl.js +220 -0
- package/packages/agentsam-repository/src/goap.js.bak-20260922011251 +670 -0
- package/packages/agentsam-repository/src/index.js +3 -0
- package/packages/agentsam-repository/src/merkle/semantic.js +20 -0
- package/packages/agentsam-repository/src/refinery.js +96 -0
- package/packages/agentsam-repository/test/crawl-refinery.test.mjs +113 -0
- package/packages/agentsam-site-scrape/README.md +357 -0
- package/packages/agentsam-site-scrape/agentsam_site_scrape/__init__.py +4 -0
- package/packages/agentsam-site-scrape/agentsam_site_scrape/__main__.py +349 -0
- package/packages/agentsam-site-scrape/agentsam_site_scrape/classify.py +80 -0
- package/packages/agentsam-site-scrape/agentsam_site_scrape/config.py +83 -0
- package/packages/agentsam-site-scrape/agentsam_site_scrape/contract.py +108 -0
- package/packages/agentsam-site-scrape/agentsam_site_scrape/crawl.py +395 -0
- package/packages/agentsam-site-scrape/agentsam_site_scrape/evidence.py +226 -0
- package/packages/agentsam-site-scrape/agentsam_site_scrape/htmlparse.py +109 -0
- package/packages/agentsam-site-scrape/agentsam_site_scrape/imageops.py +121 -0
- package/packages/agentsam-site-scrape/agentsam_site_scrape/jsonrun.py +127 -0
- package/packages/agentsam-site-scrape/agentsam_site_scrape/net.py +121 -0
- package/packages/agentsam-site-scrape/agentsam_site_scrape/pageextract.py +202 -0
- package/packages/agentsam-site-scrape/agentsam_site_scrape/r2_upload.py +140 -0
- package/packages/agentsam-site-scrape/agentsam_site_scrape/ssrf.py +57 -0
- package/packages/agentsam-site-scrape/agentsam_site_scrape/storage.py +57 -0
- package/packages/agentsam-site-scrape/agentsam_site_scrape/wrangler_bucket.py +98 -0
- package/packages/agentsam-site-scrape/pyproject.toml +21 -0
- package/packages/agentsam-site-scrape/runtime/client.mjs +32 -0
- package/packages/agentsam-site-scrape/runtime/core.mjs +211 -0
- package/packages/agentsam-site-scrape/runtime/index.mjs +31 -0
- package/packages/agentsam-site-scrape/runtime/knowledge.mjs +38 -0
- package/packages/agentsam-site-scrape/runtime/node-runner.mjs +231 -0
- package/packages/agentsam-site-scrape/runtime/node-storage.mjs +146 -0
- package/packages/agentsam-site-scrape/runtime/project-site.mjs +74 -0
- package/packages/agentsam-site-scrape/runtime/secure-fetch.mjs +88 -0
- package/packages/agentsam-site-scrape/runtime/test/knowledge-handoff.test.mjs +51 -0
- package/packages/agentsam-site-scrape/runtime/test/project-index-command.test.mjs +109 -0
- package/packages/agentsam-site-scrape/runtime/test/runtime.test.mjs +145 -0
- package/packages/agentsam-site-scrape/tests/__init__.py +0 -0
- package/packages/agentsam-site-scrape/tests/test_contract.py +83 -0
- package/packages/agentsam-site-scrape/tests/test_core.py +119 -0
- package/packages/agentsam-site-scrape/tests/test_evidence.py +88 -0
- package/packages/agentsam-site-scrape/tests/test_evidence_pipeline.py +112 -0
- package/packages/agentsam-site-scrape/tests/test_jsonrun.py +63 -0
- package/packages/agentsam-site-scrape/tests/test_redirects.py +68 -0
- package/packages/agentsam-site-scrape/tests/test_storage.py +34 -0
- package/packages/agentsam-site-scrape/worker/index.mjs +259 -0
- package/packages/agentsam-site-scrape/worker/project-config.mjs +57 -0
- package/packages/agentsam-site-scrape/worker/test/worker.test.mjs +191 -0
- package/packages/agentsam-vault/package.json +1 -1
- package/packages/agentsam-workbench/README.md +18 -0
- package/packages/agentsam-workbench/package.json +15 -5
- package/packages/agentsam-workbench/src/agent/MiniAgentSam.tsx +28 -4
- package/packages/agentsam-workbench/src/agent/capability-catalog.ts +96 -0
- package/packages/agentsam-workbench/src/agent/contextual-composer.css +72 -70
- package/packages/agentsam-workbench/src/agent/index.ts +2 -0
- package/packages/agentsam-workbench/src/agent/mini-agentsam.css +228 -10
- package/packages/agentsam-workbench/src/knowledge/AutoRagWorkflowDialog.tsx +166 -0
- package/packages/agentsam-workbench/src/knowledge/README.md +14 -0
- package/packages/agentsam-workbench/src/knowledge/autorag-workflow.css +6 -0
- package/packages/agentsam-workbench/src/knowledge/index.ts +2 -0
- package/packages/agentsam-workbench/src/widgets/registry.ts +266 -1
- package/packages/catalog/README.md +69 -0
- package/packages/catalog/assist/questions.json +205 -0
- package/packages/catalog/assist/rules.json +149 -0
- package/packages/catalog/doctor/toolchains.json +12 -0
- package/packages/catalog/evidence/agentsam-abs.json +76 -0
- package/packages/catalog/evidence/agentsam-analytics.json +59 -0
- package/packages/catalog/evidence/agentsam-assets-core.json +38 -0
- package/packages/catalog/evidence/agentsam-brand.json +73 -0
- package/packages/catalog/evidence/agentsam-browser-surface.json +42 -0
- package/packages/catalog/evidence/agentsam-campaign.json +48 -0
- package/packages/catalog/evidence/agentsam-cloudflare-images.json +38 -0
- package/packages/catalog/evidence/agentsam-content-studio.json +42 -0
- package/packages/catalog/evidence/agentsam-content.json +70 -0
- package/packages/catalog/evidence/agentsam-contracts.json +92 -0
- package/packages/catalog/evidence/agentsam-database-editor.json +82 -0
- package/packages/catalog/evidence/agentsam-desktop-shell.json +56 -0
- package/packages/catalog/evidence/agentsam-docs-theme.json +35 -0
- package/packages/catalog/evidence/agentsam-errors.json +42 -0
- package/packages/catalog/evidence/agentsam-goap.json +52 -0
- package/packages/catalog/evidence/agentsam-hooks.json +100 -0
- package/packages/catalog/evidence/agentsam-ide.json +64 -0
- package/packages/catalog/evidence/agentsam-identity.json +91 -0
- package/packages/catalog/evidence/agentsam-key-manager.json +46 -0
- package/packages/catalog/evidence/agentsam-knowledge.json +42 -0
- package/packages/catalog/evidence/agentsam-loading-scene.json +54 -0
- package/packages/catalog/evidence/agentsam-merch.json +68 -0
- package/packages/catalog/evidence/agentsam-nav.json +63 -0
- package/packages/catalog/evidence/agentsam-queue-control.json +60 -0
- package/packages/catalog/evidence/agentsam-rapid-rust.json +46 -0
- package/packages/catalog/evidence/agentsam-repository.json +56 -0
- package/packages/catalog/evidence/agentsam-scoring.json +39 -0
- package/packages/catalog/evidence/agentsam-sections.json +52 -0
- package/packages/catalog/evidence/agentsam-settings.json +58 -0
- package/packages/catalog/evidence/agentsam-shell-kit.json +56 -0
- package/packages/catalog/evidence/agentsam-vault.json +61 -0
- package/packages/catalog/evidence/agentsam-work-graph.json +51 -0
- package/packages/catalog/evidence/agentsam-work.json +64 -0
- package/packages/catalog/evidence/agentsam-workbench.json +96 -0
- package/packages/catalog/evidence/analytics-ui.json +43 -0
- package/packages/catalog/evidence/cms-runtime.json +49 -0
- package/packages/catalog/evidence/copro-editor.json +42 -0
- package/packages/catalog/evidence/copro-media.json +42 -0
- package/packages/catalog/evidence/copro-project.json +42 -0
- package/packages/catalog/evidence/copro-proof.json +48 -0
- package/packages/catalog/evidence/copro-provider-contracts.json +40 -0
- package/packages/catalog/evidence/copro-render.json +40 -0
- package/packages/catalog/evidence/copro-storage.json +44 -0
- package/packages/catalog/evidence/copro-templates.json +42 -0
- package/packages/catalog/evidence/copro-timeline.json +44 -0
- package/packages/catalog/evidence/copro-ui.json +52 -0
- package/packages/catalog/evidence/fnf-theme.json +34 -0
- package/packages/catalog/evidence/theme-contract.json +34 -0
- package/packages/catalog/evidence/theme-cypress.json +41 -0
- package/packages/catalog/evidence/theme-ember.json +41 -0
- package/packages/catalog/evidence/theme-forge.json +41 -0
- package/packages/catalog/evidence/theme-grove.json +41 -0
- package/packages/catalog/evidence/theme-harbor.json +41 -0
- package/packages/catalog/evidence/theme-heuristic.json +50 -0
- package/packages/catalog/evidence/theme-iasf.json +48 -0
- package/packages/catalog/evidence/theme-resolve.json +41 -0
- package/packages/catalog/evidence/theme-scenes.json +68 -0
- package/packages/catalog/evidence/theme-summit.json +41 -0
- package/packages/catalog/evidence/theme-violet.json +41 -0
- package/packages/catalog/generated/packages.json +2649 -0
- package/packages/catalog/topics/runtime.json +33 -0
- package/packages/connectors/cfoa/agentsam.package.json +46 -0
- package/packages/connectors/cfoa/package.json +1 -1
- package/packages/connectors/cfoa/src/capabilities.js +22 -2
- package/packages/connectors/cfoa/src/families/analytics-sql.js +44 -0
- package/packages/connectors/cfoa/src/families/basin.js +30 -0
- package/packages/connectors/cfoa/src/index.js +3 -0
- package/packages/connectors/cfoa/src/routes.js +11 -2
- package/packages/connectors/cfoa/test/analytics-sql.test.mjs +27 -0
- package/packages/connectors/cfoa/test/basin.test.mjs +30 -0
- package/packages/heuristic-theme/README.md +14 -0
- package/packages/heuristic-theme/agentsam.package.json +42 -0
- package/packages/heuristic-theme/contracts/README.md +15 -0
- package/packages/heuristic-theme/contracts/block.schema.json +33 -0
- package/packages/heuristic-theme/contracts/header-presets.json +20 -0
- package/packages/heuristic-theme/contracts/page.schema.json +18 -0
- package/packages/heuristic-theme/contracts/preset.schema.json +18 -0
- package/packages/heuristic-theme/contracts/section.schema.json +83 -0
- package/packages/heuristic-theme/package.json +13 -3
- package/packages/heuristic-theme/presets/fuel-free-time/assets.json +8 -0
- package/packages/heuristic-theme/presets/fuel-free-time/globals/shell.json +30 -0
- package/packages/heuristic-theme/presets/fuel-free-time/pages/about.json +4 -0
- package/packages/heuristic-theme/presets/fuel-free-time/pages/cart.json +4 -0
- package/packages/heuristic-theme/presets/fuel-free-time/pages/collection.json +4 -0
- package/packages/heuristic-theme/presets/fuel-free-time/pages/collections.json +4 -0
- package/packages/heuristic-theme/presets/fuel-free-time/pages/community.json +4 -0
- package/packages/heuristic-theme/presets/fuel-free-time/pages/home.json +92 -0
- package/packages/heuristic-theme/presets/fuel-free-time/pages/order-confirmation.json +39 -0
- package/packages/heuristic-theme/presets/fuel-free-time/pages/product.json +4 -0
- package/packages/heuristic-theme/presets/fuel-free-time/pages/shop.json +9 -0
- package/packages/heuristic-theme/presets/fuel-free-time/preset.json +23 -0
- package/packages/heuristic-theme/presets/fuel-free-time/tokens.json +23 -0
- package/packages/heuristic-theme/storefront/about.html +1103 -0
- package/packages/heuristic-theme/storefront/assets/presets/fuel-free-time/GENERATED-ASSETS.md +15 -0
- package/packages/heuristic-theme/storefront/assets/presets/fuel-free-time/earned-hours-hero.webp +0 -0
- package/packages/heuristic-theme/storefront/assets/presets/fuel-free-time/essentials.webp +0 -0
- package/packages/heuristic-theme/storefront/assets/presets/fuel-free-time/masters.webp +0 -0
- package/packages/heuristic-theme/storefront/cart.html +64 -0
- package/packages/heuristic-theme/storefront/collaborate.html +58 -0
- package/packages/heuristic-theme/storefront/collection.html +10 -0
- package/packages/heuristic-theme/storefront/collections.html +10 -0
- package/packages/heuristic-theme/storefront/community.html +921 -0
- package/packages/heuristic-theme/storefront/css/content-page.css +199 -0
- package/packages/heuristic-theme/storefront/css/global-footer.css +401 -0
- package/packages/heuristic-theme/storefront/css/heuristic-theme.css +81 -0
- package/packages/heuristic-theme/storefront/css/page-composer.css +76 -0
- package/packages/heuristic-theme/storefront/css/shop-hero.css +230 -0
- package/packages/heuristic-theme/storefront/css/store-cart.css +422 -0
- package/packages/heuristic-theme/storefront/css/store-collections.css +36 -0
- package/packages/heuristic-theme/storefront/css/store-pdp.css +459 -0
- package/packages/heuristic-theme/storefront/css/store-shell.css +474 -0
- package/packages/heuristic-theme/storefront/css/store-shop.css +117 -0
- package/packages/heuristic-theme/storefront/home.html +25 -0
- package/packages/heuristic-theme/storefront/js/cms-hydrate.js +395 -0
- package/packages/heuristic-theme/storefront/js/cms-structure.js +85 -0
- package/packages/heuristic-theme/storefront/js/fnf-attribution.js +98 -0
- package/packages/heuristic-theme/storefront/js/fnf-head.js +47 -0
- package/packages/heuristic-theme/storefront/js/fnf-newsletter.js +64 -0
- package/packages/heuristic-theme/storefront/js/global-footer.js +277 -0
- package/packages/heuristic-theme/storefront/js/heuristic-runtime.js +78 -0
- package/packages/heuristic-theme/storefront/js/order-confirmation.js +109 -0
- package/packages/heuristic-theme/storefront/js/page-composer.js +310 -0
- package/packages/heuristic-theme/storefront/js/shop-hero.js +85 -0
- package/packages/heuristic-theme/storefront/js/store-cart.js +276 -0
- package/packages/heuristic-theme/storefront/js/store-catalog.js +140 -0
- package/packages/heuristic-theme/storefront/js/store-collections.js +45 -0
- package/packages/heuristic-theme/storefront/js/store-product.js +287 -0
- package/packages/heuristic-theme/storefront/js/store-shell.js +449 -0
- package/packages/heuristic-theme/storefront/order-confirmation.html +30 -0
- package/packages/heuristic-theme/storefront/policies.html +43 -0
- package/packages/heuristic-theme/storefront/product.html +27 -0
- package/packages/heuristic-theme/storefront/shop.html +113 -0
- package/packages/heuristic-theme/storefront/terms.html +45 -0
- package/packages/heuristic-theme/test/commerce-portability.test.mjs +16 -0
- package/packages/heuristic-theme/theme.json +55 -0
- package/packages/heuristic-theme/theme.schema.json +32 -0
- package/packages/identity/agentsam.package.json +42 -0
- package/packages/identity/package.json +1 -1
- package/packages/identity/src/frontend/auth-portal/pages/login.html +1 -1
- package/packages/identity/src/frontend/auth-portal/pages/reset.html +1 -1
- package/packages/identity/src/frontend/auth-portal/pages/signup.html +1 -1
- package/packages/identity/src/oauth/iam-platform.js +4 -2
- package/packages/identity/src/recovery/password-reset.js +8 -8
- package/packages/identity/src/server/worker-router.js +63 -1
- package/packages/identity/tests/chatgpt-provider.test.mjs +3 -3
- package/packages/identity/tests/lane1-packed-consumer.test.mjs +12 -1
- package/packages/identity/tests/oauth-consent-view.test.mjs +11 -11
- package/packages/identity/tests/password-enrollment.test.mjs +82 -0
- package/packages/identity/tests/password-reset.test.mjs +43 -0
- package/packages/providers/completeful/README.md +3 -3
- package/packages/providers/completeful/package.json +1 -1
- package/packages/theme-cypress/README.md +11 -0
- package/packages/theme-cypress/agentsam.package.json +42 -0
- package/packages/{theme-church-site → theme-cypress}/package.json +14 -11
- package/packages/theme-cypress/prebuild.json +23 -0
- package/packages/theme-cypress/site/assets/generated/favicon.svg +7 -0
- package/packages/theme-cypress/site/assets/generated/media-044ba16613.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-0a1ea6f6d9.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-0c06778307.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-1539ed373a.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-2df479fd2d.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-2e8bd0d9bc.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-41d4e2643c.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-46205bfde8.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-50c5f3e279.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-5f1467778c.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-6703642b22.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-87a490bc8e.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-997c10ef39.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-a423735c21.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-c9cea5245b.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-cab3c84c60.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-ce06595d59.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-d268905e7e.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-f6711b5053.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-manifest.json +226 -0
- package/packages/theme-cypress/site/assets/generated/social-card.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/theme-mark-192.png +0 -0
- package/packages/theme-cypress/site/assets/generated/theme-mark-512.png +0 -0
- package/packages/theme-cypress/site/assets/generated/theme-mark.svg +7 -0
- package/packages/theme-cypress/site/beliefs.html +175 -0
- package/packages/theme-cypress/site/community.html +175 -0
- package/packages/theme-cypress/site/connect.html +319 -0
- package/packages/theme-cypress/site/donate.html +106 -0
- package/packages/theme-cypress/site/groups.html +1352 -0
- package/packages/theme-cypress/site/help.html +1 -0
- package/packages/theme-cypress/site/icons/clock.svg +4 -0
- package/packages/theme-cypress/site/icons/email.svg +4 -0
- package/packages/theme-cypress/site/icons/giving.svg +4 -0
- package/packages/theme-cypress/site/icons/home.svg +4 -0
- package/packages/theme-cypress/site/icons/location.svg +4 -0
- package/packages/theme-cypress/site/icons/media.svg +4 -0
- package/packages/theme-cypress/site/icons/ministries.svg +6 -0
- package/packages/theme-cypress/site/icons/prayer.svg +5 -0
- package/packages/theme-cypress/site/icons/visit.svg +6 -0
- package/packages/theme-cypress/site/index.html +1013 -0
- package/packages/theme-cypress/site/mensgroup.html +477 -0
- package/packages/theme-cypress/site/mission.html +512 -0
- package/packages/theme-cypress/site/unified-footer.css +172 -0
- package/packages/theme-cypress/site/unified-footer.js +175 -0
- package/packages/theme-cypress/site/unified-header.css +226 -0
- package/packages/theme-cypress/site/unified-header.js +111 -0
- package/packages/theme-cypress/site/womansgroup.html +452 -0
- package/packages/{theme-church-site → theme-cypress}/src/index.js +22 -35
- package/packages/theme-cypress/src/node.js +69 -0
- package/packages/theme-cypress/test/theme.test.mjs +47 -0
- package/packages/theme-ember/README.md +11 -0
- package/packages/theme-ember/agentsam.package.json +42 -0
- package/packages/{theme-fuelnfree-site → theme-ember}/package.json +14 -11
- package/packages/theme-ember/prebuild.json +23 -0
- package/packages/theme-ember/site/about.html +1840 -0
- package/packages/theme-ember/site/assets/generated/favicon.svg +7 -0
- package/packages/theme-ember/site/assets/generated/media-1e0b1e6ee6.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-2371dcb426.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-2db4f5ff9e.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-4ed07a756e.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-58182cf167.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-5b8b8472ae.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-71f4bd16a1.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-7c1c8120bc.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-832b176433.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-931439701c.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-c2860d40d1.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-c56974d198.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-cb83a44ff4.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-df02ccdfcf.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-fab72cd344.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-manifest.json +190 -0
- package/packages/theme-ember/site/assets/generated/social-card.webp +0 -0
- package/packages/theme-ember/site/assets/generated/theme-mark-192.png +0 -0
- package/packages/theme-ember/site/assets/generated/theme-mark-512.png +0 -0
- package/packages/theme-ember/site/assets/generated/theme-mark.svg +7 -0
- package/packages/theme-ember/site/community.html +1664 -0
- package/packages/theme-ember/site/index.html +2044 -0
- package/packages/theme-ember/site/shop.html +2104 -0
- package/packages/{theme-fuelnfree-site → theme-ember}/src/index.js +23 -33
- package/packages/theme-ember/src/node.js +69 -0
- package/packages/theme-ember/test/theme.test.mjs +47 -0
- package/packages/theme-forge/README.md +11 -0
- package/packages/theme-forge/agentsam.package.json +42 -0
- package/packages/theme-forge/package.json +44 -0
- package/packages/theme-forge/prebuild.json +23 -0
- package/packages/theme-forge/site/apple-touch-icon.png +0 -0
- package/packages/theme-forge/site/assets/generated/favicon.svg +7 -0
- package/packages/theme-forge/site/assets/generated/media-manifest.json +17 -0
- package/packages/theme-forge/site/assets/generated/social-card.webp +0 -0
- package/packages/theme-forge/site/assets/generated/theme-mark-192.png +0 -0
- package/packages/theme-forge/site/assets/generated/theme-mark-512.png +0 -0
- package/packages/theme-forge/site/assets/generated/theme-mark.svg +7 -0
- package/packages/theme-forge/site/assets/index-DBOqQVsA.css +1 -0
- package/packages/theme-forge/site/assets/index-pXC0o9jp.js +241 -0
- package/packages/theme-forge/site/assets/workbox-window.prod.es5-Bd17z0YL.js +2 -0
- package/packages/theme-forge/site/index.html +5 -0
- package/packages/theme-forge/site/manifest.webmanifest +1 -0
- package/packages/theme-forge/site/pwa-192x192.png +0 -0
- package/packages/theme-forge/site/pwa-512x512.png +0 -0
- package/packages/theme-forge/site/sw.js +107 -0
- package/packages/theme-forge/site/workbox-7e5eb42b.js +3395 -0
- package/packages/theme-forge/src/index.js +76 -0
- package/packages/theme-forge/src/node.js +69 -0
- package/packages/theme-forge/test/theme.test.mjs +47 -0
- package/packages/theme-grove/README.md +11 -0
- package/packages/theme-grove/agentsam.package.json +42 -0
- package/packages/{theme-floors-site → theme-grove}/package.json +14 -11
- package/packages/theme-grove/prebuild.json +23 -0
- package/packages/theme-grove/site/assets/generated/favicon.svg +7 -0
- package/packages/theme-grove/site/assets/generated/media-098b13d75a.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-0c064db1aa.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-0fbfef655e.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-14759c7460.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-19b23d2a8f.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-2012f04243.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-23b8c5e2bb.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-2bffb1a6ef.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-2e1523a5b0.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-31107c21f2.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-31373ec865.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-45e8e27542.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-4aa9846fe7.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-5476b24219.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-7a227d3e4b.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-b183eed550.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-b2c650f9ab.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-b5d7471694.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-c86498fdb4.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-ce2cfff9a1.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-cf41a5f324.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-ec6c01bf8d.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-manifest.json +267 -0
- package/packages/theme-grove/site/assets/generated/social-card.webp +0 -0
- package/packages/theme-grove/site/assets/generated/theme-mark-192.png +0 -0
- package/packages/theme-grove/site/assets/generated/theme-mark-512.png +0 -0
- package/packages/theme-grove/site/assets/generated/theme-mark.svg +7 -0
- package/packages/theme-grove/site/index.html +1429 -0
- package/packages/theme-grove/site/pages/contact.html +664 -0
- package/packages/theme-grove/site/pages/gallery.html +216 -0
- package/packages/theme-grove/site/pages/privacy.html +180 -0
- package/packages/theme-grove/site/pages/process.html +592 -0
- package/packages/theme-grove/site/pages/services.html +567 -0
- package/packages/theme-grove/site/pages/terms.html +189 -0
- package/packages/theme-grove/site/shared/footer.css +140 -0
- package/packages/theme-grove/site/shared/footer.html +41 -0
- package/packages/{theme-floors-site → theme-grove}/src/index.js +24 -35
- package/packages/theme-grove/src/node.js +69 -0
- package/packages/theme-grove/test/theme.test.mjs +47 -0
- package/packages/theme-harbor/README.md +11 -0
- package/packages/theme-harbor/agentsam.package.json +42 -0
- package/packages/{theme-insurance-site → theme-harbor}/package.json +14 -11
- package/packages/theme-harbor/prebuild.json +23 -0
- package/packages/theme-harbor/site/assets/generated/favicon.svg +7 -0
- package/packages/theme-harbor/site/assets/generated/media-manifest.json +17 -0
- package/packages/theme-harbor/site/assets/generated/social-card.webp +0 -0
- package/packages/theme-harbor/site/assets/generated/theme-mark-192.png +0 -0
- package/packages/theme-harbor/site/assets/generated/theme-mark-512.png +0 -0
- package/packages/theme-harbor/site/assets/generated/theme-mark.svg +7 -0
- package/packages/theme-harbor/site/assets/index-D58RKkr-.js +239 -0
- package/packages/theme-harbor/site/assets/index-Dd3YN9Mf.css +1 -0
- package/packages/theme-harbor/site/index.html +15 -0
- package/packages/theme-harbor/src/index.js +76 -0
- package/packages/theme-harbor/src/node.js +69 -0
- package/packages/theme-harbor/test/theme.test.mjs +47 -0
- package/packages/theme-resolve/README.md +11 -0
- package/packages/theme-resolve/agentsam.package.json +42 -0
- package/packages/theme-resolve/package.json +44 -0
- package/packages/theme-resolve/prebuild.json +23 -0
- package/packages/theme-resolve/site/assets/generated/favicon.svg +7 -0
- package/packages/theme-resolve/site/assets/generated/media-216610d365.webp +0 -0
- package/packages/theme-resolve/site/assets/generated/media-2a9e0f623f.webp +0 -0
- package/packages/theme-resolve/site/assets/generated/media-a70660bfa9.webp +0 -0
- package/packages/theme-resolve/site/assets/generated/media-bc1322e813.webp +0 -0
- package/packages/theme-resolve/site/assets/generated/media-ced60fcecc.webp +0 -0
- package/packages/theme-resolve/site/assets/generated/media-manifest.json +72 -0
- package/packages/theme-resolve/site/assets/generated/social-card.webp +0 -0
- package/packages/theme-resolve/site/assets/generated/theme-mark-192.png +0 -0
- package/packages/theme-resolve/site/assets/generated/theme-mark-512.png +0 -0
- package/packages/theme-resolve/site/assets/generated/theme-mark.svg +7 -0
- package/packages/theme-resolve/site/assets/index-BSaLpPG1.css +2 -0
- package/packages/theme-resolve/site/assets/index-D8au46Z5.js +17 -0
- package/packages/theme-resolve/site/index.html +22 -0
- package/packages/theme-resolve/src/index.js +69 -0
- package/packages/theme-resolve/src/node.js +69 -0
- package/packages/theme-resolve/test/theme.test.mjs +47 -0
- package/packages/theme-scenes/agentsam.package.json +42 -0
- package/packages/theme-scenes/package.json +1 -1
- package/packages/theme-scenes/src/registry.js +32 -49
- package/packages/theme-summit/README.md +11 -0
- package/packages/theme-summit/agentsam.package.json +42 -0
- package/packages/{theme-shinshu-site → theme-summit}/package.json +14 -11
- package/packages/theme-summit/prebuild.json +23 -0
- package/packages/theme-summit/site/adventures.html +450 -0
- package/packages/theme-summit/site/assets/generated/favicon.svg +7 -0
- package/packages/theme-summit/site/assets/generated/media-1e958ea679.webp +0 -0
- package/packages/theme-summit/site/assets/generated/media-9d4521abba.webp +0 -0
- package/packages/theme-summit/site/assets/generated/media-manifest.json +39 -0
- package/packages/theme-summit/site/assets/generated/social-card.webp +0 -0
- package/packages/theme-summit/site/assets/generated/theme-mark-192.png +0 -0
- package/packages/theme-summit/site/assets/generated/theme-mark-512.png +0 -0
- package/packages/theme-summit/site/assets/generated/theme-mark.svg +7 -0
- package/packages/theme-summit/site/business-card.html +315 -0
- package/packages/theme-summit/site/chatbot.js +312 -0
- package/packages/theme-summit/site/gallery.html +524 -0
- package/packages/theme-summit/site/i18n.js +947 -0
- package/packages/theme-summit/site/icons.svg +87 -0
- package/packages/theme-summit/site/index.html +2415 -0
- package/packages/theme-summit/site/pages/about.html +100 -0
- package/packages/theme-summit/site/pages/contact.html +117 -0
- package/packages/theme-summit/site/pages/dashboard.html +111 -0
- package/packages/theme-summit/site/pages/index.html +129 -0
- package/packages/theme-summit/site/pages/services.html +125 -0
- package/packages/theme-summit/site/shared/footer.html +41 -0
- package/packages/theme-summit/site/shared/layout.js +315 -0
- package/packages/theme-summit/site/shared/nav.html +19 -0
- package/packages/theme-summit/site/shared/styles.css +696 -0
- package/packages/theme-summit/site/theme-styles.css +131 -0
- package/packages/theme-summit/site/themes.js +442 -0
- package/packages/{theme-shinshu-site → theme-summit}/src/index.js +23 -35
- package/packages/theme-summit/src/node.js +69 -0
- package/packages/theme-summit/test/theme.test.mjs +47 -0
- package/packages/theme-violet/README.md +11 -0
- package/packages/theme-violet/agentsam.package.json +42 -0
- package/packages/{theme-companions-site → theme-violet}/package.json +14 -11
- package/packages/theme-violet/prebuild.json +23 -0
- package/packages/theme-violet/site/assets/generated/favicon.svg +7 -0
- package/packages/theme-violet/site/assets/generated/media-07b46d6457.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-09d38ddffc.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-254b0e2ad3.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-3a1b5c0a8d.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-3a78eb7d9d.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-49076977d8.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-6342d50dbd.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-646c65381e.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-7a5fb7c91a.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-9bbd133220.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-9e73307c2a.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-af382146a0.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-b2ae348b43.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-b8f43a3887.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-c96a3e1979.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-cd07daa54a.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-e03ab6b5fe.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-eae4917d25.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-f227ec5690.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-fb57ffd474.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-manifest.json +245 -0
- package/packages/theme-violet/site/assets/generated/social-card.webp +0 -0
- package/packages/theme-violet/site/assets/generated/theme-mark-192.png +0 -0
- package/packages/theme-violet/site/assets/generated/theme-mark-512.png +0 -0
- package/packages/theme-violet/site/assets/generated/theme-mark.svg +7 -0
- package/packages/theme-violet/site/global/cpas-contact.css +405 -0
- package/packages/theme-violet/site/global/cpas-donate-v2.css +931 -0
- package/packages/theme-violet/site/global/cpas-drawer-override.css +1 -0
- package/packages/theme-violet/site/global/cpas-footer.html +38 -0
- package/packages/theme-violet/site/global/cpas-header.html +30 -0
- package/packages/theme-violet/site/global/cpas-hero-watercolor.css +275 -0
- package/packages/theme-violet/site/global/cpas-modals.js +802 -0
- package/packages/theme-violet/site/global/cpas-public-surface.css +982 -0
- package/packages/theme-violet/site/global/cpas-shell.css +3980 -0
- package/packages/theme-violet/site/global/cpas-shell.js +107 -0
- package/packages/theme-violet/site/global/cpas-shelter-hub.css +326 -0
- package/packages/theme-violet/site/index.html +141 -0
- package/packages/theme-violet/site/pages/about/campaigns.html +28 -0
- package/packages/theme-violet/site/pages/about/cta.html +25 -0
- package/packages/theme-violet/site/pages/about/hero.html +46 -0
- package/packages/theme-violet/site/pages/about/paths.html +24 -0
- package/packages/theme-violet/site/pages/about/why_we_exist.html +28 -0
- package/packages/theme-violet/site/pages/home/campaigns.html +67 -0
- package/packages/theme-violet/site/pages/home/hero.html +42 -0
- package/packages/theme-violet/site/pages/home/how-it-helps.html +32 -0
- package/packages/theme-violet/site/pages/home/impact-stats.html +31 -0
- package/packages/theme-violet/site/pages/home/mission.html +36 -0
- package/packages/theme-violet/site/pages/home/newsletter.html +29 -0
- package/packages/theme-violet/site/pages/home/transport-win.html +22 -0
- package/packages/theme-violet/site/pages/index.html +141 -0
- package/packages/theme-violet/src/index.js +76 -0
- package/packages/theme-violet/src/node.js +69 -0
- package/packages/theme-violet/test/theme.test.mjs +47 -0
- package/packages/work-graph/agentsam.package.json +42 -0
- package/packages/work-graph/package.json +1 -1
- package/protocol/apps/agentsam.app.v1.schema.json +27 -1
- package/protocol/cad/README.md +77 -0
- package/protocol/cad/cad.project.v2.schema.json +451 -0
- package/protocol/cad/v2/core/artifact-receipt.schema.json +126 -0
- package/protocol/cad/v2/core/coordinate-system.schema.json +364 -0
- package/protocol/cad/v2/core/geometry-constraint.schema.json +136 -0
- package/protocol/cad/v2/core/geometry-entity.schema.json +73 -0
- package/protocol/cad/v2/core/geometry-feature.schema.json +115 -0
- package/protocol/cad/v2/core/geometry-relationship.schema.json +67 -0
- package/protocol/cad/v2/core/project-revision.schema.json +111 -0
- package/protocol/cad/v2/core/topology-reference.schema.json +80 -0
- package/protocol/cad/v2/intent/design-decision.schema.json +126 -0
- package/protocol/cad/v2/intent/design-option.schema.json +88 -0
- package/protocol/cad/v2/interchange/ifc-mapping.schema.json +145 -0
- package/protocol/cad/v2/interchange/native-document.schema.json +130 -0
- package/protocol/cad/v2/interchange/reference-model.schema.json +141 -0
- package/protocol/cad/v2/modules/architecture.v1.schema.json +278 -0
- package/protocol/cad/v2/modules/landscape.v1.schema.json +157 -0
- package/protocol/cad/v2/modules/mechanical.v1.schema.json +325 -0
- package/protocol/cad/v2/modules/parametric.v1.schema.json +89 -0
- package/protocol/cad/v2/modules/product-design.v1.schema.json +178 -0
- package/protocol/cad/v2/modules/robotics.v1.schema.json +246 -0
- package/protocol/cad/v2/presentation/camera-path.schema.json +143 -0
- package/protocol/cad/v2/presentation/drawing.schema.json +162 -0
- package/protocol/cad/v2/presentation/production.schema.json +166 -0
- package/protocol/cad/v2/presentation/scene.schema.json +198 -0
- package/protocol/cad/v2/presentation/sheet.schema.json +254 -0
- package/protocol/cad/v2/presentation/view.schema.json +190 -0
- package/protocol/cad/v2/presentation/walkthrough.schema.json +199 -0
- package/protocol/cad/v2/schema-pack.manifest.json +189 -0
- package/protocol/cad/v2/validation/deliverable-manifest.schema.json +199 -0
- package/protocol/cad/v2/validation/result.schema.json +141 -0
- package/protocol/capabilities/evidence-manifest.schema.json +404 -0
- package/protocol/capabilities/manifest.json +101 -10
- package/protocol/capabilities/repository-crawl-input.schema.json +17 -0
- package/protocol/capabilities/repository-crawl-result.schema.json +79 -0
- package/protocol/capabilities/repository-mine-input.schema.json +27 -0
- package/protocol/capabilities/repository-mine-result.schema.json +51 -0
- package/protocol/capabilities/site-index.schema.json +15 -0
- package/protocol/capabilities/site-scrape-evidence-manifest.schema.json +114 -0
- package/protocol/capabilities/site-scrape-input.schema.json +90 -0
- package/protocol/capabilities/site-scrape-project-authority.schema.json +15 -0
- package/protocol/capabilities/site-scrape-result.schema.json +198 -0
- package/protocol/capabilities/site-scrape-worker-job.schema.json +18 -0
- package/protocol/errors/error-catalog.json +12 -0
- package/protocol/features/README.md +1 -1
- package/protocol/features/catalog.json +12 -12
- package/protocol/features/examples/provider-resend.feature.json +2 -2
- package/protocol/governance/distribution-roadmap.v1.json +335 -0
- package/protocol/governance/github-labels.v1.json +232 -0
- package/protocol/models/workers-ai-curated.mjs +14 -0
- package/protocol/plugins/agentsam.plugin-evidence-bundle.v1.schema.json +55 -0
- package/protocol/plugins/agentsam.plugin-product.v1.schema.json +227 -0
- package/protocol/plugins/agentsam.plugin-quality-evidence.v1.schema.json +47 -0
- package/protocol/plugins/agentsam.plugin-quality-receipt.v1.schema.json +160 -0
- package/protocol/presets/catalog.json +1 -1
- package/protocol/theme-refinery/prebuild-registry.json +45 -0
- package/protocol/theme-refinery/product-metadata.schema.json +63 -26
- package/protocol/theme-refinery/receipts/prebuild-remaster-20261004.json +21 -0
- package/protocol/ui/agentsam.ui-quality.v1.schema.json +31 -0
- package/python/agentsam_sdk/__init__.py +4 -0
- package/python/agentsam_sdk/client.py +202 -0
- package/python/agentsam_sdk/errors/vocabulary.py +10 -0
- package/python/tests/test_public_client.py +82 -0
- package/services/cad/blender/adapter.py +0 -0
- package/services/cad/occt/CMakeLists.txt +43 -0
- package/services/cad/occt/README.md +38 -0
- package/services/cad/occt/main.cpp +95 -0
- package/services/cad/server.py +103 -21
- package/skills/README.md +6 -0
- package/skills/agentsam-cad/SKILL.md +59 -0
- package/skills/agentsam-plan-and-goap/SKILL.md +77 -0
- package/skills/agentsam-repo-recon/SKILL.md +63 -0
- package/skills/agentsam-sam-operations/SKILL.md +71 -0
- package/skills/agentsam-sdk-orientation/SKILL.md +75 -0
- package/skills/catalog.json +85 -0
- package/src/AgentSam.js +2 -0
- package/src/agent/capability-adapter.js +207 -9
- package/src/agent/index.js +1 -0
- package/src/agent/intent.js +12 -0
- package/src/agent/project-discovery.js +47 -0
- package/src/agent/project-resources.js +157 -0
- package/src/agent/responses-runner.js +64 -12
- package/src/capabilities/cloudflare-d1-provision.js +48 -0
- package/src/capabilities/knowledge-operations.js +87 -0
- package/src/capabilities/local-sqlite-resources.js +124 -0
- package/src/capabilities/machine-inspect.js +28 -0
- package/src/capabilities/mcp-d1-bridge.js +98 -0
- package/src/capabilities/plan-operation-ids.js +6 -0
- package/src/capabilities/plan-operations.js +85 -0
- package/src/capabilities/repository-awareness.js +52 -0
- package/src/capabilities/test-run.js +10 -0
- package/src/capabilities/workspace-files.js +125 -0
- package/src/cli/command-catalog.js +16 -3
- package/src/cli.js +71 -116
- package/src/commands/app.js +43 -44
- package/src/commands/autorag-node-api.js +96 -0
- package/src/commands/autorag.js +178 -17
- package/src/commands/catalog-doctor.js +52 -0
- package/src/commands/catalog.js +151 -0
- package/src/commands/cheat-sheet.js +92 -63
- package/src/commands/cloudflare.js +64 -2
- package/src/commands/codebaseindex.js +2 -2
- package/src/commands/db.js +17 -0
- package/src/commands/goap-world.js +4 -0
- package/src/commands/interactive.js +21 -1
- package/src/commands/knowledge.js +8 -3
- package/src/commands/machine-binary.js +3 -2
- package/src/commands/machine.js +66 -15
- package/src/commands/mcp.js +98 -8
- package/src/commands/plan-ledger.js +60 -22
- package/src/commands/plan.js +3 -3
- package/src/commands/plugins.js +34 -2
- package/src/commands/product.js +21 -0
- package/src/commands/rust.js +4 -1
- package/src/commands/sam-evidence.js +87 -0
- package/src/commands/sam-media.js +78 -0
- package/src/commands/sam.js +117 -0
- package/src/commands/shell.js +97 -8
- package/src/commands/site-scrape.js +9 -0
- package/src/context/resolve.js +5 -1
- package/src/index.js +13 -0
- package/src/knowledge/d1-schema.js +65 -0
- package/src/knowledge/engine.js +55 -15
- package/src/knowledge/source.js +8 -0
- package/src/knowledge/store-discovery.js +9 -3
- package/src/knowledge/stores/sqlite.js +8 -0
- package/src/knowledge/wrangler-binding-discovery.js +43 -0
- package/src/lib/agent-instructions.js +29 -5
- package/src/lib/auth.js +46 -7
- package/src/lib/cad/delivery-profiles.d.ts +7 -0
- package/src/lib/cad/delivery-profiles.js +122 -0
- package/src/lib/cad/docker-executor.js +1 -1
- package/src/lib/cad/editable-project-contract.js +75 -0
- package/src/lib/cad/index.js +6 -0
- package/src/lib/cad/occt-native-provider.mjs +138 -0
- package/src/lib/cad/openscad.js +13 -1
- package/src/lib/cad/production-operations.d.ts +8 -0
- package/src/lib/cad/production-operations.js +74 -0
- package/src/lib/cad/project-cli.d.ts +1 -1
- package/src/lib/cad/project-contract.js +1 -1
- package/src/lib/cad/project-runtime.d.ts +1 -1
- package/src/lib/cad/project-runtime.js +48 -3
- package/src/lib/cad/project-tools.js +24 -0
- package/src/lib/cad/project-v2.d.ts +48 -0
- package/src/lib/cad/project-v2.js +288 -0
- package/src/lib/cad-docker.js +48 -4
- package/src/lib/dockerize.js +3 -3
- package/src/lib/execution-approvals.js +29 -3
- package/src/local-fs/capability.js +5 -0
- package/src/local-lsp/host.js +2 -0
- package/src/local-pty/server.js +21 -0
- package/src/mcp/client.js +2 -1
- package/src/mcp/oauth-connection.js +109 -0
- package/src/models/inventory-core.js +2 -10
- package/src/plugins/completeful.js +2 -2
- package/src/plugins/index.js +13 -0
- package/src/plugins/productization.js +348 -0
- package/src/providers/gemini-generate-content.js +18 -0
- package/src/registry/generated/inventory.json +4266 -0
- package/src/registry/index.js +96 -0
- package/src/registry/turn-one.js +45 -0
- package/src/sam/adapters/local-media-store.js +71 -0
- package/src/sam/adapters/local-script-runtime.js +122 -0
- package/src/sam/adapters/local-script-store.js +103 -0
- package/src/sam/adapters/object-media-store.js +89 -0
- package/src/sam/adapters/workspace-media.js +78 -0
- package/src/sam/artifacts/render.js +94 -0
- package/src/sam/bridge/stdio.mjs +59 -0
- package/src/sam/client.js +269 -22
- package/src/sam/index.js +30 -1
- package/src/sam/local-execution.js +8 -0
- package/src/sam/media/environment.js +96 -0
- package/src/sam/model-adapter.js +45 -0
- package/src/sam/operation-packs/generated-v2/background.js +54 -0
- package/src/sam/operation-packs/generated-v2/catalog.js +1746 -0
- package/src/sam/operation-packs/generated-v2/generated-execution-policies.json +401 -0
- package/src/sam/operation-packs/generated-v2/generated-tool-descriptors.json +1352 -0
- package/src/sam/operation-packs/generated-v2/glb.js +41 -0
- package/src/sam/operation-packs/generated-v2/inneranimalmedia-provider.js +24 -0
- package/src/sam/operation-packs/generated-v2/operation-pack.js +126 -0
- package/src/sam/operation-packs/generated-v2/raster.js +140 -0
- package/src/sam/operation-packs/generated-v2/scripts.js +63 -0
- package/src/sam/operation-packs/generated-v2/sdk-adapter.js +9 -0
- package/src/sam/operation-packs/generated-v2/test/alias-runtime.test.mjs +51 -0
- package/src/sam/operation-packs/generated-v2/test/background.test.mjs +19 -0
- package/src/sam/operation-packs/generated-v2/test/glb.test.mjs +19 -0
- package/src/sam/operation-packs/generated-v2/test/raster.test.mjs +38 -0
- package/src/sam/operation-packs/generated-v2/test/real-asset-bindings.test.mjs +74 -0
- package/src/sam/operation-packs/generated-v2/test/registration.test.mjs +65 -0
- package/src/sam/operation-packs/generated-v2/test/scripts.test.mjs +32 -0
- package/src/sam/operation-packs/generated-v2/test/superbash-client-integration.test.mjs +215 -0
- package/src/sam/operation-packs/generated-v2/tool-types.d.ts +53 -0
- package/src/sam/operations/artifact-render.js +13 -0
- package/src/sam/operations/repository-inspect.js +12 -2
- package/src/sam/operations/robotics.js +45 -0
- package/src/sam/os.js +117 -0
- package/src/sam/packs/authoring/README.md +13 -0
- package/src/sam/packs/authoring/index.js +108 -0
- package/src/sam/packs/cad/http-ports.js +55 -0
- package/src/sam/packs/cad/index.js +158 -0
- package/src/sam/packs/cad/model-tools.js +22 -0
- package/src/sam/packs/cad/modes.js +87 -0
- package/src/sam/packs/cms/aliases.js +1 -0
- package/src/sam/packs/cms/contracts.js +1 -0
- package/src/sam/packs/cms/machine.js +6 -0
- package/src/sam/packs/cms/node.js +1 -0
- package/src/sam/packs/core.js +27 -0
- package/src/sam/packs/evidence/README.md +65 -0
- package/src/sam/packs/evidence/compare.js +98 -0
- package/src/sam/packs/evidence/contract.js +56 -0
- package/src/sam/packs/evidence/derive.js +59 -0
- package/src/sam/packs/evidence/driver-blender.js +96 -0
- package/src/sam/packs/evidence/driver-playwright.js +91 -0
- package/src/sam/packs/evidence/exporter-copro.js +70 -0
- package/src/sam/packs/evidence/facts.js +37 -0
- package/src/sam/packs/evidence/host-local.js +74 -0
- package/src/sam/packs/evidence/index.js +494 -0
- package/src/sam/packs/evidence/media.js +44 -0
- package/src/sam/packs/evidence/naming.js +67 -0
- package/src/sam/packs/evidence/normalize.js +117 -0
- package/src/sam/packs/evidence/review-page.js +102 -0
- package/src/sam/packs/evidence/screenplay.js +34 -0
- package/src/sam/packs/evidence/seal.js +55 -0
- package/src/sam/packs/evidence/serve.js +74 -0
- package/src/sam/packs/evidence/store.js +93 -0
- package/src/sam/packs/evidence/viewports.js +23 -0
- package/src/sam/robotics/chess-adapter.js +14 -0
- package/src/sam/robotics/franka.js +44 -0
- package/src/sam/robotics/index.js +4 -0
- package/src/sam/robotics/receipt.js +21 -0
- package/src/sam/robotics/world.js +57 -0
- package/src/sam/seed.js +10 -40
- package/src/sam/shell-host.js +120 -0
- package/src/sam/validation.js +40 -0
- package/src/security/local-vault.js +6 -1
- package/src/ui/cli/help.js +6 -0
- package/templates/clay/clay-blueprint-template.html +481 -0
- package/templates/clay/clay-case-study-blueprint.html +269 -0
- package/templates/clay/conversion-showcase-section.html +534 -0
- package/templates/clay/enhancing-conversion-section.html +141 -0
- package/templates/clay/nuant-wireframe.html +117 -0
- package/packages/theme-church-site/README.md +0 -10
- package/packages/theme-church-site/src/harvest.json +0 -16
- package/packages/theme-church-site/test/theme.test.mjs +0 -21
- package/packages/theme-companions-site/README.md +0 -10
- package/packages/theme-companions-site/src/harvest.json +0 -14
- package/packages/theme-companions-site/src/index.js +0 -87
- package/packages/theme-companions-site/test/theme.test.mjs +0 -21
- package/packages/theme-floors-site/README.md +0 -10
- package/packages/theme-floors-site/src/harvest.json +0 -16
- package/packages/theme-floors-site/test/theme.test.mjs +0 -21
- package/packages/theme-fuelnfree-site/README.md +0 -10
- package/packages/theme-fuelnfree-site/src/harvest.json +0 -15
- package/packages/theme-fuelnfree-site/test/theme.test.mjs +0 -21
- package/packages/theme-handyman-site/README.md +0 -10
- package/packages/theme-handyman-site/package.json +0 -41
- package/packages/theme-handyman-site/src/harvest.json +0 -12
- package/packages/theme-handyman-site/src/index.js +0 -88
- package/packages/theme-handyman-site/test/theme.test.mjs +0 -21
- package/packages/theme-insurance-site/README.md +0 -10
- package/packages/theme-insurance-site/src/harvest.json +0 -12
- package/packages/theme-insurance-site/src/index.js +0 -88
- package/packages/theme-insurance-site/test/theme.test.mjs +0 -21
- package/packages/theme-shinshu-site/README.md +0 -10
- package/packages/theme-shinshu-site/src/harvest.json +0 -14
- package/packages/theme-shinshu-site/test/theme.test.mjs +0 -21
- package/protocol/theme-refinery/lineage-registry.json +0 -105
- package/protocol/theme-refinery/receipts/products-registry-batch-20260924.json +0 -318
- package/protocol/theme-refinery/receipts/theme-harvest-20260924.json +0 -472
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# Local Studio desktop polish — focused branch handoff
|
|
2
|
+
|
|
3
|
+
**Branch:** `ui-polish-desktop` (cut from the latest `agentsam-sdk/main` on 2026-10-16)
|
|
4
|
+
**Status:** Work intake and acceptance notes only. No runtime or CAD UI changes have been implemented on this branch yet.
|
|
5
|
+
|
|
6
|
+
## Product intent
|
|
7
|
+
|
|
8
|
+
InnerAnimalMedia Experience Standard: **Craft over spectacle. Substance over promises.**
|
|
9
|
+
Companion principle: **Complex underneath. Effortless above.**
|
|
10
|
+
|
|
11
|
+
Local Studio should be a calm, coherent, highly capable workspace, inspired by the interaction *discipline* of modern desktop/Work applications rather than imitating their branding. Improve and reconnect existing UI/runtime capabilities; avoid adding a second shell, state authority, or design system.
|
|
12
|
+
|
|
13
|
+
## Desktop polish workstreams
|
|
14
|
+
|
|
15
|
+
### A. One composable layout contract
|
|
16
|
+
- Trace `apps/local-studio/frontend/agentsam/AgentSamPage.tsx`, `shell.css`, `src/components/shell/trail-workspace.tsx`, and shared `packages/agentsam-workbench` resize/layout components.
|
|
17
|
+
- Replace overlapping hard-coded split maxima with a container-aware policy. Persist preferred pane proportions separately from the effective size allowed by the currently available container.
|
|
18
|
+
- Preserve a readable conversation measure, while allowing browser/CAD/editor/terminal canvases to use all available space.
|
|
19
|
+
- When the primary pane and contextual pane cannot both be usable, use a focused/overlay presentation; never squeeze the composer offscreen.
|
|
20
|
+
- Restore sidebar, tabs, split ratios, project and active conversation after restart. Keep hover/focus, panel swap, drag, reset and keyboard resize functional.
|
|
21
|
+
|
|
22
|
+
### B. Native-feeling PTY, clipboard, and multimodal input
|
|
23
|
+
- Fix the xterm paste path so Command-V uses a standard paste event rather than triggering an unnecessary clipboard API permission prompt.
|
|
24
|
+
- Correct nested terminal scrolling, flex constraints, fit-addon/ResizeObserver churn, and the fresh-terminal horizontal-scrollbar jitter. Preserve real scrollback.
|
|
25
|
+
- Distinguish ordinary text/path paste from images. Drop or paste a screenshot into an AgentSam terminal workflow via a secure staged-asset/context reference; NEVER inject image binary into PTY stdin.
|
|
26
|
+
- An image staged in Chat must be attached to the *submitted* message, persist through conversation reopen, and reach a provider/model with verified image capability. Do not silently omit the image and then reply that AgentSam cannot analyze it.
|
|
27
|
+
- Maintain platform permissions, audit evidence, attachment lifecycle, and failure/retry states.
|
|
28
|
+
|
|
29
|
+
### C. Contextual Work and live executions
|
|
30
|
+
- Keep the composer visually quiet, with predictable hover, focus, keyboard and reduced-motion behavior.
|
|
31
|
+
- Surface actual GOAP/Plan/SAM stages, authorized tool commands, verified receipts, pending approval and resume state from existing runtime authority. No invented stages/progress.
|
|
32
|
+
- Make voice input optional, user-authorized, editable before submission, and independent of the terminal's shell stream.
|
|
33
|
+
- Reuse the existing conversation/session contracts. Do not confuse localStorage cache with cloud-authoritative persistence.
|
|
34
|
+
|
|
35
|
+
### D. Release verification
|
|
36
|
+
- Test compact, standard, and wide installed macOS windows, with navigation expanded and collapsed, one/two panes, multiple terminal tabs, and varied content sizes.
|
|
37
|
+
- Verify with the **bundled desktop SPA in Tauri**, not only the hosted site. Respect `docs/product/LOCAL_STUDIO_DESKTOP_EXPERIENCE.md`; the real Local Studio UI must be packaged in the app.
|
|
38
|
+
- Keep CI focused during implementation; do one consolidated integration and packaged desktop acceptance pass before merge. Preserve unrelated active branches/worktrees.
|
|
39
|
+
|
|
40
|
+
## CAD integration notes — guardrails for this desktop branch
|
|
41
|
+
|
|
42
|
+
CAD Creator remains its own experimental npm workspace at `apps/cad-creator`, not part of the SDK root workspace graph. It already has 2D/3D, robotics, tool adapters and its own frontend. Local Studio should host CAD as a cohesive **workspace surface**, not duplicate or silently fork its project model or CAD runtime.
|
|
43
|
+
|
|
44
|
+
Key source contracts to inspect:
|
|
45
|
+
- `apps/cad-creator/README.md`: active CAD Creator app, shared CAD types and server.
|
|
46
|
+
- `docs/cad-project-tools.md`: authoritative editable `DesignProject`, inches as canonical document units, revision-aware saves, immutable artifacts, renderer interchange.
|
|
47
|
+
- `src/lib/cad/{discovery,freecad,blender}.js`, `services/cad/freecad/adapter.py`, `services/cad/blender/adapter.py`: local native/CAD adapters.
|
|
48
|
+
- `src/lib/cad-docker.js`: existing OpenSCAD/FreeCAD/Blender Docker lanes.
|
|
49
|
+
- `apps/cad-creator/frontend/src/workspaces/robotics/DiagnosticOverlay.tsx`: tool/telemetry visualization to audit for genuine runtime status.
|
|
50
|
+
|
|
51
|
+
Important distinctions:
|
|
52
|
+
1. **FreeCAD / OpenCASCADE**: precision/parametric solids and STEP/IGES; inspect actual compatible Python bindings/runtime rather than assuming any bundled application library is a complete developer SDK.
|
|
53
|
+
2. **OpenSCAD**: deterministic constructive solids. **Blender**: scenes, lighting, animation, mesh assets and GLB exports. These complement, rather than replace, the canonical editable design document.
|
|
54
|
+
3. GLB is a rendering/preview interchange; do **not** treat it as lossless editable CAD/BIM data or claim IFC roundtrip where unsupported.
|
|
55
|
+
4. The robotics diagnostic overlay currently has default tool integration statuses, including FreeCAD shown as `connected`; ensure the rendered status is based on a real capability/discovery probe, or explicitly label it a design/demo fallback. Likewise, don't present illustrative telemetry as observed data.
|
|
56
|
+
5. The robot arm can become a genuinely useful demo **only** when transform gizmos, joint limits, kinematics, collision/telemetry and save/export are backed by real scene/runtime behavior. Do not let a beautiful control panel imply operations that aren't connected.
|
|
57
|
+
6. CAD needs the same global shell affordances as other surfaces: drag/paste images, fit-to-view, selection-specific inspector, responsive split layouts, autosave/revision visibility, undo/redo and contextual AgentSam help.
|
|
58
|
+
7. Avoid recreating CAD Creator inside `apps/local-studio`: share cross-product workbench primitives and inject domain adapters. Leave CAD-specific geometry, kernels and source formats in the CAD domain.
|
|
59
|
+
8. The specific real-machine Blender crash/Metal/sandbox behavior should be discovered and reported by the adapter rather than hidden behind a fictitious `ready` badge.
|
|
60
|
+
|
|
61
|
+
## Scope / branch discipline
|
|
62
|
+
|
|
63
|
+
This is a desktop polish branch, **not** an authorization for unbounded CAD feature redevelopment. CAD-specific changes should remain on their existing owner branch unless they are small, proven shared UI primitives or necessary integration fixes.
|
|
64
|
+
|
|
65
|
+
Before modifying overlapping source files, fetch and compare currently active WIP branches/PRs, especially earlier terminal, shell, conversation and image-attachment repairs. Reuse completed work. Commit/push completed batches and merge only when actual tests, branch protections and desktop acceptance pass; clean up proven merged worktrees without discarding unique user assets.
|
|
66
|
+
|
|
67
|
+
**Success:** open Local Studio, attach a screenshot and get an image-grounded response; open terminal/browser/CAD side by side without layout jitter; inspect an actual CAD/robotic artifact or live run; switch context and restart without losing progress.
|
|
68
|
+
## Multi-PTY UI implementation — 2026-10-16
|
|
69
|
+
|
|
70
|
+
The existing PR #235 had already shipped a native paste fix, terminal FitAddon/ResizeObserver stability, and an independently connected TWO-PTY split view. It did NOT yet provide the multi-PTY tiled workspace of the visual reference.
|
|
71
|
+
|
|
72
|
+
In this branch, `TerminalPane` now presents single, two-pane, or five-slot tiled layouts from the EXISTING per-session xterm/PTY authority. Tiled mode displays independent live terminals, has per-tile session selectors, and creates additional terminals on demand. Layout and slot preferences are persisted through the existing Zustand terminal store. Styling responds to the available terminal container width, with a two-column arrangement on sufficiently wide panes and a single column on narrow panes. In-page expansion is available from dock/side panes. No new backend or per-tile PTY transport was created.
|
|
73
|
+
|
|
74
|
+
Acceptance evidence:
|
|
75
|
+
- TypeScript frontend: PASS (`tsc --noEmit -p apps/local-studio/frontend/tsconfig.json`).
|
|
76
|
+
- New session-state tests: 4 PASS (unique PTY IDs, tile replacement, session close, transition back to split/single).
|
|
77
|
+
- Desktop-target Vite build: PASS.
|
|
78
|
+
- Existing desktop SPA smoke: PASS.
|
|
79
|
+
- Playwright Chromium, desktop preview hash-route `#/cli`: 1440x900 and 610x900, no errors, no horizontal page overflow, tiles responsively arranged. Five live tile hosts survived page reload at 1440x950 without duplicate IDs; two-column by three-row layout with full-width last row. Preview-only server used port 4337 and did not replace installed `.app`.
|
|
80
|
+
|
|
81
|
+
Out of scope / NOT finished by this slice:
|
|
82
|
+
- Screenshot and image-to-terminal input needs its own secure attachment pipeline and model-request integration. Current Chat composer keeps a pending File map and sends attachment metadata; `streamChat` currently sends text-only messages to the provider. Merely adding a drag target would be misleading and is NOT evidence of image understanding.
|
|
83
|
+
- Per-tile drag-and-resize ratios, background PTY lifecycle after closing a tab, and final installed Tauri `.app` acceptance remain separate verification tasks.
|
|
84
|
+
- This desktop visual slice does not change CAD/OCCT code or interrupt ongoing local PTY sessions.
|
|
85
|
+
|
|
86
|
+
## Desktop execution continuation — candidate verification
|
|
87
|
+
|
|
88
|
+
Ownership check: Muse currently has dirty changes on `feat/cad-creator-remaster-20261016` in `apps/cad-creator/`, `apps/local-studio/frontend/src/routes/(apps)/cad.tsx`, `app-preview-stage.tsx`, `side-stage.tsx`, and untracked `cad-host-bridge.ts` / CAD context sources. The desktop branch intentionally did NOT edit these active CAD integration files. The host's CAD assistant request/response approval cycle cannot be declared complete before Muse's bridge contract is handed off and integrated.
|
|
89
|
+
|
|
90
|
+
Terminal work: persistent per-layout column and top-row fractions; drag/keyboard adjustment, focus, double-click reset and bounded ratios; verified 1440px Chrome resize from 692/691px to 832/551px and exact proportion restored after full reload without page overflow.
|
|
91
|
+
|
|
92
|
+
Images: composer paste/select/drop stages actual PNG/JPEG/WebP bytes (<=5 MiB) in the pre-existing account-scoped IndexedDB Content provider; messages persist provider references, not image data URLs. Reopen can rehydrate image bytes and show thumbnails. Each request rehydrates transient inline image content at the provider boundary; OpenAI hosted Chat Completions uses image_url parts, and desktop local OpenAI Responses uses input_image parts through Rust/Tauri/Node. Other providers reject unsupported image requests rather than silently dropping them. Input has a four-image cap. Terminal file drops route into AgentSam Chat's image queue, never shell stdin; browser test confirmed the queued image appeared in the composer after route navigation and local staging. Existing full chat composer still requires packaged app acceptance.
|
|
93
|
+
|
|
94
|
+
Validation:
|
|
95
|
+
- Frontend TypeScript: PASS; frontend suite: 70/70 PASS.
|
|
96
|
+
- Local provider input tests: 4/4 PASS.
|
|
97
|
+
- Desktop SPA build + asset staging + `cargo check --offline`: PASS (generated sidecars/build-brand required).
|
|
98
|
+
- Browser IndexedDB staging: 12 original bytes read back identically, including after reopening; browser title and IDs retained across terminal grid reload.
|
|
99
|
+
- Real provider run: built a synthetic valid red 96x96 PNG and sent it via `packages/agentsam-desktop-shell/scripts/local-provider-bridge.mjs` to the discovered, configured OpenAI `gpt-6-luna` endpoint. Returned `ok:true`, model `gpt-6-luna`, text `Red.` (real image consumption, no personal image sent).
|
|
100
|
+
- Chrome terminal screenshot-drop test: navigated from `#/cli` to `#/agentsam` and displayed the staged image name in Chat; no JS page errors. Vite development mode produced an unrelated local-health CORS diagnostic.
|
|
101
|
+
|
|
102
|
+
Remaining release gates: actual installed Tauri app sign-in/conversation/attachment/UI acceptance; provider/model capability enumeration beyond OpenAI and image types; per-conversation deletion/garbage collection of staged Content blobs; five independent real PTY streams measured in native Tauri; real CAD selection -> host response -> approved project revision with Muse; CAD state restore; production deployment is separate and has NOT occurred.
|
|
@@ -147,7 +147,7 @@ No branch merge queue. All remaining work is **new implementation on clean main*
|
|
|
147
147
|
| `client-cms-editor` | same |
|
|
148
148
|
| `ecommerce-cms-agentsam` | same |
|
|
149
149
|
| `local-studio` | same |
|
|
150
|
-
| `
|
|
150
|
+
| `cypress` … `summit` (7 harvested) | `.agentsam/app.json` (theme-refinery) |
|
|
151
151
|
| `theme-gallery-preview`, `frontend`, `_incoming` | maturity TBD via calculated gates |
|
|
152
152
|
|
|
153
153
|
### Batch C — Ingest feeds world-state
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Work UX Remaster — acceptance checklist
|
|
2
|
+
|
|
3
|
+
Scope: hosted Projects/Tickets, the shared packages/agentsam-work UI, and apps/local-studio desktop. Mobile iOS usability is the primary acceptance criterion. No second theme or independent implementation.
|
|
4
|
+
|
|
5
|
+
## Implemented on UX branch
|
|
6
|
+
|
|
7
|
+
- [x] Desktop portfolio with a project index, selected timeline and inspector, connected to real Work ticket/project records.
|
|
8
|
+
- [x] Keep the native mobile Projects catalog, shared navigation dock and existing CRUD actions.
|
|
9
|
+
- [x] Planned dates versus observed ticket activity are separate and clearly labeled; no invented deadlines.
|
|
10
|
+
- [x] Actual Fit scaling, 6-week and 2-week zoom, more legible status colors, progress fill, project labels.
|
|
11
|
+
- [x] Three actionable focus tickets replace duplicated long recommendations; dependency chains disclosed on demand.
|
|
12
|
+
- [x] Compact mobile Tickets filtering: search and one Filters control.
|
|
13
|
+
- [x] Project detail: perceived completion, shipped-ticket share with honest labeling, blockers and next actions.
|
|
14
|
+
- [x] Remove nested timeline tabs and nonfunctional right Work rail; default desktop navigation to collapsed.
|
|
15
|
+
- [x] Expanding long ticket titles and compact mobile project actions.
|
|
16
|
+
- [x] Fix Artifacts and virtual shell HTML preview paths to use the existing stylesheet/script assembler.
|
|
17
|
+
- [x] Label unstyled unnamed HTML fragments without altering original file contents.
|
|
18
|
+
- [x] Eight-surface fixture screenshot harness for mobile 390x844 and desktop 1440x900 with overflow checks.
|
|
19
|
+
|
|
20
|
+
## Must verify before declaring production-grade
|
|
21
|
+
|
|
22
|
+
- [ ] Final rendered screenshot review after the last mobile header changes.
|
|
23
|
+
- [ ] Authenticated iPhone Safari tests: tap, keyboard, scroll, save/reopen and screen reader labels.
|
|
24
|
+
- [ ] Installed desktop app sign-in, edit ticket/project, then confirm same account-owned D1 rows on web.
|
|
25
|
+
- [ ] CI pixel-diff baseline review and performance test with 666 tickets and 39 projects.
|
|
26
|
+
- [ ] Persistent Milestones with acceptance evidence, not inferred ticket completion.
|
|
27
|
+
- [ ] Versioned reusable Templates, saved filters and portfolio-level phases/dependencies.
|
|
28
|
+
- [ ] Canonical legacy project mapping and priority normalization without silently overwriting original data.
|
|
29
|
+
|
|
30
|
+
## Parallel work, not merged into this UX branch
|
|
31
|
+
|
|
32
|
+
- [ ] Cold-start Keychain read trace, minimal reads, safe migration plan, stable signing for trusted builds.
|
|
33
|
+
- [ ] Validate user-pushed Superbash branch with agentsam doctor, self-service tool discovery, version provenance and cross-repository capability certification.
|
|
34
|
+
- [ ] SDK version parity and release train for IAM, MCP and Local Studio; signed-in desktop uses hosted D1 as authority.
|
|
35
|
+
- [ ] Apple Developer signing/notarization and auto-updater publication.
|
|
36
|
+
|
|
37
|
+
## Evidence
|
|
38
|
+
|
|
39
|
+
Use apps/local-studio npm run build:desktop and npm run smoke:work-visual, plus packages/agentsam-work tests and worker data tests. The local QA screenshots are in Downloads/agentsam-work-visual-review (fixtures, not customer data). A clean build is not an authenticated production acceptance test.
|
|
40
|
+
|
|
41
|
+
## Release receipt — 2026-10-15
|
|
42
|
+
|
|
43
|
+
- PR #216 merged to main as 16d3f4a0, from UX remaster commit 6bc0a81a.
|
|
44
|
+
- Production Cloudflare Worker agentsam-sdk deployment succeeded with version c1fbcfe5-d895-4546-841c-bd48aebf187b.
|
|
45
|
+
- Live unauthenticated checks: /projects HTTP 200, /tickets HTTP 200, /api/work/snapshot HTTP 401 as expected without identity.
|
|
46
|
+
- Tauri desktop app bundled on Apple Silicon from the merged source, ad-hoc signed with successful local code-signing verification. ZIP: ~/Downloads/AgentSam-Local-Studio-UX-Remaster-16d3f4a0-macOS-arm64.zip (29 MB). Archive integrity passed; SHA-256 800a84a5652a18e6ccaa4647a5fd4f6164a65e8a98ca1029082f1a0f7c1ae4a8.
|
|
47
|
+
- NOT notarized or published via auto-updater. Authenticated iPhone Safari and installed-desktop cross-host CRUD acceptance not yet completed. Keychain multi-prompt issue remains unchanged.
|
|
48
|
+
- Independent Superbash branch/worktree was inspected but not edited, merged, published or reset by this release.
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
# AgentSam Work — one workspace (Tickets · Projects · Calendar · Timeline)
|
|
2
|
+
|
|
3
|
+
Branch: `feat/work-workspace-crud-20261014` (merged as PR #215) · Status: shipped Work CRUD/web+desktop baseline; remaining phases explicitly tracked in section 15.
|
|
4
|
+
|
|
5
|
+
## 0. Goal and rules
|
|
6
|
+
|
|
7
|
+
Tickets, Projects, Calendar and the Gantt/timeline are ONE workspace, not competing pages. Selecting a project filters tickets, a ticket with dates shows on the calendar and the timeline, a calendar event opens its ticket.
|
|
8
|
+
|
|
9
|
+
Hard rules (from Sam):
|
|
10
|
+
- Full CRUD on every entity, in web AND desktop. No dead buttons: a control either works or is not rendered (capability flags).
|
|
11
|
+
- Reuse existing tables/columns. No invented schema, no lookup/vocab tables.
|
|
12
|
+
- Theme comes from the Local Studio host tokens. No hardcoded white/dark.
|
|
13
|
+
- A fresh install (newuser123) must get a working, empty, fully editable workspace. No fixtures, no sample cards, no Sam-specific copy.
|
|
14
|
+
- Web and the installed desktop app ship the same fixes (same package, same contract test).
|
|
15
|
+
- No local .bak copies; git is the backup. Prune the branch when merged.
|
|
16
|
+
|
|
17
|
+
## 1. What exists today (audit, 2026-10-14)
|
|
18
|
+
|
|
19
|
+
| Piece | Where | State |
|
|
20
|
+
|---|---|---|
|
|
21
|
+
| Tickets UI | `packages/agentsam-work/src/frontend/surfaces/TicketsSurface.tsx` | Sort / Refresh / New ticket have no handlers; board mode unwired; checkboxes uncontrolled; no `onOpenTicket` on `/tickets` |
|
|
22
|
+
| `/tickets` empty | `WorkProduct.tsx` passes `scope="collaborate"`; worker maps every non-collaborate row to `platform` | Engineering tickets filtered out; header analytics (from all rows) disagrees with the empty list |
|
|
23
|
+
| Hardcoded copy | TicketsSurface "Recommended execution order", "Dependency sketch" | Sam's internal ticket names baked into a published package |
|
|
24
|
+
| Projects UI | `ProjectsSurface.tsx` (agentsam-work) | Read-only; `+` does nothing; no create/edit/archive in host contract, worker or Rust allowlist |
|
|
25
|
+
| Calendar | `CalendarSurface.tsx`; worker returns `calendar: []` | No data source, no event endpoints, not clickable |
|
|
26
|
+
| AutoRAG pill | `LocalStudioWorkPage.tsx` absolute-positioned button over the breadcrumb | Overlaps "Work / Projects"; modal shows green checks while erroring |
|
|
27
|
+
| Timeline | `apps/project-control` + `agentsam-workbench/{projects,timeline}` | Beautiful, 100% hardcoded demo data, never wired; second `ProjectsSurface` duplicates the live one |
|
|
28
|
+
| `work-graph` | `packages/work-graph` | Pure model + gantt projection; NO tickets adapter |
|
|
29
|
+
| Desktop | `agentsam-desktop-shell`, bundles `desktop-dist` | Installed app is a frozen Oct 8-9 frontend; work calls go through a Rust allowlist (snapshot, tickets, mail only) |
|
|
30
|
+
|
|
31
|
+
## 2. Donor map (inneranimalmedia monolith -> SDK)
|
|
32
|
+
|
|
33
|
+
Port the behavior, strip monolith specifics (workspace_members, IAM Meet, Google connect become optional providers).
|
|
34
|
+
|
|
35
|
+
| Capability | Donor (monolith) | Lands in |
|
|
36
|
+
|---|---|---|
|
|
37
|
+
| Ticket CRUD, status, links, events, analytics | `backend/agentsam/api/tickets.js` (GET list, GET analytics, POST, GET/PATCH/DELETE :id, POST :id/status, POST :id/link, GET/POST :id/events) | `apps/local-studio/backend/worker/work-service.js` (split into `work/tickets.js`) |
|
|
38
|
+
| Task editor (doc, due, project, client, schedule, complete, delete) | `pages/launch-desk/CollaborateTaskFocus.tsx`, `CollaborateTasksPanel.tsx` | new `TicketEditor` in `agentsam-work` (drawer / full page) |
|
|
39
|
+
| Project catalog + detail + quick stats | `pages/projects/ProjectsPage.tsx`, `ProjectDetailPage.tsx`, `ProjectQuickStats.tsx`, `src/api/projects/index.js` | `ProjectsSurface` + `ProjectDetailSurface` + worker `work/projects.js` |
|
|
40
|
+
| Calendar view, quick event, events CRUD, tasks-on-calendar | `components/CalendarPage.tsx`, `LaunchDeskPage.tsx` (Quick event), `src/api/calendar.js` (view, POST/PUT/DELETE events) | `CalendarSurface` + worker `work/calendar.js` |
|
|
41
|
+
| Gantt / timeline | `apps/project-control` + `agentsam-workbench/timeline/GanttBoard` | project-detail "Timeline" tab and Tickets "Timeline" mode |
|
|
42
|
+
|
|
43
|
+
## 3. Data layer: one contract, two stores, honest fallback
|
|
44
|
+
|
|
45
|
+
### 3.1 Contract
|
|
46
|
+
`WorkStore` interface (in `agentsam-work/contracts`), implemented twice. The UI only ever talks to `WorkHost`, which wraps a `WorkStore`. Snapshot gains `source: "hosted" | "local"` and `capabilities: { tickets: {create,update,delete}, projects: {...}, calendar: {...}, github: bool, googleCalendar: bool }` so surfaces hide what a store cannot do.
|
|
47
|
+
|
|
48
|
+
### 3.2 Tables (reuse, mirror prod shapes)
|
|
49
|
+
- `agentsam_tickets` — already in `migrations/d1/0010_portable_tickets_memory.sql`. Columns already cover the timeline: `start_at`, `due_at`, `estimated_minutes`, `percent_complete`, `parent_ticket_id`, `blocks`, `blocked_by`, `owner_kind/owner_ref`, `client_id`, `project`, `surface`, `status_reason`. No schema change for Gantt.
|
|
50
|
+
- `projects` and `calendar_events` — exist in prod D1 (monolith) but are NOT in SDK migrations. A fresh install would have no table, so the worker silently returns empty. Plan: ship ONE portable migration (`CREATE TABLE IF NOT EXISTS`) that mirrors the prod column names exactly, so identical code runs against prod D1 and fresh installs. Step 1 introspects prod (`PRAGMA table_info`) before writing it; we mirror, we do not design.
|
|
51
|
+
- Ticket events (`/events`) reuse whatever the monolith already writes; confirm in step 1.
|
|
52
|
+
|
|
53
|
+
### 3.3 Resolution order (fallback logic)
|
|
54
|
+
1. Hosted account connected (web, or desktop signed in): D1 via `/api/work/*` and `/api/tickets|projects|calendar/*`, scoped by `auth_users.id` (single owner authority, no workspace_id).
|
|
55
|
+
2. Desktop, signed out OR hosted unreachable (401/5xx/timeout): local SQLite (`~/.agentsam/work.db`) through agentsamd using the existing `local-sqlite-bridge` ops (`open_agentsam`, `query`, `insert`, `update`, `delete`). Migrations auto-apply on launch (`migrations/runtime` is already bundled in `tauri.conf.json`).
|
|
56
|
+
3. Web, signed out: empty state with Sign in / Get the desktop app. Never fixtures.
|
|
57
|
+
- Every response carries `source`; the toolbar shows a small "Local" / "Hosted" badge. Writes always go to the active store.
|
|
58
|
+
- RESOLVED (see section 13): hosted D1 is the single source of truth for a signed-in owner; web and desktop are two windows on the same rows. Local SQLite is (a) the real store only when no account is connected and (b) a read-only offline cache when signed in. No two-way sync, no conflicts.
|
|
59
|
+
- First run seeds nothing fake. One real, deletable "Getting started" project + ticket created through normal CRUD so the screens are not blank and the owner can delete them.
|
|
60
|
+
|
|
61
|
+
## 4. CRUD matrix (hosted route = local op = Rust allowlist entry)
|
|
62
|
+
|
|
63
|
+
| Entity | Create | Read | Update | Delete |
|
|
64
|
+
|---|---|---|---|---|
|
|
65
|
+
| Ticket | POST /api/tickets | GET /api/tickets, GET /:id, GET /analytics | PATCH /:id, POST /:id/status, POST /:id/link | DELETE /:id |
|
|
66
|
+
| Ticket events | POST /:id/events | GET /:id/events | — | — |
|
|
67
|
+
| Project | POST /api/projects | GET /api/projects, GET /:id | PATCH /:id (name, status, progress, cover, repo, star) | archive (default) + hard delete with confirm |
|
|
68
|
+
| Calendar event | POST /api/calendar/events | GET /api/calendar/view?from&to | PUT/PATCH /events/:id (drag/resize) | DELETE /events/:id |
|
|
69
|
+
|
|
70
|
+
Desktop: add every path above to `local_identity.rs` ("work" operation) AND to its test list; a CI contract test asserts that every method in `WorkHost` client has a matching allowlist entry and a worker route, so web and desktop cannot drift again. Also allow `/api/work/snapshot` without a `surface` param (currently rejected with `mail_connection` alone).
|
|
71
|
+
|
|
72
|
+
`WorkHost` additions: `deleteTicket`, `createProject`, `updateProject`, `deleteProject`, `createEvent`, `updateEvent`, `deleteEvent`, `listEvents(range)`.
|
|
73
|
+
|
|
74
|
+
## 5. UI plan
|
|
75
|
+
|
|
76
|
+
Shared: one `WorkSelectionStore` in `WorkProduct` (active project, active ticket, calendar range) so the surfaces cooperate. Deep links stay URL-based (`/tickets?project=…&ticket=…`) so browser back works.
|
|
77
|
+
|
|
78
|
+
**Tickets**
|
|
79
|
+
- Fix scope: `/tickets` shows all tickets by default; `platform` / `collaborate` become a filter chip, not a hard scope.
|
|
80
|
+
- Modes: Queue, Board (drag between status columns = PATCH status), Timeline (work-graph + GanttBoard).
|
|
81
|
+
- Real sort / filter / refresh; New ticket opens the editor; controlled multi-select with bulk status + delete.
|
|
82
|
+
- Editor = donor task focus: title, documentation, status, priority, project, client, due, start, estimate, % complete, blocked-by, Schedule on calendar, Mark complete, Delete (confirm).
|
|
83
|
+
- "Recommended order" and "Dependency sketch" are DERIVED by a new `work-graph` tickets adapter (priority -> blocked_by/blocks topological order -> in_review first). Zero hardcoded text.
|
|
84
|
+
|
|
85
|
+
**Projects**
|
|
86
|
+
- Visual base: the workbench catalog (the clean one Sam approved) wired to live data. Delete the duplicate `ProjectsSurface` after both are compared.
|
|
87
|
+
- `+ New project` and card menu: edit, star, archive, delete. Tabs All / Active / Shared / Archived are real filters.
|
|
88
|
+
- Project detail = donor: quick stats (time, open tickets, progress), task list, Calendar and Tickets shortcuts, Timeline tab, codebase-index card, brand assets, memory/instructions only if the store reports the capability.
|
|
89
|
+
|
|
90
|
+
**Calendar**
|
|
91
|
+
- Today the grid is inert and fed `[]`. Plan: click/drag a cell opens Quick event (donor: event / task / focus / meeting / out of office, start/end, guests optional); save = POST; click an event = edit popover; drag/resize = PATCH; delete in popover.
|
|
92
|
+
- Tickets with `due_at` / `start_at` render as task events (color by project); clicking opens the ticket editor; dropping a ticket on a day sets `due_at`.
|
|
93
|
+
- Week / Month / Day, mini-month, Today, keyboard nav. Google sync and IAM Meet appear only if `capabilities.googleCalendar` is true.
|
|
94
|
+
|
|
95
|
+
**AutoRAG**
|
|
96
|
+
- Remove the absolute pill (overlaps the breadcrumb). Move it into the project detail "Codebase index / Knowledge" card as a normal button.
|
|
97
|
+
- Rewrite the modal states honestly: no green checks before anything ran. On web: a clear "Runs in Local Studio Desktop" card with an `agentsamstudio://` open link instead of a form that cannot submit. On desktop: the real inspect flow.
|
|
98
|
+
|
|
99
|
+
## 6. Gantt flexfit (root causes found in `project-control.css`)
|
|
100
|
+
|
|
101
|
+
Defects: table `min-width: 1165px` with fixed `280px 125px` columns; inspector fixed `330px` squeezes the timeline to ~2 columns at 1200px windows; `min-height: calc(100dvh - 248px)` hardcodes the shell height; day columns `minmax(64px,1fr)` ignore container width.
|
|
102
|
+
|
|
103
|
+
Fixes:
|
|
104
|
+
- Size from the container, not the viewport: `container-type: inline-size` on the Gantt root and `@container` breakpoints.
|
|
105
|
+
- Zoom presets (Day / Week / Month) plus "Fit to range" computing day width with a ResizeObserver.
|
|
106
|
+
- Task column keeps priority; Owner column collapses under ~720px; progress % hides under ~560px.
|
|
107
|
+
- Inspector becomes an overlay/bottom sheet under ~900px container width; fixed side panel only above.
|
|
108
|
+
- Height = `flex: 1; min-height: 0` inside the shell, no `dvh` math. Sticky date header and frozen task column.
|
|
109
|
+
- Test widths: 360, 768, 1024, 1280, 1728, plus desktop window at its 1200x800 default.
|
|
110
|
+
|
|
111
|
+
## 7. Theme (honor Local Studio)
|
|
112
|
+
|
|
113
|
+
- Today: two token namespaces (`--agentsam-work-*` in agentsam-work, `--as-work-*` in workbench) and hex values in `theme.css` (13), `ProjectsSurface` (1), `CalendarSurface` (7), `ArtifactsSurface` (7), `MailSurface` (2), `project-control.css` (36).
|
|
114
|
+
- Plan: ONE namespace derived from the host tokens (`--background`, `--card`, `--foreground`, `--border`, `--accent`, `--destructive`, `--radius`, `--font-sans`). Hex fallbacks live in a single `:where(.agentsam-work)` defaults block that only applies when no host tokens exist (standalone). Status/warning/phase colors via `color-mix()` from host accent and destructive.
|
|
115
|
+
- Light/dark follow the host theme class/attribute, never `prefers-color-scheme` alone.
|
|
116
|
+
- A test fails CI if a hex or rgb literal appears outside the defaults block.
|
|
117
|
+
- Verify against every Local Studio theme preset, in web and desktop.
|
|
118
|
+
|
|
119
|
+
## 8. Desktop alignment
|
|
120
|
+
|
|
121
|
+
The desktop bundles `desktop-dist` (frozen). Every phase that touches UI ends with: `build:desktop-assets` -> `sync-local-studio-dist` -> Tauri bundle -> updater publish (`updates.inneranimalmedia.com`) -> install and click through the same checklist as web. Worker-only changes reach desktop immediately; UI and Rust allowlist changes need the rebuild. Lockstep version bump so a mismatch fails before deploy.
|
|
122
|
+
|
|
123
|
+
## 9. work-graph and project-control
|
|
124
|
+
|
|
125
|
+
- Add `adapters/work/tickets.js` (ticket -> WorkItem, `blocked_by/blocks` -> dependencies, dates -> start/end, percent_complete -> progress). Write it in TypeScript per Sam's preference.
|
|
126
|
+
- Resolve the private/public contradiction (README says private; `publishConfig` and the catalog manifest say public).
|
|
127
|
+
- `apps/project-control` is retired once the Timeline tab lives in Local Studio (keep nothing that has fake data).
|
|
128
|
+
|
|
129
|
+
## 10. Phases (each ends with web + desktop verification)
|
|
130
|
+
|
|
131
|
+
0. Branch + single-React build fix (done on this branch). Do not touch the unrelated `feat/offline-cli-knowledge-catalog` WIP.
|
|
132
|
+
1. Introspect prod schema; portable migration for `projects` / `calendar_events`; `WorkStore` contract; hosted D1 store with full routes; local SQLite store; allowlist + contract test. Accept: curl CRUD for all four entities on both stores.
|
|
133
|
+
2. Tickets: scope fix, tickets adapter in work-graph, editor, board, sort/filter/bulk, delete.
|
|
134
|
+
3. Projects: catalog swap, create/edit/archive/delete, detail page, remove duplicate surface.
|
|
135
|
+
4. Calendar: clickable grid, quick event, drag/resize, tickets on calendar.
|
|
136
|
+
5. Timeline: Gantt wired to tickets and project detail, flexfit fixes.
|
|
137
|
+
6. Theme unification + hex lint; AutoRAG relocation and honest modal.
|
|
138
|
+
7. Desktop build, updater publish, installed-app acceptance run; fresh-profile test (new user, no network) proving the local store works with nothing configured.
|
|
139
|
+
|
|
140
|
+
## 11. Decisions (all resolved, see section 13)
|
|
141
|
+
|
|
142
|
+
1. v1 local vs hosted: separate workspaces, no sync (recommended), or build sync now?
|
|
143
|
+
2. OK to mirror prod `projects` and `calendar_events` into a portable SDK migration (same names/columns)?
|
|
144
|
+
3. Projects catalog base: workbench look (recommended) vs current agentsam-work look.
|
|
145
|
+
4. Delete semantics: archive by default, hard delete behind a confirm (recommended)?
|
|
146
|
+
5. Google Calendar / Gmail: optional providers behind capabilities (recommended) for v1.
|
|
147
|
+
|
|
148
|
+
## 12. Risks
|
|
149
|
+
|
|
150
|
+
- Prod `projects` has no account column guarantee (the worker already falls back to "all readable rows"); the new store must always scope by owner.
|
|
151
|
+
- Local SQLite path requires agentsamd running; first-run errors must be visible, not silent.
|
|
152
|
+
- Two React copies in bundles recur whenever workspace packages resolve react differently; keep the alias fix and add it to the Local Studio build too.
|
|
153
|
+
|
|
154
|
+
## 13. Resolved decisions and prod findings (2026-10-14)
|
|
155
|
+
|
|
156
|
+
Decisions (Sam):
|
|
157
|
+
1. One dataset. Hosted D1 (`inneranimalmedia-business`, the worker's `DB` binding) is the source of truth; desktop and web both read/write it. Local SQLite = no-account store + offline read cache. Offline edits while signed in are blocked with a clear read-only banner (no sync engine in v1).
|
|
158
|
+
2. Mirror prod `projects` and `calendar_events` into a portable migration: YES.
|
|
159
|
+
3. Projects catalog uses the workbench look: YES.
|
|
160
|
+
4. Google Calendar and Gmail are optional providers behind capability flags, built now (OAuth clients for desktop and web already exist).
|
|
161
|
+
|
|
162
|
+
Prod schema findings (read-only queries against `inneranimalmedia-business`):
|
|
163
|
+
- `agentsam_tickets`: 666 rows, 665 with `account_id IS NULL`, 1 owned by Sam's auth user. The SDK worker filters `WHERE account_id = ?`, so it can return at most 1 ticket; the other 665 (654 `platform`) are invisible. Surface values in prod are not only platform/collaborate (`dashboard`, `execos`, `projects`, `worker`, `dashboard/images/videos`); the worker collapses them all to `platform`, losing information.
|
|
164
|
+
- `projects`: 39 rows; 30 have `owner_user_id IS NULL`; 9 belong to four aliases of Sam (`au_...`, `sam_primeaux`, `usr_sam_iam`, `usr_sam_primeaux`). The worker queries nonexistent columns (`account_id`, `owner_id`, `user_id`), the query throws, and its catch-fallback returns ALL rows. It only looks correct because Sam is the only user; it is a cross-owner leak the moment a second user exists. Status CHECK is `discovery|design|development|qa|staging|production|maintenance|archived` (the worker maps to a different set and loses `development`, `qa`, `staging`, `maintenance`). `project_type` CHECK is `dashboard|landing-page|saas-product|e-commerce|internal-tool|template`.
|
|
165
|
+
- `calendar_events`: 61 rows (43 Sam, 17 NULL user, 1 other). `tenant_id NOT NULL`; `user_id`, `project_id` (FK -> `projects`), `client_id` (FK -> `clients`), `event_type` CHECK (`meeting|deadline|reminder|task|client_call|personal|travel|other`), `start_datetime`/`end_datetime` TEXT, `status`, `color`, `priority`, Google fields `calendar_source`, `external_event_id`, `sync_account`.
|
|
166
|
+
- Gmail OAuth exists in the SDK (`gmail-service.js`, scopes `gmail.modify` + `gmail.send`). There is NO Google Calendar code or scope in the SDK; it exists only in the monolith (`/api/integrations/google-calendar/connect`, `calendar.js` google status/sync).
|
|
167
|
+
|
|
168
|
+
Consequences for phase 1:
|
|
169
|
+
- Portable migration = a SUBSET of prod columns, same names and same CHECK values, so identical queries run on prod and fresh installs. Leave out monolith-only columns (`supabase_sync_*`, `hyperdrive_id`, `mcp_service_id`, `d1_databases`, `r2_buckets`, `worker_id`, `workspace_id`, etc.). Drop the `clients` FK on `calendar_events.client_id` (no `clients` table on fresh installs) or ship a minimal `clients` mirror: decide when writing the migration. Writers set `tenant_id` = owner auth user id.
|
|
170
|
+
- Ownership backfill (PROD WRITE, needs Sam's explicit approval before running; prepared, not executed):
|
|
171
|
+
- `agentsam_tickets.account_id` for the 665 NULL rows -> Sam's auth user id
|
|
172
|
+
- `projects.owner_user_id` for the 30 NULL rows and the 4 legacy aliases -> Sam's auth user id (client projects stay visible through `client_id`)
|
|
173
|
+
- `calendar_events.user_id` for the 17 NULL rows -> Sam's auth user id
|
|
174
|
+
The id is taken from the signed-in session at run time, never hardcoded in code. Stage as a one-off script under `scripts/` using the d1 write tool, with a dry-run count first and row counts verified after.
|
|
175
|
+
- Worker queries are rewritten to scope strictly by owner (no "all rows" fallback), pass `surface` through unchanged, and use the prod status/type vocabularies.
|
|
176
|
+
- Google Calendar: reuse the existing Google OAuth client, add the calendar scope, port `google/status` + `google/sync` from the monolith, store linkage in the existing `calendar_source`/`external_event_id`/`sync_account` columns. `capabilities.googleCalendar` is true only when a token with that scope exists. Gmail already follows this pattern.
|
|
177
|
+
|
|
178
|
+
## 14. Status handoff (2026-10-14)
|
|
179
|
+
|
|
180
|
+
DONE (tested locally)
|
|
181
|
+
- Prod ownership backfill ran and was verified (tickets 666, projects 39, events 60 owned by Sam's auth user).
|
|
182
|
+
- Worker data layer: apps/local-studio/backend/worker/work-schema.js, work-data.js (owner-scoped CRUD for tickets, projects, calendar events), work-sqlite-d1.js (node:sqlite D1 shim), work-data.test.mjs (7 passing). work-service.js delegates to it; snapshot adds source, capabilities, calendar events.
|
|
183
|
+
- packages/agentsam-work: contracts, client (createWorkCrud shared by all transports), new surfaces (Tickets queue/board/timeline + editor, Projects catalog + editor + delete dialog, ProjectDetail tabs, Calendar week/day/month with create/drag/edit, TimelineView), theme without literal colors (test enforces). tsc, build and package tests pass.
|
|
184
|
+
|
|
185
|
+
TODO, in order
|
|
186
|
+
1. apps/local-studio/frontend/src/components/work/LocalStudioWorkPage.tsx: add the new WorkHost methods to the desktop host using createWorkCrud(request) from @inneranimalmedia/agentsam-work/client; http host already inherits them. Remove the absolute-positioned AutoRAG button; pass it via WorkProduct headerActions (projects) and knowledgeAction (project detail). Fix the AutoRAG modal (agentsam-workbench/knowledge) so it shows no green checks before anything ran, and on web explains it runs in Local Studio Desktop.
|
|
187
|
+
2. packages/agentsam-desktop-shell/src-tauri/src/commands/local_identity.rs: allow /api/projects, /api/projects/:id, /api/calendar/events, /api/calendar/events/:id, and /api/work/snapshot with from/to/mail_connection params (also no-surface). Add them to the allowlist test list. Add a contract test that every createWorkCrud route is allowlisted.
|
|
188
|
+
3. Run apps/local-studio typecheck and vite build; fix type errors (apps/local-studio/backend/server/work/contracts.ts and service.ts also import Work types).
|
|
189
|
+
4. Local SQLite fallback for desktop when signed out or offline: run work-data.js over work-sqlite-d1.js in a node bridge (see packages/agentsam-database-editor/scripts/local-sqlite-bridge.mjs), route from the Rust "work" operation, snapshot source: "local", read-only cache when signed in and offline.
|
|
190
|
+
5. Google Calendar provider (capability googleCalendar): port google status/sync from inneranimalmedia src/api/calendar.js using the existing Google OAuth client; synced events are already read-only.
|
|
191
|
+
6. Delete apps/project-control once nothing imports it. Resolve work-graph private/public and add a tickets adapter.
|
|
192
|
+
7. Deploy worker, then desktop: cd packages/agentsam-desktop-shell && npm run bundle:app, install and click through tickets, projects and calendar on web and desktop.
|
|
193
|
+
|
|
194
|
+
## 15. Release receipt — 2026-10-15
|
|
195
|
+
|
|
196
|
+
- GitHub PR #215 merged to main at `5509b5eb`; work feature commit `7183f468`, mobile/desktop parity commit `1091ae39`.
|
|
197
|
+
- Cloudflare Worker `agentsam-sdk` deployed on `agentsam.inneranimalmedia.com` with version ID `4ffd9c5c-0ee3-4056-bf35-7ce744c78320`.
|
|
198
|
+
- Live unauthenticated smoke: `/projects` HTTP 200, `/tickets` HTTP 200; `/api/work/snapshot` HTTP 401 without a session (expected).
|
|
199
|
+
- Owner/backfill verified on production D1 after deployment: 666 tickets, 39 projects, 61 calendar events, zero NULL-owner rows in each (61 calendar total includes one separate user's event).
|
|
200
|
+
- Work UI: real project/ticket/calendar CRUD, ticket views, responsive Gantt, mobile Quick Create for task/project/event, project search and sorting, adjustable perceived completion and project color. The existing five-item mobile dock is preserved.
|
|
201
|
+
- Shared desktop transport uses `createWorkCrud(request)`; Rust Work route allowlist includes project/calendar CRUD and DELETE. The same Work UI package is used for web and desktop.
|
|
202
|
+
- Quality gates: Work package 8/8 tests; work-data 7/7 tests; frontend TS check passed; targeted Rust work bridge test passed; desktop asset build and headless desktop shell smoke passed; Cloudflare dry-run passed.
|
|
203
|
+
- iOS viewport check: explicit 390x844 device metrics, 390px document/shell/dock widths, five dock buttons, six fixture project cards. The fixture does not expose CRUD capability, so it cannot prove the blue Quick Create button interaction; authenticated iOS click-through remains an acceptance action.
|
|
204
|
+
- Tauri `.app` built for Apple Silicon, ad-hoc locally signed and zipped in `~/Downloads/AgentSam-Local-Studio-WorkV1-5509b5eb-macOS-arm64.zip`. Bundle verifies locally but is not Apple Developer-signed/notarized, and is NOT published to the updater. Treat as a local test installer, not a public release.
|
|
205
|
+
|
|
206
|
+
### Outstanding work (do not report as shipped)
|
|
207
|
+
1. Authenticated iPhone click-through of Tickets, Projects, + Quick Create and modal persistence; optimize any remaining rough interactions.
|
|
208
|
+
2. Installed desktop app sign-in and live account data acceptance: project/ticket create/edit/archive across desktop and web, same owner-scoped rows; confirm all new Rust paths through the installed service bridge.
|
|
209
|
+
3. Desktop offline/signed-out SQLite store and read-only signed-in cache. Do not create diverging signed-in datasets.
|
|
210
|
+
4. Google Calendar OAuth scope and event sync (Gmail connection already exists). Keep optional provider capabilities honest.
|
|
211
|
+
5. Milestones, reusable/versioned Templates, richer saved filters, verified progress and cross-project dependency presentation.
|
|
212
|
+
6. Real Apple signing/notarization and updater publication once credentials and release versioning exist. Do not promise automatic desktop updates before this.
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
# AgentSam Analytics
|
|
2
|
+
## Product Requirements Document
|
|
3
|
+
|
|
4
|
+
**Status:** Experimental
|
|
5
|
+
**Portfolio:** AgentSam
|
|
6
|
+
**Primary package/app composition:** see Package composition below
|
|
7
|
+
|
|
8
|
+
## Product vision
|
|
9
|
+
|
|
10
|
+
Explain what happened across AgentSam operations and business activity using portable read models, evidence-backed metrics, and decision-ready analysis rather than disconnected dashboards.
|
|
11
|
+
|
|
12
|
+
## Target users
|
|
13
|
+
|
|
14
|
+
- operators
|
|
15
|
+
- product teams
|
|
16
|
+
- commerce teams
|
|
17
|
+
- developers running AgentSam workflows
|
|
18
|
+
|
|
19
|
+
## Core jobs to be done
|
|
20
|
+
|
|
21
|
+
- understand operational performance
|
|
22
|
+
- understand commerce performance
|
|
23
|
+
- attribute AI/runtime cost
|
|
24
|
+
- inspect failures/retries
|
|
25
|
+
- compare trends and outcomes
|
|
26
|
+
|
|
27
|
+
## Product promise
|
|
28
|
+
|
|
29
|
+
> Explain what happened across AgentSam operations and business activity using portable read models, evidence-backed metrics, and decision-ready analysis rather than disconnected dashboards.
|
|
30
|
+
|
|
31
|
+
## Why this should exist as a real offer
|
|
32
|
+
|
|
33
|
+
- shared fact authority
|
|
34
|
+
- portable analytics UI
|
|
35
|
+
- commerce + agent operational visibility
|
|
36
|
+
- decision support
|
|
37
|
+
|
|
38
|
+
The offer is only valuable if users can complete these jobs end to end. Package publication, a demo screen, or an isolated API is not sufficient evidence of product value.
|
|
39
|
+
|
|
40
|
+
## What this product is not
|
|
41
|
+
|
|
42
|
+
- a raw log viewer
|
|
43
|
+
- a fabricated attribution engine
|
|
44
|
+
- a single-vendor analytics product
|
|
45
|
+
|
|
46
|
+
## Package composition
|
|
47
|
+
|
|
48
|
+
```text
|
|
49
|
+
agentsam-analytics
|
|
50
|
+
analytics-ui
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Packages are implementation ingredients. The product boundary is the user outcome described in this PRD.
|
|
54
|
+
|
|
55
|
+
## Product principles
|
|
56
|
+
|
|
57
|
+
1. Prefer user-recognizable operations over infrastructure-shaped APIs.
|
|
58
|
+
2. Preserve provider neutrality unless a provider-specific choice is the user's explicit goal.
|
|
59
|
+
3. Distinguish observed facts, inferred judgments, proposed actions, and executed changes.
|
|
60
|
+
4. Missing evidence reduces confidence instead of creating fabricated facts.
|
|
61
|
+
5. Writes to external systems require clear authorization and bounded scope.
|
|
62
|
+
6. The core workflow should remain usable without unnecessary custom UI.
|
|
63
|
+
7. Local and hosted forms should share domain contracts where practical.
|
|
64
|
+
8. Errors should preserve partial usefulness and explain recovery paths.
|
|
65
|
+
|
|
66
|
+
## Initial user workflow
|
|
67
|
+
|
|
68
|
+
```text
|
|
69
|
+
intent
|
|
70
|
+
|
|
|
71
|
+
v
|
|
72
|
+
context / evidence
|
|
73
|
+
|
|
|
74
|
+
v
|
|
75
|
+
plan or draft
|
|
76
|
+
|
|
|
77
|
+
v
|
|
78
|
+
inspect / evaluate
|
|
79
|
+
|
|
|
80
|
+
v
|
|
81
|
+
user decision or approval
|
|
82
|
+
|
|
|
83
|
+
v
|
|
84
|
+
optional action
|
|
85
|
+
|
|
|
86
|
+
v
|
|
87
|
+
receipt / artifact / learning
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
The exact steps vary by product, but the workflow should remain explicit and inspectable.
|
|
91
|
+
|
|
92
|
+
## Data and authority
|
|
93
|
+
|
|
94
|
+
This product must document:
|
|
95
|
+
|
|
96
|
+
- which records it owns;
|
|
97
|
+
- which external systems remain authoritative;
|
|
98
|
+
- provenance of consumed evidence;
|
|
99
|
+
- freshness/staleness behavior;
|
|
100
|
+
- authorization for writes;
|
|
101
|
+
- how local and hosted state reconcile, where applicable.
|
|
102
|
+
|
|
103
|
+
No product should silently claim authority over data owned by another domain.
|
|
104
|
+
|
|
105
|
+
## Distribution
|
|
106
|
+
|
|
107
|
+
- dashboard package
|
|
108
|
+
- Local Studio surface
|
|
109
|
+
- commerce/admin surface
|
|
110
|
+
- future plugin
|
|
111
|
+
|
|
112
|
+
Distribution may evolve, but every form should preserve the same core product promise.
|
|
113
|
+
|
|
114
|
+
## Packaging / monetization hypotheses
|
|
115
|
+
|
|
116
|
+
Potential real-world packaging may include:
|
|
117
|
+
|
|
118
|
+
- free core package or local capability;
|
|
119
|
+
- paid hosted convenience or managed runtime;
|
|
120
|
+
- paid team/collaboration features;
|
|
121
|
+
- premium packaged application;
|
|
122
|
+
- domain plugin/app distribution;
|
|
123
|
+
- support, implementation, or commercial deployment services;
|
|
124
|
+
- usage-based infrastructure only where the underlying cost scales with usage.
|
|
125
|
+
|
|
126
|
+
The final commercial model should follow observed adoption and cost structure rather than force every package into a subscription.
|
|
127
|
+
|
|
128
|
+
## Definition of v1
|
|
129
|
+
|
|
130
|
+
- canonical facts/read models
|
|
131
|
+
- commerce and AgentSam surfaces
|
|
132
|
+
- time-range/filter contracts
|
|
133
|
+
- cost/failure metrics
|
|
134
|
+
- explainable source provenance
|
|
135
|
+
|
|
136
|
+
## Acceptance suite
|
|
137
|
+
|
|
138
|
+
A v1 candidate should pass:
|
|
139
|
+
|
|
140
|
+
### Direct
|
|
141
|
+
A user explicitly asks for the product's primary job and reaches a useful outcome.
|
|
142
|
+
|
|
143
|
+
### Indirect
|
|
144
|
+
A user describes the underlying problem without using the product name; the workflow still activates appropriately.
|
|
145
|
+
|
|
146
|
+
### Sparse context
|
|
147
|
+
The product remains useful with minimal evidence and clearly states limitations.
|
|
148
|
+
|
|
149
|
+
### Rich context
|
|
150
|
+
Additional authorized evidence materially improves the result.
|
|
151
|
+
|
|
152
|
+
### Failure
|
|
153
|
+
A provider, source, or action fails and the product returns structured, recoverable behavior where possible.
|
|
154
|
+
|
|
155
|
+
### Authorization
|
|
156
|
+
A requested write exceeds current authority and is not silently executed.
|
|
157
|
+
|
|
158
|
+
### Out of scope
|
|
159
|
+
The product refuses or delegates work that belongs to another AgentSam domain instead of absorbing it.
|
|
160
|
+
|
|
161
|
+
## Success signals
|
|
162
|
+
|
|
163
|
+
Product quality should be measured by outcomes such as:
|
|
164
|
+
|
|
165
|
+
- successful completion of the core workflow;
|
|
166
|
+
- lower time/effort to reach the intended outcome;
|
|
167
|
+
- repeat use for the same job;
|
|
168
|
+
- successful recovery from missing data or provider failure;
|
|
169
|
+
- low rate of unauthorized or incorrect actions;
|
|
170
|
+
- evidence that users prefer the integrated offer over manually combining generic tools.
|
|
171
|
+
|
|
172
|
+
## Graduation rule
|
|
173
|
+
|
|
174
|
+
This product should not be called v1 until it satisfies `ADR-0005-offer-graduation-standard.md`.
|