@agimon-ai/po-cloudflare 0.0.2-alpha.47 → 0.0.2-alpha.49
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/{agent-q6_FgL4p.js → agent-CSH23i2-.js} +1 -1
- package/dist/{apiContracts-2q9Ds4zQ.js → apiContracts-BT1b_Bvo.js} +2 -2
- package/dist/{approval-Q4ePRgVf.js → approval-DSfCC4gB.js} +2 -2
- package/dist/{approvalPrompt-N0wVTDgo.js → approvalPrompt-BKYgk3bB.js} +1 -1
- package/dist/artifactFiles-BJK8g2Wq.js +1 -0
- package/dist/assets/assets/{CodeEditorView-DZbfBgu5.js → CodeEditorView-BHaOMRjc.js} +2 -2
- package/dist/assets/assets/{abnfDiagram-WEYOIA3C-BqtuPECM.js → abnfDiagram-WEYOIA3C-CDWx0dCZ.js} +2 -2
- package/dist/assets/assets/{architecture-WOLXFQ4H-UDoaFwFa.js → architecture-WOLXFQ4H-CVl8TlUa.js} +1 -1
- package/dist/assets/assets/{architectureDiagram-ZHVYKT53-CNDAbTlM.js → architectureDiagram-ZHVYKT53-B-9U5J2m.js} +2 -2
- package/dist/assets/assets/{blockDiagram-RJAE7QA3-OhbQZFN8.js → blockDiagram-RJAE7QA3-DeAmR8GR.js} +2 -2
- package/dist/assets/assets/{c4Diagram-XDPPPE54-B9OjccA-.js → c4Diagram-XDPPPE54-DH-55ik1.js} +2 -2
- package/dist/assets/assets/channel-bSjoaDB4.js +2 -0
- package/dist/assets/assets/{chunk-2E7WHVMD-DA4Wk67f.js → chunk-2E7WHVMD-CtD9IAQe.js} +2 -2
- package/dist/assets/assets/{chunk-4EMNKR2T-oFLMWwxi.js → chunk-4EMNKR2T-BlWBPhJT.js} +2 -2
- package/dist/assets/assets/{chunk-55XCU76K-BNMcI0U2.js → chunk-55XCU76K-CLbB5lqy.js} +2 -2
- package/dist/assets/assets/{chunk-7S6XSTFO-CenzEbiE.js → chunk-7S6XSTFO-D33yaufg.js} +2 -2
- package/dist/assets/assets/{chunk-AQDTSKZB-CcoQEiuj.js → chunk-AQDTSKZB-PRYBX44u.js} +2 -2
- package/dist/assets/assets/{chunk-DSNLSHJZ-my1csMGa.js → chunk-DSNLSHJZ-CyfThOqM.js} +2 -2
- package/dist/assets/assets/{chunk-HAGFOTED-C6sogdFr.js → chunk-HAGFOTED-DzN80Tcl.js} +2 -2
- package/dist/assets/assets/{chunk-HNE4Q36P-BvGf4SLs.js → chunk-HNE4Q36P-DKoC-RgY.js} +2 -2
- package/dist/assets/assets/{chunk-NQOKRVIF-CH3zGwkY.js → chunk-NQOKRVIF-BLXN1l5s.js} +2 -2
- package/dist/assets/assets/{chunk-UHW7PFBP-beR5Mi7b.js → chunk-UHW7PFBP-CtkUl02Z.js} +2 -2
- package/dist/assets/assets/{chunk-VQ5W62QI-Bjt7EhY0.js → chunk-VQ5W62QI-DcSOZjGK.js} +2 -2
- package/dist/assets/assets/{chunk-WQQL4CDK--uHTi27z.js → chunk-WQQL4CDK-aN1-PJ3t.js} +2 -2
- package/dist/assets/assets/chunk-XXDRQBXY-BIzpIYaa.js +2 -0
- package/dist/assets/assets/{chunk-YZO67HFG-CGWU7yz5.js → chunk-YZO67HFG-DhtQKpcb.js} +2 -2
- package/dist/assets/assets/{chunk-ZAUX2LTX-BxqWXTM9.js → chunk-ZAUX2LTX-BKRwwtRo.js} +2 -2
- package/dist/assets/assets/{chunk-ZCHMQSOR-BePDb-Kq.js → chunk-ZCHMQSOR-BZT1wRxe.js} +2 -2
- package/dist/assets/assets/{classDiagram-v2-4MYWR3UA-BsxKPILw.js → classDiagram-v2-4MYWR3UA-CMWkILSY.js} +2 -2
- package/dist/assets/assets/{cose-bilkent-JH36ORCC-CntmroJ2.js → cose-bilkent-JH36ORCC-Dar4SYjM.js} +2 -2
- package/dist/assets/assets/{cynefin-EF2NZ3EQ-mxt4lwJ8.js → cynefin-EF2NZ3EQ-Dh1r-XyN.js} +1 -1
- package/dist/assets/assets/{cynefinDiagram-WF24UDRP-CWLOaVdz.js → cynefinDiagram-WF24UDRP-Dv7zKVsq.js} +2 -2
- package/dist/assets/assets/{dagre-NK4GIZVX-CjSqkDqj.js → dagre-NK4GIZVX-Bf9qZfJX.js} +2 -2
- package/dist/assets/assets/{diagram-CBK3MWTC-DgHosPlV.js → diagram-CBK3MWTC-Ca4NIw3-.js} +2 -2
- package/dist/assets/assets/{diagram-I5XIIV2D-DJKMYvB2.js → diagram-I5XIIV2D-DR1tHQSH.js} +2 -2
- package/dist/assets/assets/{diagram-ODIL2UCW-CUabEo1T.js → diagram-ODIL2UCW-Bja9G_fP.js} +2 -2
- package/dist/assets/assets/{diagram-PFBEJUXE-D65QhuNB.js → diagram-PFBEJUXE-CcKrvx7F.js} +2 -2
- package/dist/assets/assets/{diagram-RJA3I4VV-WMr3sO0e.js → diagram-RJA3I4VV-ChfUAp5c.js} +2 -2
- package/dist/assets/assets/{diagram-TYUNFSNR-DeQF6IRm.js → diagram-TYUNFSNR-Z7EIy_Dd.js} +2 -2
- package/dist/assets/assets/{dist-By8PuV8y.js → dist-C5b3-Ra2.js} +2 -2
- package/dist/assets/assets/{dist-Ch4wh0HJ.js → dist-C8ca3uHq.js} +2 -2
- package/dist/assets/assets/{dist-BrSsNrIA.js → dist-CB7zR0aj.js} +2 -2
- package/dist/assets/assets/{dist-DGqcoS-F.js → dist-CY2drnbW.js} +2 -2
- package/dist/assets/assets/{dist-CHQcsXb-.js → dist-CeHA3RMV.js} +2 -2
- package/dist/assets/assets/{dist-CGRQYK9I.js → dist-CnDVRyzg.js} +2 -2
- package/dist/assets/assets/{dist-k_LIZndS.js → dist-D4ABsHNx.js} +2 -2
- package/dist/assets/assets/{dist-0oMoa8gY.js → dist-DkzTnMW6.js} +2 -2
- package/dist/assets/assets/{dist-DkMB_lyQ.js → dist-pvEcNix9.js} +2 -2
- package/dist/assets/assets/{ebnfDiagram-V4P3TTPT-Cvs16GeG.js → ebnfDiagram-V4P3TTPT-Cj7VJ0V4.js} +2 -2
- package/dist/assets/assets/{elk-QONTBCTQ-DhTRA3_E.js → elk-QONTBCTQ-0md1Ryrf.js} +2 -2
- package/dist/assets/assets/{erDiagram-KYQIGQAA-CsVKdSIS.js → erDiagram-KYQIGQAA-DtERkMAJ.js} +2 -2
- package/dist/assets/assets/{eventmodeling-K75KTNOO-B3TUV6wn.js → eventmodeling-K75KTNOO-CSIPK-Eo.js} +1 -1
- package/dist/assets/assets/flowDiagram-IUGLLWBU-B9oPI3Eh.js +1 -0
- package/dist/assets/assets/{ganttDiagram-R7GPNTJY-8-xP0gbX.js → ganttDiagram-R7GPNTJY-WODJvYlC.js} +2 -2
- package/dist/assets/assets/{gitGraph-VSP46ZUC-Bx4f8sza.js → gitGraph-VSP46ZUC-u62VUFlC.js} +1 -1
- package/dist/assets/assets/{gitGraphDiagram-PDYL7XHY-D044bxBF.js → gitGraphDiagram-PDYL7XHY-nliEw829.js} +2 -2
- package/dist/assets/assets/index-BlFg3Cgj.js +200 -0
- package/dist/assets/assets/index-CWkfd_A-.css +1 -0
- package/dist/assets/assets/{info-OHQRW6UA-CW5MV8Rc.js → info-OHQRW6UA-CYikzsdB.js} +1 -1
- package/dist/assets/assets/{infoDiagram-MVDRKAX5-D20gcg35.js → infoDiagram-MVDRKAX5-CAW8nciZ.js} +2 -2
- package/dist/assets/assets/{ishikawaDiagram-HPEHV2GE-fwsFoxhR.js → ishikawaDiagram-HPEHV2GE-CfEaOuah.js} +2 -2
- package/dist/assets/assets/{journeyDiagram-BOSHW7O7-BWXDJt15.js → journeyDiagram-BOSHW7O7-gQ-SjkNw.js} +2 -2
- package/dist/assets/assets/{kanban-definition-FNSA4HC5-B_6bJAF9.js → kanban-definition-FNSA4HC5-DMD23QWj.js} +2 -2
- package/dist/assets/assets/{line-sb7QW2MH.js → line-BqPW5Rca.js} +2 -2
- package/dist/assets/assets/{linear-Dao8V8le.js → linear-Gt3NZtDp.js} +2 -2
- package/dist/assets/assets/{mermaid-parser.core-D6wYYM6E.js → mermaid-parser.core-jr9WuLKp.js} +4 -4
- package/dist/assets/assets/{mermaid.core-DvladRrs.js → mermaid.core-nONZH9ES.js} +5 -5
- package/dist/assets/assets/{mindmap-definition-6OY57UG3-C_c8ByQ6.js → mindmap-definition-6OY57UG3-P0G1aSZ_.js} +2 -2
- package/dist/assets/assets/{packet-JDAUHWVQ-C-Ps6c2s.js → packet-JDAUHWVQ-BRYh19T9.js} +1 -1
- package/dist/assets/assets/{pegDiagram-ECIUJNBX-CNhMkbUI.js → pegDiagram-ECIUJNBX-DVXvDw5m.js} +2 -2
- package/dist/assets/assets/{pie-XZMESJXO-jFydTDjw.js → pie-XZMESJXO-C4zblXYs.js} +1 -1
- package/dist/assets/assets/{pieDiagram-GNMPY74T-DyAweTTK.js → pieDiagram-GNMPY74T-DQZMSxzU.js} +2 -2
- package/dist/assets/assets/{quadrantDiagram-D57K4MC3-CpeUWsIC.js → quadrantDiagram-D57K4MC3-CoJW9FbN.js} +2 -2
- package/dist/assets/assets/{radar-ABXABTNO-BQhjKvm_.js → radar-ABXABTNO-C1hflkM-.js} +1 -1
- package/dist/assets/assets/{railroad-I3PHUGI6-DmgVReJK.js → railroad-I3PHUGI6-BWfPWtIx.js} +1 -1
- package/dist/assets/assets/{railroad-abnf-LNEFI6M7-hQwf7-vA.js → railroad-abnf-LNEFI6M7-ZD-V0lbr.js} +1 -1
- package/dist/assets/assets/{railroad-ebnf-DWYD2UWJ-Df0WfgBW.js → railroad-ebnf-DWYD2UWJ-101vSltK.js} +1 -1
- package/dist/assets/assets/{railroad-peg-JR7BVNR7-FK5z3NUf.js → railroad-peg-JR7BVNR7-C2qdCoeJ.js} +1 -1
- package/dist/assets/assets/{railroadDiagram-Y72NRBL7-ao88-Bqd.js → railroadDiagram-Y72NRBL7-CVB1kO7b.js} +2 -2
- package/dist/assets/assets/{requirementDiagram-EQYSW5RA-DiiAiSSX.js → requirementDiagram-EQYSW5RA-D2U3nwPk.js} +2 -2
- package/dist/assets/assets/{sankeyDiagram-SY24JHO5-neUiGk6Z.js → sankeyDiagram-SY24JHO5-CKjkT8B_.js} +2 -2
- package/dist/assets/assets/{sequenceDiagram-BLEHNHQU-Dz9a8HiX.js → sequenceDiagram-BLEHNHQU-CwVqG2fG.js} +2 -2
- package/dist/assets/assets/{src-DbaatYrp.js → src-bIf72vcz.js} +2 -2
- package/dist/assets/assets/{stateDiagram-v2-A6IESKWZ-BYMoZi6A.js → stateDiagram-v2-A6IESKWZ-97EIvkg9.js} +2 -2
- package/dist/assets/assets/{swimlanes-B3ENRKFQ-OhhoPNB8.js → swimlanes-B3ENRKFQ-D9egyUg3.js} +2 -2
- package/dist/assets/assets/swimlanesDiagram-AYQRV4AK-BkS3IR0c.js +9 -0
- package/dist/assets/assets/{timeline-definition-JXYKGLGB-CqEs4vEE.js → timeline-definition-JXYKGLGB-CbG0LH-D.js} +2 -2
- package/dist/assets/assets/{treeView-D4JQ5SDB-DakBMu7K.js → treeView-D4JQ5SDB-COfpvikT.js} +1 -1
- package/dist/assets/assets/{treemap-SAJKECNS-BUQcC9j7.js → treemap-SAJKECNS-CU-jFNpR.js} +1 -1
- package/dist/assets/assets/{usecaseDiagram-WPOLBNNX-B9pznud8.js → usecaseDiagram-WPOLBNNX-BGnYi9SF.js} +2 -2
- package/dist/assets/assets/{vennDiagram-Q3Y3IDCW-CMiHQhn3.js → vennDiagram-Q3Y3IDCW-Cb4zd6ET.js} +2 -2
- package/dist/assets/assets/{wardley-7MLQ67FV-DbtOXCdW.js → wardley-7MLQ67FV-ULAC2YGd.js} +1 -1
- package/dist/assets/assets/{wardleyDiagram-IVAIDKWA-W_3IZsct.js → wardleyDiagram-IVAIDKWA-Bi-y7zjP.js} +2 -2
- package/dist/assets/assets/{webpack-Ce7WdZJ7.js → webpack-eZcyXM6S.js} +2 -2
- package/dist/assets/assets/{xychartDiagram-4URNHDU4-BHWh82f5.js → xychartDiagram-4URNHDU4-BvTZJqeU.js} +2 -2
- package/dist/assets/bundle-asset-policy.json +1 -1
- package/dist/assets/index.html +2 -2
- package/dist/assets/plugins/assets/base-Bz0oeehA.css +2 -0
- package/dist/assets/plugins/chunks/po-web-runtime-oroB3Znq.js +1 -0
- package/dist/assets/plugins/compositions.json +1 -1
- package/dist/assets/plugins/slots/approval.72ae703a-DFWTk7Ap.js +2 -0
- package/dist/assets/plugins/slots/artifacts.77a5ce89--B-D-lue.js +1 -0
- package/dist/assets/plugins/slots/author.1c902d5c--QQ4lLeg.js +93 -0
- package/dist/assets/plugins/slots/{autocompact.f08b6833-CcvIN-cI.js → autocompact.f08b6833-BZ-Hd0ei.js} +1 -1
- package/dist/assets/plugins/slots/browse.a8452a8d-DekLuc-Z.js +1 -0
- package/dist/assets/plugins/slots/{builtin-tools.abc3edcc-kbo97l14.js → builtin-tools.abc3edcc-zeBI1cKp.js} +3 -3
- package/dist/assets/plugins/slots/codemode.c68822dc-HLrDhndJ.js +11 -0
- package/dist/assets/plugins/slots/domain.d3fc60b5-Dwn3GboM.js +1 -0
- package/dist/assets/plugins/slots/{edit.2aa43041-D5UaJjPf.js → edit.2aa43041-CddVpEel.js} +3 -3
- package/dist/assets/plugins/slots/files.c1e584ee-DxOpzqm3.js +2 -0
- package/dist/assets/plugins/slots/goal.b1d8b03b-C9tmOreI.js +1 -0
- package/dist/assets/plugins/slots/grep.b067b8cb-C4OjbSn9.js +1 -0
- package/dist/assets/plugins/slots/help.3b3e56cb-CcgpN98Q.js +3 -0
- package/dist/assets/plugins/slots/log.24faf8a0-BtnnodkX.js +4 -0
- package/dist/assets/plugins/slots/mcp.a6805ffa-DrBGkASK.js +109 -0
- package/dist/assets/plugins/slots/plan.19d1704d-C3Tml2Sz.js +3 -0
- package/dist/assets/plugins/slots/profile.1b4aeee4-1K7Wt9AD.js +1 -0
- package/dist/assets/plugins/slots/{prompts.a5509377-C4F2-Qgt.js → prompts.a5509377-h93o8dcF.js} +2 -2
- package/dist/assets/plugins/slots/read.a43eeb4a-DNoCGY1k.js +1 -0
- package/dist/assets/plugins/slots/runner.03b699da-DGs8HywA.js +8 -0
- package/dist/assets/plugins/slots/sessions.dc7ce5f8-CwbzOt92.js +1 -0
- package/dist/assets/plugins/slots/{skill.2b6ba429-DjLYO2JJ.js → skill.2b6ba429-6Lp0cyos.js} +2 -2
- package/dist/assets/plugins/slots/subagents.9adbe0d5-tX_I8uwl.js +7 -0
- package/dist/assets/plugins/slots/vault.593b32bd-dkDWzchJ.js +1 -0
- package/dist/assets/plugins/slots/voice.376a066c-Clktk2zw.js +1 -0
- package/dist/assets/pwa/sw.js +1 -1
- package/dist/{atomicJson-DrC-epPP.js → atomicJson-BMo59M38.js} +2 -2
- package/dist/{backgroundWork-kp5zsIjB.js → backgroundWork-DCAXx7Rj.js} +1 -1
- package/dist/{codemode-CMQDx_2g.js → codemode-BGg_bdyR.js} +1 -1
- package/dist/{contracts-phZeMu99.js → contracts-CeDnw9WN.js} +1 -1
- package/dist/{contracts-Ct7Asx5e.js → contracts-SLVZxN23.js} +1 -1
- package/dist/{edge-3Q0MFJqU.js → edge-BbnHwvoB.js} +3 -3
- package/dist/{exports-CeuQ6zVs.js → exports-B1xOpEc-.js} +2 -2
- package/dist/{exports-N4Sgx8D8.js → exports-CgYBL1bW.js} +10 -10
- package/dist/{exports-CT2m1hfW.js → exports-dzvew8OY.js} +5 -5
- package/dist/{extensionFile-cZqE34wQ.js → extensionFile-H7Bjt9rF.js} +1 -1
- package/dist/{harnessState-DpTsSvCf.js → harnessState-CzTo3NWb.js} +3 -3
- package/dist/{harnessStore-CsH84KnX.js → harnessStore-HgDpAK-Y.js} +4 -4
- package/dist/help-CavvEZPE.js +1 -0
- package/dist/{help-CTQ4Iuwc.js → help-CdXCQR-p.js} +1 -1
- package/dist/{http-EkNcRSQW.js → http-D_AAaFOy.js} +1 -1
- package/dist/{hubChannel-V_-EcQjy.js → hubChannel-DOTAJmh-.js} +1 -1
- package/dist/{hubRevisions-BoprxSZS.js → hubRevisions-CopbJuaH.js} +1 -1
- package/dist/{index.edge-Bl7nvU3X.js → index.edge-CDBGyAxt.js} +1 -1
- package/dist/{index.edge-Dh02ako6.js → index.edge-CLT9TXWK.js} +2 -2
- package/dist/{index.edge-Tamu9-44.js → index.edge-CWx_JOvW.js} +1 -1
- package/dist/{layeredConfig-D-AcYg0u.js → layeredConfig-BvV_w_m2.js} +4 -4
- package/dist/majorModes-CNeGE-W8.js +1 -0
- package/dist/{majorModes-Dq9XzW5S.js → majorModes-p6P4xD2z.js} +3 -3
- package/dist/{mcpProjection-DCRAsiJN.js → mcpProjection-BK-vdY56.js} +1 -1
- package/dist/{narration-C4VxmD4A.js → narration-DIrslirB.js} +2 -2
- package/dist/{piConfig-QCdlPKTG.js → piConfig-D5evFOm2.js} +4 -4
- package/dist/piSettings-BFxJzcgF.js +1 -0
- package/dist/{platform-DtbP3Ozb.js → platform-CtU1y037.js} +1 -1
- package/dist/{pluginProtocol-DBGE-DhT.js → pluginProtocol-OfEeF1XB.js} +1 -1
- package/dist/{protocol-D-buy09E.js → protocol-DirvkM0v.js} +1 -1
- package/dist/{server-BTPYfnRp.js → server-B5kTx-CV.js} +6 -6
- package/dist/{server-CcdS8ycQ.js → server-BArlvPpk.js} +3 -3
- package/dist/{server-CzfV80t4.js → server-BVl2a_ZP.js} +4 -4
- package/dist/{server-CMLaa6y2.js → server-BahQu59l.js} +12 -12
- package/dist/{server-WaZRb8HP.js → server-BeQLpTvF.js} +9 -9
- package/dist/{server-BIGUp0rb.js → server-Beu4-0kB.js} +6 -6
- package/dist/{server-JVCySbF0.js → server-BgTNradt.js} +8 -8
- package/dist/{server-CwUfn-tl.js → server-Bn6iYrFZ.js} +6 -6
- package/dist/{server-C-JrkKGZ.js → server-CBuDowok.js} +7 -7
- package/dist/{server-DeyaJkPQ.js → server-CKudOGCM.js} +6 -6
- package/dist/{server-Bth7Oagt.js → server-CMNfxYhY.js} +10 -10
- package/dist/{server-D1_VHOlO.js → server-CjdOcJNc.js} +3 -3
- package/dist/{server-jrEEBrC1.js → server-CoNI7Dae.js} +4 -4
- package/dist/{server-D2BDCk5a.js → server-CrRlurQ-.js} +5 -5
- package/dist/{server-D-QTb6qG.js → server-D0Pm5Cv2.js} +128 -15
- package/dist/{server-CfEZmCtW.js → server-DGLYoLHo.js} +3 -3
- package/dist/{server-BharWcvh.js → server-DNzsSgHD.js} +8 -8
- package/dist/{server-CIo-A8zy.js → server-DeR8jImg.js} +2 -2
- package/dist/{server--cZGEAoH.js → server-DelJO3ld.js} +9 -9
- package/dist/{server-XwO2VAnu.js → server-DgVadu7t.js} +9 -9
- package/dist/{server--CdibnNt.js → server-DiJBt90_.js} +11 -11
- package/dist/{server-x3aTn78r.js → server-Dqw1_tvL.js} +6 -6
- package/dist/{server-A4WCuCT-.js → server-DugpZ3mm.js} +4 -4
- package/dist/{server-Bqt2UjQg.js → server-Dwhi3TsC.js} +7 -7
- package/dist/{server-DxYTwMqo.js → server-DwkmvgKM.js} +8 -8
- package/dist/{server-DkWxFC_D.js → server-En-VI4hy.js} +10 -10
- package/dist/{server-I4-mBWMa.js → server-M4-DDDOZ.js} +3 -3
- package/dist/{server-BY0LIiNk.js → server-OCmkZppg.js} +11 -11
- package/dist/{server-BcgRa4Q0.js → server-YVf7pXLX.js} +10 -10
- package/dist/{server-CjV0vkPr.js → server-gs5DpTRC.js} +5 -5
- package/dist/{serverPlugin-CEydHviM.js → serverPlugin-S99Dzxlv.js} +1 -1
- package/dist/{sessionConfig-DyMwbaKl.js → sessionConfig-DHQgWLKi.js} +10 -10
- package/dist/{type-DI_LQi4d.js → type-CFxy2Td1.js} +7 -7
- package/dist/{validation-DWBfnB_z.js → validation-DsS1zGbs.js} +2 -2
- package/dist/{vaultSettings-DUzyCtsh.js → vaultSettings-ByX7CWjt.js} +1 -1
- package/dist/{voiceTools-jaQHXgf2.js → voiceTools-ttmxBia8.js} +1 -1
- package/dist/web-BqagDnwS.js +3 -0
- package/dist/worker.js +109 -92
- package/dist/{workflow-D_3T3cLT.js → workflow-DJjGTfkb.js} +1 -1
- package/package.json +39 -39
- package/dist/artifactFiles-BN5s3zEy.js +0 -1
- package/dist/assets/assets/channel-BXPOexdr.js +0 -2
- package/dist/assets/assets/chunk-XXDRQBXY-BMOAJUmX.js +0 -2
- package/dist/assets/assets/flowDiagram-IUGLLWBU-DzQHP0tv.js +0 -1
- package/dist/assets/assets/index-CEKtVU8R.js +0 -200
- package/dist/assets/assets/index-CcUcRF1S.css +0 -1
- package/dist/assets/assets/swimlanesDiagram-AYQRV4AK-66uTivDy.js +0 -9
- package/dist/assets/plugins/assets/base-LmdY6uBA.css +0 -2
- package/dist/assets/plugins/chunks/po-web-runtime-DtS_FP_f.js +0 -1
- package/dist/assets/plugins/slots/approval.72ae703a-m-Ra7Ebe.js +0 -2
- package/dist/assets/plugins/slots/artifacts.77a5ce89-DTv8TGH0.js +0 -1
- package/dist/assets/plugins/slots/author.1c902d5c-COLvE24q.js +0 -93
- package/dist/assets/plugins/slots/browse.a8452a8d-BgK_ibjS.js +0 -1
- package/dist/assets/plugins/slots/codemode.c68822dc-CXHWhJc8.js +0 -11
- package/dist/assets/plugins/slots/domain.d3fc60b5-CvZmPWdh.js +0 -1
- package/dist/assets/plugins/slots/files.c1e584ee-COYaael1.js +0 -2
- package/dist/assets/plugins/slots/goal.b1d8b03b-nmfrCrdh.js +0 -1
- package/dist/assets/plugins/slots/grep.b067b8cb-osJU0D9d.js +0 -1
- package/dist/assets/plugins/slots/help.3b3e56cb-BZU2hmYF.js +0 -3
- package/dist/assets/plugins/slots/log.24faf8a0-Bi7himlR.js +0 -4
- package/dist/assets/plugins/slots/mcp.a6805ffa-aEn779DD.js +0 -109
- package/dist/assets/plugins/slots/plan.19d1704d-B8M9sD_u.js +0 -3
- package/dist/assets/plugins/slots/profile.1b4aeee4-C38rbDGj.js +0 -1
- package/dist/assets/plugins/slots/read.a43eeb4a-Bh5_twoW.js +0 -1
- package/dist/assets/plugins/slots/runner.03b699da-B4S52R79.js +0 -8
- package/dist/assets/plugins/slots/sessions.dc7ce5f8-Dr4py-zv.js +0 -1
- package/dist/assets/plugins/slots/subagents.9adbe0d5-Dew0ZskW.js +0 -7
- package/dist/assets/plugins/slots/vault.593b32bd-C0rZL_dc.js +0 -1
- package/dist/assets/plugins/slots/voice.376a066c-DonnEXWO.js +0 -1
- package/dist/help-BbA9PK7A.js +0 -1
- package/dist/majorModes-ByAY-ggS.js +0 -1
- package/dist/piSettings-DJJkq9sS.js +0 -1
- package/dist/web-B0gkiQN9.js +0 -3
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { D as Service, T as composeServerProviderOverrides, t as defineServerPlugin } from "./serverPlugin-
|
|
2
|
-
import "./platform-
|
|
1
|
+
import { D as Service, T as composeServerProviderOverrides, t as defineServerPlugin } from "./serverPlugin-S99Dzxlv.js";
|
|
2
|
+
import "./platform-CtU1y037.js";
|
|
3
3
|
import { r as readPoFileAccess } from "./fileAccess-bFgmsyx0.js";
|
|
4
|
-
import { a as defineHook, c as defineRoot, l as defineRoute, n as composeRootInjects, r as defineChannel, t as composeRootHooks } from "./extensionFile-
|
|
5
|
-
import { a as readArtifactBytes, c as ArtifactAccessError, d as ARTIFACTS_SERVICE, f as ARTIFACT_REFRESH_MS, h as MAX_PREVIEW_BYTES, i as openArtifact, l as artifactRoot, m as MAX_CONTENT_BYTES, n as listArtifactSessions, r as listArtifacts, t as ensureArtifactRoot } from "./index.edge-
|
|
4
|
+
import { a as defineHook, c as defineRoot, l as defineRoute, n as composeRootInjects, r as defineChannel, t as composeRootHooks } from "./extensionFile-H7Bjt9rF.js";
|
|
5
|
+
import { a as readArtifactBytes, c as ArtifactAccessError, d as ARTIFACTS_SERVICE, f as ARTIFACT_REFRESH_MS, h as MAX_PREVIEW_BYTES, i as openArtifact, l as artifactRoot, m as MAX_CONTENT_BYTES, n as listArtifactSessions, r as listArtifacts, t as ensureArtifactRoot } from "./index.edge-CLT9TXWK.js";
|
|
6
6
|
import { t as Hono } from "./dist-B-vqs6tA.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import { clearTimeout, setTimeout } from "node:timers";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { $t as requirePoSqlite, Kt as PO_SQLITE_SERVICE, Lt as BACKGROUND_CONTEXT, Qt as requirePoFs, T as composeServerProviderOverrides, Wt as PO_FS_SERVICE, ct as getOrThrow, en as PO_SERVER_SCOPE_SERVICE, it as nodeHost, rn as requirePoServerScope, t as defineServerPlugin, tt as poHomeDirectory } from "./serverPlugin-
|
|
2
|
-
import "./platform-
|
|
3
|
-
import "./piSettings-
|
|
4
|
-
import { c as defineRoot, n as composeRootInjects, t as composeRootHooks } from "./extensionFile-
|
|
5
|
-
import { i as PO_DB_PREFIX_PATTERN, r as PO_DB_FILE, t as PO_DB_CONTRACT } from "./contracts-
|
|
1
|
+
import { $t as requirePoSqlite, Kt as PO_SQLITE_SERVICE, Lt as BACKGROUND_CONTEXT, Qt as requirePoFs, T as composeServerProviderOverrides, Wt as PO_FS_SERVICE, ct as getOrThrow, en as PO_SERVER_SCOPE_SERVICE, it as nodeHost, rn as requirePoServerScope, t as defineServerPlugin, tt as poHomeDirectory } from "./serverPlugin-S99Dzxlv.js";
|
|
2
|
+
import "./platform-CtU1y037.js";
|
|
3
|
+
import "./piSettings-BFxJzcgF.js";
|
|
4
|
+
import { c as defineRoot, n as composeRootInjects, t as composeRootHooks } from "./extensionFile-H7Bjt9rF.js";
|
|
5
|
+
import { i as PO_DB_PREFIX_PATTERN, r as PO_DB_FILE, t as PO_DB_CONTRACT } from "./contracts-SLVZxN23.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
//#region ../../../node_modules/.pnpm/@earendil-works+chord@1.5.1_esbuild@0.28.2_react@19.3.0_ws@8.22.0/node_modules/@earendil-works/chord/dist/sqlite/schema.js
|
|
8
8
|
/** Validate a prefix before using it as part of a SQLite identifier. */
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Gt as PO_SHELL_SERVICE, Ht as PO_BROWSER_SERVICE, J as _Object_, Lt as BACKGROUND_CONTEXT, M as Check$1, N as Errors, O as PO_CONFIG_SERVICE, T as composeServerProviderOverrides, U as Integer, Xt as readPoIsolate, Y as Optional, Yt as readPoFs, Z as PO_SESSION_FILES_SERVICE, Zt as readPoNpm, _ as invalidImageReason, ct as getOrThrow, en as PO_SERVER_SCOPE_SERVICE, j as Check, qt as readPoBrowser, rn as requirePoServerScope, t as defineServerPlugin, tn as defineServiceContract, x as readPoHeadlessHost, z as String$1, zt as withAbortSignal } from "./serverPlugin-
|
|
2
|
-
import "./platform-
|
|
3
|
-
import { n as readPackageConfigurations, t as readMajorModesConfig } from "./majorModes-
|
|
4
|
-
import "./exports-
|
|
5
|
-
import { n as readPackageResource, t as packageResourcePath } from "./index.edge-
|
|
6
|
-
import { i as isUnattended, n as gateApproval, o as PO_APPROVAL_SERVICE, s as readPoApproval, t as ApprovalPendingError } from "./approval-
|
|
7
|
-
import { a as PO_BACKGROUND_WORK_SERVICE, l as readPoBackgroundWorkService } from "./backgroundWork-
|
|
8
|
-
import { c as defineRoot, f as defineServerTool, n as composeRootInjects, s as defineResource, t as composeRootHooks } from "./extensionFile-
|
|
9
|
-
import { r as assertCodemodeNamespaceName, t as PO_CODEMODE_CONTRACT } from "./codemode-
|
|
10
|
-
import "./majorModes-
|
|
1
|
+
import { Gt as PO_SHELL_SERVICE, Ht as PO_BROWSER_SERVICE, J as _Object_, Lt as BACKGROUND_CONTEXT, M as Check$1, N as Errors, O as PO_CONFIG_SERVICE, T as composeServerProviderOverrides, U as Integer, Xt as readPoIsolate, Y as Optional, Yt as readPoFs, Z as PO_SESSION_FILES_SERVICE, Zt as readPoNpm, _ as invalidImageReason, ct as getOrThrow, en as PO_SERVER_SCOPE_SERVICE, j as Check, qt as readPoBrowser, rn as requirePoServerScope, t as defineServerPlugin, tn as defineServiceContract, x as readPoHeadlessHost, z as String$1, zt as withAbortSignal } from "./serverPlugin-S99Dzxlv.js";
|
|
2
|
+
import "./platform-CtU1y037.js";
|
|
3
|
+
import { n as readPackageConfigurations, t as readMajorModesConfig } from "./majorModes-p6P4xD2z.js";
|
|
4
|
+
import "./exports-CgYBL1bW.js";
|
|
5
|
+
import { n as readPackageResource, t as packageResourcePath } from "./index.edge-CDBGyAxt.js";
|
|
6
|
+
import { i as isUnattended, n as gateApproval, o as PO_APPROVAL_SERVICE, s as readPoApproval, t as ApprovalPendingError } from "./approval-DSfCC4gB.js";
|
|
7
|
+
import { a as PO_BACKGROUND_WORK_SERVICE, l as readPoBackgroundWorkService } from "./backgroundWork-DCAXx7Rj.js";
|
|
8
|
+
import { c as defineRoot, d as defineServerCommand, f as defineServerTool, n as composeRootInjects, r as defineChannel, s as defineResource, t as composeRootHooks } from "./extensionFile-H7Bjt9rF.js";
|
|
9
|
+
import { r as assertCodemodeNamespaceName, t as PO_CODEMODE_CONTRACT } from "./codemode-BGg_bdyR.js";
|
|
10
|
+
import "./majorModes-CNeGE-W8.js";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region ../../../node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/meta/meta.mjs
|
|
@@ -1038,6 +1038,12 @@ const Meta = {
|
|
|
1038
1038
|
}
|
|
1039
1039
|
};
|
|
1040
1040
|
//#endregion
|
|
1041
|
+
//#region ../../default/po-codemode/src/constants/backgroundScripts.ts
|
|
1042
|
+
/** The hub channel frame carrying one session's running background scripts. */
|
|
1043
|
+
const CODEMODE_BACKGROUND_TYPE = "codemode_background";
|
|
1044
|
+
/** The slash command the page sends to stop one background script. */
|
|
1045
|
+
const CODEMODE_STOP_COMMAND = "background-scripts-stop";
|
|
1046
|
+
//#endregion
|
|
1041
1047
|
//#region ../../default/po-codemode/src/services/codemodeRegistry/index.ts
|
|
1042
1048
|
/** Dot-separated segments without whitespace, so names such as `my-server.create-issue` can be gated. */
|
|
1043
1049
|
const MEMBER_PATH = /^[^.\s]+(?:\.[^.\s]+)*$/u;
|
|
@@ -1325,9 +1331,14 @@ const MAX_LISTED_SCRIPTS = 20;
|
|
|
1325
1331
|
const MAX_IMAGES = 4;
|
|
1326
1332
|
const MAX_IMAGE_BYTES = 5242880;
|
|
1327
1333
|
const DEFAULT_IMAGE_MIME = "image/png";
|
|
1334
|
+
const MAX_SCRIPT_LABEL = 200;
|
|
1328
1335
|
const MEMBER_LINE = /^\s{2}(?:readonly\s+)?(\w+)\s*[(?:<]/u;
|
|
1329
1336
|
const GLOBALS_HELP = "Globals: console.log/info/warn/error, image(data, mimeType?) to return a screenshot, sleep(ms). Return a value with `return`.";
|
|
1330
1337
|
const SCRIPTS_HELP = "Every exec run is saved. Call a saved script with `await (await import(specifier))(args)`; inside it, `args` is the argument and its `return` is the result.";
|
|
1338
|
+
/** The script's first non-empty line, so two scripts can be told apart. */
|
|
1339
|
+
function scriptLabel(code) {
|
|
1340
|
+
return (code.split("\n").find((candidate) => candidate.trim() !== "") ?? "").trim().slice(0, MAX_SCRIPT_LABEL);
|
|
1341
|
+
}
|
|
1331
1342
|
function text(value, isError = false) {
|
|
1332
1343
|
return {
|
|
1333
1344
|
content: [{
|
|
@@ -1936,6 +1947,8 @@ function createCodemodeTools({ registry, isolate, scripts, npm, fs, signal: life
|
|
|
1936
1947
|
const job = {
|
|
1937
1948
|
id,
|
|
1938
1949
|
sessionId: execution.sessionId,
|
|
1950
|
+
label: scriptLabel(parameters.code),
|
|
1951
|
+
startedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
1939
1952
|
controller,
|
|
1940
1953
|
status: "running",
|
|
1941
1954
|
done: Promise.resolve()
|
|
@@ -2001,6 +2014,14 @@ function createCodemodeTools({ registry, isolate, scripts, npm, fs, signal: life
|
|
|
2001
2014
|
};
|
|
2002
2015
|
}
|
|
2003
2016
|
};
|
|
2017
|
+
/** One cancel for the agent's `exec_cancel` and the page's stop control; only the owning session may stop a job. */
|
|
2018
|
+
const cancel = (sessionId, id, reason) => {
|
|
2019
|
+
const job = jobs.get(id);
|
|
2020
|
+
if (job && job.sessionId !== sessionId) return "foreign";
|
|
2021
|
+
if (job?.status !== "running") return "finished";
|
|
2022
|
+
job.controller.abort(reason ? new Error(reason) : void 0);
|
|
2023
|
+
return "stopping";
|
|
2024
|
+
};
|
|
2004
2025
|
const execCancel = {
|
|
2005
2026
|
name: "exec_cancel",
|
|
2006
2027
|
label: "Cancel Exec",
|
|
@@ -2009,15 +2030,36 @@ function createCodemodeTools({ registry, isolate, scripts, npm, fs, signal: life
|
|
|
2009
2030
|
mainAgentOnly: true,
|
|
2010
2031
|
executionMode: "serial",
|
|
2011
2032
|
async execute(_toolCallId, parameters, _signal, _onUpdate, execution) {
|
|
2012
|
-
const
|
|
2013
|
-
if (
|
|
2014
|
-
if (job?.status === "running") job.controller.abort(parameters.reason ? new Error(parameters.reason) : void 0);
|
|
2033
|
+
const status = cancel(execution.sessionId, parameters.id, parameters.reason);
|
|
2034
|
+
if (status === "foreign") return text("Background exec belongs to another session.", true);
|
|
2015
2035
|
return text(JSON.stringify({
|
|
2016
2036
|
id: parameters.id,
|
|
2017
|
-
status
|
|
2037
|
+
status
|
|
2018
2038
|
}));
|
|
2019
2039
|
}
|
|
2020
2040
|
};
|
|
2041
|
+
const stopCommand = {
|
|
2042
|
+
name: CODEMODE_STOP_COMMAND,
|
|
2043
|
+
description: "Stop one background code-mode script in this session by its id.",
|
|
2044
|
+
async execute(args, context) {
|
|
2045
|
+
const id = args.trim();
|
|
2046
|
+
if (!id) throw new Error(`Usage: /${CODEMODE_STOP_COMMAND} <script-id>`);
|
|
2047
|
+
const status = cancel(context.sessionId, id, "Stopped by the person.");
|
|
2048
|
+
await context.client.notify(status === "stopping" ? {
|
|
2049
|
+
body: "Stopping the background script; it reports its own end.",
|
|
2050
|
+
level: "info"
|
|
2051
|
+
} : {
|
|
2052
|
+
body: `No running background script ${id} in this session.`,
|
|
2053
|
+
level: "warning"
|
|
2054
|
+
});
|
|
2055
|
+
}
|
|
2056
|
+
};
|
|
2057
|
+
const backgroundScripts = (sessionId) => [...jobs.values()].filter((job) => job.sessionId === sessionId).map(({ id, label, startedAt, status }) => ({
|
|
2058
|
+
id,
|
|
2059
|
+
label,
|
|
2060
|
+
startedAt,
|
|
2061
|
+
status
|
|
2062
|
+
}));
|
|
2021
2063
|
const runApproved = async (call, signal, sessionId) => {
|
|
2022
2064
|
const name = call.operation.name;
|
|
2023
2065
|
const [namespaceName, ...path] = name.split(".");
|
|
@@ -2061,6 +2103,8 @@ function createCodemodeTools({ registry, isolate, scripts, npm, fs, signal: life
|
|
|
2061
2103
|
execBackground,
|
|
2062
2104
|
execCancel,
|
|
2063
2105
|
backgroundWork,
|
|
2106
|
+
stopCommand,
|
|
2107
|
+
backgroundScripts,
|
|
2064
2108
|
runApproved,
|
|
2065
2109
|
async dispose() {
|
|
2066
2110
|
closing = true;
|
|
@@ -2570,6 +2614,10 @@ function createCodemodeSession({ context, agent, host, signal }) {
|
|
|
2570
2614
|
});
|
|
2571
2615
|
}
|
|
2572
2616
|
let background;
|
|
2617
|
+
const publishScripts = () => {
|
|
2618
|
+
if (!execution) return;
|
|
2619
|
+
host.context.directEvents?.publish(CODEMODE_BACKGROUND_TYPE, execution.sessionId, { scripts: tools.backgroundScripts(execution.sessionId) });
|
|
2620
|
+
};
|
|
2573
2621
|
const tools = createCodemodeTools({
|
|
2574
2622
|
registry,
|
|
2575
2623
|
isolate: () => readPoIsolate(context),
|
|
@@ -2577,7 +2625,10 @@ function createCodemodeSession({ context, agent, host, signal }) {
|
|
|
2577
2625
|
fs: () => readPoFs(context),
|
|
2578
2626
|
scripts,
|
|
2579
2627
|
signal,
|
|
2580
|
-
onBackgroundChange: () =>
|
|
2628
|
+
onBackgroundChange: () => {
|
|
2629
|
+
background?.update();
|
|
2630
|
+
publishScripts();
|
|
2631
|
+
},
|
|
2581
2632
|
approval: () => readPoApproval(context)
|
|
2582
2633
|
});
|
|
2583
2634
|
if (execution) context.inject([PO_APPROVAL_SERVICE], (scoped) => readPoApproval(scoped)?.registerExecutor("codemode", (call, signal) => tools.runApproved(call, signal, execution.sessionId)));
|
|
@@ -2611,6 +2662,54 @@ var root_server_default = defineRoot(root);
|
|
|
2611
2662
|
//#region ../../default/po-codemode/src/extensions/workspaces/sessions/(backend)/contract/codemode.server.ts
|
|
2612
2663
|
var codemode_server_default = defineServiceContract(PO_CODEMODE_CONTRACT.name, PO_CODEMODE_CONTRACT);
|
|
2613
2664
|
//#endregion
|
|
2665
|
+
//#region ../../default/po-codemode/src/services/backgroundScriptsChannel/index.ts
|
|
2666
|
+
function scriptsPayload(value) {
|
|
2667
|
+
return typeof value === "object" && value !== null && Array.isArray(value.scripts);
|
|
2668
|
+
}
|
|
2669
|
+
/** Relays each session's background-script snapshots, published on the direct event bus, to the page. */
|
|
2670
|
+
function createBackgroundScriptsChannel() {
|
|
2671
|
+
return {
|
|
2672
|
+
frameType: CODEMODE_BACKGROUND_TYPE,
|
|
2673
|
+
start(host) {
|
|
2674
|
+
const latest = /* @__PURE__ */ new Map();
|
|
2675
|
+
const subscriptions = /* @__PURE__ */ new Map();
|
|
2676
|
+
return {
|
|
2677
|
+
payloadFor(scope) {
|
|
2678
|
+
return latest.get(scope.sessionId);
|
|
2679
|
+
},
|
|
2680
|
+
sessionAdded(scope) {
|
|
2681
|
+
subscriptions.get(scope.sessionId)?.();
|
|
2682
|
+
latest.delete(scope.sessionId);
|
|
2683
|
+
const unsubscribe = host.directEvents.subscribe(CODEMODE_BACKGROUND_TYPE, scope.sessionId, (payload) => {
|
|
2684
|
+
if (!scriptsPayload(payload)) return;
|
|
2685
|
+
latest.set(scope.sessionId, payload);
|
|
2686
|
+
host.publish(scope.sessionId, payload);
|
|
2687
|
+
}, { replayLatest: true });
|
|
2688
|
+
subscriptions.set(scope.sessionId, unsubscribe);
|
|
2689
|
+
},
|
|
2690
|
+
sessionRemoved(sessionId) {
|
|
2691
|
+
subscriptions.get(sessionId)?.();
|
|
2692
|
+
subscriptions.delete(sessionId);
|
|
2693
|
+
latest.delete(sessionId);
|
|
2694
|
+
},
|
|
2695
|
+
close() {
|
|
2696
|
+
for (const unsubscribe of subscriptions.values()) unsubscribe();
|
|
2697
|
+
subscriptions.clear();
|
|
2698
|
+
latest.clear();
|
|
2699
|
+
}
|
|
2700
|
+
};
|
|
2701
|
+
}
|
|
2702
|
+
};
|
|
2703
|
+
}
|
|
2704
|
+
//#endregion
|
|
2705
|
+
//#region ../../default/po-codemode/src/extensions/(backend)/channel/codemodeBackground.server.ts
|
|
2706
|
+
var codemodeBackground_server_default = defineChannel(function codemodeBackgroundChannel() {
|
|
2707
|
+
return createBackgroundScriptsChannel();
|
|
2708
|
+
});
|
|
2709
|
+
//#endregion
|
|
2710
|
+
//#region ../../default/po-codemode/src/extensions/workspaces/sessions/(backend)/command/background-scripts-stop.server.ts
|
|
2711
|
+
var background_scripts_stop_server_default = defineServerCommand((context) => context.root.stopCommand);
|
|
2712
|
+
//#endregion
|
|
2614
2713
|
//#region ../../default/po-codemode/src/extensions/workspaces/sessions/(backend)/resource/codemode-how-to-llm.server.ts
|
|
2615
2714
|
var codemode_how_to_llm_server_default = defineResource({
|
|
2616
2715
|
name: "codemode-how-to-llm",
|
|
@@ -2665,6 +2764,8 @@ var exec_server_default = defineServerTool((context) => context.root.exec);
|
|
|
2665
2764
|
//#endregion
|
|
2666
2765
|
//#region ../../default/po-codemode/generated/server.ts
|
|
2667
2766
|
const at = (value, context) => typeof value === "function" ? value(context) : value;
|
|
2767
|
+
/* v8 ignore next -- generated normalization branch */
|
|
2768
|
+
const defined = (values) => values.filter((value) => value !== void 0);
|
|
2668
2769
|
const via = (identity, value) => value === void 0 ? void 0 : {
|
|
2669
2770
|
...identity,
|
|
2670
2771
|
...value
|
|
@@ -2674,6 +2775,12 @@ const serverPlugin = defineServerPlugin({
|
|
|
2674
2775
|
providerOverrides: composeServerProviderOverrides(root_server_default),
|
|
2675
2776
|
provides: { session: [codemode_server_default] },
|
|
2676
2777
|
injects: composeRootInjects({ session: [root_server_default] }),
|
|
2778
|
+
host: (context) => ({ get channels() {
|
|
2779
|
+
return [() => via({ frameType: "codemode_background" }, at(codemodeBackground_server_default, context))];
|
|
2780
|
+
} }),
|
|
2781
|
+
workspace: (context) => ({ get channels() {
|
|
2782
|
+
return defined([context.hosted("host") ? void 0 : () => via({ frameType: "codemode_background" }, at(codemodeBackground_server_default, context))]);
|
|
2783
|
+
} }),
|
|
2677
2784
|
session: async (context) => {
|
|
2678
2785
|
const scopeSession = await context.scopeRoot("session", root_server_default, context);
|
|
2679
2786
|
const contextSession = {
|
|
@@ -2682,6 +2789,12 @@ const serverPlugin = defineServerPlugin({
|
|
|
2682
2789
|
};
|
|
2683
2790
|
return {
|
|
2684
2791
|
...composeRootHooks(scopeSession),
|
|
2792
|
+
get channels() {
|
|
2793
|
+
return defined([context.hosted("host") ? void 0 : () => via({ frameType: "codemode_background" }, at(codemodeBackground_server_default, context))]);
|
|
2794
|
+
},
|
|
2795
|
+
get commands() {
|
|
2796
|
+
return [via({ name: "background-scripts-stop" }, at(background_scripts_stop_server_default, contextSession))];
|
|
2797
|
+
},
|
|
2685
2798
|
get resources() {
|
|
2686
2799
|
return [
|
|
2687
2800
|
at(codemode_how_to_llm_server_default, contextSession),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as composeServerProviderOverrides, n as runCleanups, t as defineServerPlugin } from "./serverPlugin-
|
|
2
|
-
import { a as PO_BACKGROUND_WORK_SERVICE, c as holdsSettledSessionAfterRunnerDeadline, l as readPoBackgroundWorkService, n as BACKGROUND_WORK_HOLDING_PROVIDERS, s as holdsSettledSession } from "./backgroundWork-
|
|
3
|
-
import { a as defineHook, c as defineRoot, n as composeRootInjects, t as composeRootHooks } from "./extensionFile-
|
|
1
|
+
import { T as composeServerProviderOverrides, n as runCleanups, t as defineServerPlugin } from "./serverPlugin-S99Dzxlv.js";
|
|
2
|
+
import { a as PO_BACKGROUND_WORK_SERVICE, c as holdsSettledSessionAfterRunnerDeadline, l as readPoBackgroundWorkService, n as BACKGROUND_WORK_HOLDING_PROVIDERS, s as holdsSettledSession } from "./backgroundWork-DCAXx7Rj.js";
|
|
3
|
+
import { a as defineHook, c as defineRoot, n as composeRootInjects, t as composeRootHooks } from "./extensionFile-H7Bjt9rF.js";
|
|
4
4
|
//#region ../../foundations/po-autostop/src/constants/idlePolicy.ts
|
|
5
5
|
const DEFAULT_AUTO_STOP_DELAYS = {
|
|
6
6
|
cooldownMs: 5e3,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { i as __toESM, t as __commonJSMin } from "./rolldown-runtime-DbVrKiKs.js";
|
|
2
|
-
import { J as _Object_, Lt as BACKGROUND_CONTEXT, Qt as requirePoFs, T as composeServerProviderOverrides, Y as Optional, Yt as readPoFs, ct as getOrThrow, et as piAgentDirectory, n as runCleanups, rt as fileMutationRunner, t as defineServerPlugin, z as String$1 } from "./serverPlugin-
|
|
3
|
-
import { a as WORKFLOW_STEP_SESSION_PROVENANCE, c as PO_EDIT_PRESENCE_SERVICE } from "./hubChannel-
|
|
4
|
-
import { i as FileTooLargeError, o as readBoundedFile, s as readTextIfExists } from "./platform-
|
|
5
|
-
import { g as resolvePlanningPlansDirectory } from "./layeredConfig-
|
|
6
|
-
import "./piSettings-
|
|
7
|
-
import { u as readPoConfig } from "./harnessState-
|
|
8
|
-
import "./exports-
|
|
2
|
+
import { J as _Object_, Lt as BACKGROUND_CONTEXT, Qt as requirePoFs, T as composeServerProviderOverrides, Y as Optional, Yt as readPoFs, ct as getOrThrow, et as piAgentDirectory, n as runCleanups, rt as fileMutationRunner, t as defineServerPlugin, z as String$1 } from "./serverPlugin-S99Dzxlv.js";
|
|
3
|
+
import { a as WORKFLOW_STEP_SESSION_PROVENANCE, c as PO_EDIT_PRESENCE_SERVICE } from "./hubChannel-DOTAJmh-.js";
|
|
4
|
+
import { i as FileTooLargeError, o as readBoundedFile, s as readTextIfExists } from "./platform-CtU1y037.js";
|
|
5
|
+
import { g as resolvePlanningPlansDirectory } from "./layeredConfig-BvV_w_m2.js";
|
|
6
|
+
import "./piSettings-BFxJzcgF.js";
|
|
7
|
+
import { u as readPoConfig } from "./harnessState-CzTo3NWb.js";
|
|
8
|
+
import "./exports-CgYBL1bW.js";
|
|
9
9
|
import { r as PO_CHILD_SESSION_HOOK_REGISTRY_SERVICE, s as readPoChildSessionLabels } from "./childSession-Cf2-kH4O.js";
|
|
10
|
-
import { a as defineHook, c as defineRoot, l as defineRoute, n as composeRootInjects, r as defineChannel, t as composeRootHooks } from "./extensionFile-
|
|
10
|
+
import { a as defineHook, c as defineRoot, l as defineRoute, n as composeRootInjects, r as defineChannel, t as composeRootHooks } from "./extensionFile-H7Bjt9rF.js";
|
|
11
11
|
import { t as createPoTelemetry } from "./index.edge-D2RirEwK.js";
|
|
12
12
|
import { f as parseFileHeader, i as computeFileTag, n as resolveInputPath, o as displayPath, r as resolveReadInputPath } from "./index.edge-ClLTmPFz.js";
|
|
13
13
|
import { t as Hono } from "./dist-B-vqs6tA.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as defineServerPlugin } from "./serverPlugin-
|
|
1
|
+
import { t as defineServerPlugin } from "./serverPlugin-S99Dzxlv.js";
|
|
2
2
|
import { t as defineCommand } from "./pluginContributions-Be9EnCAW.js";
|
|
3
|
-
import { d as defineServerCommand } from "./extensionFile-
|
|
3
|
+
import { d as defineServerCommand } from "./extensionFile-H7Bjt9rF.js";
|
|
4
4
|
//#region ../../foundations/po-notification/src/extensions/workspaces/sessions/(backend)/_lib/notificationCommand.ts
|
|
5
5
|
const notificationCommand = defineCommand({
|
|
6
6
|
name: "notify",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Lt as BACKGROUND_CONTEXT, Qt as requirePoFs, ct as getOrThrow, et as piAgentDirectory, it as nodeHost, t as defineServerPlugin } from "./serverPlugin-
|
|
2
|
-
import "./platform-
|
|
1
|
+
import { Lt as BACKGROUND_CONTEXT, Qt as requirePoFs, ct as getOrThrow, et as piAgentDirectory, it as nodeHost, t as defineServerPlugin } from "./serverPlugin-S99Dzxlv.js";
|
|
2
|
+
import "./platform-CtU1y037.js";
|
|
3
3
|
import "./portableConfig-DgqvRK_1.js";
|
|
4
|
-
import "./piSettings-
|
|
5
|
-
import "./approvalPrompt-
|
|
6
|
-
import { n as defineApiRoutes, t as apiResponse } from "./hubRevisions-
|
|
7
|
-
import { n as readPackageResource } from "./index.edge-
|
|
8
|
-
import { t as PO_HELP_WHEN } from "./help-
|
|
9
|
-
import { d as defineServerCommand, l as defineRoute, s as defineResource } from "./extensionFile-
|
|
4
|
+
import "./piSettings-BFxJzcgF.js";
|
|
5
|
+
import "./approvalPrompt-BKYgk3bB.js";
|
|
6
|
+
import { n as defineApiRoutes, t as apiResponse } from "./hubRevisions-CopbJuaH.js";
|
|
7
|
+
import { n as readPackageResource } from "./index.edge-CDBGyAxt.js";
|
|
8
|
+
import { t as PO_HELP_WHEN } from "./help-CdXCQR-p.js";
|
|
9
|
+
import { d as defineServerCommand, l as defineRoute, s as defineResource } from "./extensionFile-H7Bjt9rF.js";
|
|
10
10
|
import "./browser-BWf8OMfl.js";
|
|
11
11
|
import { t as Hono } from "./dist-B-vqs6tA.js";
|
|
12
|
-
import "./help-
|
|
12
|
+
import "./help-CavvEZPE.js";
|
|
13
13
|
import path from "node:path";
|
|
14
14
|
//#region ../../default/po-prompt/src/constants/promptStore.ts
|
|
15
15
|
const PROMPTS_DIR = "prompts";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { $t as requirePoSqlite, E as defineServerMethod, J as _Object_, Kt as PO_SQLITE_SERVICE, Lt as BACKGROUND_CONTEXT, Qt as requirePoFs, T as composeServerProviderOverrides, Wt as PO_FS_SERVICE, en as PO_SERVER_SCOPE_SERVICE, rn as requirePoServerScope, t as defineServerPlugin, tn as defineServiceContract, tt as poHomeDirectory, z as String$1 } from "./serverPlugin-
|
|
2
|
-
import { n as PO_SESSION_ATTENTION_EVENT, u as poApiCallerFrom } from "./hubChannel-
|
|
3
|
-
import { A as createStartSessionTool, C as createSealedPeerChannels, D as detach, E as createSessionsNamespace, O as fields, S as authenticatedPeerPost, T as sessionPeerConfigPath, _ as parseSessionPeerEnvelope, a as namedSessionGroupId, b as readSessionPeerConfigAsync, c as PO_SESSION_PEERS_CONTRACT, d as requireSessionPeers, f as createSessionDirectory, g as parseRemoteSessionReference, h as ensurePrivateDirectory, i as createSessionGroupBridge, j as provideBackgroundWorkService, k as START_SESSION_TOOL_NAME, l as PO_SESSION_PEERS_SERVICE, m as createPeerReplayGuardAsync, n as PO_SESSION_GROUP_BRIDGE_CONTRACT, o as readSessionGroupBridge, p as createPeerCommunication, r as PO_SESSION_GROUP_BRIDGE_SERVICE, s as createPeerLink, t as PO_ROSTER_PEER_SERVICE, u as createSessionPeers, v as peerRequestHeaders, w as PEER_REPLAY_DATABASE_FILE, x as verifyPeerRequest, y as peerSessionReference } from "./type-
|
|
4
|
-
import "./platform-
|
|
5
|
-
import "./piSettings-
|
|
6
|
-
import { i as definePoPluginMethod } from "./pluginProtocol-
|
|
7
|
-
import { n as readPackageResource, t as packageResourcePath } from "./index.edge-
|
|
8
|
-
import { c as defineRoot, l as defineRoute, n as composeRootInjects, s as defineResource, t as composeRootHooks, u as defineRoutedContribution } from "./extensionFile-
|
|
9
|
-
import { i as readPoCodemode, n as PO_CODEMODE_SERVICE, r as assertCodemodeNamespaceName } from "./codemode-
|
|
1
|
+
import { $t as requirePoSqlite, E as defineServerMethod, J as _Object_, Kt as PO_SQLITE_SERVICE, Lt as BACKGROUND_CONTEXT, Qt as requirePoFs, T as composeServerProviderOverrides, Wt as PO_FS_SERVICE, en as PO_SERVER_SCOPE_SERVICE, rn as requirePoServerScope, t as defineServerPlugin, tn as defineServiceContract, tt as poHomeDirectory, z as String$1 } from "./serverPlugin-S99Dzxlv.js";
|
|
2
|
+
import { n as PO_SESSION_ATTENTION_EVENT, u as poApiCallerFrom } from "./hubChannel-DOTAJmh-.js";
|
|
3
|
+
import { A as createStartSessionTool, C as createSealedPeerChannels, D as detach, E as createSessionsNamespace, O as fields, S as authenticatedPeerPost, T as sessionPeerConfigPath, _ as parseSessionPeerEnvelope, a as namedSessionGroupId, b as readSessionPeerConfigAsync, c as PO_SESSION_PEERS_CONTRACT, d as requireSessionPeers, f as createSessionDirectory, g as parseRemoteSessionReference, h as ensurePrivateDirectory, i as createSessionGroupBridge, j as provideBackgroundWorkService, k as START_SESSION_TOOL_NAME, l as PO_SESSION_PEERS_SERVICE, m as createPeerReplayGuardAsync, n as PO_SESSION_GROUP_BRIDGE_CONTRACT, o as readSessionGroupBridge, p as createPeerCommunication, r as PO_SESSION_GROUP_BRIDGE_SERVICE, s as createPeerLink, t as PO_ROSTER_PEER_SERVICE, u as createSessionPeers, v as peerRequestHeaders, w as PEER_REPLAY_DATABASE_FILE, x as verifyPeerRequest, y as peerSessionReference } from "./type-CFxy2Td1.js";
|
|
4
|
+
import "./platform-CtU1y037.js";
|
|
5
|
+
import "./piSettings-BFxJzcgF.js";
|
|
6
|
+
import { i as definePoPluginMethod } from "./pluginProtocol-OfEeF1XB.js";
|
|
7
|
+
import { n as readPackageResource, t as packageResourcePath } from "./index.edge-CDBGyAxt.js";
|
|
8
|
+
import { c as defineRoot, l as defineRoute, n as composeRootInjects, s as defineResource, t as composeRootHooks, u as defineRoutedContribution } from "./extensionFile-H7Bjt9rF.js";
|
|
9
|
+
import { i as readPoCodemode, n as PO_CODEMODE_SERVICE, r as assertCodemodeNamespaceName } from "./codemode-BGg_bdyR.js";
|
|
10
10
|
import { n as readSessionOperations } from "./type-yokaDI_F.js";
|
|
11
11
|
import "./worker.js";
|
|
12
12
|
import path from "node:path";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { B as Number$1, E as defineServerMethod, H as Literal, I as Record, J as _Object_, Lt as BACKGROUND_CONTEXT, R as Union, T as composeServerProviderOverrides, X as _Array_, Y as Optional, Yt as readPoFs, ct as getOrThrow, q as Unknown, t as defineServerPlugin, z as String$1 } from "./serverPlugin-
|
|
2
|
-
import { i as FileTooLargeError, n as RootBoundReplaceError, o as readBoundedFile, r as replaceRootBoundFile } from "./platform-
|
|
3
|
-
import { n as defineApiRoutes, t as apiResponse } from "./hubRevisions-
|
|
4
|
-
import { i as definePoPluginMethod } from "./pluginProtocol-
|
|
5
|
-
import "./web-
|
|
1
|
+
import { B as Number$1, E as defineServerMethod, H as Literal, I as Record, J as _Object_, Lt as BACKGROUND_CONTEXT, R as Union, T as composeServerProviderOverrides, X as _Array_, Y as Optional, Yt as readPoFs, ct as getOrThrow, q as Unknown, t as defineServerPlugin, z as String$1 } from "./serverPlugin-S99Dzxlv.js";
|
|
2
|
+
import { i as FileTooLargeError, n as RootBoundReplaceError, o as readBoundedFile, r as replaceRootBoundFile } from "./platform-CtU1y037.js";
|
|
3
|
+
import { n as defineApiRoutes, t as apiResponse } from "./hubRevisions-CopbJuaH.js";
|
|
4
|
+
import { i as definePoPluginMethod } from "./pluginProtocol-OfEeF1XB.js";
|
|
5
|
+
import "./web-BqagDnwS.js";
|
|
6
6
|
import { n as defineTool, t as defineCommand } from "./pluginContributions-Be9EnCAW.js";
|
|
7
|
-
import { n as readPackageResource, t as packageResourcePath } from "./index.edge-
|
|
8
|
-
import { a as defineHook, c as defineRoot, i as defineCommand$1, l as defineRoute, n as composeRootInjects, o as defineMethod, p as defineTool$1, r as defineChannel, s as defineResource, t as composeRootHooks } from "./extensionFile-
|
|
9
|
-
import { i as readPoCodemode, n as PO_CODEMODE_SERVICE } from "./codemode-
|
|
7
|
+
import { n as readPackageResource, t as packageResourcePath } from "./index.edge-CDBGyAxt.js";
|
|
8
|
+
import { a as defineHook, c as defineRoot, i as defineCommand$1, l as defineRoute, n as composeRootInjects, o as defineMethod, p as defineTool$1, r as defineChannel, s as defineResource, t as composeRootHooks } from "./extensionFile-H7Bjt9rF.js";
|
|
9
|
+
import { i as readPoCodemode, n as PO_CODEMODE_SERVICE } from "./codemode-BGg_bdyR.js";
|
|
10
10
|
import "./worker.js";
|
|
11
|
-
import { c as ArtifactAccessError, l as artifactRoot, u as validateArtifactRead } from "./index.edge-
|
|
12
|
-
import "./artifactFiles-
|
|
11
|
+
import { c as ArtifactAccessError, l as artifactRoot, u as validateArtifactRead } from "./index.edge-CLT9TXWK.js";
|
|
12
|
+
import "./artifactFiles-BJK8g2Wq.js";
|
|
13
13
|
import { t as Hono } from "./dist-B-vqs6tA.js";
|
|
14
14
|
import { t as defineMinorMode } from "./modeDefinition-C3Zbrw48.js";
|
|
15
|
-
import { t as serverMinorModes } from "./exports-
|
|
15
|
+
import { t as serverMinorModes } from "./exports-B1xOpEc-.js";
|
|
16
16
|
import { createHash, randomUUID } from "node:crypto";
|
|
17
17
|
import path from "node:path";
|
|
18
18
|
//#region ../../minor/po-author/src/types/author.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { T as composeServerProviderOverrides, en as PO_SERVER_SCOPE_SERVICE, rn as requirePoServerScope, t as defineServerPlugin, tt as poHomeDirectory } from "./serverPlugin-
|
|
2
|
-
import "./piSettings-
|
|
3
|
-
import { a as VAULT_CHECK_PLAINTEXT, c as VAULT_INIT_LEASE, h as VAULT_META_ID, i as VAULT_CHECK_AAD, l as VAULT_KEYRING_ACCOUNT_PREFIX, m as VAULT_META_CHECK, n as PO_VAULT_ACCOUNT_SERVICE, o as VAULT_DB_PREFIX, s as VAULT_DIRECTORY, t as PO_VAULT_CONTRACT, u as VAULT_KEY_LOST_NOTICE } from "./contracts-
|
|
4
|
-
import { c as defineRoot, l as defineRoute, n as composeRootInjects, t as composeRootHooks } from "./extensionFile-
|
|
5
|
-
import { a as assertRevision, i as assertEntryName, n as VaultError, o as serializeValue, r as asVaultError, t as serveVaultSettings } from "./vaultSettings-
|
|
6
|
-
import { a as PO_DB_SERVICE, n as requirePoDb, t as PO_DB_CONTRACT } from "./contracts-
|
|
1
|
+
import { T as composeServerProviderOverrides, en as PO_SERVER_SCOPE_SERVICE, rn as requirePoServerScope, t as defineServerPlugin, tt as poHomeDirectory } from "./serverPlugin-S99Dzxlv.js";
|
|
2
|
+
import "./piSettings-BFxJzcgF.js";
|
|
3
|
+
import { a as VAULT_CHECK_PLAINTEXT, c as VAULT_INIT_LEASE, h as VAULT_META_ID, i as VAULT_CHECK_AAD, l as VAULT_KEYRING_ACCOUNT_PREFIX, m as VAULT_META_CHECK, n as PO_VAULT_ACCOUNT_SERVICE, o as VAULT_DB_PREFIX, s as VAULT_DIRECTORY, t as PO_VAULT_CONTRACT, u as VAULT_KEY_LOST_NOTICE } from "./contracts-CeDnw9WN.js";
|
|
4
|
+
import { c as defineRoot, l as defineRoute, n as composeRootInjects, t as composeRootHooks } from "./extensionFile-H7Bjt9rF.js";
|
|
5
|
+
import { a as assertRevision, i as assertEntryName, n as VaultError, o as serializeValue, r as asVaultError, t as serveVaultSettings } from "./vaultSettings-ByX7CWjt.js";
|
|
6
|
+
import { a as PO_DB_SERVICE, n as requirePoDb, t as PO_DB_CONTRACT } from "./contracts-SLVZxN23.js";
|
|
7
7
|
import { createCipheriv, createDecipheriv, randomBytes, randomUUID } from "node:crypto";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import { Buffer } from "node:buffer";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { J as _Object_, Lt as BACKGROUND_CONTEXT, Qt as requirePoFs, U as Integer, Wt as PO_FS_SERVICE, Y as Optional, t as defineServerPlugin, z as String, zt as withAbortSignal } from "./serverPlugin-
|
|
2
|
-
import { i as FileTooLargeError, o as readBoundedFile } from "./platform-
|
|
3
|
-
import { t as readPiImageSettings } from "./piConfig-
|
|
1
|
+
import { J as _Object_, Lt as BACKGROUND_CONTEXT, Qt as requirePoFs, U as Integer, Wt as PO_FS_SERVICE, Y as Optional, t as defineServerPlugin, z as String, zt as withAbortSignal } from "./serverPlugin-S99Dzxlv.js";
|
|
2
|
+
import { i as FileTooLargeError, o as readBoundedFile } from "./platform-CtU1y037.js";
|
|
3
|
+
import { t as readPiImageSettings } from "./piConfig-D5evFOm2.js";
|
|
4
4
|
import { n as formatDimensionNote, r as resizeImage } from "./index.edge-Ts1NG9b4.js";
|
|
5
|
-
import { f as defineServerTool } from "./extensionFile-
|
|
5
|
+
import { f as defineServerTool } from "./extensionFile-H7Bjt9rF.js";
|
|
6
6
|
import { a as decodeUtf8, c as formatFileHeader, i as computeFileTag, l as formatTaggedLine, o as displayPath, p as splitLines, r as resolveReadInputPath, t as isWritableFile } from "./index.edge-ClLTmPFz.js";
|
|
7
7
|
import { i as truncateLine, n as formatSize, r as truncateHead, t as DEFAULT_MAX_BYTES } from "./truncate-M3KbFyVj.js";
|
|
8
8
|
//#region ../../default/po-read/src/schemas/readTool.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Lt as BACKGROUND_CONTEXT, Qt as requirePoFs, T as composeServerProviderOverrides, t as defineServerPlugin, zt as withAbortSignal } from "./serverPlugin-
|
|
2
|
-
import "./platform-
|
|
3
|
-
import { w as readPoNotificationService } from "./layeredConfig-
|
|
4
|
-
import { n as providePoConfigContext, s as createSettingsApi, t as createNativePoConfigContext } from "./sessionConfig-
|
|
5
|
-
import { n as readPackageResource, t as packageResourcePath } from "./index.edge-
|
|
6
|
-
import { a as createPoMcpProjectionService, i as createDisabledPoMcpProjection, n as PO_MCP_PROJECTION_SERVICE, o as isPoMcpProjection } from "./mcpProjection-
|
|
7
|
-
import { c as defineRoot, n as composeRootInjects, s as defineResource, t as composeRootHooks, u as defineRoutedContribution } from "./extensionFile-
|
|
1
|
+
import { Lt as BACKGROUND_CONTEXT, Qt as requirePoFs, T as composeServerProviderOverrides, t as defineServerPlugin, zt as withAbortSignal } from "./serverPlugin-S99Dzxlv.js";
|
|
2
|
+
import "./platform-CtU1y037.js";
|
|
3
|
+
import { w as readPoNotificationService } from "./layeredConfig-BvV_w_m2.js";
|
|
4
|
+
import { n as providePoConfigContext, s as createSettingsApi, t as createNativePoConfigContext } from "./sessionConfig-DHQgWLKi.js";
|
|
5
|
+
import { n as readPackageResource, t as packageResourcePath } from "./index.edge-CDBGyAxt.js";
|
|
6
|
+
import { a as createPoMcpProjectionService, i as createDisabledPoMcpProjection, n as PO_MCP_PROJECTION_SERVICE, o as isPoMcpProjection } from "./mcpProjection-BK-vdY56.js";
|
|
7
|
+
import { c as defineRoot, n as composeRootInjects, s as defineResource, t as composeRootHooks, u as defineRoutedContribution } from "./extensionFile-H7Bjt9rF.js";
|
|
8
8
|
import "./worker.js";
|
|
9
9
|
import { t as createPoTelemetry } from "./index.edge-D2RirEwK.js";
|
|
10
10
|
//#region ../../core/po-core/src/schemas/readiness.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { $t as requirePoSqlite, E as defineServerMethod, G as Intersect, H as Literal, J as _Object_, Kt as PO_SQLITE_SERVICE, Lt as BACKGROUND_CONTEXT, Qt as requirePoFs, R as Union, T as composeServerProviderOverrides, U as Integer, V as Null, W as Boolean$1, Wt as PO_FS_SERVICE, X as _Array_, Y as Optional, en as PO_SERVER_SCOPE_SERVICE, j as Check, rn as requirePoServerScope, t as defineServerPlugin, tn as defineServiceContract, tt as poHomeDirectory, z as String$1 } from "./serverPlugin-
|
|
2
|
-
import "./platform-
|
|
3
|
-
import "./piSettings-
|
|
4
|
-
import { n as PO_APPROVAL_VOICE_EVENT, r as PoApprovalPromptSchema } from "./approvalPrompt-
|
|
5
|
-
import { i as definePoPluginMethod } from "./pluginProtocol-
|
|
6
|
-
import { a as PO_APPROVAL_CONTRACT } from "./approval-
|
|
7
|
-
import { s as jsonApiResponses, t as defineApiContract } from "./apiContracts-
|
|
8
|
-
import { c as defineRoot, f as defineServerTool, l as defineRoute, n as composeRootInjects, o as defineMethod, r as defineChannel, t as composeRootHooks } from "./extensionFile-
|
|
1
|
+
import { $t as requirePoSqlite, E as defineServerMethod, G as Intersect, H as Literal, J as _Object_, Kt as PO_SQLITE_SERVICE, Lt as BACKGROUND_CONTEXT, Qt as requirePoFs, R as Union, T as composeServerProviderOverrides, U as Integer, V as Null, W as Boolean$1, Wt as PO_FS_SERVICE, X as _Array_, Y as Optional, en as PO_SERVER_SCOPE_SERVICE, j as Check, rn as requirePoServerScope, t as defineServerPlugin, tn as defineServiceContract, tt as poHomeDirectory, z as String$1 } from "./serverPlugin-S99Dzxlv.js";
|
|
2
|
+
import "./platform-CtU1y037.js";
|
|
3
|
+
import "./piSettings-BFxJzcgF.js";
|
|
4
|
+
import { n as PO_APPROVAL_VOICE_EVENT, r as PoApprovalPromptSchema } from "./approvalPrompt-BKYgk3bB.js";
|
|
5
|
+
import { i as definePoPluginMethod } from "./pluginProtocol-OfEeF1XB.js";
|
|
6
|
+
import { a as PO_APPROVAL_CONTRACT } from "./approval-DSfCC4gB.js";
|
|
7
|
+
import { s as jsonApiResponses, t as defineApiContract } from "./apiContracts-BT1b_Bvo.js";
|
|
8
|
+
import { c as defineRoot, f as defineServerTool, l as defineRoute, n as composeRootInjects, o as defineMethod, r as defineChannel, t as composeRootHooks } from "./extensionFile-H7Bjt9rF.js";
|
|
9
9
|
import "./worker.js";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
//#region ../../foundations/po-approval/src/services/approvalRoot/type.ts
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { B as Number$1, H as Literal, I as Record, J as _Object_, K as Unsafe, R as Union, T as composeServerProviderOverrides, U as Integer, X as _Array_, Y as Optional, j as Check, nn as readPoServerScope, t as defineServerPlugin, z as String$1 } from "./serverPlugin-
|
|
2
|
-
import { n as defineApiRoutes, t as apiResponse } from "./hubRevisions-
|
|
3
|
-
import "./web-
|
|
1
|
+
import { B as Number$1, H as Literal, I as Record, J as _Object_, K as Unsafe, R as Union, T as composeServerProviderOverrides, U as Integer, X as _Array_, Y as Optional, j as Check, nn as readPoServerScope, t as defineServerPlugin, z as String$1 } from "./serverPlugin-S99Dzxlv.js";
|
|
2
|
+
import { n as defineApiRoutes, t as apiResponse } from "./hubRevisions-CopbJuaH.js";
|
|
3
|
+
import "./web-BqagDnwS.js";
|
|
4
4
|
import { n as defineTool } from "./pluginContributions-Be9EnCAW.js";
|
|
5
|
-
import { n as readPackageResource, t as packageResourcePath } from "./index.edge-
|
|
5
|
+
import { n as readPackageResource, t as packageResourcePath } from "./index.edge-CDBGyAxt.js";
|
|
6
6
|
import { o as readPoChildSessionHookRegistry } from "./childSession-Cf2-kH4O.js";
|
|
7
7
|
import { r as sanitizeTelemetryAttributes } from "./telemetry-CrTcxeA5.js";
|
|
8
|
-
import { t as PO_HELP_WHEN } from "./help-
|
|
9
|
-
import { a as readPoWorkflowContextService } from "./workflow-
|
|
8
|
+
import { t as PO_HELP_WHEN } from "./help-CdXCQR-p.js";
|
|
9
|
+
import { a as readPoWorkflowContextService } from "./workflow-DJjGTfkb.js";
|
|
10
10
|
import { A as string, I as toJSONSchema, S as literal, T as object, c as _enum, f as array, j as union, w as number } from "./schemas-BMBR99Q5.js";
|
|
11
11
|
import { n as datetime } from "./iso-BCXA5x1w.js";
|
|
12
|
-
import { i as PO_LOG_METRICS_CONTRACT, n as METRICS_ATTRIBUTE, t as queryHttp } from "./http-
|
|
13
|
-
import { a as defineHook, c as defineRoot, d as defineServerCommand, l as defineRoute, n as composeRootInjects, p as defineTool$1, s as defineResource, t as composeRootHooks } from "./extensionFile-
|
|
14
|
-
import { i as readPoCodemode, n as PO_CODEMODE_SERVICE } from "./codemode-
|
|
12
|
+
import { i as PO_LOG_METRICS_CONTRACT, n as METRICS_ATTRIBUTE, t as queryHttp } from "./http-D_AAaFOy.js";
|
|
13
|
+
import { a as defineHook, c as defineRoot, d as defineServerCommand, l as defineRoute, n as composeRootInjects, p as defineTool$1, s as defineResource, t as composeRootHooks } from "./extensionFile-H7Bjt9rF.js";
|
|
14
|
+
import { i as readPoCodemode, n as PO_CODEMODE_SERVICE } from "./codemode-BGg_bdyR.js";
|
|
15
15
|
import { t as createPoTelemetry } from "./index.edge-D2RirEwK.js";
|
|
16
16
|
import { t as Hono } from "./dist-B-vqs6tA.js";
|
|
17
|
-
import "./help-
|
|
17
|
+
import "./help-CavvEZPE.js";
|
|
18
18
|
//#region ../../core/po-core/src/services/json/core.ts
|
|
19
19
|
function isRecord$1(value) {
|
|
20
20
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { J as _Object_, Lt as BACKGROUND_CONTEXT, Qt as requirePoFs, R as Union, V as Null, Wt as PO_FS_SERVICE, X as _Array_, Y as Optional, ct as getOrThrow, t as defineServerPlugin, z as String$1, zt as withAbortSignal } from "./serverPlugin-
|
|
2
|
-
import { i as FileTooLargeError, o as readBoundedFile } from "./platform-
|
|
3
|
-
import { f as defineServerTool } from "./extensionFile-
|
|
1
|
+
import { J as _Object_, Lt as BACKGROUND_CONTEXT, Qt as requirePoFs, R as Union, V as Null, Wt as PO_FS_SERVICE, X as _Array_, Y as Optional, ct as getOrThrow, t as defineServerPlugin, z as String$1, zt as withAbortSignal } from "./serverPlugin-S99Dzxlv.js";
|
|
2
|
+
import { i as FileTooLargeError, o as readBoundedFile } from "./platform-CtU1y037.js";
|
|
3
|
+
import { f as defineServerTool } from "./extensionFile-H7Bjt9rF.js";
|
|
4
4
|
import { a as decodeUtf8, d as normalizeToLf, i as computeFileTag, m as stripBom, n as resolveInputPath, o as displayPath, s as applyHashlineEdits, u as normalizeFileTag } from "./index.edge-ClLTmPFz.js";
|
|
5
5
|
import { posix } from "node:path";
|
|
6
6
|
//#region ../../default/po-edit/src/schemas/editTool.ts
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { t as __commonJSMin } from "./rolldown-runtime-DbVrKiKs.js";
|
|
2
|
-
import { A as Errors, E as defineServerMethod, H as Literal, J as _Object_, O as PO_CONFIG_SERVICE, R as Union, T as composeServerProviderOverrides, U as Integer, W as Boolean$1, Y as Optional, j as Check, n as runCleanups, t as defineServerPlugin, tn as defineServiceContract, z as String$1 } from "./serverPlugin-
|
|
3
|
-
import "./hubChannel-
|
|
4
|
-
import { g as parseRemoteSessionReference } from "./type-
|
|
5
|
-
import { D as normalizeNarrationText, E as createNarrationRequest, T as MAX_NARRATION_TEXT_CHARACTERS, b as resolveVoiceConfig } from "./layeredConfig-
|
|
6
|
-
import { i as definePoPluginMethod } from "./pluginProtocol-
|
|
7
|
-
import "./exports-
|
|
8
|
-
import { c as encodePoClientMetadata, d as poClientMetadataFrom, l as isPoClientToken, o as ManualTranscriptionError, s as PO_CLIENT_METADATA_HEADER, t as MANUAL_TRANSCRIPTION_DURATION_HEADER } from "./narration-
|
|
9
|
-
import { n as readPackageResource } from "./index.edge-
|
|
10
|
-
import { a as defineHook, c as defineRoot, f as defineServerTool, l as defineRoute, n as composeRootInjects, o as defineMethod, r as defineChannel, s as defineResource, t as composeRootHooks, u as defineRoutedContribution } from "./extensionFile-
|
|
2
|
+
import { A as Errors, E as defineServerMethod, H as Literal, J as _Object_, O as PO_CONFIG_SERVICE, R as Union, T as composeServerProviderOverrides, U as Integer, W as Boolean$1, Y as Optional, j as Check, n as runCleanups, t as defineServerPlugin, tn as defineServiceContract, z as String$1 } from "./serverPlugin-S99Dzxlv.js";
|
|
3
|
+
import "./hubChannel-DOTAJmh-.js";
|
|
4
|
+
import { g as parseRemoteSessionReference } from "./type-CFxy2Td1.js";
|
|
5
|
+
import { D as normalizeNarrationText, E as createNarrationRequest, T as MAX_NARRATION_TEXT_CHARACTERS, b as resolveVoiceConfig } from "./layeredConfig-BvV_w_m2.js";
|
|
6
|
+
import { i as definePoPluginMethod } from "./pluginProtocol-OfEeF1XB.js";
|
|
7
|
+
import "./exports-CgYBL1bW.js";
|
|
8
|
+
import { c as encodePoClientMetadata, d as poClientMetadataFrom, l as isPoClientToken, o as ManualTranscriptionError, s as PO_CLIENT_METADATA_HEADER, t as MANUAL_TRANSCRIPTION_DURATION_HEADER } from "./narration-DIrslirB.js";
|
|
9
|
+
import { n as readPackageResource } from "./index.edge-CDBGyAxt.js";
|
|
10
|
+
import { a as defineHook, c as defineRoot, f as defineServerTool, l as defineRoute, n as composeRootInjects, o as defineMethod, r as defineChannel, s as defineResource, t as composeRootHooks, u as defineRoutedContribution } from "./extensionFile-H7Bjt9rF.js";
|
|
11
11
|
import "./worker.js";
|
|
12
12
|
import { t as createPoTelemetry } from "./index.edge-D2RirEwK.js";
|
|
13
13
|
import { t as defineMinorMode } from "./modeDefinition-C3Zbrw48.js";
|
|
14
|
-
import { t as serverMinorModes } from "./exports-
|
|
15
|
-
import { a as PO_VOICE_AUTO_MODE_ID, c as SAFE_NAME, d as VOICE_TOOL_MAX_BATCH_BYTES, f as VOICE_TOOL_MAX_INPUT_BYTES, i as VoiceToolUseInputSchema, m as VOICE_TOOL_MAX_TIMEOUT_MS, n as VoiceToolDescribeInputSchema, o as PO_VOICE_TOOLS_SERVICE, p as VOICE_TOOL_MAX_SCHEMA_BYTES, r as VoiceToolDescriptorSchema, s as SAFE_IDENTIFIER, t as VoiceToolError, u as VOICE_TOOL_ERROR_CODE } from "./voiceTools-
|
|
14
|
+
import { t as serverMinorModes } from "./exports-B1xOpEc-.js";
|
|
15
|
+
import { a as PO_VOICE_AUTO_MODE_ID, c as SAFE_NAME, d as VOICE_TOOL_MAX_BATCH_BYTES, f as VOICE_TOOL_MAX_INPUT_BYTES, i as VoiceToolUseInputSchema, m as VOICE_TOOL_MAX_TIMEOUT_MS, n as VoiceToolDescribeInputSchema, o as PO_VOICE_TOOLS_SERVICE, p as VOICE_TOOL_MAX_SCHEMA_BYTES, r as VoiceToolDescriptorSchema, s as SAFE_IDENTIFIER, t as VoiceToolError, u as VOICE_TOOL_ERROR_CODE } from "./voiceTools-ttmxBia8.js";
|
|
16
16
|
import { randomUUID } from "node:crypto";
|
|
17
17
|
/** Allow browser permission and device selection to finish before ownership is acknowledged. */
|
|
18
18
|
const VOICE_OWNERSHIP_COMMAND_TIMEOUT_MS = 75e3;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { $t as requirePoSqlite, H as Literal, J as _Object_, Kt as PO_SQLITE_SERVICE, Lt as BACKGROUND_CONTEXT, O as PO_CONFIG_SERVICE, Qt as requirePoFs, R as Union, T as composeServerProviderOverrides, V as Null, Wt as PO_FS_SERVICE, X as _Array_, Y as Optional, ct as getOrThrow, en as PO_SERVER_SCOPE_SERVICE, h as PoSessionSetupError, it as nodeHost, j as Check, n as runCleanups, nt as createSerialRunner, p as PoHeadlessPromptAdmissionError, rn as requirePoServerScope, t as defineServerPlugin, tn as defineServiceContract, tt as poHomeDirectory, v as isPoHeadlessPromptAdmissionError, z as String$1 } from "./serverPlugin-
|
|
2
|
-
import { a as pathExists, l as removePath, u as writeFileAtomic } from "./platform-
|
|
3
|
-
import "./piSettings-
|
|
4
|
-
import { c as ProfileCatalogChangedError, d as planGlobalProfileRootAsync, f as inlineProfile, h as PO_PERSON_TIME_ZONE_SERVICE, l as commitGlobalProfileRootAsync, m as parseProfileVaultSecrets, p as parseProfileBinding, u as loadProfilesAsync, v as readPoPersonTimeZone, y as PO_PROFILE_IDENTITY_ENTRY_TYPE } from "./sessionConfig-
|
|
5
|
-
import "./exports-
|
|
6
|
-
import { n as readPackageResource, t as packageResourcePath } from "./index.edge-
|
|
7
|
-
import { s as jsonApiResponses, t as defineApiContract } from "./apiContracts-
|
|
8
|
-
import { a as readPoWorkflowContextService, n as PO_WORKFLOW_PROFILE_ADMISSION_SERVICE } from "./workflow-
|
|
9
|
-
import { a as defineHook, c as defineRoot, l as defineRoute, n as composeRootInjects, s as defineResource, t as composeRootHooks, u as defineRoutedContribution } from "./extensionFile-
|
|
10
|
-
import { i as readPoCodemode, n as PO_CODEMODE_SERVICE } from "./codemode-
|
|
1
|
+
import { $t as requirePoSqlite, H as Literal, J as _Object_, Kt as PO_SQLITE_SERVICE, Lt as BACKGROUND_CONTEXT, O as PO_CONFIG_SERVICE, Qt as requirePoFs, R as Union, T as composeServerProviderOverrides, V as Null, Wt as PO_FS_SERVICE, X as _Array_, Y as Optional, ct as getOrThrow, en as PO_SERVER_SCOPE_SERVICE, h as PoSessionSetupError, it as nodeHost, j as Check, n as runCleanups, nt as createSerialRunner, p as PoHeadlessPromptAdmissionError, rn as requirePoServerScope, t as defineServerPlugin, tn as defineServiceContract, tt as poHomeDirectory, v as isPoHeadlessPromptAdmissionError, z as String$1 } from "./serverPlugin-S99Dzxlv.js";
|
|
2
|
+
import { a as pathExists, l as removePath, u as writeFileAtomic } from "./platform-CtU1y037.js";
|
|
3
|
+
import "./piSettings-BFxJzcgF.js";
|
|
4
|
+
import { c as ProfileCatalogChangedError, d as planGlobalProfileRootAsync, f as inlineProfile, h as PO_PERSON_TIME_ZONE_SERVICE, l as commitGlobalProfileRootAsync, m as parseProfileVaultSecrets, p as parseProfileBinding, u as loadProfilesAsync, v as readPoPersonTimeZone, y as PO_PROFILE_IDENTITY_ENTRY_TYPE } from "./sessionConfig-DHQgWLKi.js";
|
|
5
|
+
import "./exports-CgYBL1bW.js";
|
|
6
|
+
import { n as readPackageResource, t as packageResourcePath } from "./index.edge-CDBGyAxt.js";
|
|
7
|
+
import { s as jsonApiResponses, t as defineApiContract } from "./apiContracts-BT1b_Bvo.js";
|
|
8
|
+
import { a as readPoWorkflowContextService, n as PO_WORKFLOW_PROFILE_ADMISSION_SERVICE } from "./workflow-DJjGTfkb.js";
|
|
9
|
+
import { a as defineHook, c as defineRoot, l as defineRoute, n as composeRootInjects, s as defineResource, t as composeRootHooks, u as defineRoutedContribution } from "./extensionFile-H7Bjt9rF.js";
|
|
10
|
+
import { i as readPoCodemode, n as PO_CODEMODE_SERVICE } from "./codemode-BGg_bdyR.js";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
//#region ../../foundations/po-config/src/services/profiles/sync.edge.ts
|
|
13
13
|
function nodeOnly(name, asyncName) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as defineServerPlugin } from "./serverPlugin-
|
|
2
|
-
import { i as resolveLayers } from "./majorModes-
|
|
3
|
-
import { n as readPackageResource, t as packageResourcePath } from "./index.edge-
|
|
4
|
-
import { l as defineRoute, s as defineResource, u as defineRoutedContribution } from "./extensionFile-
|
|
5
|
-
import "./majorModes-
|
|
1
|
+
import { t as defineServerPlugin } from "./serverPlugin-S99Dzxlv.js";
|
|
2
|
+
import { i as resolveLayers } from "./majorModes-p6P4xD2z.js";
|
|
3
|
+
import { n as readPackageResource, t as packageResourcePath } from "./index.edge-CDBGyAxt.js";
|
|
4
|
+
import { l as defineRoute, s as defineResource, u as defineRoutedContribution } from "./extensionFile-H7Bjt9rF.js";
|
|
5
|
+
import "./majorModes-CNeGE-W8.js";
|
|
6
6
|
//#region ../../foundations/po-config/src/services/majorModes/sync.edge.ts
|
|
7
7
|
function nodeOnly(name, asyncName) {
|
|
8
8
|
throw new Error(`${name} is Node-only; use ${asyncName} with a PoPlatform on the edge.`);
|