@opencode/core 0.0.0-dev-20122 → 0.0.0-dev-20123
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{form-eeaf82dq.js → job-00x4qneg.js} +8 -8
- package/dist/chunks/{form-h41e8hs0.js → job-01x2k9yj.js} +9 -9
- package/dist/chunks/{form-sexe7gff.js → job-02xcpd00.js} +17 -17
- package/dist/chunks/{form-7ekfrejk.js → job-06m1xh7w.js} +8 -8
- package/dist/chunks/{form-6ccf5npz.js → job-0at1sqv3.js} +35 -35
- package/dist/chunks/{form-4wjh6a8j.js → job-0d4sc7pe.js} +23 -23
- package/dist/chunks/{form-bdn25p9a.js → job-0ghjbmdt.js} +70 -70
- package/dist/chunks/{form-kbsq9ezz.js → job-0nh3zynp.js} +18 -18
- package/dist/chunks/{form-9s9y5h84.js → job-0nwdympg.js} +25 -25
- package/dist/chunks/{form-0paq2nw3.js → job-0paq2nw3.js} +1 -1
- package/dist/chunks/{form-xt8hymbd.js → job-0pv1g9nx.js} +17 -17
- package/dist/chunks/{form-rnnf6gaf.js → job-0pvat8hm.js} +4 -4
- package/dist/chunks/{form-vktwk5kv.js → job-0tmgye68.js} +9 -9
- package/dist/chunks/{form-6grzz0f0.js → job-0xjzj7vr.js} +4 -4
- package/dist/chunks/{form-dh8e7anf.js → job-0z0qaz2z.js} +24 -24
- package/dist/chunks/{form-1btp8ks2.js → job-1awp3qpv.js} +6 -6
- package/dist/chunks/{form-1dazxqgg.js → job-1dazxqgg.js} +2 -2
- package/dist/chunks/{form-qzbrf7bg.js → job-1h9njfqv.js} +20 -20
- package/dist/chunks/{form-t821byxs.js → job-1hwsz3wr.js} +16 -16
- package/dist/chunks/{form-jws6fkes.js → job-1p07q0wb.js} +6 -6
- package/dist/chunks/{form-ksgwayv1.js → job-212zgvfw.js} +52 -52
- package/dist/chunks/{form-9nchh937.js → job-21cd0s03.js} +10 -10
- package/dist/chunks/{form-21r38tys.js → job-21r38tys.js} +1 -1
- package/dist/chunks/{form-2402vzrj.js → job-2402vzrj.js} +1 -1
- package/dist/chunks/{form-2a5m3afh.js → job-2a5m3afh.js} +1 -1
- package/dist/chunks/{form-ezy28dwm.js → job-2b6sywcb.js} +11 -11
- package/dist/chunks/{form-5b9mpv4n.js → job-2cq5zkt6.js} +8 -8
- package/dist/chunks/{form-0pk5wkp1.js → job-2f3eaja9.js} +16 -16
- package/dist/chunks/{form-e37h8kwf.js → job-2gbsvbx5.js} +12 -12
- package/dist/chunks/{form-0h1pcqkr.js → job-2hafbkzw.js} +26 -26
- package/dist/chunks/{form-g6aremgq.js → job-2mhtd2h6.js} +11 -11
- package/dist/chunks/{form-r5vn3hc9.js → job-2p4yn6dm.js} +22 -22
- package/dist/chunks/{form-9ve3q3sw.js → job-2w4mr9ah.js} +6 -6
- package/dist/chunks/{form-4648wvm6.js → job-2z5agv92.js} +11 -11
- package/dist/chunks/{form-fwk5mrsc.js → job-33a3dssb.js} +5 -5
- package/dist/chunks/{form-3ndj74bm.js → job-34ah5aas.js} +8 -8
- package/dist/chunks/{form-df9m9s24.js → job-357452v1.js} +10 -10
- package/dist/chunks/{form-4538h11c.js → job-35hkzk16.js} +7 -7
- package/dist/chunks/{form-sj0vvp2d.js → job-362gjx7k.js} +7 -7
- package/dist/chunks/{form-2q8e2f41.js → job-39m4cdzz.js} +5 -5
- package/dist/chunks/{form-37s12vcn.js → job-3cfzdc8e.js} +5 -5
- package/dist/chunks/{form-3fc6dm20.js → job-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-wgzgkxwc.js → job-3fhxmx4v.js} +3 -3
- package/dist/chunks/{form-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-3smtnn6g.js → job-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-0m4fayrh.js → job-3t1tf7ab.js} +25 -25
- package/dist/chunks/{form-3tvqynh2.js → job-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-xgysng5w.js → job-3vcfbxd4.js} +12 -12
- package/dist/chunks/{form-pyzra7ce.js → job-3zqgca9t.js} +3 -3
- package/dist/chunks/{form-3zsf4n22.js → job-3zsf4n22.js} +1 -1
- package/dist/chunks/{form-n4cqhk9j.js → job-431mjdkk.js} +21 -21
- package/dist/chunks/{form-8g3862tg.js → job-44yjcw9g.js} +6 -6
- package/dist/chunks/{form-30k0bhdj.js → job-47qsm60k.js} +11 -11
- package/dist/chunks/{form-a1f9yram.js → job-483vprpr.js} +17 -17
- package/dist/chunks/{form-cpj0znwe.js → job-4dgbcxzg.js} +4 -4
- package/dist/chunks/{form-zgc6s8pn.js → job-4ezq13de.js} +38 -38
- package/dist/chunks/{form-8se06a21.js → job-4paxgmv5.js} +35 -35
- package/dist/chunks/{form-6j3ma1kd.js → job-4x78564e.js} +24 -24
- package/dist/chunks/{form-azr7q1a0.js → job-4z0bk2th.js} +26 -26
- package/dist/chunks/{form-qqeeq2t9.js → job-57b9ws8p.js} +4 -4
- package/dist/chunks/{form-57ez7d0k.js → job-57ez7d0k.js} +2 -2
- package/dist/chunks/{form-q3t37ft6.js → job-5cmxdwv8.js} +3 -3
- package/dist/chunks/{form-5daktx2q.js → job-5daktx2q.js} +1 -1
- package/dist/chunks/{form-vvvad8t8.js → job-5dzyf9wn.js} +13 -13
- package/dist/chunks/{form-pdrmbr6g.js → job-5ge6znve.js} +24 -24
- package/dist/chunks/{form-z70jygrh.js → job-5q9mj0fe.js} +11 -11
- package/dist/chunks/{form-kxdmnbtc.js → job-5s4ek4xp.js} +9 -9
- package/dist/chunks/{form-5t3nmthw.js → job-5t3nmthw.js} +2 -2
- package/dist/chunks/{form-ac8vvvjp.js → job-616jhwvt.js} +29 -29
- package/dist/chunks/{form-y9mp5nec.js → job-621thra8.js} +85 -85
- package/dist/chunks/{form-pgk9ksh3.js → job-64d0e0bv.js} +20 -20
- package/dist/chunks/{form-2wtv2rb3.js → job-64nhe9mm.js} +29 -29
- package/dist/chunks/{form-zwhv3kbh.js → job-659nyytr.js} +25 -25
- package/dist/chunks/{form-669tq793.js → job-669tq793.js} +1 -1
- package/dist/chunks/{form-v657ew0y.js → job-6ea1e4p1.js} +8 -8
- package/dist/chunks/{form-5es5e7v6.js → job-6k70vexz.js} +3 -3
- package/dist/chunks/job-6kdq0pjd.js +4 -0
- package/dist/chunks/{form-6msgmcgs.js → job-6msgmcgs.js} +1 -1
- package/dist/chunks/{form-azfvrb33.js → job-6rrxrnwx.js} +27 -27
- package/dist/chunks/{form-wn8n2sm9.js → job-6w37h07j.js} +88 -88
- package/dist/chunks/{form-6fb0y946.js → job-713hsy6v.js} +11 -11
- package/dist/chunks/{form-5xa5ry74.js → job-727asdka.js} +41 -41
- package/dist/chunks/{form-r5x6zcsm.js → job-73tb2d7t.js} +3 -3
- package/dist/chunks/{form-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-ez2rjd67.js → job-7c0qk9f5.js} +17 -17
- package/dist/chunks/{form-g11s8h7b.js → job-84npvg7a.js} +10 -10
- package/dist/chunks/{form-y59c554b.js → job-84qf2sz4.js} +8 -8
- package/dist/chunks/{form-kbqjp078.js → job-84zcxbc9.js} +5 -5
- package/dist/chunks/{form-x828grpm.js → job-88xd4vzg.js} +30 -30
- package/dist/chunks/{form-xsxzmn3v.js → job-8d0p2m37.js} +6 -6
- package/dist/chunks/{form-8d7r5vzw.js → job-8d7r5vzw.js} +1 -1
- package/dist/chunks/{form-k86c2mv3.js → job-8hrbqkq9.js} +11 -11
- package/dist/chunks/{form-3eavv4sq.js → job-8wm8yswe.js} +6 -6
- package/dist/chunks/{form-ejzycjk2.js → job-8ydx4ng5.js} +45 -45
- package/dist/chunks/{form-94ek1h2f.js → job-94ek1h2f.js} +2 -2
- package/dist/chunks/{form-gjfj64nw.js → job-95f1p06x.js} +20 -20
- package/dist/chunks/{form-588424d7.js → job-98jem7f5.js} +30 -30
- package/dist/chunks/{form-q46vkzna.js → job-9eq5kwq7.js} +8 -8
- package/dist/chunks/{form-pd955mpa.js → job-a1v5q0gw.js} +13 -13
- package/dist/chunks/{form-ep6z9mt6.js → job-a68v6zx7.js} +8 -8
- package/dist/chunks/{form-jewzahs7.js → job-a89e0tac.js} +4 -4
- package/dist/chunks/{form-jc019x40.js → job-a8wsvhrn.js} +14 -14
- package/dist/chunks/{form-aaet6srn.js → job-aaet6srn.js} +2 -2
- package/dist/chunks/{form-6m7d9qer.js → job-aqbnk3w5.js} +10 -10
- package/dist/chunks/{form-s1veqp5v.js → job-avkar8cd.js} +5 -5
- package/dist/chunks/{form-hax32ey3.js → job-b4t7m2jz.js} +10 -10
- package/dist/chunks/{form-b6gygkdw.js → job-b6gygkdw.js} +2 -2
- package/dist/chunks/{form-ms2t0q15.js → job-bh3mwb6a.js} +14 -14
- package/dist/chunks/{form-te626b0r.js → job-bj655381.js} +6 -6
- package/dist/chunks/{form-f5gy8qwh.js → job-brsymgq7.js} +8 -8
- package/dist/chunks/{form-j3z4wjnn.js → job-bt4xnmzv.js} +20 -20
- package/dist/chunks/{form-hqp49fb7.js → job-c12k1v8e.js} +3 -3
- package/dist/chunks/{form-4e3gxew0.js → job-c480xm2k.js} +30 -30
- package/dist/chunks/{form-e1ge5bzw.js → job-chhc8b2c.js} +5 -5
- package/dist/chunks/{form-ckecvw8r.js → job-ckecvw8r.js} +2 -2
- package/dist/chunks/{form-1nbgbc1n.js → job-cvtc1xje.js} +15 -15
- package/dist/chunks/{form-br0tr5aq.js → job-czfptnv9.js} +8 -8
- package/dist/chunks/{form-j22znp5c.js → job-db5sanfd.js} +10 -10
- package/dist/chunks/{form-ppvdsf14.js → job-dbtzv3n3.js} +24 -24
- package/dist/chunks/{form-735zz4k9.js → job-dc7fh6fg.js} +9 -9
- package/dist/chunks/{form-vncycja5.js → job-dfe8djrf.js} +4 -4
- package/dist/chunks/{form-ywny6fh7.js → job-dmtxy77h.js} +4 -4
- package/dist/chunks/{form-607q5haz.js → job-dq0v80fr.js} +5 -5
- package/dist/chunks/{form-01t23f4b.js → job-dv5r59xd.js} +50 -50
- package/dist/chunks/{form-4x440zej.js → job-dvmh4ts6.js} +23 -23
- package/dist/chunks/{form-qx79v5w3.js → job-dwy550y4.js} +20 -20
- package/dist/chunks/{form-m04dk8y5.js → job-e7rvw2f8.js} +48 -48
- package/dist/chunks/{form-ecfe7b91.js → job-ecfe7b91.js} +2 -2
- package/dist/chunks/{form-ef5x83kb.js → job-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-etq0c3wd.js → job-etq0c3wd.js} +1 -1
- package/dist/chunks/{form-dbxp6268.js → job-ex7en11g.js} +14 -14
- package/dist/chunks/{form-aw3daxpn.js → job-f0np6nee.js} +16 -16
- package/dist/chunks/{form-3tf6s7ys.js → job-f9w72p70.js} +20 -20
- package/dist/chunks/{form-607tc6va.js → job-fcrkznn8.js} +5 -5
- package/dist/chunks/{form-a4gvvsd2.js → job-fnsgkk5v.js} +20 -20
- package/dist/chunks/{form-d1nhwr0v.js → job-fyta9203.js} +19 -19
- package/dist/chunks/{form-nc773sft.js → job-g2azqtd1.js} +1 -1
- package/dist/chunks/{form-b8r8eafh.js → job-g3hm4f7e.js} +25 -25
- package/dist/chunks/{form-a672mv5g.js → job-g46ydm0k.js} +24 -24
- package/dist/chunks/{form-3kaacc1j.js → job-gcvn1bpc.js} +27 -27
- package/dist/chunks/{form-gd4qta3r.js → job-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-md5m8r63.js → job-gd8pphrc.js} +1 -1
- package/dist/chunks/{form-xy96rd98.js → job-gjwavh5k.js} +29 -29
- package/dist/chunks/{form-gv6a8nnw.js → job-gv6a8nnw.js} +2 -2
- package/dist/chunks/{form-nww71kaf.js → job-gwpxvm0z.js} +15 -15
- package/dist/chunks/{form-jxcp7hjz.js → job-gxdg2v33.js} +5 -5
- package/dist/chunks/{form-pj65myvz.js → job-h0fn4gkn.js} +16 -16
- package/dist/chunks/job-h1p1szhb.js +252 -0
- package/dist/chunks/{form-np8fhtmp.js → job-h2e8h9aw.js} +5 -5
- package/dist/chunks/{form-h6vf3j39.js → job-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-56t2kez4.js → job-hgd8zhtt.js} +15 -15
- package/dist/chunks/{form-rz2133kf.js → job-hh7harx8.js} +41 -41
- package/dist/chunks/{form-3kbtp577.js → job-hjcn9g5q.js} +11 -11
- package/dist/chunks/{form-6v4da530.js → job-hk6cjtaz.js} +5 -5
- package/dist/chunks/job-ht5y0zrb.js +18 -0
- package/dist/chunks/{form-axp4ehpq.js → job-htjw9qza.js} +6 -6
- package/dist/chunks/{form-4yzhh2ma.js → job-htvf7dte.js} +23 -23
- package/dist/chunks/{form-j56e64zr.js → job-j56e64zr.js} +1 -1
- package/dist/chunks/{form-mqkg4htg.js → job-j8ex01wf.js} +11 -11
- package/dist/chunks/{form-2nm7czc6.js → job-jb8dnvam.js} +26 -26
- package/dist/chunks/{form-tq44v1fn.js → job-jj9905b1.js} +25 -25
- package/dist/chunks/{form-vtmhyb6r.js → job-jrz5953c.js} +29 -29
- package/dist/chunks/{form-nwmpqe59.js → job-jw8x7wz2.js} +13 -13
- package/dist/chunks/{form-5nr010d7.js → job-jwne8s3x.js} +29 -29
- package/dist/chunks/{form-qksar9gz.js → job-jxbrjg0q.js} +23 -23
- package/dist/chunks/{form-221hq43v.js → job-jxy1my5z.js} +16 -16
- package/dist/chunks/{form-y2nra5ch.js → job-jy3q8cv1.js} +9 -9
- package/dist/chunks/{form-p81kvp9s.js → job-jzxep27z.js} +7 -7
- package/dist/chunks/{form-hzxtr8vy.js → job-k7rmk0mz.js} +11 -11
- package/dist/chunks/{form-1x3py7wd.js → job-kgchvb5g.js} +4 -4
- package/dist/chunks/{form-gyvmabzh.js → job-kmyvrf53.js} +8 -8
- package/dist/chunks/{form-y56ehv6b.js → job-kp8q1t60.js} +9 -9
- package/dist/chunks/{form-zjm534cg.js → job-kv0b7v98.js} +44 -44
- package/dist/chunks/{form-kxpygcw9.js → job-kxpygcw9.js} +1 -1
- package/dist/chunks/{form-q4wawhcq.js → job-kxymwdrp.js} +5 -5
- package/dist/chunks/{form-m3fdjcah.js → job-m3fdjcah.js} +1 -1
- package/dist/chunks/{form-m77z4j91.js → job-m5n772d3.js} +46 -46
- package/dist/chunks/{form-9dchs00j.js → job-m604p9h9.js} +3 -3
- package/dist/chunks/{form-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-th8982s6.js → job-mc3hkess.js} +17 -17
- package/dist/chunks/{form-2e9ax0t8.js → job-me0qtf3p.js} +10 -10
- package/dist/chunks/{form-56gdpj1q.js → job-mfqp6xfm.js} +6 -6
- package/dist/chunks/{form-2czmnem8.js → job-mg480h77.js} +48 -48
- package/dist/chunks/{form-xwra8hym.js → job-mjtzhttr.js} +174 -174
- package/dist/chunks/{form-76gtnb8q.js → job-mvg86y0x.js} +25 -25
- package/dist/chunks/{form-7bp3xrzr.js → job-mvksx64m.js} +4 -4
- package/dist/chunks/{form-aawwprjn.js → job-mw3vj00v.js} +17 -17
- package/dist/chunks/{form-z1thhf2m.js → job-my8d63dw.js} +6 -6
- package/dist/chunks/{form-y4x532kp.js → job-n156yfz5.js} +24 -24
- package/dist/chunks/{form-4w5arkxr.js → job-n3cs609t.js} +10 -10
- package/dist/chunks/{form-wn8w70ps.js → job-n9vxckn6.js} +9 -9
- package/dist/chunks/{form-sc9sthng.js → job-nn5t8h7a.js} +12 -12
- package/dist/chunks/{form-qg0jgkcp.js → job-nq7qbqzc.js} +9 -9
- package/dist/chunks/{form-z7ak3ykt.js → job-nqgqh1d8.js} +26 -26
- package/dist/chunks/{form-magykp64.js → job-nrdmrqsx.js} +4 -4
- package/dist/chunks/{form-zk8c4w5t.js → job-nrk5vjbf.js} +5 -5
- package/dist/chunks/{form-nzks3jc8.js → job-nzks3jc8.js} +3 -3
- package/dist/chunks/{form-a1a50ys5.js → job-p44d8wdy.js} +5 -5
- package/dist/chunks/{form-9rv7m9ct.js → job-p44n200t.js} +22 -22
- package/dist/chunks/{form-nkrban15.js → job-pan3z8cp.js} +3 -3
- package/dist/chunks/{form-hnr8f6ws.js → job-pc4b88sv.js} +4 -4
- package/dist/chunks/{form-ra4n65wq.js → job-pgp1nwjn.js} +4 -4
- package/dist/chunks/{form-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{form-3ktbe3hf.js → job-q1zmm1c6.js} +6 -6
- package/dist/chunks/{form-3sbxp6tx.js → job-q535224r.js} +16 -16
- package/dist/chunks/{form-ax5enk7z.js → job-qs8jhs2n.js} +14 -14
- package/dist/chunks/{form-qsdy395h.js → job-qsdy395h.js} +1 -1
- package/dist/chunks/{form-8wd6m01p.js → job-qv8cnvvv.js} +18 -18
- package/dist/chunks/{form-tx9w5tca.js → job-qwjmgwmn.js} +8 -8
- package/dist/chunks/{form-whsef500.js → job-qzy0htd5.js} +2 -2
- package/dist/chunks/{form-xcg1dsv0.js → job-r148w95a.js} +7 -7
- package/dist/chunks/{form-nfq98v04.js → job-r3bqvamy.js} +27 -27
- package/dist/chunks/{form-355m1cvc.js → job-r4mm9wfe.js} +15 -15
- package/dist/chunks/{form-yp2x3t23.js → job-r8xr0va3.js} +4 -4
- package/dist/chunks/{form-rdw6cm16.js → job-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-qmqgtz8f.js → job-rey5gbxv.js} +9 -9
- package/dist/chunks/{form-d973bnhm.js → job-rgyp5fs8.js} +21 -21
- package/dist/chunks/{form-eaj1djv9.js → job-rhjbct0v.js} +8 -8
- package/dist/chunks/{form-yrmcn5j6.js → job-s3prev92.js} +27 -27
- package/dist/chunks/{form-7yjz701f.js → job-sfsm5mp8.js} +13 -13
- package/dist/chunks/{form-w3p83eb3.js → job-shpdfzmb.js} +6 -6
- package/dist/chunks/{form-kzrykkrg.js → job-snq6cjh1.js} +33 -33
- package/dist/chunks/{form-nv60c3se.js → job-sq6azjgz.js} +322 -322
- package/dist/chunks/{form-k9d40v1y.js → job-ssdqnhy0.js} +4 -4
- package/dist/chunks/{form-gb91ftzw.js → job-sszsbszq.js} +17 -17
- package/dist/chunks/{form-mn66ztkm.js → job-t21rg5tv.js} +11 -11
- package/dist/chunks/{form-ep289ss5.js → job-t41xfd23.js} +35 -35
- package/dist/chunks/{form-51h9320s.js → job-t9nbwmk6.js} +11 -11
- package/dist/chunks/{form-tazgh4e4.js → job-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-89znhe33.js → job-tcezcvh9.js} +4 -4
- package/dist/chunks/{form-nf4ctf0a.js → job-tdrvmst7.js} +31 -31
- package/dist/chunks/{form-tdstcens.js → job-tdstcens.js} +1 -1
- package/dist/chunks/{form-v2pac2r5.js → job-tg6988vm.js} +37 -37
- package/dist/chunks/{form-tjh223rc.js → job-tjdqkw86.js} +11 -11
- package/dist/chunks/{form-ryr25ayn.js → job-tkmwgdpd.js} +7 -7
- package/dist/chunks/{form-tvtrv512.js → job-tvtrv512.js} +1 -1
- package/dist/chunks/{form-p6pqqm51.js → job-tz7n5q2n.js} +17 -17
- package/dist/chunks/{form-sqy4ahhk.js → job-v3sgzvyr.js} +1 -1
- package/dist/chunks/{form-asn1qnte.js → job-v6gb7zv2.js} +6 -6
- package/dist/chunks/{form-g4qa31mr.js → job-v7ztqyra.js} +10 -10
- package/dist/chunks/{form-veqvce7d.js → job-veqvce7d.js} +1 -1
- package/dist/chunks/{form-4qnavm6k.js → job-vm6ftwaz.js} +25 -25
- package/dist/chunks/{form-jca4demv.js → job-vmgq4x8b.js} +2 -2
- package/dist/chunks/{form-rzh66cxz.js → job-vmk01m7y.js} +33 -33
- package/dist/chunks/{form-4zxd817m.js → job-vrmkz4m4.js} +42 -42
- package/dist/chunks/{form-hm1j9vky.js → job-vw85y51h.js} +9 -9
- package/dist/chunks/{form-k2d86hj7.js → job-vxrbzjcb.js} +17 -17
- package/dist/chunks/{form-vzcthcp8.js → job-vzcthcp8.js} +1 -1
- package/dist/chunks/{form-vzs5sf6e.js → job-vzs5sf6e.js} +1 -1
- package/dist/chunks/{form-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-athnqdtn.js → job-w4cz4w8n.js} +2 -2
- package/dist/chunks/job-w4n84c3x.js +26 -0
- package/dist/chunks/{form-wd3x2cqz.js → job-wd3x2cqz.js} +2 -2
- package/dist/chunks/{form-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{form-yxy54gdd.js → job-wdsk4apj.js} +20 -20
- package/dist/chunks/{form-5cwanv0v.js → job-wfadzjts.js} +11 -11
- package/dist/chunks/{form-9xbr60h2.js → job-wqev6sb9.js} +9 -9
- package/dist/chunks/{form-4mymzvyc.js → job-wtwhrn5z.js} +4 -4
- package/dist/chunks/{form-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
- package/dist/chunks/{form-psj6ade8.js → job-x9t27xs5.js} +29 -29
- package/dist/chunks/{form-cpny6163.js → job-xcv1e8fb.js} +14 -14
- package/dist/chunks/{form-kthhpwze.js → job-xegpwyaf.js} +26 -26
- package/dist/chunks/{form-7kh9t2x9.js → job-xgdhjfbb.js} +13 -13
- package/dist/chunks/{form-xkntkrq7.js → job-xkntkrq7.js} +2 -2
- package/dist/chunks/{form-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-t4eddnay.js → job-y31rbjnw.js} +25 -25
- package/dist/chunks/{form-dpkg50ah.js → job-y71avatq.js} +4 -4
- package/dist/chunks/{form-1a88t1cf.js → job-yg8z43z0.js} +8 -8
- package/dist/chunks/{form-eq23s0y6.js → job-yjptyezs.js} +5 -5
- package/dist/chunks/{form-qsxf26yz.js → job-yq2cczkq.js} +9 -9
- package/dist/chunks/{form-yrhqyw5v.js → job-yrhqyw5v.js} +1 -1
- package/dist/chunks/{form-yrznvahk.js → job-yrznvahk.js} +2 -2
- package/dist/chunks/{form-z07pqspn.js → job-z07pqspn.js} +3 -3
- package/dist/chunks/{form-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-h2n552qs.js → job-z2txmjmh.js} +4 -4
- package/dist/chunks/{form-z63w68vq.js → job-z63w68vq.js} +2 -2
- package/dist/chunks/{form-sj9mxrb8.js → job-zdm716ts.js} +30 -30
- package/dist/chunks/{form-tz4n1mmd.js → job-zee1rnkq.js} +4 -4
- package/dist/chunks/{form-zeh9ct20.js → job-zeh9ct20.js} +2 -2
- package/dist/chunks/{form-bn0s77k4.js → job-zfa7ynd8.js} +10 -10
- package/dist/chunks/{form-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-1xjsffm6.js → job-zw0e5nj2.js} +16 -16
- package/dist/chunks/{form-ht5pt6gr.js → job-zwjnk1y1.js} +16 -16
- package/dist/chunks/{form-zxq2ej10.js → job-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- 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 +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- 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 +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- 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/id/id.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 +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- 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 +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- 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 +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- 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 +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +116 -116
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/form-879vjq03.js +0 -252
- package/dist/chunks/form-dd1amwh8.js +0 -26
- package/dist/chunks/form-hxa7m5za.js +0 -4
- package/dist/chunks/form-pf31ssb9.js +0 -18
- /package/dist/chunks/{form-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → job-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → job-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-34c7v6d4.js → job-34c7v6d4.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3w5fmr99.js → job-3w5fmr99.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-5qd3pb7m.js → job-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → job-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-922hggd3.js → job-922hggd3.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → job-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → job-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → job-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → job-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hjbc5kem.js → job-hjbc5kem.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → job-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → job-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → job-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8cydn3q.js → job-y8cydn3q.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → job-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → job-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → job-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service82,
|
|
9
9
|
node86
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-dq0v80fr.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80,
|
|
13
13
|
node84
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-qzy0htd5.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./job-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./job-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: () => ID6,
|
|
27
|
+
Service: () => Service44,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node48,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,18 +34,18 @@ import path from "path";
|
|
|
34
34
|
import { 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 ID6 } 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 Service44 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service30, 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)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID6.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service44.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node48 = makeLocationNode({
|
|
144
|
+
service: Service44,
|
|
145
145
|
layer,
|
|
146
146
|
deps: [FSUtil.node, node86, Global.node, node84]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer2 = Layer.succeed(
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service44, Service44.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service30, Service30.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error3({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID6, Error3, Service44, node48, noopLayer2, exports_snapshot2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service52,
|
|
3
|
+
node56
|
|
4
|
+
} from "./job-fnsgkk5v.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-qzy0htd5.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service51,
|
|
11
|
+
node55
|
|
12
|
+
} from "./job-727asdka.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service3,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer4,
|
|
28
|
+
node: () => node4
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,11 +33,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service3 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer4 = Layer.effect(Service3, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service51;
|
|
40
|
+
const watcher = yield* Service52;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
42
|
const location = yield* Service80;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service3.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node4 = makeLocationNode({
|
|
74
|
+
service: Service3,
|
|
75
|
+
layer: layer4,
|
|
76
|
+
deps: [node55, FSUtil.node, node56, node84]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service3,
|
|
80
|
+
layer: Layer.succeed(Service3, Service3.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service3, layer4, node4, empty2, exports_source };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-0pvat8hm.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
Service80,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-qzy0htd5.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID12,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service73,
|
|
20
|
+
node77,
|
|
21
|
+
Event17
|
|
22
|
+
} from "./job-jwne8s3x.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./job-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,25 +30,25 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event16,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID11,
|
|
36
|
+
Info: () => Info25,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service72,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
43
|
+
node: () => node76,
|
|
44
44
|
parse: () => parse5
|
|
45
45
|
});
|
|
46
46
|
import { Model } from "@opencode/schema/model";
|
|
47
47
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
48
48
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
49
49
|
import { freeze } from "immer";
|
|
50
|
-
import { Event as
|
|
51
|
-
var
|
|
50
|
+
import { Event as Event16 } from "@opencode/schema/model";
|
|
51
|
+
var ID11 = Model.ID;
|
|
52
52
|
var VariantID2 = Model.VariantID;
|
|
53
53
|
var Family2 = Model.Family;
|
|
54
54
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -56,12 +56,12 @@ var Compatibility2 = Model.Compatibility;
|
|
|
56
56
|
var Capabilities2 = Model.Capabilities;
|
|
57
57
|
var Cost2 = Model.Cost;
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
|
-
var
|
|
59
|
+
var Info25 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service72 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
64
|
-
const providers = yield*
|
|
63
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
64
|
+
const providers = yield* Service73;
|
|
65
65
|
const bus = yield* Service83;
|
|
66
66
|
const location = yield* Service80;
|
|
67
67
|
let input;
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
108
108
|
const models = writable(providerID);
|
|
109
109
|
if (!models)
|
|
110
110
|
return;
|
|
111
|
-
const model = draft(providerID, modelID) ??
|
|
111
|
+
const model = draft(providerID, modelID) ?? Info25.default(providerID, modelID);
|
|
112
112
|
update(model);
|
|
113
113
|
model.id = modelID;
|
|
114
114
|
model.providerID = providerID;
|
|
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
197
197
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
|
-
yield* bus.subscribe(
|
|
201
|
-
return
|
|
200
|
+
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
+
return Service72.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
204
204
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node76 = makeLocationNode({ service: Service72, layer, deps: [node77, node87, node84] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -228,9 +228,9 @@ function compatibility2(input) {
|
|
|
228
228
|
function parse5(input) {
|
|
229
229
|
const index = input.indexOf("/");
|
|
230
230
|
return {
|
|
231
|
-
providerID:
|
|
232
|
-
modelID:
|
|
231
|
+
providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
|
|
232
|
+
modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export {
|
|
236
|
+
export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info25, Service72, node76, compatibility2, parse5, exports_model2, Event16 };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service73
|
|
3
|
-
} from "./form-9s9y5h84.js";
|
|
4
1
|
import {
|
|
5
2
|
Service75
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./job-0nwdympg.js";
|
|
4
|
+
import {
|
|
5
|
+
Service67
|
|
6
|
+
} from "./job-212zgvfw.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service14
|
|
14
|
+
} from "./job-vm6ftwaz.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./job-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch2 = {};
|
|
21
|
+
__export(exports_websearch2, {
|
|
22
|
+
Input: () => Input8,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin44,
|
|
25
|
+
WebSearchTool: () => exports_websearch2,
|
|
26
|
+
description: () => description4,
|
|
27
|
+
name: () => name8
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name8 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input8 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID3,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin44 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service67;
|
|
53
|
+
const forms = yield* Service75;
|
|
54
|
+
const websearch = yield* Service14;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name8,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description4,
|
|
59
|
+
input: Input8,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name8,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name8];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name8, NO_RESULTS2, description4, Input8, Plugin44, exports_websearch2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-34ah5aas.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80,
|
|
9
9
|
node84
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-qzy0htd5.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service67,
|
|
13
|
+
node71
|
|
14
|
+
} from "./job-212zgvfw.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./job-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service22,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node25,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service22 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
60
|
const location = yield* Service80;
|
|
61
|
-
const permission = yield*
|
|
61
|
+
const permission = yield* Service67;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service22.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node25 = makeLocationNode({ service: Service22, layer, deps: [FSUtil.node, node84, node71] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service22, resolvePath2, node25, exports_file_access };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID13,
|
|
3
|
+
Service74
|
|
4
|
+
} from "./job-64nhe9mm.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service74;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID13.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|