@opencode/core 0.0.0-dev-19297 → 0.0.0-dev-19299
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 +77 -77
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{instance-a2jy5wt1.js → shell-00xsej0j.js} +11 -11
- package/dist/chunks/{instance-k5mm8gs0.js → shell-05w1n024.js} +13 -13
- package/dist/chunks/{instance-0hpxrkyb.js → shell-0hpxrkyb.js} +2 -2
- package/dist/chunks/{instance-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
- package/dist/chunks/{instance-dreymjps.js → shell-0pkbjn6r.js} +25 -25
- package/dist/chunks/{instance-0q0f95c6.js → shell-0q0f95c6.js} +1 -1
- package/dist/chunks/{instance-h558gzas.js → shell-0rjzv2qt.js} +22 -22
- package/dist/chunks/{instance-sx1n432n.js → shell-0v53mg2y.js} +4 -4
- package/dist/chunks/{instance-m94k6fn1.js → shell-0v877kr8.js} +8 -8
- package/dist/chunks/{instance-3mvvax0j.js → shell-10d00zpt.js} +24 -24
- package/dist/chunks/{instance-d9sn21bc.js → shell-138zhwcg.js} +2 -2
- package/dist/chunks/{instance-2evyaa68.js → shell-18e56dsp.js} +4 -4
- package/dist/chunks/{instance-ms3w2pjb.js → shell-18fyhaqr.js} +32 -32
- package/dist/chunks/{instance-qnrj3j72.js → shell-1awm1f41.js} +14 -14
- package/dist/chunks/{instance-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
- package/dist/chunks/{instance-z31m6bz4.js → shell-20qr1f9s.js} +20 -20
- package/dist/chunks/{instance-21r38tys.js → shell-21r38tys.js} +1 -1
- package/dist/chunks/{instance-6h73sxmp.js → shell-2402vzrj.js} +5 -5
- package/dist/chunks/{instance-qbc8hfnq.js → shell-25m32m9c.js} +28 -28
- package/dist/chunks/{instance-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
- package/dist/chunks/{instance-jvzt705t.js → shell-2a9rpc71.js} +85 -85
- package/dist/chunks/{instance-bgj5tqem.js → shell-2ehqxkpw.js} +18 -18
- package/dist/chunks/{instance-ket659ap.js → shell-2hhhp258.js} +16 -16
- package/dist/chunks/{instance-607tc6va.js → shell-2k8khapm.js} +5 -5
- package/dist/chunks/{instance-3xb7t3ea.js → shell-2qab6ga2.js} +11 -11
- package/dist/chunks/{instance-m02sgzmt.js → shell-2qfg8d7s.js} +17 -17
- package/dist/chunks/{instance-2h50kq9x.js → shell-2tjgwr1s.js} +33 -33
- package/dist/chunks/{instance-9b4ng3vd.js → shell-2vc21b52.js} +6 -6
- package/dist/chunks/{instance-pqemdkaf.js → shell-3a20re4p.js} +17 -17
- package/dist/chunks/{instance-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
- package/dist/chunks/{instance-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{instance-m0rktphg.js → shell-3m73xpkh.js} +36 -36
- package/dist/chunks/{instance-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
- package/dist/chunks/{instance-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
- package/dist/chunks/{instance-ygezbb2m.js → shell-41kyjx1y.js} +8 -8
- package/dist/chunks/{instance-z22pjn7v.js → shell-43k15f45.js} +4 -4
- package/dist/chunks/{instance-qrah3a09.js → shell-4b7zwk5x.js} +16 -16
- package/dist/chunks/{instance-tpsh7nep.js → shell-54jgwn9b.js} +12 -12
- package/dist/chunks/{instance-1ygqh575.js → shell-56gdpj1q.js} +9 -9
- package/dist/chunks/{instance-tqhvqgv9.js → shell-56v372ka.js} +22 -22
- package/dist/chunks/{instance-xanrfe6t.js → shell-5ayyaxsv.js} +35 -35
- package/dist/chunks/{instance-5daktx2q.js → shell-5daktx2q.js} +1 -1
- package/dist/chunks/{instance-nz6xy3pw.js → shell-5f9fjpvd.js} +23 -23
- package/dist/chunks/{instance-hx6242bd.js → shell-5nkpcfwc.js} +15 -15
- package/dist/chunks/{instance-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
- package/dist/chunks/{instance-nqv7mfvf.js → shell-618mw38d.js} +9 -9
- package/dist/chunks/{instance-ajcnkc0y.js → shell-63w78ebd.js} +49 -49
- package/dist/chunks/{instance-669tq793.js → shell-669tq793.js} +1 -1
- package/dist/chunks/{instance-19wnhc9k.js → shell-6d22mmhm.js} +20 -20
- package/dist/chunks/{instance-1s3p39g4.js → shell-6ersrjne.js} +4 -4
- package/dist/chunks/{instance-75jwe5md.js → shell-6fpr2q13.js} +10 -10
- package/dist/chunks/{instance-6jnybvqn.js → shell-6hh53734.js} +9 -9
- package/dist/chunks/{instance-5fve6znn.js → shell-6k2bypnf.js} +21 -21
- package/dist/chunks/{instance-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
- package/dist/chunks/{instance-p4hmnksp.js → shell-706y5kzp.js} +25 -25
- package/dist/chunks/{instance-0nde5ztd.js → shell-70y17xeh.js} +5 -5
- package/dist/chunks/{instance-71q4at8m.js → shell-71q4at8m.js} +1 -1
- package/dist/chunks/{instance-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{instance-a1a50ys5.js → shell-7gvwkz6m.js} +5 -5
- package/dist/chunks/{instance-q0rt5j2q.js → shell-7jw46hp1.js} +31 -31
- package/dist/chunks/{instance-jft9hn7j.js → shell-7tc1bkdm.js} +28 -28
- package/dist/chunks/{instance-1ppyepr8.js → shell-7y1qfq25.js} +1 -1
- package/dist/chunks/{instance-rpechfdf.js → shell-7yef7cvy.js} +14 -14
- package/dist/chunks/{instance-hm92n5p0.js → shell-7z6sde0c.js} +29 -29
- package/dist/chunks/{instance-k4hsf3h8.js → shell-83nz3y93.js} +10 -10
- package/dist/chunks/{instance-tfe3dyhg.js → shell-89216gat.js} +11 -11
- package/dist/chunks/{instance-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instance-t36j701w.js → shell-8ed5dapv.js} +9 -9
- package/dist/chunks/{instance-dj2t23y0.js → shell-8p4f9s12.js} +2 -2
- package/dist/chunks/{instance-2qzxxsah.js → shell-8pmkjsch.js} +13 -13
- package/dist/chunks/{instance-t9e6e84n.js → shell-96yt6zt0.js} +1 -1
- package/dist/chunks/{instance-v5fwnavd.js → shell-97wsckqb.js} +30 -30
- package/dist/chunks/{instance-5xh15ypd.js → shell-994aemam.js} +24 -24
- package/dist/chunks/shell-9cbfsecp.js +247 -0
- package/dist/chunks/{instance-regnx5sz.js → shell-9f3htfzg.js} +11 -11
- package/dist/chunks/{instance-rt8c47yx.js → shell-9rh7p80v.js} +25 -25
- package/dist/chunks/{instance-a4gb111k.js → shell-9se2kd1x.js} +25 -25
- package/dist/chunks/{instance-sz8zp43t.js → shell-9y2ew1rf.js} +32 -32
- package/dist/chunks/{instance-2byb8yr3.js → shell-a08t2777.js} +17 -17
- package/dist/chunks/{instance-5c4hm403.js → shell-a1bz86dw.js} +3 -3
- package/dist/chunks/{instance-sa5pv7yh.js → shell-a76t9a7s.js} +13 -13
- package/dist/chunks/{instance-aaet6srn.js → shell-aaet6srn.js} +2 -2
- package/dist/chunks/{instance-qd5n9004.js → shell-amyzqp92.js} +4 -4
- package/dist/chunks/{instance-3jyh38wp.js → shell-aptkcqzk.js} +48 -48
- package/dist/chunks/{instance-3y8se8h9.js → shell-aqxxzgb1.js} +9 -9
- package/dist/chunks/{instance-eazjk0wr.js → shell-b0qfk3e8.js} +18 -18
- package/dist/chunks/{instance-fv32247r.js → shell-b22s170t.js} +21 -21
- package/dist/chunks/{instance-bn9nv5jw.js → shell-b4jn3br6.js} +15 -15
- package/dist/chunks/{instance-2drqq9fc.js → shell-b57s6jwk.js} +26 -26
- package/dist/chunks/{instance-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
- package/dist/chunks/{instance-k11evj39.js → shell-b6rw8h1c.js} +10 -10
- package/dist/chunks/{instance-dxkzy7ga.js → shell-b97hqjkq.js} +8 -8
- package/dist/chunks/{instance-3cwb9jzf.js → shell-bc9tah8j.js} +8 -8
- package/dist/chunks/{instance-ffz0ekd9.js → shell-bcn7gkrj.js} +6 -6
- package/dist/chunks/{instance-4hrc3tyr.js → shell-bhct745e.js} +15 -15
- package/dist/chunks/{instance-w97m1n76.js → shell-bx7eg4z0.js} +44 -44
- package/dist/chunks/{instance-mhxmkf1w.js → shell-c4tw6aft.js} +30 -30
- package/dist/chunks/{instance-haphqn3v.js → shell-c8zh40b9.js} +46 -46
- package/dist/chunks/{instance-acf5grrn.js → shell-c902c3h9.js} +29 -29
- package/dist/chunks/{instance-m0jqrx5p.js → shell-cfpkc3c9.js} +2 -2
- package/dist/chunks/{instance-5xtgfte3.js → shell-cmwkp3r5.js} +8 -8
- package/dist/chunks/{instance-b3jc0806.js → shell-cpk6j284.js} +7 -7
- package/dist/chunks/{instance-2tfmgkzg.js → shell-cq37gk0t.js} +4 -4
- package/dist/chunks/{instance-zhn4z0e0.js → shell-cxmnv656.js} +4 -4
- package/dist/chunks/{instance-ha9q7byt.js → shell-d21bwxkq.js} +31 -31
- package/dist/chunks/{instance-xxhgza55.js → shell-desah413.js} +28 -28
- package/dist/chunks/{instance-78v47nsk.js → shell-dj9sq318.js} +5 -5
- package/dist/chunks/{instance-a1ny26p1.js → shell-dkkztdya.js} +20 -20
- package/dist/chunks/{instance-m953gznc.js → shell-dmvjrdjg.js} +13 -13
- package/dist/chunks/{instance-dpkg50ah.js → shell-dpkg50ah.js} +1 -1
- package/dist/chunks/{instance-g8atgw3j.js → shell-dsst23xf.js} +8 -8
- package/dist/chunks/{instance-06x8he3q.js → shell-e2hjzebn.js} +4 -4
- package/dist/chunks/{instance-g37n6v01.js → shell-e42zg7c9.js} +20 -20
- package/dist/chunks/{instance-ewc21egd.js → shell-e7szzkhd.js} +7 -7
- package/dist/chunks/{instance-q4vdg68a.js → shell-e9pvhpj1.js} +38 -38
- package/dist/chunks/{instance-hq8nvw5t.js → shell-ejnnja69.js} +3 -3
- package/dist/chunks/{instance-1cmm49yn.js → shell-ek4n1jkk.js} +9 -9
- package/dist/chunks/{instance-c77dj74a.js → shell-emmyw7mw.js} +66 -66
- package/dist/chunks/{instance-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
- package/dist/chunks/{instance-x0e6qwje.js → shell-ewxvpahx.js} +7 -7
- package/dist/chunks/{instance-fw2j09t7.js → shell-f0hazdnn.js} +78 -78
- package/dist/chunks/{instance-hdnk95c8.js → shell-f828m53h.js} +2 -2
- package/dist/chunks/{instance-s7xtjryh.js → shell-f8q7mv7a.js} +1 -1
- package/dist/chunks/{instance-c12pp0g5.js → shell-fad7jthp.js} +11 -11
- package/dist/chunks/{instance-9jdkkkxy.js → shell-fccy21eq.js} +28 -28
- package/dist/chunks/{instance-zxgnc9zk.js → shell-fgh0kbhd.js} +1 -1
- package/dist/chunks/{instance-bm9xv2dk.js → shell-fkwrhsf7.js} +17 -17
- package/dist/chunks/{instance-81rrwt6s.js → shell-fpq9acqp.js} +6 -6
- package/dist/chunks/{instance-vx66cmhf.js → shell-fr8908f4.js} +16 -16
- package/dist/chunks/{instance-fxh7ah4m.js → shell-ftdj6rwn.js} +20 -20
- package/dist/chunks/{instance-6arz13z6.js → shell-fv6yey1z.js} +10 -10
- package/dist/chunks/{instance-k79tzb9n.js → shell-fwwk8vbp.js} +9 -9
- package/dist/chunks/{instance-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
- package/dist/chunks/{instance-fa0cr6zp.js → shell-fygdb7h7.js} +3 -3
- package/dist/chunks/{instance-9v1jw1ne.js → shell-g3nea3nn.js} +32 -32
- package/dist/chunks/{instance-79f5wznj.js → shell-gccfn8rw.js} +31 -31
- package/dist/chunks/{instance-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
- package/dist/chunks/{instance-gj9xpvv3.js → shell-gj9xpvv3.js} +2 -2
- package/dist/chunks/{instance-502pc4xn.js → shell-gq0a9pv7.js} +15 -15
- package/dist/chunks/{instance-4zhk1eez.js → shell-gv1gd9by.js} +24 -24
- package/dist/chunks/{instance-gv6a8nnw.js → shell-gv6a8nnw.js} +2 -2
- package/dist/chunks/{instance-h03wrkyp.js → shell-h03wrkyp.js} +2 -2
- package/dist/chunks/{instance-nbzsj80d.js → shell-h2r7bbkd.js} +8 -8
- package/dist/chunks/{instance-fc24de9c.js → shell-h6kmz9yd.js} +168 -168
- package/dist/chunks/{instance-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
- package/dist/chunks/{instance-a9m3pnym.js → shell-h9gpzc29.js} +21 -21
- package/dist/chunks/{instance-bg72d9np.js → shell-h9y0se6r.js} +10 -10
- package/dist/chunks/{instance-hc3xjh4c.js → shell-hb21382w.js} +4 -4
- package/dist/chunks/{instance-5pkw1d5z.js → shell-hteb4sy5.js} +13 -13
- package/dist/chunks/{instance-gb01a068.js → shell-hvy5aax6.js} +11 -11
- package/dist/chunks/{instance-5zy6em5b.js → shell-hx84msds.js} +11 -11
- package/dist/chunks/{instance-7f9wmjs1.js → shell-hz8qtd9r.js} +29 -29
- package/dist/chunks/{instance-73tb2d7t.js → shell-j028xdjb.js} +3 -3
- package/dist/chunks/{instance-j56e64zr.js → shell-j56e64zr.js} +1 -1
- package/dist/chunks/{instance-t0j15s1g.js → shell-jap5vfbs.js} +10 -10
- package/dist/chunks/{instance-x4wfhds3.js → shell-jh9n7czd.js} +13 -13
- package/dist/chunks/{instance-qjm52h53.js → shell-jm9tsfw3.js} +5 -5
- package/dist/chunks/{instance-ackzb6j1.js → shell-jr1myxr3.js} +22 -22
- package/dist/chunks/{instance-jj63jgrn.js → shell-js0rm7nb.js} +8 -8
- package/dist/chunks/{instance-yjptyezs.js → shell-jv01nqvq.js} +5 -5
- package/dist/chunks/{instance-wf2tgg0c.js → shell-jw31rss3.js} +32 -32
- package/dist/chunks/{instance-50mzsvk4.js → shell-jw80jp6b.js} +4 -4
- package/dist/chunks/{instance-pck3w1ab.js → shell-jygyrd66.js} +4 -4
- package/dist/chunks/{instance-39r4aecv.js → shell-jzban73a.js} +22 -22
- package/dist/chunks/{instance-710w2ech.js → shell-k16ay38w.js} +1 -1
- package/dist/chunks/{instance-21r551s5.js → shell-k1qcad96.js} +43 -43
- package/dist/chunks/{instance-3x919xvf.js → shell-ke6544fm.js} +33 -33
- package/dist/chunks/{instance-kg06axw8.js → shell-kg06axw8.js} +1 -1
- package/dist/chunks/{instance-8qk9tw02.js → shell-ksz0h0wp.js} +1 -1
- package/dist/chunks/{instance-3tbwzafx.js → shell-ktqk9wm9.js} +15 -15
- package/dist/chunks/{instance-v7gjmewq.js → shell-ky97rf12.js} +7 -7
- package/dist/chunks/{instance-qc4gj2y6.js → shell-kzr6x06e.js} +6 -6
- package/dist/chunks/{instance-9qn3qky1.js → shell-m27pyyd3.js} +8 -8
- package/dist/chunks/{instance-np6kt6y4.js → shell-m3ncy77r.js} +3 -3
- package/dist/chunks/{instance-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instance-mkcjrzeh.js → shell-mkcjrzeh.js} +1 -1
- package/dist/chunks/{instance-xetf4kax.js → shell-mrd03y1j.js} +6 -6
- package/dist/chunks/{instance-nry41skx.js → shell-n2cfwsx3.js} +46 -46
- package/dist/chunks/{instance-a9ab9jmj.js → shell-n76fdqym.js} +5 -5
- package/dist/chunks/{instance-nhy5jxhy.js → shell-nhy5jxhy.js} +1 -1
- package/dist/chunks/{instance-9bjv8jc0.js → shell-p2cyn4p5.js} +298 -298
- package/dist/chunks/{instance-8nz0kf2a.js → shell-p422xgpw.js} +41 -41
- package/dist/chunks/{instance-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instance-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{instance-nz1f1dnx.js → shell-pmmw8deh.js} +58 -58
- package/dist/chunks/{instance-vt2qmknb.js → shell-pqqxfvch.js} +11 -11
- package/dist/chunks/{instance-2zk7q63q.js → shell-ptwhs400.js} +25 -25
- package/dist/chunks/{instance-j7wq2tw5.js → shell-q19p4fn9.js} +3 -3
- package/dist/chunks/{instance-apx2a7ca.js → shell-q59nfae1.js} +25 -25
- package/dist/chunks/{instance-t6vsspdg.js → shell-qa3qhgw8.js} +7 -7
- package/dist/chunks/{instance-3q5yw5wc.js → shell-qag0q529.js} +22 -22
- package/dist/chunks/{instance-n7aqgnhz.js → shell-qc6f3j7a.js} +5 -5
- package/dist/chunks/{instance-ka44map4.js → shell-qka0hr3t.js} +3 -3
- package/dist/chunks/{instance-g33ss047.js → shell-qrgq40sn.js} +7 -7
- package/dist/chunks/{instance-qsdy395h.js → shell-qsdy395h.js} +1 -1
- package/dist/chunks/{instance-3zjyvmkv.js → shell-qw53xxyx.js} +42 -42
- package/dist/chunks/{instance-70313qx6.js → shell-r0z2gdxb.js} +8 -8
- package/dist/chunks/{instance-4ha0j3vr.js → shell-r19qme2h.js} +8 -8
- package/dist/chunks/{instance-rfntstnm.js → shell-r4am0p4d.js} +24 -24
- package/dist/chunks/{instance-1qm24qff.js → shell-r80v4heq.js} +9 -9
- package/dist/chunks/{instance-f2n192rq.js → shell-r8xr0va3.js} +4 -4
- package/dist/chunks/{instance-ffx4mq6v.js → shell-r9babyk8.js} +1 -1
- package/dist/chunks/shell-rap9a73h.js +18 -0
- package/dist/chunks/{instance-cxsnvna4.js → shell-rg4s5c95.js} +17 -17
- package/dist/chunks/{instance-eaj1djv9.js → shell-rhjbct0v.js} +8 -8
- package/dist/chunks/{instance-73k9p0pd.js → shell-rpsff8a5.js} +6 -6
- package/dist/chunks/{instance-paegk39x.js → shell-rsdf2nvv.js} +4 -4
- package/dist/chunks/{instance-ze5v0a14.js → shell-rtathh62.js} +8 -8
- package/dist/chunks/{instance-3v460zrs.js → shell-s79t7y84.js} +6 -6
- package/dist/chunks/{instance-zqvhk09s.js → shell-sd7yc29c.js} +11 -11
- package/dist/chunks/{instance-7fpn5dqa.js → shell-sn3acatt.js} +13 -13
- package/dist/chunks/{instance-nzwzy72p.js → shell-srpeewqc.js} +9 -9
- package/dist/chunks/{instance-pav6qp9g.js → shell-swc0pkqs.js} +9 -9
- package/dist/chunks/{instance-ggv90arp.js → shell-t0gs96tb.js} +11 -11
- package/dist/chunks/{instance-t0x5rdq8.js → shell-t0x5rdq8.js} +2 -2
- package/dist/chunks/{instance-01jwtfx3.js → shell-t8jgb82e.js} +11 -11
- package/dist/chunks/{instance-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
- package/dist/chunks/{instance-339dmwxv.js → shell-tcaz1bq6.js} +18 -18
- package/dist/chunks/{instance-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
- package/dist/chunks/{instance-tdstcens.js → shell-tdstcens.js} +1 -1
- package/dist/chunks/{instance-888xqp9w.js → shell-tettmk12.js} +17 -17
- package/dist/chunks/{instance-q5b78q1j.js → shell-tfngb0ww.js} +4 -4
- package/dist/chunks/{instance-cdr5gg57.js → shell-tmf5q148.js} +7 -7
- package/dist/chunks/{instance-v58rse4y.js → shell-tvs8yzpc.js} +8 -8
- package/dist/chunks/{instance-tvtrv512.js → shell-tvtrv512.js} +1 -1
- package/dist/chunks/{instance-m5sw0a5d.js → shell-tx48azwr.js} +33 -33
- package/dist/chunks/{instance-ent7r1aa.js → shell-v03gdzqm.js} +20 -20
- package/dist/chunks/{instance-5faha6gd.js → shell-v4wpewe9.js} +20 -20
- package/dist/chunks/{instance-nt8a5yma.js → shell-va26gyj7.js} +36 -36
- package/dist/chunks/{instance-a9hk7e9v.js → shell-ve0vypz6.js} +20 -20
- package/dist/chunks/{instance-veqvce7d.js → shell-veqvce7d.js} +1 -1
- package/dist/chunks/{instance-fd220aqp.js → shell-vmhtgab3.js} +11 -11
- package/dist/chunks/{instance-sa8ndcy2.js → shell-vsqc0n3y.js} +12 -12
- package/dist/chunks/{instance-87rsn3wc.js → shell-vvqxd921.js} +6 -6
- package/dist/chunks/{instance-6zz0jjar.js → shell-vyqn3nqs.js} +4 -4
- package/dist/chunks/{instance-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
- package/dist/chunks/{instance-5mrtvbn9.js → shell-vzepkry7.js} +19 -19
- package/dist/chunks/{instance-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instance-qp4vfw5t.js → shell-w4t3nk4h.js} +34 -34
- package/dist/chunks/{instance-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{instance-p4jrza1n.js → shell-wqak0vb9.js} +26 -26
- package/dist/chunks/{instance-w79zsp0s.js → shell-wx9wy1qm.js} +1 -1
- package/dist/chunks/{instance-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instance-jdaqcb1t.js → shell-x270dfa1.js} +16 -16
- package/dist/chunks/{instance-x43y2vfs.js → shell-x43y2vfs.js} +2 -2
- package/dist/chunks/{instance-b912gh5h.js → shell-x6cmkhdm.js} +4 -4
- package/dist/chunks/{instance-88cv5s5z.js → shell-x6n2md0c.js} +4 -4
- package/dist/chunks/{instance-p8phdtyp.js → shell-x7cz8gr1.js} +30 -30
- package/dist/chunks/{instance-tfwap27p.js → shell-x940zq77.js} +10 -10
- package/dist/chunks/{instance-vssdy4ge.js → shell-xdh3xy78.js} +3 -3
- package/dist/chunks/{instance-9tgwmq03.js → shell-xdpfkwez.js} +41 -41
- package/dist/chunks/{instance-vbqgtwgy.js → shell-xmkt8jmy.js} +14 -14
- package/dist/chunks/{instance-f7yvr5pd.js → shell-xn4a1s6b.js} +2 -2
- package/dist/chunks/{instance-hs9pnjsv.js → shell-y03df9yv.js} +7 -7
- package/dist/chunks/{instance-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instance-466rerzc.js → shell-y46htk8f.js} +30 -30
- package/dist/chunks/{instance-81swgkk7.js → shell-y5mrfvw4.js} +9 -9
- package/dist/chunks/shell-ya8xe20p.js +22 -0
- package/dist/chunks/{instance-gnqt40jz.js → shell-ygvd8b8c.js} +3 -3
- package/dist/chunks/{instance-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instance-yrznvahk.js → shell-yrznvahk.js} +2 -2
- package/dist/chunks/{instance-2n7srhfk.js → shell-yxfce51e.js} +18 -18
- package/dist/chunks/{instance-m96a6c4x.js → shell-yy1a830f.js} +11 -11
- package/dist/chunks/{instance-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instance-vaq1jbx7.js → shell-z0kp0xfc.js} +16 -16
- package/dist/chunks/{instance-z63w68vq.js → shell-z63w68vq.js} +2 -2
- package/dist/chunks/{instance-p0cja4mf.js → shell-z69s9t6b.js} +5 -5
- package/dist/chunks/{instance-b8vn8jv0.js → shell-zakbxfw5.js} +14 -14
- package/dist/chunks/{instance-gptnw8m2.js → shell-zcp935tq.js} +13 -13
- package/dist/chunks/{instance-zeh9ct20.js → shell-zeh9ct20.js} +2 -2
- package/dist/chunks/{instance-a4r18kjz.js → shell-zhxw6mnd.js} +2 -2
- package/dist/chunks/{instance-0yzq9n39.js → shell-zj136r52.js} +22 -22
- package/dist/chunks/{instance-k3ekk4hs.js → shell-zjvxgrfz.js} +18 -18
- package/dist/chunks/{instance-msjt41yg.js → shell-zkhy8a1w.js} +13 -13
- package/dist/chunks/{instance-s9wa000y.js → shell-zr0pwyem.js} +20 -20
- package/dist/chunks/{instance-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instance-z24mx39z.js → shell-zw6cm767.js} +43 -43
- package/dist/chunks/{instance-w1cas0vc.js → shell-zxegzph2.js} +25 -25
- package/dist/chunks/{instance-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +94 -94
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +87 -87
- package/dist/git.js +7 -7
- 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 +7 -7
- 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 +352 -352
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +349 -349
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +97 -97
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +338 -338
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +86 -86
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +147 -147
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +88 -88
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +116 -116
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +85 -85
- package/package.json +8 -8
- package/dist/chunks/instance-1ebq5kva.js +0 -247
- package/dist/chunks/instance-nw45wjz5.js +0 -22
- package/dist/chunks/instance-vnkjks7b.js +0 -18
- /package/dist/chunks/{instance-0mesazry.js → shell-0mesazry.js} +0 -0
- /package/dist/chunks/{instance-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instance-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instance-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instance-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instance-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instance-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{instance-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instance-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instance-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{instance-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{instance-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instance-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instance-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instance-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instance-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instance-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instance-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{instance-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{instance-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{instance-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instance-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{instance-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{instance-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instance-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{instance-922hggd3.js → shell-922hggd3.js} +0 -0
- /package/dist/chunks/{instance-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instance-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instance-a1tpkmh4.js → shell-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{instance-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instance-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{instance-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{instance-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instance-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instance-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instance-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instance-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instance-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instance-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{instance-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instance-dajrwvna.js → shell-dajrwvna.js} +0 -0
- /package/dist/chunks/{instance-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{instance-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{instance-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{instance-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instance-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instance-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{instance-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instance-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instance-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instance-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instance-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{instance-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{instance-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instance-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instance-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{instance-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instance-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{instance-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instance-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{instance-hrnqkpcd.js → shell-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{instance-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instance-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instance-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instance-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instance-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instance-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{instance-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instance-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instance-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instance-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{instance-paphc93g.js → shell-paphc93g.js} +0 -0
- /package/dist/chunks/{instance-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instance-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{instance-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instance-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instance-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instance-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instance-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instance-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instance-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{instance-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instance-twg0f83k.js → shell-twg0f83k.js} +0 -0
- /package/dist/chunks/{instance-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{instance-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instance-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{instance-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instance-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{instance-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{instance-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instance-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instance-ym463w8f.js → shell-ym463w8f.js} +0 -0
- /package/dist/chunks/{instance-z9919s4g.js → shell-z9919s4g.js} +0 -0
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service51
|
|
7
|
+
} from "./shell-qw53xxyx.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service48
|
|
13
|
+
} from "./shell-jr1myxr3.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service61
|
|
16
|
+
} from "./shell-3a20re4p.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service65
|
|
19
|
+
} from "./shell-aptkcqzk.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service16,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./shell-2hhhp258.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./shell-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service50,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./shell-h9gpzc29.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
36
|
+
Service45
|
|
37
|
+
} from "./shell-63w78ebd.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service22
|
|
40
|
+
} from "./shell-2a9rpc71.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./shell-amyzqp92.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./shell-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input6,
|
|
53
|
+
Plugin: () => Plugin24,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name6
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name6 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. DO NOT run sleep commands or poll the output file to check for completion. You can read from the file when its current output would be useful, such as when inspecting logs from a background server. Otherwise, continue with other work or end your response.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input6 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin24 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service22;
|
|
122
|
+
const jobs = yield* Service61;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service48;
|
|
125
|
+
const access = yield* Service16;
|
|
126
|
+
const shell = yield* Service45;
|
|
127
|
+
const shellSelect = yield* Service50;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service65;
|
|
130
|
+
const config = yield* Service51;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin22 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name6,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin22 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name6,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input6,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin22 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name6,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name6];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -257,4 +257,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
257
257
|
})
|
|
258
258
|
};
|
|
259
259
|
|
|
260
|
-
export {
|
|
260
|
+
export { name6, DEFAULT_TIMEOUT_MS2, Input6, Plugin24, exports_shell2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./shell-z0kp0xfc.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event16,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID10,
|
|
20
|
+
Info: () => Info25,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError9,
|
|
24
|
+
Reply: () => Reply3,
|
|
25
|
+
Service: () => Service68,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer23,
|
|
29
|
+
node: () => node72,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event16 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID10 = Form.ID;
|
|
39
|
+
var Info25 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID10
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError6 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID10
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID10
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID10,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service68 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer23 = Layer.effect(Service68, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service79;
|
|
86
86
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
87
87
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
88
88
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
89
89
|
});
|
|
90
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
90
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError9({ id })))));
|
|
91
91
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
92
|
-
const id = input.id ??
|
|
92
|
+
const id = input.id ?? ID10.create();
|
|
93
93
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
94
94
|
if (Option.isSome(existing))
|
|
95
95
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -153,9 +153,9 @@ var layer21 = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
153
153
|
yield* Deferred.succeed(entry.deferred, next);
|
|
154
154
|
})));
|
|
155
155
|
yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
|
|
156
|
-
return
|
|
156
|
+
return Service68.of({ create, ask, get, list, state, reply, cancel });
|
|
157
157
|
}));
|
|
158
|
-
var
|
|
158
|
+
var node72 = makeLocationNode({ service: Service68, layer: layer23, deps: [node84] });
|
|
159
159
|
function validateAnswer2(form, answer) {
|
|
160
160
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
161
161
|
for (const key of Object.keys(answer)) {
|
|
@@ -307,4 +307,4 @@ function isDateTime(value) {
|
|
|
307
307
|
return !Number.isNaN(new Date(value).getTime());
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
export {
|
|
310
|
+
export { ID10, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError9, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service68, layer23, node72, validateAnswer2, validateFields2, exports_form, Event16 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service5,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node7
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service5 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node7 = makeLocationNode({
|
|
19
|
+
service: Service5,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service5, node7, bound2, exports_instance2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service74
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-b6rw8h1c.js";
|
|
4
4
|
import {
|
|
5
5
|
PATCH_CONTEXT_LINES2,
|
|
6
6
|
MAX_PATCH_BYTES2,
|
|
@@ -10,18 +10,18 @@ import {
|
|
|
10
10
|
deletePatch2,
|
|
11
11
|
countPatch2,
|
|
12
12
|
chunksByFile2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-tazgh4e4.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-b22s170t.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin32,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,7 +30,7 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin32 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
36
|
const location = yield* Service74;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin32, exports_hg };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-rhjbct0v.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-a1bz86dw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./shell-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./shell-jr1myxr3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service48;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service76,
|
|
9
|
+
node80
|
|
10
|
+
} from "./shell-x940zq77.js";
|
|
11
11
|
import {
|
|
12
12
|
Service74,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
node78
|
|
14
|
+
} from "./shell-b6rw8h1c.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./shell-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./shell-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: () => Error5,
|
|
26
|
+
ID: () => ID14,
|
|
27
|
+
Service: () => Service73,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node77,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
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 ID14 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error5 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 Service73 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service76;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const location = yield* Service74;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service33, 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 Error5({ 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(Service33, 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 Error5({ 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(Service33, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID14.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
122
122
|
for (const [file, snapshot] of input.files) {
|
|
123
123
|
const absolute = path.resolve(worktree, file);
|
|
124
124
|
if (!FSUtil.contains(worktree, absolute))
|
|
125
|
-
return yield* new
|
|
125
|
+
return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
126
126
|
files.set(file, TreeID2.make(snapshot));
|
|
127
127
|
}
|
|
128
128
|
return files;
|
|
129
129
|
});
|
|
130
130
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
131
131
|
if (!enabled())
|
|
132
|
-
return yield* new
|
|
132
|
+
return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
|
|
133
133
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
134
134
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service73.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
139
|
-
service:
|
|
138
|
+
var node77 = makeLocationNode({
|
|
139
|
+
service: Service73,
|
|
140
140
|
layer,
|
|
141
|
-
deps: [FSUtil.node,
|
|
141
|
+
deps: [FSUtil.node, node80, Global.node, node78]
|
|
142
142
|
});
|
|
143
|
-
var
|
|
143
|
+
var noopLayer3 = Layer.succeed(Service73, Service73.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -149,13 +149,13 @@ var noopLayer2 = Layer.succeed(Service33, Service33.of({
|
|
|
149
149
|
restore: () => Effect.void
|
|
150
150
|
}));
|
|
151
151
|
function failure(operation, cause) {
|
|
152
|
-
if (cause instanceof
|
|
152
|
+
if (cause instanceof Error5 && cause.operation === operation)
|
|
153
153
|
return cause;
|
|
154
|
-
return new
|
|
154
|
+
return new Error5({
|
|
155
155
|
operation,
|
|
156
156
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
157
157
|
cause
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export {
|
|
161
|
+
export { ID14, Error5, Service73, node77, noopLayer3, exports_snapshot2 };
|