@opencode/core 0.0.0-dev-20932 → 0.0.0-dev-20935
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 +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{app-twa3mmh2.js → file-mutation-0bzgxg1j.js} +1 -1
- package/dist/chunks/{app-15z4n718.js → file-mutation-0qnqh04t.js} +17 -17
- package/dist/chunks/{app-ab2t1dtp.js → file-mutation-0rtnsyrz.js} +49 -49
- package/dist/chunks/{app-0emb60td.js → file-mutation-0vbcp93d.js} +2 -2
- package/dist/chunks/{app-f4esc38z.js → file-mutation-15y1dh4q.js} +24 -24
- package/dist/chunks/{app-1acjjqhc.js → file-mutation-1acjjqhc.js} +1 -1
- package/dist/chunks/{app-0xe2hg08.js → file-mutation-1cn4nm57.js} +5 -5
- package/dist/chunks/{app-206a5b9t.js → file-mutation-1qstm3eq.js} +6 -6
- package/dist/chunks/{app-tppyp9pb.js → file-mutation-1vfr3ynh.js} +10 -10
- package/dist/chunks/{app-db0xxnph.js → file-mutation-1wt7nzs7.js} +13 -13
- package/dist/chunks/{app-4j7rv99v.js → file-mutation-1wyq5fad.js} +23 -23
- package/dist/chunks/{app-kmhdg12v.js → file-mutation-20hfp30s.js} +5 -5
- package/dist/chunks/{app-ws3tjcf8.js → file-mutation-21e19319.js} +17 -17
- package/dist/chunks/{app-ft4twj61.js → file-mutation-269qmysk.js} +18 -18
- package/dist/chunks/{app-y66qpnmq.js → file-mutation-26tabnwf.js} +11 -11
- package/dist/chunks/{app-4v7ngy20.js → file-mutation-29qym6xz.js} +4 -4
- package/dist/chunks/{app-79dzcknw.js → file-mutation-2c8zmrp9.js} +27 -27
- package/dist/chunks/{app-c3ygfgpc.js → file-mutation-2cj9jx3e.js} +12 -12
- package/dist/chunks/{app-z34vb90q.js → file-mutation-2g1c1bfv.js} +12 -12
- package/dist/chunks/{app-2k8khapm.js → file-mutation-2k8khapm.js} +1 -1
- package/dist/chunks/{app-p9j4m5kb.js → file-mutation-302pfpj6.js} +33 -33
- package/dist/chunks/{app-31xfzrxg.js → file-mutation-31xfzrxg.js} +2 -2
- package/dist/chunks/{app-vga3q6rs.js → file-mutation-3ceprgpd.js} +20 -20
- package/dist/chunks/{app-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{app-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-3hwn7j4h.js → file-mutation-3hwn7j4h.js} +2 -2
- package/dist/chunks/{app-m8c5na8n.js → file-mutation-3ndepc5d.js} +26 -26
- package/dist/chunks/{app-dsp8ce2r.js → file-mutation-3qm04pf8.js} +12 -12
- package/dist/chunks/{app-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{app-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{app-3zsf4n22.js → file-mutation-3zsf4n22.js} +1 -1
- package/dist/chunks/file-mutation-4695qpbw.js +26 -0
- package/dist/chunks/{app-8vwr0kv2.js → file-mutation-487b5zh7.js} +29 -29
- package/dist/chunks/{app-98kf8pf8.js → file-mutation-488je9cq.js} +9 -9
- package/dist/chunks/{app-7d01hxhz.js → file-mutation-4drs5na8.js} +32 -32
- package/dist/chunks/{app-tfxdznec.js → file-mutation-4k2e73cq.js} +4 -4
- package/dist/chunks/{app-4ts7tf6z.js → file-mutation-4ts7tf6z.js} +2 -2
- package/dist/chunks/{app-0w0atn8d.js → file-mutation-4wspg9c0.js} +11 -11
- package/dist/chunks/{app-caxa2972.js → file-mutation-59yf6bk4.js} +24 -24
- package/dist/chunks/{app-5m9w47nd.js → file-mutation-5m9w47nd.js} +1 -1
- package/dist/chunks/{app-3jmxswwj.js → file-mutation-5zeq96ya.js} +11 -11
- package/dist/chunks/{app-6yvc00p7.js → file-mutation-6cd6hhv9.js} +14 -14
- package/dist/chunks/{app-vnfp1bqh.js → file-mutation-6gkqtzxe.js} +4 -4
- package/dist/chunks/{app-s09achy7.js → file-mutation-6gtab086.js} +13 -13
- package/dist/chunks/{app-eebrnx85.js → file-mutation-6mjtve35.js} +32 -32
- package/dist/chunks/{app-py3kkmfq.js → file-mutation-6pc27hjz.js} +6 -6
- package/dist/chunks/{app-4m5tstab.js → file-mutation-6w66n0xc.js} +27 -27
- package/dist/chunks/{app-6xb47vfp.js → file-mutation-6xb47vfp.js} +1 -1
- package/dist/chunks/{app-4dryy7gt.js → file-mutation-725fa840.js} +15 -15
- package/dist/chunks/{app-41vrjm3g.js → file-mutation-744wh19d.js} +30 -30
- package/dist/chunks/{app-775gj3j1.js → file-mutation-775gj3j1.js} +2 -2
- package/dist/chunks/{app-ppztqrvt.js → file-mutation-78e90p4n.js} +4 -4
- package/dist/chunks/{app-f2ft21ck.js → file-mutation-79ynbxc6.js} +14 -14
- package/dist/chunks/{app-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-j8cq26a0.js → file-mutation-7ckjjz4d.js} +180 -180
- package/dist/chunks/{app-b8pbb0pt.js → file-mutation-7dk33s9v.js} +10 -10
- package/dist/chunks/{app-g3jb9vbz.js → file-mutation-7fm38s5s.js} +5 -5
- package/dist/chunks/{app-myt7gyg8.js → file-mutation-7frhdmvw.js} +15 -15
- package/dist/chunks/{app-r0tzxxam.js → file-mutation-7g79rpkx.js} +13 -13
- package/dist/chunks/{app-gwaqpvd3.js → file-mutation-7kq22x4f.js} +21 -21
- package/dist/chunks/{app-dkd3r0qk.js → file-mutation-7whqvnsa.js} +7 -7
- package/dist/chunks/{app-yhzecjmw.js → file-mutation-7xtd2de8.js} +26 -26
- package/dist/chunks/{app-nwf09bmb.js → file-mutation-80rdvbp1.js} +24 -24
- package/dist/chunks/{app-84txncab.js → file-mutation-84txncab.js} +1 -1
- package/dist/chunks/{app-n4r3xatb.js → file-mutation-8gxqpgph.js} +4 -4
- package/dist/chunks/{app-cfp06q6p.js → file-mutation-8hxtpvs0.js} +9 -9
- package/dist/chunks/{app-f5qq0z73.js → file-mutation-8m5xe4tx.js} +6 -6
- package/dist/chunks/{app-8m6m0r52.js → file-mutation-8m6m0r52.js} +1 -1
- package/dist/chunks/{app-2rx8zczj.js → file-mutation-8ptgfkak.js} +1 -1
- package/dist/chunks/{app-wpt2yr69.js → file-mutation-8snhg1vq.js} +4 -4
- package/dist/chunks/{app-8n9x2wf6.js → file-mutation-8whp40kv.js} +3 -3
- package/dist/chunks/{app-c9jm02cr.js → file-mutation-8xc7njnc.js} +30 -30
- package/dist/chunks/{app-9c3np669.js → file-mutation-9c3np669.js} +1 -1
- package/dist/chunks/{app-xrbzmab8.js → file-mutation-9dxhpszz.js} +33 -33
- package/dist/chunks/{app-w3p166cb.js → file-mutation-a262mb36.js} +6 -6
- package/dist/chunks/{app-ynypmsgx.js → file-mutation-a4s9sa33.js} +3 -3
- package/dist/chunks/{app-s3s74cy0.js → file-mutation-a9z9tshj.js} +10 -10
- package/dist/chunks/{app-xp096d3h.js → file-mutation-ac7ncnhk.js} +11 -11
- package/dist/chunks/{app-4nhqdaht.js → file-mutation-ac8cyvxs.js} +5 -5
- package/dist/chunks/{app-r20pc6jk.js → file-mutation-adaq1q1v.js} +20 -20
- package/dist/chunks/{app-7096kxah.js → file-mutation-aep433xf.js} +34 -34
- package/dist/chunks/{app-wvfxqbgn.js → file-mutation-ax4fvyq7.js} +30 -30
- package/dist/chunks/{app-b3f8fkhc.js → file-mutation-b3f8fkhc.js} +2 -2
- package/dist/chunks/{app-nmyzmte7.js → file-mutation-bje7k343.js} +9 -9
- package/dist/chunks/{app-bjx1sjef.js → file-mutation-bjx1sjef.js} +2 -2
- package/dist/chunks/{app-8090mfnp.js → file-mutation-bqshr6y7.js} +21 -21
- package/dist/chunks/{app-cz6hf250.js → file-mutation-bwzb8d23.js} +15 -15
- package/dist/chunks/{app-es1vcfrp.js → file-mutation-c1fqxshp.js} +3 -3
- package/dist/chunks/file-mutation-c5kbbabp.js +513 -0
- package/dist/chunks/{app-4x20jssq.js → file-mutation-cbdnh8ym.js} +40 -40
- package/dist/chunks/{app-075b0h4m.js → file-mutation-cf8xhc6a.js} +17 -17
- package/dist/chunks/{app-87c2dmar.js → file-mutation-cgn0gs32.js} +32 -32
- package/dist/chunks/{app-9ya8rqmz.js → file-mutation-cm5d2jw8.js} +19 -19
- package/dist/chunks/file-mutation-cnr7gj8s.js +253 -0
- package/dist/chunks/{app-1j6szzgj.js → file-mutation-cqdkysbx.js} +69 -69
- package/dist/chunks/{app-aprfpfra.js → file-mutation-d2r14fdb.js} +21 -21
- package/dist/chunks/{app-rccqpthc.js → file-mutation-d2sq2d79.js} +16 -16
- package/dist/chunks/{app-9r716ba7.js → file-mutation-d9rxxga1.js} +10 -10
- package/dist/chunks/{app-addxnjmp.js → file-mutation-db2wf4at.js} +4 -4
- package/dist/chunks/{app-yfwk2dbq.js → file-mutation-dgpdmf3x.js} +11 -11
- package/dist/chunks/{app-dqavy2be.js → file-mutation-dnttm4be.js} +9 -9
- package/dist/chunks/{app-dqxsqydv.js → file-mutation-dqxsqydv.js} +1 -1
- package/dist/chunks/{app-h594728p.js → file-mutation-drw29jx9.js} +37 -37
- package/dist/chunks/{app-xfkkasph.js → file-mutation-drwq78ky.js} +4 -4
- package/dist/chunks/{app-fb8ejb83.js → file-mutation-dssbfrwz.js} +5 -5
- package/dist/chunks/{app-vynmvp9h.js → file-mutation-dvep9rg9.js} +9 -9
- package/dist/chunks/{app-4nybayqf.js → file-mutation-dz844g6a.js} +10 -10
- package/dist/chunks/{app-6g88h8tq.js → file-mutation-e11mwjdf.js} +11 -11
- package/dist/chunks/{app-g524tknc.js → file-mutation-eahrnhfx.js} +3 -3
- package/dist/chunks/{app-rhjbct0v.js → file-mutation-eaj1djv9.js} +8 -8
- package/dist/chunks/{app-a7fam1e2.js → file-mutation-ebxtaxe6.js} +7 -7
- package/dist/chunks/{app-qfshw0gf.js → file-mutation-ecmt7fx5.js} +16 -16
- package/dist/chunks/{app-v5dkyp31.js → file-mutation-edrmdtr5.js} +7 -7
- package/dist/chunks/{app-eej6y6fw.js → file-mutation-eej6y6fw.js} +2 -2
- package/dist/chunks/{app-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/{app-mzv8fsd3.js → file-mutation-efmrteft.js} +12 -12
- package/dist/chunks/{app-7y1kt33k.js → file-mutation-emgh9wj7.js} +15 -15
- package/dist/chunks/{app-tbxn6vr2.js → file-mutation-etg65a44.js} +5 -5
- package/dist/chunks/{app-n1n192bv.js → file-mutation-f29mbr7f.js} +4 -4
- package/dist/chunks/{app-yf6sbkfw.js → file-mutation-f3bbnrc1.js} +23 -23
- package/dist/chunks/{app-nn5r88dg.js → file-mutation-f54aqyew.js} +8 -8
- package/dist/chunks/{app-64xbrstx.js → file-mutation-f9kwa5z1.js} +4 -4
- package/dist/chunks/{app-dcy4tesk.js → file-mutation-fbm9hsmq.js} +4 -4
- package/dist/chunks/{app-6hjx5zpb.js → file-mutation-fdms3n6w.js} +9 -9
- package/dist/chunks/{app-zyghg2rr.js → file-mutation-fs83ex1z.js} +7 -7
- package/dist/chunks/{app-rcc9h87s.js → file-mutation-ftk3rmxb.js} +84 -84
- package/dist/chunks/{app-w0g0fbcz.js → file-mutation-fvswbnqd.js} +83 -83
- package/dist/chunks/{app-khmqacep.js → file-mutation-fxaymqdw.js} +4 -4
- package/dist/chunks/{app-vmnv22r9.js → file-mutation-fxt7trq0.js} +3 -3
- package/dist/chunks/{app-xpagxnxm.js → file-mutation-g7mf3f1b.js} +19 -19
- package/dist/chunks/{app-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{app-mtrbqqrq.js → file-mutation-gfhhve88.js} +5 -5
- package/dist/chunks/{app-jb61p9mr.js → file-mutation-ggw67geq.js} +9 -9
- package/dist/chunks/{app-djszqvmq.js → file-mutation-gjwgx2c5.js} +9 -9
- package/dist/chunks/{app-yqrs8n94.js → file-mutation-gk1bnrwx.js} +45 -45
- package/dist/chunks/{app-v8aakqbc.js → file-mutation-gwmhmcrb.js} +13 -13
- package/dist/chunks/{app-vhg2fda3.js → file-mutation-gwn8bfdv.js} +12 -12
- package/dist/chunks/{app-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{app-6s2xa942.js → file-mutation-hcv80w8f.js} +8 -8
- package/dist/chunks/{app-321x2wtd.js → file-mutation-hdab2k61.js} +6 -6
- package/dist/chunks/{app-hgz4x7wa.js → file-mutation-hgz4x7wa.js} +1 -1
- package/dist/chunks/{app-7mz429at.js → file-mutation-hswc9hpq.js} +15 -15
- package/dist/chunks/{app-2jw57bnr.js → file-mutation-hvj0b7mr.js} +35 -35
- package/dist/chunks/{app-91qna3x0.js → file-mutation-j09zfasm.js} +3 -3
- package/dist/chunks/{app-g98q3q0z.js → file-mutation-j67c03p0.js} +5 -5
- package/dist/chunks/file-mutation-jqh9b0xq.js +18 -0
- package/dist/chunks/{app-e1zfsj3q.js → file-mutation-js17ywz4.js} +55 -55
- package/dist/chunks/{app-7qxxfz1s.js → file-mutation-jxnrt2vv.js} +18 -18
- package/dist/chunks/{app-s9ynav7r.js → file-mutation-k0nnq3t9.js} +8 -8
- package/dist/chunks/{app-mgnzszw4.js → file-mutation-k1man42b.js} +14 -14
- package/dist/chunks/{app-7sg3efhr.js → file-mutation-k5pv28k4.js} +4 -4
- package/dist/chunks/{app-8tfw67qp.js → file-mutation-km9pakr1.js} +4 -4
- package/dist/chunks/{app-py2zmy8a.js → file-mutation-kqnabcqt.js} +13 -13
- package/dist/chunks/{app-cfw4348y.js → file-mutation-m1w5mx9z.js} +15 -15
- package/dist/chunks/{app-mtx19441.js → file-mutation-m61fzpmg.js} +44 -44
- package/dist/chunks/{app-1f3hwm7j.js → file-mutation-m9pvadtq.js} +26 -26
- package/dist/chunks/{app-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-maspj1v3.js → file-mutation-maspj1v3.js} +1 -1
- package/dist/chunks/{app-4vew1nxq.js → file-mutation-mf47bgh6.js} +8 -8
- package/dist/chunks/{app-0ksqmnxq.js → file-mutation-mmhwe7vy.js} +11 -11
- package/dist/chunks/{app-z4h5nb4t.js → file-mutation-mqnxkg5d.js} +11 -11
- package/dist/chunks/{app-hns1z3c7.js → file-mutation-mrk9z152.js} +15 -15
- package/dist/chunks/{app-wegtz2nd.js → file-mutation-msx498dr.js} +15 -15
- package/dist/chunks/{app-mdq09p9n.js → file-mutation-n1vsqrtb.js} +28 -28
- package/dist/chunks/{app-98q3jtnf.js → file-mutation-n2w8wk1e.js} +40 -40
- package/dist/chunks/{app-amp8j8pr.js → file-mutation-n3vndsfb.js} +11 -11
- package/dist/chunks/{app-f4acqtff.js → file-mutation-ndr5ek36.js} +12 -12
- package/dist/chunks/{app-9e402gr3.js → file-mutation-ne96pfeq.js} +8 -8
- package/dist/chunks/{app-ewkj75rr.js → file-mutation-nhtzdzfz.js} +18 -18
- package/dist/chunks/{app-szqhjf28.js → file-mutation-nj8dvbd1.js} +2 -2
- package/dist/chunks/{app-r2z489rp.js → file-mutation-nma959mg.js} +3 -3
- package/dist/chunks/{app-b1zzbc3b.js → file-mutation-nz5t62q8.js} +32 -32
- package/dist/chunks/{app-25w0dfvn.js → file-mutation-nzesv2yv.js} +11 -11
- package/dist/chunks/{app-sp3ra5c3.js → file-mutation-p0ms9zpf.js} +21 -21
- package/dist/chunks/{app-9hn6k4tm.js → file-mutation-p37cw4rj.js} +8 -8
- package/dist/chunks/{app-kvycfk4x.js → file-mutation-p5p5kne1.js} +2 -2
- package/dist/chunks/{app-beagraae.js → file-mutation-p6pewa8n.js} +41 -41
- package/dist/chunks/{app-jhbf14tp.js → file-mutation-pab7dce6.js} +35 -35
- package/dist/chunks/{app-3smzbyen.js → file-mutation-pczhjasx.js} +29 -29
- package/dist/chunks/{app-m339f9ts.js → file-mutation-pdx7j9bb.js} +12 -12
- package/dist/chunks/{app-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{app-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{app-sh3ppxw7.js → file-mutation-pt223mrs.js} +22 -22
- package/dist/chunks/{app-8mq0f7d6.js → file-mutation-pzk4zc1f.js} +25 -25
- package/dist/chunks/{app-vppcbm3y.js → file-mutation-q0nrsbdj.js} +9 -9
- package/dist/chunks/{app-q0xm7vwc.js → file-mutation-q0xm7vwc.js} +2 -2
- package/dist/chunks/{app-zdg8fsxg.js → file-mutation-q4mmazg4.js} +50 -50
- package/dist/chunks/{app-3g8j9he4.js → file-mutation-q5e7cmwt.js} +1 -1
- package/dist/chunks/{app-qnc92qwc.js → file-mutation-qnc92qwc.js} +1 -1
- package/dist/chunks/{app-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{app-7qggzfr4.js → file-mutation-r5vtw57q.js} +14 -14
- package/dist/chunks/{app-54ma36ye.js → file-mutation-r94pvvab.js} +4 -4
- package/dist/chunks/{app-1yd7h3h8.js → file-mutation-r9y2scxt.js} +11 -11
- package/dist/chunks/{app-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
- package/dist/chunks/{app-py3aq9mf.js → file-mutation-re585wd9.js} +8 -8
- package/dist/chunks/{app-tkb22qbm.js → file-mutation-rert0e01.js} +2 -2
- package/dist/chunks/{app-nwkxhzdw.js → file-mutation-rhn3xyng.js} +3 -3
- package/dist/chunks/{app-c41wscbt.js → file-mutation-rj3eygr5.js} +2 -2
- package/dist/chunks/{app-46h7srqs.js → file-mutation-rpetkqdt.js} +4 -4
- package/dist/chunks/{app-9yj1abes.js → file-mutation-rqpzhrm7.js} +11 -11
- package/dist/chunks/{app-a1r4fzdz.js → file-mutation-rzbsbyhd.js} +9 -9
- package/dist/chunks/{app-8hfgq23n.js → file-mutation-s1svsssm.js} +20 -20
- package/dist/chunks/{app-0pgaa6v4.js → file-mutation-s7042j6v.js} +20 -20
- package/dist/chunks/{app-7s6mfhxz.js → file-mutation-s8bec3jy.js} +22 -22
- package/dist/chunks/{app-c8ax2afj.js → file-mutation-sa8ekw3f.js} +2 -2
- package/dist/chunks/{app-yhw0gftb.js → file-mutation-sarp1xh6.js} +18 -18
- package/dist/chunks/{app-4hcb5h9g.js → file-mutation-sazgegx5.js} +5 -5
- package/dist/chunks/{app-zybhphgb.js → file-mutation-sfh0wzsz.js} +15 -15
- package/dist/chunks/{app-52krgrnh.js → file-mutation-sgsqsaf8.js} +21 -21
- package/dist/chunks/{app-syv4x271.js → file-mutation-syv4x271.js} +1 -1
- package/dist/chunks/{app-mbqhpway.js → file-mutation-szxhn8br.js} +34 -34
- package/dist/chunks/{app-pw9017y3.js → file-mutation-t5y9h401.js} +14 -14
- package/dist/chunks/{app-0vynxfm9.js → file-mutation-t7xjxf4b.js} +24 -24
- package/dist/chunks/{app-dvq678aa.js → file-mutation-ta5zb0rh.js} +7 -7
- package/dist/chunks/{app-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{app-jv6mm5r1.js → file-mutation-tb2gjcgf.js} +11 -11
- package/dist/chunks/{app-tcezcvh9.js → file-mutation-tcezcvh9.js} +1 -1
- package/dist/chunks/{app-tdstcens.js → file-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{app-de5e1pd0.js → file-mutation-th1jrazv.js} +22 -22
- package/dist/chunks/{app-pct1c8gm.js → file-mutation-tjedn1bk.js} +4 -4
- package/dist/chunks/{app-1ahdgg21.js → file-mutation-tk0nare2.js} +18 -18
- package/dist/chunks/{app-tm0kqsz3.js → file-mutation-tm0kqsz3.js} +1 -1
- package/dist/chunks/{app-ahmp80x8.js → file-mutation-tm5zmf33.js} +23 -23
- package/dist/chunks/{app-wymv97xa.js → file-mutation-tnqjjjt6.js} +19 -19
- package/dist/chunks/{app-tsn6bzsd.js → file-mutation-trktjxrk.js} +11 -11
- package/dist/chunks/{app-s4frcz2y.js → file-mutation-ts3azqmf.js} +5 -5
- package/dist/chunks/{app-ymkmw3p0.js → file-mutation-tt1456kv.js} +11 -11
- package/dist/chunks/{app-2t2hn040.js → file-mutation-ttncn3ce.js} +8 -8
- package/dist/chunks/{app-gs3s1a1g.js → file-mutation-tx9w5tca.js} +8 -8
- package/dist/chunks/{app-bmr56wjg.js → file-mutation-txm3e8qz.js} +4 -4
- package/dist/chunks/{app-tyytaxap.js → file-mutation-tyytaxap.js} +1 -1
- package/dist/chunks/{app-zwa8p87b.js → file-mutation-tzdn9rtg.js} +4 -4
- package/dist/chunks/{app-z2ywks3e.js → file-mutation-v178wb1r.js} +17 -17
- package/dist/chunks/{app-v7p4zvkq.js → file-mutation-v7p4zvkq.js} +2 -2
- package/dist/chunks/{app-jczc6vns.js → file-mutation-vd1cq09t.js} +40 -40
- package/dist/chunks/{app-cgc5rfg9.js → file-mutation-vdaqayr7.js} +25 -25
- package/dist/chunks/{app-7c8bqxqs.js → file-mutation-vebsjg4p.js} +5 -5
- package/dist/chunks/{app-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{app-1c3hmgns.js → file-mutation-vr7sbetz.js} +11 -11
- package/dist/chunks/{app-06tsrf37.js → file-mutation-vsgt0m8t.js} +6 -6
- package/dist/chunks/{app-hgbrfrgh.js → file-mutation-vsy7b3vy.js} +35 -35
- package/dist/chunks/{app-vzs5sf6e.js → file-mutation-vzs5sf6e.js} +1 -1
- package/dist/chunks/{app-vrzt526f.js → file-mutation-w1ba7bfx.js} +5 -5
- package/dist/chunks/{app-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-mz1gwbmy.js → file-mutation-w5bq72s7.js} +34 -34
- package/dist/chunks/{app-hsj3w1wy.js → file-mutation-w6zj4ham.js} +23 -23
- package/dist/chunks/{app-c03pjh90.js → file-mutation-w7fgpjv3.js} +17 -17
- package/dist/chunks/{app-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{app-pfqb00sy.js → file-mutation-wdaydb6p.js} +30 -30
- package/dist/chunks/{app-v7grjy9x.js → file-mutation-wg81ww38.js} +4 -4
- package/dist/chunks/{app-394kxefd.js → file-mutation-x1gtan6b.js} +5 -5
- package/dist/chunks/{app-qckt8r3e.js → file-mutation-xd31rfz9.js} +52 -52
- package/dist/chunks/{app-wgbesqx0.js → file-mutation-xd863jet.js} +3 -3
- package/dist/chunks/{app-vptyv5c1.js → file-mutation-xdznb3yd.js} +14 -14
- package/dist/chunks/{app-g2y3xem8.js → file-mutation-xngt1rja.js} +19 -19
- package/dist/chunks/{app-r3c0wznm.js → file-mutation-xtptnygy.js} +6 -6
- package/dist/chunks/{app-gyp319fn.js → file-mutation-xwkbkp38.js} +11 -11
- package/dist/chunks/{app-vbkq08fs.js → file-mutation-y047mq8b.js} +23 -23
- package/dist/chunks/{app-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{app-b52w3eve.js → file-mutation-y3w7fqgz.js} +4 -4
- package/dist/chunks/{app-xecxzrdp.js → file-mutation-y4xh0pmk.js} +7 -7
- package/dist/chunks/{app-bd2d2fyk.js → file-mutation-y5nbssvw.js} +45 -45
- package/dist/chunks/{app-y71avatq.js → file-mutation-y71avatq.js} +1 -1
- package/dist/chunks/{app-p0szy2by.js → file-mutation-ye73daeg.js} +22 -22
- package/dist/chunks/{app-zw2ke1at.js → file-mutation-ygdna4kr.js} +5 -5
- package/dist/chunks/{app-vm6z5n2a.js → file-mutation-yhm5jsae.js} +3 -3
- package/dist/chunks/{app-xs4mtx3k.js → file-mutation-yhwtprxq.js} +18 -18
- package/dist/chunks/{app-3ft6jn2j.js → file-mutation-yp6q1akp.js} +20 -20
- package/dist/chunks/{app-1jredeff.js → file-mutation-ypaak06t.js} +36 -36
- package/dist/chunks/{app-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{app-20xkk2gr.js → file-mutation-z2a32qbh.js} +11 -11
- package/dist/chunks/{app-ew1z5sec.js → file-mutation-zbm73xeg.js} +22 -22
- package/dist/chunks/{app-zwpqkbw2.js → file-mutation-zn4yvc8k.js} +16 -16
- package/dist/chunks/{app-8ra6m1eq.js → file-mutation-znvvnn0n.js} +13 -13
- package/dist/chunks/{app-pxactvkc.js → file-mutation-zpfh6517.js} +32 -32
- package/dist/chunks/{app-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{app-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
- 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 +85 -85
- 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 +92 -92
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- 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 +119 -119
- 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 +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 +366 -366
- 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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +95 -95
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +96 -96
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- 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 +93 -93
- 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 +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +356 -356
- package/dist/location.js +87 -87
- 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 +127 -127
- 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 +93 -93
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- 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 +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- 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 +118 -118
- 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 +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- 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 +220 -220
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +91 -91
- 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 +97 -97
- 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 +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +1 -1
- 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 +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- 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 +1 -1
- 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 +2 -2
- 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 +3 -3
- 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 +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- 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 +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- 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 +14 -14
- 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 +3 -3
- 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 +91 -91
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- 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 +8 -8
- 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/app-4g77rj02.js +0 -513
- package/dist/chunks/app-9qhp2c7y.js +0 -253
- package/dist/chunks/app-eeyb3kb4.js +0 -26
- package/dist/chunks/app-ht5y0zrb.js +0 -18
- /package/dist/chunks/{app-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{app-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{app-2bv980vf.js → file-mutation-2bv980vf.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{app-3t0ybcrp.js → file-mutation-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{app-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{app-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{app-5qd3pb7m.js → file-mutation-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{app-6q2bdcd1.js → file-mutation-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{app-84wd9syh.js → file-mutation-84wd9syh.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{app-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{app-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{app-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{app-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{app-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{app-hcxmzztb.js → file-mutation-hcxmzztb.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{app-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jze0r7bz.js → file-mutation-jze0r7bz.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-m18g726c.js → file-mutation-m18g726c.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-pkyv6v7h.js → file-mutation-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{app-pyv0edze.js → file-mutation-pyv0edze.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-ve7vex1e.js → file-mutation-ve7vex1e.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wjj7prxr.js → file-mutation-wjj7prxr.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{app-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{app-z5v4ffb3.js → file-mutation-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85,
|
|
6
6
|
node89
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-a4s9sa33.js";
|
|
8
8
|
import {
|
|
9
9
|
Service84,
|
|
10
10
|
node88
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-f9kwa5z1.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service81,
|
|
14
|
+
node85
|
|
15
|
+
} from "./file-mutation-3qm04pf8.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID17,
|
|
18
18
|
Current3,
|
|
19
19
|
Info29,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-mutation-y4xh0pmk.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-mutation-rj3eygr5.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-mutation-sa8ekw3f.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
39
|
+
ID: () => ID16,
|
|
40
40
|
Info: () => Info28,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service80,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node84,
|
|
47
47
|
root: () => root2,
|
|
48
48
|
sweepNode: () => sweepNode2
|
|
49
49
|
});
|
|
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
56
56
|
import { AppProcess } from "@opencode/util/process";
|
|
57
57
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
58
58
|
import { Hash } from "@opencode/util/hash";
|
|
59
|
-
var
|
|
59
|
+
var ID16 = ID17;
|
|
60
60
|
var Vcs2 = Vcs3;
|
|
61
61
|
var Current2 = Current3;
|
|
62
62
|
var Info28 = Info29;
|
|
63
63
|
var UpdateInput3 = UpdateInput4;
|
|
64
64
|
|
|
65
65
|
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
66
|
-
projectID:
|
|
66
|
+
projectID: ID16
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
69
69
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
74
74
|
var ACTIVATE_INTERVAL = 60000;
|
|
75
75
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service80 extends Context.Service()("@opencode/Project") {
|
|
78
78
|
}
|
|
79
79
|
function fromRow(row) {
|
|
80
80
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -98,9 +98,9 @@ function fromRow(row) {
|
|
|
98
98
|
sandboxes: row.sandboxes
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
|
-
const git = yield*
|
|
103
|
+
const git = yield* Service81;
|
|
104
104
|
const proc = yield* AppProcess.Service;
|
|
105
105
|
const bus = yield* Service84;
|
|
106
106
|
const db = (yield* Service85).db;
|
|
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
112
112
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
113
113
|
const changed = replaced ?? unarchived;
|
|
114
114
|
if (changed)
|
|
115
|
-
yield* bus.publish(
|
|
115
|
+
yield* bus.publish(Event20.Updated, fromRow(changed));
|
|
116
116
|
if (!project.vcs)
|
|
117
117
|
return project;
|
|
118
118
|
const directories = [
|
|
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
148
148
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
149
149
|
projectID: item.projectID,
|
|
150
150
|
directory: item.directory,
|
|
151
|
-
previous: project.previous ??
|
|
151
|
+
previous: project.previous ?? ID16.global,
|
|
152
152
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
153
153
|
}, {
|
|
154
154
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -173,7 +173,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
173
173
|
if (!row)
|
|
174
174
|
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
175
175
|
const project = fromRow(row);
|
|
176
|
-
yield* bus.publish(
|
|
176
|
+
yield* bus.publish(Event20.Updated, project);
|
|
177
177
|
return project;
|
|
178
178
|
});
|
|
179
179
|
const activated = new Map;
|
|
@@ -184,10 +184,10 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
184
184
|
activated.set(projectID, now);
|
|
185
185
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
186
186
|
if (row)
|
|
187
|
-
yield* bus.publish(
|
|
187
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
188
188
|
});
|
|
189
189
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
190
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
190
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
191
191
|
return;
|
|
192
192
|
}));
|
|
193
193
|
});
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
198
198
|
const normalized = url(origin);
|
|
199
199
|
if (!normalized)
|
|
200
200
|
return;
|
|
201
|
-
return
|
|
201
|
+
return ID16.make(Hash.fast(`git-remote:${normalized}`));
|
|
202
202
|
});
|
|
203
203
|
function url(input) {
|
|
204
204
|
const value = input.trim();
|
|
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
223
223
|
}
|
|
224
224
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
225
225
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
226
|
-
return root ?
|
|
226
|
+
return root ? ID16.make(root) : undefined;
|
|
227
227
|
});
|
|
228
228
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
229
229
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
239
239
|
return;
|
|
240
240
|
const node = result.stdout.toString("utf8").split(`
|
|
241
241
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
242
|
-
return node ?
|
|
242
|
+
return node ? ID16.make(node) : undefined;
|
|
243
243
|
});
|
|
244
244
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
245
245
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -248,7 +248,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
248
248
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
249
249
|
return {
|
|
250
250
|
previous,
|
|
251
|
-
id: id ??
|
|
251
|
+
id: id ?? ID16.global,
|
|
252
252
|
directory: worktree,
|
|
253
253
|
vcs: { type: "hg", store }
|
|
254
254
|
};
|
|
@@ -265,7 +265,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
265
265
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
266
266
|
return yield* persist({
|
|
267
267
|
previous,
|
|
268
|
-
id: id ??
|
|
268
|
+
id: id ?? ID16.global,
|
|
269
269
|
directory: repo.worktree,
|
|
270
270
|
canonical,
|
|
271
271
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -279,7 +279,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
281
|
return yield* persist({
|
|
282
|
-
id:
|
|
282
|
+
id: ID16.make(Hash.fast(`directory:${directory}`)),
|
|
283
283
|
directory,
|
|
284
284
|
canonical: directory,
|
|
285
285
|
vcs: undefined
|
|
@@ -288,7 +288,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
288
288
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
289
289
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
290
290
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
291
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
291
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID16.global))).all().pipe(Effect.orDie);
|
|
292
292
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
293
293
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
294
294
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -301,23 +301,23 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
301
301
|
return;
|
|
302
302
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
303
303
|
if (row)
|
|
304
|
-
yield* bus.publish(
|
|
304
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
305
305
|
}), { concurrency: 8, discard: true });
|
|
306
306
|
});
|
|
307
|
-
return
|
|
307
|
+
return Service80.of({ list, update, activate, resolve, sweep });
|
|
308
308
|
}));
|
|
309
|
-
var
|
|
310
|
-
service:
|
|
309
|
+
var node84 = makeGlobalNode({
|
|
310
|
+
service: Service80,
|
|
311
311
|
layer,
|
|
312
|
-
deps: [node88, node89, FSUtil.node,
|
|
312
|
+
deps: [node88, node89, FSUtil.node, node85, AppProcess.node]
|
|
313
313
|
});
|
|
314
314
|
var sweepNode2 = makeGlobalNode({
|
|
315
315
|
name: "project-archive-sweep",
|
|
316
316
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
317
|
-
const project = yield*
|
|
317
|
+
const project = yield* Service80;
|
|
318
318
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
319
319
|
})),
|
|
320
|
-
deps: [
|
|
320
|
+
deps: [node84]
|
|
321
321
|
});
|
|
322
322
|
|
|
323
|
-
export {
|
|
323
|
+
export { ID16, Vcs2, Current2, Info28, UpdateInput3, NotFoundError11, root2, Service80, node84, sweepNode2, exports_project };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-trktjxrk.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-f9kwa5z1.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event16,
|
|
10
|
+
Service68
|
|
11
|
+
} from "./file-mutation-ax4fvyq7.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID9,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service67
|
|
16
|
+
} from "./file-mutation-744wh19d.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-mutation-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID8
|
|
23
|
+
} from "./file-mutation-4drs5na8.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-mutation-xtptnygy.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID8.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID9.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service68;
|
|
57
|
+
const integrations = yield* Service67;
|
|
58
58
|
const bus = yield* Service84;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -186,7 +186,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
188
|
});
|
|
189
|
-
yield* bus.subscribe(
|
|
189
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
190
190
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
191
191
|
const token = envToken();
|
|
192
192
|
if (token)
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
Service83,
|
|
9
|
-
node87
|
|
10
|
-
} from "./app-dsp8ce2r.js";
|
|
11
|
-
import {
|
|
12
8
|
Service81,
|
|
13
9
|
node85
|
|
14
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-3qm04pf8.js";
|
|
11
|
+
import {
|
|
12
|
+
Service79,
|
|
13
|
+
node83
|
|
14
|
+
} from "./file-mutation-r5vtw57q.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service45,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node48,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 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
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service81;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service79;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service80, 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 Error3({ 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(Service80, 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 Error3({ 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;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID5.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -136,25 +136,25 @@ var layer = Layer.effect(Service80, 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 Error3({ 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 Error3({ 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
|
-
deps: [FSUtil.node,
|
|
155
|
+
deps: [FSUtil.node, node85, Global.node, node83]
|
|
156
156
|
});
|
|
157
|
-
var
|
|
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 noopLayer3 = Layer.succeed(Service80, Service80.of({
|
|
|
163
163
|
restore: () => Effect.void
|
|
164
164
|
}));
|
|
165
165
|
function failure(operation, cause) {
|
|
166
|
-
if (cause instanceof
|
|
166
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
167
167
|
return cause;
|
|
168
|
-
return new
|
|
168
|
+
return new Error3({
|
|
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 {
|
|
175
|
+
export { ID5, Error3, Service45, node48, noopLayer2, exports_snapshot2 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node83
|
|
4
|
+
} from "./file-mutation-r5vtw57q.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Key4,
|
|
7
|
+
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-eaj1djv9.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service30,
|
|
19
|
+
node: () => node33
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service30 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service79;
|
|
29
|
+
return Service30.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
|
-
|
|
32
|
-
key:
|
|
31
|
+
make21({
|
|
32
|
+
key: Key4.make("core/date"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
35
35
|
render: {
|
|
@@ -37,8 +37,8 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
37
37
|
changed: (_previous, date) => `Today's date is now: ${date}`
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
|
-
|
|
41
|
-
key:
|
|
40
|
+
make21({
|
|
41
|
+
key: Key4.make("core/environment"),
|
|
42
42
|
codec: Schema.toCodecJson(Schema.String),
|
|
43
43
|
read: Effect.sync(() => [
|
|
44
44
|
"<env>",
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node33 = makeLocationNode({ service: Service30, layer, deps: [Global.node, node83] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service30, node33, exports_builtins };
|