@opencode/core 2.1.2 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{repository-cache-apagrtrt.js → instruction-discovery-00vfyfmg.js} +19 -20
- package/dist/chunks/{repository-cache-cg5q9ras.js → instruction-discovery-010690t7.js} +39 -34
- package/dist/chunks/{repository-cache-rj3eygr5.js → instruction-discovery-034tev2y.js} +2 -2
- package/dist/chunks/{repository-cache-d72a72b9.js → instruction-discovery-043wk7y2.js} +15 -15
- package/dist/chunks/{repository-cache-f8yphcvr.js → instruction-discovery-08c8nzsh.js} +17 -17
- package/dist/chunks/{repository-cache-cz1210nh.js → instruction-discovery-0afbw91q.js} +16 -16
- package/dist/chunks/{repository-cache-bf876wkh.js → instruction-discovery-0dw5cvz7.js} +13 -13
- package/dist/chunks/{repository-cache-twwrpnjg.js → instruction-discovery-0kjn1fz0.js} +14 -14
- package/dist/chunks/{repository-cache-ez5pkgh4.js → instruction-discovery-0mhrw39n.js} +25 -25
- package/dist/chunks/{repository-cache-9da6j7qw.js → instruction-discovery-0rmtycpk.js} +13 -13
- package/dist/chunks/{repository-cache-6khagj97.js → instruction-discovery-0txtbpzw.js} +32 -32
- package/dist/chunks/{repository-cache-gm3f9v0x.js → instruction-discovery-11xg13et.js} +16 -19
- package/dist/chunks/{repository-cache-rw0rmakh.js → instruction-discovery-1887s9ws.js} +3 -3
- package/dist/chunks/{repository-cache-rx1rzkp9.js → instruction-discovery-18b8n2mx.js} +18 -18
- package/dist/chunks/{repository-cache-x41h92ne.js → instruction-discovery-1acn2yrp.js} +11 -11
- package/dist/chunks/{repository-cache-w7fj1zb2.js → instruction-discovery-1cx70z4q.js} +10 -10
- package/dist/chunks/{repository-cache-w0cy9m9e.js → instruction-discovery-1dqke238.js} +8 -8
- package/dist/chunks/{repository-cache-rert0e01.js → instruction-discovery-1ep2p91f.js} +2 -2
- package/dist/chunks/{repository-cache-bzcwmnv3.js → instruction-discovery-1m4hc5mh.js} +11 -11
- package/dist/chunks/{repository-cache-4xpgt2w9.js → instruction-discovery-1vdntpm3.js} +2 -2
- package/dist/chunks/{repository-cache-6827pfxn.js → instruction-discovery-1x2knyw4.js} +1 -1
- package/dist/chunks/{repository-cache-6vq97qmv.js → instruction-discovery-1x75wf9g.js} +5 -5
- package/dist/chunks/{repository-cache-mqqhst8y.js → instruction-discovery-1y0wdj51.js} +4 -4
- package/dist/chunks/{repository-cache-qgn6gcr1.js → instruction-discovery-1yq9hg58.js} +5 -5
- package/dist/chunks/{repository-cache-hnvjv21h.js → instruction-discovery-20e5g7bx.js} +28 -28
- package/dist/chunks/{repository-cache-m12bw8xw.js → instruction-discovery-2annm2pv.js} +20 -23
- package/dist/chunks/{repository-cache-v5dkyp31.js → instruction-discovery-2azy8kv6.js} +4 -4
- package/dist/chunks/{repository-cache-tkt1yh5w.js → instruction-discovery-2cjmrnhq.js} +11 -11
- package/dist/chunks/{repository-cache-3ske6nsv.js → instruction-discovery-2dh20r6m.js} +21 -21
- package/dist/chunks/{repository-cache-zvt5dnpc.js → instruction-discovery-2m2g9ynh.js} +4 -4
- package/dist/chunks/{repository-cache-ke7rr379.js → instruction-discovery-2p8pcvpp.js} +28 -28
- package/dist/chunks/{repository-cache-vzjp43bk.js → instruction-discovery-2ph54kq6.js} +6 -5
- package/dist/chunks/{repository-cache-2296e4cw.js → instruction-discovery-2vnhppnj.js} +18 -18
- package/dist/chunks/{repository-cache-3smtnn6g.js → instruction-discovery-2z1j29yd.js} +5 -3
- package/dist/chunks/{repository-cache-t8z4ntba.js → instruction-discovery-3ffdjm8e.js} +24 -24
- package/dist/chunks/{repository-cache-3hepkmqq.js → instruction-discovery-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-cache-54ma36ye.js → instruction-discovery-3nnrz6f6.js} +1 -1
- package/dist/chunks/{repository-cache-2ntc19nv.js → instruction-discovery-3p713cmj.js} +42 -68
- package/dist/chunks/{repository-cache-x51ersaw.js → instruction-discovery-3wvbe35v.js} +17 -17
- package/dist/chunks/{repository-cache-xh38a0x5.js → instruction-discovery-3z193f8y.js} +1 -1
- package/dist/chunks/{repository-cache-wwh9ddtq.js → instruction-discovery-43jry69q.js} +7 -7
- package/dist/chunks/{repository-cache-3xcrjpsd.js → instruction-discovery-46r0wh18.js} +22 -24
- package/dist/chunks/{repository-cache-24ra19qx.js → instruction-discovery-4n11yhw4.js} +31 -28
- package/dist/chunks/{repository-cache-mjfbh2zj.js → instruction-discovery-4shrmavh.js} +14 -14
- package/dist/chunks/{repository-cache-zr2ceqn5.js → instruction-discovery-4v008n1t.js} +1 -1
- package/dist/chunks/{repository-cache-z0mn1t4q.js → instruction-discovery-4wn1snmt.js} +46 -46
- package/dist/chunks/{repository-cache-6yftxg5c.js → instruction-discovery-4x3py1rw.js} +20 -20
- package/dist/chunks/{repository-cache-am5vmnvv.js → instruction-discovery-4x6wmwcx.js} +21 -21
- package/dist/chunks/{repository-cache-a20pjse5.js → instruction-discovery-4xvmh7wp.js} +3 -3
- package/dist/chunks/{repository-cache-cd8v38ms.js → instruction-discovery-5091jnev.js} +103 -92
- package/dist/chunks/{repository-cache-3wxjf8vr.js → instruction-discovery-55tcnysh.js} +12 -12
- package/dist/chunks/{repository-cache-pyv0edze.js → instruction-discovery-5fjb7ams.js} +4 -4
- package/dist/chunks/{repository-cache-h1g26er5.js → instruction-discovery-5fkm8khv.js} +20 -20
- package/dist/chunks/{repository-cache-qd9a1hat.js → instruction-discovery-5hny5v5k.js} +96 -100
- package/dist/chunks/{repository-cache-5m9w47nd.js → instruction-discovery-5m9w47nd.js} +1 -1
- package/dist/chunks/{repository-cache-n99h6tw9.js → instruction-discovery-5t4dhsbz.js} +34 -36
- package/dist/chunks/{repository-cache-8wmb0r1y.js → instruction-discovery-5v9evq2g.js} +8 -8
- package/dist/chunks/{repository-cache-1g044nmy.js → instruction-discovery-5yzc6bj8.js} +14 -11
- package/dist/chunks/{repository-cache-gtdxectv.js → instruction-discovery-62mdyzxb.js} +14 -14
- package/dist/chunks/{repository-cache-5d607bsg.js → instruction-discovery-6c5cd6ez.js} +9 -9
- package/dist/chunks/{repository-cache-zxq2ej10.js → instruction-discovery-6esdw8yj.js} +1 -1
- package/dist/chunks/{repository-cache-07rqgew6.js → instruction-discovery-6j214bp7.js} +9 -9
- package/dist/chunks/{repository-cache-84cpmds6.js → instruction-discovery-6pg400w5.js} +21 -38
- package/dist/chunks/{repository-cache-qsdy395h.js → instruction-discovery-6pjqjmy2.js} +1 -1
- package/dist/chunks/{repository-cache-kvk0xsab.js → instruction-discovery-6q77emv1.js} +18 -18
- package/dist/chunks/{repository-cache-x1jjhmsh.js → instruction-discovery-6vnjn6e3.js} +14 -14
- package/dist/chunks/{repository-cache-9hwaqfsw.js → instruction-discovery-6y263vp8.js} +7 -11
- package/dist/chunks/{repository-cache-zj2b8f8d.js → instruction-discovery-6z2tyrnm.js} +29 -31
- package/dist/chunks/{repository-cache-gng93yft.js → instruction-discovery-6zh9yw36.js} +3 -3
- package/dist/chunks/{repository-cache-tcezcvh9.js → instruction-discovery-76cb1hcw.js} +1 -1
- package/dist/chunks/{repository-cache-g5ngm8f4.js → instruction-discovery-76ncshtz.js} +30 -30
- package/dist/chunks/{repository-cache-bzeyqsqd.js → instruction-discovery-770pw0s1.js} +4 -4
- package/dist/chunks/{repository-cache-14z3krkx.js → instruction-discovery-7ayzy530.js} +1 -1
- package/dist/chunks/{repository-cache-7bmhse3q.js → instruction-discovery-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-cache-95t8ye7z.js → instruction-discovery-7d1g1zxa.js} +44 -45
- package/dist/chunks/{repository-cache-k1php5wk.js → instruction-discovery-7d2ezwbt.js} +44 -29
- package/dist/chunks/{repository-cache-8s3pces3.js → instruction-discovery-7fyd11se.js} +12 -12
- package/dist/chunks/{repository-cache-8pvf9cdd.js → instruction-discovery-7m02jy4j.js} +16 -16
- package/dist/chunks/{repository-cache-z1fx9rk1.js → instruction-discovery-7nepz6ee.js} +4 -4
- package/dist/chunks/{repository-cache-qd284e96.js → instruction-discovery-7w0k7xvm.js} +13 -13
- package/dist/chunks/{repository-cache-kwb1v3vj.js → instruction-discovery-7w2ypzdf.js} +1 -1
- package/dist/chunks/{repository-cache-br622wkd.js → instruction-discovery-7yv7aars.js} +71 -71
- package/dist/chunks/{repository-cache-acd8cc5y.js → instruction-discovery-8a6bse1c.js} +24 -22
- package/dist/chunks/{repository-cache-qy7ffa5a.js → instruction-discovery-8d991bzx.js} +9 -9
- package/dist/chunks/{repository-cache-dpkg50ah.js → instruction-discovery-8jztxfpf.js} +1 -1
- package/dist/chunks/{repository-cache-y642zbcz.js → instruction-discovery-8k3r5dp0.js} +28 -28
- package/dist/chunks/{repository-cache-s3ertt83.js → instruction-discovery-8mhma7yw.js} +10 -10
- package/dist/chunks/{repository-cache-1rj8m5vq.js → instruction-discovery-8p073n4r.js} +7 -7
- package/dist/chunks/instruction-discovery-8wc7jg0k.js +26 -0
- package/dist/chunks/{repository-cache-h6vf3j39.js → instruction-discovery-8wtp7s3z.js} +1 -1
- package/dist/chunks/{repository-cache-syv4x271.js → instruction-discovery-91rj84md.js} +4 -2
- package/dist/chunks/{repository-cache-6pc27hjz.js → instruction-discovery-956c56jz.js} +6 -6
- package/dist/chunks/{repository-cache-mx9vqzsb.js → instruction-discovery-97cewran.js} +6 -6
- package/dist/chunks/{repository-cache-atj1s5r2.js → instruction-discovery-98t435zw.js} +21 -16
- package/dist/chunks/{repository-cache-c1fqxshp.js → instruction-discovery-998yhzzq.js} +4 -4
- package/dist/chunks/{repository-cache-6qprtkrf.js → instruction-discovery-9hbqwfdp.js} +58 -34
- package/dist/chunks/{repository-cache-hwjyn0yt.js → instruction-discovery-9r0x1bva.js} +9 -9
- package/dist/chunks/{repository-cache-3t0ybcrp.js → instruction-discovery-a058387c.js} +4 -2
- package/dist/chunks/{repository-cache-3wvrfr7w.js → instruction-discovery-a12mwymm.js} +15 -15
- package/dist/chunks/{repository-cache-vs7zhs8r.js → instruction-discovery-a4b9rhwe.js} +13 -13
- package/dist/chunks/{repository-cache-96dnwma2.js → instruction-discovery-a6r83rnm.js} +32 -32
- package/dist/chunks/{repository-cache-0cwe34aq.js → instruction-discovery-a9n89zg4.js} +22 -22
- package/dist/chunks/{repository-cache-4m3ygwz0.js → instruction-discovery-ad4wbrpy.js} +11 -11
- package/dist/chunks/{repository-cache-k20z56w2.js → instruction-discovery-avzkbq4q.js} +44 -45
- package/dist/chunks/{repository-cache-sa8ekw3f.js → instruction-discovery-ayjs7tqn.js} +3 -3
- package/dist/chunks/{repository-cache-3hwn7j4h.js → instruction-discovery-b0mv4wxm.js} +2 -2
- package/dist/chunks/{repository-cache-hbvyahhm.js → instruction-discovery-b5j1fcax.js} +21 -21
- package/dist/chunks/{repository-cache-nz56sr1f.js → instruction-discovery-b6vsg801.js} +4 -3
- package/dist/chunks/{repository-cache-j2xqfvk3.js → instruction-discovery-b8mk3enz.js} +11 -11
- package/dist/chunks/{repository-cache-23fc6a7j.js → instruction-discovery-b974jjnj.js} +13 -13
- package/dist/chunks/{repository-cache-4nxvs59q.js → instruction-discovery-b9p9sb5m.js} +26 -28
- package/dist/chunks/{repository-cache-nsxxvcpe.js → instruction-discovery-ba1860as.js} +15 -15
- package/dist/chunks/{repository-cache-60xtzwnm.js → instruction-discovery-bcyzxrby.js} +20 -20
- package/dist/chunks/{repository-cache-84txncab.js → instruction-discovery-bstexjd6.js} +1 -1
- package/dist/chunks/{repository-cache-5xn7qbr2.js → instruction-discovery-bwg9673r.js} +16 -16
- package/dist/chunks/{repository-cache-g90zrjvy.js → instruction-discovery-bzfg3f7z.js} +43 -38
- package/dist/chunks/{repository-cache-8s4xtewj.js → instruction-discovery-c0emejqt.js} +15 -15
- package/dist/chunks/{repository-cache-btpxpz9q.js → instruction-discovery-c1tsfj35.js} +6 -6
- package/dist/chunks/{repository-cache-axe3mf62.js → instruction-discovery-c2sed5cq.js} +3 -3
- package/dist/chunks/{repository-cache-0javqkgf.js → instruction-discovery-c3cfh5w6.js} +9 -9
- package/dist/chunks/{repository-cache-qs0n9k2z.js → instruction-discovery-cgwzn4dm.js} +28 -30
- package/dist/chunks/{repository-cache-dh0nadn9.js → instruction-discovery-cqmfkhmj.js} +36 -36
- package/dist/chunks/{repository-cache-kdz0rk07.js → instruction-discovery-cqxf2v2j.js} +5 -5
- package/dist/chunks/{repository-cache-4evmdpem.js → instruction-discovery-d0bfceqm.js} +30 -43
- package/dist/chunks/{repository-cache-0vbcp93d.js → instruction-discovery-d4v9tmah.js} +2 -2
- package/dist/chunks/{repository-cache-s1aqfa5x.js → instruction-discovery-d63q5jb9.js} +48 -48
- package/dist/chunks/{repository-cache-k2vh0b3r.js → instruction-discovery-ddbr5e5j.js} +18 -18
- package/dist/chunks/{repository-cache-hm1sg1ry.js → instruction-discovery-e2mf0cbs.js} +35 -35
- package/dist/chunks/{repository-cache-wrmbd4ct.js → instruction-discovery-e65cdmhb.js} +8 -8
- package/dist/chunks/{repository-cache-8m6m0r52.js → instruction-discovery-e834z07m.js} +1 -1
- package/dist/chunks/{repository-cache-ef5x83kb.js → instruction-discovery-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-cache-068g2d37.js → instruction-discovery-ekeaw6g8.js} +37 -37
- package/dist/chunks/{repository-cache-eg5kq0wk.js → instruction-discovery-etwrvj6f.js} +9 -9
- package/dist/chunks/{repository-cache-jcwtgcwh.js → instruction-discovery-ewjr930z.js} +4 -4
- package/dist/chunks/{repository-cache-w94dkyq7.js → instruction-discovery-exc8xa65.js} +27 -27
- package/dist/chunks/{repository-cache-mkqa88c4.js → instruction-discovery-f0st8ac1.js} +3 -3
- package/dist/chunks/{repository-cache-f31q5wm1.js → instruction-discovery-f8fq6sgx.js} +17 -17
- package/dist/chunks/{repository-cache-b0b3nmkz.js → instruction-discovery-ffcwgx2p.js} +50 -50
- package/dist/chunks/{repository-cache-9j0x65xk.js → instruction-discovery-ffdw0et2.js} +5 -5
- package/dist/chunks/{repository-cache-z18fegx4.js → instruction-discovery-fffv3p7h.js} +2 -10
- package/dist/chunks/{repository-cache-tcxc2yk9.js → instruction-discovery-fhjfpzy5.js} +13 -13
- package/dist/chunks/{repository-cache-t1r0yajc.js → instruction-discovery-fnw4y167.js} +10 -15
- package/dist/chunks/{repository-cache-fxaymqdw.js → instruction-discovery-fznmdakp.js} +4 -4
- package/dist/chunks/{repository-cache-eej6y6fw.js → instruction-discovery-g5h9c0rr.js} +2 -2
- package/dist/chunks/{repository-cache-v1vh7s4p.js → instruction-discovery-gcjdgkn2.js} +9 -9
- package/dist/chunks/{repository-cache-5xte2yyn.js → instruction-discovery-gq24h8g9.js} +18 -20
- package/dist/chunks/instruction-discovery-grzehpz7.js +18 -0
- package/dist/chunks/{repository-cache-xwgk07kc.js → instruction-discovery-gwkpgrwq.js} +33 -33
- package/dist/chunks/instruction-discovery-h50tsds5.js +257 -0
- package/dist/chunks/{repository-cache-9sr4q53q.js → instruction-discovery-hdgh8tc2.js} +11 -11
- package/dist/chunks/{repository-cache-41bqvch9.js → instruction-discovery-hq055v4c.js} +10 -10
- package/dist/chunks/{repository-cache-mq56jt1j.js → instruction-discovery-hxbv21kt.js} +25 -24
- package/dist/chunks/{repository-cache-8w6fvyhj.js → instruction-discovery-hyynj17b.js} +3 -3
- package/dist/chunks/{repository-cache-n196avmr.js → instruction-discovery-j035ke4x.js} +36 -36
- package/dist/chunks/{repository-cache-tm0kqsz3.js → instruction-discovery-j113cymg.js} +4 -3
- package/dist/chunks/{repository-cache-psj2x98s.js → instruction-discovery-j4mjn1pq.js} +5 -5
- package/dist/chunks/{repository-cache-t89fqycx.js → instruction-discovery-jc512s3p.js} +8 -8
- package/dist/chunks/{repository-cache-9f77xx3w.js → instruction-discovery-jf30r1rb.js} +12 -12
- package/dist/chunks/{repository-cache-63jfzrme.js → instruction-discovery-jjbtbvzd.js} +21 -17
- package/dist/chunks/{repository-cache-x98xddc7.js → instruction-discovery-jme6sax1.js} +9 -9
- package/dist/chunks/{repository-cache-s8d7rejh.js → instruction-discovery-jneg3k74.js} +1 -1
- package/dist/chunks/{repository-cache-95hwhe14.js → instruction-discovery-jsbhksmn.js} +13 -13
- package/dist/chunks/{repository-cache-mk9tkz9j.js → instruction-discovery-jzmsqkqv.js} +1 -1
- package/dist/chunks/{repository-cache-1sj4xbsw.js → instruction-discovery-jzrtge32.js} +4 -4
- package/dist/chunks/{repository-cache-4xtxvh3c.js → instruction-discovery-k5dps1se.js} +11 -11
- package/dist/chunks/{repository-cache-5f1cq77a.js → instruction-discovery-k61mxn43.js} +11 -11
- package/dist/chunks/instruction-discovery-k6hny6gd.js +107 -0
- package/dist/chunks/{repository-cache-vzs5sf6e.js → instruction-discovery-k814nvkf.js} +1 -1
- package/dist/chunks/{repository-cache-wwkjqs8e.js → instruction-discovery-kb0avjr6.js} +8 -8
- package/dist/chunks/{repository-cache-amsnh37f.js → instruction-discovery-kbp23r6j.js} +9 -9
- package/dist/chunks/{repository-cache-k7myrtme.js → instruction-discovery-kdbzq6ew.js} +9 -9
- package/dist/chunks/{repository-cache-bnqg0hxn.js → instruction-discovery-kdmjmd4e.js} +3 -3
- package/dist/chunks/{repository-cache-1ycwwje8.js → instruction-discovery-kj7e2tww.js} +43 -44
- package/dist/chunks/{repository-cache-ettmqyzq.js → instruction-discovery-kkh84317.js} +11 -18
- package/dist/chunks/{repository-cache-6f890ccd.js → instruction-discovery-kmzgegqq.js} +8 -8
- package/dist/chunks/{repository-cache-se9m0ate.js → instruction-discovery-kr28pkn3.js} +34 -34
- package/dist/chunks/{repository-cache-3zsf4n22.js → instruction-discovery-m1714858.js} +1 -1
- package/dist/chunks/{repository-cache-drwq78ky.js → instruction-discovery-m37sd98t.js} +4 -5
- package/dist/chunks/{repository-cache-ezx2brb0.js → instruction-discovery-m46e9dn8.js} +20 -16
- package/dist/chunks/{repository-cache-m9w0rfyh.js → instruction-discovery-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-cache-s7ggtf3y.js → instruction-discovery-ma4p4v89.js} +23 -19
- package/dist/chunks/{repository-cache-maspj1v3.js → instruction-discovery-maspj1v3.js} +1 -1
- package/dist/chunks/{repository-cache-vsa820f9.js → instruction-discovery-mbvnayvm.js} +41 -39
- package/dist/chunks/{repository-cache-8mywswrd.js → instruction-discovery-me5bcav6.js} +1 -1
- package/dist/chunks/{repository-cache-2r3bm1pf.js → instruction-discovery-mfa5g8gf.js} +19 -19
- package/dist/chunks/{repository-cache-fpen5yq5.js → instruction-discovery-mg3zv8ep.js} +18 -18
- package/dist/chunks/{repository-cache-1bsm6gb2.js → instruction-discovery-mjatteds.js} +18 -18
- package/dist/chunks/{repository-cache-9bh5q6pj.js → instruction-discovery-mn6tycs6.js} +10 -14
- package/dist/chunks/{repository-cache-hspen3n6.js → instruction-discovery-mpx851pd.js} +27 -30
- package/dist/chunks/{repository-cache-tt8gc4fv.js → instruction-discovery-mt3ysty9.js} +6 -6
- package/dist/chunks/{repository-cache-fcy631f0.js → instruction-discovery-n0p0277s.js} +1 -1
- package/dist/chunks/{repository-cache-vbj53afp.js → instruction-discovery-n4jvz8kw.js} +8 -8
- package/dist/chunks/{repository-cache-1hyfwtsr.js → instruction-discovery-n5194rg1.js} +317 -310
- package/dist/chunks/{repository-cache-2eegacq4.js → instruction-discovery-nad4mkqt.js} +8 -8
- package/dist/chunks/{repository-cache-sfjrjc0q.js → instruction-discovery-nttn14j9.js} +4 -4
- package/dist/chunks/{repository-cache-c02r2nwt.js → instruction-discovery-nxsjqf5t.js} +11 -11
- package/dist/chunks/{repository-cache-775gj3j1.js → instruction-discovery-p015t6z3.js} +2 -2
- package/dist/chunks/{repository-cache-5mnspefx.js → instruction-discovery-p3ram5kx.js} +34 -35
- package/dist/chunks/{repository-cache-za7dxrd4.js → instruction-discovery-p4az2c5k.js} +15 -15
- package/dist/chunks/{repository-cache-dsx0mmc6.js → instruction-discovery-p8t554mv.js} +28 -28
- package/dist/chunks/{repository-cache-sxcaecc0.js → instruction-discovery-pc1v25hk.js} +4 -6
- package/dist/chunks/{repository-cache-ethnw1sn.js → instruction-discovery-pd3xbwyj.js} +19 -19
- package/dist/chunks/{repository-cache-kp3dd9gy.js → instruction-discovery-pk22050n.js} +2 -2
- package/dist/chunks/{repository-cache-pknna89w.js → instruction-discovery-pknna89w.js} +1 -1
- package/dist/chunks/{repository-cache-k4q5zqd4.js → instruction-discovery-pmz5xcbe.js} +10 -10
- package/dist/chunks/{repository-cache-a9vzac7j.js → instruction-discovery-pp5hwqdy.js} +6 -6
- package/dist/chunks/{repository-cache-5j9zz1y4.js → instruction-discovery-psq905b5.js} +6 -6
- package/dist/chunks/{repository-cache-mr0cv7ny.js → instruction-discovery-pthf9bv3.js} +13 -13
- package/dist/chunks/{repository-cache-d04ep358.js → instruction-discovery-pytpe3gf.js} +17 -11
- package/dist/chunks/{repository-cache-mjxa0fkz.js → instruction-discovery-qhhs3wjj.js} +33 -33
- package/dist/chunks/{repository-cache-ek8edefh.js → instruction-discovery-qz04j05z.js} +1 -1
- package/dist/chunks/{repository-cache-tyytaxap.js → instruction-discovery-r0yr0wbs.js} +1 -1
- package/dist/chunks/{repository-cache-ywt8jp22.js → instruction-discovery-r41sfy63.js} +6 -6
- package/dist/chunks/{repository-cache-gxdr2vwe.js → instruction-discovery-r6ff3mpm.js} +8 -8
- package/dist/chunks/{repository-cache-tazgh4e4.js → instruction-discovery-rb9dy4dg.js} +1 -1
- package/dist/chunks/{repository-cache-ey9nrxd1.js → instruction-discovery-rh2kdvv3.js} +20 -28
- package/dist/chunks/{repository-cache-hehc42eq.js → instruction-discovery-rjw99gz0.js} +9 -9
- package/dist/chunks/{repository-cache-3tvqynh2.js → instruction-discovery-rt5dr6hb.js} +1 -1
- package/dist/chunks/{repository-cache-pk0dmpdf.js → instruction-discovery-rtqr9ste.js} +21 -25
- package/dist/chunks/{repository-cache-7b2pfqtj.js → instruction-discovery-rx7ecff6.js} +3 -3
- package/dist/chunks/{repository-cache-xhbe8e91.js → instruction-discovery-ryq7zjd3.js} +16 -16
- package/dist/chunks/{repository-cache-ys3h2zrn.js → instruction-discovery-scaas24c.js} +34 -34
- package/dist/chunks/{repository-cache-hpfdwx7h.js → instruction-discovery-scfq87m9.js} +6 -6
- package/dist/chunks/{repository-cache-sq37fes3.js → instruction-discovery-sm5tp0dc.js} +10 -10
- package/dist/chunks/{repository-cache-6xb47vfp.js → instruction-discovery-sqjzf8x2.js} +1 -1
- package/dist/chunks/{repository-cache-vep9yay1.js → instruction-discovery-ssfehs1z.js} +4 -4
- package/dist/chunks/{repository-cache-78c4e6ad.js → instruction-discovery-t31xmjpq.js} +21 -21
- package/dist/chunks/{repository-cache-t720n0zt.js → instruction-discovery-t633519e.js} +35 -35
- package/dist/chunks/{repository-cache-6nhfh867.js → instruction-discovery-t8qa7zg5.js} +6 -6
- package/dist/chunks/{repository-cache-cmkn1bh9.js → instruction-discovery-ta8jwj2a.js} +21 -21
- package/dist/chunks/{repository-cache-gd4qta3r.js → instruction-discovery-tczq8hjw.js} +1 -1
- package/dist/chunks/{repository-cache-ctxez2a7.js → instruction-discovery-tmqhwsdc.js} +6 -6
- package/dist/chunks/{repository-cache-tdstcens.js → instruction-discovery-tw8zr1ps.js} +1 -1
- package/dist/chunks/{repository-cache-v7p4zvkq.js → instruction-discovery-twv2r8f4.js} +2 -2
- package/dist/chunks/{repository-cache-3g642jy4.js → instruction-discovery-tzjzgnfr.js} +2 -2
- package/dist/chunks/{repository-cache-zzv2xjb0.js → instruction-discovery-v1wb27er.js} +35 -35
- package/dist/chunks/{repository-cache-y1yvzwwp.js → instruction-discovery-v2dnm4n9.js} +9 -9
- package/dist/chunks/{repository-cache-be5vje8s.js → instruction-discovery-v3tkh1aj.js} +5 -5
- package/dist/chunks/{repository-cache-rjzs5m1z.js → instruction-discovery-v466f70q.js} +24 -48
- package/dist/chunks/{repository-cache-pzc1z4et.js → instruction-discovery-v4gdxem8.js} +35 -35
- package/dist/chunks/{repository-cache-rdw6cm16.js → instruction-discovery-vd3b3yk9.js} +1 -1
- package/dist/chunks/{repository-cache-veqvce7d.js → instruction-discovery-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-cache-bkafj4ay.js → instruction-discovery-vfjveysg.js} +7 -7
- package/dist/chunks/{repository-cache-ka0kb0pp.js → instruction-discovery-vp60xasa.js} +1 -1
- package/dist/chunks/{repository-cache-aws4c0c0.js → instruction-discovery-vw33scy9.js} +23 -23
- package/dist/chunks/{repository-cache-6b2stqvb.js → instruction-discovery-w0ap69e3.js} +7 -7
- package/dist/chunks/{repository-cache-8xnvw0w1.js → instruction-discovery-w194z9kg.js} +10 -10
- package/dist/chunks/{repository-cache-w3wsvvr9.js → instruction-discovery-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-cache-gye9bare.js → instruction-discovery-w76j0mqj.js} +2 -2
- package/dist/chunks/{repository-cache-baqyxak2.js → instruction-discovery-w7zjqt6n.js} +4 -4
- package/dist/chunks/{repository-cache-qnc92qwc.js → instruction-discovery-wakvkjy4.js} +9 -5
- package/dist/chunks/{repository-cache-cbfm0wb6.js → instruction-discovery-wbmymcea.js} +8 -8
- package/dist/chunks/{repository-cache-kg7htk1j.js → instruction-discovery-wcs0vwrk.js} +82 -28
- package/dist/chunks/{repository-cache-wd87259q.js → instruction-discovery-wd87259q.js} +1 -1
- package/dist/chunks/{repository-cache-k07nhkpw.js → instruction-discovery-wh2p867q.js} +46 -46
- package/dist/chunks/{repository-cache-1rf4yw31.js → instruction-discovery-wkr28yqr.js} +7 -8
- package/dist/chunks/{repository-cache-0cg871e2.js → instruction-discovery-wp4rg1a9.js} +5 -5
- package/dist/chunks/{repository-cache-gen6sgf1.js → instruction-discovery-x0kw00z1.js} +12 -12
- package/dist/chunks/{repository-cache-dqr3pwk6.js → instruction-discovery-x2c3sws5.js} +24 -24
- package/dist/chunks/{repository-cache-k9tkpxn3.js → instruction-discovery-x2sbbjmw.js} +161 -161
- package/dist/chunks/{repository-cache-qrtd1qkj.js → instruction-discovery-x62216mf.js} +11 -11
- package/dist/chunks/{repository-cache-g2qvt889.js → instruction-discovery-xac4ky40.js} +18 -18
- package/dist/chunks/{repository-cache-begyvfqb.js → instruction-discovery-xg53n6nb.js} +14 -15
- package/dist/chunks/{repository-cache-kkp8zx71.js → instruction-discovery-y09thtp3.js} +4 -4
- package/dist/chunks/{repository-cache-58a6xtee.js → instruction-discovery-y299mpjs.js} +54 -54
- package/dist/chunks/{repository-cache-25m6jntb.js → instruction-discovery-y78a4wcp.js} +31 -38
- package/dist/chunks/{repository-cache-qz7vxdk7.js → instruction-discovery-y8a8xdaa.js} +9 -9
- package/dist/chunks/{repository-cache-t95zrypp.js → instruction-discovery-y9awcm76.js} +12 -12
- package/dist/chunks/{repository-cache-pjvnvgmy.js → instruction-discovery-yb20nhc3.js} +1 -1
- package/dist/chunks/{repository-cache-dcdf7gkr.js → instruction-discovery-ygtqa21c.js} +19 -19
- package/dist/chunks/{repository-cache-sfy3bb98.js → instruction-discovery-ymqv4qqa.js} +9 -9
- package/dist/chunks/{repository-cache-z0bkrqjs.js → instruction-discovery-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-cache-y1fvbwt7.js → instruction-discovery-z38nccrw.js} +1 -1
- package/dist/chunks/{repository-cache-qm621tfa.js → instruction-discovery-z81weg6a.js} +30 -30
- package/dist/chunks/{repository-cache-addxnjmp.js → instruction-discovery-zba5tm1j.js} +4 -4
- package/dist/chunks/{repository-cache-befx3zey.js → instruction-discovery-zhtsgqh5.js} +4 -4
- package/dist/chunks/{repository-cache-hgz4x7wa.js → instruction-discovery-zkg84ctx.js} +1 -1
- package/dist/chunks/{repository-cache-kkq0x60e.js → instruction-discovery-znn5w31e.js} +9 -9
- package/dist/chunks/{repository-cache-0nz7j1v1.js → instruction-discovery-zspgb8vt.js} +2 -2
- package/dist/chunks/{repository-cache-09390rf8.js → instruction-discovery-ztzjzgcq.js} +14 -14
- package/dist/chunks/{repository-cache-rbyshrxq.js → instruction-discovery-zygdztbw.js} +7 -7
- package/dist/chunks/instruction-discovery-zyp4ce26.js +523 -0
- package/dist/codemode/catalog.js +1 -3
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +72 -72
- 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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +5 -3
- 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 +95 -82
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -370
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +225 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -17
- package/dist/filesystem.js +104 -110
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -104
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- 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 +360 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -155
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -358
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +2 -2
- package/dist/mcp/client.js +94 -94
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +138 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +4 -2
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +101 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -90
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +115 -115
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +123 -123
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +103 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +123 -123
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -168
- package/dist/plugin/sdk.js +74 -74
- 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 +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +164 -155
- package/dist/session/diff.js +90 -90
- 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 +221 -215
- package/dist/session/execution.js +128 -127
- package/dist/session/generate.js +164 -155
- package/dist/session/history.js +13 -15
- package/dist/session/inbox.js +97 -97
- 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 +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +132 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -100
- package/dist/session/runner/publish-llm-event.js +116 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -159
- package/dist/session/to-session-error.js +114 -113
- package/dist/session/transfer.js +217 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +222 -214
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- 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 +135 -126
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +217 -211
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +219 -213
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +113 -112
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +4 -2
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/agent.d.ts +3 -3
- package/dist/types/aisdk.d.ts +2 -2
- package/dist/types/codemode/catalog.d.ts +7 -8
- package/dist/types/codemode/tool.d.ts +1 -7
- package/dist/types/database/path.d.ts +1 -0
- package/dist/types/file-access.d.ts +2 -2
- package/dist/types/filesystem/search.d.ts +4 -8
- package/dist/types/filesystem/watcher.d.ts +6 -49
- package/dist/types/filesystem.d.ts +11 -13
- package/dist/types/instance.d.ts +1 -1
- package/dist/types/integration.d.ts +2 -2
- package/dist/types/mcp/client.d.ts +1 -0
- package/dist/types/mime.d.ts +1 -0
- package/dist/types/permission/saved.d.ts +14 -22
- package/dist/types/permission.d.ts +14 -39
- package/dist/types/persistent-pty/daemon.d.ts +39 -21
- package/dist/types/plugin/internal.d.ts +3 -2
- package/dist/types/plugin/provider/opencode.d.ts +2 -1
- package/dist/types/pty.d.ts +2 -2
- package/dist/types/session/history.d.ts +0 -5
- package/dist/types/session/model-request.d.ts +1 -1
- package/dist/types/session/runner/publish-llm-event.d.ts +3 -3
- package/dist/types/session/runner/step.d.ts +1 -1
- package/dist/types/session/sql.d.ts +1 -1
- package/dist/types/session.d.ts +38 -38
- package/dist/types/tool/mcp.d.ts +2 -1
- package/dist/types/tool/plugin/read.d.ts +1 -1
- package/dist/types/tool/runtime.d.ts +1 -0
- package/dist/types/tool-output.d.ts +2 -0
- package/dist/types/v1/config/migrate.d.ts +2 -28
- package/dist/types/voice.d.ts +42 -2
- package/dist/types/worktree/sql.d.ts +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +2 -2
- package/dist/v1/config/migrate.js +94 -94
- 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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +9 -9
- package/dist/chunks/repository-cache-136rxf1v.js +0 -71
- package/dist/chunks/repository-cache-1kg9ymc8.js +0 -6
- package/dist/chunks/repository-cache-2axfhc9x.js +0 -49
- package/dist/chunks/repository-cache-e5ybad6w.js +0 -257
- package/dist/chunks/repository-cache-rvyd7pdz.js +0 -517
- package/dist/chunks/repository-cache-s2jpy0bd.js +0 -26
- package/dist/chunks/repository-cache-vnkjks7b.js +0 -18
- package/dist/types/util/error.d.ts +0 -273
- package/dist/types/util/iife.d.ts +0 -1
- package/dist/types/v1/config/error.d.ts +0 -393
- package/dist/util/error.js +0 -6
- package/dist/util/iife.js +0 -6
- package/dist/v1/config/error.js +0 -27
- /package/dist/chunks/{repository-cache-0qkdqm5v.js → instruction-discovery-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-cache-0zkw76rk.js → instruction-discovery-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-cache-17cy0kzp.js → instruction-discovery-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-cache-1cnp2v09.js → instruction-discovery-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-cache-24dcb14g.js → instruction-discovery-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-cache-2710q6r3.js → instruction-discovery-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-cache-2bv980vf.js → instruction-discovery-2bv980vf.js} +0 -0
- /package/dist/chunks/{repository-cache-2c3vjs8z.js → instruction-discovery-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-cache-359p4xyc.js → instruction-discovery-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-cache-3asan66x.js → instruction-discovery-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-cache-3v8g72cx.js → instruction-discovery-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-cache-3wcehsnq.js → instruction-discovery-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-cache-43n2bw4t.js → instruction-discovery-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-cache-4knz6hnm.js → instruction-discovery-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-cache-4vcrnpx2.js → instruction-discovery-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-cache-4y7fprxs.js → instruction-discovery-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-cache-53557ph1.js → instruction-discovery-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-cache-550bvhaj.js → instruction-discovery-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-cache-5qd3pb7m.js → instruction-discovery-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{repository-cache-6prwharc.js → instruction-discovery-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-cache-6q2bdcd1.js → instruction-discovery-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{repository-cache-7akdwqpd.js → instruction-discovery-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-cache-7m9af43g.js → instruction-discovery-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-cache-822emrt2.js → instruction-discovery-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-cache-84wd9syh.js → instruction-discovery-84wd9syh.js} +0 -0
- /package/dist/chunks/{repository-cache-88xbtdfr.js → instruction-discovery-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-cache-8n3pysct.js → instruction-discovery-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-cache-8wj87zfr.js → instruction-discovery-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-cache-9a4afbnw.js → instruction-discovery-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-cache-9rqn6x4v.js → instruction-discovery-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-cache-a6k6eb26.js → instruction-discovery-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-cache-af5trqkr.js → instruction-discovery-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-cache-afrmfg78.js → instruction-discovery-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-cache-aqzs7mqg.js → instruction-discovery-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-cache-atq7p7m5.js → instruction-discovery-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-cache-bkyjaxrp.js → instruction-discovery-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-cache-bmr6ed5q.js → instruction-discovery-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cache-cf4snx6d.js → instruction-discovery-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cache-cvy3z8tj.js → instruction-discovery-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-cache-d9fn303g.js → instruction-discovery-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-cache-d9jj8t3e.js → instruction-discovery-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-cache-dajrwvna.js → instruction-discovery-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-cache-dap0rakb.js → instruction-discovery-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-cache-df08tz66.js → instruction-discovery-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-cache-dy18nga0.js → instruction-discovery-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-cache-e5kj55wp.js → instruction-discovery-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-cache-e73j6tqm.js → instruction-discovery-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-cache-ec1grn59.js → instruction-discovery-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-cache-eh3zwz77.js → instruction-discovery-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-cache-emrn6kk6.js → instruction-discovery-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-cache-f0mxakyp.js → instruction-discovery-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-cache-f6n9ztr4.js → instruction-discovery-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-cache-faypxj3z.js → instruction-discovery-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-cache-fd410y7t.js → instruction-discovery-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-cache-g4wezp1m.js → instruction-discovery-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-cache-g86h250q.js → instruction-discovery-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-cache-gebd4c9n.js → instruction-discovery-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-cache-gftt206x.js → instruction-discovery-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-cache-hcxmzztb.js → instruction-discovery-hcxmzztb.js} +0 -0
- /package/dist/chunks/{repository-cache-hk9envan.js → instruction-discovery-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-cache-j2ntwpah.js → instruction-discovery-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-cache-j5zkgpj8.js → instruction-discovery-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-cache-jjkms2e6.js → instruction-discovery-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-cache-jr7sbwjy.js → instruction-discovery-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-cache-jwfs4k6c.js → instruction-discovery-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-cache-jze0r7bz.js → instruction-discovery-jze0r7bz.js} +0 -0
- /package/dist/chunks/{repository-cache-jzg6c2d5.js → instruction-discovery-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-cache-m18g726c.js → instruction-discovery-m18g726c.js} +0 -0
- /package/dist/chunks/{repository-cache-mp448xyj.js → instruction-discovery-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-cache-msx8hqn2.js → instruction-discovery-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-cache-n05xt0ee.js → instruction-discovery-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-cache-n3j8tn72.js → instruction-discovery-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-cache-njntx4h6.js → instruction-discovery-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-cache-pkyv6v7h.js → instruction-discovery-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{repository-cache-q3sfg36h.js → instruction-discovery-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-cache-q74kybfr.js → instruction-discovery-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-cache-qaymkmh1.js → instruction-discovery-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-cache-qb87gjwd.js → instruction-discovery-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-cache-qfa1cgps.js → instruction-discovery-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-cache-qg3g05ea.js → instruction-discovery-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-cache-qrg20bc0.js → instruction-discovery-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-cache-rcb2kzg1.js → instruction-discovery-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-cache-sdp7kfr6.js → instruction-discovery-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-cache-ssg3fenm.js → instruction-discovery-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-cache-ve7vex1e.js → instruction-discovery-ve7vex1e.js} +0 -0
- /package/dist/chunks/{repository-cache-w803qqfp.js → instruction-discovery-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-cache-wc3fc9cn.js → instruction-discovery-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-cache-wer8tq1h.js → instruction-discovery-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-cache-wjj7prxr.js → instruction-discovery-wjj7prxr.js} +0 -0
- /package/dist/chunks/{repository-cache-wtztk69x.js → instruction-discovery-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-cache-x0ckcb58.js → instruction-discovery-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-cache-x61499pn.js → instruction-discovery-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-cache-y44na4kk.js → instruction-discovery-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-cache-y8f7s663.js → instruction-discovery-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-cache-ygaqb7jw.js → instruction-discovery-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-cache-ym463w8f.js → instruction-discovery-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-cache-z5v4ffb3.js → instruction-discovery-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-cache-z9919s4g.js → instruction-discovery-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-7nepz6ee.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event18,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
19
|
ID: () => ID15,
|
|
20
|
-
Info: () =>
|
|
20
|
+
Info: () => Info24,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
23
|
NotFoundError: () => NotFoundError11,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service79,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer27,
|
|
29
|
+
node: () => node83,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event18 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
38
|
var ID15 = Form.ID;
|
|
39
|
-
var
|
|
39
|
+
var Info24 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service79 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer27 = Layer.effect(Service79, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service85;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
@@ -162,9 +162,9 @@ var layer28 = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service79.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node83 = makeLocationNode({ service: Service79, layer: layer27, deps: [node89] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export { ID15,
|
|
319
|
+
export { ID15, Info24, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service79, layer27, node83, validateAnswer2, validateFields2, exports_form, Event18 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-vd3b3yk9.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service8,
|
|
13
|
+
node: () => node10
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service8 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service8.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node10 = makeLocationNode({ service: Service8, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service8, node10, exports_location_watcher_policy };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-ad4wbrpy.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-r41sfy63.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin21,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint5 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin21 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin37 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint5, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin37 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint5, Plugin21, exports_firecrawl };
|
|
@@ -1,65 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-8d991bzx.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-1ep2p91f.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
|
-
AddInput: () => AddInput2,
|
|
16
15
|
ConflictError: () => ConflictError2,
|
|
17
|
-
ID: () =>
|
|
18
|
-
Info: () =>
|
|
19
|
-
|
|
20
|
-
NotFoundError: () => NotFoundError9,
|
|
16
|
+
ID: () => ID9,
|
|
17
|
+
Info: () => Info17,
|
|
18
|
+
NotFoundError: () => NotFoundError10,
|
|
21
19
|
PermissionSaved: () => exports_saved,
|
|
22
|
-
Service: () =>
|
|
23
|
-
|
|
24
|
-
node: () => node78
|
|
20
|
+
Service: () => Service68,
|
|
21
|
+
node: () => node72
|
|
25
22
|
});
|
|
26
23
|
import { eq } from "drizzle-orm";
|
|
27
24
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
28
25
|
import { isSqlError } from "effect/sql/SqlError";
|
|
29
|
-
import { Project } from "@opencode/schema/project";
|
|
30
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
31
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
32
|
-
var
|
|
33
|
-
var
|
|
34
|
-
var ListInput4 = Schema.Struct({
|
|
35
|
-
projectID: Project.ID.pipe(Schema.optional)
|
|
36
|
-
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
37
|
-
var AddInput2 = Schema.Struct({
|
|
38
|
-
projectID: Project.ID,
|
|
39
|
-
action: Schema.String,
|
|
40
|
-
resources: Schema.Array(Schema.String)
|
|
41
|
-
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
42
|
-
var UpdateInput3 = Schema.Struct({
|
|
43
|
-
id: ID10,
|
|
44
|
-
action: Schema.String.pipe(Schema.optional),
|
|
45
|
-
resource: Schema.String.pipe(Schema.optional)
|
|
46
|
-
}).annotate({ identifier: "PermissionSaved.UpdateInput" });
|
|
28
|
+
var ID9 = PermissionSaved.ID;
|
|
29
|
+
var Info17 = PermissionSaved.Info;
|
|
47
30
|
|
|
48
|
-
class
|
|
49
|
-
id:
|
|
31
|
+
class NotFoundError10 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
32
|
+
id: ID9
|
|
50
33
|
}) {
|
|
51
34
|
}
|
|
52
35
|
|
|
53
36
|
class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
|
|
54
|
-
id:
|
|
37
|
+
id: ID9,
|
|
55
38
|
action: Schema.String,
|
|
56
39
|
resource: Schema.String
|
|
57
40
|
}) {
|
|
58
41
|
}
|
|
59
42
|
|
|
60
|
-
class
|
|
43
|
+
class Service68 extends Context.Service()("@opencode/PermissionSaved") {
|
|
61
44
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
63
46
|
const db = (yield* Service86).db;
|
|
64
47
|
const list = Effect.fnUntraced(function* (input) {
|
|
65
48
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -69,7 +52,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
69
52
|
if (!input.resources.length)
|
|
70
53
|
return;
|
|
71
54
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
72
|
-
id:
|
|
55
|
+
id: ID9.create(),
|
|
73
56
|
project_id: input.projectID,
|
|
74
57
|
action: input.action,
|
|
75
58
|
resource
|
|
@@ -78,18 +61,18 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
78
61
|
const update = Effect.fn("PermissionSaved.update")(function* (input) {
|
|
79
62
|
const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
|
|
80
63
|
if (!current)
|
|
81
|
-
return yield* new
|
|
64
|
+
return yield* new NotFoundError10({ id: input.id });
|
|
82
65
|
const action = input.action ?? current.action;
|
|
83
66
|
const resource = input.resource ?? current.resource;
|
|
84
67
|
const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
|
|
85
68
|
if (!updated)
|
|
86
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError10({ id: input.id });
|
|
87
70
|
return info(updated);
|
|
88
71
|
});
|
|
89
72
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
90
73
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
91
74
|
});
|
|
92
|
-
return
|
|
75
|
+
return Service68.of({ list, add, update, remove });
|
|
93
76
|
}));
|
|
94
77
|
var isUniqueViolation = (error) => {
|
|
95
78
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -107,6 +90,6 @@ var info = (row) => ({
|
|
|
107
90
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
108
91
|
}
|
|
109
92
|
});
|
|
110
|
-
var
|
|
93
|
+
var node72 = makeGlobalNode({ service: Service68, layer, deps: [node90] });
|
|
111
94
|
|
|
112
|
-
export {
|
|
95
|
+
export { ID9, Info17, NotFoundError10, ConflictError2, Service68, node72, exports_saved };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-vd3b3yk9.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options5,
|
|
15
|
+
Service: () => Service52,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured8,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
|
-
list: () =>
|
|
21
|
+
list: () => list3,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name16,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node57,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options5 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service52 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -184,11 +184,11 @@ resolve3.reset = () => {
|
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
187
|
-
async function
|
|
187
|
+
async function list3(options, bin) {
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service52.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
206
|
-
list: () => Effect.promise(() =>
|
|
206
|
+
list: () => Effect.promise(() => list3(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured8(options) {
|
|
210
|
+
return makeLocationNode({ service: Service52, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node57 = configured8();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options5, Service52, gitbash2, name16, login2, ps2, args2, environment2, resolve3, list3, configured8, node57, exports_select };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-7nepz6ee.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./instruction-discovery-7m02jy4j.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service36
|
|
10
|
+
} from "./instruction-discovery-kj7e2tww.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command = {};
|
|
17
|
+
__export(exports_command, {
|
|
18
|
+
CommandPlugin: () => exports_command,
|
|
19
|
+
Plugin: () => Plugin27
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin27 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service82;
|
|
200
|
+
const mcp = yield* Service36;
|
|
201
201
|
const bus = yield* Service85;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin27, exports_command };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info16,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info16 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -78,14 +78,10 @@ var Info11 = Schema.Struct({
|
|
|
78
78
|
setCacheKey: Schema.optional(Schema.Boolean).annotate({
|
|
79
79
|
description: "Enable promptCacheKey for this provider (default false)"
|
|
80
80
|
}),
|
|
81
|
-
timeout: Schema.optional(Schema.Union([PositiveInt2, Schema.Literal(false)]).annotate({
|
|
82
|
-
description: "Timeout in milliseconds for full requests to this provider. Set to false to disable timeout."
|
|
83
|
-
})).annotate({
|
|
81
|
+
timeout: Schema.optional(Schema.Union([PositiveInt2, Schema.Literal(false)])).annotate({
|
|
84
82
|
description: "Timeout in milliseconds for full requests to this provider. Set to false to disable timeout."
|
|
85
83
|
}),
|
|
86
|
-
headerTimeout: Schema.optional(Schema.Union([PositiveInt2, Schema.Literal(false)]).annotate({
|
|
87
|
-
description: "Timeout in milliseconds to wait for response headers. Provider integrations may set defaults. Set to false to disable timeout."
|
|
88
|
-
})).annotate({
|
|
84
|
+
headerTimeout: Schema.optional(Schema.Union([PositiveInt2, Schema.Literal(false)])).annotate({
|
|
89
85
|
description: "Timeout in milliseconds to wait for response headers. Provider integrations may set defaults. Set to false to disable timeout."
|
|
90
86
|
}),
|
|
91
87
|
chunkTimeout: Schema.optional(PositiveInt2).annotate({
|
|
@@ -95,4 +91,4 @@ var Info11 = Schema.Struct({
|
|
|
95
91
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
92
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
93
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
94
|
+
export { ModelStatus2, Model2, Info16, exports_provider2 };
|
|
@@ -1,50 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID11,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service69
|
|
4
|
+
} from "./instruction-discovery-gq24h8g9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service82
|
|
7
|
+
} from "./instruction-discovery-7m02jy4j.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service62
|
|
10
|
+
} from "./instruction-discovery-4wn1snmt.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service52,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instruction-discovery-6q77emv1.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service25
|
|
17
|
+
} from "./instruction-discovery-5hny5v5k.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service9
|
|
20
|
+
} from "./instruction-discovery-ygtqa21c.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instruction-discovery-e834z07m.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command2 = {};
|
|
30
|
+
__export(exports_command2, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
+
Plugin: () => Plugin41
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
36
|
-
import { Model } from "@opencode/schema/model";
|
|
37
|
-
import { Provider } from "@opencode/schema/provider";
|
|
38
36
|
import { AppProcess } from "@opencode/util/process";
|
|
39
37
|
import path from "path";
|
|
40
38
|
import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
41
39
|
import { ChildProcess } from "effect/process";
|
|
42
40
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
41
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
42
|
+
var Plugin41 = define({
|
|
45
43
|
id: "opencode.config.command",
|
|
46
44
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
45
|
+
const config = yield* Service62;
|
|
48
46
|
const fs = yield* FSUtil.Service;
|
|
49
47
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
48
|
if (entry.type === "document")
|
|
@@ -54,12 +52,12 @@ var Plugin18 = define({
|
|
|
54
52
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
53
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
54
|
});
|
|
57
|
-
const location = yield*
|
|
55
|
+
const location = yield* Service82;
|
|
58
56
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
57
|
+
const shell = yield* Service52;
|
|
58
|
+
const sessions = yield* Service25;
|
|
59
|
+
const agents = yield* Service69;
|
|
60
|
+
const subagents = yield* Service9;
|
|
63
61
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
62
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
63
|
});
|
|
@@ -83,9 +81,9 @@ var Plugin18 = define({
|
|
|
83
81
|
const agent = command.agent === undefined ? undefined : ID11.make(command.agent);
|
|
84
82
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
83
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
|
-
id:
|
|
87
|
-
providerID:
|
|
88
|
-
...command.model.variant === undefined ? {} : { variant:
|
|
84
|
+
id: command.model.model,
|
|
85
|
+
providerID: command.model.providerID,
|
|
86
|
+
...command.model.variant === undefined ? {} : { variant: command.model.variant }
|
|
89
87
|
};
|
|
90
88
|
const text = yield* evaluateTemplate(command.template, input.prompt.text, {
|
|
91
89
|
location,
|
|
@@ -204,4 +202,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
202
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
203
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
204
|
|
|
207
|
-
export {
|
|
205
|
+
export { Plugin41, exports_command2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-ffcwgx2p.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-pkyv6v7h.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|