@opencode/core 0.0.0-dev-20862 → 0.0.0-dev-20865
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/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{filesystem-29627893.js → models-dev-02vpj3qc.js} +17 -17
- package/dist/chunks/{filesystem-e2cmhjkj.js → models-dev-09dj6j0c.js} +25 -25
- package/dist/chunks/{filesystem-hnb4yx9q.js → models-dev-0c77cqtw.js} +6 -6
- package/dist/chunks/{filesystem-by8c53ka.js → models-dev-0cwy3bsm.js} +33 -33
- package/dist/chunks/{filesystem-8pd28bjz.js → models-dev-0ef4xx30.js} +11 -11
- package/dist/chunks/{filesystem-7t1q934f.js → models-dev-0sakkys5.js} +9 -9
- package/dist/chunks/{filesystem-0vbcp93d.js → models-dev-0vbcp93d.js} +2 -2
- package/dist/chunks/{filesystem-196dp0k4.js → models-dev-0xb1ev3y.js} +18 -18
- package/dist/chunks/{filesystem-7cjfetaf.js → models-dev-1813d5zh.js} +13 -13
- package/dist/chunks/{filesystem-fmb6frcs.js → models-dev-18ged8s4.js} +5 -5
- package/dist/chunks/{filesystem-zmdnfm9g.js → models-dev-1kzng4v9.js} +29 -29
- package/dist/chunks/{filesystem-w39jehkq.js → models-dev-1pxz8ven.js} +5 -5
- package/dist/chunks/{filesystem-zrj251rj.js → models-dev-1xbam7mh.js} +12 -12
- package/dist/chunks/{filesystem-wb1x78f5.js → models-dev-1zran81s.js} +44 -44
- package/dist/chunks/{filesystem-q0zsatc3.js → models-dev-1zzep20k.js} +52 -52
- package/dist/chunks/{filesystem-4c0s820n.js → models-dev-20y73wgn.js} +82 -82
- package/dist/chunks/{filesystem-nm4yzjmp.js → models-dev-27jjh9qb.js} +8 -8
- package/dist/chunks/{filesystem-pr4c8k5d.js → models-dev-27k0aesg.js} +34 -34
- package/dist/chunks/{filesystem-aqazz0j8.js → models-dev-2fah77kf.js} +17 -17
- package/dist/chunks/{filesystem-2k8khapm.js → models-dev-2k8khapm.js} +1 -1
- package/dist/chunks/{filesystem-2vvh33eb.js → models-dev-2vvh33eb.js} +2 -2
- package/dist/chunks/{filesystem-6xktvksv.js → models-dev-3066s64a.js} +10 -10
- package/dist/chunks/{filesystem-rb70syh1.js → models-dev-3711sgqg.js} +15 -15
- package/dist/chunks/{filesystem-234r1ky0.js → models-dev-38ae7j5t.js} +8 -8
- package/dist/chunks/{filesystem-mwpbc7s8.js → models-dev-38qn8yeh.js} +22 -22
- package/dist/chunks/{filesystem-p1ezge1v.js → models-dev-3af8jha9.js} +14 -14
- package/dist/chunks/{filesystem-18a9s3e7.js → models-dev-3ak9ykqq.js} +8 -8
- package/dist/chunks/{filesystem-3fc6dm20.js → models-dev-3fc6dm20.js} +1 -1
- package/dist/chunks/{filesystem-yezy7z0k.js → models-dev-3gkd5a8g.js} +8 -8
- package/dist/chunks/{filesystem-58hzr473.js → models-dev-3h8e7zd4.js} +19 -19
- package/dist/chunks/{filesystem-3hepkmqq.js → models-dev-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-3hwn7j4h.js → models-dev-3hwn7j4h.js} +2 -2
- package/dist/chunks/{filesystem-1a4qr9z1.js → models-dev-3kdapj6e.js} +3 -3
- package/dist/chunks/{filesystem-v47ja0kk.js → models-dev-3pe8x8yc.js} +42 -42
- package/dist/chunks/{filesystem-2t8rmdrh.js → models-dev-3qsb6rdp.js} +11 -11
- package/dist/chunks/{filesystem-mggg0rbc.js → models-dev-3rf335s5.js} +41 -41
- package/dist/chunks/{filesystem-3smtnn6g.js → models-dev-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-9s024g5s.js → models-dev-3svptyzd.js} +7 -7
- package/dist/chunks/{filesystem-ma48de29.js → models-dev-3tt1qkhr.js} +5 -5
- package/dist/chunks/{filesystem-3tvqynh2.js → models-dev-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-nbkf97mm.js → models-dev-3xh5mtw1.js} +15 -15
- package/dist/chunks/{filesystem-kav7weha.js → models-dev-3zkyqq39.js} +30 -30
- package/dist/chunks/{filesystem-3zsf4n22.js → models-dev-3zsf4n22.js} +1 -1
- package/dist/chunks/{filesystem-jq5zn2gb.js → models-dev-41ha1pse.js} +18 -18
- package/dist/chunks/{filesystem-n4fsvy2x.js → models-dev-4297re2w.js} +16 -16
- package/dist/chunks/{filesystem-m5jcjszt.js → models-dev-48kw51zw.js} +3 -3
- package/dist/chunks/{filesystem-nsdra7pt.js → models-dev-4c9nws0q.js} +42 -42
- package/dist/chunks/{filesystem-4ts7tf6z.js → models-dev-4ts7tf6z.js} +2 -2
- package/dist/chunks/{filesystem-v7z2bvyd.js → models-dev-4v7ngy20.js} +4 -4
- package/dist/chunks/models-dev-4v7qdvcn.js +18 -0
- package/dist/chunks/{filesystem-b11b6prk.js → models-dev-4vs05w9v.js} +79 -79
- package/dist/chunks/{filesystem-cc09gky1.js → models-dev-50jefmw0.js} +26 -26
- package/dist/chunks/{filesystem-54ma36ye.js → models-dev-54ma36ye.js} +1 -1
- package/dist/chunks/{filesystem-pg0x4j42.js → models-dev-56zrnamb.js} +11 -11
- package/dist/chunks/{filesystem-yg152t47.js → models-dev-5cr9rfmm.js} +33 -33
- package/dist/chunks/{filesystem-ws0htp7c.js → models-dev-5dn4fjfa.js} +13 -13
- package/dist/chunks/{filesystem-628nc13m.js → models-dev-5fxerghj.js} +23 -23
- package/dist/chunks/{filesystem-hbvtdghj.js → models-dev-5jebg124.js} +4 -4
- package/dist/chunks/{filesystem-5m9w47nd.js → models-dev-5m9w47nd.js} +1 -1
- package/dist/chunks/{filesystem-7ha8mbyb.js → models-dev-5rb28c55.js} +9 -9
- package/dist/chunks/{filesystem-e1t3mam8.js → models-dev-62wenpza.js} +9 -9
- package/dist/chunks/{filesystem-kmpk7fbr.js → models-dev-6631xwdh.js} +16 -16
- package/dist/chunks/{filesystem-1b39dbdd.js → models-dev-6893qs62.js} +4 -4
- package/dist/chunks/{filesystem-r9h634c8.js → models-dev-6f60r94z.js} +3 -3
- package/dist/chunks/{filesystem-hddh30xx.js → models-dev-6m68mxhc.js} +9 -9
- package/dist/chunks/{filesystem-0hxnjnx8.js → models-dev-6nndasc1.js} +12 -12
- package/dist/chunks/{filesystem-42q5z408.js → models-dev-6nvb4mge.js} +5 -5
- package/dist/chunks/{filesystem-6xb47vfp.js → models-dev-6xb47vfp.js} +1 -1
- package/dist/chunks/{filesystem-9kg7wp4x.js → models-dev-76qnrnma.js} +6 -6
- package/dist/chunks/{filesystem-7bmhse3q.js → models-dev-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-f0bdtv1n.js → models-dev-7j2crns3.js} +11 -11
- package/dist/chunks/{filesystem-d7h2nsz1.js → models-dev-7mjqmdtc.js} +32 -32
- package/dist/chunks/{filesystem-e0w2vstn.js → models-dev-7z5rppbg.js} +10 -10
- package/dist/chunks/{filesystem-5w9yjztw.js → models-dev-7zt5x37y.js} +1 -1
- package/dist/chunks/{filesystem-e448g38w.js → models-dev-82148vs9.js} +7 -7
- package/dist/chunks/{filesystem-w1eejvng.js → models-dev-84txncab.js} +5 -5
- package/dist/chunks/{filesystem-yar3z0vm.js → models-dev-8a2c1kbr.js} +20 -20
- package/dist/chunks/{filesystem-e0v6r3rc.js → models-dev-8dthkasz.js} +36 -36
- package/dist/chunks/{filesystem-4c2dxef7.js → models-dev-8e54dvz2.js} +16 -16
- package/dist/chunks/{filesystem-rjtxxem0.js → models-dev-8jwn2r34.js} +8 -8
- package/dist/chunks/{filesystem-n9kc33re.js → models-dev-8krkc3yk.js} +3 -3
- package/dist/chunks/{filesystem-8m6m0r52.js → models-dev-8m6m0r52.js} +1 -1
- package/dist/chunks/{filesystem-rkprpv83.js → models-dev-8sze2n9a.js} +6 -6
- package/dist/chunks/{filesystem-3rj2b0mx.js → models-dev-91ywsamh.js} +24 -24
- package/dist/chunks/{filesystem-kzxe22pz.js → models-dev-93m7ndqx.js} +4 -4
- package/dist/chunks/{filesystem-89ppyk96.js → models-dev-977z57ma.js} +3 -3
- package/dist/chunks/{filesystem-3ez4gjkt.js → models-dev-98str5rv.js} +1 -1
- package/dist/chunks/{filesystem-77w66y0t.js → models-dev-9c6cajnv.js} +11 -11
- package/dist/chunks/{filesystem-rnwzxv10.js → models-dev-9j9hzet3.js} +20 -20
- package/dist/chunks/{filesystem-42721k3a.js → models-dev-9n90zg10.js} +16 -16
- package/dist/chunks/{filesystem-k0sjew9s.js → models-dev-9p0xfm4a.js} +19 -19
- package/dist/chunks/{filesystem-z7d7tagb.js → models-dev-9v3ssj07.js} +11 -11
- package/dist/chunks/{filesystem-pn3cc07s.js → models-dev-a2qe2ev9.js} +8 -8
- package/dist/chunks/{filesystem-a6xg053j.js → models-dev-ab4qm1k1.js} +16 -16
- package/dist/chunks/{filesystem-w5yqftge.js → models-dev-acd4vkpt.js} +6 -6
- package/dist/chunks/{filesystem-58hng72m.js → models-dev-ajxsk1x2.js} +5 -5
- package/dist/chunks/{filesystem-h9k3zmfa.js → models-dev-awppbkr6.js} +16 -16
- package/dist/chunks/{filesystem-ek1kdr8s.js → models-dev-az0s1ab0.js} +30 -30
- package/dist/chunks/{filesystem-bmwsgzm3.js → models-dev-b250jdey.js} +15 -15
- package/dist/chunks/{filesystem-scgrse2b.js → models-dev-b3f8fkhc.js} +5 -5
- package/dist/chunks/{filesystem-jvekf0st.js → models-dev-b41xg0sk.js} +11 -11
- package/dist/chunks/{filesystem-bx0gyb4h.js → models-dev-b674v2dg.js} +5 -5
- package/dist/chunks/{filesystem-hk8fhejm.js → models-dev-b9tgwt06.js} +23 -23
- package/dist/chunks/{filesystem-t8c0xvf3.js → models-dev-bggdt6jp.js} +7 -7
- package/dist/chunks/{filesystem-bjx1sjef.js → models-dev-bjx1sjef.js} +2 -2
- package/dist/chunks/{filesystem-0z1n3j5c.js → models-dev-bky1yqwv.js} +21 -21
- package/dist/chunks/{filesystem-bmr56wjg.js → models-dev-bmr56wjg.js} +1 -1
- package/dist/chunks/{filesystem-f33qb1th.js → models-dev-bmzae5ya.js} +22 -22
- package/dist/chunks/{filesystem-wwxyb18g.js → models-dev-bty79xpe.js} +4 -4
- package/dist/chunks/{filesystem-p42kja40.js → models-dev-bvnvcshr.js} +30 -30
- package/dist/chunks/{filesystem-c41wscbt.js → models-dev-c41wscbt.js} +2 -2
- package/dist/chunks/{filesystem-2ryng5r3.js → models-dev-c6bnrspk.js} +4 -4
- package/dist/chunks/{filesystem-c8ax2afj.js → models-dev-c8ax2afj.js} +2 -2
- package/dist/chunks/{filesystem-njfdx3sy.js → models-dev-ce0wjd2x.js} +6 -6
- package/dist/chunks/{filesystem-a78v4ve5.js → models-dev-cedw1as4.js} +22 -22
- package/dist/chunks/{filesystem-bkpsvkt5.js → models-dev-cfdgyghc.js} +22 -22
- package/dist/chunks/{filesystem-rpg9c19m.js → models-dev-ckf8nxjz.js} +4 -4
- package/dist/chunks/{filesystem-a5qtj7q6.js → models-dev-cm1qnfez.js} +11 -11
- package/dist/chunks/{filesystem-d9jtx293.js → models-dev-d9jtx293.js} +6 -6
- package/dist/chunks/{filesystem-g5gnrdpy.js → models-dev-db8bgabc.js} +12 -12
- package/dist/chunks/{filesystem-q7nk3s7j.js → models-dev-dk2prtcf.js} +4 -4
- package/dist/chunks/{filesystem-khjjjyc5.js → models-dev-dwbvz6j3.js} +303 -303
- package/dist/chunks/{filesystem-faat08va.js → models-dev-e8tkc3qk.js} +21 -21
- package/dist/chunks/{filesystem-2k71kv7p.js → models-dev-eahhehpg.js} +4 -4
- package/dist/chunks/{filesystem-rhjbct0v.js → models-dev-eaj1djv9.js} +8 -8
- package/dist/chunks/{filesystem-kdykjer7.js → models-dev-ednkbcah.js} +15 -15
- package/dist/chunks/{filesystem-eej6y6fw.js → models-dev-eej6y6fw.js} +2 -2
- package/dist/chunks/{filesystem-ef5x83kb.js → models-dev-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-es1vcfrp.js → models-dev-es1vcfrp.js} +3 -3
- package/dist/chunks/{filesystem-3xj61p28.js → models-dev-f1f91z08.js} +17 -17
- package/dist/chunks/{filesystem-v22mneq0.js → models-dev-f2wtk041.js} +49 -49
- package/dist/chunks/{filesystem-bfegkxfd.js → models-dev-fan8xm03.js} +6 -6
- package/dist/chunks/{filesystem-y9q49zk7.js → models-dev-fbwp6pwa.js} +4 -4
- package/dist/chunks/{filesystem-6ygttn8c.js → models-dev-fdkb9ec3.js} +29 -29
- package/dist/chunks/{filesystem-6hjx5zpb.js → models-dev-fdms3n6w.js} +9 -9
- package/dist/chunks/{filesystem-btv47zes.js → models-dev-fg3tm49t.js} +29 -29
- package/dist/chunks/{filesystem-8rqycdgd.js → models-dev-fqb2p7cx.js} +7 -7
- package/dist/chunks/{filesystem-mt5arhrs.js → models-dev-fxjftaq6.js} +15 -15
- package/dist/chunks/{filesystem-mddpn92g.js → models-dev-g0ma4c6w.js} +22 -22
- package/dist/chunks/{filesystem-z541wn70.js → models-dev-g74jm693.js} +8 -8
- package/dist/chunks/{filesystem-mek16e5d.js → models-dev-g8ytx0e6.js} +11 -11
- package/dist/chunks/{filesystem-9s29ec0q.js → models-dev-gaagjm2t.js} +3 -3
- package/dist/chunks/{filesystem-ng5df8nw.js → models-dev-gbmjry2n.js} +8 -8
- package/dist/chunks/{filesystem-gd4qta3r.js → models-dev-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-ft3hqk2c.js → models-dev-gjwgx2c5.js} +9 -9
- package/dist/chunks/{filesystem-hbn0bbep.js → models-dev-gm86nbja.js} +9 -9
- package/dist/chunks/{filesystem-c1pk8j7t.js → models-dev-gvmpqvya.js} +16 -16
- package/dist/chunks/{filesystem-3sj8yt8v.js → models-dev-gw7cjrad.js} +4 -4
- package/dist/chunks/{filesystem-ryep13dd.js → models-dev-h0q4qrbw.js} +18 -18
- package/dist/chunks/{filesystem-7w42pd46.js → models-dev-h4k3px47.js} +9 -9
- package/dist/chunks/{filesystem-h6vf3j39.js → models-dev-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-h7s7r6s9.js → models-dev-h7s7r6s9.js} +2 -2
- package/dist/chunks/{filesystem-73n0zeyz.js → models-dev-hakjpm15.js} +8 -8
- package/dist/chunks/{filesystem-3t90d3dy.js → models-dev-hgbphaw8.js} +34 -34
- package/dist/chunks/{filesystem-hgz4x7wa.js → models-dev-hgz4x7wa.js} +1 -1
- package/dist/chunks/{filesystem-zrdk58qt.js → models-dev-hpa38nzs.js} +4 -4
- package/dist/chunks/{filesystem-y5x50g1v.js → models-dev-hpf1ew30.js} +27 -27
- package/dist/chunks/{filesystem-fxaymqdw.js → models-dev-hq3c8me3.js} +4 -4
- package/dist/chunks/{filesystem-53rak1ew.js → models-dev-hzphjpmd.js} +2 -2
- package/dist/chunks/{filesystem-91qna3x0.js → models-dev-j09zfasm.js} +3 -3
- package/dist/chunks/{filesystem-9sdvy6ea.js → models-dev-j0zrtwtb.js} +8 -8
- package/dist/chunks/{filesystem-j56e64zr.js → models-dev-j56e64zr.js} +1 -1
- package/dist/chunks/{filesystem-6ah3a7p6.js → models-dev-jcnpjjtr.js} +37 -37
- package/dist/chunks/{filesystem-p756njhy.js → models-dev-jk72hbrr.js} +21 -21
- package/dist/chunks/{filesystem-krc3a0yk.js → models-dev-k64wxf8y.js} +3 -3
- package/dist/chunks/{filesystem-9sjeq45g.js → models-dev-k6n6e38h.js} +1 -1
- package/dist/chunks/{filesystem-vbk72xvh.js → models-dev-k6ysx7ta.js} +24 -24
- package/dist/chunks/{filesystem-3b9qt4hj.js → models-dev-k7myrtme.js} +9 -9
- package/dist/chunks/{filesystem-k7xxzs5q.js → models-dev-kbrj9m31.js} +20 -20
- package/dist/chunks/{filesystem-w2t8mqbe.js → models-dev-ke4s2br1.js} +17 -17
- package/dist/chunks/{filesystem-wpf4st6a.js → models-dev-ktzky0j0.js} +6 -6
- package/dist/chunks/{filesystem-5hf5f199.js → models-dev-ky2vbgv2.js} +13 -13
- package/dist/chunks/{filesystem-tmjqwtp5.js → models-dev-m1pp26ww.js} +13 -13
- package/dist/chunks/{filesystem-dg29p2pd.js → models-dev-m8yn9wqd.js} +16 -16
- package/dist/chunks/{filesystem-x0gy9gxe.js → models-dev-m92ve9wx.js} +23 -23
- package/dist/chunks/{filesystem-m9w0rfyh.js → models-dev-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-gk8qb678.js → models-dev-maspj1v3.js} +6 -19
- package/dist/chunks/{filesystem-vw83hb19.js → models-dev-mbqxj1ec.js} +3 -3
- package/dist/chunks/{filesystem-rksd8sej.js → models-dev-mjx5rav7.js} +30 -30
- package/dist/chunks/{filesystem-zdqhb26j.js → models-dev-n0dhg24y.js} +5 -5
- package/dist/chunks/{filesystem-hnh8n5n7.js → models-dev-n59g9vmt.js} +11 -11
- package/dist/chunks/{filesystem-e6464sbd.js → models-dev-n8brk52a.js} +7 -7
- package/dist/chunks/{filesystem-8cdcjcc6.js → models-dev-nasydrcy.js} +11 -11
- package/dist/chunks/{filesystem-vknd5qb0.js → models-dev-nex57z9h.js} +27 -27
- package/dist/chunks/{filesystem-4wxv1g1t.js → models-dev-njr6j307.js} +3 -3
- package/dist/chunks/{filesystem-y3h0e103.js → models-dev-nk6ny5be.js} +9 -9
- package/dist/chunks/{filesystem-e80seqcp.js → models-dev-nma959mg.js} +3 -3
- package/dist/chunks/{filesystem-6fnntsj1.js → models-dev-p0acjafb.js} +21 -21
- package/dist/chunks/{filesystem-9hn6k4tm.js → models-dev-p37cw4rj.js} +8 -8
- package/dist/chunks/{filesystem-gp9jqd59.js → models-dev-pck7vvdx.js} +6 -6
- package/dist/chunks/{filesystem-tzpbkfcj.js → models-dev-pj8gj9vn.js} +13 -13
- package/dist/chunks/{filesystem-pjvnvgmy.js → models-dev-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-pknna89w.js → models-dev-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-ewpvmgf2.js → models-dev-pw0wjf5b.js} +32 -32
- package/dist/chunks/{filesystem-fa4ww1ng.js → models-dev-pxgkna3x.js} +11 -11
- package/dist/chunks/{filesystem-q0xm7vwc.js → models-dev-q0xm7vwc.js} +2 -2
- package/dist/chunks/{filesystem-hf1n9z3x.js → models-dev-q3986erm.js} +5 -5
- package/dist/chunks/{filesystem-y1zbefzb.js → models-dev-q3jzg8ra.js} +169 -169
- package/dist/chunks/{filesystem-eg1jtzjt.js → models-dev-qa0fzn5w.js} +37 -37
- package/dist/chunks/{filesystem-7bj0298e.js → models-dev-qbqawk7j.js} +17 -17
- package/dist/chunks/{filesystem-x8g8cxcn.js → models-dev-qm5jr2ty.js} +13 -13
- package/dist/chunks/{filesystem-qnc92qwc.js → models-dev-qnc92qwc.js} +1 -1
- package/dist/chunks/{filesystem-qsdy395h.js → models-dev-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-y8p3zjbc.js → models-dev-r7nsrefv.js} +6 -6
- package/dist/chunks/{filesystem-z114v3my.js → models-dev-r9bvg2me.js} +13 -13
- package/dist/chunks/{filesystem-bxqk5pf5.js → models-dev-ra67jj04.js} +9 -9
- package/dist/chunks/{filesystem-ashq5n6s.js → models-dev-rc1kv93m.js} +7 -7
- package/dist/chunks/{filesystem-rdw6cm16.js → models-dev-rdw6cm16.js} +1 -1
- package/dist/chunks/{filesystem-thnax083.js → models-dev-rek66y3z.js} +11 -11
- package/dist/chunks/{filesystem-e430bhbh.js → models-dev-rg0zttgc.js} +4 -4
- package/dist/chunks/{filesystem-8v4mw3b0.js → models-dev-rj9375zf.js} +43 -43
- package/dist/chunks/{filesystem-v0xmac3n.js → models-dev-rqa1jxse.js} +2 -2
- package/dist/chunks/{filesystem-426dk71k.js → models-dev-rqd2zw5t.js} +10 -10
- package/dist/chunks/{filesystem-tam3xr47.js → models-dev-rx0anvt2.js} +22 -22
- package/dist/chunks/{filesystem-xf7aeygg.js → models-dev-s0wmvqbr.js} +26 -26
- package/dist/chunks/{filesystem-1dpj84zp.js → models-dev-sqp85fkz.js} +42 -42
- package/dist/chunks/{filesystem-svcw9x3w.js → models-dev-svcw9x3w.js} +5 -5
- package/dist/chunks/{filesystem-syv4x271.js → models-dev-syv4x271.js} +1 -1
- package/dist/chunks/{filesystem-54s1q3kk.js → models-dev-t77ee9tw.js} +17 -17
- package/dist/chunks/{filesystem-tazgh4e4.js → models-dev-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-tcezcvh9.js → models-dev-tcezcvh9.js} +1 -1
- package/dist/chunks/{filesystem-8004wwfb.js → models-dev-tdr9jbt8.js} +20 -20
- package/dist/chunks/{filesystem-tdstcens.js → models-dev-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-tkb22qbm.js → models-dev-tkb22qbm.js} +2 -2
- package/dist/chunks/{filesystem-tm0kqsz3.js → models-dev-tm0kqsz3.js} +1 -1
- package/dist/chunks/{filesystem-5dzcxebq.js → models-dev-ts5gehh4.js} +5 -5
- package/dist/chunks/{filesystem-cap0p8nj.js → models-dev-ts9abvhb.js} +30 -30
- package/dist/chunks/{filesystem-z2jd07rd.js → models-dev-twwzjqdf.js} +6 -6
- package/dist/chunks/{filesystem-tyytaxap.js → models-dev-tyytaxap.js} +1 -1
- package/dist/chunks/{filesystem-nx9q51n4.js → models-dev-tzza62aq.js} +18 -18
- package/dist/chunks/{filesystem-4g0yx14a.js → models-dev-v05n4cdg.js} +10 -10
- package/dist/chunks/{filesystem-v0es1rhs.js → models-dev-v0es1rhs.js} +2 -2
- package/dist/chunks/{filesystem-k97zh3d1.js → models-dev-v1aj2m8y.js} +6 -6
- package/dist/chunks/{filesystem-z7tsfxrw.js → models-dev-v1rcz1aj.js} +34 -34
- package/dist/chunks/{filesystem-nnd1qh7g.js → models-dev-v4r7zn86.js} +20 -20
- package/dist/chunks/{filesystem-v7p4zvkq.js → models-dev-v7p4zvkq.js} +2 -2
- package/dist/chunks/{filesystem-gveanz76.js → models-dev-vd2q3was.js} +20 -20
- package/dist/chunks/{filesystem-veqvce7d.js → models-dev-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-d77571hn.js → models-dev-vqh374jc.js} +19 -19
- package/dist/chunks/{filesystem-vzs5sf6e.js → models-dev-vzs5sf6e.js} +1 -1
- package/dist/chunks/{filesystem-hppj45g6.js → models-dev-w0dkdy3z.js} +28 -28
- package/dist/chunks/{filesystem-d47p0dev.js → models-dev-w0k2ty99.js} +6 -6
- package/dist/chunks/{filesystem-wd9v2wqs.js → models-dev-w2ad8e9p.js} +22 -22
- package/dist/chunks/{filesystem-adgawzpd.js → models-dev-w2zfgxdh.js} +5 -5
- package/dist/chunks/{filesystem-w3wsvvr9.js → models-dev-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-tyts7tda.js → models-dev-w6082x2g.js} +50 -50
- package/dist/chunks/{filesystem-s9d98z9z.js → models-dev-w8yyf988.js} +70 -70
- package/dist/chunks/{filesystem-hp4earpc.js → models-dev-wbta6961.js} +8 -8
- package/dist/chunks/{filesystem-wd87259q.js → models-dev-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-2d8qmkmz.js → models-dev-wg0er8g6.js} +13 -13
- package/dist/chunks/{filesystem-mqq7cghv.js → models-dev-wh5jxp3t.js} +15 -15
- package/dist/chunks/{filesystem-jfskkshb.js → models-dev-wwzpy5az.js} +20 -20
- package/dist/chunks/{filesystem-ssb0bxwr.js → models-dev-xcqtwf8k.js} +12 -12
- package/dist/chunks/{filesystem-7mwvqe74.js → models-dev-xfbgawb1.js} +2 -2
- package/dist/chunks/{filesystem-drwq78ky.js → models-dev-xfkkasph.js} +4 -4
- package/dist/chunks/{filesystem-xcf4ra81.js → models-dev-xfmbje2f.js} +4 -4
- package/dist/chunks/{filesystem-cqwer3tv.js → models-dev-xjg855ze.js} +14 -14
- package/dist/chunks/{filesystem-9h395ey8.js → models-dev-xsrwpwr1.js} +25 -25
- package/dist/chunks/{filesystem-y1fvbwt7.js → models-dev-y1fvbwt7.js} +1 -1
- package/dist/chunks/models-dev-y4h261y3.js +253 -0
- package/dist/chunks/{filesystem-0m69c59p.js → models-dev-y4n4c0dd.js} +30 -30
- package/dist/chunks/{filesystem-y71avatq.js → models-dev-y71avatq.js} +1 -1
- package/dist/chunks/{filesystem-tz35mf6x.js → models-dev-y9s9xvs6.js} +8 -8
- package/dist/chunks/{filesystem-cjb3hyea.js → models-dev-yjqf8yma.js} +23 -23
- package/dist/chunks/{filesystem-cya74875.js → models-dev-ym59rfmj.js} +4 -4
- package/dist/chunks/{filesystem-f2n192rq.js → models-dev-yp2x3t23.js} +4 -4
- package/dist/chunks/{filesystem-w3x9v1nk.js → models-dev-yvvvp4gn.js} +8 -8
- package/dist/chunks/{filesystem-z0bkrqjs.js → models-dev-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-09ygvw9n.js → models-dev-z0mn02tj.js} +15 -15
- package/dist/chunks/{filesystem-jx42mra6.js → models-dev-z1bdek5p.js} +11 -11
- package/dist/chunks/{filesystem-66srcv4s.js → models-dev-z9b11dw0.js} +5 -5
- package/dist/chunks/{filesystem-c8dsy7xk.js → models-dev-zmzf6gpz.js} +14 -14
- package/dist/chunks/{filesystem-ytt1fcja.js → models-dev-zpywvqex.js} +11 -11
- package/dist/chunks/{filesystem-zr2ceqn5.js → models-dev-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-addxnjmp.js → models-dev-zw2hpfmh.js} +4 -4
- package/dist/chunks/{filesystem-zxq2ej10.js → models-dev-zxq2ej10.js} +1 -1
- package/dist/chunks/{filesystem-2jjh643m.js → models-dev-zyq7fnpt.js} +17 -17
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +74 -74
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +120 -120
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +4 -4
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +10 -10
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/filesystem-hgn7cgj3.js +0 -253
- package/dist/chunks/filesystem-qc068m1q.js +0 -18
- /package/dist/chunks/{filesystem-0qkdqm5v.js → models-dev-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → models-dev-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → models-dev-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → models-dev-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → models-dev-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → models-dev-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → models-dev-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → models-dev-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2bv980vf.js → models-dev-2bv980vf.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → models-dev-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → models-dev-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → models-dev-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3t0ybcrp.js → models-dev-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → models-dev-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → models-dev-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → models-dev-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → models-dev-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → models-dev-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → models-dev-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → models-dev-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → models-dev-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-5qd3pb7m.js → models-dev-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → models-dev-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-6q2bdcd1.js → models-dev-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → models-dev-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → models-dev-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → models-dev-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-84wd9syh.js → models-dev-84wd9syh.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → models-dev-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → models-dev-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-8wj87zfr.js → models-dev-8wj87zfr.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → models-dev-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → models-dev-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → models-dev-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → models-dev-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → models-dev-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → models-dev-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → models-dev-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → models-dev-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → models-dev-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-bw78ga2c.js → models-dev-bw78ga2c.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → models-dev-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → models-dev-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → models-dev-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → models-dev-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → models-dev-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → models-dev-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → models-dev-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → models-dev-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → models-dev-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → models-dev-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → models-dev-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → models-dev-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → models-dev-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → models-dev-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → models-dev-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → models-dev-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → models-dev-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → models-dev-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → models-dev-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → models-dev-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → models-dev-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hcxmzztb.js → models-dev-hcxmzztb.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → models-dev-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → models-dev-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → models-dev-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → models-dev-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → models-dev-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → models-dev-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jze0r7bz.js → models-dev-jze0r7bz.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → models-dev-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-m18g726c.js → models-dev-m18g726c.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → models-dev-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → models-dev-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → models-dev-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → models-dev-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → models-dev-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-pkyv6v7h.js → models-dev-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{filesystem-pyv0edze.js → models-dev-pyv0edze.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → models-dev-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → models-dev-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → models-dev-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → models-dev-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → models-dev-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → models-dev-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → models-dev-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → models-dev-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → models-dev-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → models-dev-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-ve7vex1e.js → models-dev-ve7vex1e.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → models-dev-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → models-dev-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → models-dev-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → models-dev-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → models-dev-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → models-dev-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → models-dev-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → models-dev-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → models-dev-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → models-dev-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z5v4ffb3.js → models-dev-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → models-dev-z9919s4g.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
9
|
var exports_mcp = {};
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./models-dev-hpa38nzs.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./models-dev-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event20,
|
|
18
|
+
ID: () => ID16,
|
|
19
|
+
Info: () => Info26,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service80,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node84
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Array, Context, Effect, Layer } from "effect";
|
|
27
27
|
import { Agent } from "@opencode/schema/agent";
|
|
28
|
-
import { Event as
|
|
29
|
-
var
|
|
28
|
+
import { Event as Event20 } from "@opencode/schema/agent";
|
|
29
|
+
var ID16 = Agent.ID;
|
|
30
30
|
var Name3 = Agent.Name;
|
|
31
|
-
var defaultID2 =
|
|
31
|
+
var defaultID2 = ID16.make("build");
|
|
32
32
|
var Color2 = Agent.Color;
|
|
33
|
-
var
|
|
33
|
+
var Info26 = Agent.Info;
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service80 extends Context.Service()("@opencode/Agent") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service84;
|
|
39
39
|
const state = create3({
|
|
40
40
|
name: "agent",
|
|
@@ -46,7 +46,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
46
46
|
editor.default = id;
|
|
47
47
|
},
|
|
48
48
|
update: (id, fn) => {
|
|
49
|
-
const current = editor.agents.get(id) ??
|
|
49
|
+
const current = editor.agents.get(id) ?? Info26.default(id);
|
|
50
50
|
if (!editor.agents.has(id))
|
|
51
51
|
editor.agents.set(id, current);
|
|
52
52
|
fn(current);
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
64
64
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
65
65
|
if (configured)
|
|
66
66
|
return configured;
|
|
67
|
-
const build = selectable(data.agents.get(
|
|
67
|
+
const build = selectable(data.agents.get(ID16.make("build")));
|
|
68
68
|
if (build)
|
|
69
69
|
return build;
|
|
70
70
|
for (const agent of data.agents.values()) {
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
73
73
|
return fallback;
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
|
-
return
|
|
76
|
+
return Service80.of({
|
|
77
77
|
transform: state.transform,
|
|
78
78
|
reload: state.reload,
|
|
79
79
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -81,12 +81,12 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
81
81
|
}),
|
|
82
82
|
resolve: Effect.fnUntraced(function* (id) {
|
|
83
83
|
if (id !== undefined)
|
|
84
|
-
return state.get().agents.get(
|
|
84
|
+
return state.get().agents.get(ID16.make(id));
|
|
85
85
|
return selectedDefault();
|
|
86
86
|
}),
|
|
87
87
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
88
88
|
if (id !== undefined) {
|
|
89
|
-
const selected =
|
|
89
|
+
const selected = ID16.make(id);
|
|
90
90
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
91
91
|
}
|
|
92
92
|
const info = selectedDefault();
|
|
@@ -101,6 +101,6 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
103
|
}));
|
|
104
|
-
var
|
|
104
|
+
var node84 = makeLocationNode({ service: Service80, layer, deps: [node88] });
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { ID16, Name3, defaultID2, Color2, Info26, Service80, node84, exports_agent4, Event20 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID7,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./models-dev-1kzng4v9.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID6,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info15
|
|
11
|
+
} from "./models-dev-fdkb9ec3.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models2 = {};
|
|
18
|
+
__export(exports_models2, {
|
|
19
|
+
CopilotModels: () => exports_models2,
|
|
20
|
+
derive: () => derive3,
|
|
21
|
+
get: () => get3,
|
|
22
|
+
load: () => load3
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get3(baseURL, headers, existing) {
|
|
72
|
+
return derive3(baseURL, await load3(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load3(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load2(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive3(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID6.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info15.make({
|
|
122
|
+
...Info15.default(ID7.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID6.make(remote.id),
|
|
125
|
+
providerID: ID7.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get3, load3, derive3, exports_models2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-xcqtwf8k.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/vllm.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -11,7 +11,7 @@ var RemoteModel = Schema.Struct({
|
|
|
11
11
|
max_model_len: Schema.NullOr(Schema.Int)
|
|
12
12
|
});
|
|
13
13
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
14
|
-
var
|
|
14
|
+
var make5 = createLocalProviderPlugin2({
|
|
15
15
|
id: "opencode.provider.vllm",
|
|
16
16
|
providerID,
|
|
17
17
|
name: "vLLM",
|
|
@@ -26,6 +26,6 @@ var make6 = createLocalProviderPlugin2({
|
|
|
26
26
|
context: item.max_model_len
|
|
27
27
|
})
|
|
28
28
|
});
|
|
29
|
-
var VLLMPlugin2 =
|
|
29
|
+
var VLLMPlugin2 = make5();
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { make5, VLLMPlugin2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./models-dev-hpa38nzs.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service72,
|
|
9
|
+
node75
|
|
10
|
+
} from "./models-dev-az0s1ab0.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./models-dev-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./models-dev-zw2hpfmh.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./models-dev-xsrwpwr1.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,18 +35,18 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event15,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
40
|
+
ID: () => ID8,
|
|
41
|
+
Info: () => Info17,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
47
|
Ref: () => Ref3,
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
Service: () => Service71,
|
|
49
|
+
node: () => node74
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,8 +68,8 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event15 } from "@opencode/schema/integration";
|
|
72
|
+
var ID8 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info17 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -101,19 +101,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID8,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
108
|
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service71 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
115
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service72;
|
|
117
117
|
const bus = yield* Service84;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info17.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -301,7 +301,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
301
301
|
const persistence = yield* createCredential({
|
|
302
302
|
integrationID: attempt.integrationID,
|
|
303
303
|
label: attempt.label,
|
|
304
|
-
value:
|
|
304
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
305
305
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
306
306
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
307
307
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service71.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -469,7 +469,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
469
469
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
470
470
|
if (connection.type === "env") {
|
|
471
471
|
const key = process.env[connection.name];
|
|
472
|
-
return key ?
|
|
472
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
473
473
|
}
|
|
474
474
|
const credential = yield* credentials.get(connection.id);
|
|
475
475
|
if (!credential)
|
|
@@ -502,7 +502,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
502
502
|
yield* createCredential({
|
|
503
503
|
integrationID: input.integrationID,
|
|
504
504
|
label: input.label,
|
|
505
|
-
value:
|
|
505
|
+
value: Key3.make({
|
|
506
506
|
type: "key",
|
|
507
507
|
key: input.key,
|
|
508
508
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node74 = makeLocationNode({
|
|
633
|
+
service: Service71,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node75, node88, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID8, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info17, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service71, node74, exports_integration, Event15 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./models-dev-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./models-dev-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./models-dev-eaj1djv9.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./models-dev-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./models-dev-es1vcfrp.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-qnc92qwc.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-c41wscbt.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-8m6m0r52.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID12,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./models-dev-k6ysx7ta.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
|
|
|
62
62
|
return {
|
|
63
63
|
_tag: "Parsed",
|
|
64
64
|
skill: {
|
|
65
|
-
id:
|
|
65
|
+
id: ID12.make(id),
|
|
66
66
|
name: Name2.make(frontmatter.name ?? id),
|
|
67
67
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
68
68
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./models-dev-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service83,
|
|
9
9
|
node87
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./models-dev-svcw9x3w.js";
|
|
11
11
|
import {
|
|
12
12
|
Service81,
|
|
13
13
|
node85
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./models-dev-hzphjpmd.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./models-dev-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
25
|
+
Error: () => Error4,
|
|
26
26
|
ID: () => ID4,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service45,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node48,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -36,16 +36,16 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import { ID as ID4 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error4 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service45 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service83;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
72
72
|
const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
if (!FSUtil.contains(worktree, location.directory))
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
|
|
76
76
|
return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
|
|
77
77
|
});
|
|
78
78
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -136,25 +136,25 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
136
136
|
for (const [file, snapshot] of input.files) {
|
|
137
137
|
const absolute = path.resolve(worktree, file);
|
|
138
138
|
if (!FSUtil.contains(worktree, absolute))
|
|
139
|
-
return yield* new
|
|
139
|
+
return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
140
140
|
files.set(file, TreeID2.make(snapshot));
|
|
141
141
|
}
|
|
142
142
|
return files;
|
|
143
143
|
});
|
|
144
144
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
145
145
|
if (!enabled())
|
|
146
|
-
return yield* new
|
|
146
|
+
return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
|
|
147
147
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
148
148
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
149
149
|
});
|
|
150
|
-
return
|
|
150
|
+
return Service45.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
151
151
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
152
|
-
var
|
|
153
|
-
service:
|
|
152
|
+
var node48 = makeLocationNode({
|
|
153
|
+
service: Service45,
|
|
154
154
|
layer,
|
|
155
155
|
deps: [FSUtil.node, node87, Global.node, node85]
|
|
156
156
|
});
|
|
157
|
-
var noopLayer2 = Layer.succeed(
|
|
157
|
+
var noopLayer2 = Layer.succeed(Service45, Service45.of({
|
|
158
158
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
159
159
|
reload: () => Effect.void,
|
|
160
160
|
capture: () => Effect.undefined,
|
|
@@ -163,13 +163,13 @@ var noopLayer2 = Layer.succeed(Service39, Service39.of({
|
|
|
163
163
|
restore: () => Effect.void
|
|
164
164
|
}));
|
|
165
165
|
function failure(operation, cause) {
|
|
166
|
-
if (cause instanceof
|
|
166
|
+
if (cause instanceof Error4 && cause.operation === operation)
|
|
167
167
|
return cause;
|
|
168
|
-
return new
|
|
168
|
+
return new Error4({
|
|
169
169
|
operation,
|
|
170
170
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
171
171
|
cause
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export { ID4,
|
|
175
|
+
export { ID4, Error4, Service45, node48, noopLayer2, exports_snapshot2 };
|