@opencode/core 0.0.0-dev-20401 → 0.0.0-dev-20406
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{wellknown-d57jdqnp.js → shell-027h9grx.js} +17 -17
- package/dist/chunks/{wellknown-xphsq29y.js → shell-0a5qyhqp.js} +5 -5
- package/dist/chunks/{wellknown-d7hrbx3g.js → shell-0bwxef5p.js} +41 -41
- package/dist/chunks/{wellknown-wt5vxt9k.js → shell-0d8tbd59.js} +22 -22
- package/dist/chunks/{wellknown-0f9afca0.js → shell-0f9afca0.js} +2 -2
- package/dist/chunks/{wellknown-vc0vbezj.js → shell-0p8b1wz2.js} +11 -11
- package/dist/chunks/{wellknown-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
- package/dist/chunks/{wellknown-z0gc4jcf.js → shell-0pgf3wjz.js} +11 -11
- package/dist/chunks/{wellknown-vv07ew10.js → shell-0tf9f9fk.js} +8 -8
- package/dist/chunks/{wellknown-jpqeh2wc.js → shell-0xqyf95c.js} +4 -4
- package/dist/chunks/{wellknown-aan7x28a.js → shell-0yvfy2gr.js} +81 -81
- package/dist/chunks/{wellknown-dtq5dwqq.js → shell-11xytnza.js} +32 -32
- package/dist/chunks/{wellknown-rjyargxg.js → shell-17dp9b3b.js} +11 -11
- package/dist/chunks/{wellknown-br0tr5aq.js → shell-1ajx6rf5.js} +8 -8
- package/dist/chunks/{wellknown-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
- package/dist/chunks/{wellknown-wckr6wjf.js → shell-1ezyexdv.js} +2 -2
- package/dist/chunks/{wellknown-zvsfaaqm.js → shell-1ntkjgb8.js} +27 -27
- package/dist/chunks/{wellknown-hm6dp6d2.js → shell-1q4hgdtf.js} +331 -331
- package/dist/chunks/{wellknown-q58mka6k.js → shell-1rh4yqvv.js} +9 -9
- package/dist/chunks/{wellknown-jbxd6gbx.js → shell-1t9fg1b5.js} +11 -11
- package/dist/chunks/{wellknown-hysx2fj2.js → shell-1y782dng.js} +19 -19
- package/dist/chunks/{wellknown-21r38tys.js → shell-21r38tys.js} +1 -1
- package/dist/chunks/{wellknown-k1s1cxft.js → shell-24zydrzs.js} +48 -48
- package/dist/chunks/{wellknown-css27r41.js → shell-2832djng.js} +10 -10
- package/dist/chunks/{wellknown-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
- package/dist/chunks/{wellknown-wh176n5n.js → shell-2a5svkms.js} +12 -12
- package/dist/chunks/{wellknown-y1gke2m2.js → shell-2mhsvxbb.js} +4 -4
- package/dist/chunks/{wellknown-aqyyhm0b.js → shell-2q4t2vtj.js} +24 -24
- package/dist/chunks/{wellknown-zggzp6kd.js → shell-2yxkykh1.js} +30 -30
- package/dist/chunks/{wellknown-rmp2r1td.js → shell-302sxsq7.js} +11 -11
- package/dist/chunks/{wellknown-56gdpj1q.js → shell-33w4ejhs.js} +6 -6
- package/dist/chunks/{wellknown-55kxqpgg.js → shell-350namw0.js} +32 -32
- package/dist/chunks/{wellknown-b0wk2k2j.js → shell-3a1r704r.js} +7 -7
- package/dist/chunks/{wellknown-jzmza1h1.js → shell-3aqqv3ta.js} +26 -26
- package/dist/chunks/{wellknown-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
- package/dist/chunks/{wellknown-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{wellknown-wrvpnekj.js → shell-3namxzrj.js} +83 -83
- package/dist/chunks/{wellknown-mj4mdxkv.js → shell-3nsr1h9t.js} +30 -30
- package/dist/chunks/{wellknown-ncqsayf8.js → shell-3p2gykje.js} +3 -3
- package/dist/chunks/{wellknown-vach4kr4.js → shell-3pqrab3r.js} +14 -14
- package/dist/chunks/{wellknown-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
- package/dist/chunks/{wellknown-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
- package/dist/chunks/{wellknown-ebxxptf3.js → shell-3x602478.js} +15 -15
- package/dist/chunks/{wellknown-3zsf4n22.js → shell-3zsf4n22.js} +1 -1
- package/dist/chunks/{wellknown-8hydgdhp.js → shell-40ejgnmq.js} +6 -6
- package/dist/chunks/{wellknown-x70jfmtc.js → shell-445bgnxh.js} +7 -7
- package/dist/chunks/{wellknown-rybxqfgf.js → shell-46gkbd0c.js} +26 -26
- package/dist/chunks/{wellknown-4e0602pb.js → shell-4bjzyjqa.js} +23 -23
- package/dist/chunks/{wellknown-7q1q4j24.js → shell-4hbxt91c.js} +27 -27
- package/dist/chunks/{wellknown-4hzg1grx.js → shell-4r8tvr6m.js} +6 -6
- package/dist/chunks/{wellknown-y56ehv6b.js → shell-4rt0ga34.js} +9 -9
- package/dist/chunks/{wellknown-54ma36ye.js → shell-54ma36ye.js} +1 -1
- package/dist/chunks/{wellknown-57ez7d0k.js → shell-57ez7d0k.js} +2 -2
- package/dist/chunks/{wellknown-a2em79jn.js → shell-5bjd8ds0.js} +47 -47
- package/dist/chunks/{wellknown-5daktx2q.js → shell-5daktx2q.js} +1 -1
- package/dist/chunks/{wellknown-zj9f3ba2.js → shell-5gj63dwh.js} +10 -10
- package/dist/chunks/{wellknown-a8xwqxmq.js → shell-5gr04vgg.js} +7 -7
- package/dist/chunks/{wellknown-dh75pk8w.js → shell-5kw0n2ma.js} +8 -8
- package/dist/chunks/{wellknown-q4mn6wkk.js → shell-5t0mhrn0.js} +6 -6
- package/dist/chunks/{wellknown-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
- package/dist/chunks/{wellknown-hd8vw2pw.js → shell-5tat9ppm.js} +1 -1
- package/dist/chunks/{wellknown-kg8gd9a1.js → shell-5v8k5syq.js} +29 -29
- package/dist/chunks/{wellknown-768rm808.js → shell-5vrj9ban.js} +14 -14
- package/dist/chunks/{wellknown-wkh0553f.js → shell-5whaezv9.js} +24 -24
- package/dist/chunks/{wellknown-k4tadaxs.js → shell-6033txqd.js} +19 -19
- package/dist/chunks/shell-619r8v3y.js +18 -0
- package/dist/chunks/{wellknown-669tq793.js → shell-669tq793.js} +1 -1
- package/dist/chunks/{wellknown-w4arg62q.js → shell-6anwy9fs.js} +4 -4
- package/dist/chunks/{wellknown-y4aaa54v.js → shell-6ar8w4pq.js} +44 -44
- package/dist/chunks/{wellknown-a6gmg8e2.js → shell-6fhqajxq.js} +9 -9
- package/dist/chunks/{wellknown-0hrf2yhq.js → shell-6gnvbdx3.js} +3 -3
- package/dist/chunks/{wellknown-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
- package/dist/chunks/{wellknown-r5x6zcsm.js → shell-73tb2d7t.js} +3 -3
- package/dist/chunks/{wellknown-tnvxdpm3.js → shell-763zc42s.js} +26 -26
- package/dist/chunks/{wellknown-97qfe4sr.js → shell-77p9tcjg.js} +48 -48
- package/dist/chunks/{wellknown-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{wellknown-qgn6gcr1.js → shell-7dqw4kz8.js} +5 -5
- package/dist/chunks/{wellknown-str9awg2.js → shell-7dthvaew.js} +28 -28
- package/dist/chunks/shell-7kw0n3fd.js +252 -0
- package/dist/chunks/{wellknown-21tvsb8b.js → shell-83y1qfs6.js} +177 -177
- package/dist/chunks/{wellknown-t4nchsx9.js → shell-845k646w.js} +20 -20
- package/dist/chunks/{wellknown-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
- package/dist/chunks/{wellknown-hwa5qdjj.js → shell-8j1jmj9t.js} +5 -5
- package/dist/chunks/{wellknown-h09p1vgn.js → shell-8x3ar29j.js} +12 -12
- package/dist/chunks/{wellknown-w21bzq9q.js → shell-909p1r3q.js} +4 -4
- package/dist/chunks/{wellknown-n513yaqk.js → shell-90xpxcvn.js} +11 -11
- package/dist/chunks/{wellknown-sjn3sca5.js → shell-92tzgrpg.js} +20 -20
- package/dist/chunks/{wellknown-gfvb90ym.js → shell-94ek1h2f.js} +2 -2
- package/dist/chunks/{wellknown-j594h3t6.js → shell-9g29qv69.js} +4 -4
- package/dist/chunks/{wellknown-71zbrv9g.js → shell-9m18q581.js} +21 -21
- package/dist/chunks/{wellknown-scn1m38n.js → shell-9rzhta9t.js} +11 -11
- package/dist/chunks/{wellknown-bqar0n6y.js → shell-9syxb0r3.js} +10 -10
- package/dist/chunks/{wellknown-s595vrx0.js → shell-a6t0d3d8.js} +27 -26
- package/dist/chunks/{wellknown-4bm5ja14.js → shell-a89e0tac.js} +4 -4
- package/dist/chunks/{wellknown-aaet6srn.js → shell-aaet6srn.js} +2 -2
- package/dist/chunks/{wellknown-hsteyg0z.js → shell-agthfym9.js} +34 -34
- package/dist/chunks/{wellknown-0w11ndwm.js → shell-awbtvej0.js} +8 -8
- package/dist/chunks/{wellknown-5mp13bbv.js → shell-ax630gpb.js} +11 -11
- package/dist/chunks/{wellknown-67cr51g4.js → shell-b44gvvvr.js} +14 -14
- package/dist/chunks/{wellknown-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
- package/dist/chunks/{wellknown-354df1dc.js → shell-bfafj43h.js} +21 -21
- package/dist/chunks/{wellknown-hbgyr91g.js → shell-bj8111r1.js} +3 -3
- package/dist/chunks/{wellknown-9534deet.js → shell-br9mj3ey.js} +32 -32
- package/dist/chunks/{wellknown-f6bdtgrs.js → shell-c1bwn9r9.js} +19 -19
- package/dist/chunks/{wellknown-q07vqkz7.js → shell-cbntc203.js} +3 -3
- package/dist/chunks/{wellknown-5r2av5gd.js → shell-cebrzyqt.js} +20 -20
- package/dist/chunks/{wellknown-py3kkmfq.js → shell-cfsekr6v.js} +2 -2
- package/dist/chunks/{wellknown-54tcyq79.js → shell-ckecvw8r.js} +2 -2
- package/dist/chunks/{wellknown-npn1b5xx.js → shell-cm8jqk38.js} +5 -5
- package/dist/chunks/{wellknown-vn5vaeq1.js → shell-cs4k5zgq.js} +9 -9
- package/dist/chunks/{wellknown-sfe33gz0.js → shell-cxqfxpp1.js} +6 -6
- package/dist/chunks/{wellknown-vp65ztdf.js → shell-d38myz56.js} +31 -31
- package/dist/chunks/{wellknown-h5k0xyz2.js → shell-d7xrmwxz.js} +13 -13
- package/dist/chunks/{wellknown-tneh0x7b.js → shell-d8cfvk62.js} +17 -17
- package/dist/chunks/{wellknown-kfr3jwev.js → shell-dawgpkjz.js} +8 -8
- package/dist/chunks/{wellknown-ax139gcc.js → shell-de6jgy4a.js} +38 -38
- package/dist/chunks/{wellknown-5phqnecy.js → shell-dg5bcj4q.js} +7 -7
- package/dist/chunks/{wellknown-xjjqthj5.js → shell-dj3aa5wj.js} +3 -3
- package/dist/chunks/{wellknown-xkntkrq7.js → shell-dmqcgk4z.js} +5 -5
- package/dist/chunks/{wellknown-4s51ma40.js → shell-dy2xnbj8.js} +12 -12
- package/dist/chunks/{wellknown-h4jx48xg.js → shell-dzrr9fx3.js} +8 -8
- package/dist/chunks/{wellknown-6h3wybc7.js → shell-e0vtkr8g.js} +6 -6
- package/dist/chunks/{wellknown-ns267dy3.js → shell-e1t80gge.js} +43 -43
- package/dist/chunks/{wellknown-1s6gcy5s.js → shell-e1vgqt98.js} +45 -45
- package/dist/chunks/{wellknown-ef5x83kb.js → shell-ef5x83kb.js} +1 -1
- package/dist/chunks/{wellknown-mwwxnxty.js → shell-em3h5ktn.js} +4 -4
- package/dist/chunks/{wellknown-e7vk2sgk.js → shell-er11akkf.js} +18 -18
- package/dist/chunks/{wellknown-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
- package/dist/chunks/{wellknown-v359qcvd.js → shell-ew9zfet1.js} +25 -25
- package/dist/chunks/{wellknown-atm8t10z.js → shell-exq671fp.js} +8 -8
- package/dist/chunks/{wellknown-2bdw8h48.js → shell-f41jbqvm.js} +14 -14
- package/dist/chunks/{wellknown-c8g3m7qr.js → shell-f42drt00.js} +15 -15
- package/dist/chunks/{wellknown-1a854nj1.js → shell-fc62ns0w.js} +5 -5
- package/dist/chunks/{wellknown-qm0v3jhh.js → shell-fm2qvscf.js} +7 -7
- package/dist/chunks/{wellknown-kccjvgj9.js → shell-fmb7ydzj.js} +20 -20
- package/dist/chunks/{wellknown-adcm3a54.js → shell-fq36cd5d.js} +15 -15
- package/dist/chunks/{wellknown-4e8vs6eh.js → shell-fqtvmpfq.js} +8 -8
- package/dist/chunks/{wellknown-v0kzg6mz.js → shell-frz7qx3c.js} +13 -13
- package/dist/chunks/{wellknown-h6b02349.js → shell-fy6cggrf.js} +5 -5
- package/dist/chunks/{wellknown-jhcj5yx9.js → shell-fz2hs8me.js} +22 -22
- package/dist/chunks/{wellknown-xfkkasph.js → shell-g5w8qwbj.js} +4 -4
- package/dist/chunks/{wellknown-bsnpd98z.js → shell-g5zc0msw.js} +1 -1
- package/dist/chunks/shell-g619fkyf.js +26 -0
- package/dist/chunks/{wellknown-ax5feq3k.js → shell-gc7e05zt.js} +22 -22
- package/dist/chunks/{wellknown-gebtr55s.js → shell-gcavn3wx.js} +5 -5
- package/dist/chunks/{wellknown-9qny7dd3.js → shell-gce79w0q.js} +15 -15
- package/dist/chunks/{wellknown-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
- package/dist/chunks/{wellknown-wpsrzqaa.js → shell-ghvvmysb.js} +46 -46
- package/dist/chunks/{wellknown-2k64ycz1.js → shell-gs4tkc79.js} +8 -8
- package/dist/chunks/{wellknown-e3farn9z.js → shell-gs9kr2a8.js} +15 -15
- package/dist/chunks/{wellknown-260gyq39.js → shell-gsgd9zjh.js} +24 -24
- package/dist/chunks/{wellknown-gv6a8nnw.js → shell-gv6a8nnw.js} +2 -2
- package/dist/chunks/{wellknown-hs334ye3.js → shell-gwt0t2e2.js} +28 -28
- package/dist/chunks/{wellknown-ff98bvnp.js → shell-gxf6g2qt.js} +28 -28
- package/dist/chunks/{wellknown-wj3fzgk4.js → shell-h3qzknde.js} +33 -33
- package/dist/chunks/{wellknown-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
- package/dist/chunks/{wellknown-sf76q7np.js → shell-hadadgvf.js} +8 -8
- package/dist/chunks/{wellknown-damkmrvb.js → shell-hbe0cwhg.js} +18 -18
- package/dist/chunks/{wellknown-h2h81cz1.js → shell-hgr40ys5.js} +14 -14
- package/dist/chunks/{wellknown-zsmpz0g2.js → shell-hzazvw9e.js} +46 -46
- package/dist/chunks/{wellknown-hvv902j1.js → shell-hzk924x7.js} +13 -13
- package/dist/chunks/{wellknown-q2vdjp2s.js → shell-j0zcen4g.js} +9 -9
- package/dist/chunks/{wellknown-j56e64zr.js → shell-j56e64zr.js} +1 -1
- package/dist/chunks/{wellknown-a3r4dcrj.js → shell-jca4demv.js} +2 -2
- package/dist/chunks/{wellknown-z8jvdxfg.js → shell-jnps75af.js} +11 -11
- package/dist/chunks/{wellknown-tdhe5xga.js → shell-k0gdq8ga.js} +8 -8
- package/dist/chunks/{wellknown-bn97v1ss.js → shell-k0t8x34b.js} +1 -1
- package/dist/chunks/{wellknown-k3c624dm.js → shell-k3c624dm.js} +3 -3
- package/dist/chunks/{wellknown-k25a84m3.js → shell-kg2zmxw6.js} +39 -39
- package/dist/chunks/{wellknown-szbq6dpj.js → shell-kgc2xkc7.js} +2 -2
- package/dist/chunks/{wellknown-52my5p2r.js → shell-kqgb7ch4.js} +5 -5
- package/dist/chunks/{wellknown-t12g5egd.js → shell-kw0mk995.js} +41 -41
- package/dist/chunks/{wellknown-1eh65fmh.js → shell-ky96t3kz.js} +14 -14
- package/dist/chunks/{wellknown-642recst.js → shell-m0rmv5bm.js} +12 -12
- package/dist/chunks/{wellknown-m3fdjcah.js → shell-m3fdjcah.js} +1 -1
- package/dist/chunks/{wellknown-c231s8ta.js → shell-m41nq2xm.js} +13 -13
- package/dist/chunks/{wellknown-whrrw1yc.js → shell-m568jpcd.js} +26 -26
- package/dist/chunks/{wellknown-m58kmhef.js → shell-m58kmhef.js} +2 -2
- package/dist/chunks/{wellknown-21t3v64e.js → shell-m7s2bw5g.js} +30 -30
- package/dist/chunks/{wellknown-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{wellknown-dgeqw13h.js → shell-mdr46t4g.js} +3 -3
- package/dist/chunks/{wellknown-6ebn15x8.js → shell-mebcx2ev.js} +5 -5
- package/dist/chunks/{wellknown-cq038mp1.js → shell-mesrmzak.js} +8 -8
- package/dist/chunks/{wellknown-vsxynn42.js → shell-mhjvq9xf.js} +21 -21
- package/dist/chunks/{wellknown-r7yf4sta.js → shell-mkwp3yp2.js} +12 -12
- package/dist/chunks/{wellknown-rzs3gq0x.js → shell-mp6d0dty.js} +8 -8
- package/dist/chunks/{wellknown-8jjxrpth.js → shell-mv7vmavb.js} +24 -24
- package/dist/chunks/{wellknown-2mqye2yj.js → shell-myrh9h6p.js} +10 -10
- package/dist/chunks/{wellknown-bfqjkbr4.js → shell-n0x2a21q.js} +20 -20
- package/dist/chunks/{wellknown-sy8pvrsp.js → shell-ng9nphe0.js} +17 -17
- package/dist/chunks/{wellknown-j02apccs.js → shell-nmww7jyx.js} +5 -5
- package/dist/chunks/{wellknown-nscznvay.js → shell-nq7qbqzc.js} +9 -9
- package/dist/chunks/{wellknown-k12yqhfe.js → shell-nsq97wxa.js} +15 -15
- package/dist/chunks/{wellknown-ca3j46nd.js → shell-nwakhswj.js} +34 -34
- package/dist/chunks/{wellknown-dpkg50ah.js → shell-nxm207yx.js} +4 -4
- package/dist/chunks/{wellknown-4j4tgtq5.js → shell-pd7gvt3w.js} +4 -4
- package/dist/chunks/{wellknown-eqntm3rh.js → shell-pjnbb6nv.js} +26 -26
- package/dist/chunks/{wellknown-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
- package/dist/chunks/{wellknown-tq61de9h.js → shell-pk6jt4dn.js} +18 -18
- package/dist/chunks/{wellknown-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{wellknown-kf8xccby.js → shell-pmc1jkpx.js} +14 -14
- package/dist/chunks/{wellknown-pqvx7e34.js → shell-ps9psapg.js} +40 -40
- package/dist/chunks/{wellknown-jexxy024.js → shell-q3t37ft6.js} +3 -3
- package/dist/chunks/{wellknown-e6m8eg10.js → shell-q4g7nk9d.js} +11 -11
- package/dist/chunks/{wellknown-2x9aqbrw.js → shell-qdd0q08y.js} +15 -15
- package/dist/chunks/{wellknown-4df3h35c.js → shell-qfc3y584.js} +11 -11
- package/dist/chunks/{wellknown-mjymc32g.js → shell-qj8eh1ht.js} +4 -4
- package/dist/chunks/{wellknown-g4fbrt4z.js → shell-qk5y71t7.js} +10 -10
- package/dist/chunks/{wellknown-c765mh8b.js → shell-qmqgtz8f.js} +9 -9
- package/dist/chunks/{wellknown-qsdy395h.js → shell-qsdy395h.js} +1 -1
- package/dist/chunks/{wellknown-6kqa1629.js → shell-qvb81wqx.js} +19 -19
- package/dist/chunks/{wellknown-z8qfc15h.js → shell-qwe7bsa3.js} +20 -20
- package/dist/chunks/{wellknown-t9ew0xaf.js → shell-r7srsjaq.js} +9 -9
- package/dist/chunks/{wellknown-r8xr0va3.js → shell-r8xr0va3.js} +1 -1
- package/dist/chunks/{wellknown-3hrymav8.js → shell-rbgk9g65.js} +29 -29
- package/dist/chunks/{wellknown-rdw6cm16.js → shell-rdw6cm16.js} +1 -1
- package/dist/chunks/{wellknown-g1q8vb0g.js → shell-rp3pg7vc.js} +4 -4
- package/dist/chunks/{wellknown-akzntyag.js → shell-rthp8kp4.js} +20 -20
- package/dist/chunks/{wellknown-nngs6syj.js → shell-rwrdja42.js} +19 -19
- package/dist/chunks/{wellknown-rh7p7pce.js → shell-s0p782fc.js} +15 -15
- package/dist/chunks/{wellknown-nap4pwna.js → shell-s19nf2ge.js} +7 -7
- package/dist/chunks/{wellknown-w4mba9tq.js → shell-sgy5rc4s.js} +15 -15
- package/dist/chunks/{wellknown-1sa7dz1e.js → shell-sgyq1qp9.js} +22 -22
- package/dist/chunks/{wellknown-kydcancx.js → shell-smnd959e.js} +10 -10
- package/dist/chunks/{wellknown-x9zaehp5.js → shell-spcspf24.js} +11 -11
- package/dist/chunks/{wellknown-n5hqsxyz.js → shell-sw0g5drg.js} +29 -29
- package/dist/chunks/{wellknown-c78bbtc9.js → shell-t0fxg8b9.js} +5 -5
- package/dist/chunks/{wellknown-b3s8px0x.js → shell-t34bv3bh.js} +8 -8
- package/dist/chunks/{wellknown-0v53mg2y.js → shell-t9zs3egg.js} +4 -4
- package/dist/chunks/{wellknown-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
- package/dist/chunks/{wellknown-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
- package/dist/chunks/{wellknown-tdstcens.js → shell-tdstcens.js} +1 -1
- package/dist/chunks/{wellknown-kcg2nfx1.js → shell-tmvj6me9.js} +13 -13
- package/dist/chunks/{wellknown-1xp5crwf.js → shell-tqrmv6wh.js} +33 -33
- package/dist/chunks/{wellknown-tvtrv512.js → shell-tvtrv512.js} +1 -1
- package/dist/chunks/{wellknown-hsed1dh0.js → shell-v148dh5x.js} +9 -9
- package/dist/chunks/{wellknown-3n9eh797.js → shell-v3a302k8.js} +5 -5
- package/dist/chunks/{wellknown-1ap25sbt.js → shell-v5me1390.js} +23 -23
- package/dist/chunks/{wellknown-5747269g.js → shell-vdmdzg77.js} +4 -4
- package/dist/chunks/{wellknown-veqvce7d.js → shell-veqvce7d.js} +1 -1
- package/dist/chunks/{wellknown-0q1f136w.js → shell-vq2r4xxp.js} +51 -51
- package/dist/chunks/{wellknown-vys9s7rq.js → shell-vxfrmkmy.js} +25 -25
- package/dist/chunks/{wellknown-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
- package/dist/chunks/{wellknown-vzs5sf6e.js → shell-vzs5sf6e.js} +1 -1
- package/dist/chunks/{wellknown-84txncab.js → shell-w1eejvng.js} +5 -5
- package/dist/chunks/{wellknown-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{wellknown-eq23s0y6.js → shell-wbkyxrgf.js} +5 -5
- package/dist/chunks/{wellknown-psazpmmj.js → shell-wd3x2cqz.js} +2 -2
- package/dist/chunks/{wellknown-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{wellknown-sfkbasvm.js → shell-wdt5kg7f.js} +7 -7
- package/dist/chunks/{wellknown-gx58f99x.js → shell-wh0yrkpr.js} +12 -12
- package/dist/chunks/{wellknown-f5xysmby.js → shell-ws227ysr.js} +11 -11
- package/dist/chunks/{wellknown-9t7a50xb.js → shell-wv396vej.js} +6 -6
- package/dist/chunks/{wellknown-q4pkjmzp.js → shell-wx3q8r90.js} +12 -12
- package/dist/chunks/{wellknown-k74fhpa0.js → shell-wzh9kx9c.js} +4 -4
- package/dist/chunks/{wellknown-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
- package/dist/chunks/{wellknown-k3zp8qmd.js → shell-x3ec03mt.js} +12 -12
- package/dist/chunks/{wellknown-dnxkq42g.js → shell-x661k3y3.js} +4 -4
- package/dist/chunks/{wellknown-bv20hq7b.js → shell-xd0e3npz.js} +21 -21
- package/dist/chunks/{wellknown-6yaj9rt4.js → shell-xh2bzhhz.js} +6 -6
- package/dist/chunks/{wellknown-qn6tktv7.js → shell-xky4w4my.js} +33 -33
- package/dist/chunks/{wellknown-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
- package/dist/chunks/{wellknown-eep4qv10.js → shell-y2acyqmb.js} +33 -33
- package/dist/chunks/{wellknown-1jgmt200.js → shell-y30nbvw3.js} +23 -23
- package/dist/chunks/{wellknown-744r2be4.js → shell-y6drww2a.js} +48 -48
- package/dist/chunks/{wellknown-7a838fem.js → shell-yfmq466m.js} +14 -14
- package/dist/chunks/{wellknown-kbqjp078.js → shell-yq14pbr7.js} +5 -5
- package/dist/chunks/{wellknown-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
- package/dist/chunks/{wellknown-t7cg42xb.js → shell-yrxdn3w6.js} +13 -13
- package/dist/chunks/{wellknown-yrznvahk.js → shell-yrznvahk.js} +2 -2
- package/dist/chunks/{wellknown-bjtzbw4r.js → shell-z07pqspn.js} +3 -3
- package/dist/chunks/{wellknown-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
- package/dist/chunks/{wellknown-3zjyq5kp.js → shell-z2sk8n0r.js} +11 -11
- package/dist/chunks/{wellknown-vjjxy6yb.js → shell-z2wvrawj.js} +6 -6
- package/dist/chunks/{wellknown-xywe86jr.js → shell-z41n5maa.js} +72 -72
- package/dist/chunks/{wellknown-p73e7djm.js → shell-z4h5d8ps.js} +31 -31
- package/dist/chunks/{wellknown-5bzm3rcx.js → shell-z4pb129a.js} +4 -4
- package/dist/chunks/{wellknown-z63w68vq.js → shell-z63w68vq.js} +2 -2
- package/dist/chunks/{wellknown-henaaq5n.js → shell-z9v69aw7.js} +33 -33
- package/dist/chunks/{wellknown-zeh9ct20.js → shell-zeh9ct20.js} +2 -2
- package/dist/chunks/{wellknown-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
- package/dist/chunks/{wellknown-dbf65cva.js → shell-zrfk4xcc.js} +32 -32
- package/dist/chunks/{wellknown-08f2t3aa.js → shell-zvjxv4v7.js} +25 -25
- package/dist/chunks/{wellknown-kne8f3cn.js → shell-zvt5dnpc.js} +4 -4
- package/dist/chunks/{wellknown-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
- package/dist/chunks/{wellknown-a0gecma7.js → shell-zz8pmeaw.js} +19 -19
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +3 -3
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- 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 +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 +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +82 -82
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +9 -9
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- 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 +126 -126
- 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 +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/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 +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/wellknown-443fwh93.js +0 -252
- package/dist/chunks/wellknown-9sh4wc5j.js +0 -18
- package/dist/chunks/wellknown-c6jdrc5c.js +0 -26
- /package/dist/chunks/{wellknown-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{wellknown-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{wellknown-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{wellknown-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{wellknown-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{wellknown-24dcb14g.js → shell-24dcb14g.js} +0 -0
- /package/dist/chunks/{wellknown-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{wellknown-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
- /package/dist/chunks/{wellknown-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{wellknown-34c7v6d4.js → shell-34c7v6d4.js} +0 -0
- /package/dist/chunks/{wellknown-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{wellknown-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{wellknown-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{wellknown-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
- /package/dist/chunks/{wellknown-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{wellknown-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{wellknown-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{wellknown-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{wellknown-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{wellknown-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{wellknown-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{wellknown-5qd3pb7m.js → shell-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{wellknown-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{wellknown-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{wellknown-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{wellknown-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{wellknown-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{wellknown-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{wellknown-8wj87zfr.js → shell-8wj87zfr.js} +0 -0
- /package/dist/chunks/{wellknown-922hggd3.js → shell-922hggd3.js} +0 -0
- /package/dist/chunks/{wellknown-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{wellknown-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{wellknown-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
- /package/dist/chunks/{wellknown-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{wellknown-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{wellknown-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{wellknown-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{wellknown-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{wellknown-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{wellknown-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{wellknown-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{wellknown-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{wellknown-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{wellknown-dajrwvna.js → shell-dajrwvna.js} +0 -0
- /package/dist/chunks/{wellknown-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{wellknown-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{wellknown-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{wellknown-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{wellknown-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
- /package/dist/chunks/{wellknown-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{wellknown-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
- /package/dist/chunks/{wellknown-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{wellknown-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{wellknown-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{wellknown-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{wellknown-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{wellknown-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{wellknown-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{wellknown-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{wellknown-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{wellknown-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{wellknown-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
- /package/dist/chunks/{wellknown-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{wellknown-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{wellknown-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{wellknown-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
- /package/dist/chunks/{wellknown-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{wellknown-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{wellknown-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{wellknown-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{wellknown-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{wellknown-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{wellknown-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{wellknown-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{wellknown-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{wellknown-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{wellknown-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{wellknown-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{wellknown-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{wellknown-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
- /package/dist/chunks/{wellknown-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{wellknown-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{wellknown-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{wellknown-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{wellknown-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{wellknown-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{wellknown-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{wellknown-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{wellknown-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{wellknown-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{wellknown-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{wellknown-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{wellknown-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
- /package/dist/chunks/{wellknown-y8f7s663.js → shell-y8f7s663.js} +0 -0
- /package/dist/chunks/{wellknown-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{wellknown-ym463w8f.js → shell-ym463w8f.js} +0 -0
- /package/dist/chunks/{wellknown-z9919s4g.js → shell-z9919s4g.js} +0 -0
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./shell-8x3ar29j.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-1ezyexdv.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service65,
|
|
11
|
+
node68
|
|
12
|
+
} from "./shell-bfafj43h.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service79,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node83
|
|
20
|
+
} from "./shell-gce79w0q.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service76,
|
|
23
|
+
node80
|
|
24
|
+
} from "./shell-fqtvmpfq.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service57,
|
|
27
|
+
node60
|
|
28
|
+
} from "./shell-mp6d0dty.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./shell-q3t37ft6.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service58,
|
|
35
|
+
node61
|
|
36
|
+
} from "./shell-e1t80gge.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./shell-x3ec03mt.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./shell-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError6,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service56,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node59
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
63
63
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
import { Global } from "@opencode/util/global";
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
67
67
|
id: Shell.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service56 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
91
|
-
const bus = yield*
|
|
90
|
+
var layer = () => Layer.effect(Service56, Effect.gen(function* () {
|
|
91
|
+
const bus = yield* Service82;
|
|
92
92
|
const location = yield* Service80;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
96
|
-
const hooks = yield*
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
94
|
+
const shell = yield* Service79;
|
|
95
|
+
const environment = yield* Service65;
|
|
96
|
+
const hooks = yield* Service76;
|
|
97
|
+
const environments = yield* Service57;
|
|
98
|
+
const config = yield* Service58;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
101
101
|
const commands = new Map;
|
|
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
116
116
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
117
117
|
const command = commands.get(id);
|
|
118
118
|
if (!command)
|
|
119
|
-
return yield* new
|
|
119
|
+
return yield* new NotFoundError6({ id });
|
|
120
120
|
return command;
|
|
121
121
|
});
|
|
122
122
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
129
129
|
commands.delete(id);
|
|
130
130
|
if (command.timeoutFiber)
|
|
131
131
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
132
|
-
yield* Deferred.fail(command.done, new
|
|
132
|
+
yield* Deferred.fail(command.done, new NotFoundError6({ id }));
|
|
133
133
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
134
134
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
135
135
|
});
|
|
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
323
323
|
const command = yield* Deferred.await(ready);
|
|
324
324
|
return command.info;
|
|
325
325
|
});
|
|
326
|
-
return
|
|
326
|
+
return Service56.of({ create, list, get, wait, result, timeout, output, remove });
|
|
327
327
|
}));
|
|
328
|
-
var
|
|
329
|
-
service:
|
|
328
|
+
var node59 = makeLocationNode({
|
|
329
|
+
service: Service56,
|
|
330
330
|
layer: layer(),
|
|
331
331
|
deps: [
|
|
332
|
-
|
|
332
|
+
node86,
|
|
333
333
|
node84,
|
|
334
334
|
Global.node,
|
|
335
|
+
node83,
|
|
335
336
|
node68,
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
node41,
|
|
337
|
+
node80,
|
|
338
|
+
node60,
|
|
339
|
+
node61,
|
|
340
340
|
cleanupNode
|
|
341
341
|
]
|
|
342
342
|
});
|
|
343
343
|
|
|
344
|
-
export {
|
|
344
|
+
export { NotFoundError6, RETENTION2, DIRECTORY2, Service56, cleanup2, node59, exports_shell4 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/managed-policy.ts
|
|
6
6
|
var exports_managed_policy = {};
|
|
7
7
|
__export(exports_managed_policy, {
|
|
8
8
|
ManagedPolicy: () => exports_managed_policy,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service19,
|
|
10
|
+
node: () => node22
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service19 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service19, () => {
|
|
18
18
|
const state = { current: { statements: [] } };
|
|
19
|
-
return
|
|
19
|
+
return Service19.of({
|
|
20
20
|
current: () => state.current,
|
|
21
21
|
set: (next) => Effect.sync(() => {
|
|
22
22
|
state.current = next;
|
|
23
23
|
})
|
|
24
24
|
});
|
|
25
25
|
});
|
|
26
|
-
var
|
|
26
|
+
var node22 = makeGlobalNode({ service: Service19, layer, deps: [] });
|
|
27
27
|
|
|
28
|
-
export {
|
|
28
|
+
export { Service19, node22, exports_managed_policy };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-bj8111r1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
8
|
make22,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-wv396vej.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-z07pqspn.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info5,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service32,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node36,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info5 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service32 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
64
|
var source = (entry) => make22({
|
|
65
|
-
key:
|
|
65
|
+
key: Key4.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make22({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service84;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service32.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node36 = makeLocationNode({ service: Service32, layer, deps: [node88] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service32, node36, exports_instruction_entry };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-k3c624dm.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service77,
|
|
17
|
+
node81
|
|
18
|
+
} from "./shell-1rh4yqvv.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service76,
|
|
21
|
+
node80
|
|
22
|
+
} from "./shell-fqtvmpfq.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./shell-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./shell-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content3,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error3,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service51,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node53
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content3, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service51 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service76;
|
|
58
|
+
const image = yield* Service77;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service51.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node53 = makeLocationNode({
|
|
277
|
+
service: Service51,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node80, node81]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service51, node53, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./shell-8x3ar29j.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service69,
|
|
7
|
+
node73
|
|
8
|
+
} from "./shell-5gj63dwh.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Input: () =>
|
|
20
|
+
Event: () => Event5,
|
|
21
|
+
ID: () => ID3,
|
|
22
|
+
Input: () => Input13,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
25
25
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service20,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node23
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event5 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID3 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
|
-
var
|
|
43
|
+
var Input13 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID3, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID3
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID3,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service20 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
69
|
-
const bus = yield*
|
|
70
|
-
const kv = yield*
|
|
68
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
69
|
+
const bus = yield* Service82;
|
|
70
|
+
const kv = yield* Service69;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service20.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node23 = makeLocationNode({
|
|
188
|
+
service: Service20,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [
|
|
190
|
+
deps: [node86, node73]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID3, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service20, node23, exports_websearch3, Event5 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service82,
|
|
4
|
+
node86
|
|
5
|
+
} from "./shell-8x3ar29j.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key4,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
10
|
make22,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-wv396vej.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./shell-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./shell-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event7,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options6,
|
|
30
|
+
Service: () => Service42,
|
|
31
|
+
configured: () => configured6,
|
|
32
|
+
layer: () => layer17,
|
|
33
|
+
node: () => node45
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,19 +41,19 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
45
|
-
var
|
|
44
|
+
var key = Key4.make("core/instructions");
|
|
45
|
+
var Event7 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options6 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service42 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
56
|
-
const bus = yield*
|
|
55
|
+
var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
56
|
+
const bus = yield* Service82;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
59
59
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -72,7 +72,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event7.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
77
|
const source = (value) => make22({
|
|
78
78
|
key,
|
|
@@ -90,7 +90,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service42.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured6(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
111
|
-
deps: [
|
|
109
|
+
service: Service42,
|
|
110
|
+
layer: layer17(options),
|
|
111
|
+
deps: [node86]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node45 = configured6();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event7, Options6, Service42, layer17, configured6, node45, exports_instruction_discovery };
|