@opencode/core 0.0.0-dev-21818 → 0.0.0-dev-21821
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 +85 -85
- package/dist/aisdk-native.js +94 -94
- package/dist/aisdk.js +100 -100
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{command-034tev2y.js → state-034tev2y.js} +2 -2
- package/dist/chunks/{command-d2r51erv.js → state-06nwrmf6.js} +15 -15
- package/dist/chunks/{command-m37sd98t.js → state-06w9ffrv.js} +7 -7
- package/dist/chunks/{command-qk5jxgq1.js → state-0af46afc.js} +9 -9
- package/dist/chunks/{command-2hxshrhc.js → state-0cwttbeb.js} +28 -28
- package/dist/chunks/{command-yphf4wkb.js → state-0czbrqz1.js} +42 -42
- package/dist/chunks/{command-ekteap66.js → state-0gcad0bv.js} +6 -6
- package/dist/chunks/{command-d22d9jvp.js → state-0me3cbze.js} +33 -33
- package/dist/chunks/{command-ejj7q3zx.js → state-0zn7pq1y.js} +8 -8
- package/dist/chunks/{command-9gwdkggz.js → state-12k1n0af.js} +19 -19
- package/dist/chunks/{command-bcvpnfz0.js → state-15n1g7v8.js} +19 -19
- package/dist/chunks/{command-t33zj5sv.js → state-1arg9991.js} +13 -13
- package/dist/chunks/{command-kw6cmkwk.js → state-1c10trcx.js} +21 -21
- package/dist/chunks/{command-1ep2p91f.js → state-1ep2p91f.js} +2 -2
- package/dist/chunks/{command-1x2knyw4.js → state-1x2knyw4.js} +1 -1
- package/dist/chunks/state-21kyany4.js +261 -0
- package/dist/chunks/state-28779zxv.js +26 -0
- package/dist/chunks/{command-b0f7zp2n.js → state-2kxtsxrk.js} +5 -5
- package/dist/chunks/{command-bdgfgxkz.js → state-2ppa869z.js} +7 -7
- package/dist/chunks/{command-919wx1z3.js → state-2pqdxqk3.js} +8 -8
- package/dist/chunks/{command-vwyfhr0a.js → state-2rqvw2mf.js} +32 -32
- package/dist/chunks/{command-wrd1e224.js → state-2v7qkbf0.js} +24 -24
- package/dist/chunks/{command-2z1j29yd.js → state-2z1j29yd.js} +1 -1
- package/dist/chunks/{command-jfemb6dg.js → state-30b52wnj.js} +26 -26
- package/dist/chunks/{command-rkvbxbtx.js → state-33rsf8jw.js} +21 -21
- package/dist/chunks/{command-eshe19cj.js → state-3dsdetck.js} +9 -9
- package/dist/chunks/{command-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-3nnrz6f6.js → state-3nnrz6f6.js} +1 -1
- package/dist/chunks/{command-ekcysewp.js → state-3tmwm9va.js} +4 -4
- package/dist/chunks/{command-40za9wsf.js → state-40za9wsf.js} +2 -2
- package/dist/chunks/{command-9mrkfh1z.js → state-4349p72q.js} +43 -43
- package/dist/chunks/{command-dnspaa82.js → state-44asjrm9.js} +6 -6
- package/dist/chunks/{command-zcttm0a7.js → state-49chts1v.js} +17 -17
- package/dist/chunks/{command-fv74a081.js → state-49xna53c.js} +7 -7
- package/dist/chunks/{command-vg3pf4h8.js → state-4awm4drz.js} +9 -9
- package/dist/chunks/{command-k8yb96yz.js → state-4c4w8c1g.js} +6 -6
- package/dist/chunks/{command-bqkh1202.js → state-4eknyzsm.js} +3 -3
- package/dist/chunks/{command-mgyrh3fg.js → state-4k1t9mxy.js} +13 -13
- package/dist/chunks/{command-5r6qh7e4.js → state-4kpnky1c.js} +10 -10
- package/dist/chunks/{command-j65hkcsb.js → state-4nw1g1b0.js} +12 -12
- package/dist/chunks/{command-536c1kkr.js → state-4p9b4r2p.js} +4 -4
- package/dist/chunks/{command-dk5xnaxx.js → state-4q1b57yv.js} +4 -4
- package/dist/chunks/{command-4v008n1t.js → state-4v008n1t.js} +1 -1
- package/dist/chunks/{command-n61941kj.js → state-4vmx2553.js} +33 -33
- package/dist/chunks/{command-a24mpnx1.js → state-4xa8m40g.js} +18 -18
- package/dist/chunks/{command-4xvmh7wp.js → state-4xvmh7wp.js} +3 -3
- package/dist/chunks/{command-jatb60mj.js → state-4z26ga1z.js} +19 -19
- package/dist/chunks/{command-k3s0qkj7.js → state-503es954.js} +20 -20
- package/dist/chunks/{command-xt2n4gan.js → state-51j4br5n.js} +25 -25
- package/dist/chunks/{command-jhd2q5aa.js → state-54kk5jnt.js} +27 -27
- package/dist/chunks/{command-xfys7e1v.js → state-5bbtdh0c.js} +12 -12
- package/dist/chunks/{command-601dsf04.js → state-5ez0dp37.js} +2 -2
- package/dist/chunks/{command-5m9w47nd.js → state-5m9w47nd.js} +1 -1
- package/dist/chunks/{command-krv10r25.js → state-5t1vec6f.js} +13 -13
- package/dist/chunks/{command-38gd8qqf.js → state-5x6g3p31.js} +17 -17
- package/dist/chunks/{command-zba5tm1j.js → state-61ennm6n.js} +4 -4
- package/dist/chunks/{command-xc2k0qa9.js → state-6avyng2x.js} +10 -10
- package/dist/chunks/{command-6esdw8yj.js → state-6esdw8yj.js} +1 -1
- package/dist/chunks/{command-6pjqjmy2.js → state-6pjqjmy2.js} +1 -1
- package/dist/chunks/{command-88bjnhq0.js → state-70bbkc3v.js} +5 -5
- package/dist/chunks/{command-h1a1swr0.js → state-73sjrw23.js} +21 -21
- package/dist/chunks/{command-w8qtt4th.js → state-76cb1hcw.js} +4 -4
- package/dist/chunks/{command-xt4j5ppg.js → state-771e9tr6.js} +5 -5
- package/dist/chunks/{command-5jyzhfg0.js → state-77xnrh6j.js} +4 -4
- package/dist/chunks/{command-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-athptrr6.js → state-7qcnp0x1.js} +8 -8
- package/dist/chunks/{command-ky6psh45.js → state-7va89kx5.js} +11 -11
- package/dist/chunks/{command-7w2ypzdf.js → state-7w2ypzdf.js} +1 -1
- package/dist/chunks/{command-afj7tpg0.js → state-80e17k03.js} +20 -20
- package/dist/chunks/{command-x8rpw2zs.js → state-80jbgczm.js} +16 -16
- package/dist/chunks/{command-bvnym4q4.js → state-81jtk0d4.js} +9 -9
- package/dist/chunks/{command-as5dbhq9.js → state-8371pj2x.js} +6 -6
- package/dist/chunks/{command-qv7y9773.js → state-87s5319w.js} +4 -4
- package/dist/chunks/{command-anxj7259.js → state-8csxm7jm.js} +9 -9
- package/dist/chunks/{command-8wtp7s3z.js → state-8wtp7s3z.js} +1 -1
- package/dist/chunks/{command-as1c0yqt.js → state-8zstk8sy.js} +24 -24
- package/dist/chunks/{command-dkg6zq9k.js → state-90c15hge.js} +3 -3
- package/dist/chunks/{command-91rj84md.js → state-91rj84md.js} +1 -1
- package/dist/chunks/{command-41rwrk3a.js → state-94q7ag8d.js} +35 -35
- package/dist/chunks/{command-drp4sy68.js → state-963r0pdn.js} +11 -11
- package/dist/chunks/{command-zv77kcwz.js → state-972xsrgc.js} +11 -11
- package/dist/chunks/{command-5j20qf3f.js → state-992fen1c.js} +42 -42
- package/dist/chunks/{command-998yhzzq.js → state-998yhzzq.js} +3 -3
- package/dist/chunks/{command-eefqnhm8.js → state-99dpys38.js} +307 -307
- package/dist/chunks/{command-7zt3ezbt.js → state-9bgr5st8.js} +11 -11
- package/dist/chunks/{command-9cx9sm2q.js → state-9cx9sm2q.js} +1 -1
- package/dist/chunks/{command-e5xbdws1.js → state-9zkm52pa.js} +16 -16
- package/dist/chunks/state-a610t88q.js +18 -0
- package/dist/chunks/state-acqd5mw7.js +169 -0
- package/dist/chunks/{command-3qb2tvq8.js → state-adc3yk6d.js} +18 -18
- package/dist/chunks/{command-mdqxs31b.js → state-adchpjjx.js} +12 -12
- package/dist/chunks/{command-mtm9tq44.js → state-ady00g1q.js} +17 -17
- package/dist/chunks/{command-fvf40wtt.js → state-aev3k5yp.js} +24 -24
- package/dist/chunks/{command-82k6bzc0.js → state-amh70zsf.js} +39 -39
- package/dist/chunks/{command-k4vjszwk.js → state-ay9v92pn.js} +4 -4
- package/dist/chunks/{command-ayjs7tqn.js → state-ayjs7tqn.js} +2 -2
- package/dist/chunks/{command-b0mv4wxm.js → state-b0mv4wxm.js} +2 -2
- package/dist/chunks/{command-b6vsg801.js → state-b6vsg801.js} +2 -2
- package/dist/chunks/{command-at1k79a5.js → state-b7jmvbzq.js} +19 -19
- package/dist/chunks/{command-vkjtdrj5.js → state-b945bzec.js} +16 -16
- package/dist/chunks/{command-7sf0nz0c.js → state-bfs9yhh1.js} +29 -29
- package/dist/chunks/{command-fptf4jb2.js → state-bha90fza.js} +18 -18
- package/dist/chunks/{command-ra86m6px.js → state-bktwhx9z.js} +19 -19
- package/dist/chunks/{command-t8nkzmzj.js → state-br0kkpnn.js} +4 -4
- package/dist/chunks/{command-bstexjd6.js → state-bstexjd6.js} +1 -1
- package/dist/chunks/{command-qah7t4da.js → state-c4970w7t.js} +6 -6
- package/dist/chunks/{command-3bv62f95.js → state-c5stsejj.js} +49 -49
- package/dist/chunks/{command-0e8wpp30.js → state-c8gsdbv5.js} +11 -11
- package/dist/chunks/{command-za6yq9hg.js → state-ce5fknq2.js} +5 -5
- package/dist/chunks/{command-c379g7ag.js → state-ceyjc8ge.js} +23 -23
- package/dist/chunks/{command-rxrz6b15.js → state-ch4a6gtw.js} +2 -2
- package/dist/chunks/{command-5s5ptkmy.js → state-cypkeheb.js} +13 -13
- package/dist/chunks/{command-913j3mh8.js → state-d4ba0d7d.js} +11 -11
- package/dist/chunks/{command-d4v9tmah.js → state-d4v9tmah.js} +2 -2
- package/dist/chunks/{command-qdm153cs.js → state-d7fjdp3y.js} +18 -18
- package/dist/chunks/{command-t2bs72an.js → state-dad9fjtp.js} +2 -2
- package/dist/chunks/{command-8bt0vqrr.js → state-djjzzs3c.js} +6 -6
- package/dist/chunks/{command-6ad2fdvv.js → state-dta660tg.js} +11 -11
- package/dist/chunks/{command-xpsakxdv.js → state-dyf500ns.js} +24 -24
- package/dist/chunks/{command-9wejqmxs.js → state-dzff6n8n.js} +8 -8
- package/dist/chunks/state-e07q2w5p.js +83 -0
- package/dist/chunks/{command-e834z07m.js → state-e834z07m.js} +1 -1
- package/dist/chunks/{command-ve1a31qq.js → state-e9rg68ej.js} +5 -5
- package/dist/chunks/{command-hb0m8f38.js → state-efrp7n2x.js} +9 -9
- package/dist/chunks/{command-p7kxzmqg.js → state-emxrw28n.js} +5 -5
- package/dist/chunks/{command-6r3jgch7.js → state-evc2jewf.js} +13 -13
- package/dist/chunks/{command-23h7j0rk.js → state-ew0y3ary.js} +29 -29
- package/dist/chunks/{command-12j5xb52.js → state-exhg2pyt.js} +17 -17
- package/dist/chunks/{command-9j2em94t.js → state-f0kzxy20.js} +28 -28
- package/dist/chunks/{command-6rzaq17p.js → state-f9aw19jy.js} +12 -12
- package/dist/chunks/{command-ry3msmns.js → state-fa13985z.js} +6 -6
- package/dist/chunks/{command-fffv3p7h.js → state-fffv3p7h.js} +1 -1
- package/dist/chunks/{command-v9f0gyh1.js → state-fhr2s1er.js} +17 -17
- package/dist/chunks/{command-nxxea952.js → state-fw65n7rt.js} +27 -27
- package/dist/chunks/{command-rpnphm24.js → state-g3azxf0z.js} +19 -19
- package/dist/chunks/{command-e8var0bn.js → state-g3kbmw45.js} +33 -33
- package/dist/chunks/{command-g5h9c0rr.js → state-g5h9c0rr.js} +2 -2
- package/dist/chunks/{command-eengcg00.js → state-gdb2frqz.js} +1 -1
- package/dist/chunks/{command-kx2s0cab.js → state-gfjw3g11.js} +33 -33
- package/dist/chunks/{command-h5qan5zz.js → state-ggp1yva8.js} +8 -8
- package/dist/chunks/{command-kz35drw9.js → state-gmbrqcch.js} +18 -18
- package/dist/chunks/{command-t2cmnhk6.js → state-gnqjpr12.js} +1 -1
- package/dist/chunks/{command-6rxdw5v4.js → state-gp8afgt9.js} +33 -33
- package/dist/chunks/{command-sn3c9y12.js → state-gtxfg6p1.js} +11 -11
- package/dist/chunks/{command-1v0dspd3.js → state-gtz18rwj.js} +27 -27
- package/dist/chunks/{command-y6tn7bpp.js → state-gvr1nqb0.js} +16 -16
- package/dist/chunks/{command-9q3dx9gn.js → state-h1ps7867.js} +18 -18
- package/dist/chunks/{command-y4n6pw34.js → state-h3b857xk.js} +4 -4
- package/dist/chunks/{command-6ek2k839.js → state-h54749ae.js} +7 -7
- package/dist/chunks/{command-1ftf7dq4.js → state-h5tcmygr.js} +32 -32
- package/dist/chunks/{command-rgrvdfrb.js → state-h7wan55b.js} +11 -11
- package/dist/chunks/{command-cg7dpz2x.js → state-hb48s5x4.js} +117 -198
- package/dist/chunks/{command-hdfrs5mg.js → state-hdfrs5mg.js} +2 -2
- package/dist/chunks/{command-3531vqe2.js → state-hdnjkj1d.js} +16 -16
- package/dist/chunks/{command-yzj4f4rb.js → state-hjqfsptq.js} +4 -4
- package/dist/chunks/{command-d0cfhy82.js → state-hq40j3p6.js} +40 -40
- package/dist/chunks/{command-sbcmjw49.js → state-hqncm972.js} +11 -11
- package/dist/chunks/{command-adw70tjx.js → state-hta0w01s.js} +182 -182
- package/dist/chunks/{command-ba7dfhfp.js → state-hvwvq3df.js} +8 -8
- package/dist/chunks/{command-tg1vr1qt.js → state-hy8c1z76.js} +8 -8
- package/dist/chunks/{command-rc5p4tbx.js → state-j02e2ssa.js} +21 -21
- package/dist/chunks/{command-j113cymg.js → state-j113cymg.js} +1 -1
- package/dist/chunks/{command-xhq4j13x.js → state-j9e6sx0d.js} +9 -9
- package/dist/chunks/{command-jchrqzf6.js → state-jefw9j3y.js} +4 -4
- package/dist/chunks/{command-absbpnym.js → state-jfeae8gq.js} +11 -11
- package/dist/chunks/{command-v8vd993n.js → state-jjx6aha5.js} +8 -8
- package/dist/chunks/{command-xpgf5ggf.js → state-jrwc8w57.js} +11 -11
- package/dist/chunks/{command-d8kktwmb.js → state-jt25wn2n.js} +7 -7
- package/dist/chunks/{command-pwp33k1j.js → state-jvnvsvj6.js} +15 -15
- package/dist/chunks/{command-y7mjvyet.js → state-k0jqhfwc.js} +14 -14
- package/dist/chunks/{command-k814nvkf.js → state-k814nvkf.js} +1 -1
- package/dist/chunks/{command-eb8ey7jf.js → state-k8m6h63c.js} +9 -9
- package/dist/chunks/{command-knm9h1gt.js → state-kbdzx3mw.js} +5 -5
- package/dist/chunks/{command-kt3bjfbg.js → state-kt3bjfbg.js} +1 -1
- package/dist/chunks/{command-m1714858.js → state-m1714858.js} +1 -1
- package/dist/chunks/{command-a6f4tgap.js → state-m1w08pzq.js} +38 -38
- package/dist/chunks/{command-g8sddq98.js → state-m4cs48c6.js} +37 -37
- package/dist/chunks/{command-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-maspj1v3.js → state-maspj1v3.js} +1 -1
- package/dist/chunks/{command-4kfhgg5n.js → state-mdn8gtgh.js} +16 -16
- package/dist/chunks/{command-agqd6nxz.js → state-mj0wev1x.js} +4 -4
- package/dist/chunks/{command-0kr898da.js → state-mpd21h1g.js} +11 -11
- package/dist/chunks/{command-qvw98tg0.js → state-mqcadzqw.js} +5 -5
- package/dist/chunks/{command-sa1j54ah.js → state-mwta5nj0.js} +4 -4
- package/dist/chunks/{command-hzrfc1p4.js → state-mzbswx4t.js} +3 -3
- package/dist/chunks/{command-ycf7t0x4.js → state-n1qenrmb.js} +3 -3
- package/dist/chunks/{command-n19651je.js → state-n8emybve.js} +6 -6
- package/dist/chunks/{command-nah043kf.js → state-nah043kf.js} +1 -1
- package/dist/chunks/{command-2b2ezf52.js → state-ncs6r1yk.js} +13 -13
- package/dist/chunks/{command-5jhj8f90.js → state-nqykckqs.js} +28 -28
- package/dist/chunks/{command-p015t6z3.js → state-p015t6z3.js} +2 -2
- package/dist/chunks/{command-nn4rsceg.js → state-p02wxyye.js} +52 -52
- package/dist/chunks/{command-8jw7rn7z.js → state-p5k0b6xz.js} +65 -48
- package/dist/chunks/{command-1yq9hg58.js → state-p7vhpwh8.js} +5 -5
- package/dist/chunks/{command-wrd39zd3.js → state-pbrfva61.js} +9 -9
- package/dist/chunks/{command-jt3cc694.js → state-pjwfm23k.js} +22 -16
- package/dist/chunks/{command-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{command-jn0nm8ve.js → state-pr30wrsr.js} +3 -3
- package/dist/chunks/{command-sgf93zt1.js → state-ptmtz89k.js} +10 -10
- package/dist/chunks/{command-dqwe69sr.js → state-q52p07dj.js} +5 -5
- package/dist/chunks/{command-y3tncrtt.js → state-q5wyhmvf.js} +15 -15
- package/dist/chunks/{command-7gk9js8e.js → state-q6n1xzyn.js} +79 -79
- package/dist/chunks/{command-9s9yrq09.js → state-q8ydsxx6.js} +7 -7
- package/dist/chunks/{command-kkx1be94.js → state-qg5qwe27.js} +85 -85
- package/dist/chunks/{command-rhcben61.js → state-qgrec3y3.js} +43 -43
- package/dist/chunks/{command-fhkyxz58.js → state-qkreem8c.js} +61 -61
- package/dist/chunks/{command-w9654aqw.js → state-qxq90j3e.js} +6 -6
- package/dist/chunks/{command-pc1v25hk.js → state-qyq8h28g.js} +3 -3
- package/dist/chunks/{command-r0yr0wbs.js → state-r0yr0wbs.js} +1 -1
- package/dist/chunks/{command-n2mgc41n.js → state-r2y2r2h5.js} +12 -12
- package/dist/chunks/{command-r542h3bh.js → state-r542h3bh.js} +1 -1
- package/dist/chunks/{command-h41k652m.js → state-r67xb15b.js} +4 -4
- package/dist/chunks/{command-rb9dy4dg.js → state-rb9dy4dg.js} +1 -1
- package/dist/chunks/{command-96frc3qv.js → state-rcsw1nba.js} +26 -26
- package/dist/chunks/{command-yhp1gsdf.js → state-rddythdj.js} +15 -15
- package/dist/chunks/{command-1vdntpm3.js → state-rdrpd67x.js} +7 -7
- package/dist/chunks/{command-vyyww4cp.js → state-rercxft0.js} +28 -28
- package/dist/chunks/{command-zppqv0za.js → state-rfhngetd.js} +2 -2
- package/dist/chunks/{command-v6e0t90w.js → state-rpazx2zk.js} +7 -7
- package/dist/chunks/{command-rt5dr6hb.js → state-rt5dr6hb.js} +1 -1
- package/dist/chunks/{command-41krkmrm.js → state-rt6z3ksq.js} +6 -6
- package/dist/chunks/{command-ebgyc8dk.js → state-rvpcsj93.js} +17 -17
- package/dist/chunks/{command-p5n2p3b1.js → state-s4fqh25a.js} +32 -32
- package/dist/chunks/{command-v4y8fefg.js → state-s81f7mnr.js} +21 -21
- package/dist/chunks/{command-sa3fpqfw.js → state-sa3fpqfw.js} +2 -2
- package/dist/chunks/{command-jns1hsnf.js → state-scz350ws.js} +20 -20
- package/dist/chunks/{command-k008twyg.js → state-sf02nxf4.js} +22 -22
- package/dist/chunks/{command-b0j6y7s5.js → state-sjc7ghj1.js} +11 -11
- package/dist/chunks/{command-sqjzf8x2.js → state-sqjzf8x2.js} +1 -1
- package/dist/chunks/{command-d2887f8n.js → state-ssfehs1z.js} +4 -4
- package/dist/chunks/{command-jvnwfx78.js → state-st147jaz.js} +13 -13
- package/dist/chunks/{command-7xg2jm5b.js → state-szcgc7h4.js} +5 -5
- package/dist/chunks/{command-9b79tx17.js → state-ta944qmn.js} +31 -31
- package/dist/chunks/{command-tczq8hjw.js → state-tczq8hjw.js} +1 -1
- package/dist/chunks/{command-x81g74mp.js → state-tm5er3st.js} +10 -10
- package/dist/chunks/{command-6s0p322d.js → state-tmt05c3b.js} +9 -9
- package/dist/chunks/{command-99hv2r52.js → state-tr3b758d.js} +12 -12
- package/dist/chunks/{command-pnd0tgce.js → state-tv6f3a3e.js} +42 -42
- package/dist/chunks/{command-twv2r8f4.js → state-twv2r8f4.js} +2 -2
- package/dist/chunks/{command-v2r1d0zg.js → state-v2r1d0zg.js} +1 -1
- package/dist/chunks/{command-2xjnyn7t.js → state-vcckamen.js} +24 -24
- package/dist/chunks/{command-vd3b3yk9.js → state-vd3b3yk9.js} +1 -1
- package/dist/chunks/{command-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{command-3mgb105e.js → state-vgk61ywp.js} +9 -9
- package/dist/chunks/{command-8h6a48m8.js → state-vj4r112x.js} +18 -18
- package/dist/chunks/{command-7fxmge10.js → state-vnxcbc78.js} +5 -5
- package/dist/chunks/{command-vrcsa8qx.js → state-vrcsa8qx.js} +2 -2
- package/dist/chunks/{command-je2dmma1.js → state-vyycp0en.js} +4 -4
- package/dist/chunks/{command-5j2x0vh6.js → state-vyzzfsct.js} +15 -15
- package/dist/chunks/{command-bgg6fpfq.js → state-w04hajkc.js} +8 -8
- package/dist/chunks/{command-tct5dn0h.js → state-w1dt9w7y.js} +13 -13
- package/dist/chunks/{command-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/state-w6p76wxk.js +250 -0
- package/dist/chunks/{command-ryw9gt93.js → state-w87973gh.js} +1 -1
- package/dist/chunks/{command-xsact9zs.js → state-w9w8mt4n.js} +4 -4
- package/dist/chunks/{command-wakvkjy4.js → state-wakvkjy4.js} +1 -1
- package/dist/chunks/{command-cy2v52d0.js → state-wc8m166b.js} +4 -4
- package/dist/chunks/{command-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{command-kntz01hn.js → state-weh1a0nb.js} +27 -27
- package/dist/chunks/{command-gy4qwgqr.js → state-wfrb9j0d.js} +8 -8
- package/dist/chunks/{command-jarxapq1.js → state-wh4zer6t.js} +23 -23
- package/dist/chunks/{command-w687dnns.js → state-wr3re1en.js} +4 -4
- package/dist/chunks/{command-vbjryyts.js → state-wttyt2c5.js} +20 -20
- package/dist/chunks/{command-xdpngg3w.js → state-x4dm9tkt.js} +24 -24
- package/dist/chunks/{command-bqsy6k7b.js → state-x4pq83ar.js} +8 -8
- package/dist/chunks/{command-8jztxfpf.js → state-x8nvjgx0.js} +4 -4
- package/dist/chunks/{command-tdhzh0hh.js → state-xbhwtc00.js} +10 -10
- package/dist/chunks/{command-pss5e485.js → state-xemekp33.js} +4 -4
- package/dist/chunks/{command-577yexmd.js → state-xhqtt1yk.js} +18 -18
- package/dist/chunks/{command-jnfhfvtc.js → state-xt3e85c7.js} +13 -13
- package/dist/chunks/{command-9g25krhk.js → state-y24xrewf.js} +16 -16
- package/dist/chunks/{command-bw8hbntf.js → state-y79xrw0m.js} +13 -13
- package/dist/chunks/{command-p17y9zxj.js → state-y9dcbvc0.js} +3 -3
- package/dist/chunks/{command-pn39a5na.js → state-ya7cyy7h.js} +5 -5
- package/dist/chunks/{command-yb20nhc3.js → state-yb20nhc3.js} +1 -1
- package/dist/chunks/{command-44ggx2jg.js → state-yc5f64c4.js} +5 -5
- package/dist/chunks/{command-cvnpy6ac.js → state-yee4tpcm.js} +25 -25
- package/dist/chunks/{command-ry63fkbp.js → state-ygjj23b0.js} +8 -8
- package/dist/chunks/{command-9w6z0tb8.js → state-ygmx28v3.js} +20 -20
- package/dist/chunks/{command-bbwwgj76.js → state-yjdnphb5.js} +17 -17
- package/dist/chunks/{command-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{command-z38nccrw.js → state-z38nccrw.js} +1 -1
- package/dist/chunks/{command-103he1eh.js → state-zap846dn.js} +27 -27
- package/dist/chunks/{command-zkg84ctx.js → state-zkg84ctx.js} +1 -1
- package/dist/chunks/{command-wphkpwyy.js → state-zxyxvdmp.js} +19 -19
- 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 +87 -87
- package/dist/config/discovery.js +89 -89
- package/dist/config/integration.js +14 -0
- 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 +127 -127
- package/dist/config/plugin/policy.js +120 -119
- package/dist/config/plugin/provider.js +121 -118
- package/dist/config/plugin/reference.js +120 -120
- 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 +123 -123
- 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 +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/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 +90 -90
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +376 -374
- 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 +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 +3 -3
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +107 -107
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +108 -108
- 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 +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 +367 -365
- package/dist/instruction-discovery.js +78 -78
- 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 +364 -362
- package/dist/location.js +86 -86
- package/dist/managed-policy.js +11 -10
- package/dist/mcp/client.js +96 -96
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +143 -143
- 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 +103 -103
- package/dist/models-dev.js +112 -112
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- 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 +103 -103
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +222 -222
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +337 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +101 -101
- package/dist/plugin/module.js +120 -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-legacy.js +116 -0
- package/dist/plugin/provider/opencode.js +124 -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 +175 -171
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -352
- 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 +98 -98
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +104 -104
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +94 -94
- package/dist/reference.js +90 -90
- 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 +1 -1
- package/dist/session/command.js +78 -78
- package/dist/session/compaction.js +141 -141
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +167 -167
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +95 -95
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +102 -102
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +125 -125
- package/dist/session/model-transport.js +9 -9
- 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 +231 -231
- 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 +108 -108
- 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 +5 -5
- package/dist/session/title.js +165 -165
- package/dist/session/to-session-error.js +117 -117
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- 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 +15 -15
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +112 -112
- package/dist/skill.js +115 -115
- package/dist/snapshot.js +90 -90
- 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 +138 -138
- 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 +129 -129
- package/dist/tool/plugin/opencode.js +114 -114
- package/dist/tool/plugin/patch.js +127 -127
- package/dist/tool/plugin/question.js +108 -108
- package/dist/tool/plugin/read.js +130 -130
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +116 -116
- package/dist/tool/plugin/subagent.js +221 -221
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +117 -117
- package/dist/tool/plugin/write.js +125 -125
- package/dist/tool/read-filesystem.js +105 -105
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/config/integration.d.ts +81 -0
- package/dist/types/config/plugin/provider.d.ts +8 -0
- package/dist/types/config.d.ts +7 -0
- package/dist/types/plugin/provider/opencode-legacy.d.ts +69 -0
- package/dist/types/plugin/provider/opencode.d.ts +2 -1
- 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 +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +6 -6
- package/dist/v1/config/migrate.js +97 -97
- 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/variant.js +96 -96
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +94 -94
- package/dist/voice.js +92 -92
- package/dist/websearch.js +90 -90
- 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 +101 -101
- package/package.json +8 -8
- package/dist/chunks/command-0s5yyc28.js +0 -219
- package/dist/chunks/command-5dwav50q.js +0 -26
- package/dist/chunks/command-me0dhgxs.js +0 -18
- package/dist/chunks/command-xd0mmx4p.js +0 -261
- /package/dist/chunks/{command-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2bv980vf.js → state-2bv980vf.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-5fjb7ams.js → state-5fjb7ams.js} +0 -0
- /package/dist/chunks/{command-5qd3pb7m.js → state-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{command-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{command-84wd9syh.js → state-84wd9syh.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a058387c.js → state-a058387c.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cqv5kn06.js → state-cqv5kn06.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hcxmzztb.js → state-hcxmzztb.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jwr30sdr.js → state-jwr30sdr.js} +0 -0
- /package/dist/chunks/{command-jze0r7bz.js → state-jze0r7bz.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-m18g726c.js → state-m18g726c.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-pkyv6v7h.js → state-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-ve7vex1e.js → state-ve7vex1e.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wjj7prxr.js → state-wjj7prxr.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{command-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,99 +1,99 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-y9dcbvc0.js";
|
|
5
5
|
import {
|
|
6
6
|
Service86,
|
|
7
7
|
node90
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./state-4p9b4r2p.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionMessage2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-gftt206x.js";
|
|
12
12
|
import {
|
|
13
13
|
StepFailedError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-qxq90j3e.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionEvent2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./state-ec1grn59.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionMessageTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./state-998yhzzq.js";
|
|
21
21
|
import {
|
|
22
22
|
prepare4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./state-4q1b57yv.js";
|
|
24
24
|
import {
|
|
25
25
|
decodeMessageRow2,
|
|
26
26
|
preview2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./state-2ppa869z.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service70,
|
|
30
|
+
node74
|
|
31
|
+
} from "./state-4nw1g1b0.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service20,
|
|
34
|
+
node22
|
|
35
|
+
} from "./state-weh1a0nb.js";
|
|
36
36
|
import {
|
|
37
37
|
llmClient2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./state-p015t6z3.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
40
|
+
Service35,
|
|
41
|
+
node38
|
|
42
|
+
} from "./state-jfeae8gq.js";
|
|
43
43
|
import {
|
|
44
44
|
baseTranscript2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./state-2rqvw2mf.js";
|
|
46
46
|
import {
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
47
|
+
make10
|
|
48
|
+
} from "./state-djjzzs3c.js";
|
|
49
49
|
import {
|
|
50
50
|
toSessionError2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./state-yc5f64c4.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
Service7,
|
|
54
|
+
node9,
|
|
55
55
|
estimatePrompt2
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./state-0czbrqz1.js";
|
|
57
57
|
import {
|
|
58
|
-
|
|
59
|
-
} from "./
|
|
58
|
+
node58
|
|
59
|
+
} from "./state-963r0pdn.js";
|
|
60
60
|
import {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
61
|
+
Service29,
|
|
62
|
+
node33
|
|
63
|
+
} from "./state-q6n1xzyn.js";
|
|
64
64
|
import {
|
|
65
65
|
serialized2,
|
|
66
66
|
nextPromotable2,
|
|
67
67
|
promote2
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./state-wttyt2c5.js";
|
|
69
69
|
import {
|
|
70
70
|
Service6,
|
|
71
71
|
isUntitled2,
|
|
72
72
|
node8
|
|
73
|
-
} from "./
|
|
73
|
+
} from "./state-9zkm52pa.js";
|
|
74
74
|
import {
|
|
75
75
|
DrainResult2,
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
76
|
+
Service49
|
|
77
|
+
} from "./state-w9w8mt4n.js";
|
|
78
78
|
import {
|
|
79
79
|
node46
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./state-81jtk0d4.js";
|
|
81
81
|
import {
|
|
82
82
|
Outcome2,
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
83
|
+
make9
|
|
84
|
+
} from "./state-d7fjdp3y.js";
|
|
85
85
|
import {
|
|
86
|
-
|
|
87
|
-
} from "./
|
|
86
|
+
Service33
|
|
87
|
+
} from "./state-a610t88q.js";
|
|
88
88
|
import {
|
|
89
|
-
|
|
90
|
-
} from "./
|
|
89
|
+
node24
|
|
90
|
+
} from "./state-ygmx28v3.js";
|
|
91
91
|
import {
|
|
92
92
|
MAX_STEPS_PROMPT2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./state-y44na4kk.js";
|
|
94
94
|
import {
|
|
95
95
|
__export
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./state-9rqn6x4v.js";
|
|
97
97
|
|
|
98
98
|
// src/session/runner/llm.ts
|
|
99
99
|
var exports_llm = {};
|
|
@@ -107,17 +107,17 @@ import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
|
107
107
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
108
108
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
109
109
|
var CONTINUE_AFTER_OUTPUT_LIMIT = "Your last response hit the output token limit (stop reason: length). Do not apologize, recap, or repeat yourself. Break the remaining work into smaller pieces.";
|
|
110
|
-
var layer = Layer.effect(
|
|
110
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
111
111
|
const bus = yield* Service86;
|
|
112
|
-
const lifecycle = yield*
|
|
113
|
-
const store = yield*
|
|
114
|
-
const context = yield*
|
|
115
|
-
const modelTransport = yield*
|
|
112
|
+
const lifecycle = yield* Service20;
|
|
113
|
+
const store = yield* Service70;
|
|
114
|
+
const context = yield* Service29;
|
|
115
|
+
const modelTransport = yield* Service35;
|
|
116
116
|
const db = (yield* Service87).db;
|
|
117
|
-
const compaction = yield*
|
|
118
|
-
const plugins = yield*
|
|
117
|
+
const compaction = yield* Service7;
|
|
118
|
+
const plugins = yield* Service33;
|
|
119
119
|
const title = yield* Service6;
|
|
120
|
-
const steps = yield*
|
|
120
|
+
const steps = yield* make9;
|
|
121
121
|
const titles = yield* FiberMap.make();
|
|
122
122
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
123
123
|
const sessionID = input.sessionID;
|
|
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
240
240
|
const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
|
|
241
241
|
const sessionID = first.session.id;
|
|
242
242
|
let assistantMessageID = SessionMessage2.ID.create();
|
|
243
|
-
const retry = yield*
|
|
243
|
+
const retry = yield* make10(bus, sessionID);
|
|
244
244
|
let initial = first;
|
|
245
245
|
let recoverOverflow = true;
|
|
246
246
|
let recoverContinuation = true;
|
|
@@ -380,23 +380,23 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
382
|
});
|
|
383
|
-
return
|
|
383
|
+
return Service49.of({ drain });
|
|
384
384
|
}));
|
|
385
385
|
var node7 = makeLocationNode({
|
|
386
|
-
service:
|
|
386
|
+
service: Service49,
|
|
387
387
|
layer,
|
|
388
388
|
deps: [
|
|
389
389
|
node90,
|
|
390
|
-
|
|
390
|
+
node22,
|
|
391
391
|
llmClient2,
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
392
|
+
node33,
|
|
393
|
+
node38,
|
|
394
|
+
node74,
|
|
395
|
+
node9,
|
|
396
|
+
node24,
|
|
397
397
|
node8,
|
|
398
398
|
node46,
|
|
399
|
-
|
|
399
|
+
node58,
|
|
400
400
|
node91
|
|
401
401
|
]
|
|
402
402
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-mzbswx4t.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error = {};
|
|
@@ -20,7 +20,7 @@ __export(exports_error, {
|
|
|
20
20
|
InvalidListCursorError: () => InvalidListCursorError2,
|
|
21
21
|
MessageDecodeError: () => MessageDecodeError2,
|
|
22
22
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
24
|
PromptConflictError: () => PromptConflictError2,
|
|
25
25
|
SessionErrors: () => exports_error,
|
|
26
26
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError10 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError10, InvalidListCursorError2, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/process";
|
|
8
8
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
9
|
-
function
|
|
9
|
+
function make11(input) {
|
|
10
10
|
const disabled = false;
|
|
11
11
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
12
12
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -259,4 +259,4 @@ function hasRecordKey(input, field, key) {
|
|
|
259
259
|
return isRecord(input[field]) && key in input[field];
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
export {
|
|
262
|
+
export { make11 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-gtz18rwj.js";
|
|
8
8
|
import {
|
|
9
9
|
stringify2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-5fjb7ams.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/aisdk.ts
|
|
16
16
|
var exports_aisdk = {};
|
|
17
17
|
__export(exports_aisdk, {
|
|
18
18
|
AISDK: () => exports_aisdk,
|
|
19
19
|
InitError: () => InitError2,
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service61,
|
|
21
21
|
locationLayer: () => locationLayer2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node65
|
|
23
23
|
});
|
|
24
24
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
25
25
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -156,7 +156,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
156
156
|
var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
|
|
157
157
|
|
|
158
158
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
159
|
-
providerID:
|
|
159
|
+
providerID: ID13,
|
|
160
160
|
cause: Schema.Defect()
|
|
161
161
|
}) {
|
|
162
162
|
}
|
|
@@ -164,9 +164,9 @@ function initError(providerID) {
|
|
|
164
164
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
class
|
|
167
|
+
class Service61 extends Context.Service()("@opencode/AISDK") {
|
|
168
168
|
}
|
|
169
|
-
var locationLayer2 = Layer.effect(
|
|
169
|
+
var locationLayer2 = Layer.effect(Service61, Effect.gen(function* () {
|
|
170
170
|
let sdkHooks = [];
|
|
171
171
|
let languageHooks = [];
|
|
172
172
|
const languages = new Map;
|
|
@@ -204,7 +204,7 @@ var locationLayer2 = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
204
204
|
}
|
|
205
205
|
return event;
|
|
206
206
|
});
|
|
207
|
-
const service =
|
|
207
|
+
const service = Service61.of({
|
|
208
208
|
hook: {
|
|
209
209
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
210
210
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -870,6 +870,6 @@ function providerErrorMessage(error) {
|
|
|
870
870
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
871
871
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
872
872
|
}
|
|
873
|
-
var
|
|
873
|
+
var node65 = makeLocationNode({ service: Service61, layer: locationLayer2, deps: [] });
|
|
874
874
|
|
|
875
|
-
export { InitError2,
|
|
875
|
+
export { InitError2, Service61, locationLayer2, node65, exports_aisdk };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./state-gtz18rwj.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-fa13985z.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
11
11
|
import { Form } from "@opencode/schema/form";
|
|
12
|
-
var providerID =
|
|
12
|
+
var providerID = ID13.make("cloudflare-workers-ai");
|
|
13
13
|
var CloudflareWorkersAIPlugin2 = define({
|
|
14
14
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
15
15
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./state-aev3k5yp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service68
|
|
6
|
+
} from "./state-m4cs48c6.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID12,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service74
|
|
14
|
+
} from "./state-nqykckqs.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./state-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input13,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin50,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description5,
|
|
27
|
+
name: () => name13
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var name13 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input13 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID12,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin50 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service68;
|
|
53
|
+
const forms = yield* Service82;
|
|
54
|
+
const websearch = yield* Service74;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name13,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description5,
|
|
59
|
+
input: Input13,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name13,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name13];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name13, NO_RESULTS2, description5, Input13, Plugin50, exports_websearch2 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
batch2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-vd3b3yk9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service62
|
|
6
|
+
} from "./state-p5k0b6xz.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-z38nccrw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
Service15,
|
|
12
|
+
statements3,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-pjwfm23k.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./state-6pjqjmy2.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./state-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/policy.ts
|
|
23
23
|
var exports_policy = {};
|
|
24
24
|
__export(exports_policy, {
|
|
25
25
|
ConfigPolicyPlugin: () => exports_policy,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin36
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Effect, Stream } from "effect";
|
|
30
|
-
var
|
|
30
|
+
var Plugin36 = define({
|
|
31
31
|
id: "opencode.config.policy",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const managed = yield*
|
|
33
|
+
const config = yield* Service62;
|
|
34
|
+
const managed = yield* Service15;
|
|
35
35
|
const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload()], { discard: true }));
|
|
36
36
|
const loaded = yield* observe2(config, ctx.event, reload);
|
|
37
37
|
yield* managed.changes().pipe(Stream.runForEach(() => reload), Effect.forkScoped({ startImmediately: true }));
|
|
38
|
-
const policies = () =>
|
|
38
|
+
const policies = () => statements3(loaded.entries, managed.current());
|
|
39
39
|
const runSync = Effect.runSyncWith(yield* Effect.context());
|
|
40
40
|
yield* ctx.provider.transform((providers) => {
|
|
41
41
|
const current = policies();
|
|
@@ -76,4 +76,4 @@ var Plugin29 = define({
|
|
|
76
76
|
})
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export {
|
|
79
|
+
export { Plugin36, exports_policy };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info14,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
|
-
Remote: () =>
|
|
15
|
+
Remote: () => Remote3
|
|
16
16
|
});
|
|
17
17
|
import { Schema } from "effect";
|
|
18
18
|
var Local2 = Schema.Struct({
|
|
@@ -48,7 +48,7 @@ var OAuth2 = Schema.Struct({
|
|
|
48
48
|
description: "OAuth redirect URI (default: http://127.0.0.1:19876/mcp/oauth/callback)."
|
|
49
49
|
})
|
|
50
50
|
}).annotate({ identifier: "McpOAuthConfig" });
|
|
51
|
-
var
|
|
51
|
+
var Remote3 = Schema.Struct({
|
|
52
52
|
type: Schema.Literal("remote").annotate({ description: "Type of MCP server connection" }),
|
|
53
53
|
url: Schema.String.annotate({ description: "URL of the remote MCP server" }),
|
|
54
54
|
enabled: Schema.optional(Schema.Boolean).annotate({
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info14 = Schema.Union([Local2, Remote3]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2,
|
|
69
|
+
export { Local2, OAuth2, Remote3, Info14, exports_mcp5 };
|