@agimon-ai/po-cloudflare 0.0.2-alpha.21 → 0.0.2-alpha.23
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-DZ-OKOHn.js → agent-UIPyeBP5.js} +1 -1
- package/dist/{apiContracts-b33nSAAI.js → apiContracts-C1eQw3aV.js} +14 -3
- package/dist/{approval-r3NnI1VC.js → approval-ClwOu7uT.js} +2 -2
- package/dist/{approvalPrompt-DWoXxu3S.js → approvalPrompt-DvHkKcy-.js} +2 -2
- package/dist/artifactFiles-BvCt577E.js +1 -0
- package/dist/assets/assets/{CodeEditorView-XeNS0L9M.js → CodeEditorView--WN6dPrx.js} +2 -2
- package/dist/assets/assets/{abnfDiagram-WEYOIA3C-B6ZW0nkR.js → abnfDiagram-WEYOIA3C-gI5VY9d1.js} +2 -2
- package/dist/assets/assets/{architecture-WOLXFQ4H-bVR64sHO.js → architecture-WOLXFQ4H-rOlWdr7M.js} +1 -1
- package/dist/assets/assets/{architectureDiagram-ZHVYKT53-D7tZz3io.js → architectureDiagram-ZHVYKT53-LgdRA8o3.js} +2 -2
- package/dist/assets/assets/{blockDiagram-RJAE7QA3-DdwScfiX.js → blockDiagram-RJAE7QA3-Cnbl1Xjw.js} +2 -2
- package/dist/assets/assets/{c4Diagram-XDPPPE54-DgSxZJCV.js → c4Diagram-XDPPPE54-IZR9ycqL.js} +2 -2
- package/dist/assets/assets/channel-CrD4lVRl.js +2 -0
- package/dist/assets/assets/{chunk-2E7WHVMD-D5TXC2SM.js → chunk-2E7WHVMD-BWuCn-Ur.js} +2 -2
- package/dist/assets/assets/{chunk-4EMNKR2T-BWhOSvo1.js → chunk-4EMNKR2T-BKCM3XwF.js} +2 -2
- package/dist/assets/assets/{chunk-55XCU76K-HkkBzLtZ.js → chunk-55XCU76K-D-cpZWTC.js} +2 -2
- package/dist/assets/assets/{chunk-7S6XSTFO-CBnjycLU.js → chunk-7S6XSTFO-CuzMc4IC.js} +2 -2
- package/dist/assets/assets/{chunk-AQDTSKZB-75lIIq8T.js → chunk-AQDTSKZB-DbaQ40ow.js} +2 -2
- package/dist/assets/assets/{chunk-DSNLSHJZ-D8PpnXMk.js → chunk-DSNLSHJZ-BdxxGpAN.js} +2 -2
- package/dist/assets/assets/{chunk-HAGFOTED-CXRS2NIN.js → chunk-HAGFOTED-Zh_11Odb.js} +2 -2
- package/dist/assets/assets/{chunk-HNE4Q36P-BocUqS94.js → chunk-HNE4Q36P-DlZujxY1.js} +2 -2
- package/dist/assets/assets/{chunk-NQOKRVIF-CHf_ogYT.js → chunk-NQOKRVIF-CiGV2Oc0.js} +2 -2
- package/dist/assets/assets/{chunk-UHW7PFBP-DrW1PaIv.js → chunk-UHW7PFBP-DRG6Judb.js} +2 -2
- package/dist/assets/assets/{chunk-VQ5W62QI-CLoA7bFm.js → chunk-VQ5W62QI-DG2HdXG0.js} +2 -2
- package/dist/assets/assets/{chunk-WQQL4CDK-BmBsrj9I.js → chunk-WQQL4CDK-CPuleSF6.js} +2 -2
- package/dist/assets/assets/chunk-XXDRQBXY-BjrgiCuI.js +2 -0
- package/dist/assets/assets/{chunk-YZO67HFG-DShE_cgv.js → chunk-YZO67HFG-of316ftl.js} +2 -2
- package/dist/assets/assets/{chunk-ZAUX2LTX-B3oLvSXy.js → chunk-ZAUX2LTX-CPrtYqQo.js} +2 -2
- package/dist/assets/assets/{chunk-ZCHMQSOR-B14vKK7C.js → chunk-ZCHMQSOR-DeBdEbUA.js} +2 -2
- package/dist/assets/assets/{classDiagram-v2-4MYWR3UA-Da8elIW2.js → classDiagram-v2-4MYWR3UA-BwVXVR6k.js} +2 -2
- package/dist/assets/assets/{cose-bilkent-JH36ORCC-Du4tGtiJ.js → cose-bilkent-JH36ORCC-CT6olnsr.js} +2 -2
- package/dist/assets/assets/{cynefin-EF2NZ3EQ-Cyj6i_WI.js → cynefin-EF2NZ3EQ-DuULfWya.js} +1 -1
- package/dist/assets/assets/{cynefinDiagram-WF24UDRP-DFWXwO7A.js → cynefinDiagram-WF24UDRP-DUb0X7dq.js} +2 -2
- package/dist/assets/assets/{dagre-NK4GIZVX-C1wB_cf-.js → dagre-NK4GIZVX-B74VlwTw.js} +2 -2
- package/dist/assets/assets/{diagram-CBK3MWTC-MYCOBYl6.js → diagram-CBK3MWTC-DamT65hF.js} +2 -2
- package/dist/assets/assets/{diagram-I5XIIV2D-BFYbKUFf.js → diagram-I5XIIV2D-bB1cvJ50.js} +2 -2
- package/dist/assets/assets/{diagram-ODIL2UCW-6siqTpv_.js → diagram-ODIL2UCW-BRM0DVMM.js} +2 -2
- package/dist/assets/assets/{diagram-PFBEJUXE-CaBr9CoB.js → diagram-PFBEJUXE-BpX2wcGT.js} +2 -2
- package/dist/assets/assets/{diagram-RJA3I4VV-DAvmuDpc.js → diagram-RJA3I4VV-B-uUsxzB.js} +2 -2
- package/dist/assets/assets/{diagram-TYUNFSNR-CJnhgCpo.js → diagram-TYUNFSNR-B9exo1Dw.js} +2 -2
- package/dist/assets/assets/{dist-BQ4W1R18.js → dist-AmWXTl04.js} +2 -2
- package/dist/assets/assets/{dist-BnzFckPF.js → dist-BVj75dV9.js} +2 -2
- package/dist/assets/assets/{dist-qYlLXIa8.js → dist-Bez-acag.js} +2 -2
- package/dist/assets/assets/{dist-DNyn1p9Z.js → dist-C5qTd_01.js} +2 -2
- package/dist/assets/assets/{dist-CFtBpcYL.js → dist-C842uE1e.js} +2 -2
- package/dist/assets/assets/{dist-ChHYoe9_.js → dist-C87J3zaw.js} +2 -2
- package/dist/assets/assets/{dist-CIQX1z4W.js → dist-Ci0X1uP4.js} +2 -2
- package/dist/assets/assets/{dist-DKxZO8d9.js → dist-CzE956dI.js} +2 -2
- package/dist/assets/assets/{dist-DL6z28wl.js → dist-DzjRCuwU.js} +2 -2
- package/dist/assets/assets/{ebnfDiagram-V4P3TTPT-AUcqDTM3.js → ebnfDiagram-V4P3TTPT-D5jOT9Db.js} +2 -2
- package/dist/assets/assets/{elk-QONTBCTQ-aA10PEHJ.js → elk-QONTBCTQ-B_DwVG6P.js} +2 -2
- package/dist/assets/assets/{erDiagram-KYQIGQAA-hhYiqA-x.js → erDiagram-KYQIGQAA-CX_3h1Ot.js} +2 -2
- package/dist/assets/assets/{eventmodeling-K75KTNOO-BQZqbRo5.js → eventmodeling-K75KTNOO-DbiKG6BL.js} +1 -1
- package/dist/assets/assets/flowDiagram-IUGLLWBU-Cjl0PLdm.js +1 -0
- package/dist/assets/assets/{ganttDiagram-R7GPNTJY-CLON1GpW.js → ganttDiagram-R7GPNTJY-elZusB4K.js} +2 -2
- package/dist/assets/assets/{gitGraph-VSP46ZUC-DbmvNwR2.js → gitGraph-VSP46ZUC-B9Den7o-.js} +1 -1
- package/dist/assets/assets/{gitGraphDiagram-PDYL7XHY-DJVO0WlL.js → gitGraphDiagram-PDYL7XHY-ROGyaCyn.js} +2 -2
- package/dist/assets/assets/index-di6cU4Gj.js +155 -0
- package/dist/assets/assets/{info-OHQRW6UA-CAt3Nt3g.js → info-OHQRW6UA-CpOqErak.js} +1 -1
- package/dist/assets/assets/{infoDiagram-MVDRKAX5-DTuqH-Zb.js → infoDiagram-MVDRKAX5-0Allx5ry.js} +2 -2
- package/dist/assets/assets/{ishikawaDiagram-HPEHV2GE-BnWvdonT.js → ishikawaDiagram-HPEHV2GE-D9OuW5ON.js} +2 -2
- package/dist/assets/assets/{journeyDiagram-BOSHW7O7-Btxtcgvl.js → journeyDiagram-BOSHW7O7-BTECHgM0.js} +2 -2
- package/dist/assets/assets/{kanban-definition-FNSA4HC5-q7ek9o_H.js → kanban-definition-FNSA4HC5-aQrr1OKW.js} +2 -2
- package/dist/assets/assets/{line-B7yLilmC.js → line-v9bOz1Ey.js} +2 -2
- package/dist/assets/assets/{linear-y8aSKEli.js → linear-Dq8OX6Zn.js} +2 -2
- package/dist/assets/assets/{mermaid-parser.core-B4rH50nD.js → mermaid-parser.core-D5CkBH4_.js} +4 -4
- package/dist/assets/assets/{mermaid.core-DnRVHTjE.js → mermaid.core-mHckPBfv.js} +5 -5
- package/dist/assets/assets/{mindmap-definition-6OY57UG3-DT9Afs2v.js → mindmap-definition-6OY57UG3-BCwuUCFw.js} +2 -2
- package/dist/assets/assets/{packet-JDAUHWVQ-CnqNbu4p.js → packet-JDAUHWVQ-EX4yzef7.js} +1 -1
- package/dist/assets/assets/{pegDiagram-ECIUJNBX-cvxdBBFq.js → pegDiagram-ECIUJNBX-4fWFIvd_.js} +2 -2
- package/dist/assets/assets/{pie-XZMESJXO-etXMNsaL.js → pie-XZMESJXO-CYvVJy_o.js} +1 -1
- package/dist/assets/assets/{pieDiagram-GNMPY74T-CBN-R3_j.js → pieDiagram-GNMPY74T-CBP6z66Q.js} +2 -2
- package/dist/assets/assets/{quadrantDiagram-D57K4MC3-C5jjVPIH.js → quadrantDiagram-D57K4MC3-BSup4HmC.js} +2 -2
- package/dist/assets/assets/{radar-ABXABTNO-CAMd_mrV.js → radar-ABXABTNO-jVnoSObM.js} +1 -1
- package/dist/assets/assets/{railroad-I3PHUGI6-DIs3auoe.js → railroad-I3PHUGI6-mOKON3h5.js} +1 -1
- package/dist/assets/assets/{railroad-abnf-LNEFI6M7-CJXr1qWy.js → railroad-abnf-LNEFI6M7-DD318mU6.js} +1 -1
- package/dist/assets/assets/{railroad-ebnf-DWYD2UWJ-DfwtykqI.js → railroad-ebnf-DWYD2UWJ-BNtG2NvS.js} +1 -1
- package/dist/assets/assets/{railroad-peg-JR7BVNR7-B8beAhTs.js → railroad-peg-JR7BVNR7-CLCSnjiF.js} +1 -1
- package/dist/assets/assets/{railroadDiagram-Y72NRBL7-BDcQE-EL.js → railroadDiagram-Y72NRBL7-Cc3oTcyZ.js} +2 -2
- package/dist/assets/assets/{requirementDiagram-EQYSW5RA-KJ4-QjZM.js → requirementDiagram-EQYSW5RA-CqAB-seK.js} +2 -2
- package/dist/assets/assets/{sankeyDiagram-SY24JHO5-VjIB-Ybr.js → sankeyDiagram-SY24JHO5-CKupkkvN.js} +2 -2
- package/dist/assets/assets/{sequenceDiagram-BLEHNHQU-MfMuWq1M.js → sequenceDiagram-BLEHNHQU-nFuDyVeJ.js} +2 -2
- package/dist/assets/assets/{src-BAxIj8GJ.js → src-DMdFFaDQ.js} +2 -2
- package/dist/assets/assets/{stateDiagram-v2-A6IESKWZ-mHwLRRCY.js → stateDiagram-v2-A6IESKWZ-7-tKqPT6.js} +2 -2
- package/dist/assets/assets/{swimlanes-B3ENRKFQ-PArlYoqV.js → swimlanes-B3ENRKFQ-DHDGmhsR.js} +2 -2
- package/dist/assets/assets/swimlanesDiagram-AYQRV4AK-xMPKHKuu.js +9 -0
- package/dist/assets/assets/{timeline-definition-JXYKGLGB-B2nKiNFU.js → timeline-definition-JXYKGLGB-Djbb1TcP.js} +2 -2
- package/dist/assets/assets/{treeView-D4JQ5SDB-gU23_RuI.js → treeView-D4JQ5SDB-C4hXjFlO.js} +1 -1
- package/dist/assets/assets/{treemap-SAJKECNS-CiqoMvZa.js → treemap-SAJKECNS-CzvybDVC.js} +1 -1
- package/dist/assets/assets/{usecaseDiagram-WPOLBNNX-DpeoWpMK.js → usecaseDiagram-WPOLBNNX-BYqUavId.js} +2 -2
- package/dist/assets/assets/{vennDiagram-Q3Y3IDCW-C31iGKvM.js → vennDiagram-Q3Y3IDCW-BEp6yQ4L.js} +2 -2
- package/dist/assets/assets/{wardley-7MLQ67FV-CIzHhzNw.js → wardley-7MLQ67FV-qjxSE1QX.js} +1 -1
- package/dist/assets/assets/{wardleyDiagram-IVAIDKWA-DIIkoezc.js → wardleyDiagram-IVAIDKWA-kyLL21Iq.js} +2 -2
- package/dist/assets/assets/{webpack-RFseiMZW.js → webpack-CArfpWUA.js} +2 -2
- package/dist/assets/assets/{xychartDiagram-4URNHDU4-QiHL91kC.js → xychartDiagram-4URNHDU4-Du2PzsYQ.js} +2 -2
- package/dist/assets/bundle-asset-policy.json +1 -1
- package/dist/assets/index.html +1 -1
- package/dist/assets/plugins/assets/base-DuiJLOs_.css +2 -0
- package/dist/assets/plugins/chunks/po-web-runtime-EI_2k5Ip.js +1 -0
- package/dist/assets/plugins/compositions.json +1 -1
- package/dist/assets/plugins/slots/approval.3e4ea6e4-C0RmI2Pn.js +2 -0
- package/dist/assets/plugins/slots/artifacts.84980c32-B1aPICeE.js +1 -0
- package/dist/assets/plugins/slots/author.6acaa90f-Cipl-lB-.js +93 -0
- package/dist/assets/plugins/slots/{autocompact.dd97d013-IVq4Z6qm.js → autocompact.ec8f713f-d2vXqeFV.js} +1 -1
- package/dist/assets/plugins/slots/builtin-tools.16ef5e25-DhfnwpOa.js +7 -0
- package/dist/assets/plugins/slots/{codemode.8eaee717-VWt9PqsU.js → codemode.5f359b9c-CkCZsOKf.js} +4 -4
- package/dist/assets/plugins/slots/domain.832848c8-CJapYFeI.js +1 -0
- package/dist/assets/plugins/slots/edit.7c802139-4Rr7kXo0.js +7 -0
- package/dist/assets/plugins/slots/files.364f16c9-Bq_yVeTP.js +2 -0
- package/dist/assets/plugins/slots/goal.4c392100-B75Qo1Zd.js +1 -0
- package/dist/assets/plugins/slots/grep.d8bf9f57-DzeQomFK.js +1 -0
- package/dist/assets/plugins/slots/help.2ace5e43-usXaZfqP.js +3 -0
- package/dist/assets/plugins/slots/log.07fd59a4-D9njASDU.js +4 -0
- package/dist/assets/plugins/slots/mcp.ea8b6aa2-CXSgAVZB.js +109 -0
- package/dist/assets/plugins/slots/plan.b526667a-glf-Yrt8.js +3 -0
- package/dist/assets/plugins/slots/{profile.48851a1d-yX6tzV3x.js → profile.63bc3ae6-DDweHjSq.js} +1 -1
- package/dist/assets/plugins/slots/prompts.9d9b47cc-D28EtCWM.js +3 -0
- package/dist/assets/plugins/slots/read.926c024f-DMVigX9G.js +1 -0
- package/dist/assets/plugins/slots/runner.5393fa6c-ty8qh-Hn.js +8 -0
- package/dist/assets/plugins/slots/{skill.086701a4-CL6h_F-x.js → skill.56c1cc07-CptqANvN.js} +2 -2
- package/dist/assets/plugins/slots/subagents.dd77306a-DowwoyAz.js +7 -0
- package/dist/assets/plugins/slots/vault.587549ba-BlCwV79H.js +1 -0
- package/dist/assets/plugins/slots/voice.920972c8-BkULz7Nz.js +1 -0
- package/dist/{atomicJson-C_7F2zD1.js → atomicJson-BQhr0b4x.js} +2 -2
- package/dist/{backgroundWork-B1mPDYlf.js → backgroundWork-DZBsxltI.js} +1 -1
- package/dist/{codemode-DQFmrosw.js → codemode-ZkWnuAI8.js} +1 -1
- package/dist/{contracts-DD3f1Lpn.js → contracts-DPEebkOJ.js} +1 -1
- package/dist/{exports-D09VsUk-.js → exports-BDpoeBYv.js} +6 -6
- package/dist/{exports-nV43ShA7.js → exports-BMON3TcD.js} +9 -9
- package/dist/{exports-B0WMEXCP.js → exports-C9o38AKd.js} +2 -2
- package/dist/extensionFile-DIbg2lby.js +121 -0
- package/dist/{harnessState-Dwrk3lfv.js → harnessState-DFd42aw_.js} +3 -3
- package/dist/{harnessStore-Z7yDLO45.js → harnessStore-BG2zfn0y.js} +4 -4
- package/dist/{help-w6vVEZGL.js → help-BRf69VyB.js} +2 -2
- package/dist/{hubChannel-Cm-sxOvU.js → hubChannel-DckivLhM.js} +1 -1
- package/dist/{index.edge-Xa5LLtxz.js → index.edge-CkEELgJZ.js} +2 -2
- package/dist/{index.edge-DyYmurS7.js → index.edge-Dy1OxB6o.js} +1 -0
- package/dist/{index.edge-K0w5auwG.js → index.edge-Nnw3s5U5.js} +2 -2
- package/dist/{layeredConfig-CUkYUs1f.js → layeredConfig-C4fvE8Su.js} +3 -3
- package/dist/majorModes-CROQp_qf.js +1 -0
- package/dist/{majorModes-BB0PXgFn.js → majorModes-NI9R9cdG.js} +3 -3
- package/dist/{mcpProjection-BtKzB6oK.js → mcpProjection-BAFCLInc.js} +2 -2
- package/dist/{narration-CpRurWLO.js → narration-Iro44gEb.js} +2 -2
- package/dist/{notification-kckG3leF.js → notification-BmlTSXKU.js} +2 -2
- package/dist/{packageApi-t1oCjNDU.js → packageApi-Be2PgMFg.js} +1 -1
- package/dist/{piConfig-DQzlbPY4.js → piConfig-CTIrk5Sf.js} +4 -4
- package/dist/piSettings-F4H1df-n.js +1 -0
- package/dist/{platform-BIEiM4TG.js → platform-CIq8Kome.js} +1 -1
- package/dist/{pluginProtocol-BqXXyI4z.js → pluginProtocol-vfpJc92C.js} +2 -2
- package/dist/{protocol-DDL8geoS.js → protocol-CY4BiIpC.js} +2 -2
- package/dist/{server-KBgW77zh.js → server-B6_lwFVd.js} +3 -3
- package/dist/{server-DymH4Ucq.js → server-B6d00a08.js} +4 -4
- package/dist/{server-oxyEbv1a.js → server-B7f7QKc7.js} +8 -8
- package/dist/{server-AbXyhXlY.js → server-BFIwOGAA.js} +4 -4
- package/dist/{server-DsdPEYGu.js → server-BHZoezDN.js} +5 -5
- package/dist/{server-nkUlqnAL.js → server-BNumwxSM.js} +10 -10
- package/dist/{server-BJ7DNzCp.js → server-BR_dbEMf.js} +7 -7
- package/dist/{server-DH7PfLln.js → server-BVYZMr8z.js} +5 -5
- package/dist/{server-CuEPb7u-.js → server-BsCxTCv0.js} +2 -2
- package/dist/{server-BbSHYRnY.js → server-CBfCgKl2.js} +3 -3
- package/dist/{server-Co_UWKrR.js → server-CJtR2Sru.js} +5 -5
- package/dist/{server-CIHM4jqu.js → server-COl1e25y.js} +9 -9
- package/dist/{server-RW_9R3R3.js → server-CPgGcnWc.js} +6 -6
- package/dist/{server-IqECnUrb.js → server-CczrVvaO.js} +13 -13
- package/dist/{server-aUit8j6r.js → server-CuexObML.js} +7 -7
- package/dist/{server-DYdp0W9v.js → server-D7ltUBhP.js} +7 -7
- package/dist/{server-Busl0pQI.js → server-DEjEmSss.js} +8 -8
- package/dist/{server-B6dqQoh2.js → server-DFhOl3ch.js} +7 -7
- package/dist/{server-BT2ORK83.js → server-DILDgYKb.js} +9 -9
- package/dist/{server-CgWSSdvd.js → server-DJek9T1E.js} +6 -6
- package/dist/{server-ub3s16Mc.js → server-DPviMT6J.js} +4 -4
- package/dist/{server-DCyf2Asb.js → server-DfkiwDYb.js} +3 -3
- package/dist/{server-gifRriZK.js → server-DkeqHklt.js} +10 -10
- package/dist/{server-DJ8bc89M.js → server-DsUu0QU_.js} +3 -3
- package/dist/{server-BIHo9TFu.js → server-Dxa0NtKz.js} +4 -4
- package/dist/{server-BR7SZtj7.js → server-DzU8k3tY.js} +10 -10
- package/dist/{server-D40q2Jpx.js → server-_f8nacEA.js} +6 -6
- package/dist/{server-BqoKlEGk.js → server-nl7Kb6NK.js} +8 -8
- package/dist/{server-BO-j_GbD.js → server-pwBR7ut8.js} +12 -12
- package/dist/{server-BQzAiMns.js → server-uZBMAHRY.js} +11 -11
- package/dist/{serverPlugin-CELT6P0Q.js → serverPlugin-CFEhyxga.js} +319 -7
- package/dist/{sessionConfig-RQGvfm6E.js → sessionConfig-BznfkRmn.js} +9 -9
- package/dist/{type-ASYnCGVW.js → type-BxD21peU.js} +6 -6
- package/dist/{validation-BJxVSAwx.js → validation-DbxpyQ_I.js} +2 -2
- package/dist/{value-_W31So3B.js → value-CKjNDElQ.js} +1 -1
- package/dist/{vaultSettings-Di3n5YIg.js → vaultSettings-B0Fm3-rm.js} +1 -1
- package/dist/{voiceTools-RMn4HvWo.js → voiceTools-D_g-1t1o.js} +1 -1
- package/dist/web-Bb6qSzGG.js +3 -0
- package/dist/worker.js +534 -96
- package/dist/{workflow-B7qx0Vv9.js → workflow-CCXu-Egt.js} +1 -1
- package/package.json +38 -37
- package/dist/artifactFiles-DLCReI0-.js +0 -1
- package/dist/assets/assets/channel-TPcVvp_3.js +0 -2
- package/dist/assets/assets/chunk-XXDRQBXY-iFE4Tl8c.js +0 -2
- package/dist/assets/assets/flowDiagram-IUGLLWBU-BuyysPYC.js +0 -1
- package/dist/assets/assets/index-BiTVAj5E.js +0 -155
- package/dist/assets/assets/swimlanesDiagram-AYQRV4AK-The09-5S.js +0 -9
- package/dist/assets/plugins/assets/base-CKKRZ7-h.css +0 -2
- package/dist/assets/plugins/chunks/po-web-runtime-BJDT6Lbw.js +0 -1
- package/dist/assets/plugins/slots/approval.293d9a00-BXIhaPlQ.js +0 -2
- package/dist/assets/plugins/slots/artifacts.24567664-ZzR0gbvy.js +0 -1
- package/dist/assets/plugins/slots/author.0998a880-DAbA-7rb.js +0 -93
- package/dist/assets/plugins/slots/builtin-tools.36d7400b-CpCLjRRN.js +0 -7
- package/dist/assets/plugins/slots/domain.5e95fc37-5PIUBqDe.js +0 -1
- package/dist/assets/plugins/slots/edit.385c9aa9-DNAjPNG5.js +0 -7
- package/dist/assets/plugins/slots/files.daf34ed8-CQaTz0i1.js +0 -2
- package/dist/assets/plugins/slots/goal.77ec9930-B8EkarBq.js +0 -1
- package/dist/assets/plugins/slots/grep.02052cdc-CIRhO2gY.js +0 -1
- package/dist/assets/plugins/slots/help.ecd4c0f9-naMF9NN1.js +0 -3
- package/dist/assets/plugins/slots/log.a86eb6d0-D5__rAZJ.js +0 -4
- package/dist/assets/plugins/slots/mcp.974af249-DPNHn9XH.js +0 -109
- package/dist/assets/plugins/slots/plan.bafb8f68-C5GEpybF.js +0 -3
- package/dist/assets/plugins/slots/prompts.723d7748-B7zpPeoF.js +0 -3
- package/dist/assets/plugins/slots/read.46bf6536-Cw5Z5z5T.js +0 -1
- package/dist/assets/plugins/slots/runner.53e9bd76-CiQR_FPX.js +0 -8
- package/dist/assets/plugins/slots/vault.ac9935c8-DKERQYg4.js +0 -1
- package/dist/assets/plugins/slots/voice.e85ca7f9-DEgb-U9m.js +0 -1
- package/dist/extensionFile-DNM4xsje.js +0 -433
- package/dist/majorModes-C7vtBs4D.js +0 -1
- package/dist/piSettings-Cf1QofNe.js +0 -1
- package/dist/web-DCP7ELJj.js +0 -3
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { G as Null, Hn as BACKGROUND_CONTEXT, Jn as PO_FS_SERVICE, S as PO_CONFIG_SERVICE, Sn as getOrThrow, V as String$1, Xn as PO_SQLITE_SERVICE, Z as Literal,
|
|
2
|
-
import { m as jsonApiResponses, t as defineApiContract } from "./apiContracts-
|
|
3
|
-
import { a as pathExists, l as removePath, u as writeFileAtomic } from "./platform-
|
|
4
|
-
import "./piSettings-
|
|
5
|
-
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-
|
|
6
|
-
import { n as Check } from "./value-
|
|
7
|
-
import "./exports-
|
|
8
|
-
import {
|
|
9
|
-
import { n as
|
|
10
|
-
import { i as readPoCodemode, n as PO_CODEMODE_SERVICE } from "./codemode-
|
|
1
|
+
import { G as Null, Hn as BACKGROUND_CONTEXT, Jn as PO_FS_SERVICE, S as PO_CONFIG_SERVICE, Sn as getOrThrow, V as String$1, Xn as PO_SQLITE_SERVICE, Z as Literal, bt as _Array_, f as isPoHeadlessPromptAdmissionError, gn as createSerialRunner, hn as poHomeDirectory, ht as Optional, ir as defineServiceContract, l as PoSessionSetupError, n as runCleanups, nr as requirePoSqlite, or as requirePoServerScope, pt as _Object_, rr as PO_SERVER_SCOPE_SERVICE, s as PoHeadlessPromptAdmissionError, t as defineServerPlugin, tr as requirePoFs, vn as nodeHost, y as composeServerProviderOverrides, z as Union } from "./serverPlugin-CFEhyxga.js";
|
|
2
|
+
import { m as jsonApiResponses, t as defineApiContract } from "./apiContracts-C1eQw3aV.js";
|
|
3
|
+
import { a as pathExists, l as removePath, u as writeFileAtomic } from "./platform-CIq8Kome.js";
|
|
4
|
+
import "./piSettings-F4H1df-n.js";
|
|
5
|
+
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-BznfkRmn.js";
|
|
6
|
+
import { n as Check } from "./value-CKjNDElQ.js";
|
|
7
|
+
import "./exports-BMON3TcD.js";
|
|
8
|
+
import { n as readPackageResource, t as packageResourcePath } from "./index.edge-Dy1OxB6o.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-DIbg2lby.js";
|
|
10
|
+
import { i as readPoCodemode, n as PO_CODEMODE_SERVICE } from "./codemode-ZkWnuAI8.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,6 +1,6 @@
|
|
|
1
|
-
import { G as Null, Hn as BACKGROUND_CONTEXT, Jn as PO_FS_SERVICE, Sn as getOrThrow, V as String$1, Wn as withAbortSignal, bt as _Array_, ht as Optional, pt as _Object_, tr as requirePoFs, z as Union } from "./serverPlugin-
|
|
2
|
-
import { i as FileTooLargeError, o as readBoundedFile } from "./platform-
|
|
3
|
-
import { f as defineServerTool
|
|
1
|
+
import { G as Null, Hn as BACKGROUND_CONTEXT, Jn as PO_FS_SERVICE, Sn as getOrThrow, V as String$1, Wn as withAbortSignal, bt as _Array_, ht as Optional, pt as _Object_, t as defineServerPlugin, tr as requirePoFs, z as Union } from "./serverPlugin-CFEhyxga.js";
|
|
2
|
+
import { i as FileTooLargeError, o as readBoundedFile } from "./platform-CIq8Kome.js";
|
|
3
|
+
import { f as defineServerTool } from "./extensionFile-DIbg2lby.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,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./platform-
|
|
1
|
+
import { t as defineServerPlugin, x as Service, y as composeServerProviderOverrides } from "./serverPlugin-CFEhyxga.js";
|
|
2
|
+
import "./platform-CIq8Kome.js";
|
|
3
3
|
import { r as readPoFileAccess } from "./fileAccess-bFgmsyx0.js";
|
|
4
|
-
import { a as defineHook, c as defineRoot,
|
|
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-DIbg2lby.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-CkEELgJZ.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,18 +1,18 @@
|
|
|
1
|
-
import { Hn as BACKGROUND_CONTEXT, N as Record, Qn as readPoFs, Sn as getOrThrow, U as Number$1, V as String$1, Z as Literal, bt as _Array_, dt as Unknown, ht as Optional, pt as _Object_,
|
|
2
|
-
import { i as FileTooLargeError, n as RootBoundReplaceError, o as readBoundedFile, r as replaceRootBoundFile } from "./platform-
|
|
1
|
+
import { Hn as BACKGROUND_CONTEXT, N as Record, Qn as readPoFs, Sn as getOrThrow, U as Number$1, V as String$1, Z as Literal, b as defineServerMethod, bt as _Array_, dt as Unknown, ht as Optional, pt as _Object_, t as defineServerPlugin, y as composeServerProviderOverrides, z as Union } from "./serverPlugin-CFEhyxga.js";
|
|
2
|
+
import { i as FileTooLargeError, n as RootBoundReplaceError, o as readBoundedFile, r as replaceRootBoundFile } from "./platform-CIq8Kome.js";
|
|
3
3
|
import { n as defineApiRoutes, t as apiResponse } from "./hubRevisions-58pU2dW5.js";
|
|
4
|
-
import "./web-
|
|
5
|
-
import { r as definePoPluginMethod } from "./pluginProtocol-
|
|
4
|
+
import "./web-Bb6qSzGG.js";
|
|
5
|
+
import { r as definePoPluginMethod } from "./pluginProtocol-vfpJc92C.js";
|
|
6
6
|
import { n as defineTool, t as defineCommand } from "./pluginContributions-Be9EnCAW.js";
|
|
7
|
-
import {
|
|
8
|
-
import { n as
|
|
7
|
+
import { n as readPackageResource, t as packageResourcePath } from "./index.edge-Dy1OxB6o.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-DIbg2lby.js";
|
|
9
9
|
import "./worker.js";
|
|
10
|
-
import { c as ArtifactAccessError, l as artifactRoot, u as validateArtifactRead } from "./index.edge-
|
|
11
|
-
import "./artifactFiles-
|
|
12
|
-
import { i as readPoCodemode, n as PO_CODEMODE_SERVICE } from "./codemode-
|
|
10
|
+
import { c as ArtifactAccessError, l as artifactRoot, u as validateArtifactRead } from "./index.edge-CkEELgJZ.js";
|
|
11
|
+
import "./artifactFiles-BvCt577E.js";
|
|
12
|
+
import { i as readPoCodemode, n as PO_CODEMODE_SERVICE } from "./codemode-ZkWnuAI8.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-C9o38AKd.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 { Hn as BACKGROUND_CONTEXT, S as PO_CONFIG_SERVICE, Sn as getOrThrow,
|
|
2
|
-
import { s as readTextIfExists, u as writeFileAtomic } from "./platform-
|
|
3
|
-
import "./exports-
|
|
4
|
-
import { a as defineHook, c as defineRoot,
|
|
5
|
-
import { l as readMinorModeCatalog, s as PO_MINOR_MODE_CATALOG_SERVICE } from "./validation-
|
|
6
|
-
import "./exports-
|
|
1
|
+
import { Hn as BACKGROUND_CONTEXT, S as PO_CONFIG_SERVICE, Sn as getOrThrow, gn as createSerialRunner, ir as defineServiceContract, t as defineServerPlugin, tr as requirePoFs, vn as nodeHost, x as Service, y as composeServerProviderOverrides } from "./serverPlugin-CFEhyxga.js";
|
|
2
|
+
import { s as readTextIfExists, u as writeFileAtomic } from "./platform-CIq8Kome.js";
|
|
3
|
+
import "./exports-BMON3TcD.js";
|
|
4
|
+
import { a as defineHook, c as defineRoot, n as composeRootInjects, t as composeRootHooks } from "./extensionFile-DIbg2lby.js";
|
|
5
|
+
import { l as readMinorModeCatalog, s as PO_MINOR_MODE_CATALOG_SERVICE } from "./validation-DbxpyQ_I.js";
|
|
6
|
+
import "./exports-C9o38AKd.js";
|
|
7
7
|
import { createHash, randomUUID } from "node:crypto";
|
|
8
8
|
import { join } from "node:path";
|
|
9
9
|
//#region ../../foundations/po-cache/src/models/promptCacheTelemetry.ts
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { N as Record, Q as Integer, U as Number$1, V as String$1, Z as Literal, bt as _Array_, ht as Optional, lt as Unsafe,
|
|
2
|
-
import { n as Check } from "./value-
|
|
1
|
+
import { N as Record, Q as Integer, U as Number$1, V as String$1, Z as Literal, ar as readPoServerScope, bt as _Array_, ht as Optional, lt as Unsafe, pt as _Object_, t as defineServerPlugin, y as composeServerProviderOverrides, z as Union } from "./serverPlugin-CFEhyxga.js";
|
|
2
|
+
import { n as Check } from "./value-CKjNDElQ.js";
|
|
3
3
|
import { n as defineApiRoutes, t as apiResponse } from "./hubRevisions-58pU2dW5.js";
|
|
4
|
-
import "./web-
|
|
4
|
+
import "./web-Bb6qSzGG.js";
|
|
5
5
|
import { n as defineTool } from "./pluginContributions-Be9EnCAW.js";
|
|
6
|
-
import {
|
|
7
|
-
import { n as readPackageResource, t as packageResourcePath } from "./index.edge-DyYmurS7.js";
|
|
6
|
+
import { n as readPackageResource, t as packageResourcePath } from "./index.edge-Dy1OxB6o.js";
|
|
8
7
|
import { r as sanitizeTelemetryAttributes } from "./telemetry-Csv1ZxAn.js";
|
|
9
8
|
import { o as readPoChildSessionHookRegistry } from "./childSession-Cf2-kH4O.js";
|
|
10
|
-
import { c as readPoWorkflowContextService, i as PO_LOG_METRICS_CONTRACT, n as METRICS_ATTRIBUTE, t as queryHttp } from "./workflow-
|
|
9
|
+
import { c as readPoWorkflowContextService, i as PO_LOG_METRICS_CONTRACT, n as METRICS_ATTRIBUTE, t as queryHttp } from "./workflow-CCXu-Egt.js";
|
|
11
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-Vj8-rCR4.js";
|
|
12
11
|
import { n as datetime } from "./iso-BPQViXM8.js";
|
|
12
|
+
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-DIbg2lby.js";
|
|
13
13
|
import { t as createPoTelemetry } from "./index.edge-ChYa2LU4.js";
|
|
14
|
-
import { i as readPoCodemode, n as PO_CODEMODE_SERVICE } from "./codemode-
|
|
14
|
+
import { i as readPoCodemode, n as PO_CODEMODE_SERVICE } from "./codemode-ZkWnuAI8.js";
|
|
15
15
|
import { t as Hono } from "./dist-B-vqs6tA.js";
|
|
16
|
-
import { t as PO_HELP_WHEN } from "./help-
|
|
16
|
+
import { t as PO_HELP_WHEN } from "./help-BRf69VyB.js";
|
|
17
17
|
//#region ../../core/po-core/src/services/json/core.ts
|
|
18
18
|
function isRecord$1(value) {
|
|
19
19
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { t as __commonJSMin } from "./rolldown-runtime-B-lAHAz2.js";
|
|
2
|
-
import { Q as Integer, S as PO_CONFIG_SERVICE, V as String$1, Z as Literal,
|
|
3
|
-
import "./packageApi-
|
|
4
|
-
import { g as resolveVoiceConfig } from "./layeredConfig-
|
|
5
|
-
import { n as Check, t as Errors } from "./value-
|
|
6
|
-
import "./exports-
|
|
7
|
-
import { d as encodePoClientMetadata, f as isPoClientToken, i as MANUAL_TRANSCRIPTION_DURATION_HEADER, l as ManualTranscriptionError, m as poClientMetadataFrom, n as createNarrationRequest, r as normalizeNarrationText, t as MAX_NARRATION_TEXT_CHARACTERS, u as PO_CLIENT_METADATA_HEADER } from "./narration-
|
|
8
|
-
import { r as definePoPluginMethod } from "./pluginProtocol-
|
|
9
|
-
import {
|
|
10
|
-
import { n as
|
|
2
|
+
import { Q as Integer, S as PO_CONFIG_SERVICE, V as String$1, Z as Literal, b as defineServerMethod, et as Boolean$1, ht as Optional, ir as defineServiceContract, n as runCleanups, pt as _Object_, t as defineServerPlugin, y as composeServerProviderOverrides, z as Union } from "./serverPlugin-CFEhyxga.js";
|
|
3
|
+
import "./packageApi-Be2PgMFg.js";
|
|
4
|
+
import { g as resolveVoiceConfig } from "./layeredConfig-C4fvE8Su.js";
|
|
5
|
+
import { n as Check, t as Errors } from "./value-CKjNDElQ.js";
|
|
6
|
+
import "./exports-BMON3TcD.js";
|
|
7
|
+
import { d as encodePoClientMetadata, f as isPoClientToken, i as MANUAL_TRANSCRIPTION_DURATION_HEADER, l as ManualTranscriptionError, m as poClientMetadataFrom, n as createNarrationRequest, r as normalizeNarrationText, t as MAX_NARRATION_TEXT_CHARACTERS, u as PO_CLIENT_METADATA_HEADER } from "./narration-Iro44gEb.js";
|
|
8
|
+
import { r as definePoPluginMethod } from "./pluginProtocol-vfpJc92C.js";
|
|
9
|
+
import { n as readPackageResource } from "./index.edge-Dy1OxB6o.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-DIbg2lby.js";
|
|
11
11
|
import "./worker.js";
|
|
12
12
|
import { t as createPoTelemetry } from "./index.edge-ChYa2LU4.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-
|
|
16
|
-
import { _ as parseRemoteSessionReference } from "./type-
|
|
14
|
+
import { t as serverMinorModes } from "./exports-C9o38AKd.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-D_g-1t1o.js";
|
|
16
|
+
import { _ as parseRemoteSessionReference } from "./type-BxD21peU.js";
|
|
17
17
|
import { randomUUID } from "node:crypto";
|
|
18
18
|
/** Allow browser permission and device selection to finish before ownership is acknowledged. */
|
|
19
19
|
const VOICE_OWNERSHIP_COMMAND_TIMEOUT_MS = 75e3;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { $n as readPoIsolate, Hn as BACKGROUND_CONTEXT, Q as Integer, Qn as readPoFs, S as PO_CONFIG_SERVICE, Sn as getOrThrow, V as String$1, Wn as withAbortSignal, Yn as PO_SHELL_SERVICE, Zn as readPoBrowser,
|
|
2
|
-
import "./platform-
|
|
3
|
-
import { i as Errors, n as Check, r as Check$1 } from "./value-
|
|
4
|
-
import { n as readPackageConfigurations, t as readMajorModesConfig } from "./majorModes-
|
|
5
|
-
import "./exports-
|
|
6
|
-
import {
|
|
7
|
-
import { n as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { r as assertCodemodeNamespaceName, t as PO_CODEMODE_CONTRACT } from "./codemode-
|
|
11
|
-
import "./majorModes-
|
|
1
|
+
import { $n as readPoIsolate, Hn as BACKGROUND_CONTEXT, Q as Integer, Qn as readPoFs, S as PO_CONFIG_SERVICE, Sn as getOrThrow, V as String$1, Wn as withAbortSignal, Yn as PO_SHELL_SERVICE, Zn as readPoBrowser, d as invalidImageReason, dn as PO_SESSION_FILES_SERVICE, er as readPoNpm, h as readPoHeadlessHost, ht as Optional, ir as defineServiceContract, or as requirePoServerScope, pt as _Object_, qn as PO_BROWSER_SERVICE, rr as PO_SERVER_SCOPE_SERVICE, t as defineServerPlugin, y as composeServerProviderOverrides } from "./serverPlugin-CFEhyxga.js";
|
|
2
|
+
import "./platform-CIq8Kome.js";
|
|
3
|
+
import { i as Errors, n as Check, r as Check$1 } from "./value-CKjNDElQ.js";
|
|
4
|
+
import { n as readPackageConfigurations, t as readMajorModesConfig } from "./majorModes-NI9R9cdG.js";
|
|
5
|
+
import "./exports-BMON3TcD.js";
|
|
6
|
+
import { n as readPackageResource, t as packageResourcePath } from "./index.edge-Dy1OxB6o.js";
|
|
7
|
+
import { i as isUnattended, n as gateApproval, o as PO_APPROVAL_SERVICE, s as readPoApproval, t as ApprovalPendingError } from "./approval-ClwOu7uT.js";
|
|
8
|
+
import { a as PO_BACKGROUND_WORK_SERVICE, c as readPoBackgroundWorkService } from "./backgroundWork-DZBsxltI.js";
|
|
9
|
+
import { c as defineRoot, f as defineServerTool, n as composeRootInjects, s as defineResource, t as composeRootHooks } from "./extensionFile-DIbg2lby.js";
|
|
10
|
+
import { r as assertCodemodeNamespaceName, t as PO_CODEMODE_CONTRACT } from "./codemode-ZkWnuAI8.js";
|
|
11
|
+
import "./majorModes-CROQp_qf.js";
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region ../../../node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/meta/meta.mjs
|
|
14
14
|
/** A collection of all meta schemas. */
|
|
@@ -6495,7 +6495,7 @@ var PluginShare = class {
|
|
|
6495
6495
|
}
|
|
6496
6496
|
};
|
|
6497
6497
|
const resourceName = (key) => JSON.stringify(typeof key === "string" ? [key] : key);
|
|
6498
|
-
const depth = (level) => PO_SERVER_SCOPE_LEVELS.indexOf(level);
|
|
6498
|
+
const depth$1 = (level) => PO_SERVER_SCOPE_LEVELS.indexOf(level);
|
|
6499
6499
|
const describe = (error) => error instanceof Error ? error.message : String(error);
|
|
6500
6500
|
const PACKAGE_PROVENANCE = Symbol("package provenance");
|
|
6501
6501
|
let scopesOpened = 0;
|
|
@@ -6692,7 +6692,7 @@ var PoServerScope = class PoServerScope {
|
|
|
6692
6692
|
/** Opens a scope below `parent`, with every binding visible from its ancestors already published. */
|
|
6693
6693
|
static async open(level, parent) {
|
|
6694
6694
|
if (parent?.disposing !== void 0) throw new Error(`The ${parent.level} scope is disposed.`);
|
|
6695
|
-
if (parent !== void 0 && depth(level) <= depth(parent.level)) throw new Error(`A ${level} scope cannot open below a ${parent.level} scope.`);
|
|
6695
|
+
if (parent !== void 0 && depth$1(level) <= depth$1(parent.level)) throw new Error(`A ${level} scope cannot open below a ${parent.level} scope.`);
|
|
6696
6696
|
const scope = new PoServerScope(level, parent);
|
|
6697
6697
|
parent?.children.add(scope);
|
|
6698
6698
|
try {
|
|
@@ -6939,7 +6939,7 @@ var PoServerScope = class PoServerScope {
|
|
|
6939
6939
|
return structuredClone(result);
|
|
6940
6940
|
}
|
|
6941
6941
|
resolve(contract) {
|
|
6942
|
-
if (depth(contract.scope) > depth(this.level)) throw new Error(`A ${this.level} scope cannot see the ${contract.scope} contract '${contract.name}'.`);
|
|
6942
|
+
if (depth$1(contract.scope) > depth$1(this.level)) throw new Error(`A ${this.level} scope cannot see the ${contract.scope} contract '${contract.name}'.`);
|
|
6943
6943
|
for (const scope of this.ancestry()) if (scope.level === contract.scope) return scope.bound.get(contract.name)?.value;
|
|
6944
6944
|
}
|
|
6945
6945
|
/**
|
|
@@ -7066,7 +7066,7 @@ var PoServerScope = class PoServerScope {
|
|
|
7066
7066
|
const store = top.shares.get(owner);
|
|
7067
7067
|
if (store === void 0) return [];
|
|
7068
7068
|
const held = [];
|
|
7069
|
-
for (const scope of this.parent?.ancestry() ?? []) if (depth(scope.level) >= depth(from) && store.running.has(scope)) held.push(store.running.get(scope));
|
|
7069
|
+
for (const scope of this.parent?.ancestry() ?? []) if (depth$1(scope.level) >= depth$1(from) && store.running.has(scope)) held.push(store.running.get(scope));
|
|
7070
7070
|
return held;
|
|
7071
7071
|
}
|
|
7072
7072
|
};
|
|
@@ -7117,7 +7117,7 @@ var PoServerScope = class PoServerScope {
|
|
|
7117
7117
|
const plugin = "declaration" in candidate ? candidate.plugin : candidate;
|
|
7118
7118
|
const name = ("declaration" in candidate ? candidate.declaration.packageName : void 0) ?? plugin.name;
|
|
7119
7119
|
if (this.installed.get(name)?.plugin !== plugin) continue;
|
|
7120
|
-
for (const contract of plugin.injects?.[this.level] ?? []) if (depth(contract.scope) > depth(this.level) || this.resolve(contract) === void 0) notice(`server package '${name}' waits for contract '${contract.name}', which no ${contract.scope} package provides.`);
|
|
7120
|
+
for (const contract of plugin.injects?.[this.level] ?? []) if (depth$1(contract.scope) > depth$1(this.level) || this.resolve(contract) === void 0) notice(`server package '${name}' waits for contract '${contract.name}', which no ${contract.scope} package provides.`);
|
|
7121
7121
|
}
|
|
7122
7122
|
return [...this.installed.keys()];
|
|
7123
7123
|
}
|
|
@@ -7205,7 +7205,7 @@ var PoServerScope = class PoServerScope {
|
|
|
7205
7205
|
const impl = scope.root.reflect._getImpl(name, false);
|
|
7206
7206
|
const mirrored = impl && [...scope.mirrors].find(([, fiber]) => fiber === impl.fiber)?.[0];
|
|
7207
7207
|
const cordis = impl === void 0 ? "none" : `<${impl.fiber.name}#${impl.fiber.uid}> state=${impl.fiber.state}${mirrored ? ` from ${mirrored.owner.label}` : ""}`;
|
|
7208
|
-
return `${" ".repeat(depth(scope.level))}${scope.label}${cwd ? ` ${cwd}` : ""} binds=${scope.bound.has(name) ? "yes" : "no"} mirrors=[${holds.join(", ")}] cordis=${cordis}`;
|
|
7208
|
+
return `${" ".repeat(depth$1(scope.level))}${scope.label}${cwd ? ` ${cwd}` : ""} binds=${scope.bound.has(name) ? "yes" : "no"} mirrors=[${holds.join(", ")}] cordis=${cordis}`;
|
|
7209
7209
|
}).join("\n");
|
|
7210
7210
|
if (top.reported.get(name) === graph) return;
|
|
7211
7211
|
top.reported.set(name, graph);
|
|
@@ -7295,4 +7295,316 @@ function deliver(scopes, name, args) {
|
|
|
7295
7295
|
if (errors.length > 0) throw new AggregateError(errors, `${errors.length} scope listener(s) of '${name}' failed.`);
|
|
7296
7296
|
}
|
|
7297
7297
|
//#endregion
|
|
7298
|
-
|
|
7298
|
+
//#region ../../core/po-core/src/services/pluginLifecycle/index.ts
|
|
7299
|
+
/** Runs ordered cleanup steps to completion before reporting their failures. */
|
|
7300
|
+
async function runCleanups(steps, message) {
|
|
7301
|
+
const errors = [];
|
|
7302
|
+
for (const step of steps) {
|
|
7303
|
+
if (!step) continue;
|
|
7304
|
+
try {
|
|
7305
|
+
await step();
|
|
7306
|
+
} catch (error) {
|
|
7307
|
+
errors.push(error);
|
|
7308
|
+
}
|
|
7309
|
+
}
|
|
7310
|
+
if (errors.length) throw new AggregateError(errors, message);
|
|
7311
|
+
}
|
|
7312
|
+
/** Owns one mounted plugin, independently of the host supplying its context. */
|
|
7313
|
+
function createPluginLifecycle(makeContext) {
|
|
7314
|
+
const controller = new AbortController();
|
|
7315
|
+
const context = makeContext(controller.signal);
|
|
7316
|
+
const cleanups = [];
|
|
7317
|
+
let hooks;
|
|
7318
|
+
let startup;
|
|
7319
|
+
let disposal;
|
|
7320
|
+
let started = false;
|
|
7321
|
+
let draining = false;
|
|
7322
|
+
const dispose = () => {
|
|
7323
|
+
if (disposal) return disposal;
|
|
7324
|
+
disposal = Promise.resolve().then(async () => {
|
|
7325
|
+
await startup?.catch(() => void 0);
|
|
7326
|
+
draining = true;
|
|
7327
|
+
const onStop = hooks?.onStop;
|
|
7328
|
+
const onDispose = hooks?.onDispose;
|
|
7329
|
+
await runCleanups([
|
|
7330
|
+
started && onStop ? () => onStop(context) : void 0,
|
|
7331
|
+
...cleanups.splice(0).reverse(),
|
|
7332
|
+
onDispose ? () => onDispose(context) : void 0
|
|
7333
|
+
], "Plugin cleanup failed.");
|
|
7334
|
+
});
|
|
7335
|
+
controller.abort();
|
|
7336
|
+
return disposal;
|
|
7337
|
+
};
|
|
7338
|
+
return {
|
|
7339
|
+
context,
|
|
7340
|
+
own(cleanup) {
|
|
7341
|
+
if (draining) throw new Error("Cannot own a registration after plugin cleanup begins.");
|
|
7342
|
+
cleanups.push(cleanup);
|
|
7343
|
+
},
|
|
7344
|
+
mount(definition, register) {
|
|
7345
|
+
if (startup || disposal) return Promise.reject(/* @__PURE__ */ new Error("A plugin lifecycle can only mount once."));
|
|
7346
|
+
startup = Promise.resolve().then(async () => {
|
|
7347
|
+
controller.signal.throwIfAborted();
|
|
7348
|
+
const resolved = typeof definition === "function" ? await definition() : definition;
|
|
7349
|
+
hooks = resolved;
|
|
7350
|
+
controller.signal.throwIfAborted();
|
|
7351
|
+
await register(resolved);
|
|
7352
|
+
controller.signal.throwIfAborted();
|
|
7353
|
+
started = true;
|
|
7354
|
+
if (resolved.onStart) await resolved.onStart(context);
|
|
7355
|
+
controller.signal.throwIfAborted();
|
|
7356
|
+
});
|
|
7357
|
+
return startup.catch(async (error) => {
|
|
7358
|
+
try {
|
|
7359
|
+
await dispose();
|
|
7360
|
+
} catch (cleanupError) {
|
|
7361
|
+
const errors = cleanupError instanceof AggregateError ? cleanupError.errors : [cleanupError];
|
|
7362
|
+
throw new AggregateError([error, ...errors], error instanceof Error ? error.message : String(error), { cause: error });
|
|
7363
|
+
}
|
|
7364
|
+
throw error;
|
|
7365
|
+
});
|
|
7366
|
+
},
|
|
7367
|
+
dispose
|
|
7368
|
+
};
|
|
7369
|
+
}
|
|
7370
|
+
//#endregion
|
|
7371
|
+
//#region ../../core/po-core/src/extensions/serverPlugin.ts
|
|
7372
|
+
/**
|
|
7373
|
+
* Holds a built root's teardown for the levels that reuse it.
|
|
7374
|
+
*
|
|
7375
|
+
* The building level keeps the root's hooks in its own lifecycle, but each one runs only when no
|
|
7376
|
+
* inner level still holds a lease. Otherwise the last lease to be released runs what the building
|
|
7377
|
+
* level held back. So a reload of the building level installs the new build for itself and for every
|
|
7378
|
+
* level that mounts from then on, while a session already running keeps the root it mounted with
|
|
7379
|
+
* until it closes.
|
|
7380
|
+
*/
|
|
7381
|
+
function holdRoot(built) {
|
|
7382
|
+
let leases = 0;
|
|
7383
|
+
let owed = {
|
|
7384
|
+
stop: false,
|
|
7385
|
+
dispose: false
|
|
7386
|
+
};
|
|
7387
|
+
let stopped = false;
|
|
7388
|
+
let disposed = false;
|
|
7389
|
+
const stop = async (context) => {
|
|
7390
|
+
if (stopped) return;
|
|
7391
|
+
stopped = true;
|
|
7392
|
+
await built.onStop?.(context);
|
|
7393
|
+
};
|
|
7394
|
+
const dispose = async (context) => {
|
|
7395
|
+
if (disposed) return;
|
|
7396
|
+
disposed = true;
|
|
7397
|
+
await built.onDispose?.(context);
|
|
7398
|
+
};
|
|
7399
|
+
return {
|
|
7400
|
+
held: {
|
|
7401
|
+
value: built.value,
|
|
7402
|
+
...built.activities === void 0 ? {} : { activities: built.activities },
|
|
7403
|
+
acquire() {
|
|
7404
|
+
leases += 1;
|
|
7405
|
+
let released = false;
|
|
7406
|
+
return async () => {
|
|
7407
|
+
if (released) return;
|
|
7408
|
+
released = true;
|
|
7409
|
+
leases -= 1;
|
|
7410
|
+
if (leases > 0 || owed.context === void 0) return;
|
|
7411
|
+
const context = owed.context;
|
|
7412
|
+
await runCleanups([owed.stop ? () => stop(context) : void 0, owed.dispose ? () => dispose(context) : void 0], "Shared root cleanup failed.");
|
|
7413
|
+
};
|
|
7414
|
+
}
|
|
7415
|
+
},
|
|
7416
|
+
declaration: {
|
|
7417
|
+
...built,
|
|
7418
|
+
onStop: async (context) => {
|
|
7419
|
+
owed = {
|
|
7420
|
+
...owed,
|
|
7421
|
+
stop: true,
|
|
7422
|
+
context
|
|
7423
|
+
};
|
|
7424
|
+
if (leases === 0) await stop(context);
|
|
7425
|
+
},
|
|
7426
|
+
onDispose: async (context) => {
|
|
7427
|
+
owed = {
|
|
7428
|
+
...owed,
|
|
7429
|
+
dispose: true,
|
|
7430
|
+
context
|
|
7431
|
+
};
|
|
7432
|
+
if (leases === 0) await dispose(context);
|
|
7433
|
+
}
|
|
7434
|
+
}
|
|
7435
|
+
};
|
|
7436
|
+
}
|
|
7437
|
+
const depth = (level) => PO_SERVER_SCOPE_LEVELS.indexOf(level);
|
|
7438
|
+
/** Throws for a contract listed where it cannot work, so a bad declaration fails at load, not at mount. */
|
|
7439
|
+
function checkContracts(plugin) {
|
|
7440
|
+
for (const level of PO_SERVER_SCOPE_LEVELS) {
|
|
7441
|
+
const provided = plugin.provides?.[level] ?? [];
|
|
7442
|
+
if (provided.length > 0 && plugin[level] === void 0) throw new Error(`Server plugin '${plugin.name}' provides contracts at the ${level} level but declares nothing there.`);
|
|
7443
|
+
const names = /* @__PURE__ */ new Set();
|
|
7444
|
+
for (const contract of provided) {
|
|
7445
|
+
if (contract.scope !== level) throw new Error(`Server plugin '${plugin.name}' lists the ${contract.scope} contract '${contract.name}' as provided at the ${level} level.`);
|
|
7446
|
+
if (names.has(contract.name)) throw new Error(`Server plugin '${plugin.name}' provides contract '${contract.name}' twice.`);
|
|
7447
|
+
names.add(contract.name);
|
|
7448
|
+
}
|
|
7449
|
+
for (const contract of plugin.injects?.[level] ?? []) if (depth(contract.scope) > depth(level)) throw new Error(`Server plugin '${plugin.name}' cannot inject the ${contract.scope} contract '${contract.name}' at the ${level} level.`);
|
|
7450
|
+
}
|
|
7451
|
+
}
|
|
7452
|
+
function defineServerPlugin(plugin) {
|
|
7453
|
+
checkContracts(plugin);
|
|
7454
|
+
return {
|
|
7455
|
+
name: plugin.name,
|
|
7456
|
+
...plugin.providerOverrides ? { providerOverrides: plugin.providerOverrides } : {},
|
|
7457
|
+
...plugin.provides ? { provides: plugin.provides } : {},
|
|
7458
|
+
...plugin.injects ? { injects: plugin.injects } : {},
|
|
7459
|
+
inject: [.../* @__PURE__ */ new Set([
|
|
7460
|
+
PO_SERVER_HOST_SERVICE,
|
|
7461
|
+
PO_SERVER_SCOPE_SERVICE,
|
|
7462
|
+
...plugin.inject ?? []
|
|
7463
|
+
])],
|
|
7464
|
+
async apply(context) {
|
|
7465
|
+
const level = requirePoServerHost(context).scope;
|
|
7466
|
+
const declaration = plugin[level];
|
|
7467
|
+
if (!declaration) return void 0;
|
|
7468
|
+
const required = (plugin.injects?.[level] ?? []).map((contract) => contract.name);
|
|
7469
|
+
if (required.length === 0) return mount(plugin, declaration, context);
|
|
7470
|
+
await context.inject(required, (inner) => mount(plugin, declaration, inner));
|
|
7471
|
+
}
|
|
7472
|
+
};
|
|
7473
|
+
}
|
|
7474
|
+
async function mount(owner, declaration, context) {
|
|
7475
|
+
const host = requirePoServerHost(context);
|
|
7476
|
+
const level = host.scope;
|
|
7477
|
+
const agent = level === "session" ? readPoHeadlessHost(context) : void 0;
|
|
7478
|
+
const share = requirePoServerScope(context).plugin(owner);
|
|
7479
|
+
/** Every root this level holds, built here or reused, for the levels inside it. */
|
|
7480
|
+
const roots = {};
|
|
7481
|
+
/** What this level holds of the build's shared values and outer roots, released once it has unwound. */
|
|
7482
|
+
const leases = [];
|
|
7483
|
+
let withdraw;
|
|
7484
|
+
const lifecycle = createPluginLifecycle((signal) => ({
|
|
7485
|
+
context,
|
|
7486
|
+
host,
|
|
7487
|
+
agent,
|
|
7488
|
+
signal,
|
|
7489
|
+
resources: { async acquire(key, create, dispose) {
|
|
7490
|
+
signal.throwIfAborted();
|
|
7491
|
+
const lease = await share.acquire(key, create, dispose);
|
|
7492
|
+
if (signal.aborted) {
|
|
7493
|
+
await lease.release();
|
|
7494
|
+
signal.throwIfAborted();
|
|
7495
|
+
}
|
|
7496
|
+
leases.push(() => lease.release());
|
|
7497
|
+
return lease.value;
|
|
7498
|
+
} },
|
|
7499
|
+
async scopeRoot(rootLevel, root, rootContext) {
|
|
7500
|
+
const reused = share.outer(rootLevel).map((held) => held[rootLevel]).find((candidate) => candidate !== void 0);
|
|
7501
|
+
if (reused !== void 0) {
|
|
7502
|
+
leases.push(reused.acquire());
|
|
7503
|
+
roots[rootLevel] = reused;
|
|
7504
|
+
return {
|
|
7505
|
+
value: reused.value,
|
|
7506
|
+
...reused.activities === void 0 ? {} : { activities: reused.activities }
|
|
7507
|
+
};
|
|
7508
|
+
}
|
|
7509
|
+
const { held, declaration: owned } = holdRoot(await root(rootContext));
|
|
7510
|
+
roots[rootLevel] = held;
|
|
7511
|
+
return owned;
|
|
7512
|
+
},
|
|
7513
|
+
hosted: (from) => share.outer(from).length > 0
|
|
7514
|
+
}));
|
|
7515
|
+
context.effect(() => async () => {
|
|
7516
|
+
withdraw?.();
|
|
7517
|
+
try {
|
|
7518
|
+
await lifecycle.dispose();
|
|
7519
|
+
} finally {
|
|
7520
|
+
for (const release of leases.splice(0).reverse()) try {
|
|
7521
|
+
await release();
|
|
7522
|
+
} catch (error) {
|
|
7523
|
+
host.context.onNotice(`server plugin '${owner.name}' could not release a shared value (${error instanceof Error ? error.message : String(error)})`);
|
|
7524
|
+
}
|
|
7525
|
+
}
|
|
7526
|
+
});
|
|
7527
|
+
const own = (registration) => {
|
|
7528
|
+
lifecycle.own(() => registration.dispose());
|
|
7529
|
+
if ("mounted" in registration && registration.mounted === false) throw new Error("Server plugin registration was refused.");
|
|
7530
|
+
};
|
|
7531
|
+
await lifecycle.mount(() => typeof declaration === "function" ? declaration(lifecycle.context) : declaration, async (scope) => {
|
|
7532
|
+
for (const service of scope.services ?? []) {
|
|
7533
|
+
const fiber = context.plugin(service);
|
|
7534
|
+
lifecycle.own(() => fiber.dispose());
|
|
7535
|
+
await fiber;
|
|
7536
|
+
}
|
|
7537
|
+
for (const channel of scope.channels ?? []) own(host.registerChannel(channel()));
|
|
7538
|
+
for (const api of scope.api ?? []) own(host.registerApi(api));
|
|
7539
|
+
for (const method of scope.methods ?? []) own(method.register(host));
|
|
7540
|
+
if (!agent) return;
|
|
7541
|
+
const session = scope;
|
|
7542
|
+
for (const restriction of session.toolRestrictions ?? []) {
|
|
7543
|
+
if (!("restrict" in restriction)) {
|
|
7544
|
+
own(agent.registerToolRestriction(restriction));
|
|
7545
|
+
continue;
|
|
7546
|
+
}
|
|
7547
|
+
let registration;
|
|
7548
|
+
lifecycle.own(() => {
|
|
7549
|
+
const current = registration;
|
|
7550
|
+
registration = void 0;
|
|
7551
|
+
return current?.dispose();
|
|
7552
|
+
});
|
|
7553
|
+
const refresh = () => {
|
|
7554
|
+
if (lifecycle.context.signal.aborted) return;
|
|
7555
|
+
const previous = registration;
|
|
7556
|
+
registration = void 0;
|
|
7557
|
+
previous?.dispose();
|
|
7558
|
+
registration = agent.registerToolRestriction(restriction.restrict());
|
|
7559
|
+
if ("mounted" in registration && registration.mounted === false) throw new Error(`Server tool restriction ${restriction.source} was refused.`);
|
|
7560
|
+
};
|
|
7561
|
+
refresh();
|
|
7562
|
+
const unsubscribe = restriction.subscribe?.(refresh);
|
|
7563
|
+
if (unsubscribe) lifecycle.own(unsubscribe);
|
|
7564
|
+
}
|
|
7565
|
+
for (const resource of session.resources ?? []) if (resource !== void 0) own(agent.registerResource(resource));
|
|
7566
|
+
for (const tool of session.tools ?? []) if ("kind" in tool) own(agent.registerTool({
|
|
7567
|
+
...tool,
|
|
7568
|
+
async execute(toolCallId, input, signal, update, execution) {
|
|
7569
|
+
const invocationSignal = signal ? AbortSignal.any([signal, lifecycle.context.signal]) : lifecycle.context.signal;
|
|
7570
|
+
invocationSignal.throwIfAborted();
|
|
7571
|
+
try {
|
|
7572
|
+
return await tool.execute(input, {
|
|
7573
|
+
toolCallId,
|
|
7574
|
+
signal: invocationSignal,
|
|
7575
|
+
cwd: execution.cwd,
|
|
7576
|
+
update: (result) => update?.(result),
|
|
7577
|
+
notify: (request) => execution.client.notify(request)
|
|
7578
|
+
});
|
|
7579
|
+
} catch (error) {
|
|
7580
|
+
return {
|
|
7581
|
+
content: [{
|
|
7582
|
+
type: "text",
|
|
7583
|
+
text: error instanceof Error ? error.message : String(error)
|
|
7584
|
+
}],
|
|
7585
|
+
isError: true
|
|
7586
|
+
};
|
|
7587
|
+
}
|
|
7588
|
+
}
|
|
7589
|
+
}));
|
|
7590
|
+
else own(agent.registerTool(tool));
|
|
7591
|
+
for (const command of session.commands ?? []) if ("kind" in command) own(agent.registerCommand({
|
|
7592
|
+
...command,
|
|
7593
|
+
execute: (args, execution) => {
|
|
7594
|
+
lifecycle.context.signal.throwIfAborted();
|
|
7595
|
+
return command.execute(args, {
|
|
7596
|
+
cwd: execution.cwd,
|
|
7597
|
+
signal: lifecycle.context.signal,
|
|
7598
|
+
notify: (request) => execution.client.notify(request)
|
|
7599
|
+
});
|
|
7600
|
+
}
|
|
7601
|
+
}));
|
|
7602
|
+
else own(agent.registerCommand(command));
|
|
7603
|
+
for (const hook of session.hooks ?? []) own(agent.registerHook(hook));
|
|
7604
|
+
for (const activity of session.activities ?? []) own(agent.registerActivity(activity));
|
|
7605
|
+
});
|
|
7606
|
+
if (level !== "session") withdraw = share.run(roots);
|
|
7607
|
+
return () => lifecycle.dispose();
|
|
7608
|
+
}
|
|
7609
|
+
//#endregion
|
|
7610
|
+
export { IsInteger as $, readPoIsolate as $n, IsObjectNotArray as $t, IsVoid as A, addressId as An, EntriesRegExp as At, IsString as B, seqFromNumber as Bn, IsEqual as Bt, Priority as C, ok as Cn, Get as Ct, Partial as D, LabelsDoc as Dn, IsTypeArray as Dt, With as E, IdentityHistoryDoc as En, IsSet as Et, RecordValue as F, documentCreate as Fn, IsBigInt$1 as Ft, Null as G, withTelemetry as Gn, IsLessEqualThan as Gt, IsNumber as H, BACKGROUND_CONTEXT as Hn, IsGreaterEqualThan as Ht, IsTuple as I, materializeDocument as In, IsBoolean$2 as It, IsLiteralBoolean as J, PO_FS_SERVICE as Jn, IsMinLength as Jt, IsLiteral as K, withoutAbortSignal as Kn, IsLessThan as Kt, Tuple as L, materializeDocumentValue as Ln, IsClassInstance as Lt, IsRecord as M, checkRecordVersion as Mn, EveryAll as Mt, Record as N, defineDoc as Nn, HasPropertyKey as Nt, Omit as O, SessionIdentityDoc as On, Counted as Ot, RecordPattern as P, defineDocFamily as Pn, IsArray$1 as Pt, Integer as Q, readPoFs as Qn, IsObject$1 as Qt, IsUnion as R, resolveAddress as Rn, IsConstructor$1 as Rt, PO_CONFIG_SERVICE as S, getOrThrow as Sn, Assign as St, Instantiate as T, FastModeDoc as Tn, IsRegExp as Tt, Number$1 as U, awaitWithContext as Un, IsGreaterThan as Ut, String$1 as V, copyJson as Vn, IsFunction$1 as Vt, IsNull as W, withAbortSignal as Wn, IsInteger$1 as Wt, IsLiteralString as X, PO_SQLITE_SERVICE as Xn, IsNull$1 as Xt, IsLiteralNumber as Y, PO_SHELL_SERVICE as Yn, IsMultipleOf as Yt, Literal as Z, readPoBrowser as Zn, IsNumber$2 as Zt, requirePoHeadlessHost as _, fileMutationRunner as _n, Ref as _t, PO_LOAD_SKILL_TOOL as a, Keys$1 as an, readPoServerScope as ar, Unreachable as at, defineServerMethod as b, FileError as bn, _Array_ as bt, PoHeadlessToolBusyError as c, Symbols as cn, IsEnum as ct, invalidImageReason as d, PO_SESSION_FILES_SERVICE as dn, Unknown as dt, IsString$2 as en, readPoNpm as er, Boolean$1 as et, isPoHeadlessPromptAdmissionError as f, PO_SESSION_TEMP_DIR as fn, IsObject as ft, readPoHeadlessOwner as g, createSerialRunner as gn, IsRef as gt, readPoHeadlessHost as h, poHomeDirectory as hn, Optional as ht, PO_HEADLESS_HOST_SERVICE as i, IsValueLike as in, defineServiceContract as ir, Hash as it, IsUndefined as j, checkRecordScope as jn, Every as jt, IsTemplateLiteral as k, SessionMetadataDoc as kn, Entries as kt, PoSessionSetupError as l, guard_exports as ln, Unsafe as lt, isPoHeadlessToolModelVisible as m, piAgentDirectory as mn, IsOptional as mt, runCleanups as n, IsUndefined$1 as nn, requirePoSqlite as nr, IsBigInt as nt, PO_SEARCH_SKILLS_TOOL as o, Some as on, requirePoServerScope as or, Intersect as ot, isPoHeadlessToolBusyError as p, prepareSessionEnvironment as pn, _Object_ as pt, IsLiteralBigInt as q, PO_BROWSER_SERVICE as qn, IsMaxLength as qt, PoServerScope as r, IsUnsafePropertyKey as rn, PO_SERVER_SCOPE_SERVICE as rr, IsCodec as rt, PoHeadlessPromptAdmissionError as s, SomeAll as sn, IsIntersect as st, defineServerPlugin as t, IsSymbol$1 as tn, requirePoFs as tr, IsBoolean as tt, dropInvalidImages as u, HOST_SLOT_METADATA as un, IsCyclic as ut, guardedImport as v, nodeHost as vn, ArrayOptions as vt, Evaluate as w, AgentLockDoc as wn, IsMap as wt, Service as x, err as xn, IsSchema as xt, composeServerProviderOverrides as y, ExecutionError as yn, IsArray as yt, Union as z, idFromNumber as zn, IsDeepEqual as zt };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { G as Null, Hn as BACKGROUND_CONTEXT, S as PO_CONFIG_SERVICE, Sn as getOrThrow, V as String$1,
|
|
2
|
-
import { s as readTextIfExists, u as writeFileAtomic } from "./platform-
|
|
3
|
-
import { t as createDirectoryWithMode } from "./atomicJson-
|
|
4
|
-
import { S as isMap, _ as parse, c as globalPoConfigPath, f as repositoryPoConfigPath, h as parsePoConfig, m as configScopeOf, n as poConfigCandidates, s as globalPoConfigDirectory, t as readPoConfigSourcesAsync, v as parseDocument, w as isSeq, x as YAMLMap, y as stringify } from "./layeredConfig-
|
|
5
|
-
import { d as readPoConfigLayers, o as defaultDomainsForMajorMode, r as loadDomainsAsync, u as readPoConfig } from "./harnessState-
|
|
1
|
+
import { G as Null, Hn as BACKGROUND_CONTEXT, S as PO_CONFIG_SERVICE, Sn as getOrThrow, V as String$1, gn as createSerialRunner, ht as Optional, ir as defineServiceContract, pt as _Object_, vn as nodeHost, x as Service, z as Union } from "./serverPlugin-CFEhyxga.js";
|
|
2
|
+
import { s as readTextIfExists, u as writeFileAtomic } from "./platform-CIq8Kome.js";
|
|
3
|
+
import { t as createDirectoryWithMode } from "./atomicJson-BQhr0b4x.js";
|
|
4
|
+
import { S as isMap, _ as parse, c as globalPoConfigPath, f as repositoryPoConfigPath, h as parsePoConfig, m as configScopeOf, n as poConfigCandidates, s as globalPoConfigDirectory, t as readPoConfigSourcesAsync, v as parseDocument, w as isSeq, x as YAMLMap, y as stringify } from "./layeredConfig-C4fvE8Su.js";
|
|
5
|
+
import { d as readPoConfigLayers, o as defaultDomainsForMajorMode, r as loadDomainsAsync, u as readPoConfig } from "./harnessState-DFd42aw_.js";
|
|
6
6
|
import { n as defineApiRoutes, t as apiResponse } from "./hubRevisions-58pU2dW5.js";
|
|
7
|
-
import "./web-
|
|
8
|
-
import { n as savePiImageSettingsAsync, r as DEFAULT_IMAGE_MAX_DIMENSION, t as readPiImageSettings } from "./piConfig-
|
|
9
|
-
import { r as MODES_FILE, t as readMajorModesConfig } from "./majorModes-
|
|
10
|
-
import { t as loadHarnessStateAsync } from "./harnessStore-
|
|
7
|
+
import "./web-Bb6qSzGG.js";
|
|
8
|
+
import { n as savePiImageSettingsAsync, r as DEFAULT_IMAGE_MAX_DIMENSION, t as readPiImageSettings } from "./piConfig-CTIrk5Sf.js";
|
|
9
|
+
import { r as MODES_FILE, t as readMajorModesConfig } from "./majorModes-NI9R9cdG.js";
|
|
10
|
+
import { t as loadHarnessStateAsync } from "./harnessStore-BG2zfn0y.js";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
13
13
|
//#region ../../foundations/po-config/src/services/config/sync.edge.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Hn as BACKGROUND_CONTEXT, Sn as getOrThrow,
|
|
1
|
+
import { Hn as BACKGROUND_CONTEXT, Sn as getOrThrow, gn as createSerialRunner, hn as poHomeDirectory, ir as defineServiceContract, vn as nodeHost } from "./serverPlugin-CFEhyxga.js";
|
|
2
2
|
import { n as infoFor, r as isSealedEnvelope, t as MAX_MESSAGES_PER_KEY } from "./sealedChannel-BeWNTWys.js";
|
|
3
|
-
import { s as readTextIfExists } from "./platform-
|
|
4
|
-
import { n as writePrivateAtomicJsonAsync } from "./atomicJson-
|
|
5
|
-
import "./piSettings-
|
|
6
|
-
import { n as Check } from "./value-
|
|
7
|
-
import { a as PO_BACKGROUND_WORK_SERVICE, i as PO_BACKGROUND_WORK_CHANGED_EVENT, r as BackgroundProviderWorkItemSchema } from "./backgroundWork-
|
|
3
|
+
import { s as readTextIfExists } from "./platform-CIq8Kome.js";
|
|
4
|
+
import { n as writePrivateAtomicJsonAsync } from "./atomicJson-BQhr0b4x.js";
|
|
5
|
+
import "./piSettings-F4H1df-n.js";
|
|
6
|
+
import { n as Check } from "./value-CKjNDElQ.js";
|
|
7
|
+
import { a as PO_BACKGROUND_WORK_SERVICE, i as PO_BACKGROUND_WORK_CHANGED_EVENT, r as BackgroundProviderWorkItemSchema } from "./backgroundWork-DZBsxltI.js";
|
|
8
8
|
import { ECDH, createCipheriv, createDecipheriv, createECDH, createHash, createHmac, hkdfSync, randomBytes, timingSafeEqual } from "node:crypto";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
//#region ../../core/po-web-security/src/services/nodeSealedChannel/index.ts
|