@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,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./wellknown-kbv6dgc6.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event19
|
|
7
|
+
} from "./wellknown-kdpy9gz7.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID10,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-t5t85r32.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID15,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./wellknown-2d6j2h4j.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/provider/opencode.ts
|
|
19
19
|
import { Duration, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -43,7 +43,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
43
43
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
44
44
|
function oauth(http) {
|
|
45
45
|
return {
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID10.make("opencode"),
|
|
47
47
|
method: {
|
|
48
48
|
id: methodID,
|
|
49
49
|
type: "oauth",
|
|
@@ -84,7 +84,7 @@ function oauth(http) {
|
|
|
84
84
|
var OpencodePlugin2 = define({
|
|
85
85
|
id: "opencode.provider.opencode",
|
|
86
86
|
effect: Effect.fn(function* (ctx) {
|
|
87
|
-
const bus = yield*
|
|
87
|
+
const bus = yield* Service79;
|
|
88
88
|
const http = yield* HttpClient.HttpClient;
|
|
89
89
|
const loading = Semaphore.makeUnsafe(1);
|
|
90
90
|
let connected = false;
|
|
@@ -111,7 +111,7 @@ var OpencodePlugin2 = define({
|
|
|
111
111
|
catalog.provider.update(providerID, (provider) => {
|
|
112
112
|
if (source && source.provider !== provider)
|
|
113
113
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
114
|
-
provider.integrationID =
|
|
114
|
+
provider.integrationID = ID10.make("opencode");
|
|
115
115
|
if (item.canonical !== undefined)
|
|
116
116
|
provider.canonical = item.canonical;
|
|
117
117
|
if (item.name !== undefined)
|
|
@@ -174,7 +174,7 @@ var OpencodePlugin2 = define({
|
|
|
174
174
|
});
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
|
-
const item = catalog.provider.get(
|
|
177
|
+
const item = catalog.provider.get(ID15.opencode);
|
|
178
178
|
if (!item)
|
|
179
179
|
return;
|
|
180
180
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || connected || item.provider.settings?.apiKey);
|
|
@@ -195,7 +195,7 @@ var OpencodePlugin2 = define({
|
|
|
195
195
|
}
|
|
196
196
|
});
|
|
197
197
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
198
|
-
yield* bus.subscribe(
|
|
198
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
function fetchProviders(http, value) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-86hz29wt.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./wellknown-kbv6dgc6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service56,
|
|
6
|
+
Event13
|
|
7
|
+
} from "./wellknown-kb2g279d.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin19,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin19 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service79;
|
|
24
|
+
const wellknown = yield* Service56;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin44 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin19, exports_plugin };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./wellknown-ajq9kf1a.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-y71avatq.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service79,
|
|
10
|
+
node84
|
|
11
|
+
} from "./wellknown-kbv6dgc6.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./wellknown-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./wellknown-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./wellknown-7wdjtyr9.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./wellknown-a1bz86dw.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info21,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service60,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
49
|
-
list: () =>
|
|
50
|
-
make: () =>
|
|
48
|
+
layer: () => layer23,
|
|
49
|
+
list: () => list4,
|
|
50
|
+
make: () => make19,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node65,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info21,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service60 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
157
|
-
const database = yield*
|
|
156
|
+
var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
|
+
const database = yield* Service80;
|
|
158
158
|
const db = database.db;
|
|
159
|
-
const bus = yield*
|
|
159
|
+
const bus = yield* Service79;
|
|
160
160
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
161
161
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
162
162
|
if (existing === undefined)
|
|
@@ -173,7 +173,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info21.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
timeCreated: DateTime.makeUnsafe(event.created),
|
|
@@ -193,7 +193,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
193
193
|
}
|
|
194
194
|
if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
|
|
195
195
|
return yield* new LifecycleConflict2({ id: input.id });
|
|
196
|
-
const pending = (yield*
|
|
196
|
+
const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
|
|
197
197
|
if (pending)
|
|
198
198
|
return pending;
|
|
199
199
|
return yield* admit({
|
|
@@ -218,7 +218,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
218
218
|
delivery: "queue"
|
|
219
219
|
})));
|
|
220
220
|
return {
|
|
221
|
-
list: (sessionID) =>
|
|
221
|
+
list: (sessionID) => list4(db, sessionID),
|
|
222
222
|
reconcile,
|
|
223
223
|
admit,
|
|
224
224
|
admitCompaction,
|
|
@@ -227,8 +227,8 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer23 = Layer.effect(Service60, make19());
|
|
231
|
+
var node65 = makeGlobalNode({ service: Service60, layer: layer23, deps: [node85, node84] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
|
|
|
266
266
|
from: input.delivery === "steer" ? "queue" : "steer",
|
|
267
267
|
to: input.delivery
|
|
268
268
|
}));
|
|
269
|
-
var
|
|
269
|
+
var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
|
|
270
270
|
const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
|
|
271
271
|
return rows.map(fromRow);
|
|
272
272
|
});
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info21, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service60, make19, layer23, node65, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-rvyy05ds.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID15,
|
|
6
6
|
isAISDK2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-2d6j2h4j.js";
|
|
8
8
|
import {
|
|
9
9
|
iife2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-1kg9ymc8.js";
|
|
11
11
|
import {
|
|
12
12
|
configuredSettings2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-s9c35a17.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
16
16
|
import os from "os";
|
|
17
17
|
import { Effect } from "effect";
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Form } from "@opencode/schema/form";
|
|
20
|
-
var providerID =
|
|
20
|
+
var providerID = ID15.make("cloudflare-workers-ai");
|
|
21
21
|
var CloudflareWorkersAIPlugin2 = define({
|
|
22
22
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
23
23
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./wellknown-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options9,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options9 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options9]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options9, Spec2, exports_plugin3 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
toSessionError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-0fey9sjf.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make6,
|
|
17
17
|
policy: () => policy2,
|
|
18
18
|
transient: () => transient2
|
|
19
19
|
});
|
|
@@ -96,7 +96,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
|
|
|
96
96
|
return true;
|
|
97
97
|
})
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var make6 = (bus, sessionID) => Effect.gen(function* () {
|
|
100
100
|
const decide = yield* policy2(sessionID);
|
|
101
101
|
const wait = (input) => Effect.gen(function* () {
|
|
102
102
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -113,4 +113,4 @@ var make8 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
113
113
|
return { decide, wait };
|
|
114
114
|
});
|
|
115
115
|
|
|
116
|
-
export { isRetryable2, policy2, transient2,
|
|
116
|
+
export { isRetryable2, policy2, transient2, make6, exports_retry };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-2d6j2h4j.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service70,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node75
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
131
|
-
providerID:
|
|
131
|
+
providerID: ID15,
|
|
132
132
|
cause: Schema.Defect()
|
|
133
133
|
}) {
|
|
134
134
|
}
|
|
@@ -136,9 +136,9 @@ function initError(providerID) {
|
|
|
136
136
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class Service70 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service70, Effect.gen(function* () {
|
|
142
142
|
let sdkHooks = [];
|
|
143
143
|
let languageHooks = [];
|
|
144
144
|
const languages = new Map;
|
|
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service70.of({
|
|
180
180
|
hook: {
|
|
181
181
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
182
182
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -809,6 +809,6 @@ function providerErrorMessage(error) {
|
|
|
809
809
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
810
810
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
811
811
|
}
|
|
812
|
-
var
|
|
812
|
+
var node75 = makeLocationNode({ service: Service70, layer: locationLayer2, deps: [] });
|
|
813
813
|
|
|
814
|
-
export { InitError2,
|
|
814
|
+
export { InitError2, Service70, locationLayer2, node75, exports_aisdk };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./wellknown-kbv6dgc6.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event17,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID11,
|
|
20
|
+
Info: () => Info25,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError9,
|
|
24
|
+
Reply: () => Reply3,
|
|
25
|
+
Service: () => Service69,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer25,
|
|
29
|
+
node: () => node74,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event17 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID11 = Form.ID;
|
|
39
|
+
var Info25 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID11
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError6 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID11
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID11
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID11,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service69 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer25 = Layer.effect(Service69, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service79;
|
|
86
86
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
87
87
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
88
88
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
89
89
|
});
|
|
90
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
90
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError9({ id })))));
|
|
91
91
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
92
|
-
const id = input.id ??
|
|
92
|
+
const id = input.id ?? ID11.create();
|
|
93
93
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
94
94
|
if (Option.isSome(existing))
|
|
95
95
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -153,9 +153,9 @@ var layer21 = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
153
153
|
yield* Deferred.succeed(entry.deferred, next);
|
|
154
154
|
})));
|
|
155
155
|
yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
|
|
156
|
-
return
|
|
156
|
+
return Service69.of({ create, ask, get, list, state, reply, cancel });
|
|
157
157
|
}));
|
|
158
|
-
var
|
|
158
|
+
var node74 = makeLocationNode({ service: Service69, layer: layer25, deps: [node84] });
|
|
159
159
|
function validateAnswer2(form, answer) {
|
|
160
160
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
161
161
|
for (const key of Object.keys(answer)) {
|
|
@@ -307,4 +307,4 @@ function isDateTime(value) {
|
|
|
307
307
|
return !Number.isNaN(new Date(value).getTime());
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
export {
|
|
310
|
+
export { ID11, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError9, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service69, layer25, node74, validateAnswer2, validateFields2, exports_form, Event17 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID18 = Session.ID;
|
|
5
|
+
var Info33 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID18, Info33, SessionSchema2 };
|