@opencode/core 0.0.0-dev-20823 → 0.0.0-dev-20824
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{plugin-kqx1b4hy.js → snapshot-0b5g1ynf.js} +4 -4
- package/dist/chunks/{plugin-0j77ygfz.js → snapshot-0j77ygfz.js} +2 -2
- package/dist/chunks/{plugin-0paq2nw3.js → snapshot-0paq2nw3.js} +1 -1
- package/dist/chunks/{plugin-b2gqp5zp.js → snapshot-0qb3255k.js} +24 -24
- package/dist/chunks/{plugin-0mghaw6q.js → snapshot-0s6x0vhx.js} +14 -14
- package/dist/chunks/snapshot-0v2trax5.js +26 -0
- package/dist/chunks/{plugin-0vbcp93d.js → snapshot-0vbcp93d.js} +2 -2
- package/dist/chunks/{plugin-dzxee4qf.js → snapshot-111rf178.js} +160 -160
- package/dist/chunks/{plugin-j8xqtsvv.js → snapshot-129ewq9p.js} +11 -11
- package/dist/chunks/{plugin-6q2kj0te.js → snapshot-1kv6jnwh.js} +3 -3
- package/dist/chunks/{plugin-by2aypax.js → snapshot-1p2qp805.js} +37 -37
- package/dist/chunks/{plugin-vx3jgdek.js → snapshot-1w9a9pv3.js} +3 -3
- package/dist/chunks/{plugin-207ajt2h.js → snapshot-207ajt2h.js} +5 -5
- package/dist/chunks/{plugin-159r1yn6.js → snapshot-20frjwk8.js} +2 -2
- package/dist/chunks/{plugin-k62wg7bw.js → snapshot-28wma5yh.js} +9 -9
- package/dist/chunks/{plugin-2ccvkpx1.js → snapshot-2ccvkpx1.js} +2 -2
- package/dist/chunks/{plugin-ebwd0fgm.js → snapshot-2d5ym5sj.js} +6 -6
- package/dist/chunks/{plugin-xvt8esm3.js → snapshot-2e6r65fb.js} +38 -38
- package/dist/chunks/{plugin-d4he2qe1.js → snapshot-2mq1h16s.js} +9 -9
- package/dist/chunks/{plugin-2vvh33eb.js → snapshot-2vvh33eb.js} +2 -2
- package/dist/chunks/{plugin-rpvf7ht0.js → snapshot-32hp3d4a.js} +14 -14
- package/dist/chunks/{plugin-gam45aax.js → snapshot-36vcrazm.js} +32 -32
- package/dist/chunks/{plugin-xx3z1yrm.js → snapshot-37ecaprz.js} +13 -13
- package/dist/chunks/{plugin-nrp9mwhy.js → snapshot-39z47dss.js} +18 -18
- package/dist/chunks/{plugin-ejjdbph3.js → snapshot-3dwzfaah.js} +21 -21
- package/dist/chunks/{plugin-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
- package/dist/chunks/{plugin-kaxes9n8.js → snapshot-3h3j01xz.js} +21 -21
- package/dist/chunks/{plugin-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{plugin-3hwn7j4h.js → snapshot-3hwn7j4h.js} +2 -2
- package/dist/chunks/{plugin-hxvz4mjc.js → snapshot-3jhv51p4.js} +10 -10
- package/dist/chunks/{plugin-dv6pzha9.js → snapshot-3mj6y1s4.js} +84 -84
- package/dist/chunks/{plugin-7rwqf82v.js → snapshot-3rtxz4nr.js} +8 -8
- package/dist/chunks/{plugin-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
- package/dist/chunks/{plugin-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
- package/dist/chunks/{plugin-d6kktm3w.js → snapshot-3z984t13.js} +50 -50
- package/dist/chunks/{plugin-3zsf4n22.js → snapshot-3zsf4n22.js} +1 -1
- package/dist/chunks/{plugin-6my2x26h.js → snapshot-45s0xkqg.js} +28 -28
- package/dist/chunks/{plugin-47jkzegy.js → snapshot-47jkzegy.js} +2 -2
- package/dist/chunks/{plugin-fft94ved.js → snapshot-47x322b4.js} +11 -11
- package/dist/chunks/{plugin-a347nh2p.js → snapshot-4dgq8ykd.js} +18 -18
- package/dist/chunks/{plugin-sxjx4pe5.js → snapshot-4xbwzyc1.js} +20 -20
- package/dist/chunks/{plugin-54ma36ye.js → snapshot-54ma36ye.js} +1 -1
- package/dist/chunks/{plugin-wa63aazd.js → snapshot-566zwc6g.js} +11 -11
- package/dist/chunks/{plugin-65nfjkhg.js → snapshot-5ary8kky.js} +90 -90
- package/dist/chunks/{plugin-4z58m4b4.js → snapshot-5dkn69vz.js} +4 -4
- package/dist/chunks/{plugin-88j6cjwm.js → snapshot-5dsdkjma.js} +3 -3
- package/dist/chunks/{plugin-m9x0s52e.js → snapshot-5egnrbez.js} +3 -3
- package/dist/chunks/{plugin-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
- package/dist/chunks/{plugin-bmffrw1v.js → snapshot-5nekprf5.js} +22 -22
- package/dist/chunks/{plugin-b9gf7x45.js → snapshot-5sjpqk1d.js} +32 -32
- package/dist/chunks/{plugin-0afbjnzr.js → snapshot-6jw7hjkg.js} +18 -18
- package/dist/chunks/{plugin-6xb47vfp.js → snapshot-6xb47vfp.js} +1 -1
- package/dist/chunks/{plugin-hffdwvyh.js → snapshot-70nermmm.js} +8 -8
- package/dist/chunks/{plugin-tkm6pdgr.js → snapshot-72rw85ce.js} +11 -11
- package/dist/chunks/{plugin-5k5y8kfk.js → snapshot-749np7n7.js} +14 -14
- package/dist/chunks/{plugin-sp3frt9s.js → snapshot-77pxmfw4.js} +1 -1
- package/dist/chunks/{plugin-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{plugin-py3kkmfq.js → snapshot-7fkffz83.js} +4 -4
- package/dist/chunks/{plugin-0gsbwkzt.js → snapshot-7fxqwhb5.js} +36 -36
- package/dist/chunks/{plugin-tn8e1b0c.js → snapshot-7jmepwah.js} +24 -24
- package/dist/chunks/{plugin-8r87cmmw.js → snapshot-7njjaav3.js} +30 -30
- package/dist/chunks/{plugin-5egmf1b2.js → snapshot-7p3ap5qj.js} +25 -25
- package/dist/chunks/{plugin-k5pxengy.js → snapshot-7s9dxxnz.js} +2 -2
- package/dist/chunks/{plugin-gc8tyy0w.js → snapshot-7shdw42h.js} +55 -55
- package/dist/chunks/{plugin-e2rpexqj.js → snapshot-7xaj531f.js} +14 -14
- package/dist/chunks/{plugin-84txncab.js → snapshot-84txncab.js} +1 -1
- package/dist/chunks/{plugin-e9djhfqm.js → snapshot-8878tmfa.js} +51 -51
- package/dist/chunks/{plugin-89rm2zja.js → snapshot-8jz9smqe.js} +8 -8
- package/dist/chunks/{plugin-8m6m0r52.js → snapshot-8m6m0r52.js} +1 -1
- package/dist/chunks/{plugin-4e8vs6eh.js → snapshot-8mbscqky.js} +8 -8
- package/dist/chunks/{plugin-08t5zg32.js → snapshot-8q8t1tnc.js} +13 -13
- package/dist/chunks/{plugin-tkjfcan5.js → snapshot-8r48d4az.js} +10 -10
- package/dist/chunks/{plugin-93r0jw5s.js → snapshot-8s9q11c2.js} +11 -11
- package/dist/chunks/snapshot-8ztaq101.js +253 -0
- package/dist/chunks/{plugin-80ejkm49.js → snapshot-94mp14g8.js} +4 -4
- package/dist/chunks/{plugin-967benbv.js → snapshot-967benbv.js} +3 -3
- package/dist/chunks/{plugin-vbdk3j7h.js → snapshot-97ssdx1g.js} +4 -4
- package/dist/chunks/{plugin-qsyqdstv.js → snapshot-9hkcxdmn.js} +14 -14
- package/dist/chunks/{plugin-6b5daphh.js → snapshot-9ry79bhp.js} +7 -7
- package/dist/chunks/{plugin-aee2tzq6.js → snapshot-9styxqgn.js} +20 -20
- package/dist/chunks/{plugin-8876qm3g.js → snapshot-9zegdr80.js} +14 -14
- package/dist/chunks/{plugin-mjp57ywm.js → snapshot-a5hmx7s0.js} +13 -13
- package/dist/chunks/{plugin-gdwkbaw9.js → snapshot-aadyv573.js} +6 -6
- package/dist/chunks/{plugin-3y377wv9.js → snapshot-addxnjmp.js} +4 -4
- package/dist/chunks/{plugin-sjt8vgj6.js → snapshot-apwm8s3j.js} +5 -5
- package/dist/chunks/{plugin-p43j5atp.js → snapshot-atc2a3q3.js} +16 -16
- package/dist/chunks/{plugin-z5dg9brp.js → snapshot-atej3qbc.js} +15 -15
- package/dist/chunks/{plugin-4dzrgftc.js → snapshot-ayrv2wcb.js} +11 -11
- package/dist/chunks/{plugin-b27vhd2z.js → snapshot-b27vhd2z.js} +1 -1
- package/dist/chunks/{plugin-d7wb22yq.js → snapshot-b59z99xa.js} +50 -50
- package/dist/chunks/{plugin-h4qdfb04.js → snapshot-b6y0nnhw.js} +3 -3
- package/dist/chunks/{plugin-618rftj7.js → snapshot-b96azaea.js} +33 -33
- package/dist/chunks/{plugin-vh8m0kv7.js → snapshot-bahnv37p.js} +20 -20
- package/dist/chunks/{plugin-2y7g6pt4.js → snapshot-bhdm2eva.js} +24 -24
- package/dist/chunks/{plugin-1ck3q5mz.js → snapshot-bjgzcebz.js} +24 -24
- package/dist/chunks/{plugin-2n265nzp.js → snapshot-bkgjq45n.js} +17 -17
- package/dist/chunks/{plugin-yg218sex.js → snapshot-br53zv5y.js} +15 -15
- package/dist/chunks/{plugin-mp572k2z.js → snapshot-br8v5cn9.js} +24 -24
- package/dist/chunks/{plugin-t5xaxvnk.js → snapshot-bsgqwer8.js} +18 -18
- package/dist/chunks/{plugin-7s9vry3q.js → snapshot-bt51d3gq.js} +3 -3
- package/dist/chunks/{plugin-h6c5betn.js → snapshot-bwh35qyb.js} +9 -9
- package/dist/chunks/{plugin-hn97hcnn.js → snapshot-bytdxgsj.js} +27 -27
- package/dist/chunks/{plugin-jjhd5z8q.js → snapshot-bzjc6ksy.js} +18 -18
- package/dist/chunks/{plugin-c1fqxshp.js → snapshot-c1fqxshp.js} +3 -3
- package/dist/chunks/{plugin-vrzt526f.js → snapshot-c41dsvxf.js} +5 -5
- package/dist/chunks/{plugin-3zn4cnw5.js → snapshot-c6yzar81.js} +23 -23
- package/dist/chunks/{plugin-bnjyp57e.js → snapshot-c7rs0fp2.js} +29 -29
- package/dist/chunks/{plugin-s4k562zt.js → snapshot-c81x0r32.js} +16 -16
- package/dist/chunks/{plugin-mjyc0eg7.js → snapshot-c92gkfvp.js} +20 -20
- package/dist/chunks/{plugin-5eggv871.js → snapshot-cbprq3p6.js} +11 -11
- package/dist/chunks/{plugin-74t6edms.js → snapshot-ccqjkbg9.js} +4 -4
- package/dist/chunks/{plugin-tbpvgwx6.js → snapshot-cgcp9a40.js} +25 -25
- package/dist/chunks/{plugin-zhbky07k.js → snapshot-cp9h3w39.js} +39 -39
- package/dist/chunks/{plugin-rkcx3hv9.js → snapshot-cpgwv9gf.js} +12 -12
- package/dist/chunks/{plugin-thqymva4.js → snapshot-cpkqk2mc.js} +1 -1
- package/dist/chunks/{plugin-0n53rfxy.js → snapshot-d0ec82xh.js} +25 -25
- package/dist/chunks/{plugin-pbd184me.js → snapshot-d9x798yd.js} +6 -6
- package/dist/chunks/{plugin-td7tnc1b.js → snapshot-dh92kamf.js} +20 -20
- package/dist/chunks/{plugin-x21gy8xc.js → snapshot-dktjxkrs.js} +12 -12
- package/dist/chunks/{plugin-97q3h1t9.js → snapshot-dmsf2sgk.js} +13 -13
- package/dist/chunks/{plugin-592bb1sy.js → snapshot-dnx7hh4d.js} +8 -8
- package/dist/chunks/{plugin-hgd10vy7.js → snapshot-dwaxvgp4.js} +18 -18
- package/dist/chunks/snapshot-dxj72tfx.js +18 -0
- package/dist/chunks/{plugin-7v81x33d.js → snapshot-dzw83ac5.js} +9 -9
- package/dist/chunks/{plugin-d5atheqn.js → snapshot-e4fzp9xz.js} +22 -22
- package/dist/chunks/{plugin-7pghxf47.js → snapshot-e6zcw651.js} +1 -1
- package/dist/chunks/{plugin-tkwas6xg.js → snapshot-e7qx7hf9.js} +33 -33
- package/dist/chunks/{plugin-eej6y6fw.js → snapshot-eej6y6fw.js} +2 -2
- package/dist/chunks/{plugin-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
- package/dist/chunks/{plugin-pvhak42s.js → snapshot-egxceyfp.js} +26 -26
- package/dist/chunks/{plugin-1acjjqhc.js → snapshot-f2n192rq.js} +4 -4
- package/dist/chunks/{plugin-2125jrc0.js → snapshot-fafr0g56.js} +12 -12
- package/dist/chunks/{plugin-fcrkznn8.js → snapshot-fcrkznn8.js} +1 -1
- package/dist/chunks/{plugin-jsfp09cq.js → snapshot-fnb9eyvv.js} +11 -11
- package/dist/chunks/{plugin-bcsbag3k.js → snapshot-g2v9qz7h.js} +12 -12
- package/dist/chunks/{plugin-3azjfkq3.js → snapshot-g3yfx9st.js} +18 -18
- package/dist/chunks/{plugin-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
- package/dist/chunks/{plugin-zc9gfbxq.js → snapshot-gdr1rz3s.js} +12 -12
- package/dist/chunks/{plugin-w1c9a0va.js → snapshot-gg7e7qdp.js} +26 -26
- package/dist/chunks/{plugin-gk8qb678.js → snapshot-gk8qb678.js} +1 -1
- package/dist/chunks/{plugin-cs3ybxkb.js → snapshot-gwegacp2.js} +9 -9
- package/dist/chunks/{plugin-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
- package/dist/chunks/{plugin-31xfzrxg.js → snapshot-h7s7r6s9.js} +5 -5
- package/dist/chunks/{plugin-hgz4x7wa.js → snapshot-hgz4x7wa.js} +1 -1
- package/dist/chunks/{plugin-vvxj09sc.js → snapshot-hk0x9whx.js} +8 -8
- package/dist/chunks/{plugin-h59tgy8a.js → snapshot-hmtp6bqa.js} +9 -9
- package/dist/chunks/{plugin-t7n9q6bq.js → snapshot-hn57h045.js} +4 -4
- package/dist/chunks/{plugin-mnwggq08.js → snapshot-hq2w7pb7.js} +17 -17
- package/dist/chunks/{plugin-jmnf8cfw.js → snapshot-hweedvx2.js} +28 -28
- package/dist/chunks/{plugin-91qna3x0.js → snapshot-j09zfasm.js} +3 -3
- package/dist/chunks/{plugin-5rqt7f80.js → snapshot-j4x92r12.js} +19 -19
- package/dist/chunks/{plugin-j56e64zr.js → snapshot-j56e64zr.js} +1 -1
- package/dist/chunks/{plugin-d858xzj7.js → snapshot-jewzahs7.js} +4 -4
- package/dist/chunks/{plugin-gd0tnyjc.js → snapshot-jhdf29st.js} +1 -1
- package/dist/chunks/{plugin-nqjpk2mw.js → snapshot-jqfa4ge4.js} +7 -7
- package/dist/chunks/{plugin-x2a3d05p.js → snapshot-jsk3kr4t.js} +41 -41
- package/dist/chunks/{plugin-5vxzgdcs.js → snapshot-jtd2a7nt.js} +4 -4
- package/dist/chunks/{plugin-76f701w3.js → snapshot-k9q3e0yt.js} +27 -27
- package/dist/chunks/{plugin-45y5r6h0.js → snapshot-kepx3afk.js} +18 -18
- package/dist/chunks/{plugin-hq3c8me3.js → snapshot-khmqacep.js} +4 -4
- package/dist/chunks/{plugin-y7nndgyc.js → snapshot-kjd40bgk.js} +9 -9
- package/dist/chunks/{plugin-kjdm35cs.js → snapshot-kjdm35cs.js} +2 -2
- package/dist/chunks/{plugin-j8ftn7g2.js → snapshot-kkk3vn91.js} +13 -13
- package/dist/chunks/{plugin-gbye2m5q.js → snapshot-kms48zfg.js} +41 -41
- package/dist/chunks/{plugin-mweeaapw.js → snapshot-knevfgda.js} +4 -4
- package/dist/chunks/{plugin-kqv3x6rj.js → snapshot-kqv3x6rj.js} +1 -1
- package/dist/chunks/{plugin-0sacbgq8.js → snapshot-kxxg8k4r.js} +11 -11
- package/dist/chunks/{plugin-vv26c3w7.js → snapshot-kyytvvrv.js} +21 -21
- package/dist/chunks/{plugin-2sgrzhf0.js → snapshot-m0ry780p.js} +11 -11
- package/dist/chunks/{plugin-r56qnc8x.js → snapshot-m8949260.js} +28 -28
- package/dist/chunks/{plugin-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{plugin-e24d0z83.js → snapshot-mfxwm5jp.js} +13 -13
- package/dist/chunks/{plugin-phs13s5a.js → snapshot-mygpds4v.js} +13 -13
- package/dist/chunks/{plugin-v9bjd2nm.js → snapshot-mzvzdten.js} +20 -20
- package/dist/chunks/{plugin-qk5bkgmy.js → snapshot-n9n4qq7s.js} +30 -30
- package/dist/chunks/{plugin-59wgbztd.js → snapshot-ngnqj9gj.js} +26 -26
- package/dist/chunks/{plugin-59b115kr.js → snapshot-nkv5dzrs.js} +9 -9
- package/dist/chunks/{plugin-fz0yqa9g.js → snapshot-npk602qs.js} +10 -10
- package/dist/chunks/{plugin-jfgygxms.js → snapshot-nv0k8b7e.js} +11 -11
- package/dist/chunks/{plugin-nz755hq5.js → snapshot-nzh06rgd.js} +11 -11
- package/dist/chunks/{plugin-wgm6beay.js → snapshot-p63fk0yx.js} +5 -5
- package/dist/chunks/{plugin-98mz35zf.js → snapshot-pdxex50p.js} +15 -15
- package/dist/chunks/{plugin-9hn6k4tm.js → snapshot-phstrbs2.js} +8 -8
- package/dist/chunks/{plugin-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
- package/dist/chunks/{plugin-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{plugin-dkaw1ydm.js → snapshot-pm06a12h.js} +4 -4
- package/dist/chunks/{plugin-a1gprahp.js → snapshot-pme8bagx.js} +17 -17
- package/dist/chunks/{plugin-4jwpvep1.js → snapshot-px7p8hke.js} +15 -15
- package/dist/chunks/{plugin-wpqcbwtm.js → snapshot-q23ecs5g.js} +4 -4
- package/dist/chunks/{plugin-sk8sg77m.js → snapshot-q29xxbd6.js} +27 -27
- package/dist/chunks/{plugin-1bevbqqj.js → snapshot-q448ner5.js} +17 -17
- package/dist/chunks/{plugin-6n4yn6fb.js → snapshot-q6td39y3.js} +16 -16
- package/dist/chunks/{plugin-14qjrqcw.js → snapshot-q6x9nxap.js} +6 -6
- package/dist/chunks/{plugin-eybg9pzq.js → snapshot-qb9v8xwx.js} +30 -30
- package/dist/chunks/{plugin-dcwmqsyn.js → snapshot-qd1zdc3v.js} +5 -5
- package/dist/chunks/{plugin-z7q32mm4.js → snapshot-qfz69p5q.js} +14 -14
- package/dist/chunks/{plugin-qnc92qwc.js → snapshot-qnc92qwc.js} +1 -1
- package/dist/chunks/{plugin-enj9hnwr.js → snapshot-qntjweey.js} +20 -20
- package/dist/chunks/{plugin-xfkkasph.js → snapshot-qqeeq2t9.js} +7 -7
- package/dist/chunks/{plugin-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
- package/dist/chunks/{plugin-mvmfgwc8.js → snapshot-r97sxpnx.js} +8 -8
- package/dist/chunks/{plugin-rdw6cm16.js → snapshot-rdw6cm16.js} +1 -1
- package/dist/chunks/{plugin-rert0e01.js → snapshot-rert0e01.js} +2 -2
- package/dist/chunks/{plugin-5pyjqqve.js → snapshot-rhzk7vne.js} +2 -2
- package/dist/chunks/{plugin-rj3eygr5.js → snapshot-rj3eygr5.js} +2 -2
- package/dist/chunks/{plugin-s42vkex2.js → snapshot-rme27c0d.js} +46 -46
- package/dist/chunks/{plugin-zfhqg2dq.js → snapshot-rqpny9hx.js} +35 -35
- package/dist/chunks/{plugin-fj1pakky.js → snapshot-rw0bqx59.js} +9 -9
- package/dist/chunks/{plugin-fdms3n6w.js → snapshot-s1kvmffy.js} +9 -9
- package/dist/chunks/{plugin-sa8ekw3f.js → snapshot-sa8ekw3f.js} +2 -2
- package/dist/chunks/{plugin-qcy1afjb.js → snapshot-sfbvqhnr.js} +4 -4
- package/dist/chunks/{plugin-qkpse39q.js → snapshot-ss7yxfsg.js} +17 -17
- package/dist/chunks/{plugin-e80seqcp.js → snapshot-sxcaecc0.js} +3 -3
- package/dist/chunks/{plugin-x4scsdvr.js → snapshot-sy47kp3r.js} +12 -12
- package/dist/chunks/{plugin-sqt863se.js → snapshot-syjqprx9.js} +13 -13
- package/dist/chunks/{plugin-syv4x271.js → snapshot-syv4x271.js} +1 -1
- package/dist/chunks/{plugin-0vxwrg02.js → snapshot-t06tg28v.js} +20 -20
- package/dist/chunks/{plugin-rhjbct0v.js → snapshot-t550f9t1.js} +4 -4
- package/dist/chunks/{plugin-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
- package/dist/chunks/{plugin-tcezcvh9.js → snapshot-tcezcvh9.js} +1 -1
- package/dist/chunks/{plugin-gme4fe1z.js → snapshot-tdndkxgk.js} +46 -46
- package/dist/chunks/{plugin-tdstcens.js → snapshot-tdstcens.js} +1 -1
- package/dist/chunks/{plugin-geph165d.js → snapshot-tfqxycy5.js} +7 -7
- package/dist/chunks/{plugin-thbc8ajp.js → snapshot-thtf3412.js} +2 -2
- package/dist/chunks/{plugin-7ndy0eps.js → snapshot-tnzmjtgm.js} +7 -7
- package/dist/chunks/{plugin-sg3541yr.js → snapshot-tp624p08.js} +15 -15
- package/dist/chunks/{plugin-rvws41zy.js → snapshot-tp7rvt8n.js} +313 -313
- package/dist/chunks/{plugin-tyytaxap.js → snapshot-tyytaxap.js} +1 -1
- package/dist/chunks/{plugin-4434d9q2.js → snapshot-v0es1rhs.js} +9 -9
- package/dist/chunks/{plugin-h2k9w14v.js → snapshot-v3rgt89s.js} +5 -5
- package/dist/chunks/{plugin-v7p4zvkq.js → snapshot-v7p4zvkq.js} +2 -2
- package/dist/chunks/{plugin-rq8jj6w9.js → snapshot-v8z8hm6p.js} +33 -33
- package/dist/chunks/{plugin-re585wd9.js → snapshot-ve88pny4.js} +5 -5
- package/dist/chunks/{plugin-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
- package/dist/chunks/{plugin-3yxf4y5g.js → snapshot-vgkcxybm.js} +9 -9
- package/dist/chunks/{plugin-9rp2m95v.js → snapshot-vk12dq78.js} +9 -9
- package/dist/chunks/{plugin-cep37vxe.js → snapshot-vnckgvwp.js} +5 -5
- package/dist/chunks/{plugin-tcay1cqt.js → snapshot-vqfzq50h.js} +6 -6
- package/dist/chunks/{plugin-hgf982ah.js → snapshot-vy3tkgf3.js} +3 -3
- package/dist/chunks/{plugin-vzs5sf6e.js → snapshot-vzs5sf6e.js} +1 -1
- package/dist/chunks/{plugin-qemahjw3.js → snapshot-w3k3nmy2.js} +15 -15
- package/dist/chunks/{plugin-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{plugin-xt2cp7j7.js → snapshot-w635k9zt.js} +4 -4
- package/dist/chunks/{plugin-cjwramev.js → snapshot-w6zk8pbt.js} +8 -8
- package/dist/chunks/{plugin-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{plugin-4tw3697a.js → snapshot-wqqb8knj.js} +21 -21
- package/dist/chunks/{plugin-a3eadrmx.js → snapshot-ws5f7trb.js} +1 -1
- package/dist/chunks/{plugin-8mv8d0mc.js → snapshot-wswa5agg.js} +17 -17
- package/dist/chunks/{plugin-zzv6123n.js → snapshot-wvm2tpy1.js} +13 -13
- package/dist/chunks/{plugin-ers8c2fb.js → snapshot-x28hss16.js} +18 -18
- package/dist/chunks/{plugin-5bphcjzp.js → snapshot-xaasf9gs.js} +4 -4
- package/dist/chunks/{plugin-fbda8msv.js → snapshot-xbxd24gm.js} +8 -8
- package/dist/chunks/{plugin-jqssw7m0.js → snapshot-xcapf3gz.js} +3 -3
- package/dist/chunks/{plugin-5gsmcs0s.js → snapshot-xdq69jyw.js} +13 -13
- package/dist/chunks/{plugin-82d1f670.js → snapshot-xsahrgm8.js} +11 -11
- package/dist/chunks/{plugin-6p3qk4zh.js → snapshot-xsnzbdwh.js} +17 -17
- package/dist/chunks/{plugin-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
- package/dist/chunks/{plugin-8rwhsj9c.js → snapshot-y2rk2g8d.js} +28 -28
- package/dist/chunks/{plugin-061x37t8.js → snapshot-y6canb71.js} +1 -1
- package/dist/chunks/{plugin-y71avatq.js → snapshot-y71avatq.js} +1 -1
- package/dist/chunks/{plugin-1z18ck0n.js → snapshot-yewzvha6.js} +6 -6
- package/dist/chunks/{plugin-aybjdx56.js → snapshot-yj4grhrg.js} +19 -19
- package/dist/chunks/{plugin-kgvr5kes.js → snapshot-yw96ad7w.js} +26 -26
- package/dist/chunks/{plugin-epsvh9ph.js → snapshot-ywnqnaz4.js} +15 -15
- package/dist/chunks/{plugin-bjx1sjef.js → snapshot-ywt8jp22.js} +9 -9
- package/dist/chunks/{plugin-982dy9v8.js → snapshot-yz6jyr9b.js} +69 -69
- package/dist/chunks/{plugin-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
- package/dist/chunks/{plugin-zgfn1wqh.js → snapshot-z8zrb4dy.js} +9 -9
- package/dist/chunks/{plugin-y5t2kk7f.js → snapshot-z9s90m2e.js} +7 -7
- package/dist/chunks/{plugin-svz1m89k.js → snapshot-za3mayqc.js} +11 -11
- package/dist/chunks/{plugin-fpz8ppdk.js → snapshot-zas5n1ee.js} +28 -28
- package/dist/chunks/{plugin-twpht90h.js → snapshot-zc0yab0y.js} +10 -10
- package/dist/chunks/{plugin-60q0me2z.js → snapshot-zgbtaxd3.js} +6 -6
- package/dist/chunks/{plugin-xz3vz871.js → snapshot-znvxnre3.js} +20 -20
- package/dist/chunks/{plugin-v61fahaf.js → snapshot-zr0avt77.js} +11 -11
- package/dist/chunks/{plugin-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
- package/dist/chunks/{plugin-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
- package/dist/chunks/{plugin-scgrse2b.js → snapshot-zyk1yjk8.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +102 -102
- package/dist/file-mutation.js +92 -92
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- 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 +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +92 -92
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +92 -92
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +216 -216
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +91 -91
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +156 -156
- 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 +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +206 -206
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +3 -3
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/plugin-1s1cv7f2.js +0 -253
- package/dist/chunks/plugin-d54hk8ag.js +0 -26
- package/dist/chunks/plugin-rap9a73h.js +0 -18
- /package/dist/chunks/{plugin-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{plugin-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{plugin-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{plugin-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{plugin-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{plugin-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{plugin-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{plugin-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
- /package/dist/chunks/{plugin-2bv980vf.js → snapshot-2bv980vf.js} +0 -0
- /package/dist/chunks/{plugin-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{plugin-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{plugin-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{plugin-3t0ybcrp.js → snapshot-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{plugin-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{plugin-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{plugin-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{plugin-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{plugin-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{plugin-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{plugin-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{plugin-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{plugin-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{plugin-6q2bdcd1.js → snapshot-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{plugin-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{plugin-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{plugin-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{plugin-84wd9syh.js → snapshot-84wd9syh.js} +0 -0
- /package/dist/chunks/{plugin-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{plugin-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{plugin-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
- /package/dist/chunks/{plugin-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{plugin-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{plugin-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{plugin-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{plugin-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{plugin-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{plugin-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{plugin-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{plugin-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{plugin-bw78ga2c.js → snapshot-bw78ga2c.js} +0 -0
- /package/dist/chunks/{plugin-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{plugin-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{plugin-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{plugin-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{plugin-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
- /package/dist/chunks/{plugin-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{plugin-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{plugin-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{plugin-e3qxr5gk.js → snapshot-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{plugin-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{plugin-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{plugin-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{plugin-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{plugin-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{plugin-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{plugin-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{plugin-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{plugin-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{plugin-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{plugin-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{plugin-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{plugin-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{plugin-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{plugin-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{plugin-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{plugin-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{plugin-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{plugin-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{plugin-jze0r7bz.js → snapshot-jze0r7bz.js} +0 -0
- /package/dist/chunks/{plugin-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{plugin-m18g726c.js → snapshot-m18g726c.js} +0 -0
- /package/dist/chunks/{plugin-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{plugin-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{plugin-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{plugin-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{plugin-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{plugin-pkyv6v7h.js → snapshot-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{plugin-pyv0edze.js → snapshot-pyv0edze.js} +0 -0
- /package/dist/chunks/{plugin-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{plugin-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{plugin-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{plugin-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{plugin-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{plugin-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{plugin-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{plugin-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{plugin-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{plugin-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{plugin-ve7vex1e.js → snapshot-ve7vex1e.js} +0 -0
- /package/dist/chunks/{plugin-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{plugin-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{plugin-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{plugin-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{plugin-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{plugin-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{plugin-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{plugin-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{plugin-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{plugin-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
- /package/dist/chunks/{plugin-z5v4ffb3.js → snapshot-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{plugin-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service38,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service38 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service38, exports_runner };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
14
|
Options: () => Options7,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service54,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured7,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node56,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -47,7 +47,7 @@ var Options7 = Schema.Struct({
|
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service54 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve2(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,7 +180,7 @@ function resolve3(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve2.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service54.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin)),
|
|
206
206
|
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured7(options) {
|
|
210
|
+
return makeLocationNode({ service: Service54, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node56 = configured7();
|
|
213
213
|
|
|
214
|
-
export { Options7,
|
|
214
|
+
export { Options7, Service54, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list4, configured7, node56, exports_select };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-eej6y6fw.js";
|
|
7
7
|
import {
|
|
8
8
|
Service85,
|
|
9
9
|
node89
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-5dsdkjma.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-y71avatq.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node68
|
|
18
|
+
} from "./snapshot-w6zk8pbt.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./snapshot-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID9,
|
|
31
|
+
Info: () => Info13,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service64,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured9,
|
|
36
|
+
node: () => node67
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID9 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info13 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID9,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,24 +52,24 @@ class Info19 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID9 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID9,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service64 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured9 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service64,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [node89,
|
|
70
|
+
deps: [node89, node68]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
72
|
+
var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
73
73
|
const db = (yield* Service85).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info13({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service64.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID9.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node67 = configured9();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID9, Info13, NotFound2, CreateConflict2, Service64, configured9, node67, exports_workspace };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-pyv0edze.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-syv4x271.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service42,
|
|
3
|
+
node44
|
|
4
|
+
} from "./snapshot-syjqprx9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service22,
|
|
7
|
+
node25
|
|
8
|
+
} from "./snapshot-5ary8kky.js";
|
|
9
9
|
import {
|
|
10
10
|
text2,
|
|
11
11
|
deliver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-6xb47vfp.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/subagent-job.ts
|
|
18
18
|
var exports_subagent_job = {};
|
|
19
19
|
__export(exports_subagent_job, {
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service10,
|
|
21
21
|
SubagentJob: () => exports_subagent_job,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node12
|
|
23
23
|
});
|
|
24
24
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
25
25
|
import { Node } from "@opencode/util/effect/app-node";
|
|
26
|
-
class
|
|
26
|
+
class Service10 extends Context.Service()("@opencode/SubagentJob") {
|
|
27
27
|
}
|
|
28
28
|
var make = Effect.gen(function* () {
|
|
29
|
-
const sessions = yield*
|
|
30
|
-
const jobs = yield*
|
|
29
|
+
const sessions = yield* Service22;
|
|
30
|
+
const jobs = yield* Service42;
|
|
31
31
|
const scope = yield* Scope.Scope;
|
|
32
32
|
const context = yield* Effect.context();
|
|
33
33
|
const notifications = new Set;
|
|
@@ -42,7 +42,7 @@ var make = Effect.gen(function* () {
|
|
|
42
42
|
yield* deliver2(sessions, jobs, { ...info, recovery });
|
|
43
43
|
}).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
|
|
44
44
|
});
|
|
45
|
-
return
|
|
45
|
+
return Service10.of({
|
|
46
46
|
start: (recovery) => jobs.start({
|
|
47
47
|
id: recovery.childSessionID,
|
|
48
48
|
type: "subagent",
|
|
@@ -64,10 +64,10 @@ var make = Effect.gen(function* () {
|
|
|
64
64
|
notify
|
|
65
65
|
});
|
|
66
66
|
});
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
69
|
-
layer: Layer.effect(
|
|
70
|
-
deps: [
|
|
67
|
+
var node12 = Node.makeGlobalNode({
|
|
68
|
+
service: Service10,
|
|
69
|
+
layer: Layer.effect(Service10, make),
|
|
70
|
+
deps: [node25, node44]
|
|
71
71
|
});
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Service10, node12, exports_subagent_job };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin46,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin46 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin14 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin46, exports_identity };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service63,
|
|
6
|
+
node66
|
|
7
|
+
} from "./snapshot-7jmepwah.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
@@ -35,7 +35,7 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
37
|
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
38
|
-
const environment = yield*
|
|
38
|
+
const environment = yield* Service63;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -58,6 +58,6 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
58
58
|
})));
|
|
59
59
|
return Service14.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var node16 = makeLocationNode({ service: Service14, layer, deps: [
|
|
61
|
+
var node16 = makeLocationNode({ service: Service14, layer, deps: [node66] });
|
|
62
62
|
|
|
63
63
|
export { Service14, readText2, syncTextBom2, node16, exports_file_mutation };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service65
|
|
7
|
+
} from "./snapshot-1p2qp805.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-hgz4x7wa.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service63
|
|
13
|
+
} from "./snapshot-7jmepwah.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service42
|
|
16
|
+
} from "./snapshot-syjqprx9.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service56
|
|
19
|
+
} from "./snapshot-3z984t13.js";
|
|
20
20
|
import {
|
|
21
21
|
Service18,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./snapshot-fafr0g56.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./snapshot-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service54,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./snapshot-hq2w7pb7.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError5,
|
|
36
|
+
Service35
|
|
37
|
+
} from "./snapshot-tdndkxgk.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service22
|
|
40
|
+
} from "./snapshot-5ary8kky.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./snapshot-w635k9zt.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input3,
|
|
53
|
+
Plugin: () => Plugin21,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name3
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name3 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input3 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
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."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin21 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service22;
|
|
124
|
+
const jobs = yield* Service42;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
126
|
+
const environment = yield* Service63;
|
|
127
127
|
const access = yield* Service18;
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
128
|
+
const shell = yield* Service35;
|
|
129
|
+
const shellSelect = yield* Service54;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service56;
|
|
132
|
+
const config = yield* Service65;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -148,7 +148,7 @@ var Plugin46 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name3,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin46 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name3,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input3,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin46 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError5({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name3,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name3];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin21, exports_shell2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-gdr1rz3s.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make9 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make6 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make9();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make9, LMStudioPlugin2 };
|