@agimon-ai/po-cloudflare 0.0.2-alpha.29 → 0.0.2-alpha.30
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/README.md +30 -6
- package/container/Dockerfile +27 -0
- package/dist/{BrowserWebSocketTransport-C2SC2VeJ.js → BrowserWebSocketTransport-B4heNdrp.js} +1 -1
- package/dist/{NodeWebSocketTransport-CKilJesa.js → NodeWebSocketTransport-BCiOXUEz.js} +2 -2
- package/dist/{abort-signals-2GUraIGq.js → abort-signals-Bkmp_euQ.js} +1 -1
- package/dist/{agent-UIPyeBP5.js → agent-hYMFpT3P.js} +15 -15
- package/dist/{anthropic-messages-5ODquUB-.js → anthropic-messages-D8d2TX6o.js} +46 -46
- package/dist/{apiContracts-LNjbmwD4.js → apiContracts-VUUhCgc2.js} +6 -6
- package/dist/{approval-ClwOu7uT.js → approval-BfVxC2eU.js} +2 -2
- package/dist/{approvalPrompt-DvHkKcy-.js → approvalPrompt-D_ZQNLnw.js} +2 -2
- package/dist/artifactFiles-DCIkwc78.js +1 -0
- package/dist/assets/assets/{CodeEditorView-DsLHz0_k.js → CodeEditorView-DaYt-pb8.js} +2 -2
- package/dist/assets/assets/{abnfDiagram-WEYOIA3C-Ck8eFPot.js → abnfDiagram-WEYOIA3C-B3mFficC.js} +2 -2
- package/dist/assets/assets/{architecture-WOLXFQ4H-BOHZaFk8.js → architecture-WOLXFQ4H-B-Qbzz2a.js} +1 -1
- package/dist/assets/assets/{architectureDiagram-ZHVYKT53-x9MiRDEB.js → architectureDiagram-ZHVYKT53-Byq1yGeB.js} +2 -2
- package/dist/assets/assets/{blockDiagram-RJAE7QA3-CocU_mmM.js → blockDiagram-RJAE7QA3-DgsnVSS_.js} +2 -2
- package/dist/assets/assets/{c4Diagram-XDPPPE54-DUnPH208.js → c4Diagram-XDPPPE54-DwOKaMhc.js} +2 -2
- package/dist/assets/assets/channel-DTH_XuhX.js +2 -0
- package/dist/assets/assets/{chunk-2E7WHVMD-C66Jc4nK.js → chunk-2E7WHVMD-B45qgsrQ.js} +2 -2
- package/dist/assets/assets/{chunk-4EMNKR2T-DU0vjwfB.js → chunk-4EMNKR2T-Cn8w9YGc.js} +2 -2
- package/dist/assets/assets/{chunk-55XCU76K-CB7w1Imd.js → chunk-55XCU76K-tLyYS4a5.js} +2 -2
- package/dist/assets/assets/{chunk-7S6XSTFO-BkdM77wO.js → chunk-7S6XSTFO-D-UA2En5.js} +2 -2
- package/dist/assets/assets/{chunk-AQDTSKZB-BtIezREj.js → chunk-AQDTSKZB-Df1X3wV5.js} +2 -2
- package/dist/assets/assets/{chunk-DSNLSHJZ-BYLkLt_1.js → chunk-DSNLSHJZ-CW26D15j.js} +2 -2
- package/dist/assets/assets/{chunk-HAGFOTED-B_tHKT1E.js → chunk-HAGFOTED-B9SlWLMP.js} +2 -2
- package/dist/assets/assets/{chunk-HNE4Q36P-BRKVOjb4.js → chunk-HNE4Q36P-D5xIv17P.js} +2 -2
- package/dist/assets/assets/{chunk-NQOKRVIF-D4NBkphT.js → chunk-NQOKRVIF-D2Tg2yHD.js} +2 -2
- package/dist/assets/assets/{chunk-UHW7PFBP-DOFoA9Ow.js → chunk-UHW7PFBP-N9QNktIy.js} +2 -2
- package/dist/assets/assets/{chunk-VQ5W62QI-CjrypSf7.js → chunk-VQ5W62QI-Cl1HBKXQ.js} +2 -2
- package/dist/assets/assets/{chunk-WQQL4CDK-Do2wMFir.js → chunk-WQQL4CDK-BgnzXOjR.js} +2 -2
- package/dist/assets/assets/chunk-XXDRQBXY-C8DIWIR2.js +2 -0
- package/dist/assets/assets/{chunk-YZO67HFG-CO164hGX.js → chunk-YZO67HFG-BAgJ_raw.js} +2 -2
- package/dist/assets/assets/{chunk-ZAUX2LTX-D0wCPHPW.js → chunk-ZAUX2LTX-ajmsEoht.js} +2 -2
- package/dist/assets/assets/{chunk-ZCHMQSOR-BCKtP8c-.js → chunk-ZCHMQSOR-BobhwgAu.js} +2 -2
- package/dist/assets/assets/{classDiagram-v2-4MYWR3UA-E3o9leUj.js → classDiagram-v2-4MYWR3UA-C0sQy35P.js} +2 -2
- package/dist/assets/assets/{cose-bilkent-JH36ORCC-D3gquWAw.js → cose-bilkent-JH36ORCC-DkLs33p5.js} +2 -2
- package/dist/assets/assets/{cynefin-EF2NZ3EQ-DDQ3O09m.js → cynefin-EF2NZ3EQ-CAc_FdvH.js} +1 -1
- package/dist/assets/assets/{cynefinDiagram-WF24UDRP-CuGyU1U6.js → cynefinDiagram-WF24UDRP-CcxwQs4Y.js} +2 -2
- package/dist/assets/assets/{dagre-NK4GIZVX-yDOpDm4o.js → dagre-NK4GIZVX-CdjpzAOK.js} +2 -2
- package/dist/assets/assets/{diagram-CBK3MWTC-B5pSRAik.js → diagram-CBK3MWTC-DXokcqbV.js} +2 -2
- package/dist/assets/assets/{diagram-I5XIIV2D-fJpgCKrq.js → diagram-I5XIIV2D-CxdahTQv.js} +2 -2
- package/dist/assets/assets/{diagram-ODIL2UCW-BJjdA0dz.js → diagram-ODIL2UCW-Dg58V6lG.js} +2 -2
- package/dist/assets/assets/{diagram-PFBEJUXE-DjejliaP.js → diagram-PFBEJUXE-DRTwxqzb.js} +2 -2
- package/dist/assets/assets/{diagram-RJA3I4VV-emI_Az5D.js → diagram-RJA3I4VV-CSujVWCs.js} +2 -2
- package/dist/assets/assets/{diagram-TYUNFSNR-BvoGWqbj.js → diagram-TYUNFSNR-D7DRnf7h.js} +2 -2
- package/dist/assets/assets/{dist-mTlWaYJ9.js → dist-B79Puro4.js} +2 -2
- package/dist/assets/assets/{dist-TUDQodpY.js → dist-CQLKRTXD.js} +2 -2
- package/dist/assets/assets/{dist-BImRwEb-.js → dist-CgRQL8JA.js} +2 -2
- package/dist/assets/assets/{dist-CELIgi7Q.js → dist-DY7HyACy.js} +2 -2
- package/dist/assets/assets/{dist-CD_LwQRj.js → dist-Dp7amurS.js} +2 -2
- package/dist/assets/assets/{dist-DBk2pERt.js → dist-L9J4dsuV.js} +2 -2
- package/dist/assets/assets/{dist-DRsbG_OT.js → dist-LvqVPinj.js} +2 -2
- package/dist/assets/assets/{dist-BlknT4p6.js → dist-dtZzwJjB.js} +2 -2
- package/dist/assets/assets/{dist-Dl58KVvr.js → dist-h-tRJyTx.js} +2 -2
- package/dist/assets/assets/{ebnfDiagram-V4P3TTPT-CH8mqJj_.js → ebnfDiagram-V4P3TTPT-qeyCZxtP.js} +2 -2
- package/dist/assets/assets/{elk-QONTBCTQ-B7gvbDPJ.js → elk-QONTBCTQ-BWl1uGDv.js} +2 -2
- package/dist/assets/assets/{erDiagram-KYQIGQAA-DcqvRpkt.js → erDiagram-KYQIGQAA-DJtfmPnN.js} +2 -2
- package/dist/assets/assets/{eventmodeling-K75KTNOO-Dr5mK3us.js → eventmodeling-K75KTNOO-CEiW7xoH.js} +1 -1
- package/dist/assets/assets/flowDiagram-IUGLLWBU-D2Qb3AqB.js +1 -0
- package/dist/assets/assets/{ganttDiagram-R7GPNTJY-Bw3XE-d9.js → ganttDiagram-R7GPNTJY-DLGNxvzE.js} +2 -2
- package/dist/assets/assets/{gitGraph-VSP46ZUC-BaBR7oTv.js → gitGraph-VSP46ZUC-DbBD2zmg.js} +1 -1
- package/dist/assets/assets/{gitGraphDiagram-PDYL7XHY-BChqJqeK.js → gitGraphDiagram-PDYL7XHY-DD3l-bHQ.js} +2 -2
- package/dist/assets/assets/index-B2NJvPsd.css +1 -0
- package/dist/assets/assets/index-YlKxkn6l.js +155 -0
- package/dist/assets/assets/{info-OHQRW6UA-CF7_WUtP.js → info-OHQRW6UA-CRxUEC10.js} +1 -1
- package/dist/assets/assets/{infoDiagram-MVDRKAX5-CCuI0S6B.js → infoDiagram-MVDRKAX5-RhfPIpJB.js} +2 -2
- package/dist/assets/assets/{ishikawaDiagram-HPEHV2GE-Cl04QTd1.js → ishikawaDiagram-HPEHV2GE-C8LIy4hZ.js} +2 -2
- package/dist/assets/assets/{journeyDiagram-BOSHW7O7-DCryxUJq.js → journeyDiagram-BOSHW7O7-C7MxP5ty.js} +2 -2
- package/dist/assets/assets/{kanban-definition-FNSA4HC5-DCr5pi-u.js → kanban-definition-FNSA4HC5-DXfZCsNk.js} +2 -2
- package/dist/assets/assets/{line-CYdSijUj.js → line-C4-UdZx4.js} +2 -2
- package/dist/assets/assets/{linear-SQVCSOdB.js → linear-DtcHv3_K.js} +2 -2
- package/dist/assets/assets/{mermaid-parser.core-dSgRr-FA.js → mermaid-parser.core-BJLYAUAA.js} +4 -4
- package/dist/assets/assets/{mermaid.core-C_NcwSdV.js → mermaid.core-BnIgFCEy.js} +5 -5
- package/dist/assets/assets/{mindmap-definition-6OY57UG3-BkzL_7UC.js → mindmap-definition-6OY57UG3-BGIowv8y.js} +2 -2
- package/dist/assets/assets/{packet-JDAUHWVQ-DhT7atW8.js → packet-JDAUHWVQ-qKkrBONg.js} +1 -1
- package/dist/assets/assets/{pegDiagram-ECIUJNBX-DnOXXQZh.js → pegDiagram-ECIUJNBX-Dg5Lz9Fj.js} +2 -2
- package/dist/assets/assets/{pie-XZMESJXO-XdAP3FZ-.js → pie-XZMESJXO-C_vRDDUk.js} +1 -1
- package/dist/assets/assets/{pieDiagram-GNMPY74T-DfJ-_Pg7.js → pieDiagram-GNMPY74T-C2l6pzGs.js} +2 -2
- package/dist/assets/assets/{quadrantDiagram-D57K4MC3-Dd-e03Ap.js → quadrantDiagram-D57K4MC3-q4N-xiN3.js} +2 -2
- package/dist/assets/assets/{radar-ABXABTNO-C8FYqGV_.js → radar-ABXABTNO-K37Ctnew.js} +1 -1
- package/dist/assets/assets/{railroad-I3PHUGI6-D5NtQWMN.js → railroad-I3PHUGI6-TMk0kCJd.js} +1 -1
- package/dist/assets/assets/{railroad-abnf-LNEFI6M7-h9TT9-gO.js → railroad-abnf-LNEFI6M7-DD7Pzg2X.js} +1 -1
- package/dist/assets/assets/{railroad-ebnf-DWYD2UWJ-CAu84Tuw.js → railroad-ebnf-DWYD2UWJ-DZ3BijcL.js} +1 -1
- package/dist/assets/assets/{railroad-peg-JR7BVNR7-D-nEYsHA.js → railroad-peg-JR7BVNR7-kWTx4DXS.js} +1 -1
- package/dist/assets/assets/{railroadDiagram-Y72NRBL7-Fz5k7qPV.js → railroadDiagram-Y72NRBL7-Bo7k8oEi.js} +2 -2
- package/dist/assets/assets/{requirementDiagram-EQYSW5RA-DqMhmTfw.js → requirementDiagram-EQYSW5RA-D38jEo8e.js} +2 -2
- package/dist/assets/assets/{sankeyDiagram-SY24JHO5-B4YXKHF0.js → sankeyDiagram-SY24JHO5-DTIX_eTi.js} +2 -2
- package/dist/assets/assets/{sequenceDiagram-BLEHNHQU-Bs6_En9j.js → sequenceDiagram-BLEHNHQU-COyr84Fo.js} +2 -2
- package/dist/assets/assets/{src-DddFBpq8.js → src-DPWc-eu_.js} +2 -2
- package/dist/assets/assets/{stateDiagram-v2-A6IESKWZ-CABKpUCl.js → stateDiagram-v2-A6IESKWZ-DVS1kseN.js} +2 -2
- package/dist/assets/assets/{swimlanes-B3ENRKFQ-8WekcGi1.js → swimlanes-B3ENRKFQ-J9tWm3So.js} +2 -2
- package/dist/assets/assets/swimlanesDiagram-AYQRV4AK-Crn5SwjU.js +9 -0
- package/dist/assets/assets/{timeline-definition-JXYKGLGB-fMwuR-0B.js → timeline-definition-JXYKGLGB-FcpmSriD.js} +2 -2
- package/dist/assets/assets/{treeView-D4JQ5SDB-yHdXqbie.js → treeView-D4JQ5SDB-BT_G4PqW.js} +1 -1
- package/dist/assets/assets/{treemap-SAJKECNS-CgACkyF3.js → treemap-SAJKECNS-wQls1Ni3.js} +1 -1
- package/dist/assets/assets/{usecaseDiagram-WPOLBNNX-DaCLyKJ-.js → usecaseDiagram-WPOLBNNX-BckVkicu.js} +2 -2
- package/dist/assets/assets/{vennDiagram-Q3Y3IDCW-DdM0WikD.js → vennDiagram-Q3Y3IDCW-CSlSs65e.js} +2 -2
- package/dist/assets/assets/{wardley-7MLQ67FV-CpD7pbXV.js → wardley-7MLQ67FV-DsoOrBwZ.js} +1 -1
- package/dist/assets/assets/{wardleyDiagram-IVAIDKWA-DlQQWdFu.js → wardleyDiagram-IVAIDKWA-B0skq9Ip.js} +2 -2
- package/dist/assets/assets/{webpack-Ey-wFmJ1.js → webpack-fkF99xn1.js} +2 -2
- package/dist/assets/assets/{xychartDiagram-4URNHDU4-BssVd4CQ.js → xychartDiagram-4URNHDU4-Cygpozvi.js} +2 -2
- package/dist/assets/bundle-asset-policy.json +1 -1
- package/dist/assets/index.html +8 -2
- package/dist/assets/plugins/assets/base-DLBcuPkr.css +2 -0
- package/dist/assets/plugins/chunks/po-web-runtime-CdlHRsXx.js +1 -0
- package/dist/assets/plugins/compositions.json +1 -1
- package/dist/assets/plugins/slots/approval.dd60ec90-DltzLQSt.js +2 -0
- package/dist/assets/plugins/slots/artifacts.a078f1a5-ChkwQ9HU.js +1 -0
- package/dist/assets/plugins/slots/author.497633d0-Du8fSYjC.js +93 -0
- package/dist/assets/plugins/slots/{autocompact.86aeccf4-Cww5_p9I.js → autocompact.86aeccf4-bBqfmdtp.js} +1 -1
- package/dist/assets/plugins/slots/browse.5fcf164c-DOby1A5d.js +1 -0
- package/dist/assets/plugins/slots/builtin-tools.0a7f0b8e-D0-WyQ15.js +7 -0
- package/dist/assets/plugins/slots/{codemode.ff16ac06-ByBeOv13.js → codemode.ff16ac06-3xOcXub2.js} +5 -5
- package/dist/assets/plugins/slots/domain.3ddea842-DxJbYN_n.js +1 -0
- package/dist/assets/plugins/slots/{edit.c5b0b072-C-H3lwtr.js → edit.c5b0b072-C3FeBbn6.js} +3 -3
- package/dist/assets/plugins/slots/files.8ffcdcc0-OBICep2Q.js +2 -0
- package/dist/assets/plugins/slots/goal.423c7a26-CEuI53pK.js +1 -0
- package/dist/assets/plugins/slots/grep.95f470b3-Dm7y6JSu.js +1 -0
- package/dist/assets/plugins/slots/help.03b9ba99-UtB2eek9.js +3 -0
- package/dist/assets/plugins/slots/log.19bda339-DMLLCJRN.js +4 -0
- package/dist/assets/plugins/slots/mcp.ffbe405a-DIu7LvOI.js +109 -0
- package/dist/assets/plugins/slots/plan.5eac6563-BUwB-cuc.js +3 -0
- package/dist/assets/plugins/slots/{profile.176710dd-DeZ3LMOD.js → profile.176710dd-D0T8SB_1.js} +1 -1
- package/dist/assets/plugins/slots/{prompts.2c187969-CwThUA1l.js → prompts.2c187969-DteLcvvc.js} +2 -2
- package/dist/assets/plugins/slots/read.1629d556-B49vGK8G.js +1 -0
- package/dist/assets/plugins/slots/runner.962030e5-C71_bMf3.js +8 -0
- package/dist/assets/plugins/slots/skill.f5396fde-Bglqgyhn.js +4 -0
- package/dist/assets/plugins/slots/subagents.d815a296-Dgj_K8kx.js +7 -0
- package/dist/assets/plugins/slots/vault.57fd9047-DQ6yyA0Q.js +1 -0
- package/dist/assets/plugins/slots/voice.b709d05c-CBRosTge.js +1 -0
- package/dist/assets/pwa/sw.js +1 -1
- package/dist/{atomicJson-BQhr0b4x.js → atomicJson-Bl0Ngr-T.js} +2 -2
- package/dist/{azure-openai-config-COZUaRzM.js → azure-openai-config-BSV2Zkun.js} +2 -2
- package/dist/{azure-openai-responses-Cs4k2HOd.js → azure-openai-responses-BD-Sltji.js} +12 -12
- package/dist/{backgroundWork-DZBsxltI.js → backgroundWork-oCjcKuHt.js} +1 -1
- package/dist/{browser-EJ5_ffnN.js → browser-IsHIcvFg.js} +1 -1
- package/dist/{classifier-shared-IhSH9hhh.js → classifier-shared-jXm-plIK.js} +5 -5
- package/dist/{cloudflare-workers-ai-system-one-BNnc8MuH.js → cloudflare-workers-ai-system-one-B0wH6HU5.js} +3 -3
- package/dist/{codemode-ZkWnuAI8.js → codemode-DN4dyrvt.js} +1 -1
- package/dist/contracts-DiwLZtS-.js +40 -0
- package/dist/{contracts-DPEebkOJ.js → contracts-ER9V9JyZ.js} +1 -1
- package/dist/{diagnostics-1lYFeSJe.js → diagnostics-DPTP-yrt.js} +2 -2
- package/dist/{dist-BVBi6VMV.js → dist-CfOWb6f7.js} +1 -1
- package/dist/{dist-PDDFdqDX.js → dist-Dd6zUvjw.js} +1 -1
- package/dist/edge-DLMfBsT8.js +266 -0
- package/dist/{emscripten-module.cloudflare-D4Bc9Ykz.js → emscripten-module.cloudflare-B4fhfquU.js} +1 -1
- package/dist/{env-api-keys-Bow6MJe2.js → env-api-keys-CAnjjnsR.js} +1 -1
- package/dist/{error-body-CJk7jMUh.js → error-body-DQZRsyL5.js} +2 -2
- package/dist/{exports-BMON3TcD.js → exports-DBRFXxZh.js} +9 -9
- package/dist/{exports-C9o38AKd.js → exports-Dcu66vwx.js} +2 -2
- package/dist/{exports-CzD15qN9.js → exports-o--WKvqb.js} +9 -122
- package/dist/{extensionFile-DIbg2lby.js → extensionFile-BEUz_rpB.js} +1 -1
- package/dist/{factory-Cs8iaUtc.js → factory-DwoANAyi.js} +1 -1
- package/dist/{github-copilot-headers-D1RedfLn.js → github-copilot-headers-DpQQAh-s.js} +1 -1
- package/dist/{google-generative-ai-DXTILNT0.js → google-generative-ai-BK0JsYna.js} +9 -9
- package/dist/{google-shared-e4JDCTVP.js → google-shared-tQ95_tjA.js} +6 -6
- package/dist/{google-vertex-a1lzvJfq.js → google-vertex-B_DKKMUR.js} +10 -10
- package/dist/{harnessState-DFd42aw_.js → harnessState-4QhL2GVn.js} +3 -3
- package/dist/{harnessStore-BG2zfn0y.js → harnessStore-CeYN9ArW.js} +4 -4
- package/dist/{hash-Dt6RIbkn.js → hash-B3RRpLS2.js} +1 -1
- package/dist/{headers-CwtEVQvr.js → headers-BEuxFxDI.js} +1 -1
- package/dist/help-BAAQWi1q.js +1 -0
- package/dist/{help-BRf69VyB.js → help-CbRQ_a3o.js} +2 -2
- package/dist/{http-DISGwdov.js → http-BoQMtQm8.js} +1 -1
- package/dist/{hubChannel-Bx6-EdmT.js → hubChannel-2NmE_z7N.js} +1 -1
- package/dist/{identity-BgfHobJH.js → identity-BIeAyilV.js} +2 -2
- package/dist/{index.edge-CkEELgJZ.js → index.edge-AAGhdqtz.js} +2 -2
- package/dist/{index.edge-Nnw3s5U5.js → index.edge-BhSIpZLX.js} +2 -2
- package/dist/{index.edge-CvjDk6FY.js → index.edge-CoH0zSfG.js} +7 -5
- package/dist/{index.edge-COJJ_Dv2.js → index.edge-CwAzrLy4.js} +4 -4
- package/dist/{index.edge-ChYa2LU4.js → index.edge-D2RirEwK.js} +1 -1
- package/dist/{iso-BPQViXM8.js → iso-BCXA5x1w.js} +1 -1
- package/dist/{kysely-adapter-D51abb3q.js → kysely-adapter-D3TQ9BKb.js} +1 -1
- package/dist/{layeredConfig-C4fvE8Su.js → layeredConfig-DmRhiTvZ.js} +3 -3
- package/dist/majorModes-Bi215trP.js +1 -0
- package/dist/{majorModes-NI9R9cdG.js → majorModes-CCSc7rce.js} +3 -3
- package/dist/{mcpProjection-BAFCLInc.js → mcpProjection-Be8wtYIK.js} +2 -2
- package/dist/{migrations-5gbLIQIc.js → migrations-EDJvwh2u.js} +2 -2
- package/dist/{mistral-conversations-CLwhVDjA.js → mistral-conversations-Ct5Xzcoq.js} +12 -12
- package/dist/{models-Chzm15vC.js → models-D6d73jcW.js} +13 -13
- package/dist/{narration-D1EwSa-i.js → narration-Dtu5_WFZ.js} +3 -3
- package/dist/{node-DytJOfYf.js → node-CBLSc-YH.js} +1 -1
- package/dist/{node-BT4GsJQp.js → node-bvVKJkBH.js} +2 -2
- package/dist/{notification-BmlTSXKU.js → notification-BdAoBqsC.js} +2 -2
- package/dist/{openai-kPrtlgjl.js → openai-69NOv-G_.js} +187 -187
- package/dist/{openai-codex-responses-DRMONxDE.js → openai-codex-responses-xs-XhwXd.js} +14 -14
- package/dist/{openai-completions-CcNhAv8l.js → openai-completions-q3NP0Rzk.js} +16 -16
- package/dist/{openai-decisions-BsFjaAGw.js → openai-decisions-Dfn_KgQd.js} +3 -3
- package/dist/{openai-responses-C5Gp2UOV.js → openai-responses-nVzrCKVL.js} +13 -13
- package/dist/{openai-responses-shared-BbSi-wBR.js → openai-responses-shared-D4RlUq8e.js} +7 -7
- package/dist/{openrouter-cost-CvC52g3b.js → openrouter-cost-D99Qqcs6.js} +1 -1
- package/dist/{openrouter-images-BoHl8g8p.js → openrouter-images-DypUCqIs.js} +7 -7
- package/dist/{pi-messages-BXfrZLC7.js → pi-messages-RjgHk5b9.js} +6 -6
- package/dist/{piConfig-CTIrk5Sf.js → piConfig-CLq9JUuD.js} +4 -4
- package/dist/piSettings-B0Xu4xBM.js +1 -0
- package/dist/{platform-CIq8Kome.js → platform-vI6G0G7v.js} +1 -1
- package/dist/{pluginProtocol-vfpJc92C.js → pluginProtocol-Bf2o7M88.js} +2 -2
- package/dist/{protocol-CY4BiIpC.js → protocol-D819v4ut.js} +2 -2
- package/dist/{provider-env-CxhHUFiF.js → provider-env-D2M8dslq.js} +2 -2
- package/dist/{provider-retry-BUoezuw8.js → provider-retry-ChD-K2Gv.js} +1 -1
- package/dist/{puppeteer-cloudflare-B-GHrPGO.js → puppeteer-cloudflare-D4l8smMS.js} +3 -3
- package/dist/{rolldown-runtime-B-lAHAz2.js → rolldown-runtime-DbVrKiKs.js} +1 -1
- package/dist/{sanitize-unicode-C3Ec8oL6.js → sanitize-unicode-Dl4ROF7y.js} +1 -1
- package/dist/{schemas-Vj8-rCR4.js → schemas-BMBR99Q5.js} +3 -2
- package/dist/{server-_f8nacEA.js → server--7yYZ0e-.js} +6 -6
- package/dist/{server-DFhOl3ch.js → server-BJ-jhxKP.js} +8 -8
- package/dist/{server-DPviMT6J.js → server-BPC5nldj.js} +4 -4
- package/dist/{server-WFa4Nrek.js → server-BTFnRnVy.js} +11 -11
- package/dist/{server-DiZQXxF8.js → server-BYmotNJV.js} +5 -5
- package/dist/{server-BZG5nHId.js → server-BZUWyMLG.js} +6 -6
- package/dist/{server-xqATe8IH.js → server-Bc6sXpYi.js} +8 -8
- package/dist/{server-BHZoezDN.js → server-BiiRr_wC.js} +6 -5
- package/dist/{server-CltPbJZ-.js → server-BliYTghK.js} +6 -6
- package/dist/{server-Dl7VlE7b.js → server-BmhomR5W.js} +8 -8
- package/dist/{server-BsCxTCv0.js → server-C-s9mJbt.js} +2 -2
- package/dist/{server-rxzK-JEb.js → server-C10LNTZr.js} +9 -9
- package/dist/{server-nUuzwqEC.js → server-C7fYqUEd.js} +11 -11
- package/dist/{server-C8Eh-tPK.js → server-CMQ-4K8I.js} +14 -14
- package/dist/{server-CidZA1E6.js → server-CZy9QvKn.js} +10 -10
- package/dist/{server-DDlcFsq0.js → server-CzfJ23RU.js} +11 -11
- package/dist/{server-CCcvXwoh.js → server-D5ipFLw4.js} +11 -11
- package/dist/{server-B6d00a08.js → server-D64LRgFU.js} +5 -5
- package/dist/{server-CBfCgKl2.js → server-D7C1qs17.js} +3 -3
- package/dist/{server-DfkiwDYb.js → server-D8ZssJDl.js} +3 -3
- package/dist/{server-DsUu0QU_.js → server-D8_SkyRF.js} +3 -3
- package/dist/{server-C8Q9sDYK.js → server-DSaarA1d.js} +9 -9
- package/dist/{server-KN8L39JM.js → server-Dct1bn1X.js} +13 -13
- package/dist/{server-B6_lwFVd.js → server-DkYdfvm2.js} +3 -3
- package/dist/{server-BVYZMr8z.js → server-DlgQ_xYV.js} +6 -6
- package/dist/{server-dIoVRElH.js → server-DzrmeCTz.js} +94 -24
- package/dist/{server-Dxa0NtKz.js → server-QhgsV8T8.js} +4 -4
- package/dist/{server-CB9Ap1vN.js → server-RlHrwa_f.js} +9 -9
- package/dist/{server-B62A7ihq.js → server-amwNoq4q.js} +9 -8
- package/dist/{server-CWISWVmS.js → server-cBgXNbZp.js} +14 -14
- package/dist/{serverPlugin-CFEhyxga.js → serverPlugin-DOjUKzFU.js} +36 -7
- package/dist/{sessionConfig-BznfkRmn.js → sessionConfig-BOQsvPIK.js} +9 -9
- package/dist/{simple-options-CFzI5Pd_.js → simple-options-DWrW31_K.js} +4 -4
- package/dist/{streaming-json-BWTHTwz-.js → streaming-json-DxsKu9B6.js} +6 -6
- package/dist/{system-one-shared-CiIrx29d.js → system-one-shared-DLVLdzYL.js} +3 -3
- package/dist/{telemetry-Csv1ZxAn.js → telemetry-CrTcxeA5.js} +1 -1
- package/dist/{transform-messages-D77af7Bx.js → transform-messages-CjTSwW9q.js} +2 -2
- package/dist/{type-CglCdN6h.js → type-BTE9JVuX.js} +8 -8
- package/dist/{typesafe-system-one-DGxeggJh.js → typesafe-system-one-DBVcjcUQ.js} +3 -3
- package/dist/{uuid-B0QJx6Kr.js → uuid-mkNGilLv.js} +1 -1
- package/dist/{validation-DbxpyQ_I.js → validation-D8ixl-xy.js} +2 -2
- package/dist/{value-CKjNDElQ.js → value-MMvKKw8F.js} +1 -1
- package/dist/{vaultSettings-B0Fm3-rm.js → vaultSettings-Sn_p4uqZ.js} +2 -38
- package/dist/{voiceTools-D_g-1t1o.js → voiceTools-DK1uIGJv.js} +1 -1
- package/dist/web-Bm1F5aMc.js +3 -0
- package/dist/worker.js +14624 -1455
- package/dist/{workflow-JIWCoPIg.js → workflow-Cm9ccxru.js} +2 -2
- package/package.json +41 -38
- package/wrangler.jsonc +9 -1
- package/dist/artifactFiles-BvCt577E.js +0 -1
- package/dist/assets/assets/channel-BBbALSil.js +0 -2
- package/dist/assets/assets/chunk-XXDRQBXY-B3vE2BUr.js +0 -2
- package/dist/assets/assets/flowDiagram-IUGLLWBU-D6rUODas.js +0 -1
- package/dist/assets/assets/index-B7qXxMAE.css +0 -1
- package/dist/assets/assets/index-CvQmP_Vm.js +0 -155
- package/dist/assets/assets/swimlanesDiagram-AYQRV4AK-Brfdejud.js +0 -9
- package/dist/assets/plugins/assets/base-CvHwbHj0.css +0 -2
- package/dist/assets/plugins/chunks/po-web-runtime-MSSMAK9k.js +0 -1
- package/dist/assets/plugins/slots/approval.dd60ec90-CJVXhzNU.js +0 -2
- package/dist/assets/plugins/slots/artifacts.a078f1a5-D3YTx8c7.js +0 -1
- package/dist/assets/plugins/slots/author.497633d0-CfP76LRf.js +0 -93
- package/dist/assets/plugins/slots/builtin-tools.0a7f0b8e-BWvC47NT.js +0 -7
- package/dist/assets/plugins/slots/domain.3ddea842-Cf7odKos.js +0 -1
- package/dist/assets/plugins/slots/files.8ffcdcc0-DLJ09Xyj.js +0 -2
- package/dist/assets/plugins/slots/goal.423c7a26-C7lFsgts.js +0 -1
- package/dist/assets/plugins/slots/grep.95f470b3-Cp2l_ZB_.js +0 -1
- package/dist/assets/plugins/slots/help.03b9ba99-Bi3TQiiq.js +0 -3
- package/dist/assets/plugins/slots/log.19bda339-BSs3J107.js +0 -4
- package/dist/assets/plugins/slots/mcp.ffbe405a-CiNIvNwa.js +0 -109
- package/dist/assets/plugins/slots/plan.5eac6563-CXgCe1Pk.js +0 -3
- package/dist/assets/plugins/slots/read.1629d556-CX1xheg5.js +0 -1
- package/dist/assets/plugins/slots/runner.962030e5-oT22OXca.js +0 -8
- package/dist/assets/plugins/slots/skill.f5396fde-D_B5_uFL.js +0 -4
- package/dist/assets/plugins/slots/subagents.d815a296-B9D_tq_A.js +0 -7
- package/dist/assets/plugins/slots/vault.57fd9047-CW18QGXv.js +0 -1
- package/dist/assets/plugins/slots/voice.b709d05c-D8p4JxTW.js +0 -1
- package/dist/help-CjTNPivZ.js +0 -1
- package/dist/majorModes-CROQp_qf.js +0 -1
- package/dist/piSettings-F4H1df-n.js +0 -1
- package/dist/web-Bb6qSzGG.js +0 -3
package/README.md
CHANGED
|
@@ -27,6 +27,28 @@ self-hosted web app lists, creates, chats in and deletes sessions. The web plugi
|
|
|
27
27
|
static `compositions.json` and load from the Worker's own origin; settings that need a local hub are not available.
|
|
28
28
|
Signed-out browsers are sent to the sign-in page at `/api/owner/sign-in` (`/sign-in` serves the same page).
|
|
29
29
|
|
|
30
|
+
Web browsing is off by default. Deploy with `--var PO_CLOUD_WEB:on` (the shipped `wrangler.jsonc` already has the
|
|
31
|
+
`BROWSER` Browser Rendering binding) and sessions get two code-mode namespaces: `page` renders one public page per
|
|
32
|
+
call, and `browser` drives one persistent browser per session (tabs and sign-ins kept between calls, closed after
|
|
33
|
+
about three minutes idle). `browser.handoff` and `browser.liveView` send you a short-lived Cloudflare Live View link
|
|
34
|
+
to sign in or watch; the agent never sees it. Your Worker counts at most 3600 browser-seconds per UTC day and two
|
|
35
|
+
open persistent browsers, in the owner object. Browser Run time is billed to your Cloudflare account.
|
|
36
|
+
|
|
37
|
+
### Real shell (optional)
|
|
38
|
+
|
|
39
|
+
Sessions can get a Linux container for `bash` (Cloudflare Computer, Experimental). Enable Containers on your
|
|
40
|
+
Cloudflare account, uncomment the `containers` block in `wrangler.jsonc`, copy `container/Dockerfile` next to it, and
|
|
41
|
+
deploy with `--var PO_CLOUD_COMPUTER:on`. Deploying builds the image with Docker. Each session's container starts with
|
|
42
|
+
its first command, stops five minutes after the last one (or two hours after it started), and runs at most
|
|
43
|
+
7200 container-seconds per UTC day and two containers at once, counted in the owner object. Container time is
|
|
44
|
+
billed to your Cloudflare account.
|
|
45
|
+
|
|
46
|
+
`/workspace` is shared with the container and kept in the session's own SQLite; files persist, processes do not.
|
|
47
|
+
Outbound HTTP and HTTPS go through the Worker, which refuses private hosts, IP addresses and metadata hosts (and the
|
|
48
|
+
`PO_IDENTITY_ISSUER` zone when set), and drops `authorization` headers. The first time the flag is on, a session copies its existing
|
|
49
|
+
`/workspace` files into the new store and verifies them; `--var PO_FS_STORE:legacy` goes back to the old copy for one
|
|
50
|
+
release. Without the `containers` block the flag only moves the files and `bash` stays unavailable.
|
|
51
|
+
|
|
30
52
|
### Signed offline bundle and pairing
|
|
31
53
|
|
|
32
54
|
Release builds of this package sign the web app at build time with the Agimon release key, so a browser can pin
|
|
@@ -132,12 +154,14 @@ Routes mirror the native hostActions reply shapes:
|
|
|
132
154
|
like the provider key. Sessions see these servers only when the Worker var `PO_CLOUD_MCP` is `on` (off by
|
|
133
155
|
default); requests then run under the same host policy with redirects refused, a 4 MiB response cap and a
|
|
134
156
|
30 second timeout.
|
|
135
|
-
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
157
|
+
- Web browsing: with the Worker var `PO_CLOUD_WEB` set to `on` (off by default) and the `BROWSER` Browser Rendering
|
|
158
|
+
binding from `wrangler.jsonc`, sessions get the code-mode `page` namespace (`fetchPage`, `snapshot`,
|
|
159
|
+
`screenshot`; one browser per session, one page at a time, pages end after 20 seconds, screenshots capped at
|
|
160
|
+
2 MiB) and the `browser` namespace (one persistent Browser Run browser per session, with Live View and a sign-in
|
|
161
|
+
handoff to the person). Every request a page makes, redirects and popups included, passes the same host policy
|
|
162
|
+
(http or https). Browser time is counted per UTC day, at most 3600 seconds, with at most two persistent browsers
|
|
163
|
+
open at once: per org in the org object in signed-in mode, in the owner object otherwise (the hosted service
|
|
164
|
+
points that at the org's owner). Past either limit, calls fail with a message saying which.
|
|
141
165
|
- Abuse ceilings: at most 100 new sessions per org per hour and 100 workspaces per org (429 beyond).
|
|
142
166
|
Signed-in session sockets close with code 4401 after 15 minutes so reconnecting re-runs admission.
|
|
143
167
|
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# The Po session container: computerd serving /workspace from the session's Durable Object, with Node and git.
|
|
2
|
+
# computerd mounts /workspace with FUSE on Cloudflare Containers and falls back to its userspace shim under wrangler dev.
|
|
3
|
+
# Outbound HTTPS is re-signed by Po's gateway; each command is pointed at the platform's CA (see computer.ts), so the
|
|
4
|
+
# image bakes in no certificate. computerd runs as root because it mounts FUSE.
|
|
5
|
+
# Pinned by digest to match @cloudflare/computer 0.10.0; bump both together.
|
|
6
|
+
FROM ghcr.io/cloudflare/computer-computerd-linux-x64:0.10.0@sha256:6ec793fa80f109acf8b3cd4e295284cfed97f61c03030b780a612ec22c49b294 AS computerd
|
|
7
|
+
|
|
8
|
+
FROM debian:stable-slim
|
|
9
|
+
|
|
10
|
+
RUN apt-get update \
|
|
11
|
+
&& apt-get install -y --no-install-recommends fuse3 ca-certificates curl gnupg git \
|
|
12
|
+
&& mkdir -p /etc/apt/keyrings \
|
|
13
|
+
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
|
|
14
|
+
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_24.x nodistro main" \
|
|
15
|
+
> /etc/apt/sources.list.d/nodesource.list \
|
|
16
|
+
&& apt-get update \
|
|
17
|
+
&& apt-get install -y --no-install-recommends nodejs \
|
|
18
|
+
&& rm -rf /var/lib/apt/lists/*
|
|
19
|
+
|
|
20
|
+
COPY --from=computerd /usr/local/bin/computerd /usr/local/bin/computerd
|
|
21
|
+
|
|
22
|
+
ENV PORT=8080
|
|
23
|
+
ENV MOUNT_POINT=/workspace
|
|
24
|
+
ENV FUSE_MOUNT=auto
|
|
25
|
+
EXPOSE 8080
|
|
26
|
+
|
|
27
|
+
ENTRYPOINT ["/usr/local/bin/computerd"]
|
package/dist/{BrowserWebSocketTransport-C2SC2VeJ.js → BrowserWebSocketTransport-B4heNdrp.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { BrowserWebSocketTransport } from "./puppeteer-cloudflare-
|
|
1
|
+
export { BrowserWebSocketTransport } from "./puppeteer-cloudflare-D4l8smMS.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as __toESM, t as __commonJSMin } from "./rolldown-runtime-
|
|
2
|
-
import { t as packageVersion } from "./puppeteer-cloudflare-
|
|
1
|
+
import { i as __toESM, t as __commonJSMin } from "./rolldown-runtime-DbVrKiKs.js";
|
|
2
|
+
import { t as packageVersion } from "./puppeteer-cloudflare-D4l8smMS.js";
|
|
3
3
|
//#endregion
|
|
4
4
|
//#region ../../../node_modules/.pnpm/@cloudflare+puppeteer@1.4.0_supports-color@8.1.1/node_modules/@cloudflare/puppeteer/lib/esm/puppeteer/node/NodeWebSocketTransport.js
|
|
5
5
|
var import_browser = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../../node_modules/.pnpm/@earendil-works+pi-ai@1.5.0_@aws-sdk+credential-provider-node@3.972.86_@
|
|
1
|
+
//#region ../../../node_modules/.pnpm/@earendil-works+pi-ai@1.5.0_@aws-sdk+credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/utils/abort-signals.js
|
|
2
2
|
function combineAbortSignals(signals) {
|
|
3
3
|
const activeSignals = signals.filter((signal) => signal !== void 0);
|
|
4
4
|
if (activeSignals.length === 0) return { cleanup: () => {} };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { An as addressId, Fn as documentCreate, Hn as BACKGROUND_CONTEXT, In as materializeDocument, Kn as withoutAbortSignal, Ln as materializeDocumentValue, Mn as checkRecordVersion, Nn as defineDoc, Rn as resolveAddress, Un as awaitWithContext, Vn as copyJson, jn as checkRecordScope, zn as idFromNumber } from "./serverPlugin-
|
|
2
|
-
//#region ../../../node_modules/.pnpm/@earendil-works+chord@1.5.0_esbuild@0.28.
|
|
1
|
+
import { An as addressId, Fn as documentCreate, Hn as BACKGROUND_CONTEXT, In as materializeDocument, Kn as withoutAbortSignal, Ln as materializeDocumentValue, Mn as checkRecordVersion, Nn as defineDoc, Rn as resolveAddress, Un as awaitWithContext, Vn as copyJson, jn as checkRecordScope, zn as idFromNumber } from "./serverPlugin-DOjUKzFU.js";
|
|
2
|
+
//#region ../../../node_modules/.pnpm/@earendil-works+chord@1.5.0_esbuild@0.28.2_ws@8.22.0/node_modules/@earendil-works/chord/dist/delta/apply-immutable-trusted.js
|
|
3
3
|
const DATA_DESCRIPTOR$1 = {
|
|
4
4
|
value: void 0,
|
|
5
5
|
writable: true,
|
|
@@ -112,7 +112,7 @@ function isContainer$1(value) {
|
|
|
112
112
|
return value !== null && typeof value === "object";
|
|
113
113
|
}
|
|
114
114
|
//#endregion
|
|
115
|
-
//#region ../../../node_modules/.pnpm/@earendil-works+chord@1.5.0_esbuild@0.28.
|
|
115
|
+
//#region ../../../node_modules/.pnpm/@earendil-works+chord@1.5.0_esbuild@0.28.2_ws@8.22.0/node_modules/@earendil-works/chord/dist/delta/tracker.js
|
|
116
116
|
const NODE = Symbol("chord.delta.overlay.node");
|
|
117
117
|
const PREPARED = /* @__PURE__ */ new WeakMap();
|
|
118
118
|
const RELEASED = {};
|
|
@@ -2133,7 +2133,7 @@ function merge(previous, next) {
|
|
|
2133
2133
|
];
|
|
2134
2134
|
}
|
|
2135
2135
|
//#endregion
|
|
2136
|
-
//#region ../../../node_modules/.pnpm/@earendil-works+chord@1.5.0_esbuild@0.28.
|
|
2136
|
+
//#region ../../../node_modules/.pnpm/@earendil-works+chord@1.5.0_esbuild@0.28.2_ws@8.22.0/node_modules/@earendil-works/chord/dist/delta/index.js
|
|
2137
2137
|
const isObj = (value) => value !== null && typeof value === "object";
|
|
2138
2138
|
/**
|
|
2139
2139
|
* Longest suffix of `a` that is a prefix of `b`. Probes with indexOf and verifies
|
|
@@ -2728,7 +2728,7 @@ function decoder() {
|
|
|
2728
2728
|
} };
|
|
2729
2729
|
}
|
|
2730
2730
|
//#endregion
|
|
2731
|
-
//#region ../../../node_modules/.pnpm/@earendil-works+chord@1.5.0_esbuild@0.28.
|
|
2731
|
+
//#region ../../../node_modules/.pnpm/@earendil-works+chord@1.5.0_esbuild@0.28.2_ws@8.22.0/node_modules/@earendil-works/chord/dist/watch.js
|
|
2732
2732
|
const STOPPED = { kind: "stopped" };
|
|
2733
2733
|
const ABORTED = { kind: "aborted" };
|
|
2734
2734
|
const ENDED$1 = { kind: "ended" };
|
|
@@ -3001,7 +3001,7 @@ var Watch = class extends WatchLifecycle {
|
|
|
3001
3001
|
}
|
|
3002
3002
|
};
|
|
3003
3003
|
//#endregion
|
|
3004
|
-
//#region ../../../node_modules/.pnpm/@earendil-works+pi-durable@1.5.0_patch_hash=
|
|
3004
|
+
//#region ../../../node_modules/.pnpm/@earendil-works+pi-durable@1.5.0_patch_hash=0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/errors.js
|
|
3005
3005
|
/**
|
|
3006
3006
|
* The message of a thrown value, without throwing itself: `String()` throws for values such as `Object.create(null)`,
|
|
3007
3007
|
* and code that formats an error must not fail for the value it formats.
|
|
@@ -3076,7 +3076,7 @@ var ConversationIdle = class extends Error {
|
|
|
3076
3076
|
}
|
|
3077
3077
|
};
|
|
3078
3078
|
//#endregion
|
|
3079
|
-
//#region ../../../node_modules/.pnpm/@earendil-works+pi-durable@1.5.0_patch_hash=
|
|
3079
|
+
//#region ../../../node_modules/.pnpm/@earendil-works+pi-durable@1.5.0_patch_hash=0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/timers.js
|
|
3080
3080
|
/** Longest delay `setTimeout` supports; a longer one is waited for in several steps. */
|
|
3081
3081
|
const MAX_TIMER_DELAY = 2147483647;
|
|
3082
3082
|
/**
|
|
@@ -3141,7 +3141,7 @@ function hostTimers(setTimer, report) {
|
|
|
3141
3141
|
};
|
|
3142
3142
|
}
|
|
3143
3143
|
//#endregion
|
|
3144
|
-
//#region ../../../node_modules/.pnpm/@earendil-works+pi-durable@1.5.0_patch_hash=
|
|
3144
|
+
//#region ../../../node_modules/.pnpm/@earendil-works+pi-durable@1.5.0_patch_hash=0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/session/cached-storage.js
|
|
3145
3145
|
/**
|
|
3146
3146
|
* Storage that serves hot record reads from memory: conversations, tasks, and written submissions, each table bounded
|
|
3147
3147
|
* by a count, the least recently used record leaving first, except live tasks, which are kept until they end, and the
|
|
@@ -3396,7 +3396,7 @@ function freeze$1(value) {
|
|
|
3396
3396
|
return Object.freeze(value);
|
|
3397
3397
|
}
|
|
3398
3398
|
//#endregion
|
|
3399
|
-
//#region ../../../node_modules/.pnpm/@earendil-works+pi-durable@1.5.0_patch_hash=
|
|
3399
|
+
//#region ../../../node_modules/.pnpm/@earendil-works+pi-durable@1.5.0_patch_hash=0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/session/conversation-tails.js
|
|
3400
3400
|
/** Conversations whose newest entry ID is kept: IDs only, so many. */
|
|
3401
3401
|
const LATEST_CAPACITY = 4096;
|
|
3402
3402
|
/** Conversations whose newest head marker is kept: whole entries (a compaction summary is one), so fewer. */
|
|
@@ -3481,7 +3481,7 @@ function freeze(value) {
|
|
|
3481
3481
|
return Object.freeze(value);
|
|
3482
3482
|
}
|
|
3483
3483
|
//#endregion
|
|
3484
|
-
//#region ../../../node_modules/.pnpm/@earendil-works+pi-durable@1.5.0_patch_hash=
|
|
3484
|
+
//#region ../../../node_modules/.pnpm/@earendil-works+pi-durable@1.5.0_patch_hash=0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/session/keys.js
|
|
3485
3485
|
/** A task record. */
|
|
3486
3486
|
function taskKey(id) {
|
|
3487
3487
|
return `task:${id}`;
|
|
@@ -3631,7 +3631,7 @@ var GatedStorage = class {
|
|
|
3631
3631
|
}
|
|
3632
3632
|
};
|
|
3633
3633
|
//#endregion
|
|
3634
|
-
//#region ../../../node_modules/.pnpm/@earendil-works+pi-durable@1.5.0_patch_hash=
|
|
3634
|
+
//#region ../../../node_modules/.pnpm/@earendil-works+pi-durable@1.5.0_patch_hash=0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/session/forks.js
|
|
3635
3635
|
const SCAN_PAGE_SIZE = 256;
|
|
3636
3636
|
/** Select every persisted conversation document copied by one fork. */
|
|
3637
3637
|
async function prepareForkDocumentCopies(storage, parentConversationId, at, childConversationId, context) {
|
|
@@ -3694,7 +3694,7 @@ async function collectCopies(storage, scope, at, policy, childConversationId, co
|
|
|
3694
3694
|
} while (cursor !== void 0);
|
|
3695
3695
|
}
|
|
3696
3696
|
//#endregion
|
|
3697
|
-
//#region ../../../node_modules/.pnpm/@earendil-works+pi-durable@1.5.0_patch_hash=
|
|
3697
|
+
//#region ../../../node_modules/.pnpm/@earendil-works+pi-durable@1.5.0_patch_hash=0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/session/transaction.js
|
|
3698
3698
|
/**
|
|
3699
3699
|
* Complete record after applying one change. Placement turns a queued input `placed` and a queued write `done`; a
|
|
3700
3700
|
* continue is never queued, so never placed. Only a placed input or continue can be answered. A settled record stays.
|
|
@@ -4711,7 +4711,7 @@ function publishes(plan) {
|
|
|
4711
4711
|
return plan.retire || plan.change?.loaded === void 0 || plan.content !== void 0;
|
|
4712
4712
|
}
|
|
4713
4713
|
//#endregion
|
|
4714
|
-
//#region ../../../node_modules/.pnpm/@earendil-works+pi-durable@1.5.0_patch_hash=
|
|
4714
|
+
//#region ../../../node_modules/.pnpm/@earendil-works+pi-durable@1.5.0_patch_hash=0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/session/writer.js
|
|
4715
4715
|
const SESSION_FAILED = { kind: "failed" };
|
|
4716
4716
|
/**
|
|
4717
4717
|
* The writer of one Session. The line admits each commit as a part once its callback and settlement succeeded; the
|
|
@@ -5003,7 +5003,7 @@ function hop() {
|
|
|
5003
5003
|
});
|
|
5004
5004
|
}
|
|
5005
5005
|
//#endregion
|
|
5006
|
-
//#region ../../../node_modules/.pnpm/@earendil-works+pi-durable@1.5.0_patch_hash=
|
|
5006
|
+
//#region ../../../node_modules/.pnpm/@earendil-works+pi-durable@1.5.0_patch_hash=0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/session/session.js
|
|
5007
5007
|
const NO_HOLDS = [];
|
|
5008
5008
|
const NO_OPERATIONS = [];
|
|
5009
5009
|
const NO_KEYS = [];
|
|
@@ -6584,7 +6584,7 @@ var GuardedStorage = class {
|
|
|
6584
6584
|
}
|
|
6585
6585
|
};
|
|
6586
6586
|
//#endregion
|
|
6587
|
-
//#region ../../../node_modules/.pnpm/@earendil-works+pi-durable@1.5.0_patch_hash=
|
|
6587
|
+
//#region ../../../node_modules/.pnpm/@earendil-works+pi-durable@1.5.0_patch_hash=0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/harness/agent.js
|
|
6588
6588
|
const DEFAULT_RETRY_POLICY = {
|
|
6589
6589
|
enabled: true,
|
|
6590
6590
|
maxRetries: 3,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { n as __exportAll, t as __commonJSMin } from "./rolldown-runtime-
|
|
2
|
-
import { g as getInitialSystemMessage, m as getCurrentTools, t as calculateCost, v as resolveTranscript } from "./models-
|
|
3
|
-
import { l as renderSystemMessageUpdate, n as getIdentityHeaders, s as getSystemMessageText } from "./identity-
|
|
4
|
-
import { n as buildBaseOptions, r as clampMaxTokensToContext, t as adjustMaxTokensForThinking } from "./simple-options-
|
|
5
|
-
import { n as ToolCallArgumentsStream, r as parseJsonWithRepair } from "./streaming-json-
|
|
6
|
-
import { i as AssistantMessageEventStream, t as appendAssistantMessageDiagnostic } from "./diagnostics-
|
|
7
|
-
import { t as getProviderEnvValue } from "./provider-env-
|
|
8
|
-
import { c as ANTHROPIC_WORKSPACE_ID_ENV, i as ANTHROPIC_IDENTITY_TOKEN_FILE_ENV, o as ANTHROPIC_ORGANIZATION_ID_ENV, r as ANTHROPIC_FEDERATION_RULE_ID_ENV, s as ANTHROPIC_SERVICE_ACCOUNT_ID_ENV } from "./env-api-keys-
|
|
9
|
-
import { t as headersToRecord } from "./headers-
|
|
10
|
-
import { n as isOpenRouterModel, t as applyOpenRouterReportedCost } from "./openrouter-cost-
|
|
11
|
-
import { t as retryProviderRequest } from "./provider-retry-
|
|
12
|
-
import { t as sanitizeSurrogates } from "./sanitize-unicode-
|
|
13
|
-
import { c as isStrictToolLimitErrorMessage, d as resolveJsonSchemaStrictSampling, l as prefersJsonSchemaStrictSampling, n as transformMessages, s as getJsonSchemaToolParameters, t as splitErrorToolResultImages } from "./transform-messages-
|
|
14
|
-
import { n as hasCopilotVisionInput, t as buildCopilotDynamicHeaders } from "./github-copilot-headers-
|
|
1
|
+
import { n as __exportAll, t as __commonJSMin } from "./rolldown-runtime-DbVrKiKs.js";
|
|
2
|
+
import { g as getInitialSystemMessage, m as getCurrentTools, t as calculateCost, v as resolveTranscript } from "./models-D6d73jcW.js";
|
|
3
|
+
import { l as renderSystemMessageUpdate, n as getIdentityHeaders, s as getSystemMessageText } from "./identity-BIeAyilV.js";
|
|
4
|
+
import { n as buildBaseOptions, r as clampMaxTokensToContext, t as adjustMaxTokensForThinking } from "./simple-options-DWrW31_K.js";
|
|
5
|
+
import { n as ToolCallArgumentsStream, r as parseJsonWithRepair } from "./streaming-json-DxsKu9B6.js";
|
|
6
|
+
import { i as AssistantMessageEventStream, t as appendAssistantMessageDiagnostic } from "./diagnostics-DPTP-yrt.js";
|
|
7
|
+
import { t as getProviderEnvValue } from "./provider-env-D2M8dslq.js";
|
|
8
|
+
import { c as ANTHROPIC_WORKSPACE_ID_ENV, i as ANTHROPIC_IDENTITY_TOKEN_FILE_ENV, o as ANTHROPIC_ORGANIZATION_ID_ENV, r as ANTHROPIC_FEDERATION_RULE_ID_ENV, s as ANTHROPIC_SERVICE_ACCOUNT_ID_ENV } from "./env-api-keys-CAnjjnsR.js";
|
|
9
|
+
import { t as headersToRecord } from "./headers-BEuxFxDI.js";
|
|
10
|
+
import { n as isOpenRouterModel, t as applyOpenRouterReportedCost } from "./openrouter-cost-D99Qqcs6.js";
|
|
11
|
+
import { t as retryProviderRequest } from "./provider-retry-ChD-K2Gv.js";
|
|
12
|
+
import { t as sanitizeSurrogates } from "./sanitize-unicode-Dl4ROF7y.js";
|
|
13
|
+
import { c as isStrictToolLimitErrorMessage, d as resolveJsonSchemaStrictSampling, l as prefersJsonSchemaStrictSampling, n as transformMessages, s as getJsonSchemaToolParameters, t as splitErrorToolResultImages } from "./transform-messages-CjTSwW9q.js";
|
|
14
|
+
import { n as hasCopilotVisionInput, t as buildCopilotDynamicHeaders } from "./github-copilot-headers-DpQQAh-s.js";
|
|
15
15
|
//#region ../../../node_modules/.pnpm/@anthropic-ai+sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/internal/tslib.mjs
|
|
16
16
|
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
17
17
|
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
@@ -824,7 +824,7 @@ function redactSensitive(body) {
|
|
|
824
824
|
*/
|
|
825
825
|
async function checkCredentialsFileSafety(path, onWarn = (m) => console.warn(`anthropic-sdk: ${m}`)) {
|
|
826
826
|
if (typeof process === "undefined" || process.platform === "win32") return;
|
|
827
|
-
const { fs } = await import("./node-
|
|
827
|
+
const { fs } = await import("./node-CBLSc-YH.js").then((n) => n.i);
|
|
828
828
|
let resolved = path;
|
|
829
829
|
let st;
|
|
830
830
|
try {
|
|
@@ -844,7 +844,7 @@ async function checkCredentialsFileSafety(path, onWarn = (m) => console.warn(`an
|
|
|
844
844
|
* Creates the parent directory with mode 0700 and the file with mode 0600.
|
|
845
845
|
*/
|
|
846
846
|
async function writeCredentialsFileAtomic(targetPath, data) {
|
|
847
|
-
const { fs, path } = await import("./node-
|
|
847
|
+
const { fs, path } = await import("./node-CBLSc-YH.js").then((n) => n.i);
|
|
848
848
|
const dir = path.dirname(targetPath);
|
|
849
849
|
await fs.promises.mkdir(dir, {
|
|
850
850
|
recursive: true,
|
|
@@ -1177,7 +1177,7 @@ const loadConfigWithSource = async (profile) => {
|
|
|
1177
1177
|
const profileName = profile ?? await getActiveProfileName();
|
|
1178
1178
|
if (profileName === null) return null;
|
|
1179
1179
|
validateProfileName(profileName);
|
|
1180
|
-
const { fs, path } = await import("./node-
|
|
1180
|
+
const { fs, path } = await import("./node-CBLSc-YH.js").then((n) => n.i);
|
|
1181
1181
|
const configPath = path.join(rootConfigPath, "configs", `${profileName}.json`);
|
|
1182
1182
|
let configRaw;
|
|
1183
1183
|
try {
|
|
@@ -1254,12 +1254,12 @@ const getCredentialsPath = async (config, profile) => {
|
|
|
1254
1254
|
const profileName = profile ?? await getActiveProfileName();
|
|
1255
1255
|
if (!profileName) return null;
|
|
1256
1256
|
validateProfileName(profileName);
|
|
1257
|
-
const { path } = await import("./node-
|
|
1257
|
+
const { path } = await import("./node-CBLSc-YH.js").then((n) => n.i);
|
|
1258
1258
|
return path.join(rootConfigPath, "credentials", `${profileName}.json`);
|
|
1259
1259
|
};
|
|
1260
1260
|
const getRootConfigPath = async () => {
|
|
1261
1261
|
if (!supportsLocalConfigFiles()) return null;
|
|
1262
|
-
const { path } = await import("./node-
|
|
1262
|
+
const { path } = await import("./node-CBLSc-YH.js").then((n) => n.i);
|
|
1263
1263
|
const configDir = readEnv("ANTHROPIC_CONFIG_DIR");
|
|
1264
1264
|
if (configDir) return configDir;
|
|
1265
1265
|
if (getPlatformHeaders()["X-Stainless-OS"] === "Windows") {
|
|
@@ -1284,7 +1284,7 @@ const getActiveProfileName = async () => {
|
|
|
1284
1284
|
if (!rootConfigPath) return null;
|
|
1285
1285
|
const profileName = readEnv("ANTHROPIC_PROFILE");
|
|
1286
1286
|
if (profileName) return profileName;
|
|
1287
|
-
const { fs, path } = await import("./node-
|
|
1287
|
+
const { fs, path } = await import("./node-CBLSc-YH.js").then((n) => n.i);
|
|
1288
1288
|
const filePath = path.join(rootConfigPath, "active_config");
|
|
1289
1289
|
try {
|
|
1290
1290
|
return (await fs.promises.readFile(filePath, "utf-8")).trim() || "default";
|
|
@@ -1302,7 +1302,7 @@ const getActiveProfileName = async () => {
|
|
|
1302
1302
|
function identityTokenFromFile(path) {
|
|
1303
1303
|
if (!path) throw new AnthropicError("Identity token file path is empty");
|
|
1304
1304
|
return async () => {
|
|
1305
|
-
const { fs } = await import("./node-
|
|
1305
|
+
const { fs } = await import("./node-CBLSc-YH.js").then((n) => n.i);
|
|
1306
1306
|
let content;
|
|
1307
1307
|
try {
|
|
1308
1308
|
content = await fs.promises.readFile(path, "utf-8");
|
|
@@ -1390,7 +1390,7 @@ function oidcFederationProvider(config) {
|
|
|
1390
1390
|
*/
|
|
1391
1391
|
function userOAuthProvider(config) {
|
|
1392
1392
|
return async (opts) => {
|
|
1393
|
-
const { fs } = await import("./node-
|
|
1393
|
+
const { fs } = await import("./node-CBLSc-YH.js").then((n) => n.i);
|
|
1394
1394
|
await checkCredentialsFileSafety(config.credentialsPath, config.onSafetyWarning);
|
|
1395
1395
|
let raw;
|
|
1396
1396
|
try {
|
|
@@ -1567,7 +1567,7 @@ function resolveIdentityTokenProvider(auth) {
|
|
|
1567
1567
|
*/
|
|
1568
1568
|
function cachedExchangeProvider(exchange, credentialsPath, onCacheWriteError, onSafetyWarning) {
|
|
1569
1569
|
return async (opts) => {
|
|
1570
|
-
const { fs } = await import("./node-
|
|
1570
|
+
const { fs } = await import("./node-CBLSc-YH.js").then((n) => n.i);
|
|
1571
1571
|
await checkCredentialsFileSafety(credentialsPath, onSafetyWarning);
|
|
1572
1572
|
let existing;
|
|
1573
1573
|
try {
|
|
@@ -3299,8 +3299,8 @@ var UserProfiles = class extends APIResource {
|
|
|
3299
3299
|
};
|
|
3300
3300
|
//#endregion
|
|
3301
3301
|
//#region ../../../node_modules/.pnpm/@stablelib+base64@1.0.1/node_modules/@stablelib/base64/lib/base64.js
|
|
3302
|
-
var require_base64 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3303
|
-
var __extends =
|
|
3302
|
+
var require_base64 = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) => {
|
|
3303
|
+
var __extends = this$2 && this$2.__extends || (function() {
|
|
3304
3304
|
var extendStatics = function(d, b) {
|
|
3305
3305
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
3306
3306
|
d.__proto__ = b;
|
|
@@ -3500,22 +3500,22 @@ var require_base64 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3500
3500
|
}));
|
|
3501
3501
|
//#endregion
|
|
3502
3502
|
//#region ../../../node_modules/.pnpm/fast-sha256@1.3.0/node_modules/fast-sha256/sha256.js
|
|
3503
|
-
var require_sha256 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
3503
|
+
var require_sha256 = /* @__PURE__ */ __commonJSMin(((exports, module, this$1) => {
|
|
3504
3504
|
(function(root, factory) {
|
|
3505
|
-
var exports
|
|
3506
|
-
factory(exports
|
|
3507
|
-
var sha256 = exports
|
|
3508
|
-
for (var k in exports
|
|
3505
|
+
var exports = {};
|
|
3506
|
+
factory(exports);
|
|
3507
|
+
var sha256 = exports["default"];
|
|
3508
|
+
for (var k in exports) sha256[k] = exports[k];
|
|
3509
3509
|
if (typeof module === "object" && typeof module.exports === "object") module.exports = sha256;
|
|
3510
3510
|
else if (typeof define === "function" && define.amd) define(function() {
|
|
3511
3511
|
return sha256;
|
|
3512
3512
|
});
|
|
3513
3513
|
else root.sha256 = sha256;
|
|
3514
|
-
})(
|
|
3514
|
+
})(this$1, function(exports) {
|
|
3515
3515
|
"use strict";
|
|
3516
|
-
exports
|
|
3517
|
-
exports
|
|
3518
|
-
exports
|
|
3516
|
+
exports.__esModule = true;
|
|
3517
|
+
exports.digestLength = 32;
|
|
3518
|
+
exports.blockSize = 64;
|
|
3519
3519
|
var K = new Uint32Array([
|
|
3520
3520
|
1116352408,
|
|
3521
3521
|
1899447441,
|
|
@@ -3631,8 +3631,8 @@ var require_sha256 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3631
3631
|
}
|
|
3632
3632
|
var Hash = function() {
|
|
3633
3633
|
function Hash() {
|
|
3634
|
-
this.digestLength = exports
|
|
3635
|
-
this.blockSize = exports
|
|
3634
|
+
this.digestLength = exports.digestLength;
|
|
3635
|
+
this.blockSize = exports.blockSize;
|
|
3636
3636
|
this.state = /* @__PURE__ */ new Int32Array(8);
|
|
3637
3637
|
this.temp = /* @__PURE__ */ new Int32Array(64);
|
|
3638
3638
|
this.buffer = /* @__PURE__ */ new Uint8Array(128);
|
|
@@ -3729,7 +3729,7 @@ var require_sha256 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3729
3729
|
};
|
|
3730
3730
|
return Hash;
|
|
3731
3731
|
}();
|
|
3732
|
-
exports
|
|
3732
|
+
exports.Hash = Hash;
|
|
3733
3733
|
var HMAC = function() {
|
|
3734
3734
|
function HMAC(key) {
|
|
3735
3735
|
this.inner = new Hash();
|
|
@@ -3778,22 +3778,22 @@ var require_sha256 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3778
3778
|
};
|
|
3779
3779
|
return HMAC;
|
|
3780
3780
|
}();
|
|
3781
|
-
exports
|
|
3781
|
+
exports.HMAC = HMAC;
|
|
3782
3782
|
function hash(data) {
|
|
3783
3783
|
var h = new Hash().update(data);
|
|
3784
3784
|
var digest = h.digest();
|
|
3785
3785
|
h.clean();
|
|
3786
3786
|
return digest;
|
|
3787
3787
|
}
|
|
3788
|
-
exports
|
|
3789
|
-
exports
|
|
3788
|
+
exports.hash = hash;
|
|
3789
|
+
exports["default"] = hash;
|
|
3790
3790
|
function hmac(key, data) {
|
|
3791
3791
|
var h = new HMAC(key).update(data);
|
|
3792
3792
|
var digest = h.digest();
|
|
3793
3793
|
h.clean();
|
|
3794
3794
|
return digest;
|
|
3795
3795
|
}
|
|
3796
|
-
exports
|
|
3796
|
+
exports.hmac = hmac;
|
|
3797
3797
|
function fillBuffer(buffer, hmac, info, counter) {
|
|
3798
3798
|
var num = counter[0];
|
|
3799
3799
|
if (num === 0) throw new Error("hkdf: cannot expand more");
|
|
@@ -3804,7 +3804,7 @@ var require_sha256 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3804
3804
|
hmac.finish(buffer);
|
|
3805
3805
|
counter[0]++;
|
|
3806
3806
|
}
|
|
3807
|
-
var hkdfSalt = new Uint8Array(exports
|
|
3807
|
+
var hkdfSalt = new Uint8Array(exports.digestLength);
|
|
3808
3808
|
function hkdf(key, salt, info, length) {
|
|
3809
3809
|
if (salt === void 0) salt = hkdfSalt;
|
|
3810
3810
|
if (length === void 0) length = 32;
|
|
@@ -3825,7 +3825,7 @@ var require_sha256 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3825
3825
|
counter.fill(0);
|
|
3826
3826
|
return out;
|
|
3827
3827
|
}
|
|
3828
|
-
exports
|
|
3828
|
+
exports.hkdf = hkdf;
|
|
3829
3829
|
function pbkdf2(password, salt, iterations, dkLen) {
|
|
3830
3830
|
var prf = new HMAC(password);
|
|
3831
3831
|
var len = prf.digestLength;
|
|
@@ -3856,7 +3856,7 @@ var require_sha256 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3856
3856
|
prf.clean();
|
|
3857
3857
|
return dk;
|
|
3858
3858
|
}
|
|
3859
|
-
exports
|
|
3859
|
+
exports.pbkdf2 = pbkdf2;
|
|
3860
3860
|
});
|
|
3861
3861
|
}));
|
|
3862
3862
|
//#endregion
|
|
@@ -5457,7 +5457,7 @@ var EnvironmentWorker = /* @__PURE__ */ (() => {
|
|
|
5457
5457
|
const ctrl = new AbortController();
|
|
5458
5458
|
const detachExternal = linkAbort(externalSignal, ctrl);
|
|
5459
5459
|
const lease = new Lease(ctrl);
|
|
5460
|
-
const agentToolset = await import("./node-
|
|
5460
|
+
const agentToolset = await import("./node-bvVKJkBH.js");
|
|
5461
5461
|
let leaseTtlMs;
|
|
5462
5462
|
let runner;
|
|
5463
5463
|
const heartbeatPromise = heartbeatLoop(sessionClient, work, lease, log, this.requestOptions, (ttlMs) => {
|
|
@@ -13237,7 +13237,7 @@ var Anthropic = /* @__PURE__ */ (() => {
|
|
|
13237
13237
|
return Anthropic;
|
|
13238
13238
|
})();
|
|
13239
13239
|
//#endregion
|
|
13240
|
-
//#region ../../../node_modules/.pnpm/@earendil-works+pi-ai@1.5.0_@aws-sdk+credential-provider-node@3.972.86_@
|
|
13240
|
+
//#region ../../../node_modules/.pnpm/@earendil-works+pi-ai@1.5.0_@aws-sdk+credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js
|
|
13241
13241
|
var anthropic_messages_exports = /* @__PURE__ */ __exportAll({
|
|
13242
13242
|
stream: () => stream,
|
|
13243
13243
|
streamSimple: () => streamSimple
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as Partial, G as Null, L as Tuple, N as Record, O as Omit, Q as Integer, U as Number$1, V as String$1, Z as Literal, bt as _Array_, dt as Unknown, et as Boolean, ht as Optional$4, lt as Unsafe, ot as Intersect, pt as _Object_, z as Union } from "./serverPlugin-
|
|
2
|
-
import "./value-
|
|
3
|
-
import { t as PoPluginCallSchema } from "./pluginProtocol-
|
|
1
|
+
import { D as Partial, G as Null, L as Tuple, N as Record, O as Omit, Q as Integer, U as Number$1, V as String$1, Z as Literal, bt as _Array_, dt as Unknown, et as Boolean, ht as Optional$4, lt as Unsafe, ot as Intersect, pt as _Object_, z as Union } from "./serverPlugin-DOjUKzFU.js";
|
|
2
|
+
import "./value-MMvKKw8F.js";
|
|
3
|
+
import { t as PoPluginCallSchema } from "./pluginProtocol-Bf2o7M88.js";
|
|
4
4
|
//#region ../../../node_modules/.pnpm/@earendil-works+pi-schema@1.5.0/node_modules/@earendil-works/pi-schema/dist/builders.js
|
|
5
5
|
/** A string, with optional length bounds (in code points), pattern and format. */
|
|
6
6
|
function str(options = {}) {
|
|
@@ -2026,7 +2026,7 @@ function compiler(schema, options) {
|
|
|
2026
2026
|
}
|
|
2027
2027
|
}
|
|
2028
2028
|
//#endregion
|
|
2029
|
-
//#region ../../../node_modules/.pnpm/@earendil-works+chord@1.5.0_esbuild@0.28.
|
|
2029
|
+
//#region ../../../node_modules/.pnpm/@earendil-works+chord@1.5.0_esbuild@0.28.2_ws@8.22.0/node_modules/@earendil-works/chord/dist/errors.js
|
|
2030
2030
|
/** Error codes callers see (guide table). A refused or aborted reload keeps the code of its cause. */
|
|
2031
2031
|
const CHORD_ERROR_CODES = [
|
|
2032
2032
|
"aborted",
|
|
@@ -2078,7 +2078,7 @@ async function runAll(steps, message) {
|
|
|
2078
2078
|
if (errors.length > 1) throw new AggregateError(errors, message);
|
|
2079
2079
|
}
|
|
2080
2080
|
//#endregion
|
|
2081
|
-
//#region ../../../node_modules/.pnpm/@earendil-works+chord@1.5.0_esbuild@0.28.
|
|
2081
|
+
//#region ../../../node_modules/.pnpm/@earendil-works+chord@1.5.0_esbuild@0.28.2_ws@8.22.0/node_modules/@earendil-works/chord/dist/schema.js
|
|
2082
2082
|
const asSchema = (schema) => schema !== null && typeof schema === "object" ? schema : schema === false ? { not: {} } : {};
|
|
2083
2083
|
/** Canonical JSON: sorted object keys, `undefined` members dropped. */
|
|
2084
2084
|
function canonicalJson(value) {
|
|
@@ -2378,7 +2378,7 @@ function functionFits(sub, sup) {
|
|
|
2378
2378
|
return fits(sub.returnType, sup.returnType);
|
|
2379
2379
|
}
|
|
2380
2380
|
//#endregion
|
|
2381
|
-
//#region ../../../node_modules/.pnpm/@earendil-works+chord@1.5.0_esbuild@0.28.
|
|
2381
|
+
//#region ../../../node_modules/.pnpm/@earendil-works+chord@1.5.0_esbuild@0.28.2_ws@8.22.0/node_modules/@earendil-works/chord/dist/contract.js
|
|
2382
2382
|
const MEMBER = Symbol("chord.member");
|
|
2383
2383
|
function method(args, result) {
|
|
2384
2384
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as PO_APPROVAL_TEXT_LIMITS } from "./approvalPrompt-
|
|
1
|
+
import { or as defineServiceContract } from "./serverPlugin-DOjUKzFU.js";
|
|
2
|
+
import { t as PO_APPROVAL_TEXT_LIMITS } from "./approvalPrompt-D_ZQNLnw.js";
|
|
3
3
|
//#region ../../core/po-core/src/schemas/approval.ts
|
|
4
4
|
const PO_APPROVAL_SERVICE = "po/approval";
|
|
5
5
|
const PO_APPROVAL_CONTRACT = defineServiceContract(PO_APPROVAL_SERVICE, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { V as String, Z as Literal, bt as _Array_, ht as Optional, pt as _Object_, z as Union } from "./serverPlugin-
|
|
2
|
-
import { n as Check } from "./value-
|
|
1
|
+
import { V as String, Z as Literal, bt as _Array_, ht as Optional, pt as _Object_, z as Union } from "./serverPlugin-DOjUKzFU.js";
|
|
2
|
+
import { n as Check } from "./value-MMvKKw8F.js";
|
|
3
3
|
//#region ../../core/po-core/src/schemas/approvalPrompt.ts
|
|
4
4
|
/** Caps on the plain text an approval carries, applied by the gate and checked again on every hop. */
|
|
5
5
|
const PO_APPROVAL_TEXT_LIMITS = Object.freeze({
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./index.edge-AAGhdqtz.js";
|