@agimon-ai/po-cloudflare 0.0.2-alpha.20 → 0.0.2-alpha.21
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-DTjnYFAN.js → agent-DZ-OKOHn.js} +1 -1
- package/dist/{apiContracts-DepyzMNr.js → apiContracts-b33nSAAI.js} +4 -80
- package/dist/{approval-Biq3NCWj.js → approval-r3NnI1VC.js} +2 -2
- package/dist/{approvalPrompt-DoHlIPkU.js → approvalPrompt-DWoXxu3S.js} +2 -2
- package/dist/artifactFiles-DLCReI0-.js +1 -0
- package/dist/assets/assets/{CodeEditorView-BU8DeV_G.js → CodeEditorView-XeNS0L9M.js} +2 -2
- package/dist/assets/assets/{abnfDiagram-WEYOIA3C-BkzARjqu.js → abnfDiagram-WEYOIA3C-B6ZW0nkR.js} +2 -2
- package/dist/assets/assets/{architecture-WOLXFQ4H-B_dgnlXa.js → architecture-WOLXFQ4H-bVR64sHO.js} +1 -1
- package/dist/assets/assets/{architectureDiagram-ZHVYKT53-DMGAifk0.js → architectureDiagram-ZHVYKT53-D7tZz3io.js} +2 -2
- package/dist/assets/assets/{blockDiagram-RJAE7QA3-DwTSK4lj.js → blockDiagram-RJAE7QA3-DdwScfiX.js} +2 -2
- package/dist/assets/assets/{c4Diagram-XDPPPE54-IRaOcC_u.js → c4Diagram-XDPPPE54-DgSxZJCV.js} +2 -2
- package/dist/assets/assets/channel-TPcVvp_3.js +2 -0
- package/dist/assets/assets/{chunk-2E7WHVMD-BvS46crW.js → chunk-2E7WHVMD-D5TXC2SM.js} +2 -2
- package/dist/assets/assets/{chunk-4EMNKR2T--n96Xbj0.js → chunk-4EMNKR2T-BWhOSvo1.js} +2 -2
- package/dist/assets/assets/{chunk-55XCU76K-D3h_hFRi.js → chunk-55XCU76K-HkkBzLtZ.js} +2 -2
- package/dist/assets/assets/{chunk-7S6XSTFO-Cj18feJl.js → chunk-7S6XSTFO-CBnjycLU.js} +2 -2
- package/dist/assets/assets/{chunk-AQDTSKZB-DXsT43bg.js → chunk-AQDTSKZB-75lIIq8T.js} +2 -2
- package/dist/assets/assets/{chunk-DSNLSHJZ-Br7dX7yf.js → chunk-DSNLSHJZ-D8PpnXMk.js} +2 -2
- package/dist/assets/assets/{chunk-HAGFOTED-BcozAtPo.js → chunk-HAGFOTED-CXRS2NIN.js} +2 -2
- package/dist/assets/assets/{chunk-HNE4Q36P-B8kgXgRq.js → chunk-HNE4Q36P-BocUqS94.js} +2 -2
- package/dist/assets/assets/{chunk-NQOKRVIF-Dn7UnsqE.js → chunk-NQOKRVIF-CHf_ogYT.js} +2 -2
- package/dist/assets/assets/{chunk-UHW7PFBP-BSJot0vi.js → chunk-UHW7PFBP-DrW1PaIv.js} +2 -2
- package/dist/assets/assets/{chunk-VQ5W62QI-Cpf1EfZK.js → chunk-VQ5W62QI-CLoA7bFm.js} +2 -2
- package/dist/assets/assets/{chunk-WQQL4CDK-Dnc36uZR.js → chunk-WQQL4CDK-BmBsrj9I.js} +2 -2
- package/dist/assets/assets/chunk-XXDRQBXY-iFE4Tl8c.js +2 -0
- package/dist/assets/assets/{chunk-YZO67HFG-BV8_A7x3.js → chunk-YZO67HFG-DShE_cgv.js} +2 -2
- package/dist/assets/assets/{chunk-ZAUX2LTX-C4Ne_31B.js → chunk-ZAUX2LTX-B3oLvSXy.js} +2 -2
- package/dist/assets/assets/{chunk-ZCHMQSOR-Dq9ModsA.js → chunk-ZCHMQSOR-B14vKK7C.js} +2 -2
- package/dist/assets/assets/{classDiagram-v2-4MYWR3UA-1BWEjXP9.js → classDiagram-v2-4MYWR3UA-Da8elIW2.js} +2 -2
- package/dist/assets/assets/{cose-bilkent-JH36ORCC-DREkvC_x.js → cose-bilkent-JH36ORCC-Du4tGtiJ.js} +2 -2
- package/dist/assets/assets/{cynefin-EF2NZ3EQ-CWziP8nx.js → cynefin-EF2NZ3EQ-Cyj6i_WI.js} +1 -1
- package/dist/assets/assets/{cynefinDiagram-WF24UDRP-DOoYmcvz.js → cynefinDiagram-WF24UDRP-DFWXwO7A.js} +2 -2
- package/dist/assets/assets/{dagre-NK4GIZVX-OoAtEico.js → dagre-NK4GIZVX-C1wB_cf-.js} +2 -2
- package/dist/assets/assets/{diagram-CBK3MWTC-B-pl2-iR.js → diagram-CBK3MWTC-MYCOBYl6.js} +2 -2
- package/dist/assets/assets/{diagram-I5XIIV2D-uKzNJSZ2.js → diagram-I5XIIV2D-BFYbKUFf.js} +2 -2
- package/dist/assets/assets/{diagram-ODIL2UCW-CEXY_Tzu.js → diagram-ODIL2UCW-6siqTpv_.js} +2 -2
- package/dist/assets/assets/{diagram-PFBEJUXE-MKlRQo-g.js → diagram-PFBEJUXE-CaBr9CoB.js} +2 -2
- package/dist/assets/assets/{diagram-RJA3I4VV-c2qlCEVs.js → diagram-RJA3I4VV-DAvmuDpc.js} +2 -2
- package/dist/assets/assets/{diagram-TYUNFSNR-DTdqLA6J.js → diagram-TYUNFSNR-CJnhgCpo.js} +2 -2
- package/dist/assets/assets/{dist-qZHwVT1x.js → dist-BQ4W1R18.js} +2 -2
- package/dist/assets/assets/{dist-DvZCwSZ8.js → dist-BnzFckPF.js} +2 -2
- package/dist/assets/assets/{dist-DCKskbBE.js → dist-CFtBpcYL.js} +2 -2
- package/dist/assets/assets/{dist-mQUN8X3n.js → dist-CIQX1z4W.js} +2 -2
- package/dist/assets/assets/{dist-D9lacOpq.js → dist-ChHYoe9_.js} +2 -2
- package/dist/assets/assets/{dist-BzTxJnSR.js → dist-DKxZO8d9.js} +2 -2
- package/dist/assets/assets/{dist-DCc8tQ7G.js → dist-DL6z28wl.js} +2 -2
- package/dist/assets/assets/{dist-4TUOlkyl.js → dist-DNyn1p9Z.js} +2 -2
- package/dist/assets/assets/{dist-DXlts_H5.js → dist-qYlLXIa8.js} +2 -2
- package/dist/assets/assets/{ebnfDiagram-V4P3TTPT-C89wxfCd.js → ebnfDiagram-V4P3TTPT-AUcqDTM3.js} +2 -2
- package/dist/assets/assets/{elk-QONTBCTQ-BMBgLOae.js → elk-QONTBCTQ-aA10PEHJ.js} +2 -2
- package/dist/assets/assets/{erDiagram-KYQIGQAA-Bb04CRa4.js → erDiagram-KYQIGQAA-hhYiqA-x.js} +2 -2
- package/dist/assets/assets/{eventmodeling-K75KTNOO-DSyNf2MV.js → eventmodeling-K75KTNOO-BQZqbRo5.js} +1 -1
- package/dist/assets/assets/flowDiagram-IUGLLWBU-BuyysPYC.js +1 -0
- package/dist/assets/assets/{ganttDiagram-R7GPNTJY-sB7-pF_t.js → ganttDiagram-R7GPNTJY-CLON1GpW.js} +2 -2
- package/dist/assets/assets/{gitGraph-VSP46ZUC-pWPBCmdT.js → gitGraph-VSP46ZUC-DbmvNwR2.js} +1 -1
- package/dist/assets/assets/{gitGraphDiagram-PDYL7XHY-DronDRed.js → gitGraphDiagram-PDYL7XHY-DJVO0WlL.js} +2 -2
- package/dist/assets/assets/index-BiTVAj5E.js +155 -0
- package/dist/assets/assets/{info-OHQRW6UA-B375mT1i.js → info-OHQRW6UA-CAt3Nt3g.js} +1 -1
- package/dist/assets/assets/{infoDiagram-MVDRKAX5-9Hw3wWP7.js → infoDiagram-MVDRKAX5-DTuqH-Zb.js} +2 -2
- package/dist/assets/assets/{ishikawaDiagram-HPEHV2GE-CdPAuupk.js → ishikawaDiagram-HPEHV2GE-BnWvdonT.js} +2 -2
- package/dist/assets/assets/{journeyDiagram-BOSHW7O7-hqmaHM9u.js → journeyDiagram-BOSHW7O7-Btxtcgvl.js} +2 -2
- package/dist/assets/assets/{kanban-definition-FNSA4HC5-BdOHplX4.js → kanban-definition-FNSA4HC5-q7ek9o_H.js} +2 -2
- package/dist/assets/assets/{line-BCSC3Bu2.js → line-B7yLilmC.js} +2 -2
- package/dist/assets/assets/{linear-D5ddQU3r.js → linear-y8aSKEli.js} +2 -2
- package/dist/assets/assets/{mermaid-parser.core-BaSUi_Ph.js → mermaid-parser.core-B4rH50nD.js} +4 -4
- package/dist/assets/assets/{mermaid.core-CUUsU9Ou.js → mermaid.core-DnRVHTjE.js} +5 -5
- package/dist/assets/assets/{mindmap-definition-6OY57UG3-BtVkhvIZ.js → mindmap-definition-6OY57UG3-DT9Afs2v.js} +2 -2
- package/dist/assets/assets/{packet-JDAUHWVQ-CQ3OUDwI.js → packet-JDAUHWVQ-CnqNbu4p.js} +1 -1
- package/dist/assets/assets/{pegDiagram-ECIUJNBX-DDnq-Kn3.js → pegDiagram-ECIUJNBX-cvxdBBFq.js} +2 -2
- package/dist/assets/assets/{pie-XZMESJXO-BvOFTkQB.js → pie-XZMESJXO-etXMNsaL.js} +1 -1
- package/dist/assets/assets/{pieDiagram-GNMPY74T-Bdwhl9jD.js → pieDiagram-GNMPY74T-CBN-R3_j.js} +2 -2
- package/dist/assets/assets/{quadrantDiagram-D57K4MC3-GHKoDEeT.js → quadrantDiagram-D57K4MC3-C5jjVPIH.js} +2 -2
- package/dist/assets/assets/{radar-ABXABTNO-Yk9rKkKW.js → radar-ABXABTNO-CAMd_mrV.js} +1 -1
- package/dist/assets/assets/{railroad-I3PHUGI6-Crr2QEwm.js → railroad-I3PHUGI6-DIs3auoe.js} +1 -1
- package/dist/assets/assets/{railroad-abnf-LNEFI6M7-CLrgwBog.js → railroad-abnf-LNEFI6M7-CJXr1qWy.js} +1 -1
- package/dist/assets/assets/{railroad-ebnf-DWYD2UWJ-zWReI6MC.js → railroad-ebnf-DWYD2UWJ-DfwtykqI.js} +1 -1
- package/dist/assets/assets/{railroad-peg-JR7BVNR7-CnVnlaHi.js → railroad-peg-JR7BVNR7-B8beAhTs.js} +1 -1
- package/dist/assets/assets/{railroadDiagram-Y72NRBL7-MJ68mMla.js → railroadDiagram-Y72NRBL7-BDcQE-EL.js} +2 -2
- package/dist/assets/assets/{requirementDiagram-EQYSW5RA-BYb-mTCH.js → requirementDiagram-EQYSW5RA-KJ4-QjZM.js} +2 -2
- package/dist/assets/assets/{sankeyDiagram-SY24JHO5-DzONJsqQ.js → sankeyDiagram-SY24JHO5-VjIB-Ybr.js} +2 -2
- package/dist/assets/assets/{sequenceDiagram-BLEHNHQU-0vav9YWV.js → sequenceDiagram-BLEHNHQU-MfMuWq1M.js} +2 -2
- package/dist/assets/assets/{src-DZJUnjaM.js → src-BAxIj8GJ.js} +2 -2
- package/dist/assets/assets/{stateDiagram-v2-A6IESKWZ-B0M8THPh.js → stateDiagram-v2-A6IESKWZ-mHwLRRCY.js} +2 -2
- package/dist/assets/assets/{swimlanes-B3ENRKFQ-5YJZCHIB.js → swimlanes-B3ENRKFQ-PArlYoqV.js} +2 -2
- package/dist/assets/assets/swimlanesDiagram-AYQRV4AK-The09-5S.js +9 -0
- package/dist/assets/assets/{timeline-definition-JXYKGLGB-us1LwUHo.js → timeline-definition-JXYKGLGB-B2nKiNFU.js} +2 -2
- package/dist/assets/assets/{treeView-D4JQ5SDB-BSLlcDre.js → treeView-D4JQ5SDB-gU23_RuI.js} +1 -1
- package/dist/assets/assets/{treemap-SAJKECNS-DZ2SwLmk.js → treemap-SAJKECNS-CiqoMvZa.js} +1 -1
- package/dist/assets/assets/{usecaseDiagram-WPOLBNNX-BrmvO_6k.js → usecaseDiagram-WPOLBNNX-DpeoWpMK.js} +2 -2
- package/dist/assets/assets/{vennDiagram-Q3Y3IDCW-FKXSeKp5.js → vennDiagram-Q3Y3IDCW-C31iGKvM.js} +2 -2
- package/dist/assets/assets/{wardley-7MLQ67FV-DZ_vIMp2.js → wardley-7MLQ67FV-CIzHhzNw.js} +1 -1
- package/dist/assets/assets/{wardleyDiagram-IVAIDKWA-CfLYNckm.js → wardleyDiagram-IVAIDKWA-DIIkoezc.js} +2 -2
- package/dist/assets/assets/{webpack-CiS_BB3R.js → webpack-RFseiMZW.js} +2 -2
- package/dist/assets/assets/{xychartDiagram-4URNHDU4-DBucwhQh.js → xychartDiagram-4URNHDU4-QiHL91kC.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-CKKRZ7-h.css +2 -0
- package/dist/assets/plugins/assets/browserCaptureWorklet-Droj0fW0-Droj0fW0.js +13 -0
- package/dist/assets/plugins/assets/sileroVadWorker-D894njUe-DjN_BMWf.mjs +110 -0
- package/dist/assets/plugins/assets/silero_vad_v6.2.1-SjbCxFXk-SjbCxFXk.onnx +0 -0
- package/dist/assets/plugins/chunks/po-web-runtime-BJDT6Lbw.js +1 -0
- package/dist/assets/plugins/compositions.json +1 -1
- package/dist/assets/plugins/slots/approval.293d9a00-BXIhaPlQ.js +2 -0
- package/dist/assets/plugins/slots/artifacts.24567664-ZzR0gbvy.js +1 -0
- package/dist/assets/plugins/slots/author.0998a880-DAbA-7rb.js +93 -0
- package/dist/assets/plugins/slots/{autocompact.ec8f713f-B3KTYwW1.js → autocompact.dd97d013-IVq4Z6qm.js} +1 -1
- package/dist/assets/plugins/slots/builtin-tools.36d7400b-CpCLjRRN.js +7 -0
- package/dist/assets/plugins/slots/codemode.8eaee717-VWt9PqsU.js +10 -0
- package/dist/assets/plugins/slots/domain.5e95fc37-5PIUBqDe.js +1 -0
- package/dist/assets/plugins/slots/edit.385c9aa9-DNAjPNG5.js +7 -0
- package/dist/assets/plugins/slots/files.daf34ed8-CQaTz0i1.js +2 -0
- package/dist/assets/plugins/slots/goal.77ec9930-B8EkarBq.js +1 -0
- package/dist/assets/plugins/slots/grep.02052cdc-CIRhO2gY.js +1 -0
- package/dist/assets/plugins/slots/help.ecd4c0f9-naMF9NN1.js +3 -0
- package/dist/assets/plugins/slots/log.a86eb6d0-D5__rAZJ.js +4 -0
- package/dist/assets/plugins/slots/{mcp.ea8b6aa2-D0CkHnIw.js → mcp.974af249-DPNHn9XH.js} +10 -10
- package/dist/assets/plugins/slots/plan.bafb8f68-C5GEpybF.js +3 -0
- package/dist/assets/plugins/slots/{profile.63bc3ae6-BSY3iYfJ.js → profile.48851a1d-yX6tzV3x.js} +1 -1
- package/dist/assets/plugins/slots/prompts.723d7748-B7zpPeoF.js +3 -0
- package/dist/assets/plugins/slots/read.46bf6536-Cw5Z5z5T.js +1 -0
- package/dist/assets/plugins/slots/runner.53e9bd76-CiQR_FPX.js +8 -0
- package/dist/assets/plugins/slots/skill.086701a4-CL6h_F-x.js +4 -0
- package/dist/assets/plugins/slots/vault.ac9935c8-DKERQYg4.js +1 -0
- package/dist/assets/plugins/slots/voice.e85ca7f9-DEgb-U9m.js +1 -0
- package/dist/{atomicJson-DCIsEywH.js → atomicJson-C_7F2zD1.js} +2 -3
- package/dist/{backgroundWork-Bswjs1av.js → backgroundWork-B1mPDYlf.js} +1 -1
- package/dist/{codemode-CgVosRtU.js → codemode-DQFmrosw.js} +1 -1
- package/dist/{contracts-CylyLZC8.js → contracts-DD3f1Lpn.js} +1 -1
- package/dist/exports-B0WMEXCP.js +34 -0
- package/dist/{exports-DERO0cQf.js → exports-D09VsUk-.js} +6 -7
- package/dist/{exports-C_dclnKs.js → exports-nV43ShA7.js} +10 -9
- package/dist/{extensionFile-Ds7RCpnb.js → extensionFile-DNM4xsje.js} +16 -2
- package/dist/{domains-BqChtBLN.js → harnessState-Dwrk3lfv.js} +90 -5
- package/dist/{harnessStore-BectazJQ.js → harnessStore-Z7yDLO45.js} +4 -5
- package/dist/{help-Dpm82qDr.js → help-w6vVEZGL.js} +15 -5
- package/dist/hubChannel-Cm-sxOvU.js +21 -0
- package/dist/{index.edge-b0z7PQ6b.js → index.edge-DyYmurS7.js} +14 -2
- package/dist/{index.edge-B0D_Lgbx.js → index.edge-K0w5auwG.js} +2 -2
- package/dist/{index.edge-BLmsRNW8.js → index.edge-Xa5LLtxz.js} +13 -3
- package/dist/{layeredConfig-pQGjhAks.js → layeredConfig-CUkYUs1f.js} +74 -5
- package/dist/{majorModes-BrL4EtzH.js → majorModes-BB0PXgFn.js} +3 -4
- package/dist/majorModes-C7vtBs4D.js +1 -0
- package/dist/{mcpProjection-pbPBBuvs.js → mcpProjection-BtKzB6oK.js} +2 -2
- package/dist/modeDefinition-C3Zbrw48.js +44 -0
- package/dist/narration-CpRurWLO.js +127 -0
- package/dist/{notification-CINsJWDL.js → notification-kckG3leF.js} +2 -2
- package/dist/{hubChannel-COvmdWGO.js → packageApi-t1oCjNDU.js} +2 -22
- package/dist/{piConfig-BDUpA6w0.js → piConfig-DQzlbPY4.js} +4 -5
- package/dist/piSettings-Cf1QofNe.js +1 -0
- package/dist/platform-BIEiM4TG.js +113 -0
- package/dist/pluginProtocol-BqXXyI4z.js +80 -0
- package/dist/{protocol-B6LbEIe6.js → protocol-DDL8geoS.js} +2 -2
- package/dist/{server-DRcCuj6P.js → server-AbXyhXlY.js} +4 -4
- package/dist/{server-Re1VNk9s.js → server-B6dqQoh2.js} +7 -6
- package/dist/{server-cStfn1Yv.js → server-BIHo9TFu.js} +4 -4
- package/dist/{server-1O3JEYO0.js → server-BJ7DNzCp.js} +7 -7
- package/dist/server-BO-j_GbD.js +15106 -0
- package/dist/{server-Cgym-G0a.js → server-BQzAiMns.js} +11 -11
- package/dist/server-BR7SZtj7.js +3125 -0
- package/dist/{server-DL6UyXfJ.js → server-BT2ORK83.js} +9 -8
- package/dist/{server-CzJjYgVk.js → server-BbSHYRnY.js} +3 -3
- package/dist/{server-DFCXmDed.js → server-BqoKlEGk.js} +8 -8
- package/dist/{server-BXFDsLgm.js → server-Busl0pQI.js} +8 -9
- package/dist/server-CIHM4jqu.js +1116 -0
- package/dist/{server-DhkR6ugd.js → server-CgWSSdvd.js} +6 -7
- package/dist/{server-B8P-UkxF.js → server-Co_UWKrR.js} +5 -5
- package/dist/{server-Bt6Zsqo8.js → server-CuEPb7u-.js} +2 -2
- package/dist/{server-V8W5mcGu.js → server-D40q2Jpx.js} +47 -27
- package/dist/{server-OerXqXJT.js → server-DCyf2Asb.js} +3 -4
- package/dist/{server-CCwwnpH0.js → server-DH7PfLln.js} +5 -5
- package/dist/{server-_0288DYR.js → server-DJ8bc89M.js} +3 -4
- package/dist/{server-GIQIpf33.js → server-DYdp0W9v.js} +7 -7
- package/dist/{server-B2G-c0hg.js → server-DsdPEYGu.js} +5 -5
- package/dist/{server-Dgn4el5K.js → server-DymH4Ucq.js} +4 -5
- package/dist/{server-pY027myK.js → server-IqECnUrb.js} +13 -236
- package/dist/{server-Ci_BGVwd.js → server-KBgW77zh.js} +3 -3
- package/dist/server-RW_9R3R3.js +1522 -0
- package/dist/server-aUit8j6r.js +1028 -0
- package/dist/{server-Ci3ls6LL.js → server-gifRriZK.js} +10 -11
- package/dist/{server-BR9yl54i.js → server-nkUlqnAL.js} +10 -10
- package/dist/server-oxyEbv1a.js +1256 -0
- package/dist/{server-DPTp6GXS.js → server-ub3s16Mc.js} +4 -4
- package/dist/{serverPlugin-OOfjB8tm.js → serverPlugin-CELT6P0Q.js} +12 -3
- package/dist/{sessionConfig-DfwcUKO2.js → sessionConfig-RQGvfm6E.js} +9 -10
- package/dist/{server-CyYesT-G.js → type-ASYnCGVW.js} +9 -1031
- package/dist/{validation-DuOGOKEi.js → validation-BJxVSAwx.js} +8 -3
- package/dist/{value-DyVsxCwZ.js → value-_W31So3B.js} +1 -1
- package/dist/{vaultSettings-BFCRCBM3.js → vaultSettings-Di3n5YIg.js} +1 -1
- package/dist/voiceTools-RMn4HvWo.js +246 -0
- package/dist/web-DCP7ELJj.js +3 -0
- package/dist/worker.js +345 -244
- package/dist/{workflow-BgwWq0nq.js → workflow-B7qx0Vv9.js} +1 -1
- package/package.json +37 -32
- package/wrangler.jsonc +2 -0
- package/dist/assets/assets/channel-BXwM62E-.js +0 -2
- package/dist/assets/assets/chunk-XXDRQBXY-C9Ka5KSI.js +0 -2
- package/dist/assets/assets/flowDiagram-IUGLLWBU-DXuTqLUd.js +0 -1
- package/dist/assets/assets/index-DdAdCxGc.js +0 -155
- package/dist/assets/assets/swimlanesDiagram-AYQRV4AK-aJTRXiIU.js +0 -9
- package/dist/assets/plugins/assets/base-C3j1WCCq.css +0 -2
- package/dist/assets/plugins/chunks/po-web-runtime-Czm_C4SJ.js +0 -1
- package/dist/assets/plugins/slots/approval.3e4ea6e4-CqQk6XG_.js +0 -2
- package/dist/assets/plugins/slots/artifacts.84980c32-DQlO5IFk.js +0 -1
- package/dist/assets/plugins/slots/builtin-tools.16ef5e25-CZRYQVIP.js +0 -7
- package/dist/assets/plugins/slots/codemode.5f359b9c-Bzl_K_vt.js +0 -10
- package/dist/assets/plugins/slots/domain.832848c8-CvnpuKCY.js +0 -1
- package/dist/assets/plugins/slots/edit.7c802139-kaxIknZ-.js +0 -7
- package/dist/assets/plugins/slots/files.364f16c9-wuB8gcQA.js +0 -2
- package/dist/assets/plugins/slots/grep.d8bf9f57-3FnU8p-d.js +0 -1
- package/dist/assets/plugins/slots/log.07fd59a4-C0PXQ0O1.js +0 -4
- package/dist/assets/plugins/slots/prompts.9d9b47cc-xdCkNkoA.js +0 -3
- package/dist/assets/plugins/slots/read.926c024f-qqaxVlEX.js +0 -1
- package/dist/assets/plugins/slots/runner.5393fa6c-DfO2Z9HG.js +0 -8
- package/dist/assets/plugins/slots/skill.56c1cc07-CL_n-l4h.js +0 -4
- package/dist/assets/plugins/slots/vault.587549ba-DbG3F_on.js +0 -1
- package/dist/harnessState-gmzJcPGt.js +0 -88
- package/dist/harnessStore-C0Zwvny8.js +0 -1
- package/dist/majorModes-WXt22_km.js +0 -1
- package/dist/piSettings-tdui0CZI.js +0 -1
- package/dist/platform-yhQXrrM_.js +0 -16
- package/dist/platformFiles-DB3Cw1l_.js +0 -64
- package/dist/web-cN41ySs9.js +0 -3
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./platform-
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import {
|
|
6
|
-
import { n as
|
|
7
|
-
import { i as materializePluginEntries, n as skillName, r as splitFrontmatter } from "./index.edge-B0D_Lgbx.js";
|
|
1
|
+
import { Hn as BACKGROUND_CONTEXT, Sn as getOrThrow, V as String$1, Wn as withAbortSignal, ht as Optional, pt as _Object_, tr as requirePoFs, v as composeServerProviderOverrides, vn as nodeHost } from "./serverPlugin-CELT6P0Q.js";
|
|
2
|
+
import "./platform-BIEiM4TG.js";
|
|
3
|
+
import { a as resolveSharedSkillsAsync, i as resolvePluginEntriesAsync, n as listDomainNamesAsync, t as readHarnessState } from "./harnessState-Dwrk3lfv.js";
|
|
4
|
+
import { c as defineRoot, h as defineServerPlugin, n as composeRootInjects, t as composeRootHooks, u as defineRoutedContribution } from "./extensionFile-DNM4xsje.js";
|
|
5
|
+
import { n as readPackageResource, t as packageResourcePath } from "./index.edge-DyYmurS7.js";
|
|
6
|
+
import { i as materializePluginEntries, n as skillName, r as splitFrontmatter } from "./index.edge-K0w5auwG.js";
|
|
8
7
|
import path from "node:path";
|
|
9
8
|
//#region ../../foundations/po-skill/src/constants/skillInventory.ts
|
|
10
9
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./serverPlugin-
|
|
2
|
-
import { i as resolveLayers } from "./majorModes-
|
|
3
|
-
import {
|
|
4
|
-
import { n as readPackageResource, t as packageResourcePath } from "./index.edge-
|
|
5
|
-
import "./majorModes-
|
|
1
|
+
import "./serverPlugin-CELT6P0Q.js";
|
|
2
|
+
import { i as resolveLayers } from "./majorModes-BB0PXgFn.js";
|
|
3
|
+
import { h as defineServerPlugin, l as defineRoute, s as defineResource, u as defineRoutedContribution } from "./extensionFile-DNM4xsje.js";
|
|
4
|
+
import { n as readPackageResource, t as packageResourcePath } from "./index.edge-DyYmurS7.js";
|
|
5
|
+
import "./majorModes-C7vtBs4D.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.`);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./serverPlugin-
|
|
1
|
+
import "./serverPlugin-CELT6P0Q.js";
|
|
2
2
|
import { t as defineCommand } from "./pluginContributions-Be9EnCAW.js";
|
|
3
|
-
import {
|
|
3
|
+
import { d as defineServerCommand, h as defineServerPlugin } from "./extensionFile-DNM4xsje.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,20 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
6
|
-
import
|
|
1
|
+
import { Hn as BACKGROUND_CONTEXT, S as PO_CONFIG_SERVICE, Sn as getOrThrow, ar as defineServiceContract, gn as createSerialRunner, tr as requirePoFs, v as composeServerProviderOverrides, vn as nodeHost, x as Service } from "./serverPlugin-CELT6P0Q.js";
|
|
2
|
+
import { s as readTextIfExists, u as writeFileAtomic } from "./platform-BIEiM4TG.js";
|
|
3
|
+
import "./exports-nV43ShA7.js";
|
|
4
|
+
import { a as defineHook, c as defineRoot, h as defineServerPlugin, n as composeRootInjects, t as composeRootHooks } from "./extensionFile-DNM4xsje.js";
|
|
5
|
+
import { l as readMinorModeCatalog, s as PO_MINOR_MODE_CATALOG_SERVICE } from "./validation-BJxVSAwx.js";
|
|
6
|
+
import "./exports-B0WMEXCP.js";
|
|
7
7
|
import { createHash, randomUUID } from "node:crypto";
|
|
8
8
|
import { join } from "node:path";
|
|
9
|
-
//#region ../../foundations/po-config/src/services/harnessStore/sync.edge.ts
|
|
10
|
-
function nodeOnly(name, asyncName) {
|
|
11
|
-
throw new Error(`${name} is Node-only; use ${asyncName} with a PoPlatform on the edge.`);
|
|
12
|
-
}
|
|
13
|
-
/** @deprecated Node-only sync shim; use loadHarnessStateAsync with readPoSessionEnvironment. Removed in M2. */
|
|
14
|
-
function getSessionHarnessState(_sessionId, _report) {
|
|
15
|
-
return nodeOnly("getSessionHarnessState", "loadHarnessStateAsync");
|
|
16
|
-
}
|
|
17
|
-
//#endregion
|
|
18
9
|
//#region ../../foundations/po-cache/src/models/promptCacheTelemetry.ts
|
|
19
10
|
const DEFAULT_OBSERVATION_LIMIT = 64;
|
|
20
11
|
var PromptCacheTelemetry = class {
|
|
@@ -287,9 +278,9 @@ function isErrorMessage(message) {
|
|
|
287
278
|
const record = typeof message === "object" && message !== null ? message : void 0;
|
|
288
279
|
return record?.stopReason === "error" || record?.stopReason === "aborted";
|
|
289
280
|
}
|
|
290
|
-
function createCacheRuntime(dependencies, environment) {
|
|
291
|
-
const parentNamespaceEnvironment = new OwnedEnvironmentValue(PO_PROMPT_CACHE_PARENT_NAMESPACE_ENV);
|
|
292
|
-
const rootSessionEnvironment = new OwnedEnvironmentValue(PO_PROMPT_CACHE_ROOT_SESSION_ENV);
|
|
281
|
+
function createCacheRuntime(dependencies, environment, readHarness, namespaceEnvironment) {
|
|
282
|
+
const parentNamespaceEnvironment = new OwnedEnvironmentValue(PO_PROMPT_CACHE_PARENT_NAMESPACE_ENV, namespaceEnvironment);
|
|
283
|
+
const rootSessionEnvironment = new OwnedEnvironmentValue(PO_PROMPT_CACHE_ROOT_SESSION_ENV, namespaceEnvironment);
|
|
293
284
|
const projectedParentNamespace = stringValue(environment[PO_PROMPT_CACHE_PARENT_NAMESPACE_ENV]);
|
|
294
285
|
const childProjection = stringValue(environment[PO_PROMPT_CACHE_CHILD_PROJECTION_ENV]);
|
|
295
286
|
const isProjectedChild = Boolean(projectedParentNamespace && childProjection);
|
|
@@ -299,7 +290,7 @@ function createCacheRuntime(dependencies, environment) {
|
|
|
299
290
|
const refreshParentNamespace = () => {
|
|
300
291
|
if (isProjectedChild) return parentNamespace;
|
|
301
292
|
if (!rootSessionId) return void 0;
|
|
302
|
-
const harness =
|
|
293
|
+
const harness = readHarness();
|
|
303
294
|
parentNamespace = createParentPromptCacheNamespace({
|
|
304
295
|
rootSessionId,
|
|
305
296
|
compositionFingerprint: harness.compositionFingerprint,
|
|
@@ -349,6 +340,12 @@ function createCacheRuntime(dependencies, environment) {
|
|
|
349
340
|
};
|
|
350
341
|
}
|
|
351
342
|
//#endregion
|
|
343
|
+
//#region ../../foundations/po-cache/src/services/environment/sync.edge.ts
|
|
344
|
+
/** Keep optimizer-owned values private to this session, never in the Worker's process environment. */
|
|
345
|
+
function cacheEnvironment(environment) {
|
|
346
|
+
return { ...environment };
|
|
347
|
+
}
|
|
348
|
+
//#endregion
|
|
352
349
|
//#region ../../foundations/po-cache/src/services/agentDirectory/index.edge.ts
|
|
353
350
|
/** Pi's default agent directory under the edge home; the edge has no process environment to override it. */
|
|
354
351
|
function defaultAgentDirectory() {
|
|
@@ -3360,6 +3357,15 @@ function createOptimizerSupport(STATE_DIR, environment, fs) {
|
|
|
3360
3357
|
};
|
|
3361
3358
|
}
|
|
3362
3359
|
//#endregion
|
|
3360
|
+
//#region ../../foundations/po-cache/src/services/nativeOptimizer/sync.edge.ts
|
|
3361
|
+
/** Durable Object shards have no OS process. Zero also skips process-liveness checks during cleanup. */
|
|
3362
|
+
function cacheProcessIdentity() {
|
|
3363
|
+
return {
|
|
3364
|
+
pid: 0,
|
|
3365
|
+
ppid: 0
|
|
3366
|
+
};
|
|
3367
|
+
}
|
|
3368
|
+
//#endregion
|
|
3363
3369
|
//#region ../../foundations/po-cache/src/services/nativeOptimizer/index.ts
|
|
3364
3370
|
const STATUS_KEY = "pi-cache-stats";
|
|
3365
3371
|
const PERSIST_DEBOUNCE_MS = 2e3;
|
|
@@ -3424,8 +3430,7 @@ function createNativeOptimizer(initial, fs, stateDir = defaultAgentDirectory())
|
|
|
3424
3430
|
instanceId,
|
|
3425
3431
|
sessionHash,
|
|
3426
3432
|
process: {
|
|
3427
|
-
|
|
3428
|
-
ppid: process.ppid,
|
|
3433
|
+
...cacheProcessIdentity(),
|
|
3429
3434
|
instanceStartedAt
|
|
3430
3435
|
},
|
|
3431
3436
|
lifecycle: {
|
|
@@ -3657,7 +3662,7 @@ function createNativeOptimizer(initial, fs, stateDir = defaultAgentDirectory())
|
|
|
3657
3662
|
handle: (_event, context) => serialized(async () => {
|
|
3658
3663
|
if (started || closed) return;
|
|
3659
3664
|
started = true;
|
|
3660
|
-
releaseRetention = acquireEnvironmentValue("PI_CACHE_RETENTION", "long");
|
|
3665
|
+
releaseRetention = acquireEnvironmentValue("PI_CACHE_RETENTION", "long", cacheEnvironment(initial.environment));
|
|
3661
3666
|
await support.refreshFileConfig();
|
|
3662
3667
|
currentGlobalEpoch = await support.readGlobalStatsEpoch();
|
|
3663
3668
|
await support.removeLegacyStatsFiles();
|
|
@@ -3741,10 +3746,14 @@ var PromptCacheTelemetryService = class extends Service {
|
|
|
3741
3746
|
var root_server_default = defineRoot(({ agent, context: root }) => {
|
|
3742
3747
|
if (!agent) throw new Error("Cache statistics require the native session host.");
|
|
3743
3748
|
const telemetry = new PromptCacheTelemetry();
|
|
3749
|
+
let config;
|
|
3744
3750
|
const runtime = createCacheRuntime({
|
|
3745
3751
|
telemetry,
|
|
3746
3752
|
now: Date.now
|
|
3747
|
-
}, agent.context.environment)
|
|
3753
|
+
}, agent.context.environment, () => {
|
|
3754
|
+
if (!config) throw new Error("Cache requires the session configuration.");
|
|
3755
|
+
return config.getSnapshot().harness;
|
|
3756
|
+
}, cacheEnvironment(agent.context.environment));
|
|
3748
3757
|
const optimizer = createNativeOptimizer(agent.context, requirePoFs(root));
|
|
3749
3758
|
return {
|
|
3750
3759
|
value: { hooks: optimizer.hooks.map((hook) => {
|
|
@@ -3764,9 +3773,20 @@ var root_server_default = defineRoot(({ agent, context: root }) => {
|
|
|
3764
3773
|
};
|
|
3765
3774
|
return hook;
|
|
3766
3775
|
}) },
|
|
3767
|
-
services: [
|
|
3768
|
-
|
|
3769
|
-
|
|
3776
|
+
services: [
|
|
3777
|
+
(context) => {
|
|
3778
|
+
context.inject([PO_CONFIG_SERVICE], (scoped) => {
|
|
3779
|
+
config = scoped.get(PO_CONFIG_SERVICE);
|
|
3780
|
+
return () => {
|
|
3781
|
+
config = void 0;
|
|
3782
|
+
};
|
|
3783
|
+
});
|
|
3784
|
+
},
|
|
3785
|
+
(context) => {
|
|
3786
|
+
new PromptCacheTelemetryService(context, telemetry);
|
|
3787
|
+
},
|
|
3788
|
+
runtime.plugin
|
|
3789
|
+
],
|
|
3770
3790
|
async onDispose() {
|
|
3771
3791
|
try {
|
|
3772
3792
|
await optimizer.dispose();
|
|
@@ -3775,7 +3795,7 @@ var root_server_default = defineRoot(({ agent, context: root }) => {
|
|
|
3775
3795
|
}
|
|
3776
3796
|
}
|
|
3777
3797
|
};
|
|
3778
|
-
});
|
|
3798
|
+
}, { inject: [defineServiceContract(PO_CONFIG_SERVICE, { scope: "session" })] });
|
|
3779
3799
|
//#endregion
|
|
3780
3800
|
//#region ../../foundations/po-cache/src/extensions/workspaces/sessions/(backend)/hook/agent-settled.server.ts
|
|
3781
3801
|
var agent_settled_server_default = defineHook((context) => context.root.hooks.find((hook) => hook.event === "agent_settled"));
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import "./
|
|
4
|
-
import { d as defineServerTool, p as defineServerPlugin } from "./extensionFile-Ds7RCpnb.js";
|
|
1
|
+
import { Hn as BACKGROUND_CONTEXT, Jn as PO_FS_SERVICE, Q as Integer, Sn as getOrThrow, V as String$1, Wn as withAbortSignal, et as Boolean, ht as Optional, pt as _Object_, tr as requirePoFs } from "./serverPlugin-CELT6P0Q.js";
|
|
2
|
+
import { i as FileTooLargeError, o as readBoundedFile } from "./platform-BIEiM4TG.js";
|
|
3
|
+
import { f as defineServerTool, h as defineServerPlugin } from "./extensionFile-DNM4xsje.js";
|
|
5
4
|
import { a as decodeUtf8, c as formatFileHeader, i as computeFileTag, l as formatTaggedLine, n as resolveInputPath, o as displayPath, p as splitLines, t as isWritableFile } from "./index.edge-ClLTmPFz.js";
|
|
6
5
|
import { i as truncateLine, n as formatSize, r as truncateHead, t as DEFAULT_MAX_BYTES } from "./truncate-M3KbFyVj.js";
|
|
7
6
|
import { basename, posix, resolve } from "node:path";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./platform-
|
|
3
|
-
import "./piSettings-
|
|
4
|
-
import {
|
|
1
|
+
import { Hn as BACKGROUND_CONTEXT, Jn as PO_FS_SERVICE, Sn as getOrThrow, Xn as PO_SQLITE_SERVICE, hn as poHomeDirectory, ir as PO_SERVER_SCOPE_SERVICE, nr as requirePoSqlite, sr as requirePoServerScope, tr as requirePoFs, v as composeServerProviderOverrides, vn as nodeHost } from "./serverPlugin-CELT6P0Q.js";
|
|
2
|
+
import "./platform-BIEiM4TG.js";
|
|
3
|
+
import "./piSettings-Cf1QofNe.js";
|
|
4
|
+
import { c as defineRoot, h as defineServerPlugin, n as composeRootInjects, t as composeRootHooks } from "./extensionFile-DNM4xsje.js";
|
|
5
5
|
import { t as applySqliteMigrations } from "./migrations-5gbLIQIc.js";
|
|
6
|
-
import { i as PO_DB_PREFIX_PATTERN, r as PO_DB_FILE, t as PO_DB_CONTRACT } from "./contracts-
|
|
6
|
+
import { i as PO_DB_PREFIX_PATTERN, r as PO_DB_FILE, t as PO_DB_CONTRACT } from "./contracts-DD3f1Lpn.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
//#region ../../foundations/po-db/src/services/poDb/index.ts
|
|
9
9
|
/** sqlite names its own automatic indexes `sqlite_autoindex_*`; nobody owns those. */
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import "./
|
|
4
|
-
import { d as defineServerTool, p as defineServerPlugin } from "./extensionFile-Ds7RCpnb.js";
|
|
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-CELT6P0Q.js";
|
|
2
|
+
import { i as FileTooLargeError, o as readBoundedFile } from "./platform-BIEiM4TG.js";
|
|
3
|
+
import { f as defineServerTool, h as defineServerPlugin } from "./extensionFile-DNM4xsje.js";
|
|
5
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";
|
|
6
5
|
import { posix } from "node:path";
|
|
7
6
|
//#region ../../default/po-edit/src/schemas/editTool.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./platform-
|
|
3
|
-
import "./piSettings-
|
|
4
|
-
import "./approvalPrompt-
|
|
1
|
+
import { Hn as BACKGROUND_CONTEXT, Sn as getOrThrow, mn as piAgentDirectory, tr as requirePoFs, vn as nodeHost } from "./serverPlugin-CELT6P0Q.js";
|
|
2
|
+
import "./platform-BIEiM4TG.js";
|
|
3
|
+
import "./piSettings-Cf1QofNe.js";
|
|
4
|
+
import "./approvalPrompt-DWoXxu3S.js";
|
|
5
5
|
import { n as defineApiRoutes, t as apiResponse } from "./hubRevisions-58pU2dW5.js";
|
|
6
|
-
import {
|
|
7
|
-
import { n as readPackageResource } from "./index.edge-
|
|
6
|
+
import { d as defineServerCommand, h as defineServerPlugin, l as defineRoute, s as defineResource } from "./extensionFile-DNM4xsje.js";
|
|
7
|
+
import { n as readPackageResource } from "./index.edge-DyYmurS7.js";
|
|
8
8
|
import "./browser-BWf8OMfl.js";
|
|
9
9
|
import { t as Hono } from "./dist-B-vqs6tA.js";
|
|
10
|
-
import { t as PO_HELP_WHEN } from "./help-
|
|
10
|
+
import { t as PO_HELP_WHEN } from "./help-w6vVEZGL.js";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
//#region ../../default/po-prompt/src/constants/promptStore.ts
|
|
13
13
|
const PROMPTS_DIR = "prompts";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./piSettings-
|
|
3
|
-
import { c as
|
|
4
|
-
import { a as assertRevision, b as VAULT_META_CHECK, c as PO_VAULT_ACCOUNT_SERVICE, d as VAULT_CHECK_PLAINTEXT, f as VAULT_DB_PREFIX, g as VAULT_KEY_LOST_NOTICE, h as VAULT_KEYRING_ACCOUNT_PREFIX, i as assertEntryName, m as VAULT_INIT_LEASE, n as VaultError, o as serializeValue, p as VAULT_DIRECTORY, r as asVaultError, s as PO_VAULT_CONTRACT, t as serveVaultSettings, u as VAULT_CHECK_AAD, x as VAULT_META_ID } from "./vaultSettings-
|
|
5
|
-
import { a as PO_DB_SERVICE, n as requirePoDb, t as PO_DB_CONTRACT } from "./contracts-
|
|
1
|
+
import { hn as poHomeDirectory, ir as PO_SERVER_SCOPE_SERVICE, sr as requirePoServerScope, v as composeServerProviderOverrides } from "./serverPlugin-CELT6P0Q.js";
|
|
2
|
+
import "./piSettings-Cf1QofNe.js";
|
|
3
|
+
import { c as defineRoot, h as defineServerPlugin, l as defineRoute, n as composeRootInjects, t as composeRootHooks } from "./extensionFile-DNM4xsje.js";
|
|
4
|
+
import { a as assertRevision, b as VAULT_META_CHECK, c as PO_VAULT_ACCOUNT_SERVICE, d as VAULT_CHECK_PLAINTEXT, f as VAULT_DB_PREFIX, g as VAULT_KEY_LOST_NOTICE, h as VAULT_KEYRING_ACCOUNT_PREFIX, i as assertEntryName, m as VAULT_INIT_LEASE, n as VaultError, o as serializeValue, p as VAULT_DIRECTORY, r as asVaultError, s as PO_VAULT_CONTRACT, t as serveVaultSettings, u as VAULT_CHECK_AAD, x as VAULT_META_ID } from "./vaultSettings-Di3n5YIg.js";
|
|
5
|
+
import { a as PO_DB_SERVICE, n as requirePoDb, t as PO_DB_CONTRACT } from "./contracts-DD3f1Lpn.js";
|
|
6
6
|
import { createCipheriv, createDecipheriv, randomBytes, randomUUID } from "node:crypto";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import { Buffer } from "node:buffer";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import { d as defineServerTool, p as defineServerPlugin } from "./extensionFile-Ds7RCpnb.js";
|
|
1
|
+
import { Hn as BACKGROUND_CONTEXT, Jn as PO_FS_SERVICE, Q as Integer, V as String, Wn as withAbortSignal, ht as Optional, pt as _Object_, tr as requirePoFs } from "./serverPlugin-CELT6P0Q.js";
|
|
2
|
+
import { i as FileTooLargeError, o as readBoundedFile } from "./platform-BIEiM4TG.js";
|
|
3
|
+
import { t as readPiImageSettings } from "./piConfig-DQzlbPY4.js";
|
|
4
|
+
import { f as defineServerTool, h as defineServerPlugin } from "./extensionFile-DNM4xsje.js";
|
|
6
5
|
import { n as formatDimensionNote, r as resizeImage } from "./index.edge-COJJ_Dv2.js";
|
|
7
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";
|
|
8
7
|
import { i as truncateLine, n as formatSize, r as truncateHead, t as DEFAULT_MAX_BYTES } from "./truncate-M3KbFyVj.js";
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import "./
|
|
4
|
-
import
|
|
5
|
-
import "./
|
|
6
|
-
import
|
|
7
|
-
import "./
|
|
8
|
-
import { t as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { i as
|
|
13
|
-
import "./
|
|
14
|
-
import { i as materializePluginEntries, n as skillName, r as splitFrontmatter, t as stageMcpResources } from "./index.edge-B0D_Lgbx.js";
|
|
1
|
+
import { Hn as BACKGROUND_CONTEXT, Qn as readPoFs, Sn as getOrThrow, V as String$1, Wn as withAbortSignal, bt as _Array_, hn as poHomeDirectory, pt as _Object_, tr as requirePoFs, v as composeServerProviderOverrides, vn as nodeHost } from "./serverPlugin-CELT6P0Q.js";
|
|
2
|
+
import { l as removePath, u as writeFileAtomic } from "./platform-BIEiM4TG.js";
|
|
3
|
+
import { C as isScalar, S as isMap, b as Document, s as globalPoConfigDirectory, v as parseDocument, w as isSeq } from "./layeredConfig-CUkYUs1f.js";
|
|
4
|
+
import "./piSettings-Cf1QofNe.js";
|
|
5
|
+
import { i as resolvePluginEntriesAsync, l as pluginDirectoryForSource, n as listDomainNamesAsync, r as loadDomainsAsync, s as expandDomainNames } from "./harnessState-Dwrk3lfv.js";
|
|
6
|
+
import "./value-_W31So3B.js";
|
|
7
|
+
import { t as loadHarnessStateAsync } from "./harnessStore-Z7yDLO45.js";
|
|
8
|
+
import { c as defineRoot, h as defineServerPlugin, l as defineRoute, n as composeRootInjects, s as defineResource, t as composeRootHooks, u as defineRoutedContribution } from "./extensionFile-DNM4xsje.js";
|
|
9
|
+
import { n as readPackageResource, t as packageResourcePath } from "./index.edge-DyYmurS7.js";
|
|
10
|
+
import { r as PO_USER_MCP_CONFIG_FILE, t as PO_MCP_PROJECTION_RESOLVER_SERVICE } from "./mcpProjection-BtKzB6oK.js";
|
|
11
|
+
import { i as readPoCodemode, n as PO_CODEMODE_SERVICE } from "./codemode-DQFmrosw.js";
|
|
12
|
+
import { i as materializePluginEntries, n as skillName, r as splitFrontmatter, t as stageMcpResources } from "./index.edge-K0w5auwG.js";
|
|
13
|
+
import "./voiceTools-RMn4HvWo.js";
|
|
15
14
|
import path from "node:path";
|
|
16
15
|
//#region ../../foundations/po-domain/src/services/mcpFilter/core.ts
|
|
17
16
|
/**
|
|
@@ -653,228 +652,6 @@ _Object_({
|
|
|
653
652
|
/** Absolute directories, the same ones the source hands `resources_discover`. */
|
|
654
653
|
directories: _Array_(String$1({ minLength: 1 }))
|
|
655
654
|
}, { additionalProperties: false });
|
|
656
|
-
const VOICE_TOOL_MAX_TIMEOUT_MS = 3e4;
|
|
657
|
-
const SAFE_IDENTIFIER = /^[A-Za-z0-9@][A-Za-z0-9@/._:-]*$/u;
|
|
658
|
-
const SAFE_NAME = /^[a-z][a-z0-9_:-]*$/u;
|
|
659
|
-
const MAX_ORDER = 1e3;
|
|
660
|
-
const VOICE_TOOL_ERROR_CODE = {
|
|
661
|
-
hostUnavailable: "VOICE_TOOL_HOST_UNAVAILABLE",
|
|
662
|
-
inactive: "VOICE_TOOL_INACTIVE",
|
|
663
|
-
staleSession: "VOICE_TOOL_STALE_SESSION",
|
|
664
|
-
staleCatalog: "VOICE_TOOL_STALE_CATALOG",
|
|
665
|
-
notFound: "VOICE_TOOL_NOT_FOUND",
|
|
666
|
-
nameConflict: "VOICE_TOOL_NAME_CONFLICT",
|
|
667
|
-
invalidInput: "VOICE_TOOL_INVALID_INPUT",
|
|
668
|
-
invalidResult: "VOICE_TOOL_INVALID_RESULT",
|
|
669
|
-
executionFailed: "VOICE_TOOL_EXECUTION_FAILED",
|
|
670
|
-
timeout: "VOICE_TOOL_TIMEOUT",
|
|
671
|
-
aborted: "VOICE_TOOL_ABORTED",
|
|
672
|
-
cancelled: "VOICE_TOOL_CANCELLED",
|
|
673
|
-
registrationDisposed: "VOICE_TOOL_REGISTRATION_DISPOSED",
|
|
674
|
-
sessionShutdown: "VOICE_TOOL_SESSION_SHUTDOWN",
|
|
675
|
-
batchStopped: "VOICE_TOOL_BATCH_STOPPED",
|
|
676
|
-
reloadQueued: "VOICE_TOOL_RELOAD_QUEUED",
|
|
677
|
-
invalidRequest: "VOICE_TOOL_INVALID_REQUEST"
|
|
678
|
-
};
|
|
679
|
-
VOICE_TOOL_ERROR_CODE.hostUnavailable;
|
|
680
|
-
VOICE_TOOL_ERROR_CODE.inactive;
|
|
681
|
-
VOICE_TOOL_ERROR_CODE.staleSession;
|
|
682
|
-
VOICE_TOOL_ERROR_CODE.staleCatalog;
|
|
683
|
-
VOICE_TOOL_ERROR_CODE.notFound;
|
|
684
|
-
VOICE_TOOL_ERROR_CODE.nameConflict;
|
|
685
|
-
VOICE_TOOL_ERROR_CODE.invalidInput;
|
|
686
|
-
VOICE_TOOL_ERROR_CODE.invalidResult;
|
|
687
|
-
VOICE_TOOL_ERROR_CODE.timeout;
|
|
688
|
-
VOICE_TOOL_ERROR_CODE.aborted;
|
|
689
|
-
VOICE_TOOL_ERROR_CODE.executionFailed;
|
|
690
|
-
VOICE_TOOL_ERROR_CODE.batchStopped;
|
|
691
|
-
_Object_({
|
|
692
|
-
source: String$1({
|
|
693
|
-
minLength: 1,
|
|
694
|
-
maxLength: 128,
|
|
695
|
-
pattern: SAFE_IDENTIFIER.source
|
|
696
|
-
}),
|
|
697
|
-
id: String$1({
|
|
698
|
-
minLength: 1,
|
|
699
|
-
maxLength: 128,
|
|
700
|
-
pattern: SAFE_IDENTIFIER.source
|
|
701
|
-
}),
|
|
702
|
-
name: String$1({
|
|
703
|
-
minLength: 1,
|
|
704
|
-
maxLength: 128,
|
|
705
|
-
pattern: SAFE_NAME.source
|
|
706
|
-
}),
|
|
707
|
-
label: String$1({
|
|
708
|
-
minLength: 1,
|
|
709
|
-
maxLength: 96
|
|
710
|
-
}),
|
|
711
|
-
description: String$1({
|
|
712
|
-
minLength: 1,
|
|
713
|
-
maxLength: 240
|
|
714
|
-
}),
|
|
715
|
-
order: Integer({
|
|
716
|
-
minimum: 0,
|
|
717
|
-
maximum: MAX_ORDER
|
|
718
|
-
}),
|
|
719
|
-
inputSchema: Unknown(),
|
|
720
|
-
resultSchema: Unknown(),
|
|
721
|
-
timeoutMs: Optional(Integer({
|
|
722
|
-
minimum: 1,
|
|
723
|
-
maximum: VOICE_TOOL_MAX_TIMEOUT_MS
|
|
724
|
-
}))
|
|
725
|
-
}, { additionalProperties: false });
|
|
726
|
-
const VoiceToolBatchCallSchema = _Object_({
|
|
727
|
-
name: String$1({
|
|
728
|
-
minLength: 1,
|
|
729
|
-
maxLength: 128,
|
|
730
|
-
pattern: SAFE_NAME.source,
|
|
731
|
-
description: "Capability name exactly as describe_voice_tools reported it."
|
|
732
|
-
}),
|
|
733
|
-
input: Unknown({ description: "Arguments for this capability, shaped by the input_schema that describe_voice_tools returns when called with names. Pass an empty object for a capability that takes none." })
|
|
734
|
-
}, { additionalProperties: false });
|
|
735
|
-
_Object_({ names: Optional(_Array_(String$1({
|
|
736
|
-
minLength: 1,
|
|
737
|
-
maxLength: 128,
|
|
738
|
-
pattern: SAFE_NAME.source
|
|
739
|
-
}), {
|
|
740
|
-
maxItems: 16,
|
|
741
|
-
description: "Capabilities to describe in full, including their input schemas. Omit to list every registered capability by name and description only."
|
|
742
|
-
})) }, { additionalProperties: false });
|
|
743
|
-
const VoiceToolCatalogTokenSchema = String$1({
|
|
744
|
-
minLength: 1,
|
|
745
|
-
maxLength: 512,
|
|
746
|
-
description: "Opaque catalog token from the most recent describe_voice_tools result, copied verbatim. It is invalidated whenever a capability registers or deregisters and whenever autonomous voice is activated or deactivated."
|
|
747
|
-
});
|
|
748
|
-
_Object_({
|
|
749
|
-
catalogToken: VoiceToolCatalogTokenSchema,
|
|
750
|
-
calls: _Array_(VoiceToolBatchCallSchema, {
|
|
751
|
-
minItems: 1,
|
|
752
|
-
maxItems: 16,
|
|
753
|
-
description: "Capability calls to run in this order. All of them are validated before any of them run, so a single invalid call rejects the whole batch."
|
|
754
|
-
})
|
|
755
|
-
}, { additionalProperties: false });
|
|
756
|
-
const VoiceToolErrorCodeSchema = Union([
|
|
757
|
-
Literal("VOICE_TOOL_HOST_UNAVAILABLE"),
|
|
758
|
-
Literal("VOICE_TOOL_INACTIVE"),
|
|
759
|
-
Literal("VOICE_TOOL_STALE_SESSION"),
|
|
760
|
-
Literal("VOICE_TOOL_STALE_CATALOG"),
|
|
761
|
-
Literal("VOICE_TOOL_NOT_FOUND"),
|
|
762
|
-
Literal("VOICE_TOOL_NAME_CONFLICT"),
|
|
763
|
-
Literal("VOICE_TOOL_INVALID_INPUT"),
|
|
764
|
-
Literal("VOICE_TOOL_INVALID_RESULT"),
|
|
765
|
-
Literal("VOICE_TOOL_EXECUTION_FAILED"),
|
|
766
|
-
Literal("VOICE_TOOL_TIMEOUT"),
|
|
767
|
-
Literal("VOICE_TOOL_ABORTED"),
|
|
768
|
-
Literal("VOICE_TOOL_CANCELLED"),
|
|
769
|
-
Literal("VOICE_TOOL_REGISTRATION_DISPOSED"),
|
|
770
|
-
Literal("VOICE_TOOL_SESSION_SHUTDOWN"),
|
|
771
|
-
Literal("VOICE_TOOL_BATCH_STOPPED"),
|
|
772
|
-
Literal("VOICE_TOOL_RELOAD_QUEUED"),
|
|
773
|
-
Literal("VOICE_TOOL_INVALID_REQUEST")
|
|
774
|
-
]);
|
|
775
|
-
const VoiceToolErrorSchema = _Object_({
|
|
776
|
-
code: VoiceToolErrorCodeSchema,
|
|
777
|
-
message: String$1({
|
|
778
|
-
minLength: 1,
|
|
779
|
-
maxLength: 240
|
|
780
|
-
}),
|
|
781
|
-
retryable: Optional(Boolean$1())
|
|
782
|
-
}, { additionalProperties: false });
|
|
783
|
-
const VoiceToolConflictDiagnosticSchema = _Object_({
|
|
784
|
-
name: String$1({
|
|
785
|
-
minLength: 1,
|
|
786
|
-
maxLength: 128
|
|
787
|
-
}),
|
|
788
|
-
message: String$1({
|
|
789
|
-
minLength: 1,
|
|
790
|
-
maxLength: 240
|
|
791
|
-
}),
|
|
792
|
-
claims: _Array_(_Object_({
|
|
793
|
-
source: String$1({
|
|
794
|
-
minLength: 1,
|
|
795
|
-
maxLength: 128
|
|
796
|
-
}),
|
|
797
|
-
id: String$1({
|
|
798
|
-
minLength: 1,
|
|
799
|
-
maxLength: 128
|
|
800
|
-
})
|
|
801
|
-
}, { additionalProperties: false }), {
|
|
802
|
-
minItems: 2,
|
|
803
|
-
maxItems: 16
|
|
804
|
-
})
|
|
805
|
-
}, { additionalProperties: false });
|
|
806
|
-
const VoiceToolCatalogEntrySchema = _Object_({
|
|
807
|
-
source: String$1({
|
|
808
|
-
minLength: 1,
|
|
809
|
-
maxLength: 128
|
|
810
|
-
}),
|
|
811
|
-
id: String$1({
|
|
812
|
-
minLength: 1,
|
|
813
|
-
maxLength: 128
|
|
814
|
-
}),
|
|
815
|
-
name: String$1({
|
|
816
|
-
minLength: 1,
|
|
817
|
-
maxLength: 128
|
|
818
|
-
}),
|
|
819
|
-
label: String$1({
|
|
820
|
-
minLength: 1,
|
|
821
|
-
maxLength: 96
|
|
822
|
-
}),
|
|
823
|
-
description: String$1({
|
|
824
|
-
minLength: 1,
|
|
825
|
-
maxLength: 240
|
|
826
|
-
}),
|
|
827
|
-
order: Integer({
|
|
828
|
-
minimum: 0,
|
|
829
|
-
maximum: MAX_ORDER
|
|
830
|
-
}),
|
|
831
|
-
inputSchema: Unknown(),
|
|
832
|
-
enabled: Boolean$1()
|
|
833
|
-
}, { additionalProperties: false });
|
|
834
|
-
_Object_({
|
|
835
|
-
hostGeneration: String$1({
|
|
836
|
-
minLength: 1,
|
|
837
|
-
maxLength: 256
|
|
838
|
-
}),
|
|
839
|
-
catalogRevision: Integer({ minimum: 0 }),
|
|
840
|
-
catalogToken: VoiceToolCatalogTokenSchema,
|
|
841
|
-
tools: _Array_(VoiceToolCatalogEntrySchema, { maxItems: 128 }),
|
|
842
|
-
conflicts: _Array_(VoiceToolConflictDiagnosticSchema, { maxItems: 128 }),
|
|
843
|
-
unknownNames: _Array_(String$1({
|
|
844
|
-
minLength: 1,
|
|
845
|
-
maxLength: 128
|
|
846
|
-
}), { maxItems: 16 })
|
|
847
|
-
}, { additionalProperties: false });
|
|
848
|
-
const VoiceToolBatchItemResultSchema = _Object_({
|
|
849
|
-
index: Integer({
|
|
850
|
-
minimum: 0,
|
|
851
|
-
maximum: 16
|
|
852
|
-
}),
|
|
853
|
-
name: String$1({
|
|
854
|
-
minLength: 1,
|
|
855
|
-
maxLength: 128
|
|
856
|
-
}),
|
|
857
|
-
status: Union([
|
|
858
|
-
Literal("completed"),
|
|
859
|
-
Literal("failed"),
|
|
860
|
-
Literal("cancelled"),
|
|
861
|
-
Literal("not_executed"),
|
|
862
|
-
Literal("preflight_failed")
|
|
863
|
-
]),
|
|
864
|
-
result: Optional(Unknown()),
|
|
865
|
-
error: Optional(VoiceToolErrorSchema)
|
|
866
|
-
}, { additionalProperties: false });
|
|
867
|
-
_Object_({
|
|
868
|
-
status: Union([
|
|
869
|
-
Literal("completed"),
|
|
870
|
-
Literal("rejected"),
|
|
871
|
-
Literal("cancelled"),
|
|
872
|
-
Literal("stopped")
|
|
873
|
-
]),
|
|
874
|
-
catalogToken: VoiceToolCatalogTokenSchema,
|
|
875
|
-
results: _Array_(VoiceToolBatchItemResultSchema, { maxItems: 16 }),
|
|
876
|
-
errors: Optional(_Array_(VoiceToolErrorSchema, { maxItems: 16 }))
|
|
877
|
-
}, { additionalProperties: false });
|
|
878
655
|
//#endregion
|
|
879
656
|
//#region ../../foundations/po-domain/src/services/domainText/index.ts
|
|
880
657
|
const DOMAIN_SEPARATOR = ",";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { a as PO_BACKGROUND_WORK_SERVICE, c as readPoBackgroundWorkService, n as BACKGROUND_WORK_HOLDING_PROVIDERS, o as holdsSettledSession, s as holdsSettledSessionAfterRunnerDeadline } from "./backgroundWork-
|
|
1
|
+
import { v as composeServerProviderOverrides } from "./serverPlugin-CELT6P0Q.js";
|
|
2
|
+
import { a as defineHook, c as defineRoot, g as runCleanups, h as defineServerPlugin, n as composeRootInjects, t as composeRootHooks } from "./extensionFile-DNM4xsje.js";
|
|
3
|
+
import { a as PO_BACKGROUND_WORK_SERVICE, c as readPoBackgroundWorkService, n as BACKGROUND_WORK_HOLDING_PROVIDERS, o as holdsSettledSession, s as holdsSettledSessionAfterRunnerDeadline } from "./backgroundWork-B1mPDYlf.js";
|
|
4
4
|
//#region ../../foundations/po-autostop/src/constants/idlePolicy.ts
|
|
5
5
|
const DEFAULT_AUTO_STOP_DELAYS = {
|
|
6
6
|
cooldownMs: 5e3,
|