visual-living-plan 0.1.0 → 2.32.1
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/DESIGN.md +213 -0
- package/README.md +155 -28
- package/dist/AuthScreen.d.ts +9 -0
- package/dist/AuthScreen.js +7 -0
- package/dist/DesktopModeSwitch.d.ts +13 -0
- package/dist/DesktopModeSwitch.js +14 -0
- package/dist/OAuthMark.d.ts +6 -0
- package/dist/OAuthMark.js +8 -0
- package/dist/accountInitials.d.ts +5 -0
- package/dist/accountInitials.js +20 -0
- package/dist/accountLinking.d.ts +26 -0
- package/dist/accountLinking.js +46 -0
- package/dist/agentEvents.d.ts +31 -0
- package/dist/agentEvents.js +260 -0
- package/dist/agentPresence.d.ts +42 -0
- package/dist/agentPresence.js +69 -0
- package/dist/agentSkills.d.ts +35 -0
- package/dist/agentSkills.js +89 -0
- package/dist/agentStream.d.ts +35 -0
- package/dist/agentStream.js +133 -0
- package/dist/appearanceDom.d.ts +13 -0
- package/dist/appearanceDom.js +24 -0
- package/dist/appearanceSettings.d.ts +29 -0
- package/dist/appearanceSettings.js +293 -0
- package/dist/assets.d.ts +14 -0
- package/dist/assets.js +72 -0
- package/dist/authSearch.d.ts +11 -0
- package/dist/authSearch.js +30 -0
- package/dist/changelog.d.ts +11 -0
- package/dist/changelog.js +63 -0
- package/dist/changelogParse.d.ts +53 -0
- package/dist/changelogParse.js +226 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +1684 -0
- package/dist/cliLauncher.d.ts +40 -0
- package/dist/cliLauncher.js +170 -0
- package/dist/cliToken.d.ts +11 -0
- package/dist/cliToken.js +15 -0
- package/dist/client/.vite/manifest.json +1780 -0
- package/dist/client/assets/BarChart-DtV3dIq4.js +1 -0
- package/dist/client/assets/BlockEditor-BklSUBjk.js +168 -0
- package/dist/client/assets/BlockEditor-K5h6xc4_.css +1 -0
- package/dist/client/assets/CodeBlock-BbI08MlQ.js +1 -0
- package/dist/client/assets/CodeBlock-BxRMnldw.js +175 -0
- package/dist/client/assets/LineChart-CQYMEbD6.js +1 -0
- package/dist/client/assets/Mermaid-Ciu9eIoG.js +1 -0
- package/dist/client/assets/Mermaid-jPWLXX7e.js +1 -0
- package/dist/client/assets/Popover-DbE4vUPG.js +1 -0
- package/dist/client/assets/ReactFlowExecutionCanvas-BhVs-adc.js +7 -0
- package/dist/client/assets/ReactFlowExecutionCanvas-DLioOiRN.css +1 -0
- package/dist/client/assets/StatusIcon-C_-Lm9b4.js +1 -0
- package/dist/client/assets/Workflow-C92OpLyf.js +1 -0
- package/dist/client/assets/agentPresence-D8asHrTp.js +1 -0
- package/dist/client/assets/andromeeda-DW8vo71h.js +1 -0
- package/dist/client/assets/andromeeda-vGVdxbeo.js +1 -0
- package/dist/client/assets/arrow-up-CEVVOXD5.js +1 -0
- package/dist/client/assets/arrow-up-down-BSjnQK2I.js +1 -0
- package/dist/client/assets/aurora-x-CDeNXAV0.js +1 -0
- package/dist/client/assets/aurora-x-rMvKqtYI.js +1 -0
- package/dist/client/assets/ayu-dark-CwczpL8O.js +1 -0
- package/dist/client/assets/ayu-dark-DluEY0Gj.js +1 -0
- package/dist/client/assets/ayu-light-C3h-C4tm.js +1 -0
- package/dist/client/assets/ayu-light-DSh22xiD.js +1 -0
- package/dist/client/assets/ayu-mirage-Bqwy1Gya.js +1 -0
- package/dist/client/assets/ayu-mirage-JE6hAyHG.js +1 -0
- package/dist/client/assets/browserStore-BDGKYoJj.js +435 -0
- package/dist/client/assets/button-BI07wqbi.css +1 -0
- package/dist/client/assets/button-DJWAGApe.js +1 -0
- package/dist/client/assets/catppuccin-frappe-C9Q5zVZY.js +1 -0
- package/dist/client/assets/catppuccin-frappe-pyXErRRU.js +1 -0
- package/dist/client/assets/catppuccin-latte-BILSUICr.js +1 -0
- package/dist/client/assets/catppuccin-latte-CtsyrtPq.js +1 -0
- package/dist/client/assets/catppuccin-macchiato-Ck60ZZQE.js +1 -0
- package/dist/client/assets/catppuccin-macchiato-R8nAf1vR.js +1 -0
- package/dist/client/assets/catppuccin-mocha-C_2G67cS.js +1 -0
- package/dist/client/assets/catppuccin-mocha-DjuaAJKi.js +1 -0
- package/dist/client/assets/ccount-nzzEXTrh.js +1 -0
- package/dist/client/assets/chartRows-CNjjLsAH.js +2 -0
- package/dist/client/assets/circle-x-BLGxA3gi.js +1 -0
- package/dist/client/assets/client-BsE_buVT.js +9 -0
- package/dist/client/assets/constants-CmGPilXJ.js +1 -0
- package/dist/client/assets/dark-plus-CHgc6GYj.js +1 -0
- package/dist/client/assets/dark-plus-Cs2F2srj.js +1 -0
- package/dist/client/assets/default-5FplaXL4.js +7 -0
- package/dist/client/assets/diffsTheme-PJJTu2Rq.js +1 -0
- package/dist/client/assets/dracula-BHWKrbxM.js +1 -0
- package/dist/client/assets/dracula-Cf1PG3MT.js +1 -0
- package/dist/client/assets/dracula-soft-5eyTD99u.js +1 -0
- package/dist/client/assets/dracula-soft-DXuNm1Kq.js +1 -0
- package/dist/client/assets/editSource-DQfw4nRm.js +1 -0
- package/dist/client/assets/editSource-U5AoD-Wo.js +14 -0
- package/dist/client/assets/engine-CLTPZlti.js +1 -0
- package/dist/client/assets/engine-DUyaiAMV.js +2 -0
- package/dist/client/assets/everforest-dark-CjdfwUBe.js +1 -0
- package/dist/client/assets/everforest-dark-sB-x3p7T.js +1 -0
- package/dist/client/assets/everforest-light-CfVwwCBP.js +1 -0
- package/dist/client/assets/everforest-light-Df2xbC6M.js +1 -0
- package/dist/client/assets/forgetDocuments-CIUBitCs.js +1 -0
- package/dist/client/assets/formatCSSVariablePrefix-KRh9vnZf.js +1 -0
- package/dist/client/assets/github-dark-BL6HSl_n.js +1 -0
- package/dist/client/assets/github-dark-C-LZuMrd.js +1 -0
- package/dist/client/assets/github-dark-default-DXG-b-1a.js +1 -0
- package/dist/client/assets/github-dark-default-zacuWV-M.js +1 -0
- package/dist/client/assets/github-dark-dimmed-Bx1FflLF.js +1 -0
- package/dist/client/assets/github-dark-dimmed-Mc0P9idi.js +1 -0
- package/dist/client/assets/github-dark-high-contrast-B_tTalzw.js +1 -0
- package/dist/client/assets/github-dark-high-contrast-IMKX2AVF.js +1 -0
- package/dist/client/assets/github-light-EUqPIrTm.js +1 -0
- package/dist/client/assets/github-light-default-BXViO-2h.js +1 -0
- package/dist/client/assets/github-light-default-DVlCqP3X.js +1 -0
- package/dist/client/assets/github-light-high-contrast-B68TUdTA.js +1 -0
- package/dist/client/assets/github-light-high-contrast-Dj6zTyWR.js +1 -0
- package/dist/client/assets/github-light-mYhEBkPo.js +1 -0
- package/dist/client/assets/gruvbox-dark-hard-C820rvS2.js +1 -0
- package/dist/client/assets/gruvbox-dark-hard-QTgQQZn-.js +1 -0
- package/dist/client/assets/gruvbox-dark-medium-9d5YdCTx.js +1 -0
- package/dist/client/assets/gruvbox-dark-medium-BPjhmG05.js +1 -0
- package/dist/client/assets/gruvbox-dark-soft-MrdJrrXF.js +1 -0
- package/dist/client/assets/gruvbox-dark-soft-XCkqeBhR.js +1 -0
- package/dist/client/assets/gruvbox-light-hard--5-nXqNp.js +1 -0
- package/dist/client/assets/gruvbox-light-hard-BC_s9l72.js +1 -0
- package/dist/client/assets/gruvbox-light-medium-BAWPOn9u.js +1 -0
- package/dist/client/assets/gruvbox-light-medium-COA1PZW2.js +1 -0
- package/dist/client/assets/gruvbox-light-soft-BSMLrYjP.js +1 -0
- package/dist/client/assets/gruvbox-light-soft-CIJpzjAO.js +1 -0
- package/dist/client/assets/hastToHtml-Dj8rXue9.js +11 -0
- package/dist/client/assets/highlight-cB-PkhyE.js +1 -0
- package/dist/client/assets/highlights-LLBF1DTm.js +1 -0
- package/dist/client/assets/horizon-Ba2cwkSy.js +1 -0
- package/dist/client/assets/horizon-CE9ld1lL.js +1 -0
- package/dist/client/assets/horizon-bright-DSNQnXHK.js +1 -0
- package/dist/client/assets/horizon-bright-DaEDgBmR.js +1 -0
- package/dist/client/assets/houston-B6x0XVpU.js +1 -0
- package/dist/client/assets/houston-CsvMBhTu.js +1 -0
- package/dist/client/assets/jsx-runtime-DKj5X9O4.js +1 -0
- package/dist/client/assets/kanagawa-dragon-Bozd7klA.js +1 -0
- package/dist/client/assets/kanagawa-dragon-DhTFvBMT.js +1 -0
- package/dist/client/assets/kanagawa-lotus--m8sdOxn.js +1 -0
- package/dist/client/assets/kanagawa-lotus-BmuOG9ZW.js +1 -0
- package/dist/client/assets/kanagawa-wave-BML5mF2J.js +1 -0
- package/dist/client/assets/kanagawa-wave-D-tTv4k2.js +1 -0
- package/dist/client/assets/laserwave-C_8bwKvT.js +1 -0
- package/dist/client/assets/laserwave-HSLx0L75.js +1 -0
- package/dist/client/assets/lib-COgu-QLX.js +33 -0
- package/dist/client/assets/lib-CdRiGVUZ.js +1 -0
- package/dist/client/assets/light-plus-CUjWrTSi.js +1 -0
- package/dist/client/assets/light-plus-DVQuIRkW.js +1 -0
- package/dist/client/assets/loader-CjL04K29.js +1 -0
- package/dist/client/assets/main-BGMX_GnZ.js +2 -0
- package/dist/client/assets/main-BTko4EvJ.css +1 -0
- package/dist/client/assets/material-theme-Bm3Qr25_.js +1 -0
- package/dist/client/assets/material-theme-CnthUGfg.js +1 -0
- package/dist/client/assets/material-theme-darker-2IIEA8gg.js +1 -0
- package/dist/client/assets/material-theme-darker-DUi03Qre.js +1 -0
- package/dist/client/assets/material-theme-lighter-D2-qr5Vw.js +1 -0
- package/dist/client/assets/material-theme-lighter-uhdI0v04.js +1 -0
- package/dist/client/assets/material-theme-ocean-CHQ94UKr.js +1 -0
- package/dist/client/assets/material-theme-ocean-CWR-LogA.js +1 -0
- package/dist/client/assets/material-theme-palenight-B5W6OYN7.js +1 -0
- package/dist/client/assets/material-theme-palenight-Cnv8m1ra.js +1 -0
- package/dist/client/assets/mdxEntries-BNTMP8ct.css +1 -0
- package/dist/client/assets/mdxEntries-L-V7bB6i.js +1 -0
- package/dist/client/assets/mermaid-Bjhs-krb.js +1 -0
- package/dist/client/assets/mermaid-Di4j-zgD.js +146 -0
- package/dist/client/assets/min-dark-BSWPekZh.js +1 -0
- package/dist/client/assets/min-dark-EXoM-6Xo.js +1 -0
- package/dist/client/assets/min-light-DDpmG2fV.js +1 -0
- package/dist/client/assets/min-light-DVOTDhnA.js +1 -0
- package/dist/client/assets/monokai-BscAjiQZ.js +1 -0
- package/dist/client/assets/monokai-DkggTbGy.js +1 -0
- package/dist/client/assets/mountChrome-BVWpsDCy.js +122 -0
- package/dist/client/assets/mountChrome-DhTDH3YM.css +1 -0
- package/dist/client/assets/night-owl-Bdcs0PMi.js +1 -0
- package/dist/client/assets/night-owl-DhmEMT88.js +1 -0
- package/dist/client/assets/night-owl-light-RoU30LE0.js +1 -0
- package/dist/client/assets/night-owl-light-eJ-hLW7d.js +1 -0
- package/dist/client/assets/noShiki-DB8hQ_W3.js +1 -0
- package/dist/client/assets/noShiki-GTG3tT8x.js +1 -0
- package/dist/client/assets/nord-Cb4Vim4T.js +1 -0
- package/dist/client/assets/nord-u7hMircQ.js +1 -0
- package/dist/client/assets/offlineSync-Cv3FVIlJ.js +1 -0
- package/dist/client/assets/one-dark-pro-08PdtLzi.js +1 -0
- package/dist/client/assets/one-dark-pro-C6YyR8OD.js +1 -0
- package/dist/client/assets/one-light-D7Lr4KcI.js +1 -0
- package/dist/client/assets/one-light-DgvUEtgI.js +1 -0
- package/dist/client/assets/opfs-worker-DuTOCgWR.js +5919 -0
- package/dist/client/assets/pierre-dark-B2jZWvHG.js +1 -0
- package/dist/client/assets/pierre-dark-CpLgRqie.js +1 -0
- package/dist/client/assets/pierre-dark-protanopia-deuteranopia-B35FxJx-.js +1 -0
- package/dist/client/assets/pierre-dark-protanopia-deuteranopia-CebgQdRf.js +1 -0
- package/dist/client/assets/pierre-dark-soft-DdE7dyP3.js +1 -0
- package/dist/client/assets/pierre-dark-soft-kZQmAZld.js +1 -0
- package/dist/client/assets/pierre-dark-tritanopia-CXimiT7X.js +1 -0
- package/dist/client/assets/pierre-dark-tritanopia-CpjhbsIL.js +1 -0
- package/dist/client/assets/pierre-dark-vibrant-CpQYzh95.js +1 -0
- package/dist/client/assets/pierre-dark-vibrant-DzBsxHvQ.js +1 -0
- package/dist/client/assets/pierre-light-CoaEpmwp.js +1 -0
- package/dist/client/assets/pierre-light-Vf__O3ev.js +1 -0
- package/dist/client/assets/pierre-light-protanopia-deuteranopia-0fSaH845.js +1 -0
- package/dist/client/assets/pierre-light-protanopia-deuteranopia-BUtWcCQC.js +1 -0
- package/dist/client/assets/pierre-light-soft-C3QCXKvN.js +1 -0
- package/dist/client/assets/pierre-light-soft-lWLdNTOI.js +1 -0
- package/dist/client/assets/pierre-light-tritanopia-CEbqgOJL.js +1 -0
- package/dist/client/assets/pierre-light-tritanopia-CKLy6XvA.js +1 -0
- package/dist/client/assets/pierre-light-vibrant-D80Fkn33.js +1 -0
- package/dist/client/assets/pierre-light-vibrant-DDuTEIhH.js +1 -0
- package/dist/client/assets/planEditButton-CbWGczbi.js +45 -0
- package/dist/client/assets/planEvents-cuzv9ELr.js +1 -0
- package/dist/client/assets/planMdx-Db1ze_nN.js +110 -0
- package/dist/client/assets/plastic-B8mE6BxX.js +1 -0
- package/dist/client/assets/plastic-DQwYfKfQ.js +1 -0
- package/dist/client/assets/poimandres-DRFjx7u4.js +1 -0
- package/dist/client/assets/poimandres-DUFjrgxT.js +1 -0
- package/dist/client/assets/preload-helper-Dx0-lKy1.js +1 -0
- package/dist/client/assets/queryClient-Bs5tSUJh.js +1 -0
- package/dist/client/assets/react-dom-DpzJPrWF.js +1 -0
- package/dist/client/assets/rebaseDraft-B2--cj1c.js +19 -0
- package/dist/client/assets/red-BJvdDEUx.js +1 -0
- package/dist/client/assets/red-CYlAq2b0.js +1 -0
- package/dist/client/assets/register-hZEIk3A9.css +1 -0
- package/dist/client/assets/register-htm5s8o9.js +1 -0
- package/dist/client/assets/rolldown-runtime-Dd_uD5pT.js +1 -0
- package/dist/client/assets/rose-pine-BSqRqUae.js +1 -0
- package/dist/client/assets/rose-pine-aMsaMD1D.js +1 -0
- package/dist/client/assets/rose-pine-dawn-8PwUyIlP.js +1 -0
- package/dist/client/assets/rose-pine-dawn-U6TBE82u.js +1 -0
- package/dist/client/assets/rose-pine-moon-CAU7u1h4.js +1 -0
- package/dist/client/assets/rose-pine-moon-DO-qXg-I.js +1 -0
- package/dist/client/assets/routeEdges-B2z8v0di.js +24 -0
- package/dist/client/assets/selector-CDsXW7SO.css +1 -0
- package/dist/client/assets/selector-tlBGWtQl.js +1 -0
- package/dist/client/assets/settingsChrome-NGUDtEIp.js +1 -0
- package/dist/client/assets/shiki-BOXJeUHI.js +2 -0
- package/dist/client/assets/slack-dark-CMu0smFa.js +1 -0
- package/dist/client/assets/slack-dark-DnToyrRv.js +1 -0
- package/dist/client/assets/slack-ochin-B2OO5cIa.js +1 -0
- package/dist/client/assets/slack-ochin-BBne7cjw.js +1 -0
- package/dist/client/assets/snazzy-light-4G7pJPwS.js +1 -0
- package/dist/client/assets/snazzy-light-CV8HUEmk.js +1 -0
- package/dist/client/assets/solarized-dark-CmYmhSgI.js +1 -0
- package/dist/client/assets/solarized-dark-b97czJOk.js +1 -0
- package/dist/client/assets/solarized-light-CjLLwxRp.js +1 -0
- package/dist/client/assets/solarized-light-DFPxpIYQ.js +1 -0
- package/dist/client/assets/stampPlanParts-DVXYCykw.js +15 -0
- package/dist/client/assets/stampPlanParts-ctZzxWdw.css +1 -0
- package/dist/client/assets/stream-tokenizer-C3n8hi1h.js +4 -0
- package/dist/client/assets/synthwave-84-nFMaYfgc.js +1 -0
- package/dist/client/assets/synthwave-84-wQeDKbzQ.js +1 -0
- package/dist/client/assets/textChildren-ZDSs1dod.js +1 -0
- package/dist/client/assets/themes-CdTJhjZf.js +2 -0
- package/dist/client/assets/tokyo-night-D4ZgDiA7.js +1 -0
- package/dist/client/assets/tokyo-night-oM2G3aXe.js +1 -0
- package/dist/client/assets/triangle-alert-C9Sgr3jF.js +1 -0
- package/dist/client/assets/unwrapDefault-ByDmBtHB.js +1 -0
- package/dist/client/assets/utils-C9Glzetk.js +2 -0
- package/dist/client/assets/versionView-zkSROPw7.js +1 -0
- package/dist/client/assets/vesper-DdrHHSXu.js +1 -0
- package/dist/client/assets/vesper-sUHevyKv.js +1 -0
- package/dist/client/assets/vitesse-black-CfklMpOb.js +1 -0
- package/dist/client/assets/vitesse-black-fwtXNY1n.js +1 -0
- package/dist/client/assets/vitesse-dark-BZCL-v6S.js +1 -0
- package/dist/client/assets/vitesse-dark-CJkzwmKT.js +1 -0
- package/dist/client/assets/vitesse-light-BxMp8E1Y.js +1 -0
- package/dist/client/assets/vitesse-light-VbXTXTou.js +1 -0
- package/dist/client/assets/wa-sqlite-Ba70bhIr.wasm +0 -0
- package/dist/client/assets/warmPlans-CYFrLwcX.js +1 -0
- package/dist/client/assets/with-selector-HIcjK0_d.js +1 -0
- package/dist/client/assets/workflowSource-LMsRuqF_.js +3 -0
- package/dist/client/favicon.png +0 -0
- package/dist/client/icons/apple-touch-icon-180x180.png +0 -0
- package/dist/client/icons/favicon.ico +0 -0
- package/dist/client/icons/maskable-icon-192x192.png +0 -0
- package/dist/client/icons/maskable-icon-512x512.png +0 -0
- package/dist/client/icons/pwa-16x16.png +0 -0
- package/dist/client/icons/pwa-192x192.png +0 -0
- package/dist/client/icons/pwa-32x32.png +0 -0
- package/dist/client/icons/pwa-512x512.png +0 -0
- package/dist/client/icons/pwa-64x64.png +0 -0
- package/dist/clientLog.d.ts +5 -0
- package/dist/clientLog.js +64 -0
- package/dist/cloudClient.d.ts +38 -0
- package/dist/cloudClient.js +185 -0
- package/dist/cloudCommand.d.ts +23 -0
- package/dist/cloudCommand.js +159 -0
- package/dist/cloudFrontmatter.d.ts +4 -0
- package/dist/cloudFrontmatter.js +30 -0
- package/dist/cloudStore.d.ts +28 -0
- package/dist/cloudStore.js +70 -0
- package/dist/cloudWatch.d.ts +12 -0
- package/dist/cloudWatch.js +103 -0
- package/dist/commentReply.d.ts +25 -0
- package/dist/commentReply.js +17 -0
- package/dist/configHome.d.ts +34 -0
- package/dist/configHome.js +136 -0
- package/dist/dashboard.d.ts +67 -0
- package/dist/dashboard.js +86 -0
- package/dist/dashboardClientScript.d.ts +2 -0
- package/dist/dashboardClientScript.js +1006 -0
- package/dist/dashboardDocument.d.ts +13 -0
- package/dist/dashboardDocument.js +40 -0
- package/dist/dashboardFormat.d.ts +98 -0
- package/dist/dashboardFormat.js +199 -0
- package/dist/dashboardLoading.d.ts +19 -0
- package/dist/dashboardLoading.js +94 -0
- package/dist/dashboardOverview.d.ts +28 -0
- package/dist/dashboardOverview.js +333 -0
- package/dist/dashboardPage.d.ts +2 -0
- package/dist/dashboardPage.js +11 -0
- package/dist/dashboardParts.d.ts +4 -0
- package/dist/dashboardParts.js +367 -0
- package/dist/dashboardSearchView.d.ts +38 -0
- package/dist/dashboardSearchView.js +255 -0
- package/dist/desktopApp.d.ts +23 -0
- package/dist/desktopApp.js +110 -0
- package/dist/desktopBridge.d.ts +21 -0
- package/dist/desktopBridge.js +78 -0
- package/dist/desktopCommand.d.ts +61 -0
- package/dist/desktopCommand.js +172 -0
- package/dist/desktopConfig.d.ts +54 -0
- package/dist/desktopConfig.js +164 -0
- package/dist/desktopNotices.d.ts +105 -0
- package/dist/desktopNotices.js +427 -0
- package/dist/diff.d.ts +2 -0
- package/dist/diff.js +46 -0
- package/dist/diffsTheme.d.ts +51 -0
- package/dist/diffsTheme.js +86 -0
- package/dist/diffsThemeCatalog.d.ts +3 -0
- package/dist/diffsThemeCatalog.js +78 -0
- package/dist/elkRuntime.node.d.ts +7 -0
- package/dist/elkRuntime.node.js +63 -0
- package/dist/execution.d.ts +78 -0
- package/dist/execution.js +139 -0
- package/dist/expectedWorkflow.d.ts +11 -0
- package/dist/expectedWorkflow.js +99 -0
- package/dist/favicon.d.ts +4 -0
- package/dist/favicon.js +40 -0
- package/dist/favicon.png +0 -0
- package/dist/faviconBase64.d.ts +1 -0
- package/dist/faviconBase64.js +1 -0
- package/dist/fileVersion.d.ts +8 -0
- package/dist/fileVersion.js +20 -0
- package/dist/formatBytes.d.ts +2 -0
- package/dist/formatBytes.js +13 -0
- package/dist/gitStatus.d.ts +12 -0
- package/dist/gitStatus.js +88 -0
- package/dist/hostToolbar.d.ts +38 -0
- package/dist/hostToolbar.js +249 -0
- package/dist/http.d.ts +8 -0
- package/dist/http.js +38 -0
- package/dist/httpServer.d.ts +13 -0
- package/dist/httpServer.js +40 -0
- package/dist/icons/apple-touch-icon-180x180.png +0 -0
- package/dist/icons/favicon.ico +0 -0
- package/dist/icons/maskable-icon-192x192.png +0 -0
- package/dist/icons/maskable-icon-512x512.png +0 -0
- package/dist/icons/pwa-16x16.png +0 -0
- package/dist/icons/pwa-192x192.png +0 -0
- package/dist/icons/pwa-32x32.png +0 -0
- package/dist/icons/pwa-512x512.png +0 -0
- package/dist/icons/pwa-64x64.png +0 -0
- package/dist/lanAccess.d.ts +31 -0
- package/dist/lanAccess.js +110 -0
- package/dist/lanAddress.d.ts +24 -0
- package/dist/lanAddress.js +174 -0
- package/dist/lanCommand.d.ts +25 -0
- package/dist/lanCommand.js +159 -0
- package/dist/lanConfig.d.ts +40 -0
- package/dist/lanConfig.js +130 -0
- package/dist/lanFirewall.d.ts +17 -0
- package/dist/lanFirewall.js +221 -0
- package/dist/layoutGraph.d.ts +13 -0
- package/dist/layoutGraph.js +55 -0
- package/dist/localName.d.ts +9 -0
- package/dist/localName.js +28 -0
- package/dist/lockBanner.d.ts +2 -0
- package/dist/lockBanner.js +2 -0
- package/dist/mdnsPacket.d.ts +44 -0
- package/dist/mdnsPacket.js +384 -0
- package/dist/mdnsPublish.d.ts +12 -0
- package/dist/mdnsPublish.js +290 -0
- package/dist/offlineSync.d.ts +249 -0
- package/dist/offlineSync.js +477 -0
- package/dist/openUrl.d.ts +40 -0
- package/dist/openUrl.js +147 -0
- package/dist/openedPages.d.ts +14 -0
- package/dist/openedPages.js +48 -0
- package/dist/pageEditPull.d.ts +9 -0
- package/dist/pageEditPull.js +29 -0
- package/dist/pageRoutes.d.ts +3 -0
- package/dist/pageRoutes.js +34 -0
- package/dist/parse.d.ts +7 -0
- package/dist/parse.js +100 -0
- package/dist/pid.d.ts +2 -0
- package/dist/pid.js +13 -0
- package/dist/planArchive.d.ts +4 -0
- package/dist/planArchive.js +28 -0
- package/dist/planEntries.d.ts +12 -0
- package/dist/planEntries.js +117 -0
- package/dist/planHost.d.ts +31 -0
- package/dist/planHost.js +286 -0
- package/dist/planId.d.ts +2 -0
- package/dist/planId.js +6 -0
- package/dist/planMdx/blockEdit.d.ts +41 -0
- package/dist/planMdx/blockEdit.js +60 -0
- package/dist/planMdx/cellPart.d.ts +14 -0
- package/dist/planMdx/cellPart.js +26 -0
- package/dist/planMdx/compilePlanMdx.d.ts +3 -0
- package/dist/planMdx/compilePlanMdx.js +22 -0
- package/dist/planMdx/editSource.d.ts +39 -0
- package/dist/planMdx/editSource.js +327 -0
- package/dist/planMdx/frontmatter.d.ts +5 -0
- package/dist/planMdx/frontmatter.js +15 -0
- package/dist/planMdx/markdown.d.ts +6 -0
- package/dist/planMdx/markdown.js +470 -0
- package/dist/planMdx/outline.d.ts +8 -0
- package/dist/planMdx/outline.js +548 -0
- package/dist/planMdx/payload.d.ts +4 -0
- package/dist/planMdx/payload.js +18 -0
- package/dist/planMdx/rebaseDraft.d.ts +54 -0
- package/dist/planMdx/rebaseDraft.js +675 -0
- package/dist/planMdx/recmaPlanComponents.d.ts +18 -0
- package/dist/planMdx/recmaPlanComponents.js +52 -0
- package/dist/planMdx/remarkBlockRanges.d.ts +104 -0
- package/dist/planMdx/remarkBlockRanges.js +275 -0
- package/dist/planMdx/remarkCodeMeta.d.ts +16 -0
- package/dist/planMdx/remarkCodeMeta.js +25 -0
- package/dist/planMdx/remarkGfmTable.d.ts +5 -0
- package/dist/planMdx/remarkGfmTable.js +15 -0
- package/dist/planMdx/remarkGfmTaskList.d.ts +5 -0
- package/dist/planMdx/remarkGfmTaskList.js +15 -0
- package/dist/planMdx/remarkMermaid.d.ts +16 -0
- package/dist/planMdx/remarkMermaid.js +56 -0
- package/dist/planMdx/source.d.ts +11 -0
- package/dist/planMdx/source.js +131 -0
- package/dist/planMdx/titleEdit.d.ts +35 -0
- package/dist/planMdx/titleEdit.js +112 -0
- package/dist/planPage.css +2125 -0
- package/dist/planProgress.d.ts +17 -0
- package/dist/planProgress.js +78 -0
- package/dist/planReady.d.ts +8 -0
- package/dist/planReady.js +20 -0
- package/dist/planRefNavigation.d.ts +4 -0
- package/dist/planRefNavigation.js +8 -0
- package/dist/planRoutes.d.ts +12 -0
- package/dist/planRoutes.js +141 -0
- package/dist/planSearch.d.ts +166 -0
- package/dist/planSearch.js +462 -0
- package/dist/planSession.d.ts +130 -0
- package/dist/planSession.js +1182 -0
- package/dist/planSnapshots.d.ts +34 -0
- package/dist/planSnapshots.js +113 -0
- package/dist/planStatus.d.ts +26 -0
- package/dist/planStatus.js +46 -0
- package/dist/planStepHeading.d.ts +16 -0
- package/dist/planStepHeading.js +34 -0
- package/dist/planTarget.d.ts +16 -0
- package/dist/planTarget.js +92 -0
- package/dist/planToc.d.ts +24 -0
- package/dist/planToc.js +258 -0
- package/dist/planVersionMenu.d.ts +12 -0
- package/dist/planVersionMenu.js +23 -0
- package/dist/processRecord.d.ts +108 -0
- package/dist/processRecord.js +68 -0
- package/dist/processesPanel.d.ts +7 -0
- package/dist/processesPanel.js +636 -0
- package/dist/pwaIconFile.d.ts +2 -0
- package/dist/pwaIconFile.js +42 -0
- package/dist/pwaIcons.d.ts +28 -0
- package/dist/pwaIcons.js +46 -0
- package/dist/registerServiceWorker.d.ts +25 -0
- package/dist/registerServiceWorker.js +26 -0
- package/dist/registryClient.d.ts +94 -0
- package/dist/registryClient.js +490 -0
- package/dist/registryConstants.d.ts +9 -0
- package/dist/registryConstants.js +9 -0
- package/dist/registryLock.d.ts +19 -0
- package/dist/registryLock.js +48 -0
- package/dist/registryPage.d.ts +2 -0
- package/dist/registryPage.js +284 -0
- package/dist/registryService.d.ts +21 -0
- package/dist/registryService.js +562 -0
- package/dist/registryStore.d.ts +63 -0
- package/dist/registryStore.js +398 -0
- package/dist/releaseNotes.d.ts +35 -0
- package/dist/releaseNotes.js +62 -0
- package/dist/render.d.ts +50 -0
- package/dist/render.js +1506 -0
- package/dist/requestGuard.d.ts +21 -0
- package/dist/requestGuard.js +42 -0
- package/dist/reviewRound.d.ts +12 -0
- package/dist/reviewRound.js +19 -0
- package/dist/runFollow.d.ts +28 -0
- package/dist/runFollow.js +33 -0
- package/dist/searchMatch.d.ts +35 -0
- package/dist/searchMatch.js +270 -0
- package/dist/server.d.ts +24 -0
- package/dist/server.js +114 -0
- package/dist/serviceLog.d.ts +56 -0
- package/dist/serviceLog.js +481 -0
- package/dist/shellCache.d.ts +69 -0
- package/dist/shellCache.js +289 -0
- package/dist/shellWorker.js +322 -0
- package/dist/shellWorkerResponse.d.ts +4 -0
- package/dist/shellWorkerResponse.js +15 -0
- package/dist/startServer.d.ts +2 -0
- package/dist/startServer.js +2 -0
- package/dist/store/meta.d.ts +53 -0
- package/dist/store/meta.js +140 -0
- package/dist/store/migrate.d.ts +3 -0
- package/dist/store/migrate.js +408 -0
- package/dist/store/rows.d.ts +4 -0
- package/dist/store/rows.js +100 -0
- package/dist/store/schema.d.ts +5 -0
- package/dist/store/schema.js +5 -0
- package/dist/store/sqlite.d.ts +19 -0
- package/dist/store/sqlite.js +57 -0
- package/dist/store/tables.d.ts +1892 -0
- package/dist/store/tables.js +136 -0
- package/dist/theme.d.ts +174 -0
- package/dist/theme.js +444 -0
- package/dist/themeBootstrap.d.ts +2 -0
- package/dist/themeBootstrap.js +11 -0
- package/dist/tui/DashboardApp.d.ts +19 -0
- package/dist/tui/DashboardApp.js +237 -0
- package/dist/tui/PaletteProvider.d.ts +12 -0
- package/dist/tui/PaletteProvider.js +36 -0
- package/dist/tui/PlanActions.d.ts +7 -0
- package/dist/tui/PlanActions.js +9 -0
- package/dist/tui/PlanCard.d.ts +13 -0
- package/dist/tui/PlanCard.js +31 -0
- package/dist/tui/PlanRow.d.ts +13 -0
- package/dist/tui/PlanRow.js +31 -0
- package/dist/tui/PlanTable.d.ts +13 -0
- package/dist/tui/PlanTable.js +24 -0
- package/dist/tui/ProcessCard.d.ts +9 -0
- package/dist/tui/ProcessCard.js +24 -0
- package/dist/tui/ProcessList.d.ts +9 -0
- package/dist/tui/ProcessList.js +12 -0
- package/dist/tui/SegmentButton.d.ts +7 -0
- package/dist/tui/SegmentButton.js +18 -0
- package/dist/tui/StatCard.d.ts +6 -0
- package/dist/tui/StatCard.js +17 -0
- package/dist/tui/dashboardView.d.ts +45 -0
- package/dist/tui/dashboardView.js +192 -0
- package/dist/tui/openExternal.d.ts +2 -0
- package/dist/tui/openExternal.js +5 -0
- package/dist/tui/palette.d.ts +27 -0
- package/dist/tui/palette.js +66 -0
- package/dist/tui/planColumns.d.ts +38 -0
- package/dist/tui/planColumns.js +14 -0
- package/dist/tui/readDashboard.d.ts +3 -0
- package/dist/tui/readDashboard.js +15 -0
- package/dist/tui/readProcesses.d.ts +3 -0
- package/dist/tui/readProcesses.js +23 -0
- package/dist/tui/registryView.d.ts +11 -0
- package/dist/tui/registryView.js +56 -0
- package/dist/tui/runTui.d.ts +21 -0
- package/dist/tui/runTui.js +86 -0
- package/dist/tui/systemTheme.d.ts +28 -0
- package/dist/tui/systemTheme.js +141 -0
- package/dist/types.d.ts +191 -0
- package/dist/types.js +0 -0
- package/dist/webManifest.d.ts +39 -0
- package/dist/webManifest.js +48 -0
- package/dist/workflow.d.ts +8 -0
- package/dist/workflow.js +42 -0
- package/dist/workflowLayoutShared.d.ts +25 -0
- package/dist/workflowLayoutShared.js +33 -0
- package/dist/workflowSource.d.ts +31 -0
- package/dist/workflowSource.js +90 -0
- package/docs/changelogs/changelog-2026-10-27.md +203 -0
- package/docs/changelogs/changelog-2026-10-28.md +181 -0
- package/docs/changelogs/changelog-2026-10-29.md +349 -0
- package/docs/changelogs/changelog-2026-10-30.md +303 -0
- package/docs/changelogs/changelog-2026-10-31.md +129 -0
- package/docs/changelogs/changelog-2026-11-01.md +155 -0
- package/docs/changelogs/changelog-2026-11-02.md +195 -0
- package/docs/changelogs/changelog-2026-11-03.md +209 -0
- package/docs/changelogs/changelog-2026-11-04.md +243 -0
- package/docs/changelogs/changelog-2026-11-05.md +172 -0
- package/docs/changelogs/changelog-2026-11-06.md +123 -0
- package/docs/changelogs/changelog-2026-11-07.md +138 -0
- package/docs/changelogs/changelog-2026-11-08.md +47 -0
- package/docs/changelogs/changelog-2026-11-10.md +219 -0
- package/docs/changelogs/changelog-2026-11-11.md +205 -0
- package/docs/changelogs/changelog-2026-11-12.md +44 -0
- package/docs/changelogs/changelog-2026-11-13.md +48 -0
- package/docs/changelogs/changelog-2026-11-14.md +116 -0
- package/docs/changelogs/changelog-2026-11-15.md +31 -0
- package/docs/changelogs/changelog-2026-11-16.md +41 -0
- package/docs/changelogs/changelog-2026-11-17.md +25 -0
- package/docs/changelogs/changelog-2026-11-18.md +71 -0
- package/docs/changelogs/changelog-2026-11-19.md +19 -0
- package/examples/cloud-showcase.plan.md +181 -0
- package/examples/component-showcase.plan.md +378 -0
- package/examples/component-tour.plan.md +168 -0
- package/examples/data-table.plan.md +917 -0
- package/examples/execution-graph.json +15 -5
- package/examples/form-controls.plan.md +51 -0
- package/examples/live-plan.config.json +5 -0
- package/examples/rate-limit.plan.md +110 -78
- package/examples/submission-delivery-runbook.md +122 -0
- package/examples/submission-delivery.plan.md +107 -0
- package/examples/tables.plan.md +61 -0
- package/package.json +86 -15
- package/skills/live-plan/SKILL.md +381 -0
- package/skills/live-plan/primitives.md +738 -0
- package/skills/living-plan/SKILL.md +0 -71
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"detail": "Fail-open chosen",
|
|
7
7
|
"status": "done",
|
|
8
8
|
"x": 40,
|
|
9
|
-
"y":
|
|
9
|
+
"y": 40
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
"id": "implement",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"detail": "Editing gateway.ts",
|
|
15
15
|
"status": "active",
|
|
16
16
|
"x": 320,
|
|
17
|
-
"y":
|
|
17
|
+
"y": 40
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
"id": "tests",
|
|
@@ -22,19 +22,29 @@
|
|
|
22
22
|
"detail": "429 + Retry-After",
|
|
23
23
|
"status": "pending",
|
|
24
24
|
"x": 600,
|
|
25
|
-
"y":
|
|
25
|
+
"y": 40
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
"id": "observe",
|
|
29
29
|
"label": "Dashboards",
|
|
30
30
|
"status": "pending",
|
|
31
|
-
"x":
|
|
31
|
+
"x": 880,
|
|
32
|
+
"y": 40
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"id": "retry",
|
|
36
|
+
"label": "Retry step",
|
|
37
|
+
"detail": "Closes the loop",
|
|
38
|
+
"status": "pending",
|
|
39
|
+
"x": 600,
|
|
32
40
|
"y": 280
|
|
33
41
|
}
|
|
34
42
|
],
|
|
35
43
|
"edges": [
|
|
36
44
|
{ "from": "design", "to": "implement" },
|
|
37
45
|
{ "from": "implement", "to": "tests" },
|
|
38
|
-
{ "from": "
|
|
46
|
+
{ "from": "tests", "to": "observe" },
|
|
47
|
+
{ "from": "tests", "to": "retry", "fromSide": "bottom", "toSide": "top" },
|
|
48
|
+
{ "from": "retry", "to": "implement", "label": "again", "fromSide": "left", "toSide": "bottom" }
|
|
39
49
|
]
|
|
40
50
|
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Form controls
|
|
3
|
+
summary: Checkbox lists and steppers save as you change them. A text form still uses Submit, then Edit.
|
|
4
|
+
agent: local-cursor
|
|
5
|
+
mode: watch
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Form controls
|
|
9
|
+
|
|
10
|
+
Check a box or step a number and the plan stores it immediately. A text form keeps Submit on the right. After you submit, Edit unlocks the fields and the next submit replaces the saved answer.
|
|
11
|
+
|
|
12
|
+
<Row>
|
|
13
|
+
<form id="prod-switch" prompt="Prod switch">
|
|
14
|
+
<field name="windows" label="Prod switch" type="checkbox" options="Each window: after the hourly monorepo copy publishes the 01:00 ET unpause run's changesets (about 01:24 ET) and before the next BOLP run (00:05 ET) no PENDING or RUNNING changeset, Window 1: coe_budgets live; the next run's summary reads route api; land the Terraform value, Window 2 a few days later: create prod's Google Ads operations service and 60m copy, Window 2: coe_enables live too; re-enables appear as queued operations; land the Terraform value, Window 2: check no changeset is in flight then pause the monorepo changeset-publish copy, Window 2: add the 'a copy went quiet' rule after the 60m copy's first clean run" />
|
|
15
|
+
</form>
|
|
16
|
+
<form id="watch" prompt="Watch">
|
|
17
|
+
<field name="checks" label="Watch" type="checkbox" options="Day 1: sample 20 applied budgets; amounts in Google Ads match budget_change, Every re-enable has reenable_ts only after the campaign is ENABLED, No unexplained FAILED operation; the queue backlog drains each hour, Seven days of both writers live in prod with no rollback and no unexplained alert" />
|
|
18
|
+
</form>
|
|
19
|
+
</Row>
|
|
20
|
+
|
|
21
|
+
<Stack>
|
|
22
|
+
<form id="copies" prompt="Copies">
|
|
23
|
+
<field name="copies" label="Copies" type="stepper" default="1" min="0" max="8" step="1" />
|
|
24
|
+
</form>
|
|
25
|
+
<form id="note" prompt="Rollout note">
|
|
26
|
+
<field name="note" label="Note" type="text" required="true" placeholder="What should the agent remember?" />
|
|
27
|
+
</form>
|
|
28
|
+
</Stack>
|
|
29
|
+
|
|
30
|
+
<callout id="access" kind="note" title="Nested list">
|
|
31
|
+
<Stack>
|
|
32
|
+
<form id="scopes" prompt="Scopes">
|
|
33
|
+
<field name="scopes" label="Scopes" type="checkbox" options="read, write, admin" />
|
|
34
|
+
</form>
|
|
35
|
+
</Stack>
|
|
36
|
+
</callout>
|
|
37
|
+
|
|
38
|
+
<workflow id="forms" title="Form controls">
|
|
39
|
+
```workflow
|
|
40
|
+
prod-switch | Prod switch | prod-switch
|
|
41
|
+
watch | Watch | watch
|
|
42
|
+
copies | Copies | copies
|
|
43
|
+
note | Rollout note | note
|
|
44
|
+
scopes | Scopes | scopes
|
|
45
|
+
--
|
|
46
|
+
prod-switch -> watch
|
|
47
|
+
watch -> copies
|
|
48
|
+
copies -> note
|
|
49
|
+
note -> scopes
|
|
50
|
+
```
|
|
51
|
+
</workflow>
|
|
@@ -4,98 +4,130 @@ summary: Add a sliding-window limiter at the API gateway, keep humans in the loo
|
|
|
4
4
|
agent: local-cursor
|
|
5
5
|
mode: watch
|
|
6
6
|
---
|
|
7
|
-
|
|
8
7
|
# Rate limiting rollout
|
|
9
8
|
|
|
10
9
|
We add a sliding-window limiter at the gateway, behind a flag. This living plan is the agent's status surface: phases update as work progresses, and interaction blocks pause for your direction.
|
|
11
10
|
|
|
12
|
-
```phase
|
|
13
|
-
id: design
|
|
14
|
-
title: Confirm limiter design
|
|
15
|
-
status: done
|
|
16
|
-
body: |
|
|
17
|
-
Use Redis for a shared sliding window. Return 429 with Retry-After when over limit.
|
|
18
|
-
```
|
|
19
11
|
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
12
|
+
```mermaid
|
|
13
|
+
flowchart LR
|
|
14
|
+
client[Client] --> gateway[API gateway]
|
|
15
|
+
gateway --> limiter[Sliding-window limiter]
|
|
16
|
+
limiter --> redis[(Redis)]
|
|
17
|
+
limiter --> api[Upstream API]
|
|
26
18
|
```
|
|
27
19
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
20
|
+
<workflow id="rollout" title="Expected execution">
|
|
21
|
+
```workflow
|
|
22
|
+
design | Confirm limiter design | design
|
|
23
|
+
redis-dependency | Redis dependency | redis-dependency
|
|
24
|
+
fail-mode | Choose fail mode | fail-mode
|
|
25
|
+
limits | Set production limits | limits
|
|
26
|
+
rollout-notes | Rollout notes | rollout-notes
|
|
27
|
+
proceed-implement | Approval to implement | proceed-implement
|
|
28
|
+
implement | Implement gateway middleware | implement
|
|
29
|
+
observe | Ship dashboards and alerts | observe
|
|
30
|
+
done-when | Definition of done | done-when
|
|
31
|
+
--
|
|
32
|
+
design -> redis-dependency
|
|
33
|
+
redis-dependency -> fail-mode
|
|
34
|
+
fail-mode -> limits
|
|
35
|
+
limits -> rollout-notes
|
|
36
|
+
rollout-notes -> proceed-implement
|
|
37
|
+
proceed-implement -> implement
|
|
38
|
+
implement -> observe
|
|
39
|
+
observe -> done-when
|
|
34
40
|
```
|
|
41
|
+
</workflow>
|
|
35
42
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
title: Redis dependency
|
|
39
|
-
body: |
|
|
40
|
-
A Redis outage must not take down the API. Fail-open vs fail-closed is a human policy decision below.
|
|
41
|
-
```
|
|
43
|
+
<phase id="design" title="Confirm limiter design" status="done">
|
|
44
|
+
Use Redis for a shared sliding window. Return 429 with Retry-After when over limit.
|
|
42
45
|
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
46
|
+
```mermaid
|
|
47
|
+
sequenceDiagram
|
|
48
|
+
participant Client
|
|
49
|
+
participant Gateway
|
|
50
|
+
participant Redis
|
|
51
|
+
Client->>Gateway: Request
|
|
52
|
+
Gateway->>Redis: Sliding window
|
|
53
|
+
alt Over limit
|
|
54
|
+
Gateway-->>Client: 429 Retry-After
|
|
55
|
+
else Within limit
|
|
56
|
+
Gateway-->>Client: Upstream response
|
|
57
|
+
end
|
|
53
58
|
```
|
|
59
|
+
</phase>
|
|
54
60
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
prompt: Set the initial production limits
|
|
58
|
-
fields:
|
|
59
|
-
- name: max_rps
|
|
60
|
-
label: Max requests per window
|
|
61
|
-
type: number
|
|
62
|
-
required: true
|
|
63
|
-
default: 120
|
|
64
|
-
- name: window_s
|
|
65
|
-
label: Window seconds
|
|
66
|
-
type: number
|
|
67
|
-
required: true
|
|
68
|
-
default: 60
|
|
69
|
-
- name: rollout
|
|
70
|
-
label: Initial rollout percentage
|
|
71
|
-
type: select
|
|
72
|
-
required: true
|
|
73
|
-
options: ["1", "5", "25", "100"]
|
|
74
|
-
default: "5"
|
|
75
|
-
```
|
|
61
|
+
<phase id="implement" title="Implement gateway middleware" status="active">
|
|
62
|
+
Wire the limiter into the request path and add a feature flag defaulting to off.
|
|
76
63
|
|
|
77
|
-
```
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
64
|
+
```ts
|
|
65
|
+
export function gate(req: Request, next: () => void) {
|
|
66
|
+
if (!flag.enabled) return next()
|
|
67
|
+
if (await limiter.over(req)) {
|
|
68
|
+
return reply.code(429).send()
|
|
69
|
+
}
|
|
70
|
+
return next()
|
|
71
|
+
}
|
|
83
72
|
```
|
|
84
73
|
|
|
85
|
-
|
|
86
|
-
id: proceed-implement
|
|
87
|
-
prompt: Proceed with implementation using your answers above?
|
|
88
|
-
body: |
|
|
89
|
-
The agent will update phase statuses in this file as it works. Keep the watch URL open to follow progress and answer any new gates.
|
|
90
|
-
```
|
|
74
|
+
The 429 branch, as a hunk:
|
|
91
75
|
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
done: false
|
|
76
|
+
```diff
|
|
77
|
+
--- a/gate.ts
|
|
78
|
+
+++ b/gate.ts
|
|
79
|
+
@@ -3,1 +3,3 @@
|
|
80
|
+
- if (await limiter.over(req)) return reply.code(429).send()
|
|
81
|
+
+ if (await limiter.over(req)) {
|
|
82
|
+
+ return reply.code(429).send()
|
|
83
|
+
+ }
|
|
101
84
|
```
|
|
85
|
+
</phase>
|
|
86
|
+
|
|
87
|
+
<phase id="observe" title="Ship dashboards and alerts" status="pending">
|
|
88
|
+
Emit reject counts and latency, then alert on sustained 429 spikes.
|
|
89
|
+
</phase>
|
|
90
|
+
|
|
91
|
+
<callout id="redis-dependency" title="Redis dependency" kind="risk">
|
|
92
|
+
A Redis outage must not take down the API. Fail-open vs fail-closed is a human policy decision below.
|
|
93
|
+
</callout>
|
|
94
|
+
|
|
95
|
+
<choice id="fail-mode" prompt="If Redis is unreachable, how should the limiter behave?">
|
|
96
|
+
<option id="open" label="Fail open">
|
|
97
|
+
Allow traffic if Redis is down. Prefer availability.
|
|
98
|
+
</option>
|
|
99
|
+
<option id="closed" label="Fail closed">
|
|
100
|
+
Reject traffic if Redis is down. Prefer strict limiting.
|
|
101
|
+
</option>
|
|
102
|
+
</choice>
|
|
103
|
+
|
|
104
|
+
<form id="limits" prompt="Set the initial production limits">
|
|
105
|
+
<field name="max_rps" label="Max requests per window" type="number" required="true" default="120" />
|
|
106
|
+
<field name="window_s" label="Window seconds" type="number" required="true" default="60" />
|
|
107
|
+
<field name="rollout" label="Initial rollout percentage" type="select" required="true" default="5" options="1, 5, 25, 100" />
|
|
108
|
+
</form>
|
|
109
|
+
|
|
110
|
+
<questions id="rollout-notes" prompt="Anything else the agent should know before coding?">
|
|
111
|
+
<item>
|
|
112
|
+
Which environments should receive the flag first?
|
|
113
|
+
</item>
|
|
114
|
+
<item>
|
|
115
|
+
Is there an existing dashboard the agent should extend?
|
|
116
|
+
</item>
|
|
117
|
+
</questions>
|
|
118
|
+
|
|
119
|
+
<approve id="proceed-implement" prompt="Proceed with implementation using your answers above?">
|
|
120
|
+
The agent will update phase statuses in this file as it works. Keep the watch URL open to follow progress and answer any new gates.
|
|
121
|
+
</approve>
|
|
122
|
+
|
|
123
|
+
<checklist id="done-when" title="Done when">
|
|
124
|
+
<item done="false">
|
|
125
|
+
Middleware behind a flag
|
|
126
|
+
</item>
|
|
127
|
+
<item done="false">
|
|
128
|
+
429 + Retry-After behavior covered by tests
|
|
129
|
+
</item>
|
|
130
|
+
<item done="false">
|
|
131
|
+
Dashboard panels for rejects and latency
|
|
132
|
+
</item>
|
|
133
|
+
</checklist>
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
# Submission delivery showcase runbook
|
|
2
|
+
|
|
3
|
+
Click target: `examples/submission-delivery.plan.md`.
|
|
4
|
+
|
|
5
|
+
The guide serves that file, then walks these steps in order. Do only the step marked current. Say when it is done. The guide reads the JSON, restarts the right client, and names the next click.
|
|
6
|
+
|
|
7
|
+
Commands below are what the guide runs from this repo. `events` prints one JSON object per line, `{ "event", "id", "seq", "data" }`, then exits. `watch` prints the same shape and stays up.
|
|
8
|
+
|
|
9
|
+
## Before the first click
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
export PATH="$HOME/.bun/bin:$PATH"
|
|
13
|
+
bun src/cli.ts check examples/submission-delivery.plan.md
|
|
14
|
+
bun src/cli.ts serve examples/submission-delivery.plan.md --detach --no-open
|
|
15
|
+
bun src/cli.ts mode comment --url "$URL"
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
`events` is not started yet. The mode chip on the page should say `comment`.
|
|
19
|
+
|
|
20
|
+
## 1. Comment while events is down
|
|
21
|
+
|
|
22
|
+
Click the callout **Comment grab**. Type `queued while events was down`. Send.
|
|
23
|
+
|
|
24
|
+
Expected before the guide starts `events`: the page shows the comment, and no CLI is running.
|
|
25
|
+
|
|
26
|
+
The guide then runs `events --url "$URL"`.
|
|
27
|
+
|
|
28
|
+
Expected: one `comment` line whose `data.text` is that message, then the process exits `0`. A second `events` is not left running.
|
|
29
|
+
|
|
30
|
+
## 2. Comment while events is waiting
|
|
31
|
+
|
|
32
|
+
The guide starts `events` and leaves it running.
|
|
33
|
+
|
|
34
|
+
Click **Comment grab** again. Type `listener was waiting`. Send.
|
|
35
|
+
|
|
36
|
+
Expected: `events` prints one `comment` line and exits. The guide starts `events` again. That process stays running, because the server has nothing left to deliver.
|
|
37
|
+
|
|
38
|
+
## 3. Marking addressed does not deliver an event
|
|
39
|
+
|
|
40
|
+
With `events` still waiting, open the same comment and click **Mark addressed**.
|
|
41
|
+
|
|
42
|
+
Expected: `events` does not print and does not exit. Addressing is not a submission.
|
|
43
|
+
|
|
44
|
+
## 4. Two submissions queued, one events process
|
|
45
|
+
|
|
46
|
+
The guide stops `events` and switches the page to `watch`. The mode chip must say `watch`. Comment grab has to be off or the choice click opens a comment instead.
|
|
47
|
+
|
|
48
|
+
Click **This choice plus a comment**.
|
|
49
|
+
|
|
50
|
+
Press **Comment** (or `C`). Click the choice section. Type `queued with the choice`. Send. Press **Comment** again so the chip says `watch`.
|
|
51
|
+
|
|
52
|
+
The guide starts `events` once.
|
|
53
|
+
|
|
54
|
+
Expected: two JSON lines, the `interaction` for `delivery-shape` and the `comment`, in seq order. The process exits once. The guide starts `events` again and it stays waiting.
|
|
55
|
+
|
|
56
|
+
`data` for the choice:
|
|
57
|
+
|
|
58
|
+
```json
|
|
59
|
+
{ "kind": "choice", "id": "delivery-shape", "optionId": "choice-and-comment", "label": "This choice plus a comment" }
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## 5. Form while events is waiting
|
|
63
|
+
|
|
64
|
+
Chip says `watch`. Fill **Your name**, leave the select on `1`, click **Submit**.
|
|
65
|
+
|
|
66
|
+
Expected: `events` prints one `interaction` for `batch-note` and exits. `data.kind` is `form`, `data.values.observer` is the name, `data.values.batch` is `"1"`. The guide starts `events` again.
|
|
67
|
+
|
|
68
|
+
## 6. Questions while events is waiting
|
|
69
|
+
|
|
70
|
+
Chip says `watch`. Answer both questions. Click **Send answers**.
|
|
71
|
+
|
|
72
|
+
Expected: one `interaction` for `reconnect-notes`. `data.kind` is `questions`. `data.answers["0"]` and `data.answers["1"]` are the two texts. The process exits. The guide starts `events` again.
|
|
73
|
+
|
|
74
|
+
## 7. Approve-gate denial
|
|
75
|
+
|
|
76
|
+
Chip says `watch`. On **Deny this gate. Execution should not start.** click **Deny**. Optional note: `hold`.
|
|
77
|
+
|
|
78
|
+
Expected: one `interaction` with `id` `hold-execution`, `approved` `false`, and `note` `hold` when you typed one. The process exits. The guide starts `events` again and does **not** start `watch`. The new `events` stays waiting.
|
|
79
|
+
|
|
80
|
+
## 8. Review denial
|
|
81
|
+
|
|
82
|
+
The guide switches the page to `review` and leaves `events` waiting. The bottom bar shows **Deny**. The corner shows **Approve**.
|
|
83
|
+
|
|
84
|
+
Click **Deny**. Do not click the corner Approve.
|
|
85
|
+
|
|
86
|
+
Expected: one `review` line, `data.decision` `deny`. The process exits. The page returns to watch. The guide starts `events` once more and does **not** start `watch`.
|
|
87
|
+
|
|
88
|
+
## 9. Review iterate
|
|
89
|
+
|
|
90
|
+
The guide switches the page back to `review`. This page has no Iterate button. The guide posts `{ "decision": "iterate", "note": "showcase iterate" }` to `/api/review`.
|
|
91
|
+
|
|
92
|
+
Expected: one `review` line, `data.decision` `iterate`. The process exits. The page stays in review. The guide starts `events` again and does **not** start `watch`.
|
|
93
|
+
|
|
94
|
+
## 10. Review approve, then watch
|
|
95
|
+
|
|
96
|
+
`events` is still the waiting client. The guide switches to `review` if the chip is not already `review`.
|
|
97
|
+
|
|
98
|
+
Click the corner **Approve**.
|
|
99
|
+
|
|
100
|
+
Expected: one `review` line, `data.decision` `approve`. `events` exits. The guide does **not** start `events` again. It starts `watch --url "$URL"` and leaves that process running. The chip says `watch`. Stderr from watch says it stays running until execution is finished.
|
|
101
|
+
|
|
102
|
+
## 11. Execution, with watch left running
|
|
103
|
+
|
|
104
|
+
The guide runs `execution start`, updates the plan file (phase `execute` becomes `active`, checklist items flip as steps finish), and `execution push` when the workflow graph changes.
|
|
105
|
+
|
|
106
|
+
Click **Comment** and send `comment during execution` on the **Watch stays up during execution** phase.
|
|
107
|
+
|
|
108
|
+
Expected: `watch` prints that `comment` and the process is still running. The form and review controls are locked. The guide does not stop `watch`.
|
|
109
|
+
|
|
110
|
+
The guide runs `execution stop`. The lock banner goes away. Then the guide stops `watch`. That is the first time watch is closed.
|
|
111
|
+
|
|
112
|
+
## 12. After watch closes
|
|
113
|
+
|
|
114
|
+
The guide starts `events` one more time.
|
|
115
|
+
|
|
116
|
+
Expected: if you sent nothing else, `events` stays waiting. If you sent a comment after watch exited, that line prints immediately and the process exits, and the guide starts `events` again.
|
|
117
|
+
|
|
118
|
+
## What not to overlap
|
|
119
|
+
|
|
120
|
+
Do not leave `events` and `watch` running together. Both would see the same live notice, and only one ack is recorded.
|
|
121
|
+
|
|
122
|
+
Do not approve **Approve this gate to start the execution watch** during steps 1–9. That gate is the alternate approval path. Use it only if step 10 was skipped: the guide treats `approved: true` the same as review approve and switches from `events` to `watch`.
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Submission delivery showcase
|
|
3
|
+
summary: Click through comments, choices, gates, and review verdicts so the one-shot events client and the execution watch client can be tried in order.
|
|
4
|
+
agent: local-cursor
|
|
5
|
+
mode: watch
|
|
6
|
+
---
|
|
7
|
+
# Submission delivery showcase
|
|
8
|
+
|
|
9
|
+
This page is the click target for the delivery runbook. Work only the step the guide names. A comment needs the Comment control on. A choice, form, question, or gate needs it off, because an armed comment grab eats the click.
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
<workflow id="showcase" title="Showcase path">
|
|
13
|
+
```workflow
|
|
14
|
+
queued-comment | Comment while events is down | queued-comment
|
|
15
|
+
live-comment | Comment while events is waiting | live-comment
|
|
16
|
+
delivery-shape | Choose what to queue | delivery-shape
|
|
17
|
+
batch-note | Submit the form | batch-note
|
|
18
|
+
reconnect-notes | Answer the questions | reconnect-notes
|
|
19
|
+
hold-execution | Deny the early gate | hold-execution
|
|
20
|
+
review-verdict | Review deny, iterate, approve | review-verdict
|
|
21
|
+
start-execution | Approve execution | start-execution
|
|
22
|
+
execute | Watch stays up | execute
|
|
23
|
+
done-when | Stop watch after execution | done-when
|
|
24
|
+
--
|
|
25
|
+
queued-comment -> live-comment
|
|
26
|
+
live-comment -> delivery-shape
|
|
27
|
+
delivery-shape -> batch-note
|
|
28
|
+
batch-note -> reconnect-notes
|
|
29
|
+
reconnect-notes -> hold-execution
|
|
30
|
+
hold-execution -> review-verdict
|
|
31
|
+
review-verdict -> start-execution
|
|
32
|
+
start-execution -> execute
|
|
33
|
+
execute -> done-when
|
|
34
|
+
```
|
|
35
|
+
</workflow>
|
|
36
|
+
|
|
37
|
+
<phase id="queued-comment" title="Comment while events is down" status="active">
|
|
38
|
+
The events process is not running. A comment sent now sits on the server with `delivered_at` empty. The next `events` start prints it and exits immediately.
|
|
39
|
+
</phase>
|
|
40
|
+
|
|
41
|
+
<phase id="live-comment" title="Comment while events is waiting" status="pending">
|
|
42
|
+
Events is running and waiting. The next comment prints as JSON and that process exits. Starting events again should stay up, because nothing else is pending.
|
|
43
|
+
</phase>
|
|
44
|
+
|
|
45
|
+
<callout id="comment-grab" title="Comment grab" kind="tip">
|
|
46
|
+
Press Comment, or the C key, until the mode chip says comment. Then click this callout, type the message for the current step, and Send. Press Comment again before you touch a choice, form, or gate.
|
|
47
|
+
</callout>
|
|
48
|
+
|
|
49
|
+
<choice id="delivery-shape" prompt="Which pair should we queue while events is stopped?">
|
|
50
|
+
<option id="choice-and-comment" label="This choice plus a comment">
|
|
51
|
+
Stop events, pick this, then comment, then start events once. Both lines print and the process exits.
|
|
52
|
+
</option>
|
|
53
|
+
<option id="choice-only" label="This choice alone">
|
|
54
|
+
One interaction line, then events exits.
|
|
55
|
+
</option>
|
|
56
|
+
</choice>
|
|
57
|
+
|
|
58
|
+
<form id="batch-note" prompt="Leave a note on the form submission">
|
|
59
|
+
<field name="observer" label="Your name" type="text" required="true" placeholder="Ada" />
|
|
60
|
+
<field name="batch" label="How many events should one events process print" type="select" required="true" default="1" options="1, 2" />
|
|
61
|
+
</form>
|
|
62
|
+
|
|
63
|
+
<questions id="reconnect-notes" prompt="What should the agent do after events exits?">
|
|
64
|
+
<item>
|
|
65
|
+
After a comment, a denial, or any other event, what should happen to the events process?
|
|
66
|
+
</item>
|
|
67
|
+
<item>
|
|
68
|
+
After an approval, which command should stay running until execution finishes?
|
|
69
|
+
</item>
|
|
70
|
+
</questions>
|
|
71
|
+
|
|
72
|
+
<approve id="hold-execution" prompt="Deny this gate. Execution should not start.">
|
|
73
|
+
Deny prints an interaction with `approved: false`. The agent reconnects events and does not open watch.
|
|
74
|
+
</approve>
|
|
75
|
+
|
|
76
|
+
<phase id="review-verdict" title="Review deny, then iterate, then approve" status="pending">
|
|
77
|
+
Review mode adds a Deny button on the bottom bar and an Approve button in the corner. Iterate has no button on this page. The guide submits that verdict when the step says so. Deny and iterate must not start watch. Approve must.
|
|
78
|
+
</phase>
|
|
79
|
+
|
|
80
|
+
<approve id="start-execution" prompt="Approve this gate to start the execution watch.">
|
|
81
|
+
Approve prints an interaction with `approved: true`. Events stops for good. Watch starts and stays up while the workflow is pushed.
|
|
82
|
+
</approve>
|
|
83
|
+
|
|
84
|
+
<phase id="execute" title="Watch stays up during execution" status="pending">
|
|
85
|
+
The watch process is the status client. A comment during execution prints on that process and the process keeps running. Forms stay locked until execution stops.
|
|
86
|
+
</phase>
|
|
87
|
+
|
|
88
|
+
<checklist id="done-when" title="Done when">
|
|
89
|
+
<item done="false">
|
|
90
|
+
A comment sent while events was down printed on the next start, then that process exited
|
|
91
|
+
</item>
|
|
92
|
+
<item done="false">
|
|
93
|
+
A comment sent while events was waiting printed and exited, and the next start stayed up
|
|
94
|
+
</item>
|
|
95
|
+
<item done="false">
|
|
96
|
+
Two queued submissions printed together from one events process
|
|
97
|
+
</item>
|
|
98
|
+
<item done="false">
|
|
99
|
+
The early gate denial reconnected events and did not start watch
|
|
100
|
+
</item>
|
|
101
|
+
<item done="false">
|
|
102
|
+
Review deny and iterate did not start watch
|
|
103
|
+
</item>
|
|
104
|
+
<item done="false">
|
|
105
|
+
Approval started watch, execution updates landed, and watch closed only after execution stop
|
|
106
|
+
</item>
|
|
107
|
+
</checklist>
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Table showcase
|
|
3
|
+
summary: Pipe tables in the plan text, and the same tables inside a phase and a callout.
|
|
4
|
+
agent: local-cursor
|
|
5
|
+
mode: watch
|
|
6
|
+
---
|
|
7
|
+
# Table showcase
|
|
8
|
+
|
|
9
|
+
A pipe table in the plan text. The separator row sets alignment: `---` left, `---:` right, `:---:` center.
|
|
10
|
+
|
|
11
|
+
| Status | Meaning | Lease |
|
|
12
|
+
| --- | --- | ---: |
|
|
13
|
+
| `PENDING` | Waiting for a producer | — |
|
|
14
|
+
| `RUNNING` | A script holds the row | 1h |
|
|
15
|
+
| `SUCCEEDED` | The script finished | — |
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
<workflow id="showcase" title="Expected execution">
|
|
19
|
+
```workflow
|
|
20
|
+
queue | Operation queue | queue
|
|
21
|
+
producers | Producers | producers
|
|
22
|
+
--
|
|
23
|
+
queue -> producers
|
|
24
|
+
```
|
|
25
|
+
</workflow>
|
|
26
|
+
|
|
27
|
+
<phase id="queue" title="New generic queue: google_ads_operation" status="pending">
|
|
28
|
+
**Owner:** `campaigns`. Producers call it in-process, as COE calls `changeset_service` today:
|
|
29
|
+
|
|
30
|
+
- COE now;
|
|
31
|
+
- targeting (channel operations) and COE pauses later.
|
|
32
|
+
|
|
33
|
+
**Table** `pixability.google_ads_operation` (draft)
|
|
34
|
+
|
|
35
|
+
| Column | Purpose |
|
|
36
|
+
| --- | --- |
|
|
37
|
+
| `google_ads_operation_id` | PK |
|
|
38
|
+
| `account_id_ext` | `XXX-XXX-XXXX`, the account the script runs in |
|
|
39
|
+
| `operation_type` | `enable_campaign` now; `pause_campaign`, `set_youtube_channels`, `remove_youtube_channels` later |
|
|
40
|
+
| `target_id` | campaign or ad group id |
|
|
41
|
+
| `payload` | JSON, type-specific (empty for enable; channel ids later) |
|
|
42
|
+
| `state` | `PENDING` → `RUNNING` → `SUCCEEDED` / `FAILED` / `CANCELLED` |
|
|
43
|
+
| `attempt_count`, `leased_at` | lease and retry, as `ad_group_sync_queue.CLAIM_LEASE` (1h); re-offered after expiry, `FAILED` after N attempts |
|
|
44
|
+
| `error`, `completed_at` | what the script reported |
|
|
45
|
+
| `source`, `source_ref` | who asked and for what, e.g. `coe.unpause_safety_pause` + `safety_pause_id`, so a producer can read its results back |
|
|
46
|
+
|
|
47
|
+
Plus `created_at`, `updated_at` (with the trigger) and `deleted_at`.
|
|
48
|
+
|
|
49
|
+
**Service:** `campaigns/services/google_ads_operations.py`
|
|
50
|
+
|
|
51
|
+
- `enqueue(db, operations)` validates every operation against its type's payload.
|
|
52
|
+
</phase>
|
|
53
|
+
|
|
54
|
+
<callout id="producers" title="Who writes a row" kind="note">
|
|
55
|
+
The same pipe table works in a callout body.
|
|
56
|
+
|
|
57
|
+
| Producer | When |
|
|
58
|
+
| --- | --- |
|
|
59
|
+
| COE | now |
|
|
60
|
+
| targeting | when a channel operation needs a pause |
|
|
61
|
+
</callout>
|