@opencode/core 0.0.0-dev-20824 → 0.0.0-dev-20825
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 +85 -85
- 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/{snapshot-7xaj531f.js → model-resolver-00hydevz.js} +14 -14
- package/dist/chunks/{snapshot-32hp3d4a.js → model-resolver-00mvmxfh.js} +14 -14
- package/dist/chunks/{snapshot-v0es1rhs.js → model-resolver-0bg0bx69.js} +5 -5
- package/dist/chunks/{snapshot-knevfgda.js → model-resolver-0br3sbwn.js} +4 -4
- package/dist/chunks/{snapshot-tnzmjtgm.js → model-resolver-0cyezpg7.js} +7 -7
- package/dist/chunks/{snapshot-b6y0nnhw.js → model-resolver-0epwncsf.js} +3 -3
- package/dist/chunks/{snapshot-e4fzp9xz.js → model-resolver-0j1h8p53.js} +22 -22
- package/dist/chunks/{snapshot-fcrkznn8.js → model-resolver-0jwsre1p.js} +5 -5
- package/dist/chunks/{snapshot-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{snapshot-cpgwv9gf.js → model-resolver-0rs8myd8.js} +13 -13
- package/dist/chunks/{snapshot-0vbcp93d.js → model-resolver-0vbcp93d.js} +2 -2
- package/dist/chunks/{snapshot-cgcp9a40.js → model-resolver-0yvp6fqs.js} +30 -30
- package/dist/chunks/{snapshot-97ssdx1g.js → model-resolver-0z2tybs7.js} +4 -4
- package/dist/chunks/{snapshot-3mj6y1s4.js → model-resolver-1ggxa6t4.js} +84 -84
- package/dist/chunks/{snapshot-yewzvha6.js → model-resolver-1gpb38yh.js} +7 -7
- package/dist/chunks/{snapshot-37ecaprz.js → model-resolver-1v7d8dyr.js} +14 -14
- package/dist/chunks/{snapshot-qntjweey.js → model-resolver-1xyzrv88.js} +15 -15
- package/dist/chunks/model-resolver-1y150ee2.js +26 -0
- package/dist/chunks/{snapshot-bhdm2eva.js → model-resolver-1y24xx8v.js} +28 -28
- package/dist/chunks/{snapshot-vgkcxybm.js → model-resolver-1zsq2bqn.js} +6 -6
- package/dist/chunks/{snapshot-jqfa4ge4.js → model-resolver-20vh3zss.js} +13 -13
- package/dist/chunks/{snapshot-qb9v8xwx.js → model-resolver-21hptw97.js} +32 -32
- package/dist/chunks/{snapshot-vy3tkgf3.js → model-resolver-25tpx51f.js} +10 -10
- package/dist/chunks/{snapshot-c92gkfvp.js → model-resolver-267qws5w.js} +20 -20
- package/dist/chunks/{snapshot-wswa5agg.js → model-resolver-2khnwfma.js} +20 -20
- package/dist/chunks/{snapshot-72rw85ce.js → model-resolver-2rehhz5t.js} +11 -11
- package/dist/chunks/{snapshot-2vvh33eb.js → model-resolver-2vvh33eb.js} +2 -2
- package/dist/chunks/{snapshot-q6td39y3.js → model-resolver-2z1sbxkm.js} +16 -16
- package/dist/chunks/{snapshot-h7s7r6s9.js → model-resolver-31xfzrxg.js} +5 -5
- package/dist/chunks/{snapshot-bt51d3gq.js → model-resolver-37ex1wq2.js} +3 -3
- package/dist/chunks/{snapshot-br53zv5y.js → model-resolver-3an6bgbg.js} +15 -15
- package/dist/chunks/{snapshot-c81x0r32.js → model-resolver-3e06xrhq.js} +22 -22
- package/dist/chunks/{snapshot-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{snapshot-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{snapshot-3hwn7j4h.js → model-resolver-3hwn7j4h.js} +2 -2
- package/dist/chunks/{snapshot-3z984t13.js → model-resolver-3j5kk4r4.js} +50 -50
- package/dist/chunks/{snapshot-pdxex50p.js → model-resolver-3j6qp9bc.js} +13 -13
- package/dist/chunks/{snapshot-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{snapshot-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{snapshot-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
- package/dist/chunks/{snapshot-cpkqk2mc.js → model-resolver-438mmgwp.js} +1 -1
- package/dist/chunks/{snapshot-t06tg28v.js → model-resolver-4a5ztk63.js} +19 -19
- package/dist/chunks/{snapshot-1kv6jnwh.js → model-resolver-4qaehj67.js} +3 -3
- package/dist/chunks/{snapshot-2ccvkpx1.js → model-resolver-4ts7tf6z.js} +2 -2
- package/dist/chunks/{snapshot-kjd40bgk.js → model-resolver-4xdpab2z.js} +9 -9
- package/dist/chunks/{snapshot-hq2w7pb7.js → model-resolver-4zj9c7sr.js} +22 -22
- package/dist/chunks/{snapshot-70nermmm.js → model-resolver-52ghtah7.js} +8 -8
- package/dist/chunks/{snapshot-c41dsvxf.js → model-resolver-58hng72m.js} +5 -5
- package/dist/chunks/{snapshot-gg7e7qdp.js → model-resolver-5fn8kb1m.js} +24 -24
- package/dist/chunks/{snapshot-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
- package/dist/chunks/{snapshot-e3qxr5gk.js → model-resolver-5qd3pb7m.js} +2 -2
- package/dist/chunks/{snapshot-phstrbs2.js → model-resolver-5yzzbxa7.js} +8 -8
- package/dist/chunks/{snapshot-7njjaav3.js → model-resolver-62dx9yxp.js} +32 -32
- package/dist/chunks/{snapshot-hmtp6bqa.js → model-resolver-66c2wr2a.js} +10 -10
- package/dist/chunks/{snapshot-egxceyfp.js → model-resolver-6b3rp9xb.js} +13 -13
- package/dist/chunks/{snapshot-s1kvmffy.js → model-resolver-6hjx5zpb.js} +9 -9
- package/dist/chunks/{snapshot-47jkzegy.js → model-resolver-6kzp9tjq.js} +5 -5
- package/dist/chunks/{snapshot-7fkffz83.js → model-resolver-6pc27hjz.js} +8 -8
- package/dist/chunks/{snapshot-6xb47vfp.js → model-resolver-6xb47vfp.js} +1 -1
- package/dist/chunks/{snapshot-ss7yxfsg.js → model-resolver-7428vhhy.js} +17 -17
- package/dist/chunks/{snapshot-y2rk2g8d.js → model-resolver-75qns3nc.js} +32 -32
- package/dist/chunks/{snapshot-fafr0g56.js → model-resolver-7atybeme.js} +18 -18
- package/dist/chunks/{snapshot-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{snapshot-e6zcw651.js → model-resolver-7gegkexy.js} +1 -1
- package/dist/chunks/{snapshot-8878tmfa.js → model-resolver-7qy5krn4.js} +47 -47
- package/dist/chunks/{snapshot-y6canb71.js → model-resolver-7x4tntjh.js} +1 -1
- package/dist/chunks/{snapshot-q448ner5.js → model-resolver-8445zpne.js} +15 -15
- package/dist/chunks/{snapshot-84txncab.js → model-resolver-84txncab.js} +1 -1
- package/dist/chunks/{snapshot-w3k3nmy2.js → model-resolver-89be0nvq.js} +15 -15
- package/dist/chunks/{snapshot-tcezcvh9.js → model-resolver-89znhe33.js} +4 -4
- package/dist/chunks/{snapshot-rw0bqx59.js → model-resolver-8asyfh9s.js} +9 -9
- package/dist/chunks/{snapshot-bkgjq45n.js → model-resolver-8e78msr1.js} +14 -14
- package/dist/chunks/{snapshot-8m6m0r52.js → model-resolver-8m6m0r52.js} +1 -1
- package/dist/chunks/{snapshot-thtf3412.js → model-resolver-8nzb5d0e.js} +2 -2
- package/dist/chunks/{snapshot-bjgzcebz.js → model-resolver-8ss8m2w6.js} +25 -25
- package/dist/chunks/{snapshot-7s9dxxnz.js → model-resolver-8xshesq6.js} +2 -2
- package/dist/chunks/{snapshot-5dsdkjma.js → model-resolver-8zda0nf7.js} +3 -3
- package/dist/chunks/{snapshot-yj4grhrg.js → model-resolver-952eaccn.js} +19 -19
- package/dist/chunks/{snapshot-kqv3x6rj.js → model-resolver-97aeaand.js} +9 -9
- package/dist/chunks/{snapshot-45s0xkqg.js → model-resolver-9g0x53p6.js} +22 -22
- package/dist/chunks/{snapshot-9hkcxdmn.js → model-resolver-9h1rq4nb.js} +14 -14
- package/dist/chunks/{snapshot-3jhv51p4.js → model-resolver-9h7c1aps.js} +8 -8
- package/dist/chunks/{snapshot-dwaxvgp4.js → model-resolver-9mk6smr7.js} +18 -18
- package/dist/chunks/{snapshot-tdndkxgk.js → model-resolver-9q2dymh5.js} +47 -47
- package/dist/chunks/{snapshot-r97sxpnx.js → model-resolver-9zjswjmw.js} +5 -5
- package/dist/chunks/{snapshot-addxnjmp.js → model-resolver-addxnjmp.js} +1 -1
- package/dist/chunks/{snapshot-749np7n7.js → model-resolver-am4ys6ej.js} +14 -14
- package/dist/chunks/{snapshot-v3rgt89s.js → model-resolver-arvc38t3.js} +3 -3
- package/dist/chunks/{snapshot-zas5n1ee.js → model-resolver-aw7rh1ww.js} +28 -28
- package/dist/chunks/{snapshot-zyk1yjk8.js → model-resolver-b3f8fkhc.js} +5 -5
- package/dist/chunks/{snapshot-atc2a3q3.js → model-resolver-b8zkqphn.js} +19 -19
- package/dist/chunks/{snapshot-xdq69jyw.js → model-resolver-bezqnnbp.js} +13 -13
- package/dist/chunks/{snapshot-ywt8jp22.js → model-resolver-bjx1sjef.js} +9 -9
- package/dist/chunks/{snapshot-dh92kamf.js → model-resolver-brqa01n9.js} +25 -25
- package/dist/chunks/{snapshot-npk602qs.js → model-resolver-bs6f72ms.js} +10 -10
- package/dist/chunks/{snapshot-3h3j01xz.js → model-resolver-btz0t88h.js} +24 -24
- package/dist/chunks/{snapshot-rj3eygr5.js → model-resolver-c41wscbt.js} +2 -2
- package/dist/chunks/{snapshot-0s6x0vhx.js → model-resolver-c7cb53f3.js} +14 -14
- package/dist/chunks/{snapshot-sa8ekw3f.js → model-resolver-c8ax2afj.js} +2 -2
- package/dist/chunks/{snapshot-1p2qp805.js → model-resolver-c9b6c6br.js} +46 -46
- package/dist/chunks/{snapshot-2mq1h16s.js → model-resolver-cpneeje0.js} +9 -9
- package/dist/chunks/{snapshot-ws5f7trb.js → model-resolver-cxm67pkc.js} +1 -1
- package/dist/chunks/{snapshot-5nekprf5.js → model-resolver-czz8a252.js} +22 -22
- package/dist/chunks/{snapshot-rme27c0d.js → model-resolver-d07a65d0.js} +27 -27
- package/dist/chunks/{snapshot-47x322b4.js → model-resolver-d9kycxq3.js} +9 -9
- package/dist/chunks/{snapshot-a5hmx7s0.js → model-resolver-dg7e64je.js} +13 -13
- package/dist/chunks/{snapshot-rhzk7vne.js → model-resolver-drnf6xwf.js} +2 -2
- package/dist/chunks/{snapshot-qqeeq2t9.js → model-resolver-drwq78ky.js} +7 -7
- package/dist/chunks/{snapshot-q6x9nxap.js → model-resolver-ds4xae65.js} +8 -8
- package/dist/chunks/{snapshot-kjdm35cs.js → model-resolver-dssbfrwz.js} +5 -5
- package/dist/chunks/{snapshot-z9s90m2e.js → model-resolver-dxy7xx6d.js} +7 -7
- package/dist/chunks/{snapshot-ngnqj9gj.js → model-resolver-e052d1q0.js} +29 -29
- package/dist/chunks/{snapshot-w635k9zt.js → model-resolver-e73g0wvd.js} +4 -4
- package/dist/chunks/{snapshot-apwm8s3j.js → model-resolver-e8m77gve.js} +10 -10
- package/dist/chunks/{snapshot-7fxqwhb5.js → model-resolver-e8pe5bs3.js} +37 -37
- package/dist/chunks/{snapshot-t550f9t1.js → model-resolver-eaj1djv9.js} +8 -8
- package/dist/chunks/{snapshot-eej6y6fw.js → model-resolver-eej6y6fw.js} +2 -2
- package/dist/chunks/{snapshot-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{snapshot-c1fqxshp.js → model-resolver-es1vcfrp.js} +3 -3
- package/dist/chunks/{snapshot-7shdw42h.js → model-resolver-evq0a796.js} +51 -51
- package/dist/chunks/{snapshot-8s9q11c2.js → model-resolver-f6vfcazt.js} +9 -9
- package/dist/chunks/{snapshot-2d5ym5sj.js → model-resolver-f7nkyddb.js} +9 -9
- package/dist/chunks/{snapshot-px7p8hke.js → model-resolver-f8w4kezf.js} +15 -15
- package/dist/chunks/model-resolver-f9qvt350.js +513 -0
- package/dist/chunks/{snapshot-8r48d4az.js → model-resolver-fcxqfe59.js} +10 -10
- package/dist/chunks/{snapshot-z8zrb4dy.js → model-resolver-fg0se8bt.js} +22 -22
- package/dist/chunks/{snapshot-wqqb8knj.js → model-resolver-fptw13bf.js} +21 -21
- package/dist/chunks/{snapshot-xcapf3gz.js → model-resolver-fz112egw.js} +3 -3
- package/dist/chunks/{snapshot-pme8bagx.js → model-resolver-g3pjsnhq.js} +16 -16
- package/dist/chunks/{snapshot-pm06a12h.js → model-resolver-gd3ka9py.js} +4 -4
- package/dist/chunks/{snapshot-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{snapshot-bsgqwer8.js → model-resolver-gfhy63hj.js} +20 -20
- package/dist/chunks/{snapshot-gk8qb678.js → model-resolver-gk8qb678.js} +1 -1
- package/dist/chunks/{snapshot-g2v9qz7h.js → model-resolver-gqvee6ey.js} +12 -12
- package/dist/chunks/{snapshot-cp9h3w39.js → model-resolver-gzk07654.js} +44 -44
- package/dist/chunks/{snapshot-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{snapshot-36vcrazm.js → model-resolver-hcc7h0se.js} +32 -32
- package/dist/chunks/{snapshot-jhdf29st.js → model-resolver-he27pt63.js} +1 -1
- package/dist/chunks/{snapshot-sy47kp3r.js → model-resolver-hejxbgj7.js} +20 -20
- package/dist/chunks/{snapshot-hgz4x7wa.js → model-resolver-hgz4x7wa.js} +1 -1
- package/dist/chunks/{snapshot-khmqacep.js → model-resolver-hq3c8me3.js} +4 -4
- package/dist/chunks/{snapshot-qfz69p5q.js → model-resolver-hsnz0d85.js} +14 -14
- package/dist/chunks/{snapshot-yw96ad7w.js → model-resolver-hthjksz6.js} +25 -25
- package/dist/chunks/{snapshot-q29xxbd6.js → model-resolver-hxrx80a3.js} +30 -30
- package/dist/chunks/{snapshot-ve88pny4.js → model-resolver-hyay7qq8.js} +8 -8
- package/dist/chunks/{snapshot-g3yfx9st.js → model-resolver-j043eqhj.js} +24 -24
- package/dist/chunks/{snapshot-j09zfasm.js → model-resolver-j09zfasm.js} +3 -3
- package/dist/chunks/{snapshot-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{snapshot-5ary8kky.js → model-resolver-j5cam5cc.js} +87 -87
- package/dist/chunks/{snapshot-7p3ap5qj.js → model-resolver-j5xf5m5x.js} +29 -29
- package/dist/chunks/{snapshot-94mp14g8.js → model-resolver-j62t34ty.js} +4 -4
- package/dist/chunks/{snapshot-jtd2a7nt.js → model-resolver-j6sex83x.js} +4 -4
- package/dist/chunks/{snapshot-rqpny9hx.js → model-resolver-jaawwjdn.js} +33 -33
- package/dist/chunks/{snapshot-0b5g1ynf.js → model-resolver-jdz4qjxc.js} +4 -4
- package/dist/chunks/{snapshot-nkv5dzrs.js → model-resolver-jepehhcn.js} +9 -9
- package/dist/chunks/{snapshot-d9x798yd.js → model-resolver-jxr5ks98.js} +6 -6
- package/dist/chunks/{snapshot-vk12dq78.js → model-resolver-k5dc2vmd.js} +9 -9
- package/dist/chunks/{snapshot-fnb9eyvv.js → model-resolver-k9byjnss.js} +11 -11
- package/dist/chunks/{snapshot-3dwzfaah.js → model-resolver-kc9gjmg8.js} +21 -21
- package/dist/chunks/{snapshot-129ewq9p.js → model-resolver-kxrk9wqg.js} +11 -11
- package/dist/chunks/{snapshot-kepx3afk.js → model-resolver-kxvb3car.js} +19 -19
- package/dist/chunks/{snapshot-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{snapshot-yz6jyr9b.js → model-resolver-mdgny2h2.js} +69 -69
- package/dist/chunks/{snapshot-bahnv37p.js → model-resolver-mh95raz8.js} +20 -20
- package/dist/chunks/{snapshot-kms48zfg.js → model-resolver-mjwve1nx.js} +45 -45
- package/dist/chunks/{snapshot-111rf178.js → model-resolver-mpr1ppnz.js} +138 -138
- package/dist/chunks/{snapshot-nzh06rgd.js → model-resolver-mr56bpwe.js} +11 -11
- package/dist/chunks/{snapshot-9styxqgn.js → model-resolver-msk51jxa.js} +20 -20
- package/dist/chunks/{snapshot-bwh35qyb.js → model-resolver-mt7m3ya6.js} +9 -9
- package/dist/chunks/{snapshot-1w9a9pv3.js → model-resolver-my4zabxr.js} +3 -3
- package/dist/chunks/{snapshot-9ry79bhp.js → model-resolver-n2rv9ytx.js} +12 -12
- package/dist/chunks/{snapshot-tfqxycy5.js → model-resolver-n3qtygy3.js} +7 -7
- package/dist/chunks/{snapshot-967benbv.js → model-resolver-n61013np.js} +11 -11
- package/dist/chunks/{snapshot-v8z8hm6p.js → model-resolver-n8anjzen.js} +35 -35
- package/dist/chunks/{snapshot-sxcaecc0.js → model-resolver-nma959mg.js} +3 -3
- package/dist/chunks/{snapshot-b96azaea.js → model-resolver-ns4jf56n.js} +35 -35
- package/dist/chunks/{snapshot-kxxg8k4r.js → model-resolver-nsep0bnj.js} +11 -11
- package/dist/chunks/{snapshot-77pxmfw4.js → model-resolver-nveymbys.js} +1 -1
- package/dist/chunks/{snapshot-d0ec82xh.js → model-resolver-p0x6m6cr.js} +34 -34
- package/dist/chunks/{snapshot-b27vhd2z.js → model-resolver-pbfwh0cy.js} +7 -7
- package/dist/chunks/{snapshot-jewzahs7.js → model-resolver-ph842b28.js} +4 -4
- package/dist/chunks/{snapshot-dmsf2sgk.js → model-resolver-pj2kjhp4.js} +22 -22
- package/dist/chunks/{snapshot-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{snapshot-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{snapshot-8jz9smqe.js → model-resolver-pm617sjb.js} +11 -11
- package/dist/chunks/{snapshot-tp624p08.js → model-resolver-pqf191vy.js} +17 -17
- package/dist/chunks/{snapshot-vqfzq50h.js → model-resolver-prmgem5b.js} +6 -6
- package/dist/chunks/{snapshot-0j77ygfz.js → model-resolver-q0xm7vwc.js} +6 -6
- package/dist/chunks/{snapshot-xaasf9gs.js → model-resolver-q0zbnr5v.js} +6 -6
- package/dist/chunks/{snapshot-20frjwk8.js → model-resolver-q2t1kx4r.js} +2 -2
- package/dist/chunks/model-resolver-qdb1nj2v.js +253 -0
- package/dist/chunks/{snapshot-b59z99xa.js → model-resolver-qeay7bfp.js} +50 -50
- package/dist/chunks/{snapshot-hk0x9whx.js → model-resolver-qfxdb210.js} +8 -8
- package/dist/chunks/{snapshot-28wma5yh.js → model-resolver-qgy4cpjv.js} +9 -9
- package/dist/chunks/{snapshot-j4x92r12.js → model-resolver-qkn9n2ht.js} +19 -19
- package/dist/chunks/{snapshot-qnc92qwc.js → model-resolver-qnc92qwc.js} +1 -1
- package/dist/chunks/{snapshot-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{snapshot-8mbscqky.js → model-resolver-qwjmgwmn.js} +8 -8
- package/dist/chunks/{snapshot-0qb3255k.js → model-resolver-r3dvpv5z.js} +26 -26
- package/dist/chunks/{snapshot-207ajt2h.js → model-resolver-r4yqrmdq.js} +5 -5
- package/dist/chunks/{snapshot-f2n192rq.js → model-resolver-r8xr0va3.js} +4 -4
- package/dist/chunks/{snapshot-54ma36ye.js → model-resolver-r94pvvab.js} +4 -4
- package/dist/chunks/model-resolver-rap9a73h.js +18 -0
- package/dist/chunks/{snapshot-jsk3kr4t.js → model-resolver-rbr6e3az.js} +46 -46
- package/dist/chunks/{snapshot-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{snapshot-w6zk8pbt.js → model-resolver-repb58am.js} +8 -8
- package/dist/chunks/{snapshot-sfbvqhnr.js → model-resolver-rjmj41vv.js} +4 -4
- package/dist/chunks/{snapshot-aadyv573.js → model-resolver-rk9k7afq.js} +6 -6
- package/dist/chunks/{snapshot-qd1zdc3v.js → model-resolver-rm0y65ew.js} +5 -5
- package/dist/chunks/{snapshot-zc0yab0y.js → model-resolver-rsmgkfp3.js} +10 -10
- package/dist/chunks/{snapshot-hn57h045.js → model-resolver-rwm5vee1.js} +4 -4
- package/dist/chunks/{snapshot-2e6r65fb.js → model-resolver-rx9sw936.js} +34 -34
- package/dist/chunks/{snapshot-3rtxz4nr.js → model-resolver-rzs3gq0x.js} +8 -8
- package/dist/chunks/{snapshot-mzvzdten.js → model-resolver-s4xtvnse.js} +22 -22
- package/dist/chunks/{snapshot-nv0k8b7e.js → model-resolver-s76dkkvr.js} +20 -20
- package/dist/chunks/{snapshot-5sjpqk1d.js → model-resolver-shc06m3c.js} +34 -34
- package/dist/chunks/{snapshot-znvxnre3.js → model-resolver-skhz7g2d.js} +20 -20
- package/dist/chunks/{snapshot-vnckgvwp.js → model-resolver-spzmyp0d.js} +3 -3
- package/dist/chunks/{snapshot-syv4x271.js → model-resolver-syv4x271.js} +1 -1
- package/dist/chunks/{snapshot-x28hss16.js → model-resolver-t2vkhgbg.js} +18 -18
- package/dist/chunks/{snapshot-xsnzbdwh.js → model-resolver-t57shhp7.js} +23 -23
- package/dist/chunks/{snapshot-bytdxgsj.js → model-resolver-t8h80vnj.js} +27 -27
- package/dist/chunks/{snapshot-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{snapshot-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{snapshot-zgbtaxd3.js → model-resolver-thxhb584.js} +4 -4
- package/dist/chunks/{snapshot-rert0e01.js → model-resolver-tkb22qbm.js} +2 -2
- package/dist/chunks/{snapshot-mygpds4v.js → model-resolver-tmzvxbcr.js} +13 -13
- package/dist/chunks/{snapshot-566zwc6g.js → model-resolver-tnwk7je0.js} +11 -11
- package/dist/chunks/{snapshot-tyytaxap.js → model-resolver-tyytaxap.js} +1 -1
- package/dist/chunks/{snapshot-ccqjkbg9.js → model-resolver-v2xp8k5w.js} +4 -4
- package/dist/chunks/{snapshot-v7p4zvkq.js → model-resolver-v7p4zvkq.js} +2 -2
- package/dist/chunks/{snapshot-7jmepwah.js → model-resolver-v7shq5xq.js} +24 -24
- package/dist/chunks/{snapshot-n9n4qq7s.js → model-resolver-ve4j09ev.js} +34 -34
- package/dist/chunks/{snapshot-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{snapshot-e7qx7hf9.js → model-resolver-vk084q95.js} +32 -32
- package/dist/chunks/{snapshot-gwegacp2.js → model-resolver-vk4601vm.js} +18 -18
- package/dist/chunks/{snapshot-q23ecs5g.js → model-resolver-vq8v8vez.js} +4 -4
- package/dist/chunks/{snapshot-dktjxkrs.js → model-resolver-vv44hwmw.js} +12 -12
- package/dist/chunks/{snapshot-ywnqnaz4.js → model-resolver-vwt8phtz.js} +17 -17
- package/dist/chunks/{snapshot-p63fk0yx.js → model-resolver-vwvxcq06.js} +5 -5
- package/dist/chunks/{snapshot-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
- package/dist/chunks/{snapshot-kkk3vn91.js → model-resolver-w0n5n1pn.js} +13 -13
- package/dist/chunks/{snapshot-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{snapshot-9zegdr80.js → model-resolver-wat9ccs0.js} +16 -16
- package/dist/chunks/{snapshot-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{snapshot-mfxwm5jp.js → model-resolver-wev7e6ck.js} +13 -13
- package/dist/chunks/{snapshot-syjqprx9.js → model-resolver-wkw6304r.js} +16 -16
- package/dist/chunks/{snapshot-atej3qbc.js → model-resolver-wpdtsyf6.js} +14 -14
- package/dist/chunks/{snapshot-gdr1rz3s.js → model-resolver-wr9zkec4.js} +12 -12
- package/dist/chunks/{snapshot-bzjc6ksy.js → model-resolver-wvnxh5mx.js} +15 -15
- package/dist/chunks/{snapshot-m8949260.js → model-resolver-x2m64zns.js} +24 -24
- package/dist/chunks/{snapshot-hweedvx2.js → model-resolver-x2qxvyvc.js} +28 -28
- package/dist/chunks/{snapshot-ayrv2wcb.js → model-resolver-x6v0h5p6.js} +11 -11
- package/dist/chunks/{snapshot-dnx7hh4d.js → model-resolver-x7srd6wz.js} +7 -7
- package/dist/chunks/{snapshot-m0ry780p.js → model-resolver-x8yzxsbj.js} +11 -11
- package/dist/chunks/{snapshot-zr0avt77.js → model-resolver-xfwgz2sz.js} +11 -11
- package/dist/chunks/{snapshot-c7rs0fp2.js → model-resolver-xmkm7fbj.js} +29 -29
- package/dist/chunks/{snapshot-xbxd24gm.js → model-resolver-xpffpww7.js} +11 -11
- package/dist/chunks/{snapshot-dzw83ac5.js → model-resolver-y15vpdnr.js} +9 -9
- package/dist/chunks/{snapshot-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{snapshot-y71avatq.js → model-resolver-y71avatq.js} +1 -1
- package/dist/chunks/{snapshot-wvm2tpy1.js → model-resolver-yav78m6g.js} +15 -15
- package/dist/chunks/{snapshot-cbprq3p6.js → model-resolver-yesxfxzm.js} +14 -14
- package/dist/chunks/{snapshot-c6yzar81.js → model-resolver-yfkx0eqm.js} +12 -12
- package/dist/chunks/{snapshot-5egnrbez.js → model-resolver-ykvkrf63.js} +3 -3
- package/dist/chunks/{snapshot-4dgq8ykd.js → model-resolver-ytm23z63.js} +20 -20
- package/dist/chunks/{snapshot-xsahrgm8.js → model-resolver-yy2bf7rf.js} +14 -14
- package/dist/chunks/{snapshot-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{snapshot-4xbwzyc1.js → model-resolver-z525se4v.js} +17 -17
- package/dist/chunks/{snapshot-kyytvvrv.js → model-resolver-z5z78jza.js} +25 -25
- package/dist/chunks/{snapshot-za3mayqc.js → model-resolver-z64e08bt.js} +11 -11
- package/dist/chunks/{snapshot-6jw7hjkg.js → model-resolver-z6xnm1hd.js} +24 -24
- package/dist/chunks/{snapshot-k9q3e0yt.js → model-resolver-zehn0qfn.js} +45 -45
- package/dist/chunks/{snapshot-br8v5cn9.js → model-resolver-zkqkkjp9.js} +24 -24
- package/dist/chunks/{snapshot-39z47dss.js → model-resolver-znvvnn0n.js} +17 -17
- package/dist/chunks/{snapshot-8q8t1tnc.js → model-resolver-zp6x4rdv.js} +13 -13
- package/dist/chunks/{snapshot-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{snapshot-5dkn69vz.js → model-resolver-zsr4wwhv.js} +4 -4
- package/dist/chunks/{snapshot-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- 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 +92 -92
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- 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 +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- 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 +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- 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 +95 -95
- 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 +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- 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 +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- 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 +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- 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 +100 -100
- package/dist/model.js +98 -98
- 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 +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- 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 +119 -119
- 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 +119 -119
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- 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 +97 -97
- 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 +92 -92
- 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 +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- 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 +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +153 -153
- 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 +129 -129
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +92 -92
- 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 +4 -4
- 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 +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +107 -107
- 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 +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +212 -212
- 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 +15 -15
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +95 -95
- 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 +130 -130
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- 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 +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +100 -100
- package/package.json +8 -8
- package/dist/chunks/snapshot-0v2trax5.js +0 -26
- package/dist/chunks/snapshot-8ztaq101.js +0 -253
- package/dist/chunks/snapshot-dxj72tfx.js +0 -18
- package/dist/chunks/snapshot-tp7rvt8n.js +0 -513
- /package/dist/chunks/{snapshot-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{snapshot-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{snapshot-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{snapshot-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{snapshot-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{snapshot-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{snapshot-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{snapshot-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{snapshot-2bv980vf.js → model-resolver-2bv980vf.js} +0 -0
- /package/dist/chunks/{snapshot-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{snapshot-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{snapshot-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{snapshot-3t0ybcrp.js → model-resolver-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{snapshot-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{snapshot-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{snapshot-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{snapshot-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{snapshot-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{snapshot-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{snapshot-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{snapshot-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{snapshot-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{snapshot-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{snapshot-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{snapshot-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{snapshot-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{snapshot-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
- /package/dist/chunks/{snapshot-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{snapshot-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{snapshot-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{snapshot-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{snapshot-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{snapshot-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{snapshot-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{snapshot-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{snapshot-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{snapshot-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{snapshot-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{snapshot-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{snapshot-bw78ga2c.js → model-resolver-bw78ga2c.js} +0 -0
- /package/dist/chunks/{snapshot-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{snapshot-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{snapshot-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{snapshot-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{snapshot-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{snapshot-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{snapshot-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{snapshot-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{snapshot-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{snapshot-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{snapshot-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{snapshot-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{snapshot-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{snapshot-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{snapshot-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{snapshot-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{snapshot-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{snapshot-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{snapshot-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{snapshot-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{snapshot-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{snapshot-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{snapshot-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{snapshot-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{snapshot-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{snapshot-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{snapshot-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{snapshot-jze0r7bz.js → model-resolver-jze0r7bz.js} +0 -0
- /package/dist/chunks/{snapshot-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{snapshot-m18g726c.js → model-resolver-m18g726c.js} +0 -0
- /package/dist/chunks/{snapshot-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{snapshot-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{snapshot-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{snapshot-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{snapshot-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{snapshot-pkyv6v7h.js → model-resolver-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{snapshot-pyv0edze.js → model-resolver-pyv0edze.js} +0 -0
- /package/dist/chunks/{snapshot-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{snapshot-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{snapshot-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{snapshot-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{snapshot-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{snapshot-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{snapshot-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{snapshot-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{snapshot-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{snapshot-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{snapshot-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
- /package/dist/chunks/{snapshot-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{snapshot-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{snapshot-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{snapshot-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{snapshot-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{snapshot-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{snapshot-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{snapshot-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{snapshot-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{snapshot-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{snapshot-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{snapshot-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID14,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service76,
|
|
4
|
+
node80
|
|
5
|
+
} from "./model-resolver-x2m64zns.js";
|
|
6
6
|
import {
|
|
7
7
|
ID13,
|
|
8
8
|
isAISDK2,
|
|
@@ -14,24 +14,24 @@ import {
|
|
|
14
14
|
timeouts2,
|
|
15
15
|
mergeOverlay2,
|
|
16
16
|
mergeHeaders2,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service75,
|
|
18
|
+
node79
|
|
19
|
+
} from "./model-resolver-t57shhp7.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service74,
|
|
22
|
+
node78
|
|
23
|
+
} from "./model-resolver-mt7m3ya6.js";
|
|
24
24
|
import {
|
|
25
25
|
ID12,
|
|
26
26
|
VariantID2,
|
|
27
27
|
Ref2,
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
Service73,
|
|
29
|
+
node77,
|
|
30
30
|
supportsText2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./model-resolver-fg0se8bt.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/model-resolver.ts
|
|
37
37
|
var exports_model_resolver = {};
|
|
@@ -40,15 +40,15 @@ __export(exports_model_resolver, {
|
|
|
40
40
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
41
41
|
ModelInitializationError: () => ModelInitializationError2,
|
|
42
42
|
ModelResolver: () => exports_model_resolver,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service72,
|
|
44
44
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
45
45
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
46
46
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
47
47
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
48
48
|
fromCatalogModel: () => fromCatalogModel2,
|
|
49
49
|
hasPackage: () => hasPackage2,
|
|
50
|
-
layer: () =>
|
|
51
|
-
node: () =>
|
|
50
|
+
layer: () => layer25,
|
|
51
|
+
node: () => node76,
|
|
52
52
|
resolveModel: () => resolveModel2,
|
|
53
53
|
withVariant: () => withVariant2
|
|
54
54
|
});
|
|
@@ -121,7 +121,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
class
|
|
124
|
+
class Service72 extends Context.Service()("@opencode/ModelResolver") {
|
|
125
125
|
}
|
|
126
126
|
var withVariant2 = (model, variantID) => {
|
|
127
127
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -270,12 +270,12 @@ var causeMessage = (cause) => {
|
|
|
270
270
|
};
|
|
271
271
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
272
272
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
273
|
-
var
|
|
274
|
-
const providers = yield*
|
|
275
|
-
const models = yield*
|
|
276
|
-
const integrations = yield*
|
|
273
|
+
var layer25 = Layer.effect(Service72, Effect.gen(function* () {
|
|
274
|
+
const providers = yield* Service75;
|
|
275
|
+
const models = yield* Service73;
|
|
276
|
+
const integrations = yield* Service76;
|
|
277
277
|
const npm = yield* Npm.Service;
|
|
278
|
-
const aisdk = yield*
|
|
278
|
+
const aisdk = yield* Service74;
|
|
279
279
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
280
280
|
const provider = yield* providers.get(selected.providerID);
|
|
281
281
|
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
@@ -305,7 +305,7 @@ var layer20 = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
305
305
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
306
306
|
};
|
|
307
307
|
});
|
|
308
|
-
return
|
|
308
|
+
return Service72.of({
|
|
309
309
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
310
310
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
311
311
|
if (!selected)
|
|
@@ -322,10 +322,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
322
322
|
const name = packageName2(packageName);
|
|
323
323
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
324
324
|
}
|
|
325
|
-
var
|
|
326
|
-
service:
|
|
327
|
-
layer:
|
|
328
|
-
deps: [
|
|
325
|
+
var node76 = makeLocationNode({
|
|
326
|
+
service: Service72,
|
|
327
|
+
layer: layer25,
|
|
328
|
+
deps: [node79, node77, node80, Npm.node, node78]
|
|
329
329
|
});
|
|
330
330
|
|
|
331
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
331
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service72, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer25, node76, exports_model_resolver };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-x8yzxsbj.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service77
|
|
7
|
+
} from "./model-resolver-9g0x53p6.js";
|
|
8
8
|
import {
|
|
9
9
|
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-x2m64zns.js";
|
|
12
12
|
import {
|
|
13
13
|
ID13,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-t57shhp7.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -69,7 +69,7 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
72
|
+
const credentials = yield* Service77;
|
|
73
73
|
yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service57,
|
|
6
|
+
node61
|
|
7
|
+
} from "./model-resolver-v7shq5xq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service56,
|
|
17
|
+
node: () => node60,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service56 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service57;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service56.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node60 = makeLocationNode({ service: Service56, layer, deps: [node61] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service56, readText2, syncTextBom2, node60, exports_file_mutation };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service79,
|
|
6
|
+
node83
|
|
7
|
+
} from "./model-resolver-8e78msr1.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service53,
|
|
10
|
+
node57
|
|
11
|
+
} from "./model-resolver-9mk6smr7.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names4
|
|
15
|
+
} from "./model-resolver-89znhe33.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options8,
|
|
25
|
+
Service: () => Service52,
|
|
26
|
+
configured: () => configured8,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer22,
|
|
29
|
+
node: () => node56,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options8 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service52 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service52, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service79;
|
|
63
|
+
const ripgrep = yield* Service53;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
77
77
|
cwd: location.directory,
|
|
78
78
|
pattern: "*",
|
|
79
79
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
80
|
-
exclude: home ? [...
|
|
80
|
+
exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
|
|
81
81
|
onEntry: (entry) => Effect.sync(() => {
|
|
82
82
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
83
83
|
const parts = entry.path.split("/");
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service52.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service52, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service79;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service52.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service52.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer22 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service79;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured8(options) {
|
|
186
|
+
return makeLocationNode({ service: Service52, layer: layer22(options), deps: [node83, node57] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node56 = configured8();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options8, Service52, ripgrepLayer2, fffLayer2, layer22, configured8, node56, exports_search };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-8zda0nf7.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service82,
|
|
17
|
+
node: () => node86
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service82 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service85).db;
|
|
26
|
-
return
|
|
26
|
+
return Service82.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node86 = makeGlobalNode({ service: Service82, layer, deps: [node89] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service82, node86, exports_kv };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-vq8v8vez.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service46
|
|
6
|
+
} from "./model-resolver-hcc7h0se.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error3
|
|
9
|
+
} from "./model-resolver-8ss8m2w6.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service38
|
|
12
|
+
} from "./model-resolver-2rehhz5t.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-1gpb38yh.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-vwvxcq06.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-resolver-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./model-resolver-37ex1wq2.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-b3f8fkhc.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make9
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -55,11 +55,11 @@ var INPUT_INCOMPLETE = {
|
|
|
55
55
|
type: "tool.input-incomplete",
|
|
56
56
|
message: "Tool call arguments were not completed and were not executed. Re-issue the tool call with complete arguments."
|
|
57
57
|
};
|
|
58
|
-
var
|
|
58
|
+
var make9 = Effect.gen(function* () {
|
|
59
59
|
const bus = yield* Service84;
|
|
60
60
|
const llm = yield* LLMClient.Service;
|
|
61
|
-
const snapshots = yield*
|
|
62
|
-
const toolOutput = yield*
|
|
61
|
+
const snapshots = yield* Service46;
|
|
62
|
+
const toolOutput = yield* Service38;
|
|
63
63
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
64
64
|
const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
|
|
65
65
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -75,7 +75,7 @@ var make3 = Effect.gen(function* () {
|
|
|
75
75
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
76
76
|
const executeTool = (call) => {
|
|
77
77
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
78
|
-
return new
|
|
78
|
+
return new Error3({ message: "Tools are disabled after the maximum agent steps" });
|
|
79
79
|
return input.prepared.executeTool({
|
|
80
80
|
sessionID: input.sessionID,
|
|
81
81
|
agent: input.agent,
|
|
@@ -226,4 +226,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
226
226
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
227
227
|
};
|
|
228
228
|
|
|
229
|
-
export { Outcome2,
|
|
229
|
+
export { Outcome2, make9, exports_step };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service81,
|
|
6
|
+
node85
|
|
7
|
+
} from "./model-resolver-vv44hwmw.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-84txncab.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service82,
|
|
16
|
+
node86
|
|
17
|
+
} from "./model-resolver-25tpx51f.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service42,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node45,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service42 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service81;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service82;
|
|
110
|
+
return Service42.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node45 = makeGlobalNode({
|
|
171
|
+
service: Service42,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node85, Global.node, node86]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service42, isError2, validateBranch2, node45, exports_repository_cache };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service38,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node41
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service38 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service38.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node41 = makeLocationNode({
|
|
137
|
+
service: Service38,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service38, node41, exports_tool_output2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-jze0r7bz.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|