@happyvertical/smrt-planner 0.57.12 → 0.57.14
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/README.md +136 -0
- package/agents/assistant.md +49 -0
- package/agents/commands.md +2 -2
- package/agents/cookbook.md +3 -1
- package/agents/shell.md +9 -7
- package/app/404.html +21 -21
- package/app/_app/immutable/assets/2.D3Ee82Nk.css +1 -0
- package/app/_app/immutable/assets/AppShell.Y0ysizZK.css +1 -0
- package/app/_app/immutable/assets/{icons.BDx21rPt.css → icons.DFiHs25V.css} +1 -1
- package/app/_app/immutable/chunks/4U_CvE-d.js +16 -0
- package/app/_app/immutable/chunks/{BxyJ_Q7v.js → B7IsOdeU.js} +1 -1
- package/app/_app/immutable/chunks/BLDKU4g5.js +1 -0
- package/app/_app/immutable/chunks/{_CcVkMEQ.js → BOSl48rY.js} +1 -1
- package/app/_app/immutable/chunks/{DbH3RuTE.js → Ba61AwfI.js} +1 -1
- package/app/_app/immutable/chunks/{DU3stPaX.js → BfEjkvw8.js} +1 -1
- package/app/_app/immutable/chunks/Bl9jYcfy.js +1 -0
- package/app/_app/immutable/chunks/{CsaWd8kG.js → Bs5WxZDd.js} +1 -1
- package/app/_app/immutable/chunks/BttZBU_f.js +10 -0
- package/app/_app/immutable/chunks/By9nPosf.js +1 -0
- package/app/_app/immutable/chunks/{2dmW8nz3.js → C8mMXUIO.js} +2 -2
- package/app/_app/immutable/chunks/{BQgbhyQu.js → C9ckpR0C.js} +1 -1
- package/app/_app/immutable/chunks/{D4791-Ex.js → CB4gakCD.js} +1 -1
- package/app/_app/immutable/chunks/CO-Ek-HE.js +1 -0
- package/app/_app/immutable/chunks/{BCvXlTRf.js → CvjuXdyt.js} +1 -1
- package/app/_app/immutable/chunks/CxSE8nQW.js +1 -0
- package/app/_app/immutable/chunks/D-dgX3hb.js +2 -0
- package/app/_app/immutable/chunks/{bBI0F4nt.js → DDsrLsCW.js} +1 -1
- package/app/_app/immutable/chunks/{DDtOXC2p.js → DHw6VlGb.js} +1 -1
- package/app/_app/immutable/chunks/{BgtC60Dj.js → DQ1TECJo.js} +2 -2
- package/app/_app/immutable/chunks/{pEiNEXSh.js → DSHP6NMq.js} +1 -1
- package/app/_app/immutable/chunks/DYDheSdi.js +26 -0
- package/app/_app/immutable/chunks/Df-zyycv.js +2 -0
- package/app/_app/immutable/chunks/DkMzaPtY.js +4 -0
- package/app/_app/immutable/chunks/DmA8eomi.js +1 -0
- package/app/_app/immutable/chunks/{8MGlmWc0.js → DwlKnCAn.js} +1 -1
- package/app/_app/immutable/chunks/{B88mVEob.js → Mn4opCWg.js} +1 -1
- package/app/_app/immutable/chunks/{38SS-Q6Y.js → PiW3Dgjp.js} +22 -22
- package/app/_app/immutable/chunks/{ByKA-VaR.js → VIYltq2Y.js} +1 -1
- package/app/_app/immutable/chunks/{CQFoqqzT.js → fNkgk5Jb.js} +1 -1
- package/app/_app/immutable/chunks/{BTm4M8Ke.js → mdO5QRA9.js} +1 -1
- package/app/_app/immutable/chunks/{5TDxHd66.js → yTc1j36D.js} +1 -1
- package/app/_app/immutable/chunks/{oV81RcfI.js → yeJddwqn.js} +1 -1
- package/app/_app/immutable/entry/{app.C8En00Ny.js → app.N1QTpsMZ.js} +2 -2
- package/app/_app/immutable/entry/start.Dr_ALXsl.js +1 -0
- package/app/_app/immutable/nodes/0.inFgEPC5.js +7 -0
- package/app/_app/immutable/nodes/{1.CoV_40km.js → 1.BPYf0yDv.js} +1 -1
- package/app/_app/immutable/nodes/10.DScVn_7s.js +3 -0
- package/app/_app/immutable/nodes/{11.Csg6XAcG.js → 11.SWB4V_R-.js} +1 -1
- package/app/_app/immutable/nodes/{12.CuTHLuEu.js → 12.jNsVHfvB.js} +1 -1
- package/app/_app/immutable/nodes/{13.CNdfx5uO.js → 13.BAX1DbJ6.js} +1 -1
- package/app/_app/immutable/nodes/14.DFK_8SUc.js +1 -0
- package/app/_app/immutable/nodes/2.C-g07Oom.js +22 -0
- package/app/_app/immutable/nodes/{3.DC8-sgUI.js → 3.BYAVGln5.js} +1 -1
- package/app/_app/immutable/nodes/{4.DcX0DIX9.js → 4.xN8AMdJR.js} +1 -1
- package/app/_app/immutable/nodes/{5.Opk77twi.js → 5.BnO1oGgB.js} +1 -1
- package/app/_app/immutable/nodes/{6.Uk9tXC7t.js → 6.D3aEKeoZ.js} +1 -1
- package/app/_app/immutable/nodes/7.BZMihT_i.js +1 -0
- package/app/_app/immutable/nodes/{8.CacSxuCP.js → 8.DWwsczQn.js} +1 -1
- package/app/_app/immutable/nodes/{9.z7vXbrbH.js → 9.hCdhh_c2.js} +1 -1
- package/app/_app/version.json +1 -1
- package/app/advanced-styles/index.html +24 -24
- package/app/ai/index.html +28 -28
- package/app/blueprint/index.html +22 -22
- package/app/cookbook/index.html +22 -22
- package/app/index.html +38 -40
- package/app/m/ads/AdDeliveryTier/index.html +27 -27
- package/app/m/ads/AdEvent/index.html +27 -27
- package/app/m/ads/AdFormat/index.html +27 -27
- package/app/m/ads/AdGroup/index.html +27 -27
- package/app/m/ads/AdVariation/index.html +27 -27
- package/app/m/analytics/AnalyticsDataStream/index.html +27 -27
- package/app/m/analytics/AnalyticsEvent/index.html +27 -27
- package/app/m/analytics/AnalyticsProperty/index.html +27 -27
- package/app/m/analytics/AnalyticsReport/index.html +27 -27
- package/app/m/approvals/ApprovalEvent/index.html +27 -27
- package/app/m/approvals/ApprovalPolicy/index.html +27 -27
- package/app/m/approvals/ApprovalRequest/index.html +27 -27
- package/app/m/assets/Asset/attachments/index.html +28 -28
- package/app/m/assets/Asset/index.html +27 -27
- package/app/m/assets/AssetAssociation/index.html +27 -27
- package/app/m/assets/AssetMetafield/index.html +27 -27
- package/app/m/assets/AssetStatus/index.html +27 -27
- package/app/m/assets/AssetType/index.html +27 -27
- package/app/m/assets/Folder/index.html +27 -27
- package/app/m/chat/AgentSession/index.html +27 -27
- package/app/m/chat/ChatMessage/index.html +27 -27
- package/app/m/chat/ChatParticipant/index.html +27 -27
- package/app/m/chat/ChatReaction/index.html +27 -27
- package/app/m/chat/ChatRoom/index.html +27 -27
- package/app/m/chat/ChatThread/index.html +27 -27
- package/app/m/chat/VoiceGatewayTurn/index.html +27 -27
- package/app/m/chat/VoiceSession/index.html +27 -27
- package/app/m/commerce/Agreement/index.html +27 -27
- package/app/m/commerce/Cart/index.html +27 -27
- package/app/m/commerce/Contract/index.html +27 -27
- package/app/m/commerce/ContractLineItem/index.html +27 -27
- package/app/m/commerce/Customer/index.html +27 -27
- package/app/m/commerce/DocumentTax/index.html +27 -27
- package/app/m/commerce/Estimate/index.html +27 -27
- package/app/m/commerce/Fulfillment/index.html +27 -27
- package/app/m/commerce/FulfillmentLineItem/index.html +27 -27
- package/app/m/commerce/HistoricalCustomerFunds/index.html +27 -27
- package/app/m/commerce/HistoricalCustomerFundsAllocation/index.html +27 -27
- package/app/m/commerce/HistoricalSalesLine/index.html +27 -27
- package/app/m/commerce/Invoice/index.html +27 -27
- package/app/m/commerce/InvoiceLineItem/index.html +27 -27
- package/app/m/commerce/Lease/index.html +27 -27
- package/app/m/commerce/LicenseSale/index.html +27 -27
- package/app/m/commerce/Order/index.html +27 -27
- package/app/m/commerce/Payment/index.html +27 -27
- package/app/m/commerce/PaymentAllocation/index.html +27 -27
- package/app/m/commerce/PaymentInstrument/index.html +27 -27
- package/app/m/commerce/PaymentIntent/index.html +27 -27
- package/app/m/commerce/Payout/index.html +27 -27
- package/app/m/commerce/ProductionOrder/index.html +27 -27
- package/app/m/commerce/PurchaseContract/index.html +27 -27
- package/app/m/commerce/PurchaseOrder/index.html +27 -27
- package/app/m/commerce/SalesContract/index.html +27 -27
- package/app/m/commerce/SupplierQuote/index.html +27 -27
- package/app/m/commerce/TaxCode/index.html +27 -27
- package/app/m/commerce/TaxComponent/index.html +27 -27
- package/app/m/commerce/TaxSettings/index.html +27 -27
- package/app/m/commerce/TaxSummaryReport/index.html +27 -27
- package/app/m/commerce/TenantPaymentAccount/index.html +27 -27
- package/app/m/commerce/Vendor/index.html +27 -27
- package/app/m/commerce/WholesaleOrder/index.html +27 -27
- package/app/m/content/Content/index.html +27 -27
- package/app/m/content/ContentContribution/index.html +27 -27
- package/app/m/content/ContentContributionAttachment/index.html +27 -27
- package/app/m/content/ContentContributionRevision/index.html +27 -27
- package/app/m/content/ContentContributionType/index.html +27 -27
- package/app/m/content/ContentContributor/index.html +27 -27
- package/app/m/content/ContentCorrection/index.html +27 -27
- package/app/m/content/ContentFeedSource/index.html +27 -27
- package/app/m/content/ContentGovernanceAssignment/index.html +27 -27
- package/app/m/content/ContentGovernancePolicy/index.html +27 -27
- package/app/m/content/ContentGovernanceProfile/index.html +27 -27
- package/app/m/content/ContentReference/index.html +27 -27
- package/app/m/content/ContentReview/index.html +27 -27
- package/app/m/content/ContentVersion/index.html +27 -27
- package/app/m/events/Event/index.html +27 -27
- package/app/m/events/EventParticipant/index.html +27 -27
- package/app/m/events/EventSeries/index.html +27 -27
- package/app/m/events/EventType/index.html +27 -27
- package/app/m/expenses/Expense/index.html +27 -27
- package/app/m/facts/Fact/index.html +27 -27
- package/app/m/facts/FactContent/index.html +27 -27
- package/app/m/facts/FactEvidence/index.html +27 -27
- package/app/m/facts/FactSource/index.html +27 -27
- package/app/m/facts/FactSubject/index.html +27 -27
- package/app/m/facts/FactTag/index.html +27 -27
- package/app/m/fields/FieldPolicy/index.html +27 -27
- package/app/m/fields/FieldPolicySuggestion/index.html +27 -27
- package/app/m/fields/FieldUsageCounter/index.html +27 -27
- package/app/m/images/Image/index.html +27 -27
- package/app/m/inventory/InventoryLocation/index.html +27 -27
- package/app/m/inventory/StockLevel/index.html +27 -27
- package/app/m/inventory/StockMovement/index.html +27 -27
- package/app/m/ledgers/Account/index.html +27 -27
- package/app/m/ledgers/Journal/index.html +27 -27
- package/app/m/ledgers/JournalEntry/index.html +27 -27
- package/app/m/ledgers/Ledger/index.html +27 -27
- package/app/m/manufacturing/Assembly/index.html +27 -27
- package/app/m/manufacturing/BillOfMaterials/index.html +27 -27
- package/app/m/manufacturing/BomLine/index.html +27 -27
- package/app/m/manufacturing/Operation/index.html +27 -27
- package/app/m/manufacturing/ProductionRun/index.html +27 -27
- package/app/m/manufacturing/ProductionRunCompletion/index.html +27 -27
- package/app/m/manufacturing/RoutingStep/index.html +27 -27
- package/app/m/marketing/Campaign/index.html +27 -27
- package/app/m/marketing/CampaignChannel/index.html +27 -27
- package/app/m/marketing/CampaignMetricSnapshot/index.html +27 -27
- package/app/m/messages/Account/index.html +27 -27
- package/app/m/messages/Attachment/index.html +27 -27
- package/app/m/messages/Blacklist/index.html +27 -27
- package/app/m/messages/Email/failed-sends/index.html +28 -28
- package/app/m/messages/Email/index.html +27 -27
- package/app/m/messages/Email/mailbox/index.html +28 -28
- package/app/m/messages/EmailAccount/index.html +27 -27
- package/app/m/messages/EmailAttachment/index.html +27 -27
- package/app/m/messages/EmailFolder/index.html +27 -27
- package/app/m/messages/Message/index.html +27 -27
- package/app/m/messages/MessagingEndpoint/index.html +27 -27
- package/app/m/messages/PersonaMessageRoute/index.html +27 -27
- package/app/m/messages/SlackAccount/index.html +27 -27
- package/app/m/messages/SlackMessage/index.html +27 -27
- package/app/m/messages/TelegramAccount/index.html +27 -27
- package/app/m/messages/Tweet/index.html +27 -27
- package/app/m/messages/TwitterAccount/index.html +27 -27
- package/app/m/messages/Whitelist/index.html +27 -27
- package/app/m/messages/ZulipAccount/index.html +27 -27
- package/app/m/places/Place/index.html +27 -27
- package/app/m/places/PlaceType/index.html +27 -27
- package/app/m/products/Category/index.html +27 -27
- package/app/m/products/Material/index.html +27 -27
- package/app/m/products/Product/index.html +27 -27
- package/app/m/products/Product/ingredients/index.html +28 -28
- package/app/m/products/ProductVariant/index.html +27 -27
- package/app/m/products/Sku/index.html +27 -27
- package/app/m/profiles/ApiKey/index.html +27 -27
- package/app/m/profiles/Bot/index.html +27 -27
- package/app/m/profiles/MagicLinkToken/index.html +27 -27
- package/app/m/profiles/NostrIdentity/index.html +27 -27
- package/app/m/profiles/OidcIdentity/index.html +27 -27
- package/app/m/profiles/Organization/index.html +27 -27
- package/app/m/profiles/Person/index.html +27 -27
- package/app/m/profiles/Profile/index.html +27 -27
- package/app/m/profiles/ProfileMetadata/index.html +27 -27
- package/app/m/profiles/ProfileMetafield/index.html +27 -27
- package/app/m/profiles/ProfileRelationship/index.html +27 -27
- package/app/m/profiles/ProfileRelationshipTerm/index.html +27 -27
- package/app/m/profiles/ProfileRelationshipType/index.html +27 -27
- package/app/m/profiles/ProfileType/index.html +27 -27
- package/app/m/projects/Comment/index.html +27 -27
- package/app/m/projects/Issue/index.html +27 -27
- package/app/m/projects/Label/index.html +27 -27
- package/app/m/projects/Project/index.html +27 -27
- package/app/m/projects/ProjectIntegration/index.html +27 -27
- package/app/m/projects/PullRequest/index.html +27 -27
- package/app/m/projects/Repository/index.html +27 -27
- package/app/m/properties/Property/index.html +27 -27
- package/app/m/properties/Zone/index.html +27 -27
- package/app/m/reports/RuntimeReport/index.html +27 -27
- package/app/m/reports/SmrtPrincipalReportRefreshTask/index.html +27 -27
- package/app/m/reports/SmrtReportLock/index.html +27 -27
- package/app/m/reports/SmrtReportRefreshTask/index.html +27 -27
- package/app/m/reports/SmrtReportRun/index.html +27 -27
- package/app/m/reports/SmrtReportSchedule/index.html +27 -27
- package/app/m/reports/SmrtReportWatermark/index.html +27 -27
- package/app/m/sales/Agreement/index.html +27 -27
- package/app/m/sales/AttributionException/index.html +27 -27
- package/app/m/sales/AttributionPolicy/index.html +27 -27
- package/app/m/sales/Commission/index.html +27 -27
- package/app/m/sales/CommissionAdjustment/index.html +27 -27
- package/app/m/sales/CommissionPayout/index.html +27 -27
- package/app/m/sales/CommissionPlan/index.html +27 -27
- package/app/m/sales/Earner/index.html +27 -27
- package/app/m/sales/EarnerSourceAttribution/index.html +27 -27
- package/app/m/sales/EarningEvent/index.html +27 -27
- package/app/m/sales/ExecutedAgreement/index.html +27 -27
- package/app/m/sales/Lead/index.html +27 -27
- package/app/m/sales/Opportunity/index.html +27 -27
- package/app/m/sales/OpportunityConversion/index.html +27 -27
- package/app/m/sales/PipelineDefinition/index.html +27 -27
- package/app/m/sales/PipelineStage/index.html +27 -27
- package/app/m/sales/Referral/index.html +27 -27
- package/app/m/sales/ReferralAgreement/index.html +27 -27
- package/app/m/sales/ReferralLink/index.html +27 -27
- package/app/m/sales/ReferralProgram/index.html +27 -27
- package/app/m/sales/ReferralTermSnapshot/index.html +27 -27
- package/app/m/sales/ReferralTouch/index.html +27 -27
- package/app/m/sales/Referrer/index.html +27 -27
- package/app/m/sales/SalesActivity/index.html +27 -27
- package/app/m/sales/SalesRepresentative/index.html +27 -27
- package/app/m/sites/Site/index.html +27 -27
- package/app/m/sites/SiteAgentBinding/index.html +27 -27
- package/app/m/social/OAuthState/index.html +27 -27
- package/app/m/social/SocialAccount/index.html +27 -27
- package/app/m/social/SocialPost/index.html +27 -27
- package/app/m/social/SocialPostAnalyticsSnapshot/index.html +27 -27
- package/app/m/subscriptions/BillingAdjustment/index.html +27 -27
- package/app/m/subscriptions/ClientCharge/index.html +27 -27
- package/app/m/subscriptions/CreditGrant/index.html +27 -27
- package/app/m/subscriptions/PricingRule/index.html +27 -27
- package/app/m/subscriptions/RetailCharge/index.html +27 -27
- package/app/m/subscriptions/SpendingPolicy/index.html +27 -27
- package/app/m/subscriptions/SubscriptionPlan/index.html +27 -27
- package/app/m/subscriptions/SubscriptionPlanVersion/index.html +27 -27
- package/app/m/subscriptions/TenantSubscription/index.html +27 -27
- package/app/m/subscriptions/TenantUsageMetric/index.html +27 -27
- package/app/m/support/ServiceTimeEntry/index.html +27 -27
- package/app/m/support/SupportAiRun/index.html +27 -27
- package/app/m/support/SupportAvailability/index.html +27 -27
- package/app/m/support/SupportCase/index.html +27 -27
- package/app/m/support/SupportCaseEvent/index.html +27 -27
- package/app/m/support/SupportChannelBinding/index.html +27 -27
- package/app/m/support/SupportCharge/index.html +27 -27
- package/app/m/support/SupportCompensation/index.html +27 -27
- package/app/m/support/SupportCompensationPlan/index.html +27 -27
- package/app/m/support/SupportEscalation/index.html +27 -27
- package/app/m/support/SupportInteraction/index.html +27 -27
- package/app/m/support/SupportPlan/index.html +27 -27
- package/app/m/support/SupportPolicy/index.html +27 -27
- package/app/m/support/SupportQualification/index.html +27 -27
- package/app/m/support/SupportServiceTarget/index.html +27 -27
- package/app/m/support/SupportSpecialist/index.html +27 -27
- package/app/m/support/SupportWorkLink/index.html +27 -27
- package/app/m/tags/Tag/index.html +27 -27
- package/app/m/tags/TagAlias/index.html +27 -27
- package/app/m/timesheets/AttendanceBreak/index.html +27 -27
- package/app/m/timesheets/AttendancePunch/index.html +27 -27
- package/app/m/timesheets/AttendanceSegment/index.html +27 -27
- package/app/m/timesheets/ServiceChargeSnapshot/index.html +27 -27
- package/app/m/timesheets/ServiceCompensationSnapshot/index.html +27 -27
- package/app/m/timesheets/ServiceTimeEntry/index.html +27 -27
- package/app/m/users/Group/index.html +27 -27
- package/app/m/users/GroupMember/index.html +27 -27
- package/app/m/users/GroupRole/index.html +27 -27
- package/app/m/users/Membership/index.html +27 -27
- package/app/m/users/MembershipOverride/index.html +27 -27
- package/app/m/users/Permission/index.html +27 -27
- package/app/m/users/Role/index.html +27 -27
- package/app/m/users/RolePermission/index.html +27 -27
- package/app/m/users/Session/index.html +27 -27
- package/app/m/users/Tenant/index.html +27 -27
- package/app/m/users/TenantIntegration/index.html +27 -27
- package/app/m/users/TenantPermissionOverride/index.html +27 -27
- package/app/m/users/User/index.html +27 -27
- package/app/m/video/Character/index.html +27 -27
- package/app/m/video/CharacterAsset/index.html +27 -27
- package/app/m/video/CompositeJob/index.html +27 -27
- package/app/m/video/Performer/index.html +27 -27
- package/app/m/video/PerformerAsset/index.html +27 -27
- package/app/m/video/Scene/index.html +27 -27
- package/app/m/video/SceneAsset/index.html +27 -27
- package/app/m/video/VideoComposition/index.html +27 -27
- package/app/m/video/VideoCompositionAsset/index.html +27 -27
- package/app/m/video/VideoSequence/index.html +27 -27
- package/app/m/video/VideoSequenceAsset/index.html +27 -27
- package/app/m/video/VideoShot/index.html +27 -27
- package/app/m/video/VideoShotAsset/index.html +27 -27
- package/app/m/video/VideoShotCharacter/index.html +27 -27
- package/app/m/video/VideoWorkflow/index.html +27 -27
- package/app/m/voice/VoiceOutput/index.html +27 -27
- package/app/m/voice/VoiceProfile/index.html +27 -27
- package/app/m/voice/VoiceSample/index.html +27 -27
- package/app/mcp.html +2 -2
- package/app/packages/ads/index.html +24 -24
- package/app/packages/analytics/index.html +24 -24
- package/app/packages/approvals/index.html +24 -24
- package/app/packages/assets/index.html +24 -24
- package/app/packages/chat/index.html +24 -24
- package/app/packages/comments/index.html +24 -24
- package/app/packages/commerce/index.html +24 -24
- package/app/packages/content/index.html +24 -24
- package/app/packages/events/index.html +24 -24
- package/app/packages/expenses/index.html +24 -24
- package/app/packages/facts/index.html +24 -24
- package/app/packages/fields/index.html +24 -24
- package/app/packages/human-resources/index.html +24 -24
- package/app/packages/images/index.html +24 -24
- package/app/packages/index.html +23 -23
- package/app/packages/ingestion/index.html +24 -24
- package/app/packages/inventory/index.html +24 -24
- package/app/packages/ledgers/index.html +24 -24
- package/app/packages/manufacturing/index.html +24 -24
- package/app/packages/marketing/index.html +24 -24
- package/app/packages/messages/index.html +24 -24
- package/app/packages/places/index.html +24 -24
- package/app/packages/preferences/index.html +24 -24
- package/app/packages/products/index.html +24 -24
- package/app/packages/profiles/index.html +24 -24
- package/app/packages/projects/index.html +24 -24
- package/app/packages/properties/index.html +24 -24
- package/app/packages/reports/index.html +24 -24
- package/app/packages/sales/index.html +24 -24
- package/app/packages/sites/index.html +24 -24
- package/app/packages/social/index.html +24 -24
- package/app/packages/subscriptions/index.html +24 -24
- package/app/packages/support/index.html +24 -24
- package/app/packages/tags/index.html +24 -24
- package/app/packages/timesheets/index.html +24 -24
- package/app/packages/users/index.html +24 -24
- package/app/packages/video/index.html +24 -24
- package/app/packages/voice/index.html +24 -24
- package/app/packages/webhooks/index.html +24 -24
- package/app/recipes/account-access/help/index.html +24 -24
- package/app/recipes/account-access/index.html +26 -26
- package/app/recipes/activity/help/index.html +24 -24
- package/app/recipes/activity/index.html +26 -26
- package/app/recipes/agreements/help/index.html +24 -24
- package/app/recipes/agreements/index.html +26 -26
- package/app/recipes/analytics.reports/help/index.html +24 -24
- package/app/recipes/analytics.reports/index.html +26 -26
- package/app/recipes/assets/help/index.html +24 -24
- package/app/recipes/assets/index.html +26 -26
- package/app/recipes/billing/help/index.html +24 -24
- package/app/recipes/billing/index.html +26 -26
- package/app/recipes/chat.assistant/help/index.html +24 -24
- package/app/recipes/chat.assistant/index.html +26 -26
- package/app/recipes/comments/help/index.html +24 -24
- package/app/recipes/comments/index.html +26 -26
- package/app/recipes/commerce.customers/help/index.html +24 -24
- package/app/recipes/commerce.customers/index.html +26 -26
- package/app/recipes/commerce.estimates/help/index.html +24 -24
- package/app/recipes/commerce.estimates/index.html +26 -26
- package/app/recipes/commerce.purchases/help/index.html +24 -24
- package/app/recipes/commerce.purchases/index.html +26 -26
- package/app/recipes/commerce.sales/help/index.html +24 -24
- package/app/recipes/commerce.sales/index.html +26 -26
- package/app/recipes/commerce.vendors/help/index.html +24 -24
- package/app/recipes/commerce.vendors/index.html +26 -26
- package/app/recipes/commerce.wholesale/help/index.html +24 -24
- package/app/recipes/commerce.wholesale/index.html +26 -26
- package/app/recipes/events.calendar/help/index.html +24 -24
- package/app/recipes/events.calendar/index.html +26 -26
- package/app/recipes/expenses.tracking/help/index.html +24 -24
- package/app/recipes/expenses.tracking/index.html +26 -26
- package/app/recipes/fields.form-customization/help/index.html +24 -24
- package/app/recipes/fields.form-customization/index.html +26 -26
- package/app/recipes/ingestion/help/index.html +24 -24
- package/app/recipes/ingestion/index.html +26 -26
- package/app/recipes/integrations/help/index.html +24 -24
- package/app/recipes/integrations/index.html +26 -26
- package/app/recipes/inventory.stock/help/index.html +24 -24
- package/app/recipes/inventory.stock/index.html +26 -26
- package/app/recipes/ledgers.bookkeeping/help/index.html +24 -24
- package/app/recipes/ledgers.bookkeeping/index.html +26 -26
- package/app/recipes/messages/help/index.html +24 -24
- package/app/recipes/messages/index.html +26 -26
- package/app/recipes/products/help/index.html +24 -24
- package/app/recipes/products/index.html +26 -26
- package/app/recipes/projects.tracker/help/index.html +24 -24
- package/app/recipes/projects.tracker/index.html +26 -26
- package/app/recipes/reports.materialized/help/index.html +24 -24
- package/app/recipes/reports.materialized/index.html +26 -26
- package/app/recipes/reports.runtime/help/index.html +24 -24
- package/app/recipes/reports.runtime/index.html +26 -26
- package/app/recipes/sales.pipeline/help/index.html +24 -24
- package/app/recipes/sales.pipeline/index.html +26 -26
- package/app/recipes/tags.taxonomy/help/index.html +24 -24
- package/app/recipes/tags.taxonomy/index.html +26 -26
- package/app/recipes/team-collaboration/help/index.html +24 -24
- package/app/recipes/team-collaboration/index.html +26 -26
- package/app/recipes/timesheets.time-entries/help/index.html +24 -24
- package/app/recipes/timesheets.time-entries/index.html +26 -26
- package/app/s/custom-accounts/index.html +23 -23
- package/app/s/custom-appointments/index.html +23 -23
- package/app/s/custom-billing/index.html +23 -23
- package/app/s/custom-bookings/index.html +23 -23
- package/app/s/custom-buying/index.html +23 -23
- package/app/s/custom-checkout/index.html +23 -23
- package/app/s/custom-classes/index.html +23 -23
- package/app/s/custom-clients/index.html +23 -23
- package/app/s/custom-events/index.html +23 -23
- package/app/s/custom-fleet/index.html +23 -23
- package/app/s/custom-gigs/index.html +23 -23
- package/app/s/custom-giving/index.html +23 -23
- package/app/s/custom-instruments/index.html +23 -23
- package/app/s/custom-jobs/index.html +23 -23
- package/app/s/custom-kitchen/index.html +23 -23
- package/app/s/custom-lessons/index.html +23 -23
- package/app/s/custom-material/index.html +23 -23
- package/app/s/custom-meetings/index.html +23 -23
- package/app/s/custom-members/index.html +23 -23
- package/app/s/custom-merch/index.html +23 -23
- package/app/s/custom-money/index.html +23 -23
- package/app/s/custom-paint/index.html +23 -23
- package/app/s/custom-parts/index.html +23 -23
- package/app/s/custom-rentals/index.html +23 -23
- package/app/s/custom-roastery/index.html +23 -23
- package/app/s/custom-schedule/index.html +23 -23
- package/app/s/custom-shelf/index.html +23 -23
- package/app/s/custom-shop/index.html +23 -23
- package/app/s/custom-students/index.html +23 -23
- package/app/s/custom-wholesale/index.html +23 -23
- package/app/s/custom-work/index.html +23 -23
- package/app/s/custom-yard/index.html +23 -23
- package/app/s/section-access-control/index.html +23 -23
- package/app/s/section-account-security/index.html +23 -23
- package/app/s/section-accounting/index.html +23 -23
- package/app/s/section-activity/index.html +23 -23
- package/app/s/section-agreements/index.html +23 -23
- package/app/s/section-analytics/index.html +23 -23
- package/app/s/section-assets/index.html +23 -23
- package/app/s/section-billing/index.html +23 -23
- package/app/s/section-calendar/index.html +23 -23
- package/app/s/section-catalog/index.html +23 -23
- package/app/s/section-chat.assistant/index.html +23 -23
- package/app/s/section-comments/index.html +23 -23
- package/app/s/section-fields.form-customization/index.html +23 -23
- package/app/s/section-ingestion/index.html +23 -23
- package/app/s/section-integrations/index.html +23 -23
- package/app/s/section-messages/index.html +23 -23
- package/app/s/section-more/index.html +23 -23
- package/app/s/section-operations/index.html +23 -23
- package/app/s/section-projects/index.html +23 -23
- package/app/s/section-purchasing/index.html +23 -23
- package/app/s/section-reports.materialized/index.html +23 -23
- package/app/s/section-reports.runtime/index.html +23 -23
- package/app/s/section-sales/index.html +23 -23
- package/app/s/section-taxonomy/index.html +23 -23
- package/app/s/section-team/index.html +23 -23
- package/app/s/section-work/index.html +23 -23
- package/dist/ai/instance.d.ts.map +1 -1
- package/dist/ai/instance.js +2 -0
- package/dist/assistant/change.d.ts +2 -0
- package/dist/assistant/change.d.ts.map +1 -1
- package/dist/assistant/change.js +5 -0
- package/dist/assistant/coaching.d.ts +7 -0
- package/dist/assistant/coaching.d.ts.map +1 -0
- package/dist/assistant/coaching.js +42 -0
- package/dist/assistant/prompt.d.ts.map +1 -1
- package/dist/assistant/prompt.js +1 -0
- package/dist/assistant/session.svelte.d.ts +4 -1
- package/dist/assistant/session.svelte.d.ts.map +1 -1
- package/dist/assistant/session.svelte.js +5 -1
- package/dist/assistant/starters.d.ts +7 -0
- package/dist/assistant/starters.d.ts.map +1 -0
- package/dist/assistant/starters.js +33 -0
- package/dist/assistant/transport.d.ts +37 -2
- package/dist/assistant/transport.d.ts.map +1 -1
- package/dist/assistant/transport.js +257 -56
- package/dist/catalog/catalog.json +38 -38
- package/dist/components/BrowserAssistant.svelte +20 -0
- package/dist/components/BrowserAssistant.svelte.d.ts.map +1 -1
- package/dist/components/ExportPanel.svelte +176 -118
- package/dist/components/ExportPanel.svelte.d.ts +8 -0
- package/dist/components/ExportPanel.svelte.d.ts.map +1 -1
- package/dist/components/HeaderIconLink.svelte +8 -0
- package/dist/components/HeaderIconLink.svelte.d.ts +1 -0
- package/dist/components/HeaderIconLink.svelte.d.ts.map +1 -1
- package/dist/components/ProjectControls.svelte +133 -0
- package/dist/components/ProjectControls.svelte.d.ts +15 -0
- package/dist/components/ProjectControls.svelte.d.ts.map +1 -0
- package/dist/components/SectionOverview.svelte +4 -5
- package/dist/components/SectionOverview.svelte.d.ts +1 -1
- package/dist/components/SectionOverview.svelte.d.ts.map +1 -1
- package/dist/components/SettingsPanel.svelte +37 -1
- package/dist/components/SettingsPanel.svelte.d.ts +7 -1
- package/dist/components/SettingsPanel.svelte.d.ts.map +1 -1
- package/dist/cookbook/file.d.ts +5 -0
- package/dist/cookbook/file.d.ts.map +1 -1
- package/dist/cookbook/file.js +9 -2
- package/dist/cookbook/store.svelte.d.ts +4 -1
- package/dist/cookbook/store.svelte.d.ts.map +1 -1
- package/dist/cookbook/store.svelte.js +9 -10
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +1 -0
- package/dist/core/prompt.d.ts.map +1 -1
- package/dist/core/prompt.js +10 -0
- package/dist/core/reply.d.ts +2 -0
- package/dist/core/reply.d.ts.map +1 -1
- package/dist/core/reply.js +4 -0
- package/dist/data/packs.d.ts.map +1 -1
- package/dist/data/packs.js +14 -7
- package/dist/data/planner-source.d.ts.map +1 -1
- package/dist/data/planner-source.js +4 -3
- package/dist/data/sample-context.d.ts +84 -0
- package/dist/data/sample-context.d.ts.map +1 -0
- package/dist/data/sample-context.js +106 -0
- package/dist/data/source.d.ts.map +1 -1
- package/dist/data/source.js +2 -0
- package/dist/index.d.ts +8 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/library/state.svelte.d.ts.map +1 -1
- package/dist/library/state.svelte.js +3 -3
- package/dist/overviews/definitions.d.ts +2 -2
- package/dist/overviews/definitions.d.ts.map +1 -1
- package/dist/overviews/definitions.js +19 -31
- package/dist/overviews/page.d.ts.map +1 -1
- package/dist/overviews/page.js +4 -1
- package/dist/overviews/registry.d.ts +1 -1
- package/dist/overviews/registry.js +3 -3
- package/dist/overviews/validate.d.ts.map +1 -1
- package/dist/overviews/validate.js +15 -2
- package/dist/planner/Planner.svelte +46 -4
- package/dist/planner/Planner.svelte.d.ts.map +1 -1
- package/dist/planner/PlannerControls.svelte +18 -2
- package/dist/planner/PlannerControls.svelte.d.ts +2 -0
- package/dist/planner/PlannerControls.svelte.d.ts.map +1 -1
- package/dist/planner/PlannerHostAction.svelte +61 -0
- package/dist/planner/PlannerHostAction.svelte.d.ts +12 -0
- package/dist/planner/PlannerHostAction.svelte.d.ts.map +1 -0
- package/dist/planner/PlannerLifecycle.svelte +75 -5
- package/dist/planner/PlannerLifecycle.svelte.d.ts +2 -1
- package/dist/planner/PlannerLifecycle.svelte.d.ts.map +1 -1
- package/dist/planner/bridge.d.ts +73 -0
- package/dist/planner/bridge.d.ts.map +1 -0
- package/dist/planner/bridge.js +303 -0
- package/dist/planner/commands/adapter.d.ts +2 -0
- package/dist/planner/commands/adapter.d.ts.map +1 -1
- package/dist/planner/commands/adapter.js +19 -0
- package/dist/planner/export-context.d.ts +6 -0
- package/dist/planner/export-context.d.ts.map +1 -0
- package/dist/planner/export-context.js +14 -0
- package/dist/planner/guide.d.ts +69 -0
- package/dist/planner/guide.d.ts.map +1 -0
- package/dist/planner/guide.js +115 -0
- package/dist/planner/host-reply.d.ts +22 -0
- package/dist/planner/host-reply.d.ts.map +1 -0
- package/dist/planner/host-reply.js +71 -0
- package/dist/planner/shell.d.ts +6 -0
- package/dist/planner/shell.d.ts.map +1 -1
- package/dist/planner/shell.js +2 -0
- package/dist/planner/types.d.ts +39 -1
- package/dist/planner/types.d.ts.map +1 -1
- package/dist/planner/workspace-storage.d.ts +29 -0
- package/dist/planner/workspace-storage.d.ts.map +1 -0
- package/dist/planner/workspace-storage.js +355 -0
- package/dist/planner/workspace.svelte.d.ts +19 -0
- package/dist/planner/workspace.svelte.d.ts.map +1 -0
- package/dist/planner/workspace.svelte.js +52 -0
- package/dist/smrt-version.d.ts +1 -1
- package/dist/smrt-version.js +1 -1
- package/package.json +54 -54
- package/app/_app/immutable/assets/2.CdEXvRg0.css +0 -1
- package/app/_app/immutable/assets/AppShell.BkKNrxND.css +0 -1
- package/app/_app/immutable/chunks/9PL91wDk.js +0 -4
- package/app/_app/immutable/chunks/9iVbSlQr.js +0 -16
- package/app/_app/immutable/chunks/B-xSgl5J.js +0 -1
- package/app/_app/immutable/chunks/BDKUpjK6.js +0 -2
- package/app/_app/immutable/chunks/Bq35Wl4H.js +0 -2
- package/app/_app/immutable/chunks/Cu77BRmy.js +0 -1
- package/app/_app/immutable/chunks/CxZIUuYu.js +0 -1
- package/app/_app/immutable/chunks/CzHmSbsw.js +0 -1
- package/app/_app/immutable/chunks/D71UrO5c.js +0 -1
- package/app/_app/immutable/chunks/DF-0MxNw.js +0 -1
- package/app/_app/immutable/chunks/DaWOaOo5.js +0 -10
- package/app/_app/immutable/chunks/aDZBV4Ss.js +0 -26
- package/app/_app/immutable/entry/start.DQ2WMDJa.js +0 -1
- package/app/_app/immutable/nodes/0.CjivLsXS.js +0 -7
- package/app/_app/immutable/nodes/10.CRcxQ1FU.js +0 -3
- package/app/_app/immutable/nodes/14.CvNTiqf4.js +0 -1
- package/app/_app/immutable/nodes/2.D8ImYTF0.js +0 -24
- package/app/_app/immutable/nodes/7.Q7dzrAos.js +0 -1
|
@@ -3,39 +3,39 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
-
<link href="../../_app/immutable/entry/start.
|
|
7
|
-
<link href="../../_app/immutable/chunks/
|
|
6
|
+
<link href="../../_app/immutable/entry/start.Dr_ALXsl.js" rel="modulepreload">
|
|
7
|
+
<link href="../../_app/immutable/chunks/yTc1j36D.js" rel="modulepreload">
|
|
8
8
|
<link href="../../_app/immutable/chunks/DG3qFFTE.js" rel="modulepreload">
|
|
9
9
|
<link href="../../_app/immutable/chunks/COiEfhsA.js" rel="modulepreload">
|
|
10
10
|
<link href="../../_app/immutable/chunks/Dt-HX3Vu.js" rel="modulepreload">
|
|
11
|
-
<link href="../../_app/immutable/entry/app.
|
|
11
|
+
<link href="../../_app/immutable/entry/app.N1QTpsMZ.js" rel="modulepreload">
|
|
12
12
|
<link href="../../_app/immutable/chunks/uBIymjUX.js" rel="modulepreload">
|
|
13
13
|
<link href="../../_app/immutable/chunks/xihTtKlq.js" rel="modulepreload">
|
|
14
|
-
<link href="../../_app/immutable/nodes/0.
|
|
15
|
-
<link href="../../_app/immutable/chunks/
|
|
14
|
+
<link href="../../_app/immutable/nodes/0.inFgEPC5.js" rel="modulepreload">
|
|
15
|
+
<link href="../../_app/immutable/chunks/PiW3Dgjp.js" rel="modulepreload">
|
|
16
16
|
<link href="../../_app/immutable/chunks/YUSKx8_q.js" rel="modulepreload">
|
|
17
17
|
<link href="../../_app/immutable/chunks/DK8Blf1Y.js" rel="modulepreload">
|
|
18
|
-
<link href="../../_app/immutable/chunks/
|
|
18
|
+
<link href="../../_app/immutable/chunks/DkMzaPtY.js" rel="modulepreload">
|
|
19
19
|
<link href="../../_app/immutable/chunks/Bv5jGtB8.js" rel="modulepreload">
|
|
20
|
-
<link href="../../_app/immutable/chunks/
|
|
20
|
+
<link href="../../_app/immutable/chunks/By9nPosf.js" rel="modulepreload">
|
|
21
21
|
<link href="../../_app/immutable/chunks/DIE02RSm.js" rel="modulepreload">
|
|
22
|
-
<link href="../../_app/immutable/chunks/
|
|
22
|
+
<link href="../../_app/immutable/chunks/CB4gakCD.js" rel="modulepreload">
|
|
23
23
|
<link href="../../_app/immutable/chunks/CUyVrfsu.js" rel="modulepreload">
|
|
24
|
-
<link href="../../_app/immutable/chunks/
|
|
24
|
+
<link href="../../_app/immutable/chunks/Bs5WxZDd.js" rel="modulepreload">
|
|
25
25
|
<link href="../../_app/immutable/chunks/BYcBM-fh.js" rel="modulepreload">
|
|
26
|
-
<link href="../../_app/immutable/chunks/
|
|
27
|
-
<link href="../../_app/immutable/chunks/
|
|
28
|
-
<link href="../../_app/immutable/chunks/
|
|
26
|
+
<link href="../../_app/immutable/chunks/CxSE8nQW.js" rel="modulepreload">
|
|
27
|
+
<link href="../../_app/immutable/chunks/BLDKU4g5.js" rel="modulepreload">
|
|
28
|
+
<link href="../../_app/immutable/chunks/DwlKnCAn.js" rel="modulepreload">
|
|
29
29
|
<link href="../../_app/immutable/chunks/d934w91N.js" rel="modulepreload">
|
|
30
|
-
<link href="../../_app/immutable/chunks/
|
|
31
|
-
<link href="../../_app/immutable/chunks/
|
|
32
|
-
<link href="../../_app/immutable/chunks/
|
|
33
|
-
<link href="../../_app/immutable/chunks/
|
|
34
|
-
<link href="../../_app/immutable/chunks/
|
|
30
|
+
<link href="../../_app/immutable/chunks/Bl9jYcfy.js" rel="modulepreload">
|
|
31
|
+
<link href="../../_app/immutable/chunks/DmA8eomi.js" rel="modulepreload">
|
|
32
|
+
<link href="../../_app/immutable/chunks/mdO5QRA9.js" rel="modulepreload">
|
|
33
|
+
<link href="../../_app/immutable/chunks/C9ckpR0C.js" rel="modulepreload">
|
|
34
|
+
<link href="../../_app/immutable/chunks/VIYltq2Y.js" rel="modulepreload">
|
|
35
35
|
<link href="../../_app/immutable/chunks/BMgzWMdF.js" rel="modulepreload">
|
|
36
36
|
<link href="../../_app/immutable/chunks/CgAkqYsL.js" rel="modulepreload">
|
|
37
|
-
<link href="../../_app/immutable/nodes/14.
|
|
38
|
-
<link href="../../_app/immutable/chunks/
|
|
37
|
+
<link href="../../_app/immutable/nodes/14.DFK_8SUc.js" rel="modulepreload">
|
|
38
|
+
<link href="../../_app/immutable/chunks/CO-Ek-HE.js" rel="modulepreload">
|
|
39
39
|
<!--1vy8ks8--><!----><style id="smrt-cascade-layers">@layer smrt.reset, smrt.structure, smrt.theme;</style><!----><!----><!--sp05yg--><!----><title>Planner · smrt planner</title>
|
|
40
40
|
<link href="../../_app/immutable/assets/currency-metadata.ksbBA8-C.css" rel="stylesheet">
|
|
41
41
|
<link href="../../_app/immutable/assets/app.BHwMQ9Zv.css" rel="stylesheet">
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
<link href="../../_app/immutable/assets/webmcp-ui-context.hO24Ni5w.css" rel="stylesheet">
|
|
45
45
|
<link href="../../_app/immutable/assets/data.CVlX_W0i.css" rel="stylesheet">
|
|
46
46
|
<link href="../../_app/immutable/assets/forms.BRdbPdvs.css" rel="stylesheet">
|
|
47
|
-
<link href="../../_app/immutable/assets/AppShell.
|
|
47
|
+
<link href="../../_app/immutable/assets/AppShell.Y0ysizZK.css" rel="stylesheet">
|
|
48
48
|
<link href="../../_app/immutable/assets/SectionIcons.BGFcFuOf.css" rel="stylesheet">
|
|
49
49
|
<link href="../../_app/immutable/assets/SectionActions.BE1CPmxk.css" rel="stylesheet">
|
|
50
50
|
<link href="../../_app/immutable/assets/0.BaRFeYGU.css" rel="stylesheet">
|
|
@@ -55,15 +55,15 @@
|
|
|
55
55
|
|
|
56
56
|
<script>
|
|
57
57
|
{
|
|
58
|
-
|
|
58
|
+
__sveltekit_12e5i1j = {
|
|
59
59
|
base: new URL("../..", location).pathname.slice(0, -1)
|
|
60
60
|
};
|
|
61
61
|
|
|
62
62
|
const element = document.currentScript.parentElement;
|
|
63
63
|
|
|
64
64
|
Promise.all([
|
|
65
|
-
import("../../_app/immutable/entry/start.
|
|
66
|
-
import("../../_app/immutable/entry/app.
|
|
65
|
+
import("../../_app/immutable/entry/start.Dr_ALXsl.js"),
|
|
66
|
+
import("../../_app/immutable/entry/app.N1QTpsMZ.js")
|
|
67
67
|
]).then(([kit, app]) => {
|
|
68
68
|
kit.start(app, element, {
|
|
69
69
|
node_ids: [0, 14],
|
|
@@ -3,39 +3,39 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
-
<link href="../../_app/immutable/entry/start.
|
|
7
|
-
<link href="../../_app/immutable/chunks/
|
|
6
|
+
<link href="../../_app/immutable/entry/start.Dr_ALXsl.js" rel="modulepreload">
|
|
7
|
+
<link href="../../_app/immutable/chunks/yTc1j36D.js" rel="modulepreload">
|
|
8
8
|
<link href="../../_app/immutable/chunks/DG3qFFTE.js" rel="modulepreload">
|
|
9
9
|
<link href="../../_app/immutable/chunks/COiEfhsA.js" rel="modulepreload">
|
|
10
10
|
<link href="../../_app/immutable/chunks/Dt-HX3Vu.js" rel="modulepreload">
|
|
11
|
-
<link href="../../_app/immutable/entry/app.
|
|
11
|
+
<link href="../../_app/immutable/entry/app.N1QTpsMZ.js" rel="modulepreload">
|
|
12
12
|
<link href="../../_app/immutable/chunks/uBIymjUX.js" rel="modulepreload">
|
|
13
13
|
<link href="../../_app/immutable/chunks/xihTtKlq.js" rel="modulepreload">
|
|
14
|
-
<link href="../../_app/immutable/nodes/0.
|
|
15
|
-
<link href="../../_app/immutable/chunks/
|
|
14
|
+
<link href="../../_app/immutable/nodes/0.inFgEPC5.js" rel="modulepreload">
|
|
15
|
+
<link href="../../_app/immutable/chunks/PiW3Dgjp.js" rel="modulepreload">
|
|
16
16
|
<link href="../../_app/immutable/chunks/YUSKx8_q.js" rel="modulepreload">
|
|
17
17
|
<link href="../../_app/immutable/chunks/DK8Blf1Y.js" rel="modulepreload">
|
|
18
|
-
<link href="../../_app/immutable/chunks/
|
|
18
|
+
<link href="../../_app/immutable/chunks/DkMzaPtY.js" rel="modulepreload">
|
|
19
19
|
<link href="../../_app/immutable/chunks/Bv5jGtB8.js" rel="modulepreload">
|
|
20
|
-
<link href="../../_app/immutable/chunks/
|
|
20
|
+
<link href="../../_app/immutable/chunks/By9nPosf.js" rel="modulepreload">
|
|
21
21
|
<link href="../../_app/immutable/chunks/DIE02RSm.js" rel="modulepreload">
|
|
22
|
-
<link href="../../_app/immutable/chunks/
|
|
22
|
+
<link href="../../_app/immutable/chunks/CB4gakCD.js" rel="modulepreload">
|
|
23
23
|
<link href="../../_app/immutable/chunks/CUyVrfsu.js" rel="modulepreload">
|
|
24
|
-
<link href="../../_app/immutable/chunks/
|
|
24
|
+
<link href="../../_app/immutable/chunks/Bs5WxZDd.js" rel="modulepreload">
|
|
25
25
|
<link href="../../_app/immutable/chunks/BYcBM-fh.js" rel="modulepreload">
|
|
26
|
-
<link href="../../_app/immutable/chunks/
|
|
27
|
-
<link href="../../_app/immutable/chunks/
|
|
28
|
-
<link href="../../_app/immutable/chunks/
|
|
26
|
+
<link href="../../_app/immutable/chunks/CxSE8nQW.js" rel="modulepreload">
|
|
27
|
+
<link href="../../_app/immutable/chunks/BLDKU4g5.js" rel="modulepreload">
|
|
28
|
+
<link href="../../_app/immutable/chunks/DwlKnCAn.js" rel="modulepreload">
|
|
29
29
|
<link href="../../_app/immutable/chunks/d934w91N.js" rel="modulepreload">
|
|
30
|
-
<link href="../../_app/immutable/chunks/
|
|
31
|
-
<link href="../../_app/immutable/chunks/
|
|
32
|
-
<link href="../../_app/immutable/chunks/
|
|
33
|
-
<link href="../../_app/immutable/chunks/
|
|
34
|
-
<link href="../../_app/immutable/chunks/
|
|
30
|
+
<link href="../../_app/immutable/chunks/Bl9jYcfy.js" rel="modulepreload">
|
|
31
|
+
<link href="../../_app/immutable/chunks/DmA8eomi.js" rel="modulepreload">
|
|
32
|
+
<link href="../../_app/immutable/chunks/mdO5QRA9.js" rel="modulepreload">
|
|
33
|
+
<link href="../../_app/immutable/chunks/C9ckpR0C.js" rel="modulepreload">
|
|
34
|
+
<link href="../../_app/immutable/chunks/VIYltq2Y.js" rel="modulepreload">
|
|
35
35
|
<link href="../../_app/immutable/chunks/BMgzWMdF.js" rel="modulepreload">
|
|
36
36
|
<link href="../../_app/immutable/chunks/CgAkqYsL.js" rel="modulepreload">
|
|
37
|
-
<link href="../../_app/immutable/nodes/14.
|
|
38
|
-
<link href="../../_app/immutable/chunks/
|
|
37
|
+
<link href="../../_app/immutable/nodes/14.DFK_8SUc.js" rel="modulepreload">
|
|
38
|
+
<link href="../../_app/immutable/chunks/CO-Ek-HE.js" rel="modulepreload">
|
|
39
39
|
<!--1vy8ks8--><!----><style id="smrt-cascade-layers">@layer smrt.reset, smrt.structure, smrt.theme;</style><!----><!----><!--sp05yg--><!----><title>Planner · smrt planner</title>
|
|
40
40
|
<link href="../../_app/immutable/assets/currency-metadata.ksbBA8-C.css" rel="stylesheet">
|
|
41
41
|
<link href="../../_app/immutable/assets/app.BHwMQ9Zv.css" rel="stylesheet">
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
<link href="../../_app/immutable/assets/webmcp-ui-context.hO24Ni5w.css" rel="stylesheet">
|
|
45
45
|
<link href="../../_app/immutable/assets/data.CVlX_W0i.css" rel="stylesheet">
|
|
46
46
|
<link href="../../_app/immutable/assets/forms.BRdbPdvs.css" rel="stylesheet">
|
|
47
|
-
<link href="../../_app/immutable/assets/AppShell.
|
|
47
|
+
<link href="../../_app/immutable/assets/AppShell.Y0ysizZK.css" rel="stylesheet">
|
|
48
48
|
<link href="../../_app/immutable/assets/SectionIcons.BGFcFuOf.css" rel="stylesheet">
|
|
49
49
|
<link href="../../_app/immutable/assets/SectionActions.BE1CPmxk.css" rel="stylesheet">
|
|
50
50
|
<link href="../../_app/immutable/assets/0.BaRFeYGU.css" rel="stylesheet">
|
|
@@ -55,15 +55,15 @@
|
|
|
55
55
|
|
|
56
56
|
<script>
|
|
57
57
|
{
|
|
58
|
-
|
|
58
|
+
__sveltekit_12e5i1j = {
|
|
59
59
|
base: new URL("../..", location).pathname.slice(0, -1)
|
|
60
60
|
};
|
|
61
61
|
|
|
62
62
|
const element = document.currentScript.parentElement;
|
|
63
63
|
|
|
64
64
|
Promise.all([
|
|
65
|
-
import("../../_app/immutable/entry/start.
|
|
66
|
-
import("../../_app/immutable/entry/app.
|
|
65
|
+
import("../../_app/immutable/entry/start.Dr_ALXsl.js"),
|
|
66
|
+
import("../../_app/immutable/entry/app.N1QTpsMZ.js")
|
|
67
67
|
]).then(([kit, app]) => {
|
|
68
68
|
kit.start(app, element, {
|
|
69
69
|
node_ids: [0, 14],
|
|
@@ -3,39 +3,39 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
-
<link href="../../_app/immutable/entry/start.
|
|
7
|
-
<link href="../../_app/immutable/chunks/
|
|
6
|
+
<link href="../../_app/immutable/entry/start.Dr_ALXsl.js" rel="modulepreload">
|
|
7
|
+
<link href="../../_app/immutable/chunks/yTc1j36D.js" rel="modulepreload">
|
|
8
8
|
<link href="../../_app/immutable/chunks/DG3qFFTE.js" rel="modulepreload">
|
|
9
9
|
<link href="../../_app/immutable/chunks/COiEfhsA.js" rel="modulepreload">
|
|
10
10
|
<link href="../../_app/immutable/chunks/Dt-HX3Vu.js" rel="modulepreload">
|
|
11
|
-
<link href="../../_app/immutable/entry/app.
|
|
11
|
+
<link href="../../_app/immutable/entry/app.N1QTpsMZ.js" rel="modulepreload">
|
|
12
12
|
<link href="../../_app/immutable/chunks/uBIymjUX.js" rel="modulepreload">
|
|
13
13
|
<link href="../../_app/immutable/chunks/xihTtKlq.js" rel="modulepreload">
|
|
14
|
-
<link href="../../_app/immutable/nodes/0.
|
|
15
|
-
<link href="../../_app/immutable/chunks/
|
|
14
|
+
<link href="../../_app/immutable/nodes/0.inFgEPC5.js" rel="modulepreload">
|
|
15
|
+
<link href="../../_app/immutable/chunks/PiW3Dgjp.js" rel="modulepreload">
|
|
16
16
|
<link href="../../_app/immutable/chunks/YUSKx8_q.js" rel="modulepreload">
|
|
17
17
|
<link href="../../_app/immutable/chunks/DK8Blf1Y.js" rel="modulepreload">
|
|
18
|
-
<link href="../../_app/immutable/chunks/
|
|
18
|
+
<link href="../../_app/immutable/chunks/DkMzaPtY.js" rel="modulepreload">
|
|
19
19
|
<link href="../../_app/immutable/chunks/Bv5jGtB8.js" rel="modulepreload">
|
|
20
|
-
<link href="../../_app/immutable/chunks/
|
|
20
|
+
<link href="../../_app/immutable/chunks/By9nPosf.js" rel="modulepreload">
|
|
21
21
|
<link href="../../_app/immutable/chunks/DIE02RSm.js" rel="modulepreload">
|
|
22
|
-
<link href="../../_app/immutable/chunks/
|
|
22
|
+
<link href="../../_app/immutable/chunks/CB4gakCD.js" rel="modulepreload">
|
|
23
23
|
<link href="../../_app/immutable/chunks/CUyVrfsu.js" rel="modulepreload">
|
|
24
|
-
<link href="../../_app/immutable/chunks/
|
|
24
|
+
<link href="../../_app/immutable/chunks/Bs5WxZDd.js" rel="modulepreload">
|
|
25
25
|
<link href="../../_app/immutable/chunks/BYcBM-fh.js" rel="modulepreload">
|
|
26
|
-
<link href="../../_app/immutable/chunks/
|
|
27
|
-
<link href="../../_app/immutable/chunks/
|
|
28
|
-
<link href="../../_app/immutable/chunks/
|
|
26
|
+
<link href="../../_app/immutable/chunks/CxSE8nQW.js" rel="modulepreload">
|
|
27
|
+
<link href="../../_app/immutable/chunks/BLDKU4g5.js" rel="modulepreload">
|
|
28
|
+
<link href="../../_app/immutable/chunks/DwlKnCAn.js" rel="modulepreload">
|
|
29
29
|
<link href="../../_app/immutable/chunks/d934w91N.js" rel="modulepreload">
|
|
30
|
-
<link href="../../_app/immutable/chunks/
|
|
31
|
-
<link href="../../_app/immutable/chunks/
|
|
32
|
-
<link href="../../_app/immutable/chunks/
|
|
33
|
-
<link href="../../_app/immutable/chunks/
|
|
34
|
-
<link href="../../_app/immutable/chunks/
|
|
30
|
+
<link href="../../_app/immutable/chunks/Bl9jYcfy.js" rel="modulepreload">
|
|
31
|
+
<link href="../../_app/immutable/chunks/DmA8eomi.js" rel="modulepreload">
|
|
32
|
+
<link href="../../_app/immutable/chunks/mdO5QRA9.js" rel="modulepreload">
|
|
33
|
+
<link href="../../_app/immutable/chunks/C9ckpR0C.js" rel="modulepreload">
|
|
34
|
+
<link href="../../_app/immutable/chunks/VIYltq2Y.js" rel="modulepreload">
|
|
35
35
|
<link href="../../_app/immutable/chunks/BMgzWMdF.js" rel="modulepreload">
|
|
36
36
|
<link href="../../_app/immutable/chunks/CgAkqYsL.js" rel="modulepreload">
|
|
37
|
-
<link href="../../_app/immutable/nodes/14.
|
|
38
|
-
<link href="../../_app/immutable/chunks/
|
|
37
|
+
<link href="../../_app/immutable/nodes/14.DFK_8SUc.js" rel="modulepreload">
|
|
38
|
+
<link href="../../_app/immutable/chunks/CO-Ek-HE.js" rel="modulepreload">
|
|
39
39
|
<!--1vy8ks8--><!----><style id="smrt-cascade-layers">@layer smrt.reset, smrt.structure, smrt.theme;</style><!----><!----><!--sp05yg--><!----><title>Planner · smrt planner</title>
|
|
40
40
|
<link href="../../_app/immutable/assets/currency-metadata.ksbBA8-C.css" rel="stylesheet">
|
|
41
41
|
<link href="../../_app/immutable/assets/app.BHwMQ9Zv.css" rel="stylesheet">
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
<link href="../../_app/immutable/assets/webmcp-ui-context.hO24Ni5w.css" rel="stylesheet">
|
|
45
45
|
<link href="../../_app/immutable/assets/data.CVlX_W0i.css" rel="stylesheet">
|
|
46
46
|
<link href="../../_app/immutable/assets/forms.BRdbPdvs.css" rel="stylesheet">
|
|
47
|
-
<link href="../../_app/immutable/assets/AppShell.
|
|
47
|
+
<link href="../../_app/immutable/assets/AppShell.Y0ysizZK.css" rel="stylesheet">
|
|
48
48
|
<link href="../../_app/immutable/assets/SectionIcons.BGFcFuOf.css" rel="stylesheet">
|
|
49
49
|
<link href="../../_app/immutable/assets/SectionActions.BE1CPmxk.css" rel="stylesheet">
|
|
50
50
|
<link href="../../_app/immutable/assets/0.BaRFeYGU.css" rel="stylesheet">
|
|
@@ -55,15 +55,15 @@
|
|
|
55
55
|
|
|
56
56
|
<script>
|
|
57
57
|
{
|
|
58
|
-
|
|
58
|
+
__sveltekit_12e5i1j = {
|
|
59
59
|
base: new URL("../..", location).pathname.slice(0, -1)
|
|
60
60
|
};
|
|
61
61
|
|
|
62
62
|
const element = document.currentScript.parentElement;
|
|
63
63
|
|
|
64
64
|
Promise.all([
|
|
65
|
-
import("../../_app/immutable/entry/start.
|
|
66
|
-
import("../../_app/immutable/entry/app.
|
|
65
|
+
import("../../_app/immutable/entry/start.Dr_ALXsl.js"),
|
|
66
|
+
import("../../_app/immutable/entry/app.N1QTpsMZ.js")
|
|
67
67
|
]).then(([kit, app]) => {
|
|
68
68
|
kit.start(app, element, {
|
|
69
69
|
node_ids: [0, 14],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance.d.ts","sourceRoot":"","sources":["../../src/lib/ai/instance.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"instance.d.ts","sourceRoot":"","sources":["../../src/lib/ai/instance.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,oFAAoF;AACpF,eAAO,MAAM,OAAO,SA0BlB,CAAC"}
|
package/dist/ai/instance.js
CHANGED
|
@@ -2,6 +2,7 @@ import { createSpeechModel } from "../assistant/voice-host.js";
|
|
|
2
2
|
import { browserStorage } from "../cookbook/storage.js";
|
|
3
3
|
import { cookbookStore } from "../cookbook/store.svelte.js";
|
|
4
4
|
import { plannerController, plannerRuntime } from "../planner/instance.js";
|
|
5
|
+
import { workspaceStorage } from "../planner/workspace-storage.js";
|
|
5
6
|
import { recipes } from "../recipes/index.js";
|
|
6
7
|
import { recipeState } from "../recipes/state.svelte.js";
|
|
7
8
|
import { AiState } from "./state.svelte.js";
|
|
@@ -9,6 +10,7 @@ import { AiState } from "./state.svelte.js";
|
|
|
9
10
|
export const aiState = new AiState({
|
|
10
11
|
storage: browserStorage(),
|
|
11
12
|
session: {
|
|
13
|
+
conversationStorage: workspaceStorage(),
|
|
12
14
|
store: recipeState,
|
|
13
15
|
recipes,
|
|
14
16
|
controller: plannerController,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type SampleContext } from '../data/sample-context.ts';
|
|
1
2
|
import type { Recipe } from '../recipes/types.ts';
|
|
2
3
|
import { type ReportIntent } from '../reports/intent.ts';
|
|
3
4
|
import type { AppSettings } from '../settings/app-settings.ts';
|
|
@@ -39,6 +40,7 @@ export declare const FALLBACK_REPLY = "Sorry, say that again?";
|
|
|
39
40
|
* settings to change.
|
|
40
41
|
*/
|
|
41
42
|
export interface AssistantChange {
|
|
43
|
+
sampleContext?: SampleContext;
|
|
42
44
|
reply: string;
|
|
43
45
|
add: string[];
|
|
44
46
|
remove: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"change.d.ts","sourceRoot":"","sources":["../../src/lib/assistant/change.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAEL,KAAK,YAAY,EAElB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAE/D,OAAO,EAGL,KAAK,kBAAkB,EAIvB,KAAK,YAAY,EAClB,MAAM,mBAAmB,CAAC;AAE3B,uEAAuE;AACvE,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yBAAyB;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC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Ae,CA6DjB;AAgBD;;;;GAIG;AACH,wBAAgB,cAAc,CAC5B,OAAO,EAAE,aAAa,EACtB,OAAO,EAAE,SAAS,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,GAAG,OAAO,CAAC,GAC7C,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,GAChC,MAAM,CAiBR"}
|
package/dist/assistant/change.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { parseSampleContext, } from "../data/sample-context.js";
|
|
1
2
|
import { parseReportIntent, reportIntentSchema, } from "../reports/intent.js";
|
|
2
3
|
import { CURRENCY_CODES } from "../settings/currencies.js";
|
|
3
4
|
import { BORDER_RADII, CONTRASTS, DENSITIES, normalizeHex, THEME_PRESETS, } from "../theme/theme.js";
|
|
@@ -190,6 +191,9 @@ export function parseChange(input, recipes, cookbooks = [], options = {}) {
|
|
|
190
191
|
const add = pick(object.add);
|
|
191
192
|
const remove = pick(object.remove);
|
|
192
193
|
const both = new Set(add.filter((id) => remove.includes(id)));
|
|
194
|
+
const sampleContext = options.commands
|
|
195
|
+
? parseSampleContext(object.sampleContext)
|
|
196
|
+
: undefined;
|
|
193
197
|
const commands = options.commands ? pickCommands(object.commands) : [];
|
|
194
198
|
const report = options.reports ? parseReportIntent(object.report) : null;
|
|
195
199
|
return {
|
|
@@ -203,6 +207,7 @@ export function parseChange(input, recipes, cookbooks = [], options = {}) {
|
|
|
203
207
|
settings: parseSettings(object.settings),
|
|
204
208
|
theme: parseThemePatch(object.theme),
|
|
205
209
|
...(commands.length ? { commands } : {}),
|
|
210
|
+
...(sampleContext ? { sampleContext } : {}),
|
|
206
211
|
...(typeof object.open === 'string' &&
|
|
207
212
|
options.sections?.includes(object.open)
|
|
208
213
|
? { open: object.open }
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { CommandResult, PlanSnapshot } from '../planner/commands/types.ts';
|
|
2
|
+
import type { Recipe } from '../recipes/types.ts';
|
|
3
|
+
/** Trusted guidance derived only after execution, never from proposed model prose. */
|
|
4
|
+
export declare function appliedCoaching(before: PlanSnapshot, after: PlanSnapshot, results: readonly CommandResult[], _recipes: readonly Recipe[]): string;
|
|
5
|
+
/** Short literal speech, derived from applied state rather than model prose. */
|
|
6
|
+
export declare function appliedSpokenCoaching(before: PlanSnapshot, after: PlanSnapshot, results: readonly CommandResult[]): string;
|
|
7
|
+
//# sourceMappingURL=coaching.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coaching.d.ts","sourceRoot":"","sources":["../../src/lib/assistant/coaching.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAChF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAElD,sFAAsF;AACtF,wBAAgB,eAAe,CAC7B,MAAM,EAAE,YAAY,EACpB,KAAK,EAAE,YAAY,EACnB,OAAO,EAAE,SAAS,aAAa,EAAE,EACjC,QAAQ,EAAE,SAAS,MAAM,EAAE,GAC1B,MAAM,CAkBR;AAED,gFAAgF;AAChF,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,YAAY,EACpB,KAAK,EAAE,YAAY,EACnB,OAAO,EAAE,SAAS,aAAa,EAAE,GAChC,MAAM,CA2BR"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/** Trusted guidance derived only after execution, never from proposed model prose. */
|
|
2
|
+
export function appliedCoaching(before, after, results, _recipes) {
|
|
3
|
+
if (!results.length || results.some((result) => !result.ok))
|
|
4
|
+
return '';
|
|
5
|
+
if (!results.some((result) => result.ok && result.receipt.changed))
|
|
6
|
+
return '';
|
|
7
|
+
const visible = after.sections.filter((section) => !section.hidden);
|
|
8
|
+
const section = visible.find((candidate) => candidate.items.some((item) => !item.hidden));
|
|
9
|
+
const item = section?.items.find((candidate) => !candidate.hidden);
|
|
10
|
+
const initial = before.recipes.length === 0 && after.recipes.length > 0;
|
|
11
|
+
const guidance = initial && section && item
|
|
12
|
+
? `This is an interactive demo with fictional sample records. Open ${section.label} → ${item.label}, select a record to edit it, or use New to add your own.`
|
|
13
|
+
: '';
|
|
14
|
+
// Successful setup hands the agenda back to the person. Related catalog
|
|
15
|
+
// entries are capabilities, not an ordered list of unsolicited next steps.
|
|
16
|
+
const question = initial && item ? 'What else would you like your app to do?' : '';
|
|
17
|
+
return [guidance, question].filter(Boolean).join(' ');
|
|
18
|
+
}
|
|
19
|
+
/** Short literal speech, derived from applied state rather than model prose. */
|
|
20
|
+
export function appliedSpokenCoaching(before, after, results) {
|
|
21
|
+
if (!results.length || results.some((result) => !result.ok))
|
|
22
|
+
return '';
|
|
23
|
+
if (!results.some((result) => result.ok && result.receipt.changed))
|
|
24
|
+
return '';
|
|
25
|
+
const visible = after.sections.filter((section) => !section.hidden);
|
|
26
|
+
const initial = before.recipes.length === 0 && after.recipes.length > 0;
|
|
27
|
+
if (initial &&
|
|
28
|
+
visible.some((section) => section.items.some((item) => !item.hidden)))
|
|
29
|
+
return 'Your demo app is ready with fictional records. Open its main menu to explore or edit a record. Edit arranges the menu and page layout. What else would you like your app to do?';
|
|
30
|
+
const previous = new Set(before.sections.flatMap((section) => section.items.map((item) => item.id)));
|
|
31
|
+
const added = visible.flatMap((section) => section.items
|
|
32
|
+
.filter((item) => !item.hidden && !previous.has(item.id))
|
|
33
|
+
.map((item) => ({ section, item })));
|
|
34
|
+
if (added.length) {
|
|
35
|
+
const section = added[0].section.label;
|
|
36
|
+
const location = section.length <= 40 && section.split(/\s+/).length <= 6
|
|
37
|
+
? `${section} in the planner’s main menu`
|
|
38
|
+
: 'the planner’s main menu';
|
|
39
|
+
return `Added ${added.length} menu ${added.length === 1 ? 'item' : 'items'}. Find ${added.length === 1 ? 'it' : 'them'} under ${location}.`;
|
|
40
|
+
}
|
|
41
|
+
return 'Your changes are applied in the planner.';
|
|
42
|
+
}
|
|
@@ -1 +1 @@
|
|
|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AE,SAAS;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,EAAO,EACnD,OAAO,GAAE,SAAS,iBAAiB,EAAO,EAC1C,aAAa,CAAC,EAAE;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,EAAE,CAAA;CAAE,GACpE,MAAM,CAmJR"}
|
package/dist/assistant/prompt.js
CHANGED
|
@@ -122,6 +122,7 @@ export function buildSystemPrompt(recipes, current, cookbooks = [], settings, ma
|
|
|
122
122
|
'You help assemble a small business app. Reply as JSON.',
|
|
123
123
|
'"reply": answer what they just said in one sentence of 12 words or fewer. No greeting; never repeat a reply.',
|
|
124
124
|
'"add"/"remove": recipe ids, only what they ask to add or drop; else []. Dependencies are automatic.',
|
|
125
|
+
'Use stated needs/setup and catalog; no invented features/package tours.',
|
|
125
126
|
];
|
|
126
127
|
if (cookbooks.length) {
|
|
127
128
|
out.push('"cookbook": id only if their business clearly fits, else null.');
|
|
@@ -7,7 +7,7 @@ import { type EngineHost, type LoadProgress } from './engine.ts';
|
|
|
7
7
|
import { CookbookOffers } from './offers.svelte.ts';
|
|
8
8
|
import { type AssistantPrefs } from './prefs.ts';
|
|
9
9
|
import { ThemeUndos } from './theme-undo.svelte.ts';
|
|
10
|
-
import { type BrowserAssistantTransport, type ChatModel } from './transport.ts';
|
|
10
|
+
import { type BrowserAssistantTransport, type ChatModel, type PlannerHostTurnHandler } from './transport.ts';
|
|
11
11
|
/**
|
|
12
12
|
* Qwen3 reasons before it answers unless told not to; its `/no_think` switch
|
|
13
13
|
* skips that, which is slow and pointless for a short structured reply. The
|
|
@@ -16,6 +16,7 @@ import { type BrowserAssistantTransport, type ChatModel } from './transport.ts';
|
|
|
16
16
|
export declare function withoutThinking(chat: ChatModel, modelId: string): ChatModel;
|
|
17
17
|
export type SessionStatus = 'unsupported' | 'idle' | 'loading' | 'ready' | 'error';
|
|
18
18
|
export interface SessionOptions {
|
|
19
|
+
conversationStorage?: Storage | null;
|
|
19
20
|
store: RecipeStore;
|
|
20
21
|
recipes: readonly Recipe[];
|
|
21
22
|
/** The app settings the assistant may change; omit to leave them out. */
|
|
@@ -51,7 +52,9 @@ export declare class AssistantSession {
|
|
|
51
52
|
/** Remote modes: what the visitor sees as the model, e.g. `gpt-4o-mini`. */
|
|
52
53
|
remoteLabel: string;
|
|
53
54
|
readonly transport: BrowserAssistantTransport;
|
|
55
|
+
hostTurn: PlannerHostTurnHandler | undefined;
|
|
54
56
|
/** Cookbooks the assistant proposed, applied only by the person's click. */
|
|
57
|
+
cookbookOffers: boolean;
|
|
55
58
|
readonly offers: CookbookOffers;
|
|
56
59
|
/** Theme changes the assistant made, each undoable from the chat. */
|
|
57
60
|
readonly themeUndos: ThemeUndos | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session.svelte.d.ts","sourceRoot":"","sources":["../../src/lib/assistant/session.svelte.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC1E,OAAO,EAEL,KAAK,UAAU,EAEf,KAAK,YAAY,EAElB,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,KAAK,cAAc,EAAwB,MAAM,YAAY,CAAC;AACvE,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EACL,KAAK,yBAAyB,EAC9B,KAAK,SAAS,
|
|
1
|
+
{"version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AAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAM7B,8EAA8E;IACxE,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAqD5B,mCAAmC;IACnC,MAAM,IAAI,IAAI;IAId,qDAAqD;IACrD,MAAM,IAAI,IAAI;CAYf"}
|
|
@@ -33,7 +33,9 @@ export class AssistantSession {
|
|
|
33
33
|
/** Remote modes: what the visitor sees as the model, e.g. `gpt-4o-mini`. */
|
|
34
34
|
remoteLabel = $state('');
|
|
35
35
|
transport;
|
|
36
|
+
hostTurn;
|
|
36
37
|
/** Cookbooks the assistant proposed, applied only by the person's click. */
|
|
38
|
+
cookbookOffers = true;
|
|
37
39
|
offers = new CookbookOffers(getLibraryCookbook);
|
|
38
40
|
/** Theme changes the assistant made, each undoable from the chat. */
|
|
39
41
|
themeUndos;
|
|
@@ -58,9 +60,11 @@ export class AssistantSession {
|
|
|
58
60
|
: null;
|
|
59
61
|
this.transport = createBrowserAssistantTransport({
|
|
60
62
|
model: () => this.chat,
|
|
63
|
+
conversationStorage: options.conversationStorage,
|
|
64
|
+
hostTurn: async (turn) => this.hostTurn?.(turn) ?? null,
|
|
61
65
|
store: options.store,
|
|
62
66
|
recipes: options.recipes,
|
|
63
|
-
cookbooks: libraryCookbooks,
|
|
67
|
+
cookbooks: () => (this.cookbookOffers ? libraryCookbooks : []),
|
|
64
68
|
offers: this.offers,
|
|
65
69
|
settings: options.settings,
|
|
66
70
|
theme: options.theme,
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { PlannerReportSource } from '../reports/sources.ts';
|
|
2
|
+
/** Examples use only the active plan's declared runtime report sources. */
|
|
3
|
+
export declare function plannerConversationStarters(sources: readonly PlannerReportSource[]): {
|
|
4
|
+
label: string;
|
|
5
|
+
prompt: string;
|
|
6
|
+
}[];
|
|
7
|
+
//# sourceMappingURL=starters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"starters.d.ts","sourceRoot":"","sources":["../../src/lib/assistant/starters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,2EAA2E;AAC3E,wBAAgB,2BAA2B,CACzC,OAAO,EAAE,SAAS,mBAAmB,EAAE;;;IAkCxC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/** Examples use only the active plan's declared runtime report sources. */
|
|
2
|
+
export function plannerConversationStarters(sources) {
|
|
3
|
+
const starters = [
|
|
4
|
+
{
|
|
5
|
+
label: 'Help me plan my app',
|
|
6
|
+
prompt: 'Help me plan my app. Ask me what my business needs before adding recipes.',
|
|
7
|
+
},
|
|
8
|
+
];
|
|
9
|
+
const source = sources[0];
|
|
10
|
+
if (!source)
|
|
11
|
+
return [
|
|
12
|
+
...starters,
|
|
13
|
+
{
|
|
14
|
+
label: 'What should my app track?',
|
|
15
|
+
prompt: 'Help me work out what my business app should track. Ask about my business first.',
|
|
16
|
+
},
|
|
17
|
+
];
|
|
18
|
+
starters.push({
|
|
19
|
+
label: `Report on ${source.label}`,
|
|
20
|
+
prompt: `Create a runtime report counting ${source.label} in the sample data.`,
|
|
21
|
+
});
|
|
22
|
+
if (source.dateField)
|
|
23
|
+
starters.push({
|
|
24
|
+
label: `${source.label} by month`,
|
|
25
|
+
prompt: `Create a runtime report counting ${source.label} by month using ${source.dateField} in the sample data.`,
|
|
26
|
+
});
|
|
27
|
+
if (source.amountField)
|
|
28
|
+
starters.push({
|
|
29
|
+
label: `${source.label} totals`,
|
|
30
|
+
prompt: `Create a runtime report showing the total ${source.amountField} for ${source.label} in the sample data.`,
|
|
31
|
+
});
|
|
32
|
+
return starters;
|
|
33
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type AssistantQuestion, type AssistantTransport } from '@happyvertical/smrt-chat/svelte';
|
|
1
|
+
import { type AssistantMessage, type AssistantQuestion, type AssistantSendMessageInput, type AssistantSendMessageResult, type AssistantTransport } from '@happyvertical/smrt-chat/svelte';
|
|
2
2
|
import { type PlannerController } from '../planner/commands/index.ts';
|
|
3
3
|
import type { Recipe } from '../recipes/types.ts';
|
|
4
4
|
import { type ReportFollowUp } from '../reports/intent.ts';
|
|
@@ -21,13 +21,26 @@ export interface ChatModel {
|
|
|
21
21
|
signal?: AbortSignal;
|
|
22
22
|
}): Promise<string>;
|
|
23
23
|
}
|
|
24
|
+
export interface PlannerHostTurn {
|
|
25
|
+
userMessage: AssistantMessage;
|
|
26
|
+
conversation: AssistantMessage[];
|
|
27
|
+
signal: AbortSignal;
|
|
28
|
+
}
|
|
29
|
+
/** A trusted host callback, never a model tool or a restored-history event. */
|
|
30
|
+
export type PlannerHostTurnHandler = (turn: PlannerHostTurn) => Promise<{
|
|
31
|
+
content: string;
|
|
32
|
+
} | null>;
|
|
24
33
|
export interface BrowserTransportOptions {
|
|
34
|
+
hostTurn?: (turn: PlannerHostTurn) => Promise<{
|
|
35
|
+
content: string;
|
|
36
|
+
} | null>;
|
|
37
|
+
conversationStorage?: Storage | null;
|
|
25
38
|
/** The loaded model; null until the visitor has downloaded one. */
|
|
26
39
|
model: () => ChatModel | null;
|
|
27
40
|
store: RecipeStore;
|
|
28
41
|
recipes: readonly Recipe[];
|
|
29
42
|
/** Cookbooks the assistant may offer (id, name, summary). */
|
|
30
|
-
cookbooks?: readonly CookbookBrief[];
|
|
43
|
+
cookbooks?: readonly CookbookBrief[] | (() => readonly CookbookBrief[]);
|
|
31
44
|
/** Proposes a cookbook; the person's click applies it. Null: already pending. */
|
|
32
45
|
offers?: {
|
|
33
46
|
offer(cookbookId: string): OfferRef | null;
|
|
@@ -76,7 +89,29 @@ export interface BrowserTransportOptions {
|
|
|
76
89
|
*/
|
|
77
90
|
reports?: () => PlannerReports | null;
|
|
78
91
|
}
|
|
92
|
+
export interface PlannerConversationSeed {
|
|
93
|
+
/** Stable host handoff id. A repeated seed does nothing. */
|
|
94
|
+
id: string;
|
|
95
|
+
messages: readonly {
|
|
96
|
+
role: 'user' | 'assistant';
|
|
97
|
+
content: string;
|
|
98
|
+
}[];
|
|
99
|
+
}
|
|
79
100
|
export interface BrowserAssistantTransport extends AssistantTransport {
|
|
101
|
+
/** The actual native thread, without the inference wire's history limits. */
|
|
102
|
+
conversation(): AssistantMessage[];
|
|
103
|
+
/** Observe cloned transcript snapshots, including tool outcomes and busy changes. */
|
|
104
|
+
subscribeConversation(listener: (messages: AssistantMessage[]) => void): () => void;
|
|
105
|
+
/** True until the complete user/assistant turn has been recorded. */
|
|
106
|
+
readonly busy: boolean;
|
|
107
|
+
/** Seed plain earlier turns once, before native sends; never executes commands. */
|
|
108
|
+
seed(input: PlannerConversationSeed): boolean;
|
|
109
|
+
/** Host-only sends (for example handoff replay) never invoke hostTurn. */
|
|
110
|
+
sendHostMessage(input: AssistantSendMessageInput): Promise<AssistantSendMessageResult>;
|
|
111
|
+
/** Clear this workspace thread and stop any in-flight completion. */
|
|
112
|
+
reset(): void;
|
|
113
|
+
/** Changes only on reset, so a mounted dock can retire its private UI state. */
|
|
114
|
+
readonly resetRevision: number;
|
|
80
115
|
/** Stop the turn in flight, if any. */
|
|
81
116
|
abort(): void;
|
|
82
117
|
/**
|