@rubytech/create-maxy-code 0.1.74 → 0.1.79
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/dist/__tests__/plugin-install.test.js +2 -2
- package/dist/lib/plugin-install.js +1 -1
- package/package.json +1 -1
- package/payload/platform/config/brand.json +1 -1
- package/payload/platform/lib/graph-write/dist/index.js +1 -1
- package/payload/platform/lib/graph-write/src/index.ts +1 -1
- package/payload/platform/package.json +1 -1
- package/payload/platform/plugins/.claude-plugin/marketplace.json +101 -1
- package/payload/platform/plugins/admin/mcp/dist/index.js +112 -8
- package/payload/platform/plugins/admin/mcp/dist/index.js.map +1 -1
- package/payload/platform/plugins/admin/skills/commitment-followthrough/SKILL.md +1 -1
- package/payload/platform/plugins/admin/skills/session-management/SKILL.md +1 -1
- package/payload/platform/plugins/business-assistant/PLUGIN.md +1 -1
- package/payload/platform/plugins/business-assistant/references/task-management.md +13 -13
- package/payload/platform/plugins/contacts/mcp/dist/index.js +36 -5
- package/payload/platform/plugins/contacts/mcp/dist/index.js.map +1 -1
- package/payload/platform/plugins/docs/references/admin-session.md +7 -6
- package/payload/platform/plugins/docs/references/internals.md +2 -2
- package/payload/platform/plugins/email/mcp/dist/index.js +34 -3
- package/payload/platform/plugins/email/mcp/dist/index.js.map +1 -1
- package/payload/platform/plugins/memory/PLUGIN.md +1 -1
- package/payload/platform/plugins/memory/mcp/dist/index.js +78 -3
- package/payload/platform/plugins/memory/mcp/dist/index.js.map +1 -1
- package/payload/platform/plugins/memory/mcp/dist/lib/__tests__/neo4j-password-path.test.d.ts +2 -0
- package/payload/platform/plugins/memory/mcp/dist/lib/__tests__/neo4j-password-path.test.d.ts.map +1 -0
- package/payload/platform/plugins/memory/mcp/dist/lib/__tests__/neo4j-password-path.test.js +57 -0
- package/payload/platform/plugins/memory/mcp/dist/lib/__tests__/neo4j-password-path.test.js.map +1 -0
- package/payload/platform/plugins/memory/mcp/dist/lib/neo4j.d.ts.map +1 -1
- package/payload/platform/plugins/memory/mcp/dist/lib/neo4j.js +9 -1
- package/payload/platform/plugins/memory/mcp/dist/lib/neo4j.js.map +1 -1
- package/payload/platform/plugins/memory/mcp/vitest.config.ts +2 -0
- package/payload/platform/plugins/memory/skills/conversation-archive-enrich/SKILL.md +2 -2
- package/payload/platform/plugins/outlook/mcp/dist/index.js +37 -5
- package/payload/platform/plugins/outlook/mcp/dist/index.js.map +1 -1
- package/payload/platform/plugins/projects/PLUGIN.md +3 -3
- package/payload/platform/plugins/projects/references/sprint.md +2 -2
- package/payload/platform/plugins/replicate/mcp/dist/index.js +27 -6
- package/payload/platform/plugins/replicate/mcp/dist/index.js.map +1 -1
- package/payload/platform/plugins/scheduling/mcp/dist/index.js +32 -3
- package/payload/platform/plugins/scheduling/mcp/dist/index.js.map +1 -1
- package/payload/platform/plugins/scheduling/skills/briefing/SKILL.md +2 -2
- package/payload/platform/plugins/tasks/.claude-plugin/plugin.json +1 -1
- package/payload/platform/plugins/tasks/mcp/dist/index.js +44 -3
- package/payload/platform/plugins/tasks/mcp/dist/index.js.map +1 -1
- package/payload/platform/plugins/waitlist/mcp/dist/index.js +30 -3
- package/payload/platform/plugins/waitlist/mcp/dist/index.js.map +1 -1
- package/payload/platform/plugins/work/.claude-plugin/plugin.json +17 -0
- package/payload/platform/plugins/{tasks → work}/.mcp.json +2 -2
- package/payload/platform/plugins/work/PLUGIN.md +120 -0
- package/payload/platform/plugins/work/mcp/dist/index.d.ts +2 -0
- package/payload/platform/plugins/work/mcp/dist/index.d.ts.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/index.js +543 -0
- package/payload/platform/plugins/work/mcp/dist/index.js.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/lib/embeddings.d.ts +7 -0
- package/payload/platform/plugins/work/mcp/dist/lib/embeddings.d.ts.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/lib/embeddings.js +24 -0
- package/payload/platform/plugins/work/mcp/dist/lib/embeddings.js.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/lib/neo4j.d.ts +5 -0
- package/payload/platform/plugins/work/mcp/dist/lib/neo4j.d.ts.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/lib/neo4j.js +40 -0
- package/payload/platform/plugins/work/mcp/dist/lib/neo4j.js.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/tools/project-complete.d.ts +17 -0
- package/payload/platform/plugins/work/mcp/dist/tools/project-complete.d.ts.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/tools/project-complete.js +76 -0
- package/payload/platform/plugins/work/mcp/dist/tools/project-complete.js.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/tools/project-create.d.ts +29 -0
- package/payload/platform/plugins/work/mcp/dist/tools/project-create.d.ts.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/tools/project-create.js +235 -0
- package/payload/platform/plugins/work/mcp/dist/tools/project-create.js.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/tools/project-get.d.ts +40 -0
- package/payload/platform/plugins/work/mcp/dist/tools/project-get.d.ts.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/tools/project-get.js +125 -0
- package/payload/platform/plugins/work/mcp/dist/tools/project-get.js.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/tools/project-list.d.ts +26 -0
- package/payload/platform/plugins/work/mcp/dist/tools/project-list.d.ts.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/tools/project-list.js +81 -0
- package/payload/platform/plugins/work/mcp/dist/tools/project-list.js.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/tools/project-update.d.ts +19 -0
- package/payload/platform/plugins/work/mcp/dist/tools/project-update.d.ts.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/tools/project-update.js +102 -0
- package/payload/platform/plugins/work/mcp/dist/tools/project-update.js.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/tools/session-list.d.ts +20 -0
- package/payload/platform/plugins/work/mcp/dist/tools/session-list.d.ts.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/tools/session-list.js +37 -0
- package/payload/platform/plugins/work/mcp/dist/tools/session-list.js.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/tools/session-name.d.ts +12 -0
- package/payload/platform/plugins/work/mcp/dist/tools/session-name.d.ts.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/tools/session-name.js +28 -0
- package/payload/platform/plugins/work/mcp/dist/tools/session-name.js.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/tools/work-complete.d.ts +16 -0
- package/payload/platform/plugins/work/mcp/dist/tools/work-complete.d.ts.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/tools/work-complete.js +33 -0
- package/payload/platform/plugins/work/mcp/dist/tools/work-complete.js.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/tools/work-create.d.ts +63 -0
- package/payload/platform/plugins/work/mcp/dist/tools/work-create.d.ts.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/tools/work-create.js +141 -0
- package/payload/platform/plugins/work/mcp/dist/tools/work-create.js.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/tools/work-get.d.ts +19 -0
- package/payload/platform/plugins/work/mcp/dist/tools/work-get.d.ts.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/tools/work-get.js +51 -0
- package/payload/platform/plugins/work/mcp/dist/tools/work-get.js.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/tools/work-list.d.ts +18 -0
- package/payload/platform/plugins/work/mcp/dist/tools/work-list.d.ts.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/tools/work-list.js +66 -0
- package/payload/platform/plugins/work/mcp/dist/tools/work-list.js.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/tools/work-ready.d.ts +21 -0
- package/payload/platform/plugins/work/mcp/dist/tools/work-ready.d.ts.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/tools/work-ready.js +54 -0
- package/payload/platform/plugins/work/mcp/dist/tools/work-ready.js.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/tools/work-relate.d.ts +12 -0
- package/payload/platform/plugins/work/mcp/dist/tools/work-relate.d.ts.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/tools/work-relate.js +59 -0
- package/payload/platform/plugins/work/mcp/dist/tools/work-relate.js.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/tools/work-update.d.ts +32 -0
- package/payload/platform/plugins/work/mcp/dist/tools/work-update.d.ts.map +1 -0
- package/payload/platform/plugins/work/mcp/dist/tools/work-update.js +112 -0
- package/payload/platform/plugins/work/mcp/dist/tools/work-update.js.map +1 -0
- package/payload/platform/plugins/{tasks → work}/mcp/package.json +1 -1
- package/payload/platform/plugins/workflows/mcp/dist/index.js +32 -3
- package/payload/platform/plugins/workflows/mcp/dist/index.js.map +1 -1
- package/payload/platform/scripts/conversation-id-allowlist.txt +4 -4
- package/payload/platform/scripts/seed-neo4j.sh +1 -1
- package/payload/platform/services/claude-session-manager/dist/http-server.d.ts.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/http-server.js +34 -5
- package/payload/platform/services/claude-session-manager/dist/http-server.js.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/index.js +32 -0
- package/payload/platform/services/claude-session-manager/dist/index.js.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/pty-spawner.d.ts +33 -1
- package/payload/platform/services/claude-session-manager/dist/pty-spawner.d.ts.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/pty-spawner.js +170 -39
- package/payload/platform/services/claude-session-manager/dist/pty-spawner.js.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/specialist-drift.d.ts.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/specialist-drift.js +10 -4
- package/payload/platform/services/claude-session-manager/dist/specialist-drift.js.map +1 -1
- package/payload/platform/templates/agents/admin/IDENTITY.md +22 -38
- package/payload/platform/templates/agents/admin/SOUL.md +0 -38
- package/payload/platform/templates/specialists/agents/database-operator.md +1 -1
- package/payload/platform/templates/specialists/agents/librarian.md +1 -1
- package/payload/platform/templates/specialists/agents/personal-assistant.md +1 -1
- package/payload/platform/templates/specialists/agents/project-manager.md +3 -3
- package/payload/premium-plugins/real-agent/plugins/leads/PLUGIN.md +1 -1
- package/payload/server/{chunk-ITQ55PCQ.js → chunk-TFEIFU7F.js} +1 -1
- package/payload/server/{chunk-HZ77KMTV.js → chunk-W33UUYYR.js} +1 -4
- package/payload/server/{cloudflare-task-tracker-PZBX7X3D.js → cloudflare-task-tracker-7P355PSD.js} +1 -1
- package/payload/server/maxy-edge.js +1 -1
- package/payload/server/public/assets/{admin-DcqVybWZ.js → admin-Bn3SKHdv.js} +1 -1
- package/payload/server/public/assets/{architectureDiagram-Q4EWVU46-C6vU0NST.js → architectureDiagram-Q4EWVU46-VMeuB5OP.js} +1 -1
- package/payload/server/public/assets/{blockDiagram-DXYQGD6D-CVaR8-w2.js → blockDiagram-DXYQGD6D-B7mq0Me0.js} +1 -1
- package/payload/server/public/assets/{brand-1AQwHifp.css → brand-CZQNuuLo.css} +1 -1
- package/payload/server/public/assets/{c4Diagram-AHTNJAMY-DnFHlz0P.js → c4Diagram-AHTNJAMY-Btu6ejD1.js} +1 -1
- package/payload/server/public/assets/channel-C_bSLH4h.js +1 -0
- package/payload/server/public/assets/{chunk-336JU56O-B6a2-iht.js → chunk-336JU56O-DAL_d_Xa.js} +2 -2
- package/payload/server/public/assets/{chunk-426QAEUC-DxIW6EIp.js → chunk-426QAEUC-DPD9ot_N.js} +1 -1
- package/payload/server/public/assets/{chunk-4TB4RGXK-Bd_K_Vm8.js → chunk-4TB4RGXK-BexM9T-f.js} +1 -1
- package/payload/server/public/assets/{chunk-5FUZZQ4R-BrcNLOWO.js → chunk-5FUZZQ4R-EwDdji3T.js} +1 -1
- package/payload/server/public/assets/{chunk-5PVQY5BW-VlQyk4ta.js → chunk-5PVQY5BW-BP9uoVws.js} +1 -1
- package/payload/server/public/assets/{chunk-EDXVE4YY-BR-zR5uE.js → chunk-EDXVE4YY-DSFmUMEW.js} +1 -1
- package/payload/server/public/assets/{chunk-ENJZ2VHE-SZeptTG4.js → chunk-ENJZ2VHE-IVAy2Qk9.js} +1 -1
- package/payload/server/public/assets/{chunk-ICPOFSXX-CtefGo4C.js → chunk-ICPOFSXX-DkUupPox.js} +1 -1
- package/payload/server/public/assets/{chunk-OYMX7WX6-BozNOEbo.js → chunk-OYMX7WX6-BPnzam8G.js} +1 -1
- package/payload/server/public/assets/{chunk-U2HBQHQK-D96MbvO_.js → chunk-U2HBQHQK-xYNchOVT.js} +1 -1
- package/payload/server/public/assets/{chunk-X2U36JSP-gwEYUG8y.js → chunk-X2U36JSP-C1V_V8v8.js} +1 -1
- package/payload/server/public/assets/{chunk-YZCP3GAM-DDIFkTtt.js → chunk-YZCP3GAM-CUibW87w.js} +1 -1
- package/payload/server/public/assets/{chunk-ZZ45TVLE-C75vepuo.js → chunk-ZZ45TVLE-HkKx4xBt.js} +1 -1
- package/payload/server/public/assets/classDiagram-6PBFFD2Q-B6oW43xg.js +1 -0
- package/payload/server/public/assets/classDiagram-v2-HSJHXN6E-D0237d4h.js +1 -0
- package/payload/server/public/assets/clone-AMRCmnen.js +1 -0
- package/payload/server/public/assets/{dagre-DwC2Bsrq.js → dagre-DIaJ9oMM.js} +1 -1
- package/payload/server/public/assets/{dagre-KV5264BT-DuukLv5C.js → dagre-KV5264BT-Oyox5ACd.js} +1 -1
- package/payload/server/public/assets/data-Mm3pTL1b.js +1 -0
- package/payload/server/public/assets/{device-url-actions-DDsULUXs.js → device-url-actions-BjDrEVoY.js} +1 -1
- package/payload/server/public/assets/{diagram-5BDNPKRD-DQWQd3WX.js → diagram-5BDNPKRD-DoGhkzBd.js} +1 -1
- package/payload/server/public/assets/{diagram-G4DWMVQ6-DbS_Ih5q.js → diagram-G4DWMVQ6-Dc3Ix-Dh.js} +1 -1
- package/payload/server/public/assets/{diagram-MMDJMWI5-BFDfdYgV.js → diagram-MMDJMWI5-CFM9_Ggj.js} +1 -1
- package/payload/server/public/assets/{diagram-TYMM5635-Dp48BsHY.js → diagram-TYMM5635-nMWgzxC3.js} +1 -1
- package/payload/server/public/assets/{erDiagram-SMLLAGMA-CKA6q8Cy.js → erDiagram-SMLLAGMA-DcQWiGgF.js} +1 -1
- package/payload/server/public/assets/{flowDiagram-DWJPFMVM-BVva2cwM.js → flowDiagram-DWJPFMVM-CcX5waal.js} +1 -1
- package/payload/server/public/assets/{ganttDiagram-T4ZO3ILL-BuzV7Yj-.js → ganttDiagram-T4ZO3ILL-BTQWoD8W.js} +1 -1
- package/payload/server/public/assets/{gitGraphDiagram-UUTBAWPF-B188dI5e.js → gitGraphDiagram-UUTBAWPF-BHZcRznS.js} +1 -1
- package/payload/server/public/assets/graph-Cd4jsDi3.js +1 -0
- package/payload/server/public/assets/{graph-labels-Cp9MdDRy.js → graph-labels-CqsRzbp0.js} +1 -1
- package/payload/server/public/assets/{graphlib-D-7uYmP9.js → graphlib-BpUb9z9y.js} +1 -1
- package/payload/server/public/assets/{infoDiagram-42DDH7IO-CLvYxjeZ.js → infoDiagram-42DDH7IO-CBoiO8yF.js} +1 -1
- package/payload/server/public/assets/{ishikawaDiagram-UXIWVN3A-B9F97qbc.js → ishikawaDiagram-UXIWVN3A-mTDI_0As.js} +1 -1
- package/payload/server/public/assets/{journeyDiagram-VCZTEJTY-CWg6xF0d.js → journeyDiagram-VCZTEJTY-CcuU_0rp.js} +1 -1
- package/payload/server/public/assets/{kanban-definition-6JOO6SKY-CUM2Zro1.js → kanban-definition-6JOO6SKY-BWA7Do5Y.js} +1 -1
- package/payload/server/public/assets/{line-B_dtxHKd.js → line-BlGptbDR.js} +1 -1
- package/payload/server/public/assets/{mermaid-parser.core-q8nXkWvq.js → mermaid-parser.core-hslUiqJ-.js} +1 -1
- package/payload/server/public/assets/{mermaid.core-BIZvK8d3.js → mermaid.core-DWU_5Faf.js} +3 -3
- package/payload/server/public/assets/{mindmap-definition-QFDTVHPH-DOl7v8YY.js → mindmap-definition-QFDTVHPH-B3_sQr-2.js} +1 -1
- package/payload/server/public/assets/{page-HcHeXd21.js → page-eQPbgLXP.js} +1 -1
- package/payload/server/public/assets/{page-Ybq9fvmk.js → page-lPEIoiHs.js} +1 -1
- package/payload/server/public/assets/{pieDiagram-DEJITSTG-CVFDHS9S.js → pieDiagram-DEJITSTG-02u2dI6Z.js} +1 -1
- package/payload/server/public/assets/{public-B_FEURBo.js → public-j7U67c6E.js} +3 -3
- package/payload/server/public/assets/{quadrantDiagram-34T5L4WZ-DIx-sbIM.js → quadrantDiagram-34T5L4WZ-BfgiMQiy.js} +1 -1
- package/payload/server/public/assets/{requirementDiagram-MS252O5E-C9yrlgJP.js → requirementDiagram-MS252O5E-JKZoibIp.js} +1 -1
- package/payload/server/public/assets/{sankeyDiagram-XADWPNL6-Dn2R2x6-.js → sankeyDiagram-XADWPNL6-N1iaY19u.js} +1 -1
- package/payload/server/public/assets/{sequenceDiagram-FGHM5R23-C9QMqZZw.js → sequenceDiagram-FGHM5R23-DjU3oQ0_.js} +1 -1
- package/payload/server/public/assets/{stateDiagram-FHFEXIEX-DPzHXWge.js → stateDiagram-FHFEXIEX-BuFcldiV.js} +1 -1
- package/payload/server/public/assets/stateDiagram-v2-QKLJ7IA2-rZLYem3J.js +1 -0
- package/payload/server/public/assets/{timeline-definition-GMOUNBTQ-gRq4Cvlk.js → timeline-definition-GMOUNBTQ-3vztYjFm.js} +1 -1
- package/payload/server/public/assets/{vennDiagram-DHZGUBPP-CJGA-zAB.js → vennDiagram-DHZGUBPP-Zdv9WVqJ.js} +1 -1
- package/payload/server/public/assets/{wardleyDiagram-NUSXRM2D-BFS9eK0s.js → wardleyDiagram-NUSXRM2D-CkTAZI7f.js} +1 -1
- package/payload/server/public/assets/{xychartDiagram-5P7HB3ND-D5Kqs-jt.js → xychartDiagram-5P7HB3ND-CgMCxpms.js} +1 -1
- package/payload/server/public/data.html +5 -5
- package/payload/server/public/graph.html +5 -5
- package/payload/server/public/index.html +7 -7
- package/payload/server/public/public.html +4 -4
- package/payload/server/server.js +50 -18
- package/payload/platform/plugins/tasks/PLUGIN.md +0 -120
- package/payload/server/public/assets/channel-Ccfjb07z.js +0 -1
- package/payload/server/public/assets/classDiagram-6PBFFD2Q-Ci-ABevb.js +0 -1
- package/payload/server/public/assets/classDiagram-v2-HSJHXN6E-BDQ3yWGx.js +0 -1
- package/payload/server/public/assets/clone-CuYGwTRT.js +0 -1
- package/payload/server/public/assets/data-DbNK3_l-.js +0 -1
- package/payload/server/public/assets/graph-yTqw4J01.js +0 -1
- package/payload/server/public/assets/stateDiagram-v2-QKLJ7IA2-CcDXqSsh.js +0 -1
- /package/payload/server/public/assets/{brand-lfvUn_r6.js → brand-BnMilSyt.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as e,h as t}from"./src-CWiyyVfn.js";import{B as n,C as r,E as i,L as a,V as o,W as s,_ as c,a as l,c as u,d,v as f,y as p}from"./chunk-ICPOFSXX-
|
|
1
|
+
import{g as e,h as t}from"./src-CWiyyVfn.js";import{B as n,C as r,E as i,L as a,V as o,W as s,_ as c,a as l,c as u,d,v as f,y as p}from"./chunk-ICPOFSXX-DkUupPox.js";import{t as m}from"./linear-DOh_6k2k.js";import{t as h}from"./ordinal-BDi6f4xk.js";import"./defaultLocale-Du1XY3Dp.js";import{t as g}from"./init-B5BXBRcm.js";import"./dist-BzAsli7o.js";import{r as _}from"./chunk-5PVQY5BW-BP9uoVws.js";import{t as v}from"./line-BlGptbDR.js";import{t as y}from"./chunk-426QAEUC-DPD9ot_N.js";import{t as b}from"./chunk-U2HBQHQK-xYNchOVT.js";function x(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((t-e)/n))|0,a=Array(i);++r<i;)a[r]=e+r*n;return a}function S(){var e=h().unknown(void 0),t=e.domain,n=e.range,r=0,i=1,a,o,s=!1,c=0,l=0,u=.5;delete e.unknown;function d(){var e=t().length,d=i<r,f=d?i:r,p=d?r:i;a=(p-f)/Math.max(1,e-c+l*2),s&&(a=Math.floor(a)),f+=(p-f-a*(e-c))*u,o=a*(1-c),s&&(f=Math.round(f),o=Math.round(o));var m=x(e).map(function(e){return f+a*e});return n(d?m.reverse():m)}return e.domain=function(e){return arguments.length?(t(e),d()):t()},e.range=function(e){return arguments.length?([r,i]=e,r=+r,i=+i,d()):[r,i]},e.rangeRound=function(e){return[r,i]=e,r=+r,i=+i,s=!0,d()},e.bandwidth=function(){return o},e.step=function(){return a},e.round=function(e){return arguments.length?(s=!!e,d()):s},e.padding=function(e){return arguments.length?(c=Math.min(1,l=+e),d()):c},e.paddingInner=function(e){return arguments.length?(c=Math.min(1,e),d()):c},e.paddingOuter=function(e){return arguments.length?(l=+e,d()):l},e.align=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),d()):u},e.copy=function(){return S(t(),[r,i]).round(s).paddingInner(c).paddingOuter(l).align(u)},g.apply(d(),arguments)}var C=(function(){var e=t(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,10,12,14,16,18,19,21,23],r=[2,6],i=[1,3],a=[1,5],o=[1,6],s=[1,7],c=[1,5,10,12,14,16,18,19,21,23,34,35,36],l=[1,25],u=[1,26],d=[1,28],f=[1,29],p=[1,30],m=[1,31],h=[1,32],g=[1,33],_=[1,34],v=[1,35],y=[1,36],b=[1,37],x=[1,43],S=[1,42],C=[1,47],w=[1,50],T=[1,10,12,14,16,18,19,21,23,34,35,36],E=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],D=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],O=[1,64],k={trace:t(function(){},`trace`),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:`error`,5:`XYCHART`,8:`CHART_ORIENTATION`,10:`title`,12:`X_AXIS`,14:`Y_AXIS`,16:`LINE`,18:`BAR`,19:`acc_title`,20:`acc_title_value`,21:`acc_descr`,22:`acc_descr_value`,23:`acc_descr_multiline_value`,24:`SQUARE_BRACES_START`,26:`SQUARE_BRACES_END`,27:`NUMBER_WITH_DECIMAL`,28:`COMMA`,31:`ARROW_DELIMITER`,34:`NEWLINE`,35:`SEMI`,36:`EOF`,38:`STR`,39:`MD_STR`,41:`AMP`,42:`NUM`,43:`ALPHA`,44:`PLUS`,45:`EQUALS`,46:`MULT`,47:`DOT`,48:`BRKT`,49:`MINUS`,50:`UNDERSCORE`},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:t(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 5:r.setOrientation(a[s]);break;case 9:r.setDiagramTitle(a[s].text.trim());break;case 12:r.setLineData({text:``,type:`text`},a[s]);break;case 13:r.setLineData(a[s-1],a[s]);break;case 14:r.setBarData({text:``,type:`text`},a[s]);break;case 15:r.setBarData(a[s-1],a[s]);break;case 16:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 17:case 18:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 19:this.$=a[s-1];break;case 20:this.$=[Number(a[s-2]),...a[s]];break;case 21:this.$=[Number(a[s])];break;case 22:r.setXAxisTitle(a[s]);break;case 23:r.setXAxisTitle(a[s-1]);break;case 24:r.setXAxisTitle({type:`text`,text:``});break;case 25:r.setXAxisBand(a[s]);break;case 26:r.setXAxisRangeData(Number(a[s-2]),Number(a[s]));break;case 27:this.$=a[s-1];break;case 28:this.$=[a[s-2],...a[s]];break;case 29:this.$=[a[s]];break;case 30:r.setYAxisTitle(a[s]);break;case 31:r.setYAxisTitle(a[s-1]);break;case 32:r.setYAxisTitle({type:`text`,text:``});break;case 33:r.setYAxisRangeData(Number(a[s-2]),Number(a[s]));break;case 37:this.$={text:a[s],type:`text`};break;case 38:this.$={text:a[s],type:`text`};break;case 39:this.$={text:a[s],type:`markdown`};break;case 40:this.$=a[s];break;case 41:this.$=a[s-1]+``+a[s];break}},`anonymous`),table:[e(n,r,{3:1,4:2,7:4,5:i,34:a,35:o,36:s}),{1:[3]},e(n,r,{4:2,7:4,3:8,5:i,34:a,35:o,36:s}),e(n,r,{4:2,7:4,6:9,3:10,5:i,8:[1,11],34:a,35:o,36:s}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},e(c,[2,34]),e(c,[2,35]),e(c,[2,36]),{1:[2,1]},e(n,r,{4:2,7:4,3:21,5:i,34:a,35:o,36:s}),{1:[2,3]},e(c,[2,5]),e(n,[2,7],{4:22,34:a,35:o,36:s}),{11:23,37:24,38:l,39:u,40:27,41:d,42:f,43:p,44:m,45:h,46:g,47:_,48:v,49:y,50:b},{11:39,13:38,24:x,27:S,29:40,30:41,37:24,38:l,39:u,40:27,41:d,42:f,43:p,44:m,45:h,46:g,47:_,48:v,49:y,50:b},{11:45,15:44,27:C,33:46,37:24,38:l,39:u,40:27,41:d,42:f,43:p,44:m,45:h,46:g,47:_,48:v,49:y,50:b},{11:49,17:48,24:w,37:24,38:l,39:u,40:27,41:d,42:f,43:p,44:m,45:h,46:g,47:_,48:v,49:y,50:b},{11:52,17:51,24:w,37:24,38:l,39:u,40:27,41:d,42:f,43:p,44:m,45:h,46:g,47:_,48:v,49:y,50:b},{20:[1,53]},{22:[1,54]},e(T,[2,18]),{1:[2,2]},e(T,[2,8]),e(T,[2,9]),e(E,[2,37],{40:55,41:d,42:f,43:p,44:m,45:h,46:g,47:_,48:v,49:y,50:b}),e(E,[2,38]),e(E,[2,39]),e(D,[2,40]),e(D,[2,42]),e(D,[2,43]),e(D,[2,44]),e(D,[2,45]),e(D,[2,46]),e(D,[2,47]),e(D,[2,48]),e(D,[2,49]),e(D,[2,50]),e(D,[2,51]),e(T,[2,10]),e(T,[2,22],{30:41,29:56,24:x,27:S}),e(T,[2,24]),e(T,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:l,39:u,40:27,41:d,42:f,43:p,44:m,45:h,46:g,47:_,48:v,49:y,50:b},e(T,[2,11]),e(T,[2,30],{33:60,27:C}),e(T,[2,32]),{31:[1,61]},e(T,[2,12]),{17:62,24:w},{25:63,27:O},e(T,[2,14]),{17:65,24:w},e(T,[2,16]),e(T,[2,17]),e(D,[2,41]),e(T,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},e(T,[2,31]),{27:[1,69]},e(T,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},e(T,[2,15]),e(T,[2,26]),e(T,[2,27]),{11:59,32:72,37:24,38:l,39:u,40:27,41:d,42:f,43:p,44:m,45:h,46:g,47:_,48:v,49:y,50:b},e(T,[2,33]),e(T,[2,19]),{25:73,27:O},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:t(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:t(function(e){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}t(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}t(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
|
|
2
2
|
`+h.showPosition()+`
|
|
3
3
|
Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};k.lexer=(function(){return{EOF:1,parseError:t(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:t(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:t(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:t(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:t(function(){return this._more=!0,this},`more`),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:t(function(e){this.unput(this.match.slice(e))},`less`),pastInput:t(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:t(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:t(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
6
|
<title>Data — Maxy</title>
|
|
7
7
|
<link rel="icon" href="/favicon.ico">
|
|
8
|
-
<script type="module" crossorigin src="/assets/data-
|
|
8
|
+
<script type="module" crossorigin src="/assets/data-Mm3pTL1b.js"></script>
|
|
9
9
|
<link rel="modulepreload" crossorigin href="/assets/chunk-DD-I1_y5.js">
|
|
10
|
-
<link rel="modulepreload" crossorigin href="/assets/brand-
|
|
11
|
-
<link rel="modulepreload" crossorigin href="/assets/graph-labels-
|
|
12
|
-
<link rel="modulepreload" crossorigin href="/assets/page-
|
|
13
|
-
<link rel="stylesheet" crossorigin href="/assets/brand-
|
|
10
|
+
<link rel="modulepreload" crossorigin href="/assets/brand-BnMilSyt.js">
|
|
11
|
+
<link rel="modulepreload" crossorigin href="/assets/graph-labels-CqsRzbp0.js">
|
|
12
|
+
<link rel="modulepreload" crossorigin href="/assets/page-eQPbgLXP.js">
|
|
13
|
+
<link rel="stylesheet" crossorigin href="/assets/brand-CZQNuuLo.css">
|
|
14
14
|
</head>
|
|
15
15
|
<body>
|
|
16
16
|
<div id="root"></div>
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
6
|
<title>Graph — Maxy</title>
|
|
7
7
|
<link rel="icon" href="/favicon.ico">
|
|
8
|
-
<script type="module" crossorigin src="/assets/graph-
|
|
8
|
+
<script type="module" crossorigin src="/assets/graph-Cd4jsDi3.js"></script>
|
|
9
9
|
<link rel="modulepreload" crossorigin href="/assets/chunk-DD-I1_y5.js">
|
|
10
|
-
<link rel="modulepreload" crossorigin href="/assets/brand-
|
|
11
|
-
<link rel="modulepreload" crossorigin href="/assets/graph-labels-
|
|
12
|
-
<link rel="modulepreload" crossorigin href="/assets/page-
|
|
13
|
-
<link rel="stylesheet" crossorigin href="/assets/brand-
|
|
10
|
+
<link rel="modulepreload" crossorigin href="/assets/brand-BnMilSyt.js">
|
|
11
|
+
<link rel="modulepreload" crossorigin href="/assets/graph-labels-CqsRzbp0.js">
|
|
12
|
+
<link rel="modulepreload" crossorigin href="/assets/page-lPEIoiHs.js">
|
|
13
|
+
<link rel="stylesheet" crossorigin href="/assets/brand-CZQNuuLo.css">
|
|
14
14
|
</head>
|
|
15
15
|
<body>
|
|
16
16
|
<div id="root"></div>
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
6
|
<title>Maxy</title>
|
|
7
7
|
<link rel="icon" href="/favicon.ico">
|
|
8
|
-
<script type="module" crossorigin src="/assets/admin-
|
|
8
|
+
<script type="module" crossorigin src="/assets/admin-Bn3SKHdv.js"></script>
|
|
9
9
|
<link rel="modulepreload" crossorigin href="/assets/chunk-DD-I1_y5.js">
|
|
10
|
-
<link rel="modulepreload" crossorigin href="/assets/brand-
|
|
11
|
-
<link rel="modulepreload" crossorigin href="/assets/graph-labels-
|
|
12
|
-
<link rel="modulepreload" crossorigin href="/assets/device-url-actions-
|
|
13
|
-
<link rel="modulepreload" crossorigin href="/assets/page-
|
|
14
|
-
<link rel="modulepreload" crossorigin href="/assets/page-
|
|
15
|
-
<link rel="stylesheet" crossorigin href="/assets/brand-
|
|
10
|
+
<link rel="modulepreload" crossorigin href="/assets/brand-BnMilSyt.js">
|
|
11
|
+
<link rel="modulepreload" crossorigin href="/assets/graph-labels-CqsRzbp0.js">
|
|
12
|
+
<link rel="modulepreload" crossorigin href="/assets/device-url-actions-BjDrEVoY.js">
|
|
13
|
+
<link rel="modulepreload" crossorigin href="/assets/page-eQPbgLXP.js">
|
|
14
|
+
<link rel="modulepreload" crossorigin href="/assets/page-lPEIoiHs.js">
|
|
15
|
+
<link rel="stylesheet" crossorigin href="/assets/brand-CZQNuuLo.css">
|
|
16
16
|
<link rel="stylesheet" crossorigin href="/assets/admin-CWMpccrR.css">
|
|
17
17
|
<link rel="stylesheet" href="/brand-defaults.css">
|
|
18
18
|
</head>
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
6
|
<title>Maxy</title>
|
|
7
7
|
<link rel="icon" href="/favicon.ico">
|
|
8
|
-
<script type="module" crossorigin src="/assets/public-
|
|
8
|
+
<script type="module" crossorigin src="/assets/public-j7U67c6E.js"></script>
|
|
9
9
|
<link rel="modulepreload" crossorigin href="/assets/chunk-DD-I1_y5.js">
|
|
10
|
-
<link rel="modulepreload" crossorigin href="/assets/brand-
|
|
11
|
-
<link rel="modulepreload" crossorigin href="/assets/device-url-actions-
|
|
12
|
-
<link rel="stylesheet" crossorigin href="/assets/brand-
|
|
10
|
+
<link rel="modulepreload" crossorigin href="/assets/brand-BnMilSyt.js">
|
|
11
|
+
<link rel="modulepreload" crossorigin href="/assets/device-url-actions-BjDrEVoY.js">
|
|
12
|
+
<link rel="stylesheet" crossorigin href="/assets/brand-CZQNuuLo.css">
|
|
13
13
|
<link rel="stylesheet" href="/brand-defaults.css">
|
|
14
14
|
</head>
|
|
15
15
|
<body>
|
package/payload/server/server.js
CHANGED
|
@@ -25,7 +25,6 @@ import {
|
|
|
25
25
|
findMissingPlugins,
|
|
26
26
|
fingerprintSessionKey,
|
|
27
27
|
getAccountIdForSession,
|
|
28
|
-
getBundleMtimeIso,
|
|
29
28
|
getConversationIdForSession,
|
|
30
29
|
getRoleForSession,
|
|
31
30
|
getSessionKeyByConversationId,
|
|
@@ -60,7 +59,7 @@ import {
|
|
|
60
59
|
vncLog,
|
|
61
60
|
waitForExit,
|
|
62
61
|
walkPremiumBundles
|
|
63
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-W33UUYYR.js";
|
|
64
63
|
import {
|
|
65
64
|
CLOUDFLARE_TASK_DIAGNOSTICS,
|
|
66
65
|
appendCloudflareSteps,
|
|
@@ -69,7 +68,7 @@ import {
|
|
|
69
68
|
openCloudflareTask,
|
|
70
69
|
readTunnelState,
|
|
71
70
|
resolveUnitGoneVerdict
|
|
72
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-TFEIFU7F.js";
|
|
73
72
|
import {
|
|
74
73
|
GREETING_DIRECTIVE,
|
|
75
74
|
deleteAgentProjection,
|
|
@@ -8059,6 +8058,12 @@ async function performSpawnWithInitialMessage(args) {
|
|
|
8059
8058
|
console.log(`${TAG18} tunnel-url-resolved value=${tunnelUrl ?? "null"}`);
|
|
8060
8059
|
const upstreamPayload = JSON.stringify({
|
|
8061
8060
|
senderId: args.senderId,
|
|
8061
|
+
// Task 205 — pass userId through to the manager so it lands as
|
|
8062
|
+
// `USER_ID` in the pty child env and as `${USER_ID}` in the
|
|
8063
|
+
// per-spawn mcp.json placeholder map. The cookie-auth path
|
|
8064
|
+
// resolves it from `getUserIdForSession`; the Stop-hook recorder
|
|
8065
|
+
// path legitimately leaves it undefined.
|
|
8066
|
+
userId: args.userId,
|
|
8062
8067
|
role: args.role,
|
|
8063
8068
|
channel: args.channel,
|
|
8064
8069
|
permissionMode: args.permissionMode,
|
|
@@ -8215,6 +8220,9 @@ app14.post("/resume", async (c) => {
|
|
|
8215
8220
|
headers: { "content-type": "application/json" },
|
|
8216
8221
|
body: JSON.stringify({
|
|
8217
8222
|
senderId,
|
|
8223
|
+
// Task 205 — resume parity with /spawn: thread userId so the
|
|
8224
|
+
// respawned pty inherits the same USER_ID env.
|
|
8225
|
+
userId,
|
|
8218
8226
|
role: "admin",
|
|
8219
8227
|
channel,
|
|
8220
8228
|
sessionId: body.sessionId,
|
|
@@ -8900,6 +8908,34 @@ var CLOUDFLARE_SETUP_FORM_SCHEMA = {
|
|
|
8900
8908
|
secretFields: ["password", "session_key", "messageId"]
|
|
8901
8909
|
};
|
|
8902
8910
|
|
|
8911
|
+
// app/lib/cloudflare-bundle-mtime.ts
|
|
8912
|
+
import { statSync as statSync8 } from "fs";
|
|
8913
|
+
var cachedBundleMtimeIso;
|
|
8914
|
+
function getBundleMtimeIso(entry = process.argv[1]) {
|
|
8915
|
+
if (cachedBundleMtimeIso !== void 0) return cachedBundleMtimeIso;
|
|
8916
|
+
if (!entry) {
|
|
8917
|
+
process.stderr.write(`[bundle-mtime] fallback reason=empty-path
|
|
8918
|
+
`);
|
|
8919
|
+
cachedBundleMtimeIso = "unknown";
|
|
8920
|
+
return cachedBundleMtimeIso;
|
|
8921
|
+
}
|
|
8922
|
+
try {
|
|
8923
|
+
cachedBundleMtimeIso = statSync8(entry).mtime.toISOString();
|
|
8924
|
+
} catch (e) {
|
|
8925
|
+
const reason = e instanceof Error ? e.message : String(e);
|
|
8926
|
+
process.stderr.write(`[bundle-mtime] fallback reason=stat-threw error="${reason}"
|
|
8927
|
+
`);
|
|
8928
|
+
cachedBundleMtimeIso = "unknown";
|
|
8929
|
+
}
|
|
8930
|
+
return cachedBundleMtimeIso;
|
|
8931
|
+
}
|
|
8932
|
+
function decideRetryBranch(args) {
|
|
8933
|
+
const { bundleMtimeIso, prior } = args;
|
|
8934
|
+
if (!prior || prior.outcome !== "failed") return "proceed";
|
|
8935
|
+
if (bundleMtimeIso === "unknown") return "surface-error";
|
|
8936
|
+
return bundleMtimeIso > prior.completedAt ? "re-invoke" : "surface-error";
|
|
8937
|
+
}
|
|
8938
|
+
|
|
8903
8939
|
// server/routes/admin/cloudflare.ts
|
|
8904
8940
|
function cloudflareStreamLogPath(accountId, correlationId) {
|
|
8905
8941
|
return resolve14(ACCOUNTS_DIR, accountId, "cloudflare-stream-logs", `${correlationId}.log`);
|
|
@@ -9282,16 +9318,12 @@ app20.post("/setup", requireAdminSession, async (c) => {
|
|
|
9282
9318
|
const bundleMtimeIso = getBundleMtimeIso();
|
|
9283
9319
|
try {
|
|
9284
9320
|
const prior = await findMostRecentTerminalCloudflareTask(accountId, correlationId);
|
|
9285
|
-
|
|
9286
|
-
|
|
9287
|
-
|
|
9288
|
-
|
|
9289
|
-
|
|
9290
|
-
|
|
9291
|
-
return err("script", literal);
|
|
9292
|
-
}
|
|
9293
|
-
} else {
|
|
9294
|
-
log(`retry-decision bundleMtime=${bundleMtimeIso} lastErrorAt=none branch=proceed`);
|
|
9321
|
+
const branch = decideRetryBranch({ bundleMtimeIso, prior });
|
|
9322
|
+
const lastErrorAt = prior && prior.outcome === "failed" ? prior.completedAt : "none";
|
|
9323
|
+
log(`retry-decision bundleMtime=${bundleMtimeIso} lastErrorAt=${lastErrorAt} branch=${branch}`);
|
|
9324
|
+
if (branch === "surface-error" && prior) {
|
|
9325
|
+
const literal = prior.errorMessage ?? CLOUDFLARE_TASK_DIAGNOSTICS.scriptExitedNonzero;
|
|
9326
|
+
return err("script", literal);
|
|
9295
9327
|
}
|
|
9296
9328
|
} catch (e) {
|
|
9297
9329
|
log(`retry-decision lookup-failed reason="${e instanceof Error ? e.message : String(e)}" branch=proceed`);
|
|
@@ -12252,7 +12284,7 @@ app33.route("/health-brand", health_default2);
|
|
|
12252
12284
|
var admin_default = app33;
|
|
12253
12285
|
|
|
12254
12286
|
// server/routes/sites.ts
|
|
12255
|
-
import { existsSync as existsSync20, readFileSync as readFileSync18, realpathSync as realpathSync5, statSync as
|
|
12287
|
+
import { existsSync as existsSync20, readFileSync as readFileSync18, realpathSync as realpathSync5, statSync as statSync9 } from "fs";
|
|
12256
12288
|
import { resolve as resolve21 } from "path";
|
|
12257
12289
|
var SAFE_SEG_RE = /^[a-z0-9_][a-z0-9_.-]{0,99}$/i;
|
|
12258
12290
|
var MIME = {
|
|
@@ -12318,7 +12350,7 @@ app34.get("/:rel{.*}", (c) => {
|
|
|
12318
12350
|
}
|
|
12319
12351
|
let stat7;
|
|
12320
12352
|
try {
|
|
12321
|
-
stat7 = existsSync20(filePath) ?
|
|
12353
|
+
stat7 = existsSync20(filePath) ? statSync9(filePath) : null;
|
|
12322
12354
|
} catch {
|
|
12323
12355
|
stat7 = null;
|
|
12324
12356
|
}
|
|
@@ -12502,7 +12534,7 @@ function startReaper2() {
|
|
|
12502
12534
|
|
|
12503
12535
|
// ../lib/entitlement/src/index.ts
|
|
12504
12536
|
import { createPublicKey, createHash as createHash3, verify as cryptoVerify } from "crypto";
|
|
12505
|
-
import { existsSync as existsSync21, readFileSync as readFileSync19, statSync as
|
|
12537
|
+
import { existsSync as existsSync21, readFileSync as readFileSync19, statSync as statSync10 } from "fs";
|
|
12506
12538
|
import { resolve as resolve22 } from "path";
|
|
12507
12539
|
|
|
12508
12540
|
// ../lib/entitlement/src/canonicalize.ts
|
|
@@ -12554,7 +12586,7 @@ function resolveEntitlement(brand, account) {
|
|
|
12554
12586
|
if (!existsSync21(entitlementPath)) {
|
|
12555
12587
|
return logResolved(anonymousFallback("missing"), { reason: "missing" });
|
|
12556
12588
|
}
|
|
12557
|
-
const stat7 =
|
|
12589
|
+
const stat7 = statSync10(entitlementPath);
|
|
12558
12590
|
const key = memoKey(stat7.mtimeMs, account);
|
|
12559
12591
|
if (memo && memo.key === key) {
|
|
12560
12592
|
return memo.result;
|
|
@@ -13522,7 +13554,7 @@ reconcileEnabledPlugins(bootAccount?.accountDir, bootAccount?.config);
|
|
|
13522
13554
|
(async () => {
|
|
13523
13555
|
if (!bootAccount) return;
|
|
13524
13556
|
try {
|
|
13525
|
-
const { recoverRunningCloudflareTasks } = await import("./cloudflare-task-tracker-
|
|
13557
|
+
const { recoverRunningCloudflareTasks } = await import("./cloudflare-task-tracker-7P355PSD.js");
|
|
13526
13558
|
const result = await recoverRunningCloudflareTasks(
|
|
13527
13559
|
bootAccount.accountId,
|
|
13528
13560
|
configDirForWhatsApp,
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: tasks
|
|
3
|
-
description: "Graph-backed task lifecycle management. Task nodes in Neo4j with dependency tracking (BLOCKS), conflict detection (AFFECTS), and a parallel safety query (task-ready). Surfaced by memory-search."
|
|
4
|
-
tools:
|
|
5
|
-
- name: task-create
|
|
6
|
-
publicAllowlist: false
|
|
7
|
-
adminAllowlist: false
|
|
8
|
-
- name: task-update
|
|
9
|
-
publicAllowlist: false
|
|
10
|
-
adminAllowlist: false
|
|
11
|
-
- name: task-list
|
|
12
|
-
publicAllowlist: false
|
|
13
|
-
adminAllowlist: false
|
|
14
|
-
- name: task-get
|
|
15
|
-
publicAllowlist: false
|
|
16
|
-
adminAllowlist: false
|
|
17
|
-
- name: task-relate
|
|
18
|
-
publicAllowlist: false
|
|
19
|
-
adminAllowlist: false
|
|
20
|
-
- name: task-complete
|
|
21
|
-
publicAllowlist: false
|
|
22
|
-
adminAllowlist: false
|
|
23
|
-
- name: task-ready
|
|
24
|
-
publicAllowlist: false
|
|
25
|
-
adminAllowlist: false
|
|
26
|
-
- name: session-list
|
|
27
|
-
publicAllowlist: false
|
|
28
|
-
adminAllowlist: false
|
|
29
|
-
- name: session-name
|
|
30
|
-
publicAllowlist: false
|
|
31
|
-
adminAllowlist: false
|
|
32
|
-
- name: project-create
|
|
33
|
-
publicAllowlist: false
|
|
34
|
-
adminAllowlist: false
|
|
35
|
-
- name: project-list
|
|
36
|
-
publicAllowlist: false
|
|
37
|
-
adminAllowlist: false
|
|
38
|
-
- name: project-get
|
|
39
|
-
publicAllowlist: false
|
|
40
|
-
adminAllowlist: false
|
|
41
|
-
- name: project-update
|
|
42
|
-
publicAllowlist: false
|
|
43
|
-
adminAllowlist: false
|
|
44
|
-
- name: project-complete
|
|
45
|
-
publicAllowlist: false
|
|
46
|
-
adminAllowlist: false
|
|
47
|
-
metadata: {"platform":{"always":false,"embed":[],"pluginKey":"tasks"}}
|
|
48
|
-
mcp:
|
|
49
|
-
command: node
|
|
50
|
-
args:
|
|
51
|
-
- ${PLATFORM_ROOT}/lib/mcp-spawn-tee/dist/index.js
|
|
52
|
-
- ${PLATFORM_ROOT}/plugins/tasks/mcp/dist/index.js
|
|
53
|
-
env:
|
|
54
|
-
MCP_SPAWN_TEE_NAME: tasks
|
|
55
|
-
LOG_DIR: ${LOG_DIR}
|
|
56
|
-
PLATFORM_ROOT: ${PLATFORM_ROOT}
|
|
57
|
-
ACCOUNT_ID: ${ACCOUNT_ID}
|
|
58
|
-
SESSION_ID: ${SESSION_ID}
|
|
59
|
-
---
|
|
60
|
-
|
|
61
|
-
# Tasks
|
|
62
|
-
|
|
63
|
-
Tasks live in the graph — not in files, not in memory. When the user identifies a piece of work, create a Task node immediately and relate it to the entities it will modify. Surface open tasks at the start of relevant conversations.
|
|
64
|
-
|
|
65
|
-
## Creating Tasks
|
|
66
|
-
|
|
67
|
-
Create a task when the user states something that needs doing, when a conversation reveals a follow-up, or when a business obligation or deadline is mentioned. Don't ask — create it and confirm.
|
|
68
|
-
|
|
69
|
-
When creating, link the task to the entities it will modify via `AFFECTS` relationships. If the user mentions who requested it, link via `RAISED_BY`. If the task has prerequisites ("after the materials arrive"), create a `BLOCKS` edge from the prerequisite to this task.
|
|
70
|
-
|
|
71
|
-
## Dependencies and Conflicts
|
|
72
|
-
|
|
73
|
-
**BLOCKS** — sequential dependency. The target task cannot start until the source is completed. When the user says "start the kitchen refit," check for blockers and explain what's outstanding.
|
|
74
|
-
|
|
75
|
-
**AFFECTS** — conflict detection. Two active tasks that both `AFFECTS` the same entity are in conflict. Surface this when either task is started: "This invoice is also being modified by [other task] — resolve that first or confirm you want both in progress."
|
|
76
|
-
|
|
77
|
-
## Before Starting a Task
|
|
78
|
-
|
|
79
|
-
Check `task-ready` before moving a task to `active`. If the task has unresolved blockers, explain what's outstanding. If another active task `AFFECTS` the same entity, surface the conflict and let the user resolve it.
|
|
80
|
-
|
|
81
|
-
## During a Task
|
|
82
|
-
|
|
83
|
-
Append progress to notes — never overwrite existing history. If the task creates or modifies graph entities, the `AFFECTS` relationships should already exist from creation. If not, add them.
|
|
84
|
-
|
|
85
|
-
## Completing a Task
|
|
86
|
-
|
|
87
|
-
Use `task-complete` to mark done. It re-embeds the task and surfaces any tasks that were blocked by this one and are now ready. Proactively tell the user what's been unlocked: "The materials order is complete — the kitchen refit is now unblocked."
|
|
88
|
-
|
|
89
|
-
## Session Start
|
|
90
|
-
|
|
91
|
-
Run `task-ready` and surface the ready set if the user has open tasks. This answers "what can I work on next without conflict?"
|
|
92
|
-
|
|
93
|
-
## Priority
|
|
94
|
-
|
|
95
|
-
- `urgent` — must be handled in this session
|
|
96
|
-
- `high` — should happen this week
|
|
97
|
-
- `normal` — standard backlog
|
|
98
|
-
- `low` — nice to have, no deadline pressure
|
|
99
|
-
|
|
100
|
-
## Tools
|
|
101
|
-
|
|
102
|
-
- `task-create` — Create a task, optionally linked to a person (RAISED_BY) and entities (AFFECTS). For durable-action records, pass `kind` (e.g. `"onboarding-establish-owner"`, `"cloudflare-tunnel-login"`) to set status `running`; pass `inputs` with the form payload and `inputSchema` declaring any secret fields — values land on the Task as `inputs.<field>` props after `redactSecrets` strips schema-tagged keys; `inputsProvided` records the call-shape (names submitted) alongside the value-bearing `inputs.*`. Pass `raisedDuringConversationKey` to write a `:RAISED_DURING` edge to the originating Conversation when it differs from the current session.
|
|
103
|
-
- `task-update` — Update name, description, status, priority, due date, or append a note (append-only). Pass `appendStep` to atomically append one entry to `steps[]` (call once per action phase); `errorMessage` is required when status transitions to `failed`; `completed` and `failed` transitions auto-set `completedAt`.
|
|
104
|
-
- `task-list` — List tasks filtered by status, priority, or related entity
|
|
105
|
-
- `task-get` — Fetch a task with full details and all relationships
|
|
106
|
-
- `task-relate` — Add AFFECTS, BLOCKS, PART_OF, or RAISED_BY relationships. For Task targets, pass the taskId (UUID) from task-create. For other labels, pass the elementId from memory-search.
|
|
107
|
-
- `task-complete` — Mark done, re-embed, surface newly-unblocked tasks
|
|
108
|
-
- `task-ready` — Safe-to-start set: pending tasks with no unresolved BLOCKS and no AFFECTS conflicts
|
|
109
|
-
- `session-list` — List recent sessions with their linked tasks
|
|
110
|
-
- `session-name` — Set a human-readable name on the current session
|
|
111
|
-
|
|
112
|
-
## Project Tools
|
|
113
|
-
|
|
114
|
-
Project tools manage `:Project:Task` nodes — multi-label nodes with structured health tracking, lifecycle phases, and parent-child relationships via `HAS_TASK`. Use these instead of manually choreographing `task-create` + `task-relate` sequences for project work.
|
|
115
|
-
|
|
116
|
-
- `project-create` — Atomic project creation: parent node, child work items, dependencies, and relationships in a single transaction. Accepts tier (quick/standard/full), optional clientRef, targetDate, workItems with blocks dependencies. Max 50 work items.
|
|
117
|
-
- `project-list` — Active projects with structured health data (green/amber/red/grey signal, completion counts, overdue/blocked counts, next action). Defaults to pending + active projects.
|
|
118
|
-
- `project-get` — Full project detail: children with blocker status, health, relationships, lifecycle notes, timestamps.
|
|
119
|
-
- `project-update` — Update project phase, tier, targetDate, clientRef, status, or append a note. Phase changes auto-append `[PROJECT:PHASE]` lifecycle notes.
|
|
120
|
-
- `project-complete` — Complete a project. Returns incomplete children so you can confirm with the user before finalising. Always completes — does not gate on unfinished work.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{it as e,rt as t}from"./chunk-ICPOFSXX-CtefGo4C.js";var n=(n,r)=>e.lang.round(t.parse(n)[r]);export{n as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as e}from"./src-CWiyyVfn.js";import"./chunk-ICPOFSXX-CtefGo4C.js";import"./dist-BzAsli7o.js";import"./chunk-5PVQY5BW-VlQyk4ta.js";import"./chunk-U2HBQHQK-D96MbvO_.js";import"./chunk-FMBD7UC4-C_E43NFJ.js";import"./chunk-BSJP7CBP-L79XKVcb.js";import"./chunk-ZZ45TVLE-C75vepuo.js";import"./chunk-YZCP3GAM-DDIFkTtt.js";import"./chunk-55IACEB6-BwZyF7vR.js";import"./chunk-EDXVE4YY-BR-zR5uE.js";import"./chunk-X2U36JSP-gwEYUG8y.js";import"./chunk-5FUZZQ4R-BrcNLOWO.js";import"./chunk-ENJZ2VHE-SZeptTG4.js";import"./chunk-336JU56O-B6a2-iht.js";import{i as t,n,r,t as i}from"./chunk-4TB4RGXK-Bd_K_Vm8.js";var a={parser:n,get db(){return new i},renderer:r,styles:t,init:e(e=>{e.class||={},e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},`init`)};export{a as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as e}from"./src-CWiyyVfn.js";import"./chunk-ICPOFSXX-CtefGo4C.js";import"./dist-BzAsli7o.js";import"./chunk-5PVQY5BW-VlQyk4ta.js";import"./chunk-U2HBQHQK-D96MbvO_.js";import"./chunk-FMBD7UC4-C_E43NFJ.js";import"./chunk-BSJP7CBP-L79XKVcb.js";import"./chunk-ZZ45TVLE-C75vepuo.js";import"./chunk-YZCP3GAM-DDIFkTtt.js";import"./chunk-55IACEB6-BwZyF7vR.js";import"./chunk-EDXVE4YY-BR-zR5uE.js";import"./chunk-X2U36JSP-gwEYUG8y.js";import"./chunk-5FUZZQ4R-BrcNLOWO.js";import"./chunk-ENJZ2VHE-SZeptTG4.js";import"./chunk-336JU56O-B6a2-iht.js";import{i as t,n,r,t as i}from"./chunk-4TB4RGXK-Bd_K_Vm8.js";var a={parser:n,get db(){return new i},renderer:r,styles:t,init:e(e=>{e.class||={},e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},`init`)};export{a as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as e}from"./graphlib-D-7uYmP9.js";var t=4;function n(n){return e(n,t)}export{n as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{m as e,o as t}from"./brand-lfvUn_r6.js";import"./graph-labels-Cp9MdDRy.js";import{t as n}from"./page-HcHeXd21.js";var r=e(),i=t();(0,r.createRoot)(document.getElementById(`root`)).render((0,i.jsx)(n,{}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{m as e,o as t}from"./brand-lfvUn_r6.js";import"./graph-labels-Cp9MdDRy.js";import{n}from"./page-Ybq9fvmk.js";var r=e(),i=t();(0,r.createRoot)(document.getElementById(`root`)).render((0,i.jsx)(n,{}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as e}from"./src-CWiyyVfn.js";import"./chunk-ICPOFSXX-CtefGo4C.js";import"./dist-BzAsli7o.js";import"./chunk-5PVQY5BW-VlQyk4ta.js";import"./chunk-U2HBQHQK-D96MbvO_.js";import"./chunk-BSJP7CBP-L79XKVcb.js";import"./chunk-ZZ45TVLE-C75vepuo.js";import"./chunk-55IACEB6-BwZyF7vR.js";import"./chunk-EDXVE4YY-BR-zR5uE.js";import"./chunk-X2U36JSP-gwEYUG8y.js";import"./chunk-5FUZZQ4R-BrcNLOWO.js";import"./chunk-ENJZ2VHE-SZeptTG4.js";import"./chunk-336JU56O-B6a2-iht.js";import{i as t,n,r,t as i}from"./chunk-OYMX7WX6-BozNOEbo.js";var a={parser:n,get db(){return new i(2)},renderer:r,styles:t,init:e(e=>{e.state||={},e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},`init`)};export{a as diagram};
|
|
File without changes
|