@bendyline/gilde 0.3.6 → 0.3.7
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/chat-models/muse-glimmer-30b-q4.json +29 -3
- package/authoring/chat-models/nemotron3.5-bolt-e4b-q4.json +29 -3
- package/authoring/chat-models/qwen3.8-27b-q2.json +21 -5
- package/authoring/chat-models/qwen3.8-27b-q3.json +21 -5
- package/authoring/chat-models/qwen3.8-27b-q4.json +21 -5
- package/authoring/chat-models/qwen3.8-27b-q6.json +26 -6
- package/authoring/chat-models/qwen3.8-27b-q8.json +27 -6
- package/authoring/chat-models/qwen3.8-flash-next-q2.json +6 -3
- package/authoring/page-demo-bootstrap.js +96 -23
- package/data/chat-models/index.json +1 -1
- package/data/chat-models/mu/muse-glimmer-30b-q4/manifest.json +25 -2
- package/data/chat-models/mu/muse-glimmer-30b-q4/versions/1.0.3/manifest.json +31 -0
- package/data/chat-models/ne/nemotron3.5-bolt-e4b-q4/manifest.json +21 -4
- package/data/chat-models/ne/nemotron3.5-bolt-e4b-q4/versions/1.0.2/manifest.json +26 -0
- package/data/chat-models/qw/qwen3.8-27b-q2/manifest.json +20 -3
- package/data/chat-models/qw/qwen3.8-27b-q2/versions/1.0.1/manifest.json +31 -0
- package/data/chat-models/qw/qwen3.8-27b-q3/manifest.json +23 -6
- package/data/chat-models/qw/qwen3.8-27b-q3/versions/1.0.2/manifest.json +31 -0
- package/data/chat-models/qw/qwen3.8-27b-q4/manifest.json +20 -3
- package/data/chat-models/qw/qwen3.8-27b-q4/versions/1.0.6/manifest.json +128 -0
- package/data/chat-models/qw/qwen3.8-27b-q6/manifest.json +25 -9
- package/data/chat-models/qw/qwen3.8-27b-q6/versions/1.0.4/manifest.json +138 -0
- package/data/chat-models/qw/qwen3.8-27b-q8/manifest.json +20 -3
- package/data/chat-models/qw/qwen3.8-27b-q8/versions/1.0.3/manifest.json +148 -0
- package/data/chat-models/qw/qwen3.8-flash-next-q2/manifest.json +5 -2
- package/data/chat-models/qw/qwen3.8-flash-next-q2/versions/1.0.4/manifest.json +47 -0
- package/data/chat-models/raw-index.json +1 -1
- package/data/project-types/bo/books-and-close/versions/1.1.0/about.md +16 -0
- package/data/project-types/bo/books-and-close/versions/1.1.0/close.json +8 -0
- package/data/project-types/bo/books-and-close/versions/1.1.0/ledger.json +5 -0
- package/data/project-types/bo/books-and-close/versions/1.1.0/manifest.json +496 -0
- package/data/project-types/bo/books-and-close/versions/1.1.0/mission.md +5 -0
- package/data/project-types/bo/books-and-close/versions/1.1.0/pages/books/application.js +417 -0
- package/data/project-types/bo/books-and-close/versions/1.1.0/pages/books/demo-chat.js +515 -0
- package/data/project-types/bo/books-and-close/versions/1.1.0/pages/books/index.html +880 -0
- package/data/project-types/ca/campaign-room/versions/1.1.0/about.md +13 -0
- package/data/project-types/ca/campaign-room/versions/1.1.0/assets.json +11 -0
- package/data/project-types/ca/campaign-room/versions/1.1.0/campaign.json +13 -0
- package/data/project-types/ca/campaign-room/versions/1.1.0/manifest.json +610 -0
- package/data/project-types/ca/campaign-room/versions/1.1.0/mission.md +6 -0
- package/data/project-types/ca/campaign-room/versions/1.1.0/pages/campaign/application.js +439 -0
- package/data/project-types/ca/campaign-room/versions/1.1.0/pages/campaign/demo-chat.js +290 -0
- package/data/project-types/ca/campaign-room/versions/1.1.0/pages/campaign/index.html +624 -0
- package/data/project-types/ca/campaign-room/versions/1.1.0/results.json +4 -0
- package/data/project-types/ca/caregiving-binder/versions/1.2.0/about.md +7 -0
- package/data/project-types/ca/caregiving-binder/versions/1.2.0/care.json +4 -0
- package/data/project-types/ca/caregiving-binder/versions/1.2.0/manifest.json +232 -0
- package/data/project-types/ca/caregiving-binder/versions/1.2.0/meds.json +8 -0
- package/data/project-types/ca/caregiving-binder/versions/1.2.0/mission.md +7 -0
- package/data/project-types/ca/caregiving-binder/versions/1.2.0/pages/dashboard/application.js +186 -0
- package/data/project-types/ca/caregiving-binder/versions/1.2.0/pages/dashboard/demo-chat.js +224 -0
- package/data/project-types/ca/caregiving-binder/versions/1.2.0/pages/dashboard/index.html +365 -0
- package/data/project-types/ca/cash-flow-planner/versions/1.1.0/about.md +15 -0
- package/data/project-types/ca/cash-flow-planner/versions/1.1.0/cashflow.json +11 -0
- package/data/project-types/ca/cash-flow-planner/versions/1.1.0/manifest.json +443 -0
- package/data/project-types/ca/cash-flow-planner/versions/1.1.0/mission.md +6 -0
- package/data/project-types/ca/cash-flow-planner/versions/1.1.0/pages/forecast/application.js +441 -0
- package/data/project-types/ca/cash-flow-planner/versions/1.1.0/pages/forecast/demo-chat.js +517 -0
- package/data/project-types/ca/cash-flow-planner/versions/1.1.0/pages/forecast/index.html +848 -0
- package/data/project-types/cl/client-delivery/versions/1.1.0/about.md +13 -0
- package/data/project-types/cl/client-delivery/versions/1.1.0/manifest.json +376 -0
- package/data/project-types/cl/client-delivery/versions/1.1.0/milestones.json +10 -0
- package/data/project-types/cl/client-delivery/versions/1.1.0/mission.md +5 -0
- package/data/project-types/cl/client-delivery/versions/1.1.0/pages/delivery/application.js +272 -0
- package/data/project-types/cl/client-delivery/versions/1.1.0/pages/delivery/demo-chat.js +185 -0
- package/data/project-types/cl/client-delivery/versions/1.1.0/pages/delivery/index.html +593 -0
- package/data/project-types/cl/client-delivery/versions/1.1.0/projects.json +10 -0
- package/data/project-types/co/compliance-register/versions/1.1.0/about.md +12 -0
- package/data/project-types/co/compliance-register/versions/1.1.0/evidence.json +4 -0
- package/data/project-types/co/compliance-register/versions/1.1.0/manifest.json +361 -0
- package/data/project-types/co/compliance-register/versions/1.1.0/mission.md +5 -0
- package/data/project-types/co/compliance-register/versions/1.1.0/obligations.json +9 -0
- package/data/project-types/co/compliance-register/versions/1.1.0/pages/register/application.js +292 -0
- package/data/project-types/co/compliance-register/versions/1.1.0/pages/register/demo-chat.js +156 -0
- package/data/project-types/co/compliance-register/versions/1.1.0/pages/register/index.html +406 -0
- package/data/project-types/co/content-studio/versions/1.1.0/about.md +12 -0
- package/data/project-types/co/content-studio/versions/1.1.0/calendar.json +10 -0
- package/data/project-types/co/content-studio/versions/1.1.0/manifest.json +541 -0
- package/data/project-types/co/content-studio/versions/1.1.0/mission.md +6 -0
- package/data/project-types/co/content-studio/versions/1.1.0/pages/studio/application.js +413 -0
- package/data/project-types/co/content-studio/versions/1.1.0/pages/studio/demo-chat.js +247 -0
- package/data/project-types/co/content-studio/versions/1.1.0/pages/studio/index.html +486 -0
- package/data/project-types/co/content-studio/versions/1.1.0/pieces.json +12 -0
- package/data/project-types/cu/customer-voice/versions/1.1.0/about.md +15 -0
- package/data/project-types/cu/customer-voice/versions/1.1.0/actions.json +9 -0
- package/data/project-types/cu/customer-voice/versions/1.1.0/feedback.json +4 -0
- package/data/project-types/cu/customer-voice/versions/1.1.0/manifest.json +512 -0
- package/data/project-types/cu/customer-voice/versions/1.1.0/mission.md +6 -0
- package/data/project-types/cu/customer-voice/versions/1.1.0/pages/voice/application.js +303 -0
- package/data/project-types/cu/customer-voice/versions/1.1.0/pages/voice/demo-chat.js +276 -0
- package/data/project-types/cu/customer-voice/versions/1.1.0/pages/voice/index.html +832 -0
- package/data/project-types/cu/customer-voice/versions/1.1.0/themes.json +8 -0
- package/data/project-types/da/data-analysis/versions/1.1.0/about.md +20 -0
- package/data/project-types/da/data-analysis/versions/1.1.0/manifest.json +70 -0
- package/data/project-types/da/data-analysis/versions/1.1.0/mission.md +4 -0
- package/data/project-types/da/data-analysis/versions/1.1.0/pages/analytics.js +63 -0
- package/data/project-types/da/data-analysis/versions/1.1.0/pages/application.js +118 -0
- package/data/project-types/da/data-analysis/versions/1.1.0/pages/dashboard.css +94 -0
- package/data/project-types/da/data-analysis/versions/1.1.0/pages/dashboard.js +177 -0
- package/data/project-types/da/data-analysis/versions/1.1.0/pages/datasets.js +44 -0
- package/data/project-types/da/data-analysis/versions/1.1.0/pages/demo-chat.js +181 -0
- package/data/project-types/da/data-analysis/versions/1.1.0/pages/demo.js +27 -0
- package/data/project-types/da/data-analysis/versions/1.1.0/pages/index.html +142 -0
- package/data/project-types/da/data-analysis/versions/1.1.0/pages/insights.js +136 -0
- package/data/project-types/de/design-scheme/versions/1.1.0/about.md +6 -0
- package/data/project-types/de/design-scheme/versions/1.1.0/manifest.json +95 -0
- package/data/project-types/de/design-scheme/versions/1.1.0/mission.md +3 -0
- package/data/project-types/de/design-scheme/versions/1.1.0/pages/gallery/application.js +124 -0
- package/data/project-types/de/design-scheme/versions/1.1.0/pages/gallery/demo-chat.js +236 -0
- package/data/project-types/de/design-scheme/versions/1.1.0/pages/gallery/index.html +238 -0
- package/data/project-types/de/design-scheme/versions/1.1.0/schemes/index.json +9 -0
- package/data/project-types/de/design-scheme/versions/1.1.0/schemes/warm-dusk.json +4 -0
- package/data/project-types/ev/event-desk/versions/1.1.0/about.md +14 -0
- package/data/project-types/ev/event-desk/versions/1.1.0/budget.json +5 -0
- package/data/project-types/ev/event-desk/versions/1.1.0/event.json +12 -0
- package/data/project-types/ev/event-desk/versions/1.1.0/guests.json +9 -0
- package/data/project-types/ev/event-desk/versions/1.1.0/manifest.json +785 -0
- package/data/project-types/ev/event-desk/versions/1.1.0/mission.md +7 -0
- package/data/project-types/ev/event-desk/versions/1.1.0/pages/desk/application.js +1114 -0
- package/data/project-types/ev/event-desk/versions/1.1.0/pages/desk/demo-chat.js +229 -0
- package/data/project-types/ev/event-desk/versions/1.1.0/pages/desk/index.html +864 -0
- package/data/project-types/ev/event-desk/versions/1.1.0/vendors.json +10 -0
- package/data/project-types/ev/event-desk/versions/1.1.0/venues.json +11 -0
- package/data/project-types/ev/event-planner/versions/1.1.0/about.md +7 -0
- package/data/project-types/ev/event-planner/versions/1.1.0/budget.json +5 -0
- package/data/project-types/ev/event-planner/versions/1.1.0/guests.json +10 -0
- package/data/project-types/ev/event-planner/versions/1.1.0/manifest.json +260 -0
- package/data/project-types/ev/event-planner/versions/1.1.0/mission.md +6 -0
- package/data/project-types/ev/event-planner/versions/1.1.0/pages/dashboard/application.js +234 -0
- package/data/project-types/ev/event-planner/versions/1.1.0/pages/dashboard/demo-chat.js +231 -0
- package/data/project-types/ev/event-planner/versions/1.1.0/pages/dashboard/index.html +322 -0
- package/data/project-types/fi/fitness-coach/versions/1.2.0/about.md +8 -0
- package/data/project-types/fi/fitness-coach/versions/1.2.0/craftbooks/training-recap.json +34 -0
- package/data/project-types/fi/fitness-coach/versions/1.2.0/manifest.json +249 -0
- package/data/project-types/fi/fitness-coach/versions/1.2.0/mission.md +7 -0
- package/data/project-types/fi/fitness-coach/versions/1.2.0/pages/dashboard/application.js +148 -0
- package/data/project-types/fi/fitness-coach/versions/1.2.0/pages/dashboard/demo-chat.js +253 -0
- package/data/project-types/fi/fitness-coach/versions/1.2.0/pages/dashboard/index.html +419 -0
- package/data/project-types/fi/fitness-coach/versions/1.2.0/training.json +6 -0
- package/data/project-types/fl/flashcards/versions/1.3.0/about.md +8 -0
- package/data/project-types/fl/flashcards/versions/1.3.0/deck.json +7 -0
- package/data/project-types/fl/flashcards/versions/1.3.0/manifest.json +243 -0
- package/data/project-types/fl/flashcards/versions/1.3.0/mission.md +6 -0
- package/data/project-types/fl/flashcards/versions/1.3.0/pages/review/application.js +147 -0
- package/data/project-types/fl/flashcards/versions/1.3.0/pages/review/demo-chat.js +331 -0
- package/data/project-types/fl/flashcards/versions/1.3.0/pages/review/index.html +635 -0
- package/data/project-types/fr/freelance-office/versions/1.1.0/about.md +6 -0
- package/data/project-types/fr/freelance-office/versions/1.1.0/invoices.json +9 -0
- package/data/project-types/fr/freelance-office/versions/1.1.0/manifest.json +215 -0
- package/data/project-types/fr/freelance-office/versions/1.1.0/mission.md +6 -0
- package/data/project-types/fr/freelance-office/versions/1.1.0/pages/dashboard/application.js +194 -0
- package/data/project-types/fr/freelance-office/versions/1.1.0/pages/dashboard/demo-chat.js +244 -0
- package/data/project-types/fr/freelance-office/versions/1.1.0/pages/dashboard/index.html +275 -0
- package/data/project-types/fu/fundraiser-hq/versions/1.1.0/about.md +7 -0
- package/data/project-types/fu/fundraiser-hq/versions/1.1.0/donations.json +7 -0
- package/data/project-types/fu/fundraiser-hq/versions/1.1.0/manifest.json +175 -0
- package/data/project-types/fu/fundraiser-hq/versions/1.1.0/mission.md +6 -0
- package/data/project-types/fu/fundraiser-hq/versions/1.1.0/pages/dashboard/application.js +158 -0
- package/data/project-types/fu/fundraiser-hq/versions/1.1.0/pages/dashboard/demo-chat.js +171 -0
- package/data/project-types/fu/fundraiser-hq/versions/1.1.0/pages/dashboard/index.html +247 -0
- package/data/project-types/gr/grants-and-proposals/versions/1.1.0/about.md +14 -0
- package/data/project-types/gr/grants-and-proposals/versions/1.1.0/manifest.json +549 -0
- package/data/project-types/gr/grants-and-proposals/versions/1.1.0/mission.md +6 -0
- package/data/project-types/gr/grants-and-proposals/versions/1.1.0/opportunities.json +12 -0
- package/data/project-types/gr/grants-and-proposals/versions/1.1.0/pages/grants/application.js +370 -0
- package/data/project-types/gr/grants-and-proposals/versions/1.1.0/pages/grants/demo-chat.js +197 -0
- package/data/project-types/gr/grants-and-proposals/versions/1.1.0/pages/grants/index.html +501 -0
- package/data/project-types/gr/grants-and-proposals/versions/1.1.0/requirements.json +8 -0
- package/data/project-types/hi/hiring-desk/versions/1.1.0/about.md +20 -0
- package/data/project-types/hi/hiring-desk/versions/1.1.0/candidates.json +12 -0
- package/data/project-types/hi/hiring-desk/versions/1.1.0/feedback.json +4 -0
- package/data/project-types/hi/hiring-desk/versions/1.1.0/manifest.json +428 -0
- package/data/project-types/hi/hiring-desk/versions/1.1.0/mission.md +5 -0
- package/data/project-types/hi/hiring-desk/versions/1.1.0/pages/desk/application.js +345 -0
- package/data/project-types/hi/hiring-desk/versions/1.1.0/pages/desk/demo-chat.js +231 -0
- package/data/project-types/hi/hiring-desk/versions/1.1.0/pages/desk/index.html +523 -0
- package/data/project-types/hi/hiring-desk/versions/1.1.0/roles.json +10 -0
- package/data/project-types/ho/household-budget/versions/1.1.0/about.md +6 -0
- package/data/project-types/ho/household-budget/versions/1.1.0/ledger.json +5 -0
- package/data/project-types/ho/household-budget/versions/1.1.0/manifest.json +191 -0
- package/data/project-types/ho/household-budget/versions/1.1.0/mission.md +5 -0
- package/data/project-types/ho/household-budget/versions/1.1.0/pages/dashboard/application.js +176 -0
- package/data/project-types/ho/household-budget/versions/1.1.0/pages/dashboard/demo-chat.js +207 -0
- package/data/project-types/ho/household-budget/versions/1.1.0/pages/dashboard/index.html +291 -0
- package/data/project-types/ho/household-manual/versions/1.1.0/about.md +7 -0
- package/data/project-types/ho/household-manual/versions/1.1.0/manifest.json +236 -0
- package/data/project-types/ho/household-manual/versions/1.1.0/mission.md +8 -0
- package/data/project-types/ho/household-manual/versions/1.1.0/pages/dashboard/application.js +196 -0
- package/data/project-types/ho/household-manual/versions/1.1.0/pages/dashboard/demo-chat.js +178 -0
- package/data/project-types/ho/household-manual/versions/1.1.0/pages/dashboard/index.html +327 -0
- package/data/project-types/ho/household-manual/versions/1.1.0/systems.json +8 -0
- package/data/project-types/im/image-feed/versions/1.1.0/about.md +21 -0
- package/data/project-types/im/image-feed/versions/1.1.0/manifest.json +330 -0
- package/data/project-types/im/image-feed/versions/1.1.0/mission.md +10 -0
- package/data/project-types/im/image-feed/versions/1.1.0/pages/gallery/application.js +111 -0
- package/data/project-types/im/image-feed/versions/1.1.0/pages/gallery/demo-chat.js +269 -0
- package/data/project-types/im/image-feed/versions/1.1.0/pages/gallery/index.html +899 -0
- package/data/project-types/im/image-feed/versions/1.1.0/posts/index.json +4 -0
- package/data/project-types/im/image-feed/versions/1.1.0/style-guide.md +24 -0
- package/data/project-types/in/inventory-reorder/versions/1.1.0/about.md +12 -0
- package/data/project-types/in/inventory-reorder/versions/1.1.0/items.json +9 -0
- package/data/project-types/in/inventory-reorder/versions/1.1.0/manifest.json +381 -0
- package/data/project-types/in/inventory-reorder/versions/1.1.0/mission.md +6 -0
- package/data/project-types/in/inventory-reorder/versions/1.1.0/orders.json +10 -0
- package/data/project-types/in/inventory-reorder/versions/1.1.0/pages/stock/application.js +320 -0
- package/data/project-types/in/inventory-reorder/versions/1.1.0/pages/stock/demo-chat.js +200 -0
- package/data/project-types/in/inventory-reorder/versions/1.1.0/pages/stock/index.html +398 -0
- package/data/project-types/in/inventory-reorder/versions/1.1.0/pages/stock/rules.js +665 -0
- package/data/project-types/index.json +1 -1
- package/data/project-types/jo/job-hunt/versions/1.1.0/about.md +10 -0
- package/data/project-types/jo/job-hunt/versions/1.1.0/activity.json +4 -0
- package/data/project-types/jo/job-hunt/versions/1.1.0/manifest.json +296 -0
- package/data/project-types/jo/job-hunt/versions/1.1.0/mission.md +9 -0
- package/data/project-types/jo/job-hunt/versions/1.1.0/pages/dashboard/application.js +240 -0
- package/data/project-types/jo/job-hunt/versions/1.1.0/pages/dashboard/demo-chat.js +176 -0
- package/data/project-types/jo/job-hunt/versions/1.1.0/pages/dashboard/index.html +424 -0
- package/data/project-types/jo/job-hunt/versions/1.1.0/pipeline.json +6 -0
- package/data/project-types/la/language-trainer/versions/1.2.0/about.md +8 -0
- package/data/project-types/la/language-trainer/versions/1.2.0/manifest.json +245 -0
- package/data/project-types/la/language-trainer/versions/1.2.0/mission.md +4 -0
- package/data/project-types/la/language-trainer/versions/1.2.0/pages/dashboard/application.js +118 -0
- package/data/project-types/la/language-trainer/versions/1.2.0/pages/dashboard/demo-chat.js +439 -0
- package/data/project-types/la/language-trainer/versions/1.2.0/pages/dashboard/index.html +503 -0
- package/data/project-types/la/language-trainer/versions/1.2.0/progress.json +10 -0
- package/data/project-types/la/language-trainer/versions/1.2.0/reviews.json +3 -0
- package/data/project-types/la/language-trainer/versions/1.2.0/scenarios.json +84 -0
- package/data/project-types/li/life-binder/versions/1.1.0/about.md +7 -0
- package/data/project-types/li/life-binder/versions/1.1.0/documents.json +145 -0
- package/data/project-types/li/life-binder/versions/1.1.0/manifest.json +206 -0
- package/data/project-types/li/life-binder/versions/1.1.0/mission.md +6 -0
- package/data/project-types/li/life-binder/versions/1.1.0/pages/dashboard/application.js +172 -0
- package/data/project-types/li/life-binder/versions/1.1.0/pages/dashboard/demo-chat.js +184 -0
- package/data/project-types/li/life-binder/versions/1.1.0/pages/dashboard/index.html +287 -0
- package/data/project-types/me/meal-planner/versions/1.1.0/about.md +10 -0
- package/data/project-types/me/meal-planner/versions/1.1.0/manifest.json +245 -0
- package/data/project-types/me/meal-planner/versions/1.1.0/menu.json +5 -0
- package/data/project-types/me/meal-planner/versions/1.1.0/mission.md +5 -0
- package/data/project-types/me/meal-planner/versions/1.1.0/pages/dashboard/application.js +243 -0
- package/data/project-types/me/meal-planner/versions/1.1.0/pages/dashboard/demo-chat.js +139 -0
- package/data/project-types/me/meal-planner/versions/1.1.0/pages/dashboard/index.html +253 -0
- package/data/project-types/me/meal-planner/versions/1.1.0/pantry.json +9 -0
- package/data/project-types/ne/new-hire-onboarding/versions/1.1.0/about.md +14 -0
- package/data/project-types/ne/new-hire-onboarding/versions/1.1.0/hires.json +8 -0
- package/data/project-types/ne/new-hire-onboarding/versions/1.1.0/manifest.json +325 -0
- package/data/project-types/ne/new-hire-onboarding/versions/1.1.0/mission.md +5 -0
- package/data/project-types/ne/new-hire-onboarding/versions/1.1.0/pages/plans/application.js +248 -0
- package/data/project-types/ne/new-hire-onboarding/versions/1.1.0/pages/plans/demo-chat.js +188 -0
- package/data/project-types/ne/new-hire-onboarding/versions/1.1.0/pages/plans/index.html +439 -0
- package/data/project-types/ne/new-hire-onboarding/versions/1.1.0/tasks.json +8 -0
- package/data/project-types/no/novel-writing-room/versions/1.1.0/about.md +7 -0
- package/data/project-types/no/novel-writing-room/versions/1.1.0/chapters.json +10 -0
- package/data/project-types/no/novel-writing-room/versions/1.1.0/manifest.json +233 -0
- package/data/project-types/no/novel-writing-room/versions/1.1.0/mission.md +7 -0
- package/data/project-types/no/novel-writing-room/versions/1.1.0/pages/dashboard/application.js +225 -0
- package/data/project-types/no/novel-writing-room/versions/1.1.0/pages/dashboard/demo-chat.js +283 -0
- package/data/project-types/no/novel-writing-room/versions/1.1.0/pages/dashboard/index.html +342 -0
- package/data/project-types/no/novel-writing-room/versions/1.1.0/sessions.json +6 -0
- package/data/project-types/qu/quotes-and-bids/versions/1.1.0/about.md +15 -0
- package/data/project-types/qu/quotes-and-bids/versions/1.1.0/manifest.json +614 -0
- package/data/project-types/qu/quotes-and-bids/versions/1.1.0/mission.md +3 -0
- package/data/project-types/qu/quotes-and-bids/versions/1.1.0/pages/quotes/application.js +386 -0
- package/data/project-types/qu/quotes-and-bids/versions/1.1.0/pages/quotes/demo-chat.js +263 -0
- package/data/project-types/qu/quotes-and-bids/versions/1.1.0/pages/quotes/index.html +941 -0
- package/data/project-types/qu/quotes-and-bids/versions/1.1.0/quotes.json +10 -0
- package/data/project-types/qu/quotes-and-bids/versions/1.1.0/rates.json +8 -0
- package/data/project-types/raw-index.json +1 -1
- package/data/project-types/sa/sales-pipeline/versions/1.1.0/about.md +10 -0
- package/data/project-types/sa/sales-pipeline/versions/1.1.0/activity.json +4 -0
- package/data/project-types/sa/sales-pipeline/versions/1.1.0/deals.json +12 -0
- package/data/project-types/sa/sales-pipeline/versions/1.1.0/manifest.json +450 -0
- package/data/project-types/sa/sales-pipeline/versions/1.1.0/mission.md +3 -0
- package/data/project-types/sa/sales-pipeline/versions/1.1.0/pages/pipeline/application.js +270 -0
- package/data/project-types/sa/sales-pipeline/versions/1.1.0/pages/pipeline/demo-chat.js +219 -0
- package/data/project-types/sa/sales-pipeline/versions/1.1.0/pages/pipeline/index.html +710 -0
- package/data/project-types/sh/shift-roster/versions/1.1.0/about.md +13 -0
- package/data/project-types/sh/shift-roster/versions/1.1.0/availability.json +8 -0
- package/data/project-types/sh/shift-roster/versions/1.1.0/manifest.json +544 -0
- package/data/project-types/sh/shift-roster/versions/1.1.0/mission.md +5 -0
- package/data/project-types/sh/shift-roster/versions/1.1.0/pages/roster/application.js +418 -0
- package/data/project-types/sh/shift-roster/versions/1.1.0/pages/roster/demo-chat.js +218 -0
- package/data/project-types/sh/shift-roster/versions/1.1.0/pages/roster/index.html +466 -0
- package/data/project-types/sh/shift-roster/versions/1.1.0/pages/roster/rules.js +878 -0
- package/data/project-types/sh/shift-roster/versions/1.1.0/rules.json +4 -0
- package/data/project-types/sh/shift-roster/versions/1.1.0/shifts.json +8 -0
- package/data/project-types/sh/shift-roster/versions/1.1.0/staff.json +8 -0
- package/data/project-types/so/social-feed/versions/1.1.0/about.md +19 -0
- package/data/project-types/so/social-feed/versions/1.1.0/manifest.json +348 -0
- package/data/project-types/so/social-feed/versions/1.1.0/mission.md +10 -0
- package/data/project-types/so/social-feed/versions/1.1.0/pages/dashboard/application.js +119 -0
- package/data/project-types/so/social-feed/versions/1.1.0/pages/dashboard/demo-chat.js +321 -0
- package/data/project-types/so/social-feed/versions/1.1.0/pages/dashboard/index.html +837 -0
- package/data/project-types/so/social-feed/versions/1.1.0/posts/index.json +4 -0
- package/data/project-types/so/social-feed/versions/1.1.0/voice-guide.md +22 -0
- package/data/project-types/so/sop-library/versions/1.1.0/about.md +15 -0
- package/data/project-types/so/sop-library/versions/1.1.0/manifest.json +347 -0
- package/data/project-types/so/sop-library/versions/1.1.0/mission.md +4 -0
- package/data/project-types/so/sop-library/versions/1.1.0/pages/library/application.js +235 -0
- package/data/project-types/so/sop-library/versions/1.1.0/pages/library/demo-chat.js +184 -0
- package/data/project-types/so/sop-library/versions/1.1.0/pages/library/index.html +529 -0
- package/data/project-types/so/sop-library/versions/1.1.0/sops/index.json +10 -0
- package/data/project-types/su/support-desk/versions/1.1.0/about.md +15 -0
- package/data/project-types/su/support-desk/versions/1.1.0/manifest.json +395 -0
- package/data/project-types/su/support-desk/versions/1.1.0/mission.md +5 -0
- package/data/project-types/su/support-desk/versions/1.1.0/pages/desk/application.js +274 -0
- package/data/project-types/su/support-desk/versions/1.1.0/pages/desk/demo-chat.js +206 -0
- package/data/project-types/su/support-desk/versions/1.1.0/pages/desk/index.html +588 -0
- package/data/project-types/su/support-desk/versions/1.1.0/tickets.json +10 -0
- package/data/project-types/te/team-goals/versions/1.1.0/about.md +12 -0
- package/data/project-types/te/team-goals/versions/1.1.0/actions.json +8 -0
- package/data/project-types/te/team-goals/versions/1.1.0/checkins.json +4 -0
- package/data/project-types/te/team-goals/versions/1.1.0/goals.json +9 -0
- package/data/project-types/te/team-goals/versions/1.1.0/keyresults.json +8 -0
- package/data/project-types/te/team-goals/versions/1.1.0/manifest.json +528 -0
- package/data/project-types/te/team-goals/versions/1.1.0/mission.md +5 -0
- package/data/project-types/te/team-goals/versions/1.1.0/pages/goals/application.js +347 -0
- package/data/project-types/te/team-goals/versions/1.1.0/pages/goals/demo-chat.js +206 -0
- package/data/project-types/te/team-goals/versions/1.1.0/pages/goals/index.html +547 -0
- package/data/project-types/tr/training-tracker/versions/1.1.0/about.md +15 -0
- package/data/project-types/tr/training-tracker/versions/1.1.0/completions.json +4 -0
- package/data/project-types/tr/training-tracker/versions/1.1.0/courses.json +8 -0
- package/data/project-types/tr/training-tracker/versions/1.1.0/manifest.json +428 -0
- package/data/project-types/tr/training-tracker/versions/1.1.0/mission.md +5 -0
- package/data/project-types/tr/training-tracker/versions/1.1.0/pages/tracker/application.js +299 -0
- package/data/project-types/tr/training-tracker/versions/1.1.0/pages/tracker/demo-chat.js +225 -0
- package/data/project-types/tr/training-tracker/versions/1.1.0/pages/tracker/index.html +555 -0
- package/data/project-types/tr/training-tracker/versions/1.1.0/people.json +8 -0
- package/data/project-types/tr/training-tracker/versions/1.1.0/quizzes.json +8 -0
- package/data/project-types/tr/trip-planner/versions/1.1.0/about.md +7 -0
- package/data/project-types/tr/trip-planner/versions/1.1.0/journal.json +4 -0
- package/data/project-types/tr/trip-planner/versions/1.1.0/manifest.json +296 -0
- package/data/project-types/tr/trip-planner/versions/1.1.0/mission.md +4 -0
- package/data/project-types/tr/trip-planner/versions/1.1.0/packing.json +8 -0
- package/data/project-types/tr/trip-planner/versions/1.1.0/pages/dashboard/application.js +176 -0
- package/data/project-types/tr/trip-planner/versions/1.1.0/pages/dashboard/demo-chat.js +264 -0
- package/data/project-types/tr/trip-planner/versions/1.1.0/pages/dashboard/index.html +373 -0
- package/data/project-types/tr/trip-planner/versions/1.1.0/trip.json +8 -0
- package/data/project-types/ve/vendor-contracts/versions/1.1.0/about.md +15 -0
- package/data/project-types/ve/vendor-contracts/versions/1.1.0/contracts.json +10 -0
- package/data/project-types/ve/vendor-contracts/versions/1.1.0/manifest.json +545 -0
- package/data/project-types/ve/vendor-contracts/versions/1.1.0/mission.md +5 -0
- package/data/project-types/ve/vendor-contracts/versions/1.1.0/pages/desk/application.js +323 -0
- package/data/project-types/ve/vendor-contracts/versions/1.1.0/pages/desk/demo-chat.js +236 -0
- package/data/project-types/ve/vendor-contracts/versions/1.1.0/pages/desk/index.html +540 -0
- package/data/project-types/ve/vendor-contracts/versions/1.1.0/vendors.json +8 -0
- package/package.json +1 -1
- package/schemas/chat-model-identity.schema.json +184 -0
- package/schemas/chat-model-version.schema.json +19 -0
|
@@ -0,0 +1,549 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"releasedAt": "2026-11-07T18:00:00.000Z",
|
|
5
|
+
"meesterManaged": false,
|
|
6
|
+
"params": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"organization": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"title": "Who is applying?",
|
|
12
|
+
"description": "e.g. 'a small literary press', 'a community theater in Tacoma'.",
|
|
13
|
+
"default": "the organization"
|
|
14
|
+
},
|
|
15
|
+
"focus": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"title": "What will the funding support?",
|
|
18
|
+
"description": "e.g. 'new translations and author readings'.",
|
|
19
|
+
"default": "its work"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": [
|
|
23
|
+
"organization",
|
|
24
|
+
"focus"
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
"nameTemplate": "Grants & Proposals",
|
|
28
|
+
"aboutTemplate": "about.md",
|
|
29
|
+
"missionTemplate": "mission.md",
|
|
30
|
+
"gezels": [
|
|
31
|
+
{
|
|
32
|
+
"templateId": "aanjager",
|
|
33
|
+
"voorman": true
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"templateId": "researcher"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"templateId": "copywriter"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"scripts": {
|
|
43
|
+
"grants-store": "import { type InferredInput, defineScript, gezel } from '@bendyline/gezel-sdk';\nimport { rosterStore } from '@bendyline/gezel-sdk/stores';\n\nexport const meta = defineScript({\n name: 'grants-store',\n description:\n \"Read and update the funding pipeline (opportunities.json) and each submission's requirements checklist (requirements.json). action:'status' for the open opportunities by deadline with what each still needs, what awaits a decision, and the outcomes; 'add' saves an opportunity (an existing title is updated, never duplicated); 'update' changes one (extendDays moves its deadline later); 'stage' moves one to prospect, drafting, submitted or passed; 'outcome' records awarded, declined or passed; 'add_requirement' and 'check_requirement' keep the checklist.\",\n inputs: {\n action: {\n type: 'string',\n description: \"One of 'status', 'add', 'update', 'stage', 'outcome', 'add_requirement', or 'check_requirement'.\",\n required: true,\n },\n opportunity: { type: 'string', description: \"An opportunity's id ('op-2') or (part of) its title.\" },\n title: { type: 'string', description: \"The opportunity's or requirement's title, e.g. 'Small Press Grant' or 'Budget narrative'.\" },\n titles: { type: 'json', description: 'Several requirement titles at once, as a list.' },\n requirement: { type: 'string', description: \"A requirement's id ('req-4') or (part of) its title.\" },\n funder: { type: 'string', description: 'Who gives the money, e.g. Oregon Literary Arts.' },\n kind: { type: 'string', description: 'grant, rfp, fellowship, sponsorship, or other.' },\n deadline: { type: 'string', description: 'The submission deadline, YYYY-MM-DD.' },\n extendDays: { type: 'number', description: 'How many days later the deadline moved, e.g. 14.' },\n ask: { type: 'number', description: 'The amount requested, in dollars, e.g. 8000.' },\n award: { type: 'number', description: 'The amount awarded, in dollars.' },\n fit: { type: 'string', description: 'strong, good, or long shot.' },\n url: { type: 'string', description: 'Where the guidelines live.' },\n stage: { type: 'string', description: 'prospect, drafting, submitted, or passed.' },\n outcome: { type: 'string', description: 'awarded, declined, or passed.' },\n owner: { type: 'string', description: 'Who is preparing a requirement.' },\n done: { type: 'boolean', description: 'For check_requirement: false reopens it (default true).' },\n withinDays: { type: 'number', description: 'How many days ahead counts as due soon (default 30).' },\n note: { type: 'string', description: 'What happened, with any reference number exactly as written.' },\n },\n outputs: {\n open: { type: 'number', description: 'Opportunities still being considered or drafted.' },\n dueSoon: { type: 'number', description: 'Open opportunities due within the window, missed deadlines included.' },\n awaiting: { type: 'number', description: 'Submissions awaiting a decision.' },\n awarded: { type: 'number', description: 'Total awarded, in dollars.' },\n summary: {\n type: 'string',\n description: 'What changed first, then the open opportunities by deadline with what each still needs, the submissions awaiting a decision, and the outcomes.',\n },\n },\n requires: ['workspace.read', 'workspace.write', 'reminders'],\n} as const);\n\nconst input = gezel.input as InferredInput<typeof meta>;\n\n// ── grants-rules-start ──\n// Pure derivations: days to a deadline in local calendar days, a moved\n// deadline, money in integer cents, each submission's readiness, and the\n// pipeline lines the crew reads. Kept self-contained between these sentinels\n// so unit tests execute the shipped bytes.\nvar DAY_MS = 86400000;\nvar OPEN_STAGES = ['prospect', 'drafting'];\nvar STOP_WORDS = ['the', 'and', 'for', 'our', 'with', 'from', 'that', 'this', 'into', 'grant', 'fund'];\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(day, nowMs) {\n return Math.round((dayMs(day) - dayMs(localDay(nowMs))) / DAY_MS);\n}\nfunction addDays(day, days) {\n var d = new Date(String(day).slice(0, 10) + 'T12:00:00');\n d.setDate(d.getDate() + Math.round(days));\n return localDay(d.getTime());\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 toCents(amount) {\n if (typeof amount !== 'number' || !isFinite(amount) || amount < 0) return null;\n return Math.round(amount * 100);\n}\nfunction money(cents) {\n var c = Math.round(Number(cents) || 0);\n var whole = Math.floor(Math.abs(c) / 100);\n var rest = Math.abs(c) % 100;\n return (c < 0 ? '-' : '') + '$' + String(whole).replace(/\\B(?=(\\d{3})+(?!\\d))/g, ',') + (rest ? '.' + pad(rest) : '');\n}\nfunction normalizeFit(text) {\n var t = String(text || '').trim().toLowerCase();\n if (!t) return null;\n if (/long|weak|low|poor|stretch|unlikely|reach/.test(t)) return 'long shot';\n if (/strong|great|excellent|perfect|high|ideal/.test(t)) return 'strong';\n if (/good|ok|fair|decent|medium|possible|moderate|solid/.test(t)) return 'good';\n return null;\n}\nfunction normalizeKind(text) {\n var t = String(text || '').trim().toLowerCase();\n if (!t) return null;\n if (/rfp|request for proposal|proposal|tender|bid|contract/.test(t)) return 'rfp';\n if (/fellow|residen/.test(t)) return 'fellowship';\n if (/sponsor/.test(t)) return 'sponsorship';\n if (/grant|award|fund/.test(t)) return 'grant';\n return 'other';\n}\nfunction normalizeStage(text) {\n var t = String(text || '').trim().toLowerCase();\n if (/^(prospect|research|consider|maybe|watch|idea)/.test(t)) return 'prospect';\n if (/^(draft|writ|work|start|in.progress|prepar)/.test(t)) return 'drafting';\n if (/^(submit|sent|applied|filed|delivered)/.test(t)) return 'submitted';\n if (/^(pass|skip|not.apply|withdr|drop)/.test(t)) return 'passed';\n return null;\n}\nfunction normalizeOutcome(text) {\n var t = String(text || '').trim().toLowerCase();\n if (/^(award|won|win|funded|granted|approved|accepted|yes)/.test(t)) return 'awarded';\n if (/^(declin|reject|denied|turned|unsuccess|lost|no\\b)/.test(t)) return 'declined';\n if (/^(pass|withdr|skip|drop)/.test(t)) return 'passed';\n return null;\n}\nfunction titleOf(record) {\n return String((record && record.fields && record.fields.title) || '');\n}\nfunction requirementsFor(op, reqs) {\n return reqs.filter(function (r) {\n return r.fields && r.fields.opportunityId === op.id;\n });\n}\nfunction readiness(op, reqs) {\n var mine = requirementsFor(op, reqs);\n var open = mine.filter(function (r) { return r.status !== 'done'; });\n return { done: mine.length - open.length, total: mine.length, open: open };\n}\nfunction opLine(op, reqs, nowMs) {\n var f = op.fields || {};\n var r = readiness(op, reqs);\n var facts = [f.funder, f.kind, f.fit ? f.fit + ' fit' : '', typeof f.askCents === 'number' ? 'ask ' + money(f.askCents) : '', op.status].filter(Boolean);\n return (\n op.id + ' ' + f.title + ' (' + facts.join(', ') + ')' +\n (f.deadline ? ' due ' + f.deadline + ', ' + when(daysLeft(f.deadline, nowMs)) : ', no deadline yet') +\n '; requirements ' +\n (r.total\n ? r.done + ' of ' + r.total + ' done' + (r.open.length ? ', still to do: ' + r.open.map(function (x) { return x.id + ' ' + titleOf(x); }).join(', ') : ', ready to submit')\n : 'not listed yet')\n );\n}\nfunction picture(ops, reqs, nowMs, withinDays) {\n var byDeadline = function (a, b) { return String(a.fields.deadline).localeCompare(String(b.fields.deadline)); };\n var open = ops.filter(function (o) { return OPEN_STAGES.indexOf(o.status) >= 0; });\n // One list, missed deadlines first: asked \"what's due\", a model reads a side list as out of scope.\n var dated = open.filter(function (o) { return o.fields && o.fields.deadline; }).sort(byDeadline);\n var undated = open.filter(function (o) { return !(o.fields && o.fields.deadline); });\n var soon = dated.filter(function (o) { return daysLeft(o.fields.deadline, nowMs) <= withinDays; });\n var awaiting = ops.filter(function (o) { return o.status === 'submitted'; });\n var awarded = ops.filter(function (o) { return o.status === 'awarded'; });\n var declined = ops.filter(function (o) { return o.status === 'declined'; });\n var passed = ops.filter(function (o) { return o.status === 'passed'; });\n var askCents = open.reduce(function (sum, o) { return sum + (typeof o.fields.askCents === 'number' ? o.fields.askCents : 0); }, 0);\n var awardedCents = awarded.reduce(function (sum, o) { return sum + (typeof o.fields.awardCents === 'number' ? o.fields.awardCents : 0); }, 0);\n var parts = [];\n parts.push(\n open.length\n ? open.length + (open.length === 1 ? ' open opportunity' : ' open opportunities') + (askCents ? ', asking ' + money(askCents) + ' in all' : '') + ', ' + soon.length + ' due within ' + withinDays + ' days.'\n : ops.length ? 'No open opportunities.' : 'No open opportunities yet.',\n );\n if (dated.length) parts.push('Open opportunities by deadline, soonest first: ' + dated.map(function (o) { return opLine(o, reqs, nowMs); }).join(' | ') + '.');\n if (undated.length) parts.push('No deadline yet: ' + undated.map(function (o) { return opLine(o, reqs, nowMs); }).join(' | ') + '.');\n parts.push(\n awaiting.length\n ? 'Submitted, awaiting a decision: ' +\n awaiting.map(function (o) {\n var f = o.fields;\n return o.id + ' ' + f.title + ' (' + [f.funder, typeof f.askCents === 'number' ? 'ask ' + money(f.askCents) : '', f.submittedAt ? 'submitted ' + f.submittedAt : ''].filter(Boolean).join(', ') + ')';\n }).join('; ') + '.'\n : 'Nothing awaiting a decision.',\n );\n if (awarded.length || declined.length || passed.length) {\n parts.push(\n 'Outcomes: ' + awarded.length + ' awarded' +\n (awarded.length ? ' (' + money(awardedCents) + ': ' + awarded.map(function (o) { return titleOf(o) + ' ' + money(o.fields.awardCents || 0); }).join(', ') + ')' : '') +\n ', ' + declined.length + ' declined, ' + passed.length + ' passed on.',\n );\n }\n return { open: open.length, dueSoon: soon.length, awaiting: awaiting.length, awardedCents: awardedCents, 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) {\n var t = titleOf(r).toLowerCase();\n var funder = String((r.fields && r.fields.funder) || '').toLowerCase();\n return t.indexOf(lower) >= 0 || (funder && funder.indexOf(lower) >= 0);\n });\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) + ' ' + String((r.fields && r.fields.funder) || '')).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}\nfunction requirementTitles(single, list) {\n var items = [];\n if (Array.isArray(list)) items = list.map(function (x) { return String(x); });\n else if (typeof list === 'string') items = list.split(/\\s*(?:;|\\n)\\s*/);\n if (single) items.unshift(String(single));\n var seen = [];\n return items\n .map(function (x) { return x.replace(/^[\\s*-]+/, '').trim(); })\n .filter(function (x) {\n if (!x || seen.indexOf(x.toLowerCase()) >= 0) return false;\n seen.push(x.toLowerCase());\n return true;\n });\n}\n// ── grants-rules-end ──\n\nconst opportunities = rosterStore(gezel.fs, 'opportunities.json', {\n stages: ['prospect', 'drafting', 'submitted', 'awarded', 'declined', 'passed'],\n idPrefix: 'op',\n});\nconst requirements = rosterStore(gezel.fs, 'requirements.json', { stages: ['todo', 'done'], idPrefix: 'req' });\n\nfunction text(value: unknown): string {\n return typeof value === 'string' ? value.trim() : '';\n}\nasync function findOpportunity(wanted: string) {\n const all = await opportunities.list();\n const live = all.filter((o) => OPEN_STAGES.includes(o.status) || o.status === 'submitted');\n return pickPreferring(live, all, wanted, 'opportunity');\n}\n\n// The desk's one reminder sits two weeks ahead of the soonest open deadline.\nasync function remindNextDeadline(): Promise<void> {\n const now = Date.now();\n const lead = 14 * DAY_MS;\n const reqs = await requirements.list();\n const next = (await opportunities.list())\n .filter((o) => OPEN_STAGES.includes(o.status) && typeof o.fields.deadline === 'string')\n .map((o) => ({ op: o, at: Date.parse(String(o.fields.deadline) + 'T09:00:00') - lead }))\n .filter((o) => o.at > now)\n .sort((a, b) => a.at - b.at)[0];\n try {\n if (!next || next.at - now > 30 * DAY_MS) {\n await gezel.reminder.clear();\n } else {\n const name = titleOf(next.op);\n const ready = readiness(next.op, reqs);\n await gezel.reminder.set({\n at: new Date(next.at).toISOString(),\n title: (name.length > 58 ? name.slice(0, 57) + '…' : name) + ' is due in two weeks',\n body: 'Deadline ' + String(next.op.fields.deadline) + '. ' + (ready.total ? ready.done + ' of ' + ready.total + ' requirements done.' : 'No requirements listed yet.'),\n });\n }\n } catch {\n // Reminders are a convenience; the pipeline is the record.\n }\n}\n\n// The fields an add or update sets; a missing deadline to extend is an error.\nfunction changes(existingDeadline: string | null): { fields: Record<string, unknown>; said: string[] } {\n const fields: Record<string, unknown> = {};\n const said: string[] = [];\n if (text(input.funder)) fields.funder = text(input.funder);\n if (text(input.kind)) fields.kind = normalizeKind(input.kind);\n if (text(input.fit)) {\n const fit = normalizeFit(input.fit);\n if (!fit) throw new Error(\"fit must be 'strong', 'good', or 'long shot'.\");\n fields.fit = fit;\n }\n if (text(input.url)) fields.url = text(input.url);\n if (text(input.note)) fields.notes = text(input.note);\n if (typeof input.ask === 'number') {\n const cents = toCents(input.ask);\n if (cents === null) throw new Error('ask must be an amount in dollars, e.g. 8000.');\n fields.askCents = cents;\n said.push('ask ' + money(cents));\n }\n let deadline = existingDeadline;\n if (text(input.deadline)) {\n const day = normalizeDate(input.deadline);\n if (!day) throw new Error(\"deadline must be a date, e.g. '2026-12-15'.\");\n deadline = day;\n fields.deadline = day;\n said.push('deadline ' + day);\n }\n if (typeof input.extendDays === 'number' && input.extendDays !== 0) {\n if (!deadline) throw new Error('There is no deadline to move yet; pass deadline (YYYY-MM-DD).');\n const moved = addDays(deadline, input.extendDays);\n said.push('deadline moved from ' + deadline + ' to ' + moved);\n fields.deadline = moved;\n }\n return { fields, said };\n}\n\nconst withinDays = typeof input.withinDays === 'number' && input.withinDays > 0 ? Math.round(input.withinDays) : 30;\nlet note = '';\n\nif (input.action === 'add') {\n const title = text(input.title) || text(input.opportunity);\n if (!title) throw new Error(\"add needs 'title', e.g. 'Small Press Grant'.\");\n const existing = (await opportunities.list()).find((o) => titleOf(o).toLowerCase() === title.toLowerCase());\n const { fields, said } = changes(existing ? String(existing.fields.deadline ?? '') || null : null);\n if (existing) {\n await opportunities.update(existing.id, { fields, ...(said.length ? { note: said.join('; ') } : {}) });\n note = 'Updated ' + existing.id + ' ' + titleOf(existing) + (said.length ? ': ' + said.join(', ') : '') + '.';\n } else {\n const record = await opportunities.add({ status: 'prospect', fields: { title, kind: 'grant', ...fields } });\n note = 'Added ' + record.id + ' ' + title + (fields.deadline ? ', due ' + String(fields.deadline) : '') + '.';\n }\n} else if (input.action === 'update') {\n const wanted = text(input.opportunity) || text(input.title);\n if (!wanted) throw new Error(\"update needs 'opportunity' (its id or title).\");\n const op = await findOpportunity(wanted);\n const { fields, said } = changes(String(op.fields.deadline ?? '') || null);\n if (!Object.keys(fields).length) {\n throw new Error('Nothing to change: pass deadline, extendDays, ask, fit, funder, kind, url or note.');\n }\n await opportunities.update(op.id, { fields, ...(said.length ? { note: said.join('; ') } : {}) });\n note = 'Updated ' + op.id + ' ' + titleOf(op) + (said.length ? ': ' + said.join(', ') : '') + '.';\n} else if (input.action === 'stage') {\n const stage = normalizeStage(input.stage);\n if (!stage) throw new Error(\"stage must be 'prospect', 'drafting', 'submitted', or 'passed'.\");\n const wanted = text(input.opportunity) || text(input.title);\n if (!wanted) throw new Error(\"stage needs 'opportunity' (its id or title).\");\n const op = await findOpportunity(wanted);\n if (op.status !== stage) await opportunities.transition(op.id, stage, text(input.note) ? { note: text(input.note) } : {});\n const ready = readiness(op, await requirements.list());\n if (stage === 'submitted') {\n await opportunities.update(op.id, { fields: { submittedAt: localDay(Date.now()) } });\n note =\n titleOf(op) + ' is submitted.' +\n (ready.open.length ? ' ' + ready.open.length + ' requirement' + (ready.open.length === 1 ? ' was' : 's were') + ' still open: ' + ready.open.map(titleOf).join(', ') + '.' : '');\n } else {\n note = titleOf(op) + (stage === 'passed' ? ' is passed on.' : ' is now ' + stage + '.');\n }\n} else if (input.action === 'outcome') {\n const outcome = normalizeOutcome(input.outcome);\n if (!outcome) throw new Error(\"outcome must be 'awarded', 'declined', or 'passed'.\");\n const wanted = text(input.opportunity) || text(input.title);\n if (!wanted) throw new Error(\"outcome needs 'opportunity' (its id or title).\");\n const op = await findOpportunity(wanted);\n const fields: Record<string, unknown> = { decidedAt: localDay(Date.now()) };\n if (outcome === 'awarded' && typeof input.award === 'number') {\n const cents = toCents(input.award);\n if (cents === null) throw new Error('award must be an amount in dollars, e.g. 6000.');\n fields.awardCents = cents;\n }\n if (text(input.note)) fields.outcomeNote = text(input.note);\n await opportunities.update(op.id, { fields });\n if (op.status !== outcome) await opportunities.transition(op.id, outcome, text(input.note) ? { note: text(input.note) } : {});\n note =\n titleOf(op) + (outcome === 'awarded' ? ' was awarded' + (typeof fields.awardCents === 'number' ? ' ' + money(fields.awardCents as number) : '') : outcome === 'declined' ? ' was declined' : ' is passed on') +\n (outcome === 'awarded' && typeof op.fields.askCents === 'number' ? ' (asked ' + money(op.fields.askCents as number) + ')' : '') + '.';\n} else if (input.action === 'add_requirement') {\n const wanted = text(input.opportunity);\n if (!wanted) throw new Error(\"add_requirement needs 'opportunity' (its id or title) and 'title'.\");\n const op = await findOpportunity(wanted);\n const titles = requirementTitles(text(input.title), input.titles);\n if (!titles.length) throw new Error(\"add_requirement needs 'title', e.g. 'Budget narrative'.\");\n const mine = requirementsFor(op, await requirements.list());\n const added: string[] = [];\n const kept: string[] = [];\n for (const title of titles) {\n const existing = mine.find((r) => titleOf(r).toLowerCase() === title.toLowerCase());\n if (existing) {\n if (text(input.owner)) await requirements.update(existing.id, { fields: { owner: text(input.owner) } });\n kept.push(titleOf(existing));\n continue;\n }\n const record = await requirements.add({\n status: 'todo',\n fields: { opportunityId: op.id, opportunity: titleOf(op), title, ...(text(input.owner) ? { owner: text(input.owner) } : {}) },\n });\n added.push(record.id + ' ' + title);\n }\n note =\n (added.length ? 'Added to ' + titleOf(op) + ': ' + added.join(', ') + '.' : '') +\n (kept.length ? (added.length ? ' ' : '') + 'Already on its list: ' + kept.join(', ') + '.' : '');\n} else if (input.action === 'check_requirement') {\n const wanted = text(input.requirement) || text(input.title);\n if (!wanted) throw new Error(\"check_requirement needs 'requirement' (its id or title).\");\n let pool = await requirements.list();\n const all = pool;\n if (text(input.opportunity)) {\n const op = await findOpportunity(text(input.opportunity));\n pool = pool.filter((r) => r.fields.opportunityId === op.id);\n }\n const done = input.done !== false;\n const req = pickPreferring(\n pool.filter((r) => (done ? r.status !== 'done' : r.status === 'done')),\n pool.length ? pool : all,\n wanted,\n 'requirement',\n );\n const target = done ? 'done' : 'todo';\n if (req.status !== target) await requirements.transition(req.id, target, text(input.note) ? { note: text(input.note) } : {});\n const op = (await opportunities.list()).find((o) => o.id === req.fields.opportunityId);\n const ready = op ? readiness(op, await requirements.list()) : null;\n note =\n (done ? 'Done: ' : 'Reopened: ') + titleOf(req) + (op ? ' for ' + titleOf(op) : '') +\n (ready ? ' (' + ready.done + ' of ' + ready.total + ' requirements done).' : '.');\n} else if (input.action !== 'status') {\n throw new Error(\"Unknown action '\" + input.action + \"'. Use status, add, update, stage, outcome, add_requirement, or check_requirement.\");\n}\n\nconst view = picture(await opportunities.list(), await requirements.list(), Date.now(), withinDays);\nawait remindNextDeadline();\n\ngezel.output({\n open: view.open,\n dueSoon: view.dueSoon,\n awaiting: view.awaiting,\n awarded: view.awardedCents / 100,\n summary: (note ? note + ' ' : '') + view.summary,\n});\n"
|
|
44
|
+
},
|
|
45
|
+
"tools": [
|
|
46
|
+
{
|
|
47
|
+
"name": "grants_status",
|
|
48
|
+
"description": "The whole pipeline: every open opportunity by deadline, soonest first (missed ones included), each with its funder, fit, ask, stage and the requirements still to do (with ids); what is submitted and awaiting a decision; and the outcomes so far. Call it first when asked what's due or where things stand.",
|
|
49
|
+
"script": "grants-store",
|
|
50
|
+
"inputs": {
|
|
51
|
+
"type": "object",
|
|
52
|
+
"properties": {
|
|
53
|
+
"withinDays": {
|
|
54
|
+
"type": "number"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"bind": {
|
|
59
|
+
"action": "status"
|
|
60
|
+
},
|
|
61
|
+
"state": true
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "add_opportunity",
|
|
65
|
+
"description": "Save a funding opportunity or request for proposals: its title, funder, kind, deadline (YYYY-MM-DD), the ask in dollars, and how well it fits. An existing title is updated, never duplicated. Call it as soon as one is mentioned, before you describe it.",
|
|
66
|
+
"script": "grants-store",
|
|
67
|
+
"inputs": {
|
|
68
|
+
"type": "object",
|
|
69
|
+
"properties": {
|
|
70
|
+
"title": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"description": "e.g. 'Small Press Grant'"
|
|
73
|
+
},
|
|
74
|
+
"funder": {
|
|
75
|
+
"type": "string"
|
|
76
|
+
},
|
|
77
|
+
"kind": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"enum": [
|
|
80
|
+
"grant",
|
|
81
|
+
"rfp",
|
|
82
|
+
"fellowship",
|
|
83
|
+
"sponsorship",
|
|
84
|
+
"other"
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
"deadline": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"description": "YYYY-MM-DD"
|
|
90
|
+
},
|
|
91
|
+
"ask": {
|
|
92
|
+
"type": "number",
|
|
93
|
+
"description": "The amount requested, in dollars."
|
|
94
|
+
},
|
|
95
|
+
"fit": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"enum": [
|
|
98
|
+
"strong",
|
|
99
|
+
"good",
|
|
100
|
+
"long shot"
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
"url": {
|
|
104
|
+
"type": "string"
|
|
105
|
+
},
|
|
106
|
+
"note": {
|
|
107
|
+
"type": "string"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"required": [
|
|
111
|
+
"title"
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
"bind": {
|
|
115
|
+
"action": "add"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "update_opportunity",
|
|
120
|
+
"description": "Change an opportunity already on the list. When the funder moves the deadline by some days or weeks ('extended by two weeks'), pass extendDays (14) and the desk moves it; pass deadline only when they give the new date. Never work the date out yourself. Call it the moment they tell you, before you reply.",
|
|
121
|
+
"script": "grants-store",
|
|
122
|
+
"inputs": {
|
|
123
|
+
"type": "object",
|
|
124
|
+
"properties": {
|
|
125
|
+
"opportunity": {
|
|
126
|
+
"type": "string",
|
|
127
|
+
"description": "The opportunity's id (e.g. 'op-2') or title."
|
|
128
|
+
},
|
|
129
|
+
"extendDays": {
|
|
130
|
+
"type": "number",
|
|
131
|
+
"description": "How many days later the deadline moved, e.g. 14 for two weeks."
|
|
132
|
+
},
|
|
133
|
+
"deadline": {
|
|
134
|
+
"type": "string",
|
|
135
|
+
"description": "A new deadline, YYYY-MM-DD, only when they give the date."
|
|
136
|
+
},
|
|
137
|
+
"ask": {
|
|
138
|
+
"type": "number",
|
|
139
|
+
"description": "A new amount requested, in dollars."
|
|
140
|
+
},
|
|
141
|
+
"fit": {
|
|
142
|
+
"type": "string",
|
|
143
|
+
"enum": [
|
|
144
|
+
"strong",
|
|
145
|
+
"good",
|
|
146
|
+
"long shot"
|
|
147
|
+
]
|
|
148
|
+
},
|
|
149
|
+
"funder": {
|
|
150
|
+
"type": "string"
|
|
151
|
+
},
|
|
152
|
+
"kind": {
|
|
153
|
+
"type": "string",
|
|
154
|
+
"enum": [
|
|
155
|
+
"grant",
|
|
156
|
+
"rfp",
|
|
157
|
+
"fellowship",
|
|
158
|
+
"sponsorship",
|
|
159
|
+
"other"
|
|
160
|
+
]
|
|
161
|
+
},
|
|
162
|
+
"url": {
|
|
163
|
+
"type": "string"
|
|
164
|
+
},
|
|
165
|
+
"note": {
|
|
166
|
+
"type": "string"
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"required": [
|
|
170
|
+
"opportunity"
|
|
171
|
+
]
|
|
172
|
+
},
|
|
173
|
+
"bind": {
|
|
174
|
+
"action": "update"
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"name": "set_stage",
|
|
179
|
+
"description": "Move an opportunity to prospect, drafting, submitted (the moment it is sent, with any confirmation number as the note) or passed (decided not to apply). Call it as soon as the person says it moved.",
|
|
180
|
+
"script": "grants-store",
|
|
181
|
+
"inputs": {
|
|
182
|
+
"type": "object",
|
|
183
|
+
"properties": {
|
|
184
|
+
"opportunity": {
|
|
185
|
+
"type": "string",
|
|
186
|
+
"description": "The opportunity's id (e.g. 'op-2') or title."
|
|
187
|
+
},
|
|
188
|
+
"stage": {
|
|
189
|
+
"type": "string",
|
|
190
|
+
"enum": [
|
|
191
|
+
"prospect",
|
|
192
|
+
"drafting",
|
|
193
|
+
"submitted",
|
|
194
|
+
"passed"
|
|
195
|
+
]
|
|
196
|
+
},
|
|
197
|
+
"note": {
|
|
198
|
+
"type": "string",
|
|
199
|
+
"description": "Any confirmation number, exactly as given."
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
"required": [
|
|
203
|
+
"opportunity",
|
|
204
|
+
"stage"
|
|
205
|
+
]
|
|
206
|
+
},
|
|
207
|
+
"bind": {
|
|
208
|
+
"action": "stage"
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"name": "record_outcome",
|
|
213
|
+
"description": "Record the funder's decision the moment it comes in: awarded (with the amount in dollars), declined, or passed. Put reporting dates or feedback in the note.",
|
|
214
|
+
"script": "grants-store",
|
|
215
|
+
"inputs": {
|
|
216
|
+
"type": "object",
|
|
217
|
+
"properties": {
|
|
218
|
+
"opportunity": {
|
|
219
|
+
"type": "string",
|
|
220
|
+
"description": "The opportunity's id (e.g. 'op-2') or title."
|
|
221
|
+
},
|
|
222
|
+
"outcome": {
|
|
223
|
+
"type": "string",
|
|
224
|
+
"enum": [
|
|
225
|
+
"awarded",
|
|
226
|
+
"declined",
|
|
227
|
+
"passed"
|
|
228
|
+
]
|
|
229
|
+
},
|
|
230
|
+
"award": {
|
|
231
|
+
"type": "number",
|
|
232
|
+
"description": "The amount awarded, in dollars."
|
|
233
|
+
},
|
|
234
|
+
"note": {
|
|
235
|
+
"type": "string",
|
|
236
|
+
"description": "Reporting dates, feedback or conditions, in their words."
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
"required": [
|
|
240
|
+
"opportunity",
|
|
241
|
+
"outcome"
|
|
242
|
+
]
|
|
243
|
+
},
|
|
244
|
+
"bind": {
|
|
245
|
+
"action": "outcome"
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"name": "add_requirement",
|
|
250
|
+
"description": "Add what a submission needs to its checklist (a budget narrative, work samples, a board list, letters of support): one as title, or several as titles. Existing items are kept, never duplicated. Call it as soon as the guidelines are read or the person lists them.",
|
|
251
|
+
"script": "grants-store",
|
|
252
|
+
"inputs": {
|
|
253
|
+
"type": "object",
|
|
254
|
+
"properties": {
|
|
255
|
+
"opportunity": {
|
|
256
|
+
"type": "string",
|
|
257
|
+
"description": "The opportunity's id (e.g. 'op-2') or title."
|
|
258
|
+
},
|
|
259
|
+
"title": {
|
|
260
|
+
"type": "string",
|
|
261
|
+
"description": "One thing the submission needs, e.g. 'Budget narrative'."
|
|
262
|
+
},
|
|
263
|
+
"titles": {
|
|
264
|
+
"type": "array",
|
|
265
|
+
"items": {
|
|
266
|
+
"type": "string"
|
|
267
|
+
},
|
|
268
|
+
"description": "Several requirements at once."
|
|
269
|
+
},
|
|
270
|
+
"owner": {
|
|
271
|
+
"type": "string",
|
|
272
|
+
"description": "Who is preparing it."
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
"required": [
|
|
276
|
+
"opportunity"
|
|
277
|
+
]
|
|
278
|
+
},
|
|
279
|
+
"bind": {
|
|
280
|
+
"action": "add_requirement"
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"name": "check_requirement",
|
|
285
|
+
"description": "Check a requirement off the moment the person says it is ready (done: false reopens it).",
|
|
286
|
+
"script": "grants-store",
|
|
287
|
+
"inputs": {
|
|
288
|
+
"type": "object",
|
|
289
|
+
"properties": {
|
|
290
|
+
"requirement": {
|
|
291
|
+
"type": "string",
|
|
292
|
+
"description": "The requirement's id (e.g. 'req-4') or title."
|
|
293
|
+
},
|
|
294
|
+
"opportunity": {
|
|
295
|
+
"type": "string",
|
|
296
|
+
"description": "The opportunity's id (e.g. 'op-2') or title."
|
|
297
|
+
},
|
|
298
|
+
"done": {
|
|
299
|
+
"type": "boolean",
|
|
300
|
+
"description": "false reopens it."
|
|
301
|
+
},
|
|
302
|
+
"note": {
|
|
303
|
+
"type": "string"
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
"required": [
|
|
307
|
+
"requirement"
|
|
308
|
+
]
|
|
309
|
+
},
|
|
310
|
+
"bind": {
|
|
311
|
+
"action": "check_requirement"
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"name": "page_add_opportunity",
|
|
316
|
+
"description": "Add or update an opportunity.",
|
|
317
|
+
"script": "grants-store",
|
|
318
|
+
"inputs": {
|
|
319
|
+
"type": "object",
|
|
320
|
+
"properties": {
|
|
321
|
+
"title": {
|
|
322
|
+
"type": "string",
|
|
323
|
+
"description": "e.g. 'Small Press Grant'"
|
|
324
|
+
},
|
|
325
|
+
"funder": {
|
|
326
|
+
"type": "string"
|
|
327
|
+
},
|
|
328
|
+
"kind": {
|
|
329
|
+
"type": "string",
|
|
330
|
+
"enum": [
|
|
331
|
+
"grant",
|
|
332
|
+
"rfp",
|
|
333
|
+
"fellowship",
|
|
334
|
+
"sponsorship",
|
|
335
|
+
"other"
|
|
336
|
+
]
|
|
337
|
+
},
|
|
338
|
+
"deadline": {
|
|
339
|
+
"type": "string",
|
|
340
|
+
"description": "YYYY-MM-DD"
|
|
341
|
+
},
|
|
342
|
+
"ask": {
|
|
343
|
+
"type": "number",
|
|
344
|
+
"description": "The amount requested, in dollars."
|
|
345
|
+
},
|
|
346
|
+
"fit": {
|
|
347
|
+
"type": "string",
|
|
348
|
+
"enum": [
|
|
349
|
+
"strong",
|
|
350
|
+
"good",
|
|
351
|
+
"long shot"
|
|
352
|
+
]
|
|
353
|
+
},
|
|
354
|
+
"url": {
|
|
355
|
+
"type": "string"
|
|
356
|
+
},
|
|
357
|
+
"note": {
|
|
358
|
+
"type": "string"
|
|
359
|
+
}
|
|
360
|
+
},
|
|
361
|
+
"required": [
|
|
362
|
+
"title"
|
|
363
|
+
]
|
|
364
|
+
},
|
|
365
|
+
"bind": {
|
|
366
|
+
"action": "add"
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"name": "page_add_requirement",
|
|
371
|
+
"description": "Add a requirement to a submission.",
|
|
372
|
+
"script": "grants-store",
|
|
373
|
+
"inputs": {
|
|
374
|
+
"type": "object",
|
|
375
|
+
"properties": {
|
|
376
|
+
"opportunity": {
|
|
377
|
+
"type": "string",
|
|
378
|
+
"description": "The opportunity's id (e.g. 'op-2') or title."
|
|
379
|
+
},
|
|
380
|
+
"title": {
|
|
381
|
+
"type": "string",
|
|
382
|
+
"description": "One thing the submission needs, e.g. 'Budget narrative'."
|
|
383
|
+
},
|
|
384
|
+
"titles": {
|
|
385
|
+
"type": "array",
|
|
386
|
+
"items": {
|
|
387
|
+
"type": "string"
|
|
388
|
+
},
|
|
389
|
+
"description": "Several requirements at once."
|
|
390
|
+
},
|
|
391
|
+
"owner": {
|
|
392
|
+
"type": "string",
|
|
393
|
+
"description": "Who is preparing it."
|
|
394
|
+
}
|
|
395
|
+
},
|
|
396
|
+
"required": [
|
|
397
|
+
"opportunity"
|
|
398
|
+
]
|
|
399
|
+
},
|
|
400
|
+
"bind": {
|
|
401
|
+
"action": "add_requirement"
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"name": "page_check_requirement",
|
|
406
|
+
"description": "Check a requirement off, or reopen it.",
|
|
407
|
+
"script": "grants-store",
|
|
408
|
+
"inputs": {
|
|
409
|
+
"type": "object",
|
|
410
|
+
"properties": {
|
|
411
|
+
"requirement": {
|
|
412
|
+
"type": "string",
|
|
413
|
+
"description": "The requirement's id (e.g. 'req-4') or title."
|
|
414
|
+
},
|
|
415
|
+
"opportunity": {
|
|
416
|
+
"type": "string",
|
|
417
|
+
"description": "The opportunity's id (e.g. 'op-2') or title."
|
|
418
|
+
},
|
|
419
|
+
"done": {
|
|
420
|
+
"type": "boolean",
|
|
421
|
+
"description": "false reopens it."
|
|
422
|
+
},
|
|
423
|
+
"note": {
|
|
424
|
+
"type": "string"
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
"required": [
|
|
428
|
+
"requirement"
|
|
429
|
+
]
|
|
430
|
+
},
|
|
431
|
+
"bind": {
|
|
432
|
+
"action": "check_requirement"
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"name": "page_set_stage",
|
|
437
|
+
"description": "Move an opportunity to another stage.",
|
|
438
|
+
"script": "grants-store",
|
|
439
|
+
"inputs": {
|
|
440
|
+
"type": "object",
|
|
441
|
+
"properties": {
|
|
442
|
+
"opportunity": {
|
|
443
|
+
"type": "string",
|
|
444
|
+
"description": "The opportunity's id (e.g. 'op-2') or title."
|
|
445
|
+
},
|
|
446
|
+
"stage": {
|
|
447
|
+
"type": "string",
|
|
448
|
+
"enum": [
|
|
449
|
+
"prospect",
|
|
450
|
+
"drafting",
|
|
451
|
+
"submitted",
|
|
452
|
+
"passed"
|
|
453
|
+
]
|
|
454
|
+
},
|
|
455
|
+
"note": {
|
|
456
|
+
"type": "string",
|
|
457
|
+
"description": "Any confirmation number, exactly as given."
|
|
458
|
+
}
|
|
459
|
+
},
|
|
460
|
+
"required": [
|
|
461
|
+
"opportunity",
|
|
462
|
+
"stage"
|
|
463
|
+
]
|
|
464
|
+
},
|
|
465
|
+
"bind": {
|
|
466
|
+
"action": "stage"
|
|
467
|
+
},
|
|
468
|
+
"reaction": {
|
|
469
|
+
"gezel": "aanjager",
|
|
470
|
+
"hideSeed": true,
|
|
471
|
+
"prompt": "The person just moved an opportunity on the grants page. The pipeline now reads (its first sentence is what changed):\n{{output.summary}}\nIn two short sentences, confirm the move (if it was submitted, note any requirement that was still open), and name the next deadline to work on. Do not call tools."
|
|
472
|
+
}
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"name": "page_record_outcome",
|
|
476
|
+
"description": "Record the funder's decision.",
|
|
477
|
+
"script": "grants-store",
|
|
478
|
+
"inputs": {
|
|
479
|
+
"type": "object",
|
|
480
|
+
"properties": {
|
|
481
|
+
"opportunity": {
|
|
482
|
+
"type": "string",
|
|
483
|
+
"description": "The opportunity's id (e.g. 'op-2') or title."
|
|
484
|
+
},
|
|
485
|
+
"outcome": {
|
|
486
|
+
"type": "string",
|
|
487
|
+
"enum": [
|
|
488
|
+
"awarded",
|
|
489
|
+
"declined",
|
|
490
|
+
"passed"
|
|
491
|
+
]
|
|
492
|
+
},
|
|
493
|
+
"award": {
|
|
494
|
+
"type": "number",
|
|
495
|
+
"description": "The amount awarded, in dollars."
|
|
496
|
+
},
|
|
497
|
+
"note": {
|
|
498
|
+
"type": "string",
|
|
499
|
+
"description": "Reporting dates, feedback or conditions, in their words."
|
|
500
|
+
}
|
|
501
|
+
},
|
|
502
|
+
"required": [
|
|
503
|
+
"opportunity",
|
|
504
|
+
"outcome"
|
|
505
|
+
]
|
|
506
|
+
},
|
|
507
|
+
"bind": {
|
|
508
|
+
"action": "outcome"
|
|
509
|
+
},
|
|
510
|
+
"reaction": {
|
|
511
|
+
"gezel": "aanjager",
|
|
512
|
+
"hideSeed": true,
|
|
513
|
+
"prompt": "The person just recorded a funder's decision on the grants page. The pipeline now reads (its first sentence is what changed):\n{{output.summary}}\nIn two short sentences, respond to the decision: for an award, suggest the thank-you and noting the reporting dates; for a decline, suggest asking the program officer for feedback. Then name the next deadline. Do not call tools."
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
],
|
|
517
|
+
"craftbooks": [
|
|
518
|
+
"research-report",
|
|
519
|
+
"proposal-sow",
|
|
520
|
+
"evidence-brief"
|
|
521
|
+
],
|
|
522
|
+
"schedules": [],
|
|
523
|
+
"pages": {
|
|
524
|
+
"entry": "grants/index.html",
|
|
525
|
+
"api": 1,
|
|
526
|
+
"reads": [
|
|
527
|
+
{
|
|
528
|
+
"source": "workspace",
|
|
529
|
+
"path": "opportunities.json"
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
"source": "workspace",
|
|
533
|
+
"path": "requirements.json"
|
|
534
|
+
}
|
|
535
|
+
],
|
|
536
|
+
"tools": [
|
|
537
|
+
"page_add_opportunity",
|
|
538
|
+
"page_add_requirement",
|
|
539
|
+
"page_check_requirement",
|
|
540
|
+
"page_set_stage",
|
|
541
|
+
"page_record_outcome"
|
|
542
|
+
]
|
|
543
|
+
},
|
|
544
|
+
"workspaceSeed": [
|
|
545
|
+
"opportunities.json",
|
|
546
|
+
"requirements.json"
|
|
547
|
+
],
|
|
548
|
+
"minGezelVersion": "1.26280"
|
|
549
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
- Every deadline is seen weeks ahead, with the checklist that gets the
|
|
2
|
+
submission there.
|
|
3
|
+
- The team's hours go to strong-fit opportunities; the rest are passed on
|
|
4
|
+
early and on purpose.
|
|
5
|
+
- Every award is thanked and its reporting dates noted, and every decline is
|
|
6
|
+
asked for feedback.
|