@opencode/core 0.0.0-dev-21798 → 0.0.0-dev-21799
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 +87 -87
- package/dist/aisdk-native.js +94 -94
- package/dist/aisdk.js +100 -100
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{model-retry-aj7mw0zk.js → bus-034tev2y.js} +2 -2
- package/dist/chunks/{model-retry-7bk0syww.js → bus-0fpq4f58.js} +11 -11
- package/dist/chunks/{model-retry-tasvem1v.js → bus-0ks2n9jf.js} +6 -6
- package/dist/chunks/{model-retry-5p205wab.js → bus-0p88zpcm.js} +4 -4
- package/dist/chunks/{model-retry-dh62xe4r.js → bus-0ss1ygn7.js} +3 -3
- package/dist/chunks/{model-retry-zmwx25fz.js → bus-0w2jttgf.js} +2 -2
- package/dist/chunks/{model-retry-gchkqpys.js → bus-0washmxq.js} +3 -3
- package/dist/chunks/{model-retry-tg1vr1qt.js → bus-160yv0cs.js} +8 -8
- package/dist/chunks/{model-retry-twpa8r42.js → bus-1bfxbsya.js} +30 -30
- package/dist/chunks/{model-retry-27w5k9zf.js → bus-1ep2p91f.js} +2 -2
- package/dist/chunks/{model-retry-d51kxexq.js → bus-1j9syxkg.js} +2 -2
- package/dist/chunks/{model-retry-r7qbvbca.js → bus-1k7qz9q5.js} +12 -12
- package/dist/chunks/{model-retry-5z33grs6.js → bus-1kashhxp.js} +20 -20
- package/dist/chunks/{model-retry-yk6hg7py.js → bus-1njsdcyp.js} +16 -16
- package/dist/chunks/{model-retry-pbb834xc.js → bus-1pszgch9.js} +6 -6
- package/dist/chunks/{model-retry-wcbhfjrd.js → bus-1w9k09te.js} +22 -22
- package/dist/chunks/{model-retry-1x2knyw4.js → bus-1x2knyw4.js} +1 -1
- package/dist/chunks/{model-retry-1yq9hg58.js → bus-1yq9hg58.js} +1 -1
- package/dist/chunks/{model-retry-3vz2yars.js → bus-21g64681.js} +32 -32
- package/dist/chunks/{model-retry-qnm4ee5f.js → bus-21pdxbx2.js} +3 -3
- package/dist/chunks/{model-retry-9rm0bcgy.js → bus-2665jbwr.js} +15 -15
- package/dist/chunks/{model-retry-8kcbfhnp.js → bus-2bev0qfp.js} +11 -11
- package/dist/chunks/{model-retry-khgyexzf.js → bus-2d6j2x8s.js} +46 -46
- package/dist/chunks/{model-retry-c5ncm6k8.js → bus-2eq3kb9b.js} +26 -26
- package/dist/chunks/{model-retry-050d3ay8.js → bus-2hsj2n0v.js} +21 -21
- package/dist/chunks/{model-retry-64t4yar7.js → bus-2jrcf1tj.js} +9 -9
- package/dist/chunks/{model-retry-jd2vyc00.js → bus-2jtphcac.js} +17 -17
- package/dist/chunks/{model-retry-1y0wdj51.js → bus-2kg89srt.js} +9 -9
- package/dist/chunks/{model-retry-2z1j29yd.js → bus-2z1j29yd.js} +1 -1
- package/dist/chunks/{model-retry-v6h5bgwd.js → bus-31wms35x.js} +8 -8
- package/dist/chunks/{model-retry-rvbz23xa.js → bus-32dt8sm6.js} +10 -10
- package/dist/chunks/{model-retry-799ckdtf.js → bus-32s59e8p.js} +9 -9
- package/dist/chunks/{model-retry-mn4sstjx.js → bus-33zxs5g9.js} +4 -4
- package/dist/chunks/{model-retry-rs3s0t58.js → bus-34mc4f69.js} +24 -24
- package/dist/chunks/{model-retry-ewr5k9wg.js → bus-38xznjs4.js} +5 -5
- package/dist/chunks/bus-39h0ag18.js +26 -0
- package/dist/chunks/{model-retry-d0pkz9h4.js → bus-3amawdtd.js} +14 -14
- package/dist/chunks/{model-retry-pg8x00ch.js → bus-3f2zwfeg.js} +4 -4
- package/dist/chunks/{model-retry-17r689qp.js → bus-3f6xt6nq.js} +30 -30
- package/dist/chunks/{model-retry-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-retry-tmc7xdjs.js → bus-3nnrz6f6.js} +4 -4
- package/dist/chunks/{model-retry-8gbe608w.js → bus-45szfbjt.js} +14 -14
- package/dist/chunks/{model-retry-5v8dvpa5.js → bus-4a6yhs14.js} +2 -2
- package/dist/chunks/{model-retry-b8d6cdec.js → bus-4gr5td8y.js} +17 -17
- package/dist/chunks/{model-retry-nrch4egb.js → bus-4hmqv3dg.js} +25 -25
- package/dist/chunks/{model-retry-88kypjvy.js → bus-4tqs0jzk.js} +4 -4
- package/dist/chunks/{model-retry-4v008n1t.js → bus-4v008n1t.js} +1 -1
- package/dist/chunks/{model-retry-7yp67vww.js → bus-4vh1jrr3.js} +16 -16
- package/dist/chunks/{model-retry-376fvw41.js → bus-50gfh4d7.js} +16 -16
- package/dist/chunks/{model-retry-0wwnb14f.js → bus-575d3vht.js} +22 -22
- package/dist/chunks/{model-retry-mbvs8a24.js → bus-5a5619qn.js} +17 -17
- package/dist/chunks/{model-retry-ynqg5bhp.js → bus-5gxhssq1.js} +6 -6
- package/dist/chunks/{model-retry-vqbn6xdq.js → bus-5jyzdfdp.js} +1 -1
- package/dist/chunks/{model-retry-5m9w47nd.js → bus-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-retry-cxy24jbt.js → bus-5p32nay5.js} +28 -28
- package/dist/chunks/{model-retry-7emqhgyb.js → bus-5wp410p3.js} +18 -18
- package/dist/chunks/{model-retry-jzgdpz6y.js → bus-6020gc76.js} +35 -35
- package/dist/chunks/{model-retry-4xkwq58b.js → bus-623n6t0x.js} +24 -24
- package/dist/chunks/bus-6bshxcsx.js +18 -0
- package/dist/chunks/{model-retry-6esdw8yj.js → bus-6esdw8yj.js} +1 -1
- package/dist/chunks/{model-retry-6pjqjmy2.js → bus-6pjqjmy2.js} +1 -1
- package/dist/chunks/{model-retry-wy6akpvc.js → bus-6r1jx35z.js} +7 -7
- package/dist/chunks/{model-retry-jcqm84fr.js → bus-6twykydk.js} +9 -9
- package/dist/chunks/{model-retry-3kdbrncp.js → bus-6xqtcmxs.js} +5 -5
- package/dist/chunks/{model-retry-76cb1hcw.js → bus-76cb1hcw.js} +1 -1
- package/dist/chunks/{model-retry-kvzw13zf.js → bus-7asyzf2g.js} +3 -3
- package/dist/chunks/{model-retry-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-retry-7wy00epp.js → bus-7gvxqv4d.js} +26 -26
- package/dist/chunks/{model-retry-da6nt20h.js → bus-7j2sygsw.js} +9 -9
- package/dist/chunks/{model-retry-3rvfd2p4.js → bus-7nvnk78q.js} +33 -33
- package/dist/chunks/{model-retry-3459c4aq.js → bus-7nw9b7yf.js} +17 -17
- package/dist/chunks/{model-retry-etshtsr8.js → bus-7rag2784.js} +5 -5
- package/dist/chunks/{model-retry-7w2ypzdf.js → bus-7w2ypzdf.js} +1 -1
- package/dist/chunks/{model-retry-ayrf2aj2.js → bus-828gze2h.js} +18 -18
- package/dist/chunks/{model-retry-3j5fsnm8.js → bus-8314gx8s.js} +67 -67
- package/dist/chunks/{model-retry-cxnqxqrv.js → bus-878x64va.js} +85 -85
- package/dist/chunks/{model-retry-hhmywts7.js → bus-87bd8ecw.js} +8 -8
- package/dist/chunks/{model-retry-z1n0gzr1.js → bus-8czeycrx.js} +12 -12
- package/dist/chunks/{model-retry-1v37p8m9.js → bus-8dg1xc6q.js} +3 -3
- package/dist/chunks/{model-retry-x1q34xva.js → bus-8dh0vs4v.js} +2 -2
- package/dist/chunks/{model-retry-xj5efqxa.js → bus-8fwy8ndr.js} +8 -8
- package/dist/chunks/{model-retry-w92g60gw.js → bus-8k2rgs9p.js} +21 -21
- package/dist/chunks/{model-retry-y6haqydp.js → bus-8mgvafr1.js} +5 -5
- package/dist/chunks/{model-retry-b5sxz6p8.js → bus-8sz8b50m.js} +4 -4
- package/dist/chunks/{model-retry-1cmbb7v6.js → bus-8tgysywa.js} +35 -35
- package/dist/chunks/{model-retry-8wtp7s3z.js → bus-8wtp7s3z.js} +1 -1
- package/dist/chunks/{model-retry-pkyxh230.js → bus-8xq71q48.js} +2 -2
- package/dist/chunks/{model-retry-91rj84md.js → bus-91rj84md.js} +1 -1
- package/dist/chunks/{model-retry-0ht9hdz1.js → bus-92kck2y6.js} +17 -17
- package/dist/chunks/{model-retry-3qxfjpzy.js → bus-938aw1cc.js} +24 -24
- package/dist/chunks/{model-retry-g211t61s.js → bus-944chywr.js} +1 -1
- package/dist/chunks/{model-retry-dvj9ct8m.js → bus-998yhzzq.js} +3 -3
- package/dist/chunks/{model-retry-szchc02d.js → bus-9bhv2far.js} +8 -8
- package/dist/chunks/{model-retry-fwhyb0gq.js → bus-9ewhr0ht.js} +16 -16
- package/dist/chunks/{model-retry-xynhjj0h.js → bus-9n059q0a.js} +15 -15
- package/dist/chunks/{model-retry-zd3qvcwp.js → bus-9n0km4x2.js} +11 -11
- package/dist/chunks/{model-retry-0xhfrmwt.js → bus-9qx86p98.js} +23 -23
- package/dist/chunks/{model-retry-p79cjfbn.js → bus-9s68rp0p.js} +19 -19
- package/dist/chunks/{model-retry-nhe1yga1.js → bus-a93vqh6w.js} +21 -21
- package/dist/chunks/{model-retry-73rh2vq1.js → bus-acb1b57m.js} +22 -22
- package/dist/chunks/{model-retry-e3fssm85.js → bus-aemg0w6p.js} +17 -17
- package/dist/chunks/{model-retry-hdfrs5mg.js → bus-af0k6e03.js} +9 -9
- package/dist/chunks/{model-retry-36qx82yz.js → bus-agqd6nxz.js} +2 -2
- package/dist/chunks/{model-retry-5h6jm490.js → bus-akqrtxca.js} +9 -9
- package/dist/chunks/{model-retry-tvf154dx.js → bus-an9c9kb2.js} +12 -12
- package/dist/chunks/{model-retry-3cbjf1nt.js → bus-ayjs7tqn.js} +2 -2
- package/dist/chunks/{model-retry-vhqwr51r.js → bus-az9wb5vh.js} +11 -11
- package/dist/chunks/{model-retry-j9gz35am.js → bus-b0bk1qcn.js} +20 -20
- package/dist/chunks/{model-retry-b0mv4wxm.js → bus-b0mv4wxm.js} +2 -2
- package/dist/chunks/{model-retry-kzhqem7y.js → bus-b6a9raah.js} +27 -27
- package/dist/chunks/{model-retry-5nnwax6m.js → bus-b6vsg801.js} +5 -5
- package/dist/chunks/{model-retry-bstexjd6.js → bus-bstexjd6.js} +1 -1
- package/dist/chunks/{model-retry-z7ttk5hb.js → bus-bxet2tb6.js} +5 -5
- package/dist/chunks/{model-retry-qqg9c0kv.js → bus-c6x7d2ts.js} +4 -4
- package/dist/chunks/{model-retry-cnhc66rt.js → bus-c75w93q9.js} +42 -42
- package/dist/chunks/{model-retry-7xj3j87d.js → bus-cb2ed4nn.js} +24 -24
- package/dist/chunks/{model-retry-t08j0hgd.js → bus-cfbvvs1c.js} +12 -12
- package/dist/chunks/{model-retry-vewr63hq.js → bus-cg98qzes.js} +25 -25
- package/dist/chunks/{model-retry-mykzpx85.js → bus-ck5p2rrt.js} +6 -6
- package/dist/chunks/{model-retry-x6w9baef.js → bus-cmqmfdz6.js} +19 -19
- package/dist/chunks/{model-retry-7yj2t834.js → bus-cw3xprgn.js} +21 -21
- package/dist/chunks/{model-retry-r621r93h.js → bus-d2r03a97.js} +3 -3
- package/dist/chunks/{model-retry-a7hcemwv.js → bus-d390zwf3.js} +11 -11
- package/dist/chunks/{model-retry-d4v9tmah.js → bus-d4v9tmah.js} +2 -2
- package/dist/chunks/{model-retry-g4hhz492.js → bus-d7ke2zsv.js} +35 -35
- package/dist/chunks/{model-retry-e4159ryx.js → bus-dbx6pzfq.js} +8 -8
- package/dist/chunks/{model-retry-6g7mppbr.js → bus-djxd8yth.js} +9 -9
- package/dist/chunks/{model-retry-m5vt6my1.js → bus-ds7crdch.js} +4 -4
- package/dist/chunks/{model-retry-3njs8ewd.js → bus-dt400r1m.js} +5 -5
- package/dist/chunks/{model-retry-d2p1wmw4.js → bus-dwasj5q9.js} +1 -1
- package/dist/chunks/{model-retry-k60f6tvy.js → bus-dyjhv7x6.js} +22 -22
- package/dist/chunks/{model-retry-z9x3jvcw.js → bus-e1ebsv1y.js} +10 -10
- package/dist/chunks/{model-retry-5qd3pb7m.js → bus-e3qxr5gk.js} +2 -2
- package/dist/chunks/{model-retry-jneg3k74.js → bus-e5dqjz6v.js} +4 -4
- package/dist/chunks/{model-retry-pr8acd8t.js → bus-e5qvdp4b.js} +36 -36
- package/dist/chunks/{model-retry-z1ydadez.js → bus-e76r8gh4.js} +9 -9
- package/dist/chunks/{model-retry-e834z07m.js → bus-e834z07m.js} +1 -1
- package/dist/chunks/{model-retry-wrhwm553.js → bus-ehpc9aq8.js} +20 -20
- package/dist/chunks/{model-retry-17tax46a.js → bus-era634b9.js} +16 -16
- package/dist/chunks/{model-retry-yk4w5znd.js → bus-evk4ejbw.js} +10 -10
- package/dist/chunks/{model-retry-q44gb8fn.js → bus-evxg6w44.js} +46 -46
- package/dist/chunks/{model-retry-hhnqmbew.js → bus-f026ckt4.js} +175 -175
- package/dist/chunks/{model-retry-gs55zvzx.js → bus-f29p2v8h.js} +28 -28
- package/dist/chunks/{model-retry-8tm9bnq5.js → bus-f2e2a0hz.js} +11 -11
- package/dist/chunks/{model-retry-7zhd4cey.js → bus-fbeje3j4.js} +10 -10
- package/dist/chunks/{model-retry-fffv3p7h.js → bus-fffv3p7h.js} +1 -1
- package/dist/chunks/{model-retry-j8e92swm.js → bus-fj5cqmpq.js} +41 -41
- package/dist/chunks/{model-retry-z18nf20h.js → bus-frvfbmdp.js} +9 -9
- package/dist/chunks/{model-retry-e207k1f0.js → bus-fya0vmjt.js} +10 -10
- package/dist/chunks/{model-retry-sn0f3s8q.js → bus-g1tbcgaf.js} +15 -15
- package/dist/chunks/{model-retry-g5h9c0rr.js → bus-g5h9c0rr.js} +2 -2
- package/dist/chunks/{model-retry-sp6zazaz.js → bus-gq5fh3wz.js} +20 -20
- package/dist/chunks/{model-retry-3rc6xfjm.js → bus-gs8m0426.js} +10 -10
- package/dist/chunks/{model-retry-nm0eb3mq.js → bus-gyz363jb.js} +20 -20
- package/dist/chunks/{model-retry-67q20rmp.js → bus-h7qqxn3z.js} +5 -5
- package/dist/chunks/{model-retry-9nn8g4z9.js → bus-h8vhq97h.js} +21 -21
- package/dist/chunks/{model-retry-y7qvxgn7.js → bus-hew6naq5.js} +11 -11
- package/dist/chunks/{model-retry-hgyk1m6z.js → bus-hj7n8j55.js} +3 -3
- package/dist/chunks/{model-retry-8krtskbq.js → bus-hxbrq7ky.js} +15 -15
- package/dist/chunks/{model-retry-pkv4aqak.js → bus-hyqz6d44.js} +8 -8
- package/dist/chunks/{model-retry-msz72xyj.js → bus-j01hj8py.js} +2 -2
- package/dist/chunks/{model-retry-j113cymg.js → bus-j113cymg.js} +1 -1
- package/dist/chunks/{model-retry-shbma2nf.js → bus-j7naznmb.js} +15 -15
- package/dist/chunks/{model-retry-wyzx5psy.js → bus-jbp3fq04.js} +14 -14
- package/dist/chunks/{model-retry-r2r52ss0.js → bus-jmwryt6t.js} +8 -8
- package/dist/chunks/{model-retry-xrc3640n.js → bus-jphwvgs8.js} +8 -8
- package/dist/chunks/{model-retry-cyyydscs.js → bus-jsfyz6c7.js} +24 -24
- package/dist/chunks/{model-retry-hwdnhv43.js → bus-k2abm4dq.js} +30 -30
- package/dist/chunks/{model-retry-6nwz34t5.js → bus-k7dpec9v.js} +14 -14
- package/dist/chunks/{model-retry-k814nvkf.js → bus-k814nvkf.js} +1 -1
- package/dist/chunks/{model-retry-456hh3yw.js → bus-ka01146j.js} +6 -6
- package/dist/chunks/{model-retry-n2crsrfc.js → bus-kasrxtf2.js} +32 -32
- package/dist/chunks/{model-retry-2kw25s9z.js → bus-kd5rhgxk.js} +10 -10
- package/dist/chunks/bus-kf47bq4t.js +517 -0
- package/dist/chunks/{model-retry-kgmyqp0y.js → bus-kjh8rrq6.js} +4 -4
- package/dist/chunks/{model-retry-10jcw8d8.js → bus-ksrgejfs.js} +27 -27
- package/dist/chunks/{model-retry-kt3bjfbg.js → bus-kt3bjfbg.js} +1 -1
- package/dist/chunks/{model-retry-9vfx6p45.js → bus-kwxbdf35.js} +36 -36
- package/dist/chunks/{model-retry-m1714858.js → bus-m1714858.js} +1 -1
- package/dist/chunks/{model-retry-vmfhgzt5.js → bus-m37sd98t.js} +4 -4
- package/dist/chunks/{model-retry-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-retry-maspj1v3.js → bus-maspj1v3.js} +1 -1
- package/dist/chunks/{model-retry-jm1rj8kh.js → bus-mef2v0hb.js} +42 -42
- package/dist/chunks/{model-retry-c361hsxc.js → bus-mjftkp2a.js} +25 -25
- package/dist/chunks/{model-retry-kqerj9ke.js → bus-mkcsh4cz.js} +9 -9
- package/dist/chunks/{model-retry-xxbj3jbs.js → bus-mkdbjcmh.js} +4 -4
- package/dist/chunks/{model-retry-9t2bhtr4.js → bus-mkzms3ra.js} +13 -13
- package/dist/chunks/{model-retry-100payr0.js → bus-mzhk1ssh.js} +12 -12
- package/dist/chunks/{model-retry-n0p0277s.js → bus-n0p0277s.js} +1 -1
- package/dist/chunks/{model-retry-nkr11kdx.js → bus-n2gw1p1h.js} +22 -22
- package/dist/chunks/{model-retry-37sdb7g6.js → bus-n6mnvtfa.js} +26 -26
- package/dist/chunks/{model-retry-4nff539t.js → bus-n8mjpvcm.js} +43 -43
- package/dist/chunks/{model-retry-n9p72mjb.js → bus-n9p72mjb.js} +2 -2
- package/dist/chunks/{model-retry-nah043kf.js → bus-nah043kf.js} +1 -1
- package/dist/chunks/{model-retry-nhqzsk2y.js → bus-nb9f99as.js} +17 -17
- package/dist/chunks/{model-retry-72at9y79.js → bus-nex2766x.js} +15 -15
- package/dist/chunks/{model-retry-yw1ck7zb.js → bus-njsc6rzh.js} +8 -8
- package/dist/chunks/{model-retry-2emwncdy.js → bus-ny95kkac.js} +29 -29
- package/dist/chunks/{model-retry-pes7pnh1.js → bus-nym9wyb3.js} +6 -6
- package/dist/chunks/{model-retry-5snh3nsf.js → bus-nypgcgf3.js} +53 -53
- package/dist/chunks/{model-retry-p015t6z3.js → bus-p015t6z3.js} +2 -2
- package/dist/chunks/{model-retry-9hn5wjvr.js → bus-p4stbfde.js} +23 -23
- package/dist/chunks/bus-paz7j9b8.js +261 -0
- package/dist/chunks/{model-retry-ajxt18t2.js → bus-petq1ecb.js} +10 -10
- package/dist/chunks/{model-retry-72anbrp0.js → bus-pf3djhp1.js} +32 -32
- package/dist/chunks/{model-retry-tf6tm6wa.js → bus-phgcvxz9.js} +11 -11
- package/dist/chunks/{model-retry-ycqv3yh7.js → bus-phpbvyrj.js} +18 -18
- package/dist/chunks/{model-retry-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{model-retry-ykrn0qsh.js → bus-pnwjjc01.js} +14 -14
- package/dist/chunks/{model-retry-0jvkxj1w.js → bus-prkpw7v5.js} +16 -16
- package/dist/chunks/{model-retry-xhywq8xw.js → bus-pxj2herr.js} +19 -19
- package/dist/chunks/{model-retry-8kw3wj8m.js → bus-pzdmxvfw.js} +40 -40
- package/dist/chunks/{model-retry-zjxxcmzt.js → bus-q2w5xen3.js} +10 -10
- package/dist/chunks/{model-retry-4tpkt9ke.js → bus-q9jq76k6.js} +19 -19
- package/dist/chunks/{model-retry-v0yxjjsz.js → bus-qbhbqa7t.js} +52 -52
- package/dist/chunks/{model-retry-mya9fhc3.js → bus-qd8axg02.js} +15 -15
- package/dist/chunks/{model-retry-qjgzc4b4.js → bus-qjgzc4b4.js} +1 -1
- package/dist/chunks/{model-retry-hqdkncv9.js → bus-qygd4nc5.js} +8 -8
- package/dist/chunks/{model-retry-hks9h3jz.js → bus-qzw8kg5z.js} +26 -26
- package/dist/chunks/{model-retry-r0yr0wbs.js → bus-r0yr0wbs.js} +1 -1
- package/dist/chunks/{model-retry-r542h3bh.js → bus-r542h3bh.js} +1 -1
- package/dist/chunks/{model-retry-67szgq6z.js → bus-r8hpns5j.js} +13 -13
- package/dist/chunks/{model-retry-rb9dy4dg.js → bus-rb9dy4dg.js} +1 -1
- package/dist/chunks/{model-retry-gjzc59g1.js → bus-rgwqxpz0.js} +21 -21
- package/dist/chunks/{model-retry-856d8532.js → bus-rmwg6517.js} +20 -20
- package/dist/chunks/{model-retry-rt5dr6hb.js → bus-rt5dr6hb.js} +1 -1
- package/dist/chunks/{model-retry-5j9j26xw.js → bus-s78fym6c.js} +11 -11
- package/dist/chunks/{model-retry-qfdd46e5.js → bus-s7cwnsdq.js} +51 -51
- package/dist/chunks/{model-retry-125y49va.js → bus-s9f1b4gk.js} +11 -11
- package/dist/chunks/{model-retry-sa3fpqfw.js → bus-sa3fpqfw.js} +2 -2
- package/dist/chunks/{model-retry-qzbrb55n.js → bus-skdc7twy.js} +26 -26
- package/dist/chunks/{model-retry-sqjzf8x2.js → bus-sqjzf8x2.js} +1 -1
- package/dist/chunks/{model-retry-b1pn0vxn.js → bus-ssfehs1z.js} +4 -4
- package/dist/chunks/{model-retry-w59prh0j.js → bus-sy8wf0bt.js} +20 -20
- package/dist/chunks/{model-retry-sm74gnkv.js → bus-syn3ds3q.js} +14 -14
- package/dist/chunks/{model-retry-3vdwfrk9.js → bus-t0w4g24n.js} +5 -5
- package/dist/chunks/{model-retry-q9xwq0xc.js → bus-t3z4fh6a.js} +11 -11
- package/dist/chunks/{model-retry-a5pdx5y6.js → bus-ta7bxye8.js} +17 -17
- package/dist/chunks/{model-retry-tczq8hjw.js → bus-tczq8hjw.js} +1 -1
- package/dist/chunks/{model-retry-d22k01at.js → bus-thj7kx78.js} +7 -7
- package/dist/chunks/{model-retry-xzya39d9.js → bus-tkhnpy0n.js} +11 -11
- package/dist/chunks/{model-retry-ng3brtr7.js → bus-trgp8ev6.js} +21 -21
- package/dist/chunks/{model-retry-twv2r8f4.js → bus-twv2r8f4.js} +2 -2
- package/dist/chunks/{model-retry-faa8s968.js → bus-tz3qh6bj.js} +1 -1
- package/dist/chunks/{model-retry-v2r1d0zg.js → bus-v2r1d0zg.js} +1 -1
- package/dist/chunks/{model-retry-z08m45c2.js → bus-v6a3varz.js} +23 -23
- package/dist/chunks/{model-retry-h5yq12sk.js → bus-vb1053xg.js} +5 -5
- package/dist/chunks/{model-retry-vd3b3yk9.js → bus-vd3b3yk9.js} +1 -1
- package/dist/chunks/{model-retry-vrsa97jg.js → bus-vdsw612c.js} +24 -24
- package/dist/chunks/{model-retry-veqvce7d.js → bus-veqvce7d.js} +1 -1
- package/dist/chunks/{model-retry-44kmfwta.js → bus-vjtwvj7e.js} +16 -16
- package/dist/chunks/{model-retry-j2pd7159.js → bus-vqjdwf3w.js} +17 -17
- package/dist/chunks/{model-retry-xsact9zs.js → bus-vsnnaxjq.js} +4 -4
- package/dist/chunks/{model-retry-7r0r50e5.js → bus-vxp3kcg3.js} +5 -5
- package/dist/chunks/{model-retry-w2eysc6j.js → bus-w2eysc6j.js} +2 -2
- package/dist/chunks/{model-retry-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-retry-wakvkjy4.js → bus-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-retry-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{model-retry-61g7nd3s.js → bus-wdv0vama.js} +10 -10
- package/dist/chunks/{model-retry-y6s9gp4k.js → bus-wfcfzn3b.js} +28 -28
- package/dist/chunks/{model-retry-3m5yrge5.js → bus-wqn1yeqd.js} +9 -9
- package/dist/chunks/{model-retry-fznmdakp.js → bus-wr3re1en.js} +4 -4
- package/dist/chunks/{model-retry-n82jt8hg.js → bus-x4kknryj.js} +13 -13
- package/dist/chunks/{model-retry-s499zzzn.js → bus-xbewfx7c.js} +6 -6
- package/dist/chunks/{model-retry-06vpm9gp.js → bus-xdz0a60a.js} +5 -5
- package/dist/chunks/{model-retry-xkfczkpn.js → bus-xkfczkpn.js} +3 -3
- package/dist/chunks/{model-retry-hyyhzzxx.js → bus-xvk38nmq.js} +20 -20
- package/dist/chunks/{model-retry-yb20nhc3.js → bus-yb20nhc3.js} +1 -1
- package/dist/chunks/{model-retry-5jzmzpz9.js → bus-ybhwsy6b.js} +39 -39
- package/dist/chunks/{model-retry-krw5ejhg.js → bus-ydwpppea.js} +5 -5
- package/dist/chunks/{model-retry-8p97zz9p.js → bus-yth42b8q.js} +48 -48
- package/dist/chunks/{model-retry-x7ey6qtv.js → bus-yy2jcnkw.js} +4 -4
- package/dist/chunks/{model-retry-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-retry-z38nccrw.js → bus-z38nccrw.js} +1 -1
- package/dist/chunks/{model-retry-mr3sax3v.js → bus-z3jsq4rh.js} +16 -16
- package/dist/chunks/{model-retry-zhbxds4j.js → bus-z6w87tzw.js} +16 -16
- package/dist/chunks/{model-retry-phzadmh4.js → bus-za8j9kr3.js} +84 -84
- package/dist/chunks/{model-retry-my4zabxr.js → bus-zb5gs1ba.js} +3 -3
- package/dist/chunks/{model-retry-zgphpnk4.js → bus-zgctp3t4.js} +5 -5
- package/dist/chunks/{model-retry-zwnm9ync.js → bus-zj8y7a4j.js} +4 -4
- package/dist/chunks/{model-retry-zkg84ctx.js → bus-zkg84ctx.js} +1 -1
- package/dist/chunks/{model-retry-99y4khf1.js → bus-ztjhcqny.js} +34 -34
- package/dist/chunks/{model-retry-xc7j2c4d.js → bus-zysm0ng8.js} +15 -15
- package/dist/chunks/{model-retry-bjhzkqyk.js → bus-zzdv5d93.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +87 -87
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +104 -104
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/compatibility.js +137 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +107 -107
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration.gen.js +53 -53
- package/dist/database/migration.js +55 -55
- 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 +97 -97
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +374 -374
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +98 -98
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +100 -100
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +109 -109
- package/dist/file-mutation.js +99 -99
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +109 -109
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +92 -92
- package/dist/generate.js +112 -112
- package/dist/git.js +11 -11
- 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 +104 -104
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +365 -365
- package/dist/instruction-discovery.js +88 -88
- package/dist/instructions/builtins.js +92 -92
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +93 -93
- package/dist/job.js +82 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +77 -77
- package/dist/location-activity.js +158 -158
- package/dist/location-lifecycle.js +112 -112
- package/dist/location-service-map.js +91 -91
- package/dist/location-services.js +362 -362
- package/dist/location.js +94 -94
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +96 -96
- package/dist/mcp/index.js +114 -114
- package/dist/mcp/instructions.js +141 -141
- package/dist/mcp/oauth.js +82 -82
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +95 -95
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +104 -104
- package/dist/model-retry.js +1 -1
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +118 -118
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +79 -79
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +105 -105
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +220 -220
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +101 -101
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +107 -107
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +95 -95
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +98 -98
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +100 -100
- package/dist/plugin/provider/gitlab.js +98 -98
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +82 -82
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +97 -97
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai-context-caps.js +95 -95
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +104 -104
- package/dist/plugin/provider/openrouter.js +96 -96
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +83 -83
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +96 -96
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +95 -95
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +96 -96
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +91 -91
- package/dist/plugin/vcs/hg.js +91 -91
- package/dist/plugin/verbosity.js +96 -96
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +95 -95
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +92 -92
- package/dist/reference.js +94 -94
- package/dist/repository-cache.js +86 -86
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +100 -100
- package/dist/rpc.js +91 -91
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +78 -78
- package/dist/session/compaction.js +139 -139
- package/dist/session/context.js +167 -167
- package/dist/session/diff.js +93 -93
- 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 +223 -223
- package/dist/session/execution.js +131 -131
- package/dist/session/generate.js +169 -169
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +102 -102
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +123 -123
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +135 -135
- package/dist/session/projector.js +93 -93
- package/dist/session/prompt.js +110 -110
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +99 -99
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +233 -233
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +105 -105
- package/dist/session/runner/publish-llm-event.js +118 -118
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +131 -131
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +110 -110
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +214 -214
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +171 -171
- package/dist/session/to-session-error.js +117 -117
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +112 -112
- package/dist/skill.js +117 -117
- package/dist/snapshot.js +94 -94
- 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 +142 -142
- package/dist/tool/plugin/edit.js +125 -125
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +129 -129
- package/dist/tool/plugin/grep.js +129 -129
- package/dist/tool/plugin/mcp-resource.js +127 -127
- package/dist/tool/plugin/opencode.js +114 -114
- package/dist/tool/plugin/patch.js +127 -127
- package/dist/tool/plugin/question.js +110 -110
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +114 -114
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +116 -116
- package/dist/tool/plugin/websearch.js +117 -117
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +107 -107
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/usage-limits.js +93 -93
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +97 -97
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +98 -98
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +94 -94
- package/dist/voice.js +90 -90
- package/dist/websearch.js +88 -88
- package/dist/wellknown/plugin.js +80 -80
- package/dist/wellknown.js +85 -85
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +86 -86
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +94 -94
- package/dist/worktree.js +103 -103
- package/package.json +8 -8
- package/dist/chunks/model-retry-2dkjcnxp.js +0 -18
- package/dist/chunks/model-retry-4eh702yp.js +0 -261
- package/dist/chunks/model-retry-gnv5jhj2.js +0 -517
- package/dist/chunks/model-retry-zd4c8dy4.js +0 -26
- /package/dist/chunks/{model-retry-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-retry-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-retry-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-retry-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-retry-24dcb14g.js → bus-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-retry-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-retry-2bv980vf.js → bus-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-retry-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-retry-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-retry-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{model-retry-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-retry-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-retry-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-retry-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-retry-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-retry-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-retry-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{model-retry-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-retry-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{model-retry-6q2bdcd1.js → bus-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-retry-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-retry-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-retry-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{model-retry-84wd9syh.js → bus-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-retry-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-retry-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-retry-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-retry-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-retry-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-retry-a058387c.js → bus-a058387c.js} +0 -0
- /package/dist/chunks/{model-retry-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-retry-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-retry-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-retry-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-retry-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-retry-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-retry-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-retry-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-retry-cqv5kn06.js → bus-cqv5kn06.js} +0 -0
- /package/dist/chunks/{model-retry-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-retry-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-retry-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-retry-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-retry-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-retry-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{model-retry-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-retry-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-retry-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-retry-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-retry-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-retry-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-retry-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-retry-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-retry-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-retry-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-retry-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-retry-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{model-retry-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-retry-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{model-retry-hcxmzztb.js → bus-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-retry-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{model-retry-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-retry-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-retry-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-retry-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-retry-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-retry-jwr30sdr.js → bus-jwr30sdr.js} +0 -0
- /package/dist/chunks/{model-retry-jze0r7bz.js → bus-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-retry-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-retry-m18g726c.js → bus-m18g726c.js} +0 -0
- /package/dist/chunks/{model-retry-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-retry-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-retry-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-retry-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-retry-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-retry-pkyv6v7h.js → bus-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-retry-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-retry-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-retry-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-retry-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-retry-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-retry-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-retry-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-retry-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-retry-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-retry-sjmm3wxa.js → bus-sjmm3wxa.js} +0 -0
- /package/dist/chunks/{model-retry-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-retry-ve7vex1e.js → bus-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-retry-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-retry-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-retry-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-retry-wjj7prxr.js → bus-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-retry-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-retry-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-retry-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{model-retry-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-retry-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-retry-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-retry-ym463w8f.js → bus-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-retry-z5v4ffb3.js → bus-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-retry-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-2z1j29yd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service61
|
|
6
|
+
} from "./bus-yth42b8q.js";
|
|
7
7
|
import {
|
|
8
8
|
MAX_MARKDOWN_BYTES2,
|
|
9
9
|
convertHTMLToMarkdown2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-4vcrnpx2.js";
|
|
11
11
|
import {
|
|
12
12
|
collectBoundedResponseBody2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-3v8g72cx.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/tool/plugin/webfetch.ts
|
|
19
19
|
var exports_webfetch = {};
|
|
20
20
|
__export(exports_webfetch, {
|
|
21
21
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input13,
|
|
23
23
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
24
24
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin16,
|
|
26
26
|
WebFetchTool: () => exports_webfetch,
|
|
27
27
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
28
|
-
description: () =>
|
|
28
|
+
description: () => description5,
|
|
29
29
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
30
|
-
name: () =>
|
|
30
|
+
name: () => name13
|
|
31
31
|
});
|
|
32
32
|
import { ToolFailure } from "@opencode/ai";
|
|
33
33
|
import { Duration, Effect, Schema } from "effect";
|
|
34
34
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
35
35
|
import { Parser } from "htmlparser2";
|
|
36
|
-
var
|
|
36
|
+
var name13 = "webfetch";
|
|
37
37
|
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
38
38
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
39
39
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
40
|
-
var
|
|
40
|
+
var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
41
41
|
|
|
42
42
|
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.`;
|
|
43
43
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
44
|
-
var
|
|
44
|
+
var Input13 = Schema.Struct({
|
|
45
45
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
46
46
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
47
47
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -51,7 +51,7 @@ var Input3 = Schema.Struct({
|
|
|
51
51
|
var Output = Schema.Struct({
|
|
52
52
|
url: Schema.String,
|
|
53
53
|
contentType: Schema.String,
|
|
54
|
-
format:
|
|
54
|
+
format: Input13.fields.format,
|
|
55
55
|
output: Schema.String
|
|
56
56
|
});
|
|
57
57
|
var acceptHeader = (format) => {
|
|
@@ -94,16 +94,16 @@ var convert = (content, contentType, format) => {
|
|
|
94
94
|
return extractTextFromHTML2(content);
|
|
95
95
|
return content;
|
|
96
96
|
};
|
|
97
|
-
var
|
|
97
|
+
var Plugin16 = {
|
|
98
98
|
id: "opencode.tool.webfetch",
|
|
99
99
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
100
100
|
const http = yield* HttpClient.HttpClient;
|
|
101
|
-
const permission = yield*
|
|
101
|
+
const permission = yield* Service61;
|
|
102
102
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
103
|
-
name:
|
|
103
|
+
name: name13,
|
|
104
104
|
options: { codemode: false },
|
|
105
|
-
description:
|
|
106
|
-
input:
|
|
105
|
+
description: description5,
|
|
106
|
+
input: Input13,
|
|
107
107
|
output: Output,
|
|
108
108
|
execute: (input, context) => Effect.gen(function* () {
|
|
109
109
|
yield* Effect.try({
|
|
@@ -111,7 +111,7 @@ var Plugin3 = {
|
|
|
111
111
|
catch: (error) => error
|
|
112
112
|
});
|
|
113
113
|
yield* permission.assert({
|
|
114
|
-
action:
|
|
114
|
+
action: name13,
|
|
115
115
|
resources: [input.url],
|
|
116
116
|
save: ["*"],
|
|
117
117
|
metadata: input,
|
|
@@ -169,4 +169,4 @@ function extractTextFromHTML2(html) {
|
|
|
169
169
|
parser.end();
|
|
170
170
|
return text.trim();
|
|
171
171
|
}
|
|
172
|
-
export {
|
|
172
|
+
export { name13, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input13, Plugin16, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-p015t6z3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
@@ -12,7 +12,7 @@ __export(exports_model_transport, {
|
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
13
|
layer: () => layer16,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node35
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -372,6 +372,6 @@ var makeLayer2 = (connector) => Layer.effect(Service31, Effect.gen(function* ()
|
|
|
372
372
|
var layer16 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node35 = makeGlobalNode({ service: Service31, layer: layer16, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export { Service31, makeLayer2, layer16,
|
|
377
|
+
export { Service31, makeLayer2, layer16, node35, exports_model_transport };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-hj7n8j55.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-qjgzc4b4.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-8sz8b50m.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service38,
|
|
7
|
+
node42
|
|
8
|
+
} from "./bus-s7cwnsdq.js";
|
|
9
9
|
import {
|
|
10
10
|
isTextual2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-2z1j29yd.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service61,
|
|
14
|
+
node64
|
|
15
|
+
} from "./bus-yth42b8q.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service43,
|
|
18
|
+
node46
|
|
19
|
+
} from "./bus-4hmqv3dg.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service72,
|
|
22
|
+
node76
|
|
23
|
+
} from "./bus-s78fym6c.js";
|
|
24
24
|
import {
|
|
25
25
|
MEDIA_MIMES2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./bus-cw3xprgn.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./bus-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/mcp.ts
|
|
32
32
|
var exports_mcp3 = {};
|
|
33
33
|
__export(exports_mcp3, {
|
|
34
34
|
McpTool: () => exports_mcp3,
|
|
35
|
-
Service: () =>
|
|
36
|
-
layer: () =>
|
|
37
|
-
name: () =>
|
|
35
|
+
Service: () => Service36,
|
|
36
|
+
layer: () => layer18,
|
|
37
|
+
name: () => name15,
|
|
38
38
|
namespace: () => namespace2,
|
|
39
|
-
node: () =>
|
|
39
|
+
node: () => node40
|
|
40
40
|
});
|
|
41
41
|
import { ToolFailure } from "@opencode/ai";
|
|
42
42
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -45,16 +45,16 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
45
45
|
import { extension } from "mime-types";
|
|
46
46
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
47
47
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
48
|
-
var
|
|
48
|
+
var name15 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service36 extends Context.Service()("@opencode/McpTool") {
|
|
51
51
|
}
|
|
52
|
-
var
|
|
53
|
-
const mcp = yield*
|
|
54
|
-
const tools = yield*
|
|
52
|
+
var layer18 = Layer.effect(Service36, Effect.gen(function* () {
|
|
53
|
+
const mcp = yield* Service38;
|
|
54
|
+
const tools = yield* Service43;
|
|
55
55
|
const bus = yield* Service86;
|
|
56
|
-
const permission = yield*
|
|
57
|
-
const toolOutput = yield*
|
|
56
|
+
const permission = yield* Service61;
|
|
57
|
+
const toolOutput = yield* Service72;
|
|
58
58
|
const lock = Semaphore.makeUnsafe(1);
|
|
59
59
|
let discovered = [];
|
|
60
60
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -69,7 +69,7 @@ var layer13 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
69
69
|
output: tool.outputSchema ?? {},
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
yield* permission.assert({
|
|
72
|
-
action:
|
|
72
|
+
action: name15(tool.server, tool.name),
|
|
73
73
|
resources: ["*"],
|
|
74
74
|
save: ["*"],
|
|
75
75
|
metadata: { input: input ?? {} },
|
|
@@ -111,7 +111,7 @@ var layer13 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
111
111
|
output: output(),
|
|
112
112
|
...content.length === 0 ? {} : { content }
|
|
113
113
|
};
|
|
114
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
114
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name15(tool.server, tool.name)}` })))
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
});
|
|
@@ -124,7 +124,7 @@ var layer13 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
124
124
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
125
125
|
const updates = yield* PubSub.subscribe(changes);
|
|
126
126
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
127
|
-
return
|
|
127
|
+
return Service36.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
128
128
|
}));
|
|
129
129
|
var toContent = Effect.fnUntraced(function* (part, toolOutput) {
|
|
130
130
|
if (part.type === "text")
|
|
@@ -144,10 +144,10 @@ ${bytes.toString("utf8")}` };
|
|
|
144
144
|
text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
|
|
145
145
|
};
|
|
146
146
|
});
|
|
147
|
-
var
|
|
148
|
-
service:
|
|
149
|
-
layer:
|
|
150
|
-
deps: [
|
|
147
|
+
var node40 = makeLocationNode({
|
|
148
|
+
service: Service36,
|
|
149
|
+
layer: layer18,
|
|
150
|
+
deps: [node46, node42, node90, node64, node76]
|
|
151
151
|
});
|
|
152
152
|
|
|
153
|
-
export { namespace2,
|
|
153
|
+
export { namespace2, name15, Service36, layer18, node40, exports_mcp3 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-qzw8kg5z.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-5gxhssq1.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./bus-1w9k09te.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info20
|
|
9
|
+
} from "./bus-d390zwf3.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-33zxs5g9.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service74
|
|
16
|
+
} from "./bus-ybhwsy6b.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./bus-e834z07m.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./bus-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent = {};
|
|
26
26
|
__export(exports_agent, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin31
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info20);
|
|
44
44
|
var pathActions = ["external_directory", "read", "edit"];
|
|
45
45
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
46
46
|
var nativeKeys = ["permissions", "request", "system", "disabled"];
|
|
47
|
-
var
|
|
47
|
+
var Plugin31 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service74;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin29 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID9.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID9.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -163,4 +163,4 @@ var decode = Effect.fnUntraced(function* (file, content) {
|
|
|
163
163
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
164
164
|
});
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { Plugin31, exports_agent };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-fbeje3j4.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-8sz8b50m.js";
|
|
7
7
|
import {
|
|
8
8
|
defaultServer2,
|
|
9
9
|
server2,
|
|
10
10
|
headers2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-kt3bjfbg.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Event19
|
|
15
|
+
} from "./bus-5p32nay5.js";
|
|
16
16
|
import {
|
|
17
17
|
key2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-zzdv5d93.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID16,
|
|
21
21
|
MethodID2,
|
|
22
22
|
AuthorizationError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-f29p2v8h.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service19
|
|
26
|
+
} from "./bus-wdv0vama.js";
|
|
27
27
|
import {
|
|
28
28
|
ID13,
|
|
29
29
|
mergeOverlay2,
|
|
30
30
|
mergeHeaders2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./bus-qzw8kg5z.js";
|
|
32
32
|
import {
|
|
33
33
|
mergeCapabilities2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./bus-trgp8ev6.js";
|
|
35
35
|
import {
|
|
36
36
|
supports2,
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
resolve2
|
|
38
|
+
} from "./bus-xbewfx7c.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
ID6,
|
|
41
|
+
Input15,
|
|
42
42
|
Response2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./bus-cg98qzes.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/provider/opencode.ts
|
|
46
46
|
import {
|
|
@@ -77,7 +77,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
|
|
|
77
77
|
var RemoteResponse = Schema.Struct({
|
|
78
78
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
79
79
|
websearch: Schema.Struct({
|
|
80
|
-
providerID:
|
|
80
|
+
providerID: ID6
|
|
81
81
|
}).pipe(Schema.optional),
|
|
82
82
|
mcp: Schema.Struct({
|
|
83
83
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -128,7 +128,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
128
128
|
}
|
|
129
129
|
function oauth(http) {
|
|
130
130
|
return {
|
|
131
|
-
integrationID:
|
|
131
|
+
integrationID: ID16.make("opencode"),
|
|
132
132
|
method: {
|
|
133
133
|
id: methodID,
|
|
134
134
|
type: "oauth",
|
|
@@ -196,7 +196,7 @@ var OpencodePlugin2 = define({
|
|
|
196
196
|
const bus = yield* Service86;
|
|
197
197
|
const client = yield* HttpClient.HttpClient;
|
|
198
198
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
199
|
-
const managed = yield*
|
|
199
|
+
const managed = yield* Service19;
|
|
200
200
|
const scope = yield* Scope.Scope;
|
|
201
201
|
const loading = Semaphore.makeUnsafe(1);
|
|
202
202
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -250,7 +250,7 @@ var OpencodePlugin2 = define({
|
|
|
250
250
|
providers.update(providerID, (provider) => {
|
|
251
251
|
if (source && source.provider !== provider)
|
|
252
252
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
253
|
-
provider.integrationID =
|
|
253
|
+
provider.integrationID = ID16.make("opencode");
|
|
254
254
|
if (item.canonical !== undefined)
|
|
255
255
|
provider.canonical = item.canonical;
|
|
256
256
|
if (item.name !== undefined)
|
|
@@ -288,7 +288,7 @@ var OpencodePlugin2 = define({
|
|
|
288
288
|
providers.models.update(providerID, modelID, (model) => {
|
|
289
289
|
if (config.capabilities?.reasoning !== undefined)
|
|
290
290
|
model.variants = [
|
|
291
|
-
...
|
|
291
|
+
...resolve2({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
|
|
292
292
|
];
|
|
293
293
|
for (const variant of config.variants ?? []) {
|
|
294
294
|
let existing = model.variants.find((item) => item.id === variant.id);
|
|
@@ -370,7 +370,7 @@ var OpencodePlugin2 = define({
|
|
|
370
370
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
371
371
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
372
372
|
const server = yield* normalizeServer(server2(credential));
|
|
373
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
373
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input15)({
|
|
374
374
|
query: input.query,
|
|
375
375
|
providerID: descriptor.providerID
|
|
376
376
|
}));
|
|
@@ -442,7 +442,7 @@ var OpencodePlugin2 = define({
|
|
|
442
442
|
onlyIfMissing: true
|
|
443
443
|
});
|
|
444
444
|
});
|
|
445
|
-
yield* bus.subscribe(
|
|
445
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
|
|
446
446
|
yield* poll();
|
|
447
447
|
})
|
|
448
448
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-wakvkjy4.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-034tev2y.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-rb9dy4dg.js";
|
|
4
4
|
import {
|
|
5
5
|
ID5,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service47
|
|
7
|
+
} from "./bus-ny95kkac.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-zb5gs1ba.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-21pdxbx2.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-998yhzzq.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./bus-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,7 +81,7 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service47;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|