@opencode/core 0.0.0-dev-19297 → 0.0.0-dev-19298
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{instance-paegk39x.js → wellknown-06dxphr1.js} +4 -4
- package/dist/chunks/{instance-a1a50ys5.js → wellknown-0f9afca0.js} +5 -5
- package/dist/chunks/{instance-b912gh5h.js → wellknown-0fey9sjf.js} +4 -4
- package/dist/chunks/{instance-qp4vfw5t.js → wellknown-0gyadjkj.js} +36 -36
- package/dist/chunks/{instance-0hpxrkyb.js → wellknown-0hpxrkyb.js} +2 -2
- package/dist/chunks/{instance-21r551s5.js → wellknown-0jfqnnd8.js} +42 -42
- package/dist/chunks/{instance-0paq2nw3.js → wellknown-0paq2nw3.js} +1 -1
- package/dist/chunks/{instance-0q0f95c6.js → wellknown-0q0f95c6.js} +1 -1
- package/dist/chunks/{instance-yjptyezs.js → wellknown-0r7yqxbf.js} +5 -5
- package/dist/chunks/{instance-4ha0j3vr.js → wellknown-0rzpb8gt.js} +8 -8
- package/dist/chunks/{instance-sx1n432n.js → wellknown-0v53mg2y.js} +4 -4
- package/dist/chunks/{instance-ggv90arp.js → wellknown-0w219v1z.js} +11 -11
- package/dist/chunks/{instance-p8phdtyp.js → wellknown-13adgrn5.js} +24 -24
- package/dist/chunks/{instance-z24mx39z.js → wellknown-153kn5pz.js} +43 -43
- package/dist/chunks/{instance-fa0cr6zp.js → wellknown-18cztcj7.js} +3 -3
- package/dist/chunks/{instance-gb01a068.js → wellknown-1a8afdf1.js} +13 -13
- package/dist/chunks/{instance-p0cja4mf.js → wellknown-1ah30sey.js} +5 -5
- package/dist/chunks/{instance-2qzxxsah.js → wellknown-1cxh2yq8.js} +15 -15
- package/dist/chunks/{instance-1dazxqgg.js → wellknown-1dazxqgg.js} +2 -2
- package/dist/chunks/{instance-jdaqcb1t.js → wellknown-1e8nxva5.js} +16 -16
- package/dist/chunks/{instance-3q5yw5wc.js → wellknown-1m53f3h1.js} +22 -22
- package/dist/chunks/{instance-a9m3pnym.js → wellknown-1smgb78j.js} +19 -19
- package/dist/chunks/{instance-rpechfdf.js → wellknown-1t0hsb5v.js} +14 -14
- package/dist/chunks/{instance-fv32247r.js → wellknown-1vf609rd.js} +23 -23
- package/dist/chunks/{instance-nqv7mfvf.js → wellknown-1vsftg9k.js} +9 -9
- package/dist/chunks/{instance-sa8ndcy2.js → wellknown-1w8g4bq4.js} +14 -14
- package/dist/chunks/{instance-21r38tys.js → wellknown-21r38tys.js} +1 -1
- package/dist/chunks/{instance-6h73sxmp.js → wellknown-2402vzrj.js} +5 -5
- package/dist/chunks/{instance-2a5m3afh.js → wellknown-2a5m3afh.js} +1 -1
- package/dist/chunks/{instance-t36j701w.js → wellknown-2az4qg4k.js} +9 -9
- package/dist/chunks/{instance-9qn3qky1.js → wellknown-2d6j2h4j.js} +8 -8
- package/dist/chunks/{instance-2byb8yr3.js → wellknown-2g4a82s9.js} +11 -11
- package/dist/chunks/{instance-gnqt40jz.js → wellknown-2gc4ne5c.js} +3 -3
- package/dist/chunks/{instance-qc4gj2y6.js → wellknown-2wj8n25z.js} +6 -6
- package/dist/chunks/{instance-ackzb6j1.js → wellknown-301ntmw9.js} +24 -24
- package/dist/chunks/{instance-ffx4mq6v.js → wellknown-31dz7cp4.js} +1 -1
- package/dist/chunks/{instance-ygezbb2m.js → wellknown-345aazev.js} +8 -8
- package/dist/chunks/{instance-3fc6dm20.js → wellknown-3fc6dm20.js} +1 -1
- package/dist/chunks/{instance-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
- package/dist/chunks/{instance-3smtnn6g.js → wellknown-3smtnn6g.js} +1 -1
- package/dist/chunks/{instance-3tvqynh2.js → wellknown-3tvqynh2.js} +1 -1
- package/dist/chunks/{instance-5mrtvbn9.js → wellknown-3vt47zmq.js} +19 -19
- package/dist/chunks/{instance-78v47nsk.js → wellknown-3w2b2yj4.js} +5 -5
- package/dist/chunks/{instance-8nz0kf2a.js → wellknown-433mxpjr.js} +39 -39
- package/dist/chunks/{instance-k11evj39.js → wellknown-4f40xxt9.js} +16 -16
- package/dist/chunks/{instance-jvzt705t.js → wellknown-4kftbr8z.js} +87 -87
- package/dist/chunks/{instance-qbc8hfnq.js → wellknown-4w8b7heb.js} +25 -25
- package/dist/chunks/{instance-s9wa000y.js → wellknown-4wdpjckx.js} +22 -22
- package/dist/chunks/{instance-1ygqh575.js → wellknown-56gdpj1q.js} +9 -9
- package/dist/chunks/{instance-4zhk1eez.js → wellknown-599k2402.js} +28 -28
- package/dist/chunks/{instance-qjm52h53.js → wellknown-5aveev3e.js} +5 -5
- package/dist/chunks/{instance-h558gzas.js → wellknown-5b5zdayx.js} +17 -17
- package/dist/chunks/{instance-ms3w2pjb.js → wellknown-5ba826g4.js} +35 -35
- package/dist/chunks/{instance-5daktx2q.js → wellknown-5daktx2q.js} +1 -1
- package/dist/chunks/{instance-2drqq9fc.js → wellknown-5ekz0yty.js} +35 -35
- package/dist/chunks/{instance-a9hk7e9v.js → wellknown-5g4j5yqq.js} +18 -18
- package/dist/chunks/{instance-n7aqgnhz.js → wellknown-5gbkaz4t.js} +5 -5
- package/dist/chunks/{instance-wf2tgg0c.js → wellknown-5hjhdcrb.js} +28 -28
- package/dist/chunks/{instance-8qk9tw02.js → wellknown-5jtdmvnp.js} +1 -1
- package/dist/chunks/{instance-5t3nmthw.js → wellknown-5t3nmthw.js} +2 -2
- package/dist/chunks/{instance-hc3xjh4c.js → wellknown-5wwtptpe.js} +4 -4
- package/dist/chunks/{instance-669tq793.js → wellknown-669tq793.js} +1 -1
- package/dist/chunks/{instance-m5sw0a5d.js → wellknown-6cpxxfqb.js} +33 -33
- package/dist/chunks/{instance-3tbwzafx.js → wellknown-6d5ab3w3.js} +15 -15
- package/dist/chunks/{instance-88cv5s5z.js → wellknown-6d8w2zge.js} +4 -4
- package/dist/chunks/{instance-5pkw1d5z.js → wellknown-6erqqgaw.js} +13 -13
- package/dist/chunks/{instance-f7yvr5pd.js → wellknown-6h4qwayx.js} +2 -2
- package/dist/chunks/{instance-6msgmcgs.js → wellknown-6msgmcgs.js} +1 -1
- package/dist/chunks/{instance-75jwe5md.js → wellknown-6wfwqt87.js} +12 -12
- package/dist/chunks/{instance-v5fwnavd.js → wellknown-6xzgjakr.js} +30 -30
- package/dist/chunks/{instance-71q4at8m.js → wellknown-71q4at8m.js} +1 -1
- package/dist/chunks/{instance-9b4ng3vd.js → wellknown-751bb1qn.js} +6 -6
- package/dist/chunks/{instance-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
- package/dist/chunks/{instance-607tc6va.js → wellknown-7dqw4kz8.js} +5 -5
- package/dist/chunks/{instance-73k9p0pd.js → wellknown-7kwy8a22.js} +6 -6
- package/dist/chunks/{instance-regnx5sz.js → wellknown-7png34pd.js} +11 -11
- package/dist/chunks/{instance-acf5grrn.js → wellknown-7s9yv6nr.js} +29 -29
- package/dist/chunks/{instance-j7wq2tw5.js → wellknown-7wdjtyr9.js} +3 -3
- package/dist/chunks/{instance-qnrj3j72.js → wellknown-80e0yyk8.js} +12 -12
- package/dist/chunks/{instance-ent7r1aa.js → wellknown-81a28jj9.js} +18 -18
- package/dist/chunks/{instance-w97m1n76.js → wellknown-83q352bh.js} +52 -52
- package/dist/chunks/{instance-5xtgfte3.js → wellknown-844ef7ks.js} +8 -8
- package/dist/chunks/{instance-hs9pnjsv.js → wellknown-86hz29wt.js} +7 -7
- package/dist/chunks/{instance-p4hmnksp.js → wellknown-8cw9e3y8.js} +27 -27
- package/dist/chunks/{instance-8d7r5vzw.js → wellknown-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instance-dj2t23y0.js → wellknown-8p4f9s12.js} +2 -2
- package/dist/chunks/{instance-bn9nv5jw.js → wellknown-8zm39b8n.js} +17 -17
- package/dist/chunks/{instance-m02sgzmt.js → wellknown-92ceydex.js} +19 -19
- package/dist/chunks/{instance-b3jc0806.js → wellknown-92sryvry.js} +9 -9
- package/dist/chunks/{instance-c12pp0g5.js → wellknown-94sf61n7.js} +11 -11
- package/dist/chunks/{instance-zqvhk09s.js → wellknown-97648kyg.js} +11 -11
- package/dist/chunks/{instance-pqemdkaf.js → wellknown-98b7kxpa.js} +17 -17
- package/dist/chunks/{instance-466rerzc.js → wellknown-9pebw04q.js} +32 -32
- package/dist/chunks/{instance-v58rse4y.js → wellknown-9ppkv52n.js} +8 -8
- package/dist/chunks/{instance-5c4hm403.js → wellknown-a1bz86dw.js} +3 -3
- package/dist/chunks/{instance-z22pjn7v.js → wellknown-a4exdnt3.js} +4 -4
- package/dist/chunks/{instance-aaet6srn.js → wellknown-aaet6srn.js} +2 -2
- package/dist/chunks/{instance-06x8he3q.js → wellknown-afdssyjb.js} +4 -4
- package/dist/chunks/{instance-3v460zrs.js → wellknown-ag9w6e5n.js} +6 -6
- package/dist/chunks/{instance-5zy6em5b.js → wellknown-ajq9kf1a.js} +11 -11
- package/dist/chunks/{instance-1ppyepr8.js → wellknown-arnmqd59.js} +1 -1
- package/dist/chunks/{instance-a1ny26p1.js → wellknown-b0yc1cc1.js} +20 -20
- package/dist/chunks/{instance-b6gygkdw.js → wellknown-b6gygkdw.js} +2 -2
- package/dist/chunks/wellknown-b99r3qgs.js +22 -0
- package/dist/chunks/{instance-70313qx6.js → wellknown-bbcn74nn.js} +8 -8
- package/dist/chunks/{instance-gptnw8m2.js → wellknown-c8x8zcz1.js} +13 -13
- package/dist/chunks/{instance-q4vdg68a.js → wellknown-cf5npnpn.js} +43 -43
- package/dist/chunks/{instance-m0jqrx5p.js → wellknown-cfpkc3c9.js} +2 -2
- package/dist/chunks/{instance-2tfmgkzg.js → wellknown-cq37gk0t.js} +4 -4
- package/dist/chunks/{instance-9jdkkkxy.js → wellknown-cx9z24qy.js} +28 -28
- package/dist/chunks/{instance-w79zsp0s.js → wellknown-d50f2zf5.js} +1 -1
- package/dist/chunks/{instance-fxh7ah4m.js → wellknown-d8ag70r5.js} +20 -20
- package/dist/chunks/{instance-k3ekk4hs.js → wellknown-dhh9g715.js} +20 -20
- package/dist/chunks/{instance-tqhvqgv9.js → wellknown-dhnpxtn3.js} +19 -19
- package/dist/chunks/{instance-5fve6znn.js → wellknown-djyr913s.js} +23 -23
- package/dist/chunks/{instance-fw2j09t7.js → wellknown-dnwf0qct.js} +85 -85
- package/dist/chunks/{instance-p4jrza1n.js → wellknown-dqyrj80g.js} +31 -31
- package/dist/chunks/{instance-1cmm49yn.js → wellknown-dy1s2zwt.js} +9 -9
- package/dist/chunks/{instance-a4r18kjz.js → wellknown-e0prvjnp.js} +2 -2
- package/dist/chunks/{instance-k5mm8gs0.js → wellknown-e5xbyv4k.js} +13 -13
- package/dist/chunks/{instance-81rrwt6s.js → wellknown-ebah8r6x.js} +6 -6
- package/dist/chunks/{instance-pck3w1ab.js → wellknown-ebc7h8jh.js} +4 -4
- package/dist/chunks/{instance-2evyaa68.js → wellknown-ec8389mk.js} +4 -4
- package/dist/chunks/{instance-888xqp9w.js → wellknown-eg418mx6.js} +15 -15
- package/dist/chunks/{instance-mhxmkf1w.js → wellknown-eg7325wb.js} +30 -30
- package/dist/chunks/{instance-3xb7t3ea.js → wellknown-ej8cxv4b.js} +11 -11
- package/dist/chunks/{instance-etq0c3wd.js → wellknown-etq0c3wd.js} +1 -1
- package/dist/chunks/{instance-hq8nvw5t.js → wellknown-f1qeq853.js} +5 -5
- package/dist/chunks/{instance-fc24de9c.js → wellknown-f4xmay09.js} +169 -169
- package/dist/chunks/{instance-g37n6v01.js → wellknown-f7na88a3.js} +22 -22
- package/dist/chunks/{instance-hdnk95c8.js → wellknown-f828m53h.js} +2 -2
- package/dist/chunks/{instance-s7xtjryh.js → wellknown-f9bavhm2.js} +1 -1
- package/dist/chunks/{instance-dxkzy7ga.js → wellknown-fpv6qd1b.js} +8 -8
- package/dist/chunks/{instance-tfe3dyhg.js → wellknown-frfc3m7z.js} +11 -11
- package/dist/chunks/{instance-1s3p39g4.js → wellknown-fvanntqq.js} +4 -4
- package/dist/chunks/{instance-fxbjtjnd.js → wellknown-fxbjtjnd.js} +1 -1
- package/dist/chunks/{instance-3cwb9jzf.js → wellknown-g477egy3.js} +8 -8
- package/dist/chunks/{instance-5faha6gd.js → wellknown-g8j92q4r.js} +24 -24
- package/dist/chunks/{instance-gd4qta3r.js → wellknown-gd4qta3r.js} +1 -1
- package/dist/chunks/{instance-sz8zp43t.js → wellknown-gdcxaw8d.js} +32 -32
- package/dist/chunks/{instance-2h50kq9x.js → wellknown-gkzab4dd.js} +35 -35
- package/dist/chunks/{instance-w1cas0vc.js → wellknown-gnwvvsrg.js} +27 -27
- package/dist/chunks/{instance-7fpn5dqa.js → wellknown-gtp0d19d.js} +13 -13
- package/dist/chunks/{instance-gv6a8nnw.js → wellknown-gv6a8nnw.js} +2 -2
- package/dist/chunks/{instance-h03wrkyp.js → wellknown-h03wrkyp.js} +2 -2
- package/dist/chunks/{instance-cdr5gg57.js → wellknown-h1p5fdzw.js} +7 -7
- package/dist/chunks/{instance-nbzsj80d.js → wellknown-h2r7bbkd.js} +8 -8
- package/dist/chunks/{instance-nz6xy3pw.js → wellknown-h5nf0wwg.js} +23 -23
- package/dist/chunks/{instance-h6vf3j39.js → wellknown-h6vf3j39.js} +1 -1
- package/dist/chunks/{instance-qd5n9004.js → wellknown-h9t3yg4c.js} +4 -4
- package/dist/chunks/{instance-nhy5jxhy.js → wellknown-hjt4xg1x.js} +4 -4
- package/dist/chunks/{instance-ha9q7byt.js → wellknown-hsbjamnz.js} +32 -32
- package/dist/chunks/{instance-g8atgw3j.js → wellknown-htjw9qza.js} +6 -6
- package/dist/chunks/{instance-502pc4xn.js → wellknown-hv7kxmpp.js} +15 -15
- package/dist/chunks/{instance-vssdy4ge.js → wellknown-j15mxnwj.js} +6 -6
- package/dist/chunks/{instance-j56e64zr.js → wellknown-j56e64zr.js} +1 -1
- package/dist/chunks/{instance-haphqn3v.js → wellknown-j7ashrwe.js} +46 -46
- package/dist/chunks/{instance-rt8c47yx.js → wellknown-j7hxrhe3.js} +25 -25
- package/dist/chunks/{instance-87rsn3wc.js → wellknown-jc5jqykq.js} +6 -6
- package/dist/chunks/{instance-jj63jgrn.js → wellknown-jj63jgrn.js} +1 -1
- package/dist/chunks/{instance-vbqgtwgy.js → wellknown-jn3vahqd.js} +16 -16
- package/dist/chunks/{instance-19wnhc9k.js → wellknown-jsf83ghp.js} +18 -18
- package/dist/chunks/{instance-50mzsvk4.js → wellknown-jw80jp6b.js} +4 -4
- package/dist/chunks/{instance-k79tzb9n.js → wellknown-jwx4y25k.js} +9 -9
- package/dist/chunks/{instance-nry41skx.js → wellknown-jxak35yf.js} +46 -46
- package/dist/chunks/{instance-t9e6e84n.js → wellknown-jy16bfac.js} +1 -1
- package/dist/chunks/{instance-m0rktphg.js → wellknown-k3htwn63.js} +36 -36
- package/dist/chunks/{instance-rfntstnm.js → wellknown-k5nzfyaf.js} +24 -24
- package/dist/chunks/{instance-vt2qmknb.js → wellknown-k7ezg90w.js} +11 -11
- package/dist/chunks/{instance-bm9xv2dk.js → wellknown-kb2g279d.js} +22 -22
- package/dist/chunks/{instance-vaq1jbx7.js → wellknown-kbv6dgc6.js} +16 -16
- package/dist/chunks/{instance-vx66cmhf.js → wellknown-kby4yt7g.js} +14 -14
- package/dist/chunks/{instance-1qm24qff.js → wellknown-kckbw66n.js} +9 -9
- package/dist/chunks/{instance-xanrfe6t.js → wellknown-kdpy9gz7.js} +35 -35
- package/dist/chunks/{instance-kg06axw8.js → wellknown-kg06axw8.js} +1 -1
- package/dist/chunks/{instance-ajcnkc0y.js → wellknown-kj3rejfq.js} +47 -47
- package/dist/chunks/{instance-5xh15ypd.js → wellknown-kvmv1fep.js} +24 -24
- package/dist/chunks/{instance-nt8a5yma.js → wellknown-kwvvtnkq.js} +41 -41
- package/dist/chunks/{instance-qrah3a09.js → wellknown-m8vs919j.js} +16 -16
- package/dist/chunks/{instance-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instance-mkcjrzeh.js → wellknown-mkcjrzeh.js} +1 -1
- package/dist/chunks/{instance-0yzq9n39.js → wellknown-n0zn403d.js} +22 -22
- package/dist/chunks/{instance-tfwap27p.js → wellknown-nbddwgy7.js} +10 -10
- package/dist/chunks/{instance-np6kt6y4.js → wellknown-nf8nzb7g.js} +3 -3
- package/dist/chunks/{instance-3zjyvmkv.js → wellknown-p8kqgwd3.js} +46 -46
- package/dist/chunks/{instance-k4hsf3h8.js → wellknown-pcax7nge.js} +10 -10
- package/dist/chunks/{instance-nz1f1dnx.js → wellknown-pcf161yc.js} +57 -57
- package/dist/chunks/{instance-zhn4z0e0.js → wellknown-pchvxq4t.js} +4 -4
- package/dist/chunks/{instance-pjvnvgmy.js → wellknown-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instance-pknna89w.js → wellknown-pknna89w.js} +1 -1
- package/dist/chunks/{instance-9v1jw1ne.js → wellknown-pshw0dya.js} +30 -30
- package/dist/chunks/{instance-apx2a7ca.js → wellknown-pwzt2dd6.js} +22 -22
- package/dist/chunks/{instance-0nde5ztd.js → wellknown-q17z9dx8.js} +5 -5
- package/dist/chunks/{instance-xxhgza55.js → wellknown-q8p9236r.js} +27 -27
- package/dist/chunks/wellknown-qc068m1q.js +18 -0
- package/dist/chunks/{instance-x0e6qwje.js → wellknown-qek8dtx8.js} +11 -11
- package/dist/chunks/{instance-bg72d9np.js → wellknown-qfeftde1.js} +10 -10
- package/dist/chunks/{instance-eazjk0wr.js → wellknown-qg0c46zd.js} +18 -18
- package/dist/chunks/{instance-msjt41yg.js → wellknown-qha4sez1.js} +13 -13
- package/dist/chunks/{instance-ze5v0a14.js → wellknown-qm7jrdpz.js} +8 -8
- package/dist/chunks/{instance-zxgnc9zk.js → wellknown-qmr73083.js} +1 -1
- package/dist/chunks/{instance-ffz0ekd9.js → wellknown-qnxyes55.js} +6 -6
- package/dist/chunks/{instance-q5b78q1j.js → wellknown-qr27hz8v.js} +4 -4
- package/dist/chunks/{instance-qsdy395h.js → wellknown-qsdy395h.js} +1 -1
- package/dist/chunks/{instance-xetf4kax.js → wellknown-r0pa45k4.js} +9 -9
- package/dist/chunks/{instance-9tgwmq03.js → wellknown-r47paza8.js} +43 -43
- package/dist/chunks/{instance-3y8se8h9.js → wellknown-r5ba5pd1.js} +9 -9
- package/dist/chunks/{instance-73tb2d7t.js → wellknown-r5x6zcsm.js} +3 -3
- package/dist/chunks/{instance-3x919xvf.js → wellknown-r5yb3bmp.js} +40 -40
- package/dist/chunks/{instance-f2n192rq.js → wellknown-r8xr0va3.js} +4 -4
- package/dist/chunks/{instance-v7gjmewq.js → wellknown-rh8sysy4.js} +10 -10
- package/dist/chunks/{instance-eaj1djv9.js → wellknown-rhjbct0v.js} +8 -8
- package/dist/chunks/{instance-a4gb111k.js → wellknown-rhvgj8e6.js} +25 -25
- package/dist/chunks/{instance-6arz13z6.js → wellknown-rkbmpfe2.js} +10 -10
- package/dist/chunks/{instance-81swgkk7.js → wellknown-rsym84ch.js} +7 -7
- package/dist/chunks/{instance-m953gznc.js → wellknown-rt56ea7r.js} +15 -15
- package/dist/chunks/{instance-01jwtfx3.js → wellknown-rvyy05ds.js} +10 -10
- package/dist/chunks/{instance-t6vsspdg.js → wellknown-ryr25ayn.js} +7 -7
- package/dist/chunks/{instance-ewc21egd.js → wellknown-s9c35a17.js} +7 -7
- package/dist/chunks/{instance-7f9wmjs1.js → wellknown-s9cync3p.js} +29 -29
- package/dist/chunks/{instance-39r4aecv.js → wellknown-sg5j0v43.js} +26 -26
- package/dist/chunks/{instance-a9ab9jmj.js → wellknown-sv9bpgvh.js} +5 -5
- package/dist/chunks/{instance-t0x5rdq8.js → wellknown-t0x5rdq8.js} +2 -2
- package/dist/chunks/{instance-a2jy5wt1.js → wellknown-t1gyex3t.js} +11 -11
- package/dist/chunks/{instance-ka44map4.js → wellknown-t3jrbyxp.js} +5 -5
- package/dist/chunks/{instance-q0rt5j2q.js → wellknown-t5t85r32.js} +31 -31
- package/dist/chunks/{instance-tazgh4e4.js → wellknown-tazgh4e4.js} +1 -1
- package/dist/chunks/{instance-tcezcvh9.js → wellknown-tcezcvh9.js} +1 -1
- package/dist/chunks/{instance-tdstcens.js → wellknown-tdstcens.js} +1 -1
- package/dist/chunks/{instance-3jyh38wp.js → wellknown-th16xtyn.js} +49 -49
- package/dist/chunks/{instance-m96a6c4x.js → wellknown-tjbnh4gx.js} +9 -9
- package/dist/chunks/{instance-9bjv8jc0.js → wellknown-tn1q108x.js} +291 -291
- package/dist/chunks/{instance-d9sn21bc.js → wellknown-tregh9zc.js} +2 -2
- package/dist/chunks/{instance-hx6242bd.js → wellknown-tsra1adq.js} +22 -22
- package/dist/chunks/{instance-tvtrv512.js → wellknown-tvtrv512.js} +1 -1
- package/dist/chunks/{instance-cxsnvna4.js → wellknown-v69q3rne.js} +21 -21
- package/dist/chunks/{instance-710w2ech.js → wellknown-v8ch97zc.js} +1 -1
- package/dist/chunks/wellknown-vaf1ev04.js +247 -0
- package/dist/chunks/{instance-fd220aqp.js → wellknown-vbt1q5qz.js} +11 -11
- package/dist/chunks/{instance-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
- package/dist/chunks/{instance-79f5wznj.js → wellknown-vhzmfeej.js} +29 -29
- package/dist/chunks/{instance-c77dj74a.js → wellknown-vwjrxgyb.js} +67 -67
- package/dist/chunks/{instance-2n7srhfk.js → wellknown-vx52c60r.js} +18 -18
- package/dist/chunks/{instance-nzwzy72p.js → wellknown-vxwzppst.js} +9 -9
- package/dist/chunks/{instance-hm92n5p0.js → wellknown-vxyf8mmv.js} +29 -29
- package/dist/chunks/{instance-jft9hn7j.js → wellknown-vy22dxga.js} +28 -28
- package/dist/chunks/{instance-6zz0jjar.js → wellknown-vyqn3nqs.js} +4 -4
- package/dist/chunks/{instance-vzcthcp8.js → wellknown-vzcthcp8.js} +1 -1
- package/dist/chunks/{instance-z31m6bz4.js → wellknown-w10k0mk6.js} +24 -24
- package/dist/chunks/{instance-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instance-bgj5tqem.js → wellknown-w6jjpet8.js} +12 -12
- package/dist/chunks/{instance-wd87259q.js → wellknown-wd87259q.js} +1 -1
- package/dist/chunks/{instance-339dmwxv.js → wellknown-wxgaszs1.js} +20 -20
- package/dist/chunks/{instance-x1ezjp6w.js → wellknown-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instance-x43y2vfs.js → wellknown-x43y2vfs.js} +2 -2
- package/dist/chunks/{instance-pav6qp9g.js → wellknown-x4qbn06s.js} +9 -9
- package/dist/chunks/{instance-dreymjps.js → wellknown-x8epn3eh.js} +27 -27
- package/dist/chunks/{instance-2zk7q63q.js → wellknown-xczywpe1.js} +25 -25
- package/dist/chunks/{instance-6jnybvqn.js → wellknown-xekzrwwc.js} +9 -9
- package/dist/chunks/{instance-tpsh7nep.js → wellknown-xtxsez35.js} +12 -12
- package/dist/chunks/{instance-y1fvbwt7.js → wellknown-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instance-dpkg50ah.js → wellknown-y71avatq.js} +4 -4
- package/dist/chunks/{instance-m94k6fn1.js → wellknown-y8t89g2h.js} +8 -8
- package/dist/chunks/{instance-3mvvax0j.js → wellknown-yb0rz80c.js} +32 -32
- package/dist/chunks/{instance-g33ss047.js → wellknown-yesww6qn.js} +9 -9
- package/dist/chunks/{instance-yrhqyw5v.js → wellknown-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instance-t0j15s1g.js → wellknown-yrntw0wa.js} +8 -8
- package/dist/chunks/{instance-yrznvahk.js → wellknown-yrznvahk.js} +2 -2
- package/dist/chunks/{instance-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instance-z63w68vq.js → wellknown-z63w68vq.js} +2 -2
- package/dist/chunks/{instance-b8vn8jv0.js → wellknown-z9054wkr.js} +20 -20
- package/dist/chunks/{instance-sa5pv7yh.js → wellknown-zc3bbtev.js} +13 -13
- package/dist/chunks/{instance-zeh9ct20.js → wellknown-zeh9ct20.js} +2 -2
- package/dist/chunks/{instance-gj9xpvv3.js → wellknown-zerdtc7d.js} +2 -2
- package/dist/chunks/{instance-ket659ap.js → wellknown-zfdfzxrp.js} +18 -18
- package/dist/chunks/{instance-zr2ceqn5.js → wellknown-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instance-x4wfhds3.js → wellknown-zrnwyp6v.js} +15 -15
- package/dist/chunks/{instance-4hrc3tyr.js → wellknown-ztc1je1k.js} +15 -15
- package/dist/chunks/{instance-zxq2ej10.js → wellknown-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +349 -349
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +1 -1
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +125 -125
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +98 -98
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +86 -86
- 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 +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/instance-1ebq5kva.js +0 -247
- package/dist/chunks/instance-nw45wjz5.js +0 -22
- package/dist/chunks/instance-vnkjks7b.js +0 -18
- /package/dist/chunks/{instance-0mesazry.js → wellknown-0mesazry.js} +0 -0
- /package/dist/chunks/{instance-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instance-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instance-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instance-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instance-1kg9ymc8.js → wellknown-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instance-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
- /package/dist/chunks/{instance-2axfhc9x.js → wellknown-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instance-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instance-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
- /package/dist/chunks/{instance-3asan66x.js → wellknown-3asan66x.js} +0 -0
- /package/dist/chunks/{instance-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instance-3w5fmr99.js → wellknown-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instance-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instance-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instance-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instance-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instance-53557ph1.js → wellknown-53557ph1.js} +0 -0
- /package/dist/chunks/{instance-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
- /package/dist/chunks/{instance-6prwharc.js → wellknown-6prwharc.js} +0 -0
- /package/dist/chunks/{instance-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instance-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
- /package/dist/chunks/{instance-822emrt2.js → wellknown-822emrt2.js} +0 -0
- /package/dist/chunks/{instance-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instance-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
- /package/dist/chunks/{instance-922hggd3.js → wellknown-922hggd3.js} +0 -0
- /package/dist/chunks/{instance-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instance-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instance-a1tpkmh4.js → wellknown-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{instance-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instance-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
- /package/dist/chunks/{instance-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
- /package/dist/chunks/{instance-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instance-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instance-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instance-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instance-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instance-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instance-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
- /package/dist/chunks/{instance-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instance-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
- /package/dist/chunks/{instance-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
- /package/dist/chunks/{instance-df08tz66.js → wellknown-df08tz66.js} +0 -0
- /package/dist/chunks/{instance-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
- /package/dist/chunks/{instance-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instance-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instance-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
- /package/dist/chunks/{instance-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instance-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instance-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instance-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instance-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
- /package/dist/chunks/{instance-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
- /package/dist/chunks/{instance-fxgpk5d8.js → wellknown-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instance-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instance-g86h250q.js → wellknown-g86h250q.js} +0 -0
- /package/dist/chunks/{instance-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instance-gftt206x.js → wellknown-gftt206x.js} +0 -0
- /package/dist/chunks/{instance-hjbc5kem.js → wellknown-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instance-hk9envan.js → wellknown-hk9envan.js} +0 -0
- /package/dist/chunks/{instance-hrnqkpcd.js → wellknown-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{instance-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instance-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instance-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instance-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instance-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instance-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
- /package/dist/chunks/{instance-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instance-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instance-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instance-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
- /package/dist/chunks/{instance-paphc93g.js → wellknown-paphc93g.js} +0 -0
- /package/dist/chunks/{instance-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instance-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
- /package/dist/chunks/{instance-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instance-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instance-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instance-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instance-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instance-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instance-sk3qaz4a.js → wellknown-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{instance-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instance-twg0f83k.js → wellknown-twg0f83k.js} +0 -0
- /package/dist/chunks/{instance-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
- /package/dist/chunks/{instance-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instance-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
- /package/dist/chunks/{instance-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instance-x61499pn.js → wellknown-x61499pn.js} +0 -0
- /package/dist/chunks/{instance-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
- /package/dist/chunks/{instance-y8cydn3q.js → wellknown-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instance-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instance-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
- /package/dist/chunks/{instance-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./wellknown-ajq9kf1a.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-rhjbct0v.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-a1bz86dw.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./wellknown-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: () => Service34,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node39,
|
|
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 Service34 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
|
-
var source = (entry) =>
|
|
65
|
-
key:
|
|
64
|
+
var source = (entry) => make20({
|
|
65
|
+
key: Key3.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,8 +75,8 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
79
|
-
const { db } = yield*
|
|
78
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
79
|
+
const { db } = yield* Service80;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
82
82
|
key: InstructionEntryTable2.key,
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service28, 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 Service34.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node39 = makeLocationNode({ service: Service34, layer, deps: [node85] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service34, node39, exports_instruction_entry };
|
|
@@ -4,28 +4,28 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-x43y2vfs.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./wellknown-kg06axw8.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service40,
|
|
17
|
+
node44
|
|
18
|
+
} from "./wellknown-vxwzppst.js";
|
|
19
19
|
import {
|
|
20
20
|
Service73,
|
|
21
21
|
node78
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./wellknown-jj63jgrn.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./wellknown-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
@@ -35,10 +35,10 @@ __export(exports_tool, {
|
|
|
35
35
|
Error: () => Error3,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service39,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node43
|
|
42
42
|
});
|
|
43
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";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service39 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
56
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
57
57
|
const hooks = yield* Service73;
|
|
58
|
-
const image = yield*
|
|
58
|
+
const image = yield* Service40;
|
|
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/"))
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
180
180
|
error: error.message
|
|
181
181
|
}), { discard: true })
|
|
182
182
|
});
|
|
183
|
-
return
|
|
183
|
+
return Service39.of({
|
|
184
184
|
transform: state.transform,
|
|
185
185
|
reload: state.reload,
|
|
186
186
|
snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
|
|
@@ -262,10 +262,10 @@ function namespaceError(name) {
|
|
|
262
262
|
return;
|
|
263
263
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
264
264
|
}
|
|
265
|
-
var
|
|
266
|
-
service:
|
|
265
|
+
var node43 = makeLocationNode({
|
|
266
|
+
service: Service39,
|
|
267
267
|
layer,
|
|
268
|
-
deps: [node78,
|
|
268
|
+
deps: [node78, node44]
|
|
269
269
|
});
|
|
270
270
|
|
|
271
|
-
export { RegistrationError2,
|
|
271
|
+
export { RegistrationError2, Service39, node43, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./wellknown-th16xtyn.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-a1tpkmh4.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input7,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin26,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name7
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name7 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input7 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input6 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input7.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin26 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service64;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name7,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description4,
|
|
104
|
+
input: Input7,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin20 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name7,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name7, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input7, Plugin26, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,114 +1,114 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./wellknown-ajq9kf1a.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
ID12,
|
|
7
|
+
Service71,
|
|
8
|
+
node76
|
|
9
|
+
} from "./wellknown-w10k0mk6.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service67,
|
|
12
|
+
node72
|
|
13
|
+
} from "./wellknown-cx9z24qy.js";
|
|
14
14
|
import {
|
|
15
15
|
combine2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./wellknown-rhjbct0v.js";
|
|
17
17
|
import {
|
|
18
18
|
make13
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./wellknown-qek8dtx8.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service42,
|
|
22
|
+
node46
|
|
23
|
+
} from "./wellknown-eg7325wb.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service75,
|
|
26
|
+
node80
|
|
27
|
+
} from "./wellknown-4f40xxt9.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service30,
|
|
30
|
+
node34
|
|
31
|
+
} from "./wellknown-92ceydex.js";
|
|
32
32
|
import {
|
|
33
33
|
AgentNotFoundError2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./wellknown-nf8nzb7g.js";
|
|
35
35
|
import {
|
|
36
36
|
provenance2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./wellknown-06dxphr1.js";
|
|
38
38
|
import {
|
|
39
39
|
entriesForRunner2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./wellknown-0rzpb8gt.js";
|
|
41
41
|
import {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
} from "./
|
|
42
|
+
Service65,
|
|
43
|
+
node70
|
|
44
|
+
} from "./wellknown-eg418mx6.js";
|
|
45
45
|
import {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
46
|
+
Service39,
|
|
47
|
+
node43
|
|
48
|
+
} from "./wellknown-dhnpxtn3.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
} from "./
|
|
50
|
+
Service35,
|
|
51
|
+
node40
|
|
52
|
+
} from "./wellknown-5hjhdcrb.js";
|
|
53
53
|
import {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
} from "./
|
|
54
|
+
Service27,
|
|
55
|
+
node31
|
|
56
|
+
} from "./wellknown-pwzt2dd6.js";
|
|
57
57
|
import {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./
|
|
58
|
+
Service28,
|
|
59
|
+
node32
|
|
60
|
+
} from "./wellknown-m8vs919j.js";
|
|
61
61
|
import {
|
|
62
62
|
Service29,
|
|
63
63
|
node33
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./wellknown-5b5zdayx.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
} from "./
|
|
66
|
+
Service34,
|
|
67
|
+
node39
|
|
68
|
+
} from "./wellknown-dhh9g715.js";
|
|
69
69
|
import {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
} from "./
|
|
70
|
+
Service31,
|
|
71
|
+
node35
|
|
72
|
+
} from "./wellknown-q8p9236r.js";
|
|
73
73
|
import {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
} from "./
|
|
74
|
+
Service59,
|
|
75
|
+
node64
|
|
76
|
+
} from "./wellknown-c8x8zcz1.js";
|
|
77
77
|
import {
|
|
78
78
|
__export
|
|
79
|
-
} from "./
|
|
79
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
80
80
|
|
|
81
81
|
// src/session/context.ts
|
|
82
82
|
var exports_context = {};
|
|
83
83
|
__export(exports_context, {
|
|
84
|
-
Service: () =>
|
|
84
|
+
Service: () => Service26,
|
|
85
85
|
SessionContext: () => exports_context,
|
|
86
|
-
node: () =>
|
|
86
|
+
node: () => node30
|
|
87
87
|
});
|
|
88
88
|
import { Model } from "@opencode/schema/model";
|
|
89
89
|
import { Context, Effect, Layer } from "effect";
|
|
90
90
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
91
|
-
class
|
|
91
|
+
class Service26 extends Context.Service()("@opencode/SessionContext") {
|
|
92
92
|
}
|
|
93
|
-
var layer = Layer.effect(
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const builtins = yield*
|
|
96
|
-
const catalog = yield*
|
|
97
|
-
const db = (yield*
|
|
98
|
-
const discovery = yield*
|
|
99
|
-
const entries = yield*
|
|
100
|
-
const location = yield*
|
|
101
|
-
const mcpInstructions = yield*
|
|
102
|
-
const mcpTools = yield*
|
|
103
|
-
const models = yield*
|
|
104
|
-
const modelRequests = yield*
|
|
105
|
-
const referenceInstructions = yield*
|
|
93
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
94
|
+
const agents = yield* Service71;
|
|
95
|
+
const builtins = yield* Service30;
|
|
96
|
+
const catalog = yield* Service67;
|
|
97
|
+
const db = (yield* Service80).db;
|
|
98
|
+
const discovery = yield* Service42;
|
|
99
|
+
const entries = yield* Service34;
|
|
100
|
+
const location = yield* Service75;
|
|
101
|
+
const mcpInstructions = yield* Service27;
|
|
102
|
+
const mcpTools = yield* Service35;
|
|
103
|
+
const models = yield* Service59;
|
|
104
|
+
const modelRequests = yield* Service31;
|
|
105
|
+
const referenceInstructions = yield* Service28;
|
|
106
106
|
const skillInstructions = yield* Service29;
|
|
107
|
-
const store = yield*
|
|
108
|
-
const registry = yield*
|
|
107
|
+
const store = yield* Service65;
|
|
108
|
+
const registry = yield* Service39;
|
|
109
109
|
const resolveModel = (session) => models.resolve(session, catalog.model.available);
|
|
110
110
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
111
|
-
const agent = yield* agents.get(
|
|
111
|
+
const agent = yield* agents.get(ID12.make("title"));
|
|
112
112
|
if (!agent)
|
|
113
113
|
return;
|
|
114
114
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -183,29 +183,29 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
183
183
|
tools: selection.tools
|
|
184
184
|
};
|
|
185
185
|
});
|
|
186
|
-
return
|
|
186
|
+
return Service26.of({ select, load, resolveModel, selectTitle, prepare: modelRequests.prepare });
|
|
187
187
|
}));
|
|
188
188
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => Model.VariantID.make(id));
|
|
189
|
-
var
|
|
190
|
-
service:
|
|
189
|
+
var node30 = makeLocationNode({
|
|
190
|
+
service: Service26,
|
|
191
191
|
layer,
|
|
192
192
|
deps: [
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
node27,
|
|
197
|
-
node69,
|
|
198
|
-
node32,
|
|
199
|
-
node79,
|
|
193
|
+
node76,
|
|
194
|
+
node72,
|
|
195
|
+
node85,
|
|
200
196
|
node34,
|
|
197
|
+
node46,
|
|
198
|
+
node39,
|
|
199
|
+
node80,
|
|
200
|
+
node31,
|
|
201
|
+
node40,
|
|
202
|
+
node32,
|
|
203
|
+
node64,
|
|
201
204
|
node35,
|
|
202
|
-
|
|
203
|
-
node43,
|
|
204
|
-
node29,
|
|
205
|
-
node75,
|
|
205
|
+
node70,
|
|
206
206
|
node33,
|
|
207
|
-
|
|
207
|
+
node43
|
|
208
208
|
]
|
|
209
209
|
});
|
|
210
210
|
|
|
211
|
-
export {
|
|
211
|
+
export { Service26, node30, exports_context };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./wellknown-kbv6dgc6.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-1smgb78j.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError3,
|
|
20
|
+
Options: () => Options4,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
22
|
+
Service: () => Service22,
|
|
23
|
+
UnavailableError: () => UnavailableError2,
|
|
24
|
+
configured: () => configured4,
|
|
25
|
+
layer: () => layer10,
|
|
26
|
+
node: () => node26
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,22 +35,22 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service22 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service79;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
56
56
|
const runFork = Effect.runForkWith(context);
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service76, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service76, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service76, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service22.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service76, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
262
|
-
deps: [
|
|
258
|
+
var layer10 = makeLayer();
|
|
259
|
+
var configured4 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service22,
|
|
261
|
+
layer: options === undefined ? layer10 : makeLayer(options),
|
|
262
|
+
deps: [node84, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node26 = configured4();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options4, UnavailableError2, NotFoundError3, Service22, layer10, configured4, node26, exports_persistent_pty, Handoff2 };
|