@bendyline/gilde 0.3.3 → 0.3.5
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/authoring/page-demo-bootstrap.js +151 -7
- package/data/craftbook-templates/au/audit-evidence-pack/manifest.json +28 -0
- package/data/craftbook-templates/au/audit-evidence-pack/versions/1.0.0/craftbook.json +197 -0
- package/data/craftbook-templates/au/audit-evidence-pack/versions/1.0.0/test.json +101 -0
- package/data/craftbook-templates/index.json +1 -1
- package/data/craftbook-templates/raw-index.json +1 -1
- package/data/craftbook-templates/re/reorder-run/manifest.json +28 -0
- package/data/craftbook-templates/re/reorder-run/versions/1.0.0/craftbook.json +205 -0
- package/data/craftbook-templates/re/reorder-run/versions/1.0.0/test.json +125 -0
- package/data/craftbook-templates/re/review-reply-batch/manifest.json +27 -0
- package/data/craftbook-templates/re/review-reply-batch/versions/1.0.0/craftbook.json +208 -0
- package/data/craftbook-templates/re/review-reply-batch/versions/1.0.0/test.json +127 -0
- package/data/craftbook-templates/ru/run-of-show/manifest.json +29 -0
- package/data/craftbook-templates/ru/run-of-show/versions/1.0.0/craftbook.json +205 -0
- package/data/craftbook-templates/ru/run-of-show/versions/1.0.0/test.json +111 -0
- package/data/craftbook-templates/st/structured-interview-kit/manifest.json +28 -0
- package/data/craftbook-templates/st/structured-interview-kit/versions/1.0.0/craftbook.json +213 -0
- package/data/craftbook-templates/st/structured-interview-kit/versions/1.0.0/test.json +123 -0
- package/data/craftbook-templates/we/weekly-schedule-draft/manifest.json +28 -0
- package/data/craftbook-templates/we/weekly-schedule-draft/versions/1.0.0/craftbook.json +213 -0
- package/data/craftbook-templates/we/weekly-schedule-draft/versions/1.0.0/test.json +119 -0
- package/data/gezel-templates/ac/account-manager/manifest.json +21 -0
- package/data/gezel-templates/ac/account-manager/versions/1.0.0/about.md +23 -0
- package/data/gezel-templates/ac/account-manager/versions/1.0.0/manifest.json +10 -0
- package/data/gezel-templates/bo/bookkeeper/manifest.json +21 -0
- package/data/gezel-templates/bo/bookkeeper/versions/1.0.0/about.md +29 -0
- package/data/gezel-templates/bo/bookkeeper/versions/1.0.0/manifest.json +10 -0
- package/data/gezel-templates/ca/campaign-manager/manifest.json +21 -0
- package/data/gezel-templates/ca/campaign-manager/versions/1.0.0/about.md +23 -0
- package/data/gezel-templates/ca/campaign-manager/versions/1.0.0/manifest.json +10 -0
- package/data/gezel-templates/co/compliance-officer/manifest.json +21 -0
- package/data/gezel-templates/co/compliance-officer/versions/1.0.0/about.md +20 -0
- package/data/gezel-templates/co/compliance-officer/versions/1.0.0/manifest.json +10 -0
- package/data/gezel-templates/es/estimator/manifest.json +21 -0
- package/data/gezel-templates/es/estimator/versions/1.0.0/about.md +25 -0
- package/data/gezel-templates/es/estimator/versions/1.0.0/manifest.json +10 -0
- package/data/gezel-templates/index.json +1 -1
- package/data/gezel-templates/ma/maaltijdplanner/versions/1.0.2/about.md +23 -0
- package/data/gezel-templates/ma/maaltijdplanner/versions/1.0.2/manifest.json +10 -0
- package/data/gezel-templates/ma/managing-editor/manifest.json +21 -0
- package/data/gezel-templates/ma/managing-editor/versions/1.0.0/about.md +22 -0
- package/data/gezel-templates/ma/managing-editor/versions/1.0.0/manifest.json +10 -0
- package/data/gezel-templates/raw-index.json +1 -1
- package/data/gezel-templates/re/recruiter/manifest.json +21 -0
- package/data/gezel-templates/re/recruiter/versions/1.0.0/about.md +27 -0
- package/data/gezel-templates/re/recruiter/versions/1.0.0/manifest.json +10 -0
- package/data/gezel-templates/sh/shift-scheduler/manifest.json +21 -0
- package/data/gezel-templates/sh/shift-scheduler/versions/1.0.0/about.md +23 -0
- package/data/gezel-templates/sh/shift-scheduler/versions/1.0.0/manifest.json +10 -0
- package/data/gezel-templates/st/stock-keeper/manifest.json +21 -0
- package/data/gezel-templates/st/stock-keeper/versions/1.0.0/about.md +20 -0
- package/data/gezel-templates/st/stock-keeper/versions/1.0.0/manifest.json +10 -0
- package/data/gezel-templates/su/support-lead/manifest.json +21 -0
- package/data/gezel-templates/su/support-lead/versions/1.0.0/about.md +22 -0
- package/data/gezel-templates/su/support-lead/versions/1.0.0/manifest.json +10 -0
- package/data/gezel-templates/tr/training-coordinator/manifest.json +21 -0
- package/data/gezel-templates/tr/training-coordinator/versions/1.0.0/about.md +20 -0
- package/data/gezel-templates/tr/training-coordinator/versions/1.0.0/manifest.json +10 -0
- package/data/project-types/bo/books-and-close/art.json +17 -0
- package/data/project-types/bo/books-and-close/logo.webp +0 -0
- package/data/project-types/bo/books-and-close/manifest.json +26 -0
- package/data/project-types/bo/books-and-close/versions/1.0.0/about.md +16 -0
- package/data/project-types/bo/books-and-close/versions/1.0.0/close.json +8 -0
- package/data/project-types/bo/books-and-close/versions/1.0.0/ledger.json +5 -0
- package/data/project-types/bo/books-and-close/versions/1.0.0/manifest.json +496 -0
- package/data/project-types/bo/books-and-close/versions/1.0.0/mission.md +5 -0
- package/data/project-types/bo/books-and-close/versions/1.0.0/pages/books/application.js +314 -0
- package/data/project-types/bo/books-and-close/versions/1.0.0/pages/books/demo-chat.js +515 -0
- package/data/project-types/bo/books-and-close/versions/1.0.0/pages/books/index.html +821 -0
- package/data/project-types/ca/campaign-room/art.json +17 -0
- package/data/project-types/ca/campaign-room/logo.webp +0 -0
- package/data/project-types/ca/campaign-room/manifest.json +21 -0
- package/data/project-types/ca/campaign-room/versions/1.0.0/about.md +13 -0
- package/data/project-types/ca/campaign-room/versions/1.0.0/assets.json +11 -0
- package/data/project-types/ca/campaign-room/versions/1.0.0/campaign.json +13 -0
- package/data/project-types/ca/campaign-room/versions/1.0.0/manifest.json +610 -0
- package/data/project-types/ca/campaign-room/versions/1.0.0/mission.md +6 -0
- package/data/project-types/ca/campaign-room/versions/1.0.0/pages/campaign/application.js +269 -0
- package/data/project-types/ca/campaign-room/versions/1.0.0/pages/campaign/demo-chat.js +290 -0
- package/data/project-types/ca/campaign-room/versions/1.0.0/pages/campaign/index.html +584 -0
- package/data/project-types/ca/campaign-room/versions/1.0.0/results.json +4 -0
- package/data/project-types/ca/caregiving-binder/versions/1.1.4/about.md +7 -0
- package/data/project-types/ca/caregiving-binder/versions/1.1.4/care.json +4 -0
- package/data/project-types/ca/caregiving-binder/versions/1.1.4/manifest.json +232 -0
- package/data/project-types/ca/caregiving-binder/versions/1.1.4/meds.json +8 -0
- package/data/project-types/ca/caregiving-binder/versions/1.1.4/mission.md +7 -0
- package/data/project-types/ca/caregiving-binder/versions/1.1.4/pages/dashboard/application.js +78 -0
- package/data/project-types/ca/caregiving-binder/versions/1.1.4/pages/dashboard/demo-chat.js +224 -0
- package/data/project-types/ca/caregiving-binder/versions/1.1.4/pages/dashboard/index.html +279 -0
- package/data/project-types/ca/cash-flow-planner/art.json +17 -0
- package/data/project-types/ca/cash-flow-planner/logo.webp +0 -0
- package/data/project-types/ca/cash-flow-planner/manifest.json +25 -0
- package/data/project-types/ca/cash-flow-planner/versions/1.0.0/about.md +15 -0
- package/data/project-types/ca/cash-flow-planner/versions/1.0.0/cashflow.json +11 -0
- package/data/project-types/ca/cash-flow-planner/versions/1.0.0/manifest.json +443 -0
- package/data/project-types/ca/cash-flow-planner/versions/1.0.0/mission.md +6 -0
- package/data/project-types/ca/cash-flow-planner/versions/1.0.0/pages/forecast/application.js +314 -0
- package/data/project-types/ca/cash-flow-planner/versions/1.0.0/pages/forecast/demo-chat.js +517 -0
- package/data/project-types/ca/cash-flow-planner/versions/1.0.0/pages/forecast/index.html +812 -0
- package/data/project-types/ch/checkers/versions/1.2.7/about.md +9 -0
- package/data/project-types/ch/checkers/versions/1.2.7/game.json +77 -0
- package/data/project-types/ch/checkers/versions/1.2.7/manifest.json +182 -0
- package/data/project-types/ch/checkers/versions/1.2.7/mission.md +9 -0
- package/data/project-types/ch/checkers/versions/1.2.7/pages/board/application.js +31 -0
- package/data/project-types/ch/checkers/versions/1.2.7/pages/board/demo-chat.js +252 -0
- package/data/project-types/ch/checkers/versions/1.2.7/pages/board/index.html +1330 -0
- package/data/project-types/ch/chess/versions/1.0.9/about.md +9 -0
- package/data/project-types/ch/chess/versions/1.0.9/game.json +127 -0
- package/data/project-types/ch/chess/versions/1.0.9/manifest.json +196 -0
- package/data/project-types/ch/chess/versions/1.0.9/mission.md +8 -0
- package/data/project-types/ch/chess/versions/1.0.9/pages/board/application.js +31 -0
- package/data/project-types/ch/chess/versions/1.0.9/pages/board/demo-chat.js +359 -0
- package/data/project-types/ch/chess/versions/1.0.9/pages/board/index.html +1141 -0
- package/data/project-types/cl/client-delivery/art.json +17 -0
- package/data/project-types/cl/client-delivery/logo.webp +0 -0
- package/data/project-types/cl/client-delivery/manifest.json +23 -0
- package/data/project-types/cl/client-delivery/versions/1.0.0/about.md +13 -0
- package/data/project-types/cl/client-delivery/versions/1.0.0/manifest.json +376 -0
- package/data/project-types/cl/client-delivery/versions/1.0.0/milestones.json +10 -0
- package/data/project-types/cl/client-delivery/versions/1.0.0/mission.md +5 -0
- package/data/project-types/cl/client-delivery/versions/1.0.0/pages/delivery/application.js +176 -0
- package/data/project-types/cl/client-delivery/versions/1.0.0/pages/delivery/demo-chat.js +185 -0
- package/data/project-types/cl/client-delivery/versions/1.0.0/pages/delivery/index.html +546 -0
- package/data/project-types/cl/client-delivery/versions/1.0.0/projects.json +10 -0
- package/data/project-types/co/compliance-register/art.json +17 -0
- package/data/project-types/co/compliance-register/logo.webp +0 -0
- package/data/project-types/co/compliance-register/manifest.json +23 -0
- package/data/project-types/co/compliance-register/versions/1.0.0/about.md +12 -0
- package/data/project-types/co/compliance-register/versions/1.0.0/evidence.json +4 -0
- package/data/project-types/co/compliance-register/versions/1.0.0/manifest.json +361 -0
- package/data/project-types/co/compliance-register/versions/1.0.0/mission.md +5 -0
- package/data/project-types/co/compliance-register/versions/1.0.0/obligations.json +9 -0
- package/data/project-types/co/compliance-register/versions/1.0.0/pages/register/application.js +152 -0
- package/data/project-types/co/compliance-register/versions/1.0.0/pages/register/demo-chat.js +156 -0
- package/data/project-types/co/compliance-register/versions/1.0.0/pages/register/index.html +355 -0
- package/data/project-types/co/content-studio/art.json +17 -0
- package/data/project-types/co/content-studio/logo.webp +0 -0
- package/data/project-types/co/content-studio/manifest.json +23 -0
- package/data/project-types/co/content-studio/versions/1.0.0/about.md +12 -0
- package/data/project-types/co/content-studio/versions/1.0.0/calendar.json +10 -0
- package/data/project-types/co/content-studio/versions/1.0.0/manifest.json +541 -0
- package/data/project-types/co/content-studio/versions/1.0.0/mission.md +6 -0
- package/data/project-types/co/content-studio/versions/1.0.0/pages/studio/application.js +226 -0
- package/data/project-types/co/content-studio/versions/1.0.0/pages/studio/demo-chat.js +247 -0
- package/data/project-types/co/content-studio/versions/1.0.0/pages/studio/index.html +436 -0
- package/data/project-types/co/content-studio/versions/1.0.0/pieces.json +12 -0
- package/data/project-types/cu/customer-voice/art.json +17 -0
- package/data/project-types/cu/customer-voice/logo.webp +0 -0
- package/data/project-types/cu/customer-voice/manifest.json +21 -0
- package/data/project-types/cu/customer-voice/versions/1.0.0/about.md +15 -0
- package/data/project-types/cu/customer-voice/versions/1.0.0/actions.json +9 -0
- package/data/project-types/cu/customer-voice/versions/1.0.0/feedback.json +4 -0
- package/data/project-types/cu/customer-voice/versions/1.0.0/manifest.json +512 -0
- package/data/project-types/cu/customer-voice/versions/1.0.0/mission.md +6 -0
- package/data/project-types/cu/customer-voice/versions/1.0.0/pages/voice/application.js +173 -0
- package/data/project-types/cu/customer-voice/versions/1.0.0/pages/voice/demo-chat.js +276 -0
- package/data/project-types/cu/customer-voice/versions/1.0.0/pages/voice/index.html +781 -0
- package/data/project-types/cu/customer-voice/versions/1.0.0/themes.json +8 -0
- package/data/project-types/da/data-analysis/versions/1.0.2/about.md +20 -0
- package/data/project-types/da/data-analysis/versions/1.0.2/manifest.json +70 -0
- package/data/project-types/da/data-analysis/versions/1.0.2/mission.md +4 -0
- package/data/project-types/da/data-analysis/versions/1.0.2/pages/analytics.js +63 -0
- package/data/project-types/da/data-analysis/versions/1.0.2/pages/application.js +31 -0
- package/data/project-types/da/data-analysis/versions/1.0.2/pages/dashboard.css +86 -0
- package/data/project-types/da/data-analysis/versions/1.0.2/pages/dashboard.js +160 -0
- package/data/project-types/da/data-analysis/versions/1.0.2/pages/datasets.js +44 -0
- package/data/project-types/da/data-analysis/versions/1.0.2/pages/demo-chat.js +181 -0
- package/data/project-types/da/data-analysis/versions/1.0.2/pages/demo.js +27 -0
- package/data/project-types/da/data-analysis/versions/1.0.2/pages/index.html +120 -0
- package/data/project-types/da/data-analysis/versions/1.0.2/pages/insights.js +122 -0
- package/data/project-types/de/design-scheme/versions/1.0.4/about.md +6 -0
- package/data/project-types/de/design-scheme/versions/1.0.4/manifest.json +95 -0
- package/data/project-types/de/design-scheme/versions/1.0.4/mission.md +3 -0
- package/data/project-types/de/design-scheme/versions/1.0.4/pages/gallery/application.js +56 -0
- package/data/project-types/de/design-scheme/versions/1.0.4/pages/gallery/demo-chat.js +236 -0
- package/data/project-types/de/design-scheme/versions/1.0.4/pages/gallery/index.html +151 -0
- package/data/project-types/de/design-scheme/versions/1.0.4/schemes/index.json +9 -0
- package/data/project-types/de/design-scheme/versions/1.0.4/schemes/warm-dusk.json +4 -0
- package/data/project-types/ev/event-desk/art.json +17 -0
- package/data/project-types/ev/event-desk/logo.webp +0 -0
- package/data/project-types/ev/event-desk/manifest.json +23 -0
- package/data/project-types/ev/event-desk/versions/1.0.0/about.md +14 -0
- package/data/project-types/ev/event-desk/versions/1.0.0/budget.json +5 -0
- package/data/project-types/ev/event-desk/versions/1.0.0/event.json +12 -0
- package/data/project-types/ev/event-desk/versions/1.0.0/guests.json +9 -0
- package/data/project-types/ev/event-desk/versions/1.0.0/manifest.json +785 -0
- package/data/project-types/ev/event-desk/versions/1.0.0/mission.md +7 -0
- package/data/project-types/ev/event-desk/versions/1.0.0/pages/desk/application.js +915 -0
- package/data/project-types/ev/event-desk/versions/1.0.0/pages/desk/demo-chat.js +229 -0
- package/data/project-types/ev/event-desk/versions/1.0.0/pages/desk/index.html +817 -0
- package/data/project-types/ev/event-desk/versions/1.0.0/vendors.json +10 -0
- package/data/project-types/ev/event-desk/versions/1.0.0/venues.json +11 -0
- package/data/project-types/ev/event-planner/versions/1.0.5/about.md +7 -0
- package/data/project-types/ev/event-planner/versions/1.0.5/budget.json +5 -0
- package/data/project-types/ev/event-planner/versions/1.0.5/guests.json +10 -0
- package/data/project-types/ev/event-planner/versions/1.0.5/manifest.json +260 -0
- package/data/project-types/ev/event-planner/versions/1.0.5/mission.md +6 -0
- package/data/project-types/ev/event-planner/versions/1.0.5/pages/dashboard/application.js +133 -0
- package/data/project-types/ev/event-planner/versions/1.0.5/pages/dashboard/demo-chat.js +231 -0
- package/data/project-types/ev/event-planner/versions/1.0.5/pages/dashboard/index.html +250 -0
- package/data/project-types/fi/fitness-coach/versions/1.1.2/about.md +8 -0
- package/data/project-types/fi/fitness-coach/versions/1.1.2/craftbooks/training-recap.json +34 -0
- package/data/project-types/fi/fitness-coach/versions/1.1.2/manifest.json +249 -0
- package/data/project-types/fi/fitness-coach/versions/1.1.2/mission.md +7 -0
- package/data/project-types/fi/fitness-coach/versions/1.1.2/pages/dashboard/application.js +48 -0
- package/data/project-types/fi/fitness-coach/versions/1.1.2/pages/dashboard/demo-chat.js +250 -0
- package/data/project-types/fi/fitness-coach/versions/1.1.2/pages/dashboard/index.html +375 -0
- package/data/project-types/fi/fitness-coach/versions/1.1.2/training.json +6 -0
- package/data/project-types/fl/flashcards/manifest.json +3 -1
- package/data/project-types/fl/flashcards/versions/1.2.3/about.md +8 -0
- package/data/project-types/fl/flashcards/versions/1.2.3/deck.json +7 -0
- package/data/project-types/fl/flashcards/versions/1.2.3/manifest.json +243 -0
- package/data/project-types/fl/flashcards/versions/1.2.3/mission.md +6 -0
- package/data/project-types/fl/flashcards/versions/1.2.3/pages/review/application.js +52 -0
- package/data/project-types/fl/flashcards/versions/1.2.3/pages/review/index.html +475 -0
- package/data/project-types/fl/flashcards/versions/1.2.4/about.md +8 -0
- package/data/project-types/fl/flashcards/versions/1.2.4/deck.json +7 -0
- package/data/project-types/fl/flashcards/versions/1.2.4/manifest.json +243 -0
- package/data/project-types/fl/flashcards/versions/1.2.4/mission.md +6 -0
- package/data/project-types/fl/flashcards/versions/1.2.4/pages/review/application.js +52 -0
- package/data/project-types/fl/flashcards/versions/1.2.4/pages/review/demo-chat.js +331 -0
- package/data/project-types/fl/flashcards/versions/1.2.4/pages/review/index.html +560 -0
- package/data/project-types/fr/freelance-office/versions/1.0.5/about.md +6 -0
- package/data/project-types/fr/freelance-office/versions/1.0.5/invoices.json +9 -0
- package/data/project-types/fr/freelance-office/versions/1.0.5/manifest.json +215 -0
- package/data/project-types/fr/freelance-office/versions/1.0.5/mission.md +6 -0
- package/data/project-types/fr/freelance-office/versions/1.0.5/pages/dashboard/application.js +110 -0
- package/data/project-types/fr/freelance-office/versions/1.0.5/pages/dashboard/demo-chat.js +244 -0
- package/data/project-types/fr/freelance-office/versions/1.0.5/pages/dashboard/index.html +232 -0
- package/data/project-types/fu/fundraiser-hq/versions/1.0.5/about.md +7 -0
- package/data/project-types/fu/fundraiser-hq/versions/1.0.5/donations.json +7 -0
- package/data/project-types/fu/fundraiser-hq/versions/1.0.5/manifest.json +175 -0
- package/data/project-types/fu/fundraiser-hq/versions/1.0.5/mission.md +6 -0
- package/data/project-types/fu/fundraiser-hq/versions/1.0.5/pages/dashboard/application.js +74 -0
- package/data/project-types/fu/fundraiser-hq/versions/1.0.5/pages/dashboard/demo-chat.js +171 -0
- package/data/project-types/fu/fundraiser-hq/versions/1.0.5/pages/dashboard/index.html +208 -0
- package/data/project-types/go/go/versions/1.0.7/about.md +9 -0
- package/data/project-types/go/go/versions/1.0.7/game.json +103 -0
- package/data/project-types/go/go/versions/1.0.7/manifest.json +182 -0
- package/data/project-types/go/go/versions/1.0.7/mission.md +8 -0
- package/data/project-types/go/go/versions/1.0.7/pages/board/application.js +31 -0
- package/data/project-types/go/go/versions/1.0.7/pages/board/demo-chat.js +302 -0
- package/data/project-types/go/go/versions/1.0.7/pages/board/index.html +943 -0
- package/data/project-types/gr/grants-and-proposals/art.json +17 -0
- package/data/project-types/gr/grants-and-proposals/logo.webp +0 -0
- package/data/project-types/gr/grants-and-proposals/manifest.json +20 -0
- package/data/project-types/gr/grants-and-proposals/versions/1.0.0/about.md +14 -0
- package/data/project-types/gr/grants-and-proposals/versions/1.0.0/manifest.json +549 -0
- package/data/project-types/gr/grants-and-proposals/versions/1.0.0/mission.md +6 -0
- package/data/project-types/gr/grants-and-proposals/versions/1.0.0/opportunities.json +12 -0
- package/data/project-types/gr/grants-and-proposals/versions/1.0.0/pages/grants/application.js +230 -0
- package/data/project-types/gr/grants-and-proposals/versions/1.0.0/pages/grants/demo-chat.js +197 -0
- package/data/project-types/gr/grants-and-proposals/versions/1.0.0/pages/grants/index.html +453 -0
- package/data/project-types/gr/grants-and-proposals/versions/1.0.0/requirements.json +8 -0
- package/data/project-types/hi/hiring-desk/art.json +17 -0
- package/data/project-types/hi/hiring-desk/logo.webp +0 -0
- package/data/project-types/hi/hiring-desk/manifest.json +22 -0
- package/data/project-types/hi/hiring-desk/versions/1.0.0/about.md +20 -0
- package/data/project-types/hi/hiring-desk/versions/1.0.0/candidates.json +12 -0
- package/data/project-types/hi/hiring-desk/versions/1.0.0/feedback.json +4 -0
- package/data/project-types/hi/hiring-desk/versions/1.0.0/manifest.json +428 -0
- package/data/project-types/hi/hiring-desk/versions/1.0.0/mission.md +5 -0
- package/data/project-types/hi/hiring-desk/versions/1.0.0/pages/desk/application.js +231 -0
- package/data/project-types/hi/hiring-desk/versions/1.0.0/pages/desk/demo-chat.js +231 -0
- package/data/project-types/hi/hiring-desk/versions/1.0.0/pages/desk/index.html +476 -0
- package/data/project-types/hi/hiring-desk/versions/1.0.0/roles.json +10 -0
- package/data/project-types/ho/household-budget/versions/1.0.6/about.md +6 -0
- package/data/project-types/ho/household-budget/versions/1.0.6/ledger.json +5 -0
- package/data/project-types/ho/household-budget/versions/1.0.6/manifest.json +191 -0
- package/data/project-types/ho/household-budget/versions/1.0.6/mission.md +5 -0
- package/data/project-types/ho/household-budget/versions/1.0.6/pages/dashboard/application.js +62 -0
- package/data/project-types/ho/household-budget/versions/1.0.6/pages/dashboard/demo-chat.js +207 -0
- package/data/project-types/ho/household-budget/versions/1.0.6/pages/dashboard/index.html +298 -0
- package/data/project-types/ho/household-manual/versions/1.0.5/about.md +7 -0
- package/data/project-types/ho/household-manual/versions/1.0.5/manifest.json +236 -0
- package/data/project-types/ho/household-manual/versions/1.0.5/mission.md +8 -0
- package/data/project-types/ho/household-manual/versions/1.0.5/pages/dashboard/application.js +125 -0
- package/data/project-types/ho/household-manual/versions/1.0.5/pages/dashboard/demo-chat.js +178 -0
- package/data/project-types/ho/household-manual/versions/1.0.5/pages/dashboard/index.html +250 -0
- package/data/project-types/ho/household-manual/versions/1.0.5/systems.json +8 -0
- package/data/project-types/im/image-feed/versions/1.0.4/about.md +21 -0
- package/data/project-types/im/image-feed/versions/1.0.4/manifest.json +330 -0
- package/data/project-types/im/image-feed/versions/1.0.4/mission.md +10 -0
- package/data/project-types/im/image-feed/versions/1.0.4/pages/gallery/application.js +32 -0
- package/data/project-types/im/image-feed/versions/1.0.4/pages/gallery/demo-chat.js +269 -0
- package/data/project-types/im/image-feed/versions/1.0.4/pages/gallery/index.html +800 -0
- package/data/project-types/im/image-feed/versions/1.0.4/posts/index.json +4 -0
- package/data/project-types/im/image-feed/versions/1.0.4/style-guide.md +24 -0
- package/data/project-types/in/inventory-reorder/art.json +17 -0
- package/data/project-types/in/inventory-reorder/logo.webp +0 -0
- package/data/project-types/in/inventory-reorder/manifest.json +22 -0
- package/data/project-types/in/inventory-reorder/versions/1.0.0/about.md +12 -0
- package/data/project-types/in/inventory-reorder/versions/1.0.0/items.json +9 -0
- package/data/project-types/in/inventory-reorder/versions/1.0.0/manifest.json +381 -0
- package/data/project-types/in/inventory-reorder/versions/1.0.0/mission.md +6 -0
- package/data/project-types/in/inventory-reorder/versions/1.0.0/orders.json +10 -0
- package/data/project-types/in/inventory-reorder/versions/1.0.0/pages/stock/application.js +217 -0
- package/data/project-types/in/inventory-reorder/versions/1.0.0/pages/stock/demo-chat.js +200 -0
- package/data/project-types/in/inventory-reorder/versions/1.0.0/pages/stock/index.html +321 -0
- package/data/project-types/in/inventory-reorder/versions/1.0.0/pages/stock/rules.js +665 -0
- package/data/project-types/index.json +1 -1
- package/data/project-types/jo/job-hunt/versions/1.0.6/about.md +10 -0
- package/data/project-types/jo/job-hunt/versions/1.0.6/activity.json +4 -0
- package/data/project-types/jo/job-hunt/versions/1.0.6/manifest.json +296 -0
- package/data/project-types/jo/job-hunt/versions/1.0.6/mission.md +9 -0
- package/data/project-types/jo/job-hunt/versions/1.0.6/pages/dashboard/application.js +120 -0
- package/data/project-types/jo/job-hunt/versions/1.0.6/pages/dashboard/demo-chat.js +176 -0
- package/data/project-types/jo/job-hunt/versions/1.0.6/pages/dashboard/index.html +382 -0
- package/data/project-types/jo/job-hunt/versions/1.0.6/pipeline.json +6 -0
- package/data/project-types/la/language-trainer/versions/1.1.2/about.md +8 -0
- package/data/project-types/la/language-trainer/versions/1.1.2/manifest.json +245 -0
- package/data/project-types/la/language-trainer/versions/1.1.2/mission.md +4 -0
- package/data/project-types/la/language-trainer/versions/1.1.2/pages/dashboard/application.js +33 -0
- package/data/project-types/la/language-trainer/versions/1.1.2/pages/dashboard/demo-chat.js +439 -0
- package/data/project-types/la/language-trainer/versions/1.1.2/pages/dashboard/index.html +476 -0
- package/data/project-types/la/language-trainer/versions/1.1.2/progress.json +10 -0
- package/data/project-types/la/language-trainer/versions/1.1.2/reviews.json +3 -0
- package/data/project-types/la/language-trainer/versions/1.1.2/scenarios.json +84 -0
- package/data/project-types/li/life-binder/versions/1.0.6/about.md +7 -0
- package/data/project-types/li/life-binder/versions/1.0.6/documents.json +145 -0
- package/data/project-types/li/life-binder/versions/1.0.6/manifest.json +206 -0
- package/data/project-types/li/life-binder/versions/1.0.6/mission.md +6 -0
- package/data/project-types/li/life-binder/versions/1.0.6/pages/dashboard/application.js +100 -0
- package/data/project-types/li/life-binder/versions/1.0.6/pages/dashboard/demo-chat.js +184 -0
- package/data/project-types/li/life-binder/versions/1.0.6/pages/dashboard/index.html +239 -0
- package/data/project-types/me/meal-planner/versions/1.0.5/about.md +10 -0
- package/data/project-types/me/meal-planner/versions/1.0.5/manifest.json +245 -0
- package/data/project-types/me/meal-planner/versions/1.0.5/menu.json +5 -0
- package/data/project-types/me/meal-planner/versions/1.0.5/mission.md +5 -0
- package/data/project-types/me/meal-planner/versions/1.0.5/pages/dashboard/application.js +115 -0
- package/data/project-types/me/meal-planner/versions/1.0.5/pages/dashboard/demo-chat.js +139 -0
- package/data/project-types/me/meal-planner/versions/1.0.5/pages/dashboard/index.html +186 -0
- package/data/project-types/me/meal-planner/versions/1.0.5/pantry.json +9 -0
- package/data/project-types/me/media-library/versions/1.0.2/about.md +17 -0
- package/data/project-types/me/media-library/versions/1.0.2/manifest.json +73 -0
- package/data/project-types/me/media-library/versions/1.0.2/mission.md +6 -0
- package/data/project-types/me/media-library/versions/1.0.2/pages/application.js +30 -0
- package/data/project-types/me/media-library/versions/1.0.2/pages/assets/alpine.svg +1 -0
- package/data/project-types/me/media-library/versions/1.0.2/pages/assets/coast.svg +1 -0
- package/data/project-types/me/media-library/versions/1.0.2/pages/assets/evening.svg +1 -0
- package/data/project-types/me/media-library/versions/1.0.2/pages/assets/forest.svg +1 -0
- package/data/project-types/me/media-library/versions/1.0.2/pages/assets/light.webm +0 -0
- package/data/project-types/me/media-library/versions/1.0.2/pages/assets/notes.wav +0 -0
- package/data/project-types/me/media-library/versions/1.0.2/pages/assets/study.svg +1 -0
- package/data/project-types/me/media-library/versions/1.0.2/pages/gallery.css +76 -0
- package/data/project-types/me/media-library/versions/1.0.2/pages/gallery.js +153 -0
- package/data/project-types/me/media-library/versions/1.0.2/pages/index.html +49 -0
- package/data/project-types/me/media-library/versions/1.0.2/pages/media-files.js +41 -0
- package/data/project-types/ne/new-hire-onboarding/art.json +17 -0
- package/data/project-types/ne/new-hire-onboarding/logo.webp +0 -0
- package/data/project-types/ne/new-hire-onboarding/manifest.json +23 -0
- package/data/project-types/ne/new-hire-onboarding/versions/1.0.0/about.md +14 -0
- package/data/project-types/ne/new-hire-onboarding/versions/1.0.0/hires.json +8 -0
- package/data/project-types/ne/new-hire-onboarding/versions/1.0.0/manifest.json +325 -0
- package/data/project-types/ne/new-hire-onboarding/versions/1.0.0/mission.md +5 -0
- package/data/project-types/ne/new-hire-onboarding/versions/1.0.0/pages/plans/application.js +160 -0
- package/data/project-types/ne/new-hire-onboarding/versions/1.0.0/pages/plans/demo-chat.js +188 -0
- package/data/project-types/ne/new-hire-onboarding/versions/1.0.0/pages/plans/index.html +391 -0
- package/data/project-types/ne/new-hire-onboarding/versions/1.0.0/tasks.json +8 -0
- package/data/project-types/no/novel-writing-room/versions/1.0.5/about.md +7 -0
- package/data/project-types/no/novel-writing-room/versions/1.0.5/chapters.json +10 -0
- package/data/project-types/no/novel-writing-room/versions/1.0.5/manifest.json +233 -0
- package/data/project-types/no/novel-writing-room/versions/1.0.5/mission.md +7 -0
- package/data/project-types/no/novel-writing-room/versions/1.0.5/pages/dashboard/application.js +113 -0
- package/data/project-types/no/novel-writing-room/versions/1.0.5/pages/dashboard/demo-chat.js +283 -0
- package/data/project-types/no/novel-writing-room/versions/1.0.5/pages/dashboard/index.html +253 -0
- package/data/project-types/no/novel-writing-room/versions/1.0.5/sessions.json +6 -0
- package/data/project-types/qu/quotes-and-bids/art.json +17 -0
- package/data/project-types/qu/quotes-and-bids/logo.webp +0 -0
- package/data/project-types/qu/quotes-and-bids/manifest.json +22 -0
- package/data/project-types/qu/quotes-and-bids/versions/1.0.0/about.md +15 -0
- package/data/project-types/qu/quotes-and-bids/versions/1.0.0/manifest.json +614 -0
- package/data/project-types/qu/quotes-and-bids/versions/1.0.0/mission.md +3 -0
- package/data/project-types/qu/quotes-and-bids/versions/1.0.0/pages/quotes/application.js +278 -0
- package/data/project-types/qu/quotes-and-bids/versions/1.0.0/pages/quotes/demo-chat.js +263 -0
- package/data/project-types/qu/quotes-and-bids/versions/1.0.0/pages/quotes/index.html +894 -0
- package/data/project-types/qu/quotes-and-bids/versions/1.0.0/quotes.json +10 -0
- package/data/project-types/qu/quotes-and-bids/versions/1.0.0/rates.json +8 -0
- package/data/project-types/raw-index.json +1 -1
- package/data/project-types/sa/sales-pipeline/art.json +17 -0
- package/data/project-types/sa/sales-pipeline/logo.webp +0 -0
- package/data/project-types/sa/sales-pipeline/manifest.json +23 -0
- package/data/project-types/sa/sales-pipeline/versions/1.0.0/about.md +10 -0
- package/data/project-types/sa/sales-pipeline/versions/1.0.0/activity.json +4 -0
- package/data/project-types/sa/sales-pipeline/versions/1.0.0/deals.json +12 -0
- package/data/project-types/sa/sales-pipeline/versions/1.0.0/manifest.json +450 -0
- package/data/project-types/sa/sales-pipeline/versions/1.0.0/mission.md +3 -0
- package/data/project-types/sa/sales-pipeline/versions/1.0.0/pages/pipeline/application.js +183 -0
- package/data/project-types/sa/sales-pipeline/versions/1.0.0/pages/pipeline/demo-chat.js +219 -0
- package/data/project-types/sa/sales-pipeline/versions/1.0.0/pages/pipeline/index.html +668 -0
- package/data/project-types/sh/shift-roster/art.json +17 -0
- package/data/project-types/sh/shift-roster/logo.webp +0 -0
- package/data/project-types/sh/shift-roster/manifest.json +22 -0
- package/data/project-types/sh/shift-roster/versions/1.0.0/about.md +13 -0
- package/data/project-types/sh/shift-roster/versions/1.0.0/availability.json +8 -0
- package/data/project-types/sh/shift-roster/versions/1.0.0/manifest.json +544 -0
- package/data/project-types/sh/shift-roster/versions/1.0.0/mission.md +5 -0
- package/data/project-types/sh/shift-roster/versions/1.0.0/pages/roster/application.js +311 -0
- package/data/project-types/sh/shift-roster/versions/1.0.0/pages/roster/demo-chat.js +218 -0
- package/data/project-types/sh/shift-roster/versions/1.0.0/pages/roster/index.html +428 -0
- package/data/project-types/sh/shift-roster/versions/1.0.0/pages/roster/rules.js +878 -0
- package/data/project-types/sh/shift-roster/versions/1.0.0/rules.json +4 -0
- package/data/project-types/sh/shift-roster/versions/1.0.0/shifts.json +8 -0
- package/data/project-types/sh/shift-roster/versions/1.0.0/staff.json +8 -0
- package/data/project-types/so/social-feed/versions/1.0.5/about.md +19 -0
- package/data/project-types/so/social-feed/versions/1.0.5/manifest.json +348 -0
- package/data/project-types/so/social-feed/versions/1.0.5/mission.md +10 -0
- package/data/project-types/so/social-feed/versions/1.0.5/pages/dashboard/application.js +31 -0
- package/data/project-types/so/social-feed/versions/1.0.5/pages/dashboard/demo-chat.js +321 -0
- package/data/project-types/so/social-feed/versions/1.0.5/pages/dashboard/index.html +746 -0
- package/data/project-types/so/social-feed/versions/1.0.5/posts/index.json +4 -0
- package/data/project-types/so/social-feed/versions/1.0.5/voice-guide.md +22 -0
- package/data/project-types/so/sop-library/art.json +17 -0
- package/data/project-types/so/sop-library/logo.webp +0 -0
- package/data/project-types/so/sop-library/manifest.json +22 -0
- package/data/project-types/so/sop-library/versions/1.0.0/about.md +15 -0
- package/data/project-types/so/sop-library/versions/1.0.0/manifest.json +347 -0
- package/data/project-types/so/sop-library/versions/1.0.0/mission.md +4 -0
- package/data/project-types/so/sop-library/versions/1.0.0/pages/library/application.js +144 -0
- package/data/project-types/so/sop-library/versions/1.0.0/pages/library/demo-chat.js +184 -0
- package/data/project-types/so/sop-library/versions/1.0.0/pages/library/index.html +480 -0
- package/data/project-types/so/sop-library/versions/1.0.0/sops/index.json +10 -0
- package/data/project-types/su/support-desk/art.json +17 -0
- package/data/project-types/su/support-desk/logo.webp +0 -0
- package/data/project-types/su/support-desk/manifest.json +22 -0
- package/data/project-types/su/support-desk/versions/1.0.0/about.md +15 -0
- package/data/project-types/su/support-desk/versions/1.0.0/manifest.json +395 -0
- package/data/project-types/su/support-desk/versions/1.0.0/mission.md +5 -0
- package/data/project-types/su/support-desk/versions/1.0.0/pages/desk/application.js +181 -0
- package/data/project-types/su/support-desk/versions/1.0.0/pages/desk/demo-chat.js +206 -0
- package/data/project-types/su/support-desk/versions/1.0.0/pages/desk/index.html +542 -0
- package/data/project-types/su/support-desk/versions/1.0.0/tickets.json +10 -0
- package/data/project-types/te/team-goals/art.json +17 -0
- package/data/project-types/te/team-goals/logo.webp +0 -0
- package/data/project-types/te/team-goals/manifest.json +23 -0
- package/data/project-types/te/team-goals/versions/1.0.0/about.md +12 -0
- package/data/project-types/te/team-goals/versions/1.0.0/actions.json +8 -0
- package/data/project-types/te/team-goals/versions/1.0.0/checkins.json +4 -0
- package/data/project-types/te/team-goals/versions/1.0.0/goals.json +9 -0
- package/data/project-types/te/team-goals/versions/1.0.0/keyresults.json +8 -0
- package/data/project-types/te/team-goals/versions/1.0.0/manifest.json +528 -0
- package/data/project-types/te/team-goals/versions/1.0.0/mission.md +5 -0
- package/data/project-types/te/team-goals/versions/1.0.0/pages/goals/application.js +262 -0
- package/data/project-types/te/team-goals/versions/1.0.0/pages/goals/demo-chat.js +206 -0
- package/data/project-types/te/team-goals/versions/1.0.0/pages/goals/index.html +504 -0
- package/data/project-types/tr/training-tracker/art.json +17 -0
- package/data/project-types/tr/training-tracker/logo.webp +0 -0
- package/data/project-types/tr/training-tracker/manifest.json +23 -0
- package/data/project-types/tr/training-tracker/versions/1.0.0/about.md +15 -0
- package/data/project-types/tr/training-tracker/versions/1.0.0/completions.json +4 -0
- package/data/project-types/tr/training-tracker/versions/1.0.0/courses.json +8 -0
- package/data/project-types/tr/training-tracker/versions/1.0.0/manifest.json +428 -0
- package/data/project-types/tr/training-tracker/versions/1.0.0/mission.md +5 -0
- package/data/project-types/tr/training-tracker/versions/1.0.0/pages/tracker/application.js +204 -0
- package/data/project-types/tr/training-tracker/versions/1.0.0/pages/tracker/demo-chat.js +225 -0
- package/data/project-types/tr/training-tracker/versions/1.0.0/pages/tracker/index.html +508 -0
- package/data/project-types/tr/training-tracker/versions/1.0.0/people.json +8 -0
- package/data/project-types/tr/training-tracker/versions/1.0.0/quizzes.json +8 -0
- package/data/project-types/tr/trip-planner/versions/1.0.6/about.md +7 -0
- package/data/project-types/tr/trip-planner/versions/1.0.6/journal.json +4 -0
- package/data/project-types/tr/trip-planner/versions/1.0.6/manifest.json +296 -0
- package/data/project-types/tr/trip-planner/versions/1.0.6/mission.md +4 -0
- package/data/project-types/tr/trip-planner/versions/1.0.6/packing.json +8 -0
- package/data/project-types/tr/trip-planner/versions/1.0.6/pages/dashboard/application.js +76 -0
- package/data/project-types/tr/trip-planner/versions/1.0.6/pages/dashboard/demo-chat.js +264 -0
- package/data/project-types/tr/trip-planner/versions/1.0.6/pages/dashboard/index.html +326 -0
- package/data/project-types/tr/trip-planner/versions/1.0.6/trip.json +8 -0
- package/data/project-types/ve/vendor-contracts/art.json +17 -0
- package/data/project-types/ve/vendor-contracts/logo.webp +0 -0
- package/data/project-types/ve/vendor-contracts/manifest.json +22 -0
- package/data/project-types/ve/vendor-contracts/versions/1.0.0/about.md +15 -0
- package/data/project-types/ve/vendor-contracts/versions/1.0.0/contracts.json +10 -0
- package/data/project-types/ve/vendor-contracts/versions/1.0.0/manifest.json +545 -0
- package/data/project-types/ve/vendor-contracts/versions/1.0.0/mission.md +5 -0
- package/data/project-types/ve/vendor-contracts/versions/1.0.0/pages/desk/application.js +222 -0
- package/data/project-types/ve/vendor-contracts/versions/1.0.0/pages/desk/demo-chat.js +236 -0
- package/data/project-types/ve/vendor-contracts/versions/1.0.0/pages/desk/index.html +493 -0
- package/data/project-types/ve/vendor-contracts/versions/1.0.0/vendors.json +8 -0
- package/data/project-types/wo/word-clues/versions/1.0.4/about.md +7 -0
- package/data/project-types/wo/word-clues/versions/1.0.4/game.json +14 -0
- package/data/project-types/wo/word-clues/versions/1.0.4/manifest.json +205 -0
- package/data/project-types/wo/word-clues/versions/1.0.4/mission.md +3 -0
- package/data/project-types/wo/word-clues/versions/1.0.4/pages/board/application.js +31 -0
- package/data/project-types/wo/word-clues/versions/1.0.4/pages/board/demo-chat.js +202 -0
- package/data/project-types/wo/word-clues/versions/1.0.4/pages/board/index.html +391 -0
- package/data/project-types/wo/word-clues/versions/1.0.4/words.json +216 -0
- package/package.json +1 -1
- package/schemas/craftbook-test.schema.json +9 -0
- package/schemas/project-type-identity.schema.json +1 -0
|
@@ -0,0 +1,528 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"releasedAt": "2026-11-02T18:00:00.000Z",
|
|
5
|
+
"meesterManaged": false,
|
|
6
|
+
"params": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"team": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"title": "Whose goals are these?",
|
|
12
|
+
"description": "e.g. 'a six-person design studio', 'the kitchen team'.",
|
|
13
|
+
"default": "the team"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": [
|
|
17
|
+
"team"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
"nameTemplate": "Team Goals",
|
|
21
|
+
"aboutTemplate": "about.md",
|
|
22
|
+
"missionTemplate": "mission.md",
|
|
23
|
+
"gezels": [
|
|
24
|
+
{
|
|
25
|
+
"templateId": "planner",
|
|
26
|
+
"voorman": true
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"scripts": {
|
|
30
|
+
"goals-store": "import { type InferredInput, defineScript, gezel } from '@bendyline/gezel-sdk';\nimport { logStore, rosterStore } from '@bendyline/gezel-sdk/stores';\n\nexport const meta = defineScript({\n name: 'goals-store',\n description:\n \"Read and update the team's goals (goals.json), their key results (keyresults.json), weekly check-ins (checkins.json) and meeting actions (actions.json). action:'status' for the whole picture; 'add_goal' and 'add_key_result' save one (an existing title is updated, never duplicated); 'update_key_result' records progress (change is added to the current value, value replaces it); 'set_goal_status' closes or reopens a goal; 'checkin' logs a weekly check-in; 'add_action' and 'complete_action' keep the meeting actions.\",\n inputs: {\n action: {\n type: 'string',\n description:\n \"One of 'status', 'add_goal', 'add_key_result', 'update_key_result', 'set_goal_status', 'checkin', 'add_action', or 'complete_action'.\",\n required: true,\n },\n goal: { type: 'string', description: \"A goal's id ('g-2') or (part of) its title.\" },\n keyResult: { type: 'string', description: \"A key result's id ('kr-3') or (part of) its title.\" },\n id: { type: 'string', description: \"A meeting action's id, e.g. 'act-2'.\" },\n title: {\n type: 'string',\n description: \"The title of the goal, key result or action being saved, e.g. 'Win four new retainer clients'.\",\n },\n owner: { type: 'string', description: 'Who owns it.' },\n startAt: { type: 'string', description: 'When a goal started, YYYY-MM-DD (default today).' },\n dueAt: { type: 'string', description: 'When it is due, YYYY-MM-DD.' },\n start: { type: 'number', description: 'Where a key result started.' },\n current: { type: 'number', description: 'Where a key result stands now.' },\n target: { type: 'number', description: 'Where a key result should end up.' },\n unit: { type: 'string', description: \"What a key result counts: 'clients', '%', '$', 'hours'.\" },\n change: {\n type: 'number',\n description: 'How much a key result moved: 2 for two more, -1 for one fewer. Added to its current value.',\n },\n value: { type: 'number', description: \"A key result's new total, only when the person gives the total.\" },\n how: { type: 'string', description: \"The page form's choice between change and value; the script reads change or value.\" },\n who: { type: 'string', description: 'Who is checking in.' },\n confidence: { type: 'string', description: 'on-track, at-risk, or off-track.' },\n status: { type: 'string', description: 'For set_goal_status: active, done, or dropped.' },\n from: { type: 'string', description: \"The meeting an action came from, e.g. 'Monday team meeting'.\" },\n note: { type: 'string', description: 'What happened, in their words.' },\n },\n outputs: {\n active: { type: 'number', description: 'Active goals.' },\n offPace: { type: 'number', description: 'Active goals at risk, behind or past due.' },\n openActions: { type: 'number', description: 'Meeting actions still open.' },\n summary: {\n type: 'string',\n description: 'What changed first, then every active goal (furthest behind first) with its key results, the check-ins and the open actions.',\n },\n },\n requires: ['workspace.read', 'workspace.write'],\n} as const);\n\nconst input = gezel.input as InferredInput<typeof meta>;\n\n// ── goals-rules-start ──\n// Pure derivations: key-result progress (current against target, from where it\n// started), a goal's pace against the share of its time already gone, the\n// week's check-ins, and the lines the crew reads. Kept self-contained between\n// these sentinels so unit tests execute the shipped bytes.\nvar DAY_MS = 86400000;\nvar STOP_WORDS = ['the', 'and', 'for', 'our', 'with', 'from', 'that', 'this', 'into', 'more'];\n\nfunction pad(n) {\n return n < 10 ? '0' + n : String(n);\n}\nfunction localDay(ms) {\n var d = new Date(ms);\n return d.getFullYear() + '-' + pad(d.getMonth() + 1) + '-' + pad(d.getDate());\n}\nfunction normalizeDate(text) {\n var raw = String(text || '').trim();\n if (/^\\d{4}-\\d{2}-\\d{2}$/.test(raw)) return raw;\n var parsed = Date.parse(raw);\n return isFinite(parsed) ? localDay(parsed) : null;\n}\nfunction dayMs(day) {\n return Date.parse(String(day).slice(0, 10) + 'T00:00:00');\n}\nfunction daysLeft(dueAt, nowMs) {\n return Math.round((dayMs(dueAt) - dayMs(localDay(nowMs))) / DAY_MS);\n}\nfunction when(days) {\n if (days < 0) return -days + (days === -1 ? ' day late' : ' days late');\n if (days === 0) return 'due today';\n return 'in ' + days + (days === 1 ? ' day' : ' days');\n}\nfunction round2(n) {\n return Math.round(n * 100) / 100;\n}\nfunction fmt(n) {\n var r = round2(Number(n) || 0);\n var parts = String(Math.abs(r)).split('.');\n parts[0] = parts[0].replace(/\\B(?=(\\d{3})+(?!\\d))/g, ',');\n return (r < 0 ? '-' : '') + parts.join('.');\n}\nfunction amount(n, unit) {\n var u = String(unit || '').trim();\n if (u === '%' || /^percent/i.test(u)) return fmt(n) + '%';\n if (u === '$' || /^(dollars?|usd)$/i.test(u)) return '$' + fmt(n);\n if (fmt(n) === '1' && /^[a-z]+[^su]s$/i.test(u)) u = u.slice(0, -1);\n return fmt(n) + (u ? ' ' + u : '');\n}\nfunction percent(p) {\n return Math.round(p * 100) + '%';\n}\nfunction normalizeConfidence(text) {\n var t = String(text || '').trim().toLowerCase().replace(/[\\s_]+/g, '-');\n if (/^(on-?track|green|good|fine)/.test(t)) return 'on-track';\n if (/^(at-?risk|amber|yellow|watch|shaky|unsure)/.test(t)) return 'at-risk';\n if (/^(off-?track|behind|red|blocked|stuck|slipping)/.test(t)) return 'off-track';\n return null;\n}\nfunction normalizeGoalStatus(text) {\n var t = String(text || '').trim().toLowerCase();\n if (/^(active|open|reopen|restart|resume)/.test(t)) return 'active';\n if (/^(done|complete|finished|met|achieved|closed)/.test(t)) return 'done';\n if (/^(dropped|drop|cancel|abandon|parked|shelved)/.test(t)) return 'dropped';\n return null;\n}\n// How far a key result has come from where it started toward its target, 0..1.\n// A target below the start (fewer overdue invoices) counts down the same way.\nfunction krProgress(f) {\n var start = Number(f.start) || 0;\n var target = Number(f.target);\n var current = Number(f.current) || 0;\n if (!isFinite(target)) return 0;\n if (target === start) return current >= target ? 1 : 0;\n return Math.max(0, Math.min(1, (current - start) / (target - start)));\n}\n// The share of a goal's window already gone, 0..1, or null without a due date.\nfunction timeGone(f, nowMs) {\n var due = dayMs(f.dueAt || '');\n if (!isFinite(due)) return null;\n var start = dayMs(f.startAt || '');\n var today = dayMs(localDay(nowMs));\n if (!isFinite(start) || due <= start) return today >= due ? 1 : 0;\n return Math.max(0, Math.min(1, (today - start) / (due - start)));\n}\nfunction pace(progress, gone) {\n if (progress === null) return 'no key results yet';\n if (progress >= 1) return 'target met';\n if (gone === null) return 'no due date';\n if (gone >= 1) return 'past due';\n if (progress >= gone - 0.1) return 'on track';\n if (progress >= gone - 0.25) return 'at risk';\n return 'behind';\n}\nfunction titleOf(record) {\n return String((record && record.fields && record.fields.title) || '');\n}\nfunction goalKeyResults(goal, krs) {\n return krs.filter(function (k) {\n return k.fields && k.fields.goalId === goal.id && k.status !== 'closed';\n });\n}\nfunction goalProgress(goal, krs) {\n var mine = goalKeyResults(goal, krs);\n if (!mine.length) return null;\n return (\n mine.reduce(function (sum, k) {\n return sum + krProgress(k.fields);\n }, 0) / mine.length\n );\n}\n// How far behind its time a goal is: the gap the board sorts by, worst first.\nfunction lag(goal, krs, nowMs) {\n var p = goalProgress(goal, krs);\n var gone = timeGone(goal.fields || {}, nowMs);\n if (p === null) return -2;\n if (gone === null) return -1;\n return gone - p;\n}\nfunction krLine(k) {\n var f = k.fields || {};\n var from = Number(f.start) || 0;\n return (\n k.id + ' ' + f.title + ': now ' + amount(f.current || 0, f.unit) + ', target ' + amount(f.target, f.unit) +\n (from ? ' (started at ' + amount(from, f.unit) + ')' : '') + ', ' + percent(krProgress(f)) + ' of the way'\n );\n}\nfunction lastCheckin(goal, events) {\n var mine = events.filter(function (e) {\n return e.kind === 'checkin' && e.data && e.data.goalId === goal.id;\n });\n return mine.length ? mine[mine.length - 1] : null;\n}\nfunction checkedInSince(goal, events, sinceMs) {\n var owner = String((goal.fields && goal.fields.owner) || '').trim().toLowerCase();\n return events.some(function (e) {\n if (e.kind !== 'checkin' || !e.data || Date.parse(e.at) < sinceMs) return false;\n if (e.data.goalId) return e.data.goalId === goal.id;\n return !!owner && String(e.data.who || '').trim().toLowerCase() === owner;\n });\n}\nfunction goalLine(goal, krs, events, nowMs) {\n var f = goal.fields || {};\n var p = goalProgress(goal, krs);\n var gone = timeGone(f, nowMs);\n var mine = goalKeyResults(goal, krs);\n var last = lastCheckin(goal, events);\n return (\n goal.id + ' ' + f.title + ' (owner ' + (f.owner || 'unassigned') +\n (f.dueAt ? ', due ' + f.dueAt + ', ' + when(daysLeft(f.dueAt, nowMs)) : '') + '): ' +\n (p === null ? 'no key results yet' : percent(p) + ' done' + (gone === null ? '' : ' with ' + percent(gone) + ' of the time gone') + ', ' + pace(p, gone)) +\n (mine.length ? '. Key results: ' + mine.map(krLine).join('; ') : '') + '. ' +\n (last\n ? 'Last check-in ' + localDay(Date.parse(last.at)) + (last.data.who ? ' by ' + last.data.who : '') +\n (last.data.confidence ? ', ' + String(last.data.confidence).replace('-', ' ') : '') + (last.note ? ': ' + String(last.note).replace(/[.!?\\s]+$/, '') : '')\n : 'No check-in yet') + '.'\n );\n}\nfunction actionLine(a, nowMs) {\n var f = a.fields || {};\n return a.id + ' ' + f.title + ' (' + (f.owner || 'no owner') + (f.dueAt ? ', due ' + f.dueAt + ', ' + when(daysLeft(f.dueAt, nowMs)) : '') + ')';\n}\nfunction picture(goals, krs, events, actions, nowMs) {\n var active = goals\n .filter(function (g) { return g.status === 'active'; })\n .sort(function (a, b) { return lag(b, krs, nowMs) - lag(a, krs, nowMs); });\n var paces = active.map(function (g) { return pace(goalProgress(g, krs), timeGone(g.fields || {}, nowMs)); });\n var offPace = paces.filter(function (p) { return p === 'at risk' || p === 'behind' || p === 'past due'; }).length;\n var onTrack = paces.filter(function (p) { return p === 'on track' || p === 'target met'; }).length;\n var open = actions\n .filter(function (a) { return a.status !== 'done'; })\n .sort(function (a, b) { return String(a.fields.dueAt || '9999').localeCompare(String(b.fields.dueAt || '9999')); });\n var since = dayMs(localDay(nowMs)) - 6 * DAY_MS;\n var quiet = active.filter(function (g) { return !checkedInSince(g, events, since); });\n var parts = [];\n parts.push(\n active.length\n ? active.length + (active.length === 1 ? ' active goal: ' : ' active goals: ') + onTrack + ' on track, ' + offPace + ' at risk or behind.' +\n (active.length > 1 ? ' Goals, furthest behind first:' : '')\n : goals.length ? 'No active goals.' : 'No active goals yet.',\n );\n active.forEach(function (g) { parts.push(goalLine(g, krs, events, nowMs)); });\n if (active.length) {\n parts.push(\n quiet.length\n ? 'No check-in in the last 7 days: ' + quiet.map(function (g) { return (g.fields.owner || 'unassigned') + ' for ' + g.id + ' ' + g.fields.title; }).join('; ') + '.'\n : 'Every active goal has a check-in from the last 7 days.',\n );\n }\n parts.push(open.length ? 'Open actions, late ones first, then soonest due: ' + open.map(function (a) { return actionLine(a, nowMs); }).join('; ') + '.' : 'No open meeting actions.');\n var closed = goals.filter(function (g) { return g.status !== 'active'; });\n if (closed.length) parts.push('Closed goals: ' + closed.map(function (g) { return g.id + ' ' + g.fields.title + ' (' + g.status + ')'; }).join('; ') + '.');\n return { active: active.length, offPace: offPace, openActions: open.length, summary: parts.join(' ') };\n}\n// Find one record by id, exact title, partial title, or every word of the\n// title; a miss lists what there is so the next call can name it.\nfunction pick(records, wanted, label) {\n var text = String(wanted || '').trim();\n var lower = text.toLowerCase();\n if (!lower) throw new Error('Name the ' + label + ' by its id or title.');\n var byId = records.filter(function (r) { return r.id === lower; });\n if (byId.length) return byId[0];\n var exact = records.filter(function (r) { return titleOf(r).toLowerCase() === lower; });\n if (exact.length === 1) return exact[0];\n var partial = records.filter(function (r) { return titleOf(r).toLowerCase().indexOf(lower) >= 0; });\n if (partial.length === 1) return partial[0];\n if (!partial.length) {\n var words = (lower.match(/[a-z0-9]{3,}/g) || []).filter(function (w) { return STOP_WORDS.indexOf(w) < 0; });\n partial = words.length\n ? records.filter(function (r) {\n var t = titleOf(r).toLowerCase();\n return words.every(function (w) { return t.indexOf(w) >= 0 || t.indexOf(w.replace(/ies$/, 'y').replace(/s$/, '')) >= 0; });\n })\n : [];\n if (partial.length === 1) return partial[0];\n }\n var known = (partial.length > 1 ? partial : records).map(function (r) { return r.id + ' ' + titleOf(r); }).join(', ');\n throw new Error(\n (partial.length > 1 ? 'More than one ' + label + \" matches '\" + text + \"': \" : 'No ' + label + \" matches '\" + text + \"'. Known: \") +\n (known || 'none yet') + '. Pass the id.',\n );\n}\nfunction pickPreferring(preferred, all, wanted, label) {\n try {\n return pick(preferred, wanted, label);\n } catch (error) {\n return pick(all, wanted, label);\n }\n}\n// ── goals-rules-end ──\n\nconst goals = rosterStore(gezel.fs, 'goals.json', { stages: ['active', 'done', 'dropped'], idPrefix: 'g' });\nconst keyResults = rosterStore(gezel.fs, 'keyresults.json', { stages: ['active', 'closed'], idPrefix: 'kr' });\nconst checkins = logStore(gezel.fs, 'checkins.json');\nconst actions = rosterStore(gezel.fs, 'actions.json', { stages: ['open', 'done'], idPrefix: 'act' });\n\nfunction text(value: unknown): string {\n return typeof value === 'string' ? value.trim() : '';\n}\nfunction dateInput(value: unknown, name: string): string | null {\n if (!text(value)) return null;\n const day = normalizeDate(value);\n if (!day) throw new Error(name + \" must be a date, e.g. '2026-12-31'.\");\n return day;\n}\nasync function findGoal(wanted: string) {\n const all = await goals.list();\n return pickPreferring(all.filter((g) => g.status === 'active'), all, wanted, 'goal');\n}\n\nconst now = Date.now();\nlet note = '';\n\nif (input.action === 'add_goal') {\n const title = text(input.title) || text(input.goal);\n if (!title) throw new Error(\"add_goal needs 'title', e.g. 'Win four new retainer clients'.\");\n const dueAt = dateInput(input.dueAt, 'dueAt');\n const startAt = dateInput(input.startAt, 'startAt');\n const fields: Record<string, unknown> = {\n ...(dueAt ? { dueAt } : {}),\n ...(startAt ? { startAt } : {}),\n ...(text(input.owner) ? { owner: text(input.owner) } : {}),\n ...(text(input.note) ? { why: text(input.note) } : {}),\n };\n const existing = (await goals.list()).find((g) => titleOf(g).toLowerCase() === title.toLowerCase());\n if (existing) {\n await goals.update(existing.id, { fields });\n note = 'Updated ' + existing.id + ' ' + titleOf(existing) + '.';\n } else {\n const record = await goals.add({ status: 'active', fields: { title, startAt: startAt ?? localDay(now), ...fields } });\n note = 'Added ' + record.id + ' ' + title + (dueAt ? ', due ' + dueAt : '') + '.';\n }\n} else if (input.action === 'add_key_result') {\n if (!text(input.goal)) throw new Error(\"add_key_result needs 'goal' (its id or title) and 'title'.\");\n const goal = await findGoal(text(input.goal));\n const title = text(input.title) || text(input.keyResult);\n if (!title) throw new Error(\"add_key_result needs 'title', e.g. 'New retainer clients'.\");\n const unit = text(input.unit);\n const existing = (await keyResults.list()).find(\n (k) => k.fields.goalId === goal.id && titleOf(k).toLowerCase() === title.toLowerCase(),\n );\n const fields: Record<string, unknown> = {\n ...(typeof input.target === 'number' ? { target: round2(input.target) } : {}),\n ...(typeof input.current === 'number' ? { current: round2(input.current) } : {}),\n ...(typeof input.start === 'number' ? { start: round2(input.start) } : {}),\n ...(unit ? { unit } : {}),\n };\n if (existing) {\n await keyResults.update(existing.id, { fields, note: 'Edited.' });\n note = 'Updated ' + existing.id + ' ' + titleOf(existing) + '.';\n } else {\n if (typeof input.target !== 'number') throw new Error(\"A new key result needs 'target', the number it should reach.\");\n const start = typeof input.start === 'number' ? input.start : typeof input.current === 'number' ? input.current : 0;\n const current = typeof input.current === 'number' ? input.current : start;\n const record = await keyResults.add({\n status: goal.status === 'active' ? 'active' : 'closed',\n fields: { goalId: goal.id, goal: titleOf(goal), title, start: round2(start), current: round2(current), target: round2(input.target), ...(unit ? { unit } : {}) },\n });\n note = 'Added ' + record.id + ' ' + title + ' to ' + goal.id + ': now ' + amount(current, unit) + ', target ' + amount(input.target, unit) + '.';\n }\n} else if (input.action === 'update_key_result') {\n const all = await keyResults.list();\n let pool = all;\n if (text(input.goal)) {\n const goal = await findGoal(text(input.goal));\n pool = all.filter((k) => k.fields.goalId === goal.id);\n }\n const wanted = text(input.keyResult) || text(input.title);\n let kr;\n if (wanted) kr = pickPreferring(pool.filter((k) => k.status !== 'closed'), all, wanted, 'key result');\n else if (pool !== all && pool.length === 1) kr = pool[0]!;\n else {\n throw new Error(\n \"update_key_result needs 'keyResult' (its id or title). Known: \" +\n (pool.map((k) => k.id + ' ' + titleOf(k)).join(', ') || 'none yet') + '.',\n );\n }\n const change = typeof input.change === 'number' ? input.change : null;\n const value = typeof input.value === 'number' ? input.value : null;\n if (change === null && value === null) {\n throw new Error(\"update_key_result needs 'change' (how much it moved: 2, or -1) or 'value' (the new total).\");\n }\n const before = Number(kr.fields.current) || 0;\n const after = round2(change !== null ? before + change : (value as number));\n const unit = String(kr.fields.unit ?? '');\n await keyResults.update(kr.id, {\n fields: { current: after },\n note: fmt(before) + ' to ' + fmt(after) + (text(input.note) ? ': ' + text(input.note) : ''),\n });\n await checkins.append({\n kind: 'progress',\n ...(text(input.note) ? { note: text(input.note) } : {}),\n data: { goalId: kr.fields.goalId, keyResultId: kr.id, from: before, to: after, ...(text(input.who) ? { who: text(input.who) } : {}) },\n });\n note =\n titleOf(kr) + ' moved from ' + amount(before, unit) + ' to ' + amount(after, unit) + ' (target ' + amount(kr.fields.target, unit) + ', ' +\n percent(krProgress({ ...kr.fields, current: after })) + ' of the way).';\n} else if (input.action === 'set_goal_status') {\n const status = normalizeGoalStatus(input.status);\n if (!status) throw new Error(\"set_goal_status needs status 'active', 'done', or 'dropped'.\");\n if (!text(input.goal)) throw new Error(\"set_goal_status needs 'goal' (its id or title).\");\n const goal = pick(await goals.list(), text(input.goal), 'goal');\n if (goal.status !== status) await goals.transition(goal.id, status, text(input.note) ? { note: text(input.note) } : {});\n for (const k of await keyResults.list()) {\n if (k.fields.goalId !== goal.id) continue;\n const next = status === 'active' ? 'active' : 'closed';\n if (k.status !== next) await keyResults.transition(k.id, next);\n }\n note = titleOf(goal) + (status === 'active' ? ' is active again.' : status === 'done' ? ' is done.' : ' was dropped.');\n} else if (input.action === 'checkin') {\n const confidence = text(input.confidence) ? normalizeConfidence(input.confidence) : null;\n if (text(input.confidence) && !confidence) throw new Error(\"confidence must be 'on-track', 'at-risk', or 'off-track'.\");\n if (!text(input.note) && !confidence) throw new Error(\"A check-in needs 'note' (what they said) or 'confidence'.\");\n const goal = text(input.goal) ? await findGoal(text(input.goal)) : null;\n const who = text(input.who) || (goal ? String(goal.fields.owner ?? '') : '');\n await checkins.append({\n kind: 'checkin',\n ...(text(input.note) ? { note: text(input.note) } : {}),\n data: { ...(goal ? { goalId: goal.id } : {}), ...(who ? { who } : {}), ...(confidence ? { confidence } : {}) },\n });\n note =\n 'Logged ' + (who ? who + \"'s check-in\" : 'a check-in') + (goal ? ' on ' + titleOf(goal) : '') +\n (confidence ? ': ' + confidence.replace('-', ' ') : '') + '.';\n} else if (input.action === 'add_action') {\n const title = text(input.title);\n if (!title) throw new Error(\"add_action needs 'title', e.g. 'Send Alder Co the proposal'.\");\n const dueAt = dateInput(input.dueAt, 'dueAt');\n let goalId = '';\n let unlinked = '';\n if (text(input.goal)) {\n try {\n goalId = (await findGoal(text(input.goal))).id;\n } catch {\n unlinked = \" No goal matched '\" + text(input.goal) + \"', so it is not linked to one.\";\n }\n }\n const fields: Record<string, unknown> = {\n ...(text(input.owner) ? { owner: text(input.owner) } : {}),\n ...(dueAt ? { dueAt } : {}),\n ...(goalId ? { goalId } : {}),\n ...(text(input.from) ? { from: text(input.from) } : {}),\n };\n const existing = (await actions.list()).find((a) => a.status !== 'done' && titleOf(a).toLowerCase() === title.toLowerCase());\n if (existing) {\n await actions.update(existing.id, { fields });\n note = 'Updated ' + existing.id + ' ' + titleOf(existing) + '.' + unlinked;\n } else {\n const record = await actions.add({ status: 'open', fields: { title, ...fields } });\n note = 'Added ' + record.id + ' ' + title + (text(input.owner) ? ' for ' + text(input.owner) : '') + (dueAt ? ', due ' + dueAt : '') + '.' + unlinked;\n }\n} else if (input.action === 'complete_action') {\n const wanted = text(input.id) || text(input.title);\n if (!wanted) throw new Error(\"complete_action needs 'id' (e.g. 'act-2') or the action's 'title'.\");\n const all = await actions.list();\n const done = pickPreferring(all.filter((a) => a.status !== 'done'), all, wanted, 'action');\n if (done.status !== 'done') await actions.transition(done.id, 'done', text(input.note) ? { note: text(input.note) } : {});\n note = 'Done: ' + titleOf(done) + (done.fields.owner ? ' (' + String(done.fields.owner) + ')' : '') + '.';\n} else if (input.action !== 'status') {\n throw new Error(\n \"Unknown action '\" + input.action + \"'. Use status, add_goal, add_key_result, update_key_result, set_goal_status, checkin, add_action, or complete_action.\",\n );\n}\n\nconst view = picture(await goals.list(), await keyResults.list(), await checkins.list(), await actions.list(), Date.now());\n\ngezel.output({\n active: view.active,\n offPace: view.offPace,\n openActions: view.openActions,\n summary: (note ? note + ' ' : '') + view.summary,\n});\n"
|
|
31
|
+
},
|
|
32
|
+
"tools": [
|
|
33
|
+
{
|
|
34
|
+
"name": "goals_status",
|
|
35
|
+
"description": "The whole picture, furthest behind first: every active goal with its key results (current against target, with ids), its pace against the time gone, its last check-in, which goals have no check-in this week, and the open meeting actions with owners and due dates. Call it first when asked how things are going.",
|
|
36
|
+
"script": "goals-store",
|
|
37
|
+
"inputs": {
|
|
38
|
+
"type": "object",
|
|
39
|
+
"properties": {}
|
|
40
|
+
},
|
|
41
|
+
"bind": {
|
|
42
|
+
"action": "status"
|
|
43
|
+
},
|
|
44
|
+
"state": true
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "add_goal",
|
|
48
|
+
"description": "Save a goal: its title, owner and due date (YYYY-MM-DD). An existing title is updated, never duplicated. Call it as soon as a goal is named, before you describe it, then add its key results with add_key_result.",
|
|
49
|
+
"script": "goals-store",
|
|
50
|
+
"inputs": {
|
|
51
|
+
"type": "object",
|
|
52
|
+
"properties": {
|
|
53
|
+
"title": {
|
|
54
|
+
"type": "string"
|
|
55
|
+
},
|
|
56
|
+
"owner": {
|
|
57
|
+
"type": "string"
|
|
58
|
+
},
|
|
59
|
+
"dueAt": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"description": "YYYY-MM-DD"
|
|
62
|
+
},
|
|
63
|
+
"startAt": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"description": "YYYY-MM-DD; defaults to today"
|
|
66
|
+
},
|
|
67
|
+
"note": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"description": "Why the goal matters, in their words."
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"required": [
|
|
73
|
+
"title"
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
"bind": {
|
|
77
|
+
"action": "add_goal"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "add_key_result",
|
|
82
|
+
"description": "Save a key result under a goal: what it measures, where it stands now, and the target. An existing title on that goal is updated, never duplicated. Call it as soon as one is named.",
|
|
83
|
+
"script": "goals-store",
|
|
84
|
+
"inputs": {
|
|
85
|
+
"type": "object",
|
|
86
|
+
"properties": {
|
|
87
|
+
"goal": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"description": "The goal's id or title."
|
|
90
|
+
},
|
|
91
|
+
"title": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"description": "What the key result measures."
|
|
94
|
+
},
|
|
95
|
+
"current": {
|
|
96
|
+
"type": "number",
|
|
97
|
+
"description": "Where it stands now."
|
|
98
|
+
},
|
|
99
|
+
"target": {
|
|
100
|
+
"type": "number",
|
|
101
|
+
"description": "Where it should end up."
|
|
102
|
+
},
|
|
103
|
+
"start": {
|
|
104
|
+
"type": "number",
|
|
105
|
+
"description": "Where it started (defaults to current)."
|
|
106
|
+
},
|
|
107
|
+
"unit": {
|
|
108
|
+
"type": "string",
|
|
109
|
+
"description": "'clients', '%', '$', 'hours'..."
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"required": [
|
|
113
|
+
"goal",
|
|
114
|
+
"title"
|
|
115
|
+
]
|
|
116
|
+
},
|
|
117
|
+
"bind": {
|
|
118
|
+
"action": "add_key_result"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "update_key_result",
|
|
123
|
+
"description": "Record progress on a key result the moment the person reports it. When they say how much it moved ('two more clients', 'down 3 points'), pass change (2, -3) and the board adds it to the current value; pass value only when they give the new total. Never add it up yourself.",
|
|
124
|
+
"script": "goals-store",
|
|
125
|
+
"inputs": {
|
|
126
|
+
"type": "object",
|
|
127
|
+
"properties": {
|
|
128
|
+
"keyResult": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"description": "The key result's id (e.g. 'kr-3') or title."
|
|
131
|
+
},
|
|
132
|
+
"goal": {
|
|
133
|
+
"type": "string",
|
|
134
|
+
"description": "Optional: the goal's id or title, to narrow the search."
|
|
135
|
+
},
|
|
136
|
+
"change": {
|
|
137
|
+
"type": "number",
|
|
138
|
+
"description": "How much it moved: 2 for two more, -1 for one fewer."
|
|
139
|
+
},
|
|
140
|
+
"value": {
|
|
141
|
+
"type": "number",
|
|
142
|
+
"description": "The new total, only when the person gives the total."
|
|
143
|
+
},
|
|
144
|
+
"note": {
|
|
145
|
+
"type": "string"
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"bind": {
|
|
150
|
+
"action": "update_key_result"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"name": "log_checkin",
|
|
155
|
+
"description": "Log a weekly check-in on a goal: who, how confident they are (on-track, at-risk or off-track), and what they said. Call it as soon as someone reports in, before you reply.",
|
|
156
|
+
"script": "goals-store",
|
|
157
|
+
"inputs": {
|
|
158
|
+
"type": "object",
|
|
159
|
+
"properties": {
|
|
160
|
+
"goal": {
|
|
161
|
+
"type": "string",
|
|
162
|
+
"description": "The goal's id or title."
|
|
163
|
+
},
|
|
164
|
+
"who": {
|
|
165
|
+
"type": "string"
|
|
166
|
+
},
|
|
167
|
+
"confidence": {
|
|
168
|
+
"type": "string",
|
|
169
|
+
"enum": [
|
|
170
|
+
"on-track",
|
|
171
|
+
"at-risk",
|
|
172
|
+
"off-track"
|
|
173
|
+
]
|
|
174
|
+
},
|
|
175
|
+
"note": {
|
|
176
|
+
"type": "string",
|
|
177
|
+
"description": "What they said, in their words."
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"bind": {
|
|
182
|
+
"action": "checkin"
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"name": "add_action",
|
|
187
|
+
"description": "Save one action agreed in a meeting: what, who owns it, when it is due (YYYY-MM-DD), and the goal it serves. An open action with the same title is updated, never duplicated. Call it for each action as soon as it is agreed, before you summarize.",
|
|
188
|
+
"script": "goals-store",
|
|
189
|
+
"inputs": {
|
|
190
|
+
"type": "object",
|
|
191
|
+
"properties": {
|
|
192
|
+
"title": {
|
|
193
|
+
"type": "string",
|
|
194
|
+
"description": "The action, e.g. \"Send Alder Co the proposal\"."
|
|
195
|
+
},
|
|
196
|
+
"owner": {
|
|
197
|
+
"type": "string"
|
|
198
|
+
},
|
|
199
|
+
"dueAt": {
|
|
200
|
+
"type": "string",
|
|
201
|
+
"description": "YYYY-MM-DD"
|
|
202
|
+
},
|
|
203
|
+
"goal": {
|
|
204
|
+
"type": "string",
|
|
205
|
+
"description": "Optional: the goal it serves (id or title)."
|
|
206
|
+
},
|
|
207
|
+
"from": {
|
|
208
|
+
"type": "string",
|
|
209
|
+
"description": "The meeting it came from, e.g. 'Monday team meeting'."
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"required": [
|
|
213
|
+
"title"
|
|
214
|
+
]
|
|
215
|
+
},
|
|
216
|
+
"bind": {
|
|
217
|
+
"action": "add_action"
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"name": "complete_action",
|
|
222
|
+
"description": "Mark a meeting action done the moment the person says it is.",
|
|
223
|
+
"script": "goals-store",
|
|
224
|
+
"inputs": {
|
|
225
|
+
"type": "object",
|
|
226
|
+
"properties": {
|
|
227
|
+
"id": {
|
|
228
|
+
"type": "string"
|
|
229
|
+
},
|
|
230
|
+
"title": {
|
|
231
|
+
"type": "string"
|
|
232
|
+
},
|
|
233
|
+
"note": {
|
|
234
|
+
"type": "string"
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
"bind": {
|
|
239
|
+
"action": "complete_action"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"name": "set_goal_status",
|
|
244
|
+
"description": "Close a goal as done or dropped, or reopen it.",
|
|
245
|
+
"script": "goals-store",
|
|
246
|
+
"inputs": {
|
|
247
|
+
"type": "object",
|
|
248
|
+
"properties": {
|
|
249
|
+
"goal": {
|
|
250
|
+
"type": "string"
|
|
251
|
+
},
|
|
252
|
+
"status": {
|
|
253
|
+
"type": "string",
|
|
254
|
+
"enum": [
|
|
255
|
+
"active",
|
|
256
|
+
"done",
|
|
257
|
+
"dropped"
|
|
258
|
+
]
|
|
259
|
+
},
|
|
260
|
+
"note": {
|
|
261
|
+
"type": "string"
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
"required": [
|
|
265
|
+
"goal",
|
|
266
|
+
"status"
|
|
267
|
+
]
|
|
268
|
+
},
|
|
269
|
+
"bind": {
|
|
270
|
+
"action": "set_goal_status"
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"name": "page_add_goal",
|
|
275
|
+
"description": "Add or update a goal.",
|
|
276
|
+
"script": "goals-store",
|
|
277
|
+
"inputs": {
|
|
278
|
+
"type": "object",
|
|
279
|
+
"properties": {
|
|
280
|
+
"title": {
|
|
281
|
+
"type": "string"
|
|
282
|
+
},
|
|
283
|
+
"owner": {
|
|
284
|
+
"type": "string"
|
|
285
|
+
},
|
|
286
|
+
"dueAt": {
|
|
287
|
+
"type": "string",
|
|
288
|
+
"description": "YYYY-MM-DD"
|
|
289
|
+
},
|
|
290
|
+
"startAt": {
|
|
291
|
+
"type": "string",
|
|
292
|
+
"description": "YYYY-MM-DD; defaults to today"
|
|
293
|
+
},
|
|
294
|
+
"note": {
|
|
295
|
+
"type": "string",
|
|
296
|
+
"description": "Why the goal matters, in their words."
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
"required": [
|
|
300
|
+
"title"
|
|
301
|
+
]
|
|
302
|
+
},
|
|
303
|
+
"bind": {
|
|
304
|
+
"action": "add_goal"
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"name": "page_add_key_result",
|
|
309
|
+
"description": "Add or update a key result.",
|
|
310
|
+
"script": "goals-store",
|
|
311
|
+
"inputs": {
|
|
312
|
+
"type": "object",
|
|
313
|
+
"properties": {
|
|
314
|
+
"goal": {
|
|
315
|
+
"type": "string",
|
|
316
|
+
"description": "The goal's id or title."
|
|
317
|
+
},
|
|
318
|
+
"title": {
|
|
319
|
+
"type": "string",
|
|
320
|
+
"description": "What the key result measures."
|
|
321
|
+
},
|
|
322
|
+
"current": {
|
|
323
|
+
"type": "number",
|
|
324
|
+
"description": "Where it stands now."
|
|
325
|
+
},
|
|
326
|
+
"target": {
|
|
327
|
+
"type": "number",
|
|
328
|
+
"description": "Where it should end up."
|
|
329
|
+
},
|
|
330
|
+
"start": {
|
|
331
|
+
"type": "number",
|
|
332
|
+
"description": "Where it started (defaults to current)."
|
|
333
|
+
},
|
|
334
|
+
"unit": {
|
|
335
|
+
"type": "string",
|
|
336
|
+
"description": "'clients', '%', '$', 'hours'..."
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
"required": [
|
|
340
|
+
"goal",
|
|
341
|
+
"title"
|
|
342
|
+
]
|
|
343
|
+
},
|
|
344
|
+
"bind": {
|
|
345
|
+
"action": "add_key_result"
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"name": "page_update_key_result",
|
|
350
|
+
"description": "Record progress on a key result.",
|
|
351
|
+
"script": "goals-store",
|
|
352
|
+
"inputs": {
|
|
353
|
+
"type": "object",
|
|
354
|
+
"properties": {
|
|
355
|
+
"keyResult": {
|
|
356
|
+
"type": "string",
|
|
357
|
+
"description": "The key result's id (e.g. 'kr-3') or title."
|
|
358
|
+
},
|
|
359
|
+
"goal": {
|
|
360
|
+
"type": "string",
|
|
361
|
+
"description": "Optional: the goal's id or title, to narrow the search."
|
|
362
|
+
},
|
|
363
|
+
"change": {
|
|
364
|
+
"type": "number",
|
|
365
|
+
"description": "How much it moved: 2 for two more, -1 for one fewer."
|
|
366
|
+
},
|
|
367
|
+
"value": {
|
|
368
|
+
"type": "number",
|
|
369
|
+
"description": "The new total, only when the person gives the total."
|
|
370
|
+
},
|
|
371
|
+
"note": {
|
|
372
|
+
"type": "string"
|
|
373
|
+
},
|
|
374
|
+
"how": {
|
|
375
|
+
"type": "string"
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
},
|
|
379
|
+
"bind": {
|
|
380
|
+
"action": "update_key_result"
|
|
381
|
+
},
|
|
382
|
+
"reaction": {
|
|
383
|
+
"gezel": "planner",
|
|
384
|
+
"hideSeed": true,
|
|
385
|
+
"prompt": "The person just recorded progress on the goals page. The board now reads (its first sentence is what changed):\n{{output.summary}}\nIn two short sentences, confirm what moved and how that goal is pacing now, and name the one next step that would help it most. Do not call tools."
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"name": "page_log_checkin",
|
|
390
|
+
"description": "Log a check-in.",
|
|
391
|
+
"script": "goals-store",
|
|
392
|
+
"inputs": {
|
|
393
|
+
"type": "object",
|
|
394
|
+
"properties": {
|
|
395
|
+
"goal": {
|
|
396
|
+
"type": "string",
|
|
397
|
+
"description": "The goal's id or title."
|
|
398
|
+
},
|
|
399
|
+
"who": {
|
|
400
|
+
"type": "string"
|
|
401
|
+
},
|
|
402
|
+
"confidence": {
|
|
403
|
+
"type": "string",
|
|
404
|
+
"enum": [
|
|
405
|
+
"on-track",
|
|
406
|
+
"at-risk",
|
|
407
|
+
"off-track"
|
|
408
|
+
]
|
|
409
|
+
},
|
|
410
|
+
"note": {
|
|
411
|
+
"type": "string",
|
|
412
|
+
"description": "What they said, in their words."
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
},
|
|
416
|
+
"bind": {
|
|
417
|
+
"action": "checkin"
|
|
418
|
+
},
|
|
419
|
+
"reaction": {
|
|
420
|
+
"gezel": "planner",
|
|
421
|
+
"hideSeed": true,
|
|
422
|
+
"prompt": "The person just logged a check-in on the goals page. The board now reads (its first sentence is what changed):\n{{output.summary}}\nIn two short sentences, acknowledge the check-in, and if that goal is at risk or behind, suggest one concrete action the team could agree to. Do not call tools."
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"name": "page_add_action",
|
|
427
|
+
"description": "Add a meeting action.",
|
|
428
|
+
"script": "goals-store",
|
|
429
|
+
"inputs": {
|
|
430
|
+
"type": "object",
|
|
431
|
+
"properties": {
|
|
432
|
+
"title": {
|
|
433
|
+
"type": "string",
|
|
434
|
+
"description": "The action, e.g. \"Send Alder Co the proposal\"."
|
|
435
|
+
},
|
|
436
|
+
"owner": {
|
|
437
|
+
"type": "string"
|
|
438
|
+
},
|
|
439
|
+
"dueAt": {
|
|
440
|
+
"type": "string",
|
|
441
|
+
"description": "YYYY-MM-DD"
|
|
442
|
+
},
|
|
443
|
+
"goal": {
|
|
444
|
+
"type": "string",
|
|
445
|
+
"description": "Optional: the goal it serves (id or title)."
|
|
446
|
+
},
|
|
447
|
+
"from": {
|
|
448
|
+
"type": "string",
|
|
449
|
+
"description": "The meeting it came from, e.g. 'Monday team meeting'."
|
|
450
|
+
}
|
|
451
|
+
},
|
|
452
|
+
"required": [
|
|
453
|
+
"title"
|
|
454
|
+
]
|
|
455
|
+
},
|
|
456
|
+
"bind": {
|
|
457
|
+
"action": "add_action"
|
|
458
|
+
}
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
"name": "page_complete_action",
|
|
462
|
+
"description": "Mark a meeting action done.",
|
|
463
|
+
"script": "goals-store",
|
|
464
|
+
"inputs": {
|
|
465
|
+
"type": "object",
|
|
466
|
+
"properties": {
|
|
467
|
+
"id": {
|
|
468
|
+
"type": "string"
|
|
469
|
+
},
|
|
470
|
+
"title": {
|
|
471
|
+
"type": "string"
|
|
472
|
+
},
|
|
473
|
+
"note": {
|
|
474
|
+
"type": "string"
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
},
|
|
478
|
+
"bind": {
|
|
479
|
+
"action": "complete_action"
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
],
|
|
483
|
+
"craftbooks": [
|
|
484
|
+
"weekly-review",
|
|
485
|
+
"status-report",
|
|
486
|
+
"meeting-notes-to-actions",
|
|
487
|
+
"standup-summary",
|
|
488
|
+
"kpi-scorecard"
|
|
489
|
+
],
|
|
490
|
+
"schedules": [],
|
|
491
|
+
"pages": {
|
|
492
|
+
"entry": "goals/index.html",
|
|
493
|
+
"api": 1,
|
|
494
|
+
"reads": [
|
|
495
|
+
{
|
|
496
|
+
"source": "workspace",
|
|
497
|
+
"path": "goals.json"
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"source": "workspace",
|
|
501
|
+
"path": "keyresults.json"
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"source": "workspace",
|
|
505
|
+
"path": "checkins.json"
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"source": "workspace",
|
|
509
|
+
"path": "actions.json"
|
|
510
|
+
}
|
|
511
|
+
],
|
|
512
|
+
"tools": [
|
|
513
|
+
"page_add_goal",
|
|
514
|
+
"page_add_key_result",
|
|
515
|
+
"page_update_key_result",
|
|
516
|
+
"page_log_checkin",
|
|
517
|
+
"page_add_action",
|
|
518
|
+
"page_complete_action"
|
|
519
|
+
]
|
|
520
|
+
},
|
|
521
|
+
"workspaceSeed": [
|
|
522
|
+
"goals.json",
|
|
523
|
+
"keyresults.json",
|
|
524
|
+
"checkins.json",
|
|
525
|
+
"actions.json"
|
|
526
|
+
],
|
|
527
|
+
"minGezelVersion": "1.26280"
|
|
528
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
- Every goal has an owner, a due date and key results with a number to watch.
|
|
2
|
+
- Progress is recorded as it happens, so the weekly check-in is a
|
|
3
|
+
conversation, not an audit.
|
|
4
|
+
- Every meeting ends with actions that have an owner and a date, and nothing
|
|
5
|
+
agreed is lost.
|