@opencode/core 0.0.0-dev-20846 → 0.0.0-dev-20847
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 +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{tool-3wmf6f3c.js → instruction-discovery-048wpaqz.js} +3 -3
- package/dist/chunks/{tool-35eesyyp.js → instruction-discovery-0bs9zzzx.js} +11 -11
- package/dist/chunks/{tool-x6gnqd3s.js → instruction-discovery-0cz3jc0p.js} +8 -8
- package/dist/chunks/{tool-q0xm7vwc.js → instruction-discovery-0j77ygfz.js} +6 -6
- package/dist/chunks/{tool-873mxp7r.js → instruction-discovery-0n8a0ffz.js} +6 -6
- package/dist/chunks/{tool-0paq2nw3.js → instruction-discovery-0paq2nw3.js} +1 -1
- package/dist/chunks/{tool-zw1gkzfw.js → instruction-discovery-0qwsa8cf.js} +25 -25
- package/dist/chunks/{tool-0vbcp93d.js → instruction-discovery-0vbcp93d.js} +2 -2
- package/dist/chunks/{tool-a9d4ws5f.js → instruction-discovery-171zjyze.js} +27 -27
- package/dist/chunks/{tool-fbp33tyy.js → instruction-discovery-18tb8vc6.js} +22 -22
- package/dist/chunks/{tool-97aeaand.js → instruction-discovery-1j6m29mr.js} +9 -9
- package/dist/chunks/{tool-206ttqvc.js → instruction-discovery-1j9vsfxy.js} +17 -17
- package/dist/chunks/{tool-py3kkmfq.js → instruction-discovery-1p07q0wb.js} +4 -4
- package/dist/chunks/{tool-gce79w0q.js → instruction-discovery-1qs5jxd8.js} +19 -19
- package/dist/chunks/{tool-p80z2n38.js → instruction-discovery-1sc6p60b.js} +6 -6
- package/dist/chunks/{tool-ks9cd2p9.js → instruction-discovery-1th27d95.js} +14 -14
- package/dist/chunks/{tool-tvb3zepd.js → instruction-discovery-204e7tx6.js} +13 -13
- package/dist/chunks/{tool-4r6h9rfp.js → instruction-discovery-26n2nh92.js} +3 -3
- package/dist/chunks/{tool-607px8n0.js → instruction-discovery-2c7hjkzv.js} +13 -13
- package/dist/chunks/{tool-4ts7tf6z.js → instruction-discovery-2ccvkpx1.js} +2 -2
- package/dist/chunks/{tool-xmhymaa3.js → instruction-discovery-2ewrd21j.js} +11 -11
- package/dist/chunks/{tool-v4zmjapd.js → instruction-discovery-2hqksm5k.js} +3 -3
- package/dist/chunks/{tool-ympry5e6.js → instruction-discovery-2j1vbg91.js} +34 -34
- package/dist/chunks/{tool-ers3vfep.js → instruction-discovery-2jb6nwe1.js} +4 -4
- package/dist/chunks/{tool-3ssmb346.js → instruction-discovery-2jtaszgg.js} +11 -11
- package/dist/chunks/{tool-qgn6gcr1.js → instruction-discovery-2k8khapm.js} +5 -5
- package/dist/chunks/{tool-kqx1b4hy.js → instruction-discovery-2ryng5r3.js} +4 -4
- package/dist/chunks/{tool-xhs59p2n.js → instruction-discovery-2san2fa0.js} +25 -25
- package/dist/chunks/{tool-0pksd81t.js → instruction-discovery-2vr7dket.js} +5 -5
- package/dist/chunks/{tool-2vvh33eb.js → instruction-discovery-2vvh33eb.js} +2 -2
- package/dist/chunks/instruction-discovery-34hyh64q.js +253 -0
- package/dist/chunks/{tool-dwn2mnsx.js → instruction-discovery-350x23wf.js} +9 -9
- package/dist/chunks/{tool-6rzkm1az.js → instruction-discovery-38mem431.js} +29 -29
- package/dist/chunks/{tool-q12r1j28.js → instruction-discovery-3dytr8s2.js} +20 -20
- package/dist/chunks/{tool-3fc6dm20.js → instruction-discovery-3fc6dm20.js} +1 -1
- package/dist/chunks/{tool-3hepkmqq.js → instruction-discovery-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-3hwn7j4h.js → instruction-discovery-3hwn7j4h.js} +2 -2
- package/dist/chunks/{tool-3smtnn6g.js → instruction-discovery-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-3tvqynh2.js → instruction-discovery-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-3zsf4n22.js → instruction-discovery-3zsf4n22.js} +1 -1
- package/dist/chunks/{tool-7gx041tx.js → instruction-discovery-4a0nv7mx.js} +8 -8
- package/dist/chunks/{tool-1dp4rae7.js → instruction-discovery-4r59zyn6.js} +30 -30
- package/dist/chunks/{tool-28wtzp1x.js → instruction-discovery-4swz1dz7.js} +11 -11
- package/dist/chunks/{tool-aavma884.js → instruction-discovery-4w7gm2tt.js} +20 -20
- package/dist/chunks/{tool-4xpgt2w9.js → instruction-discovery-4xpgt2w9.js} +2 -2
- package/dist/chunks/{tool-3q7cazx3.js → instruction-discovery-548fqp7q.js} +8 -8
- package/dist/chunks/{tool-54ma36ye.js → instruction-discovery-54ma36ye.js} +1 -1
- package/dist/chunks/{tool-xfkkasph.js → instruction-discovery-57b9ws8p.js} +7 -7
- package/dist/chunks/{tool-fyhhm9qw.js → instruction-discovery-58ytqwj2.js} +7 -7
- package/dist/chunks/{tool-tcd69qnc.js → instruction-discovery-5a9zf81m.js} +20 -20
- package/dist/chunks/{tool-3sj8yt8v.js → instruction-discovery-5dkn69vz.js} +4 -4
- package/dist/chunks/{tool-mmmq1fmj.js → instruction-discovery-5fa8zajf.js} +13 -13
- package/dist/chunks/{tool-wdsf3akg.js → instruction-discovery-5hj7q0js.js} +9 -9
- package/dist/chunks/{tool-5m9w47nd.js → instruction-discovery-5m9w47nd.js} +1 -1
- package/dist/chunks/{tool-j90fxacf.js → instruction-discovery-5pbz2dd0.js} +4 -4
- package/dist/chunks/{tool-v3dr526e.js → instruction-discovery-5qec7rge.js} +5 -5
- package/dist/chunks/{tool-sa4egyg1.js → instruction-discovery-5r4v0xwy.js} +11 -11
- package/dist/chunks/{tool-ka1znqm3.js → instruction-discovery-69enf89f.js} +24 -24
- package/dist/chunks/{tool-6xb47vfp.js → instruction-discovery-6xb47vfp.js} +1 -1
- package/dist/chunks/instruction-discovery-6xgwma86.js +26 -0
- package/dist/chunks/{tool-xzg60s99.js → instruction-discovery-71dzwqxr.js} +46 -46
- package/dist/chunks/{tool-7bmhse3q.js → instruction-discovery-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-7wm7ck3f.js → instruction-discovery-7dpqhkm4.js} +72 -72
- package/dist/chunks/{tool-zt09jx6h.js → instruction-discovery-7nazv9sg.js} +18 -18
- package/dist/chunks/{tool-yhnztd3d.js → instruction-discovery-7np5bmja.js} +44 -44
- package/dist/chunks/{tool-fgqejdyc.js → instruction-discovery-7vsab7jg.js} +4 -4
- package/dist/chunks/{tool-kghabkhx.js → instruction-discovery-7yw2sx3r.js} +6 -6
- package/dist/chunks/{tool-161awap4.js → instruction-discovery-81gd8ewx.js} +24 -24
- package/dist/chunks/{tool-84txncab.js → instruction-discovery-84txncab.js} +1 -1
- package/dist/chunks/{tool-z5n5ebyg.js → instruction-discovery-85z0h67f.js} +16 -16
- package/dist/chunks/{tool-0s3jeq9v.js → instruction-discovery-88qvqy1e.js} +11 -11
- package/dist/chunks/{tool-3wb086fk.js → instruction-discovery-8evda89h.js} +27 -27
- package/dist/chunks/{tool-06x8he3q.js → instruction-discovery-8gxqpgph.js} +4 -4
- package/dist/chunks/{tool-8m6m0r52.js → instruction-discovery-8m6m0r52.js} +1 -1
- package/dist/chunks/{tool-1km6676t.js → instruction-discovery-8tzwp5sx.js} +16 -16
- package/dist/chunks/{tool-91qna3x0.js → instruction-discovery-91qna3x0.js} +3 -3
- package/dist/chunks/{tool-a3hwe848.js → instruction-discovery-97y7hxer.js} +4 -4
- package/dist/chunks/{tool-nypk9e09.js → instruction-discovery-988cxgr8.js} +10 -10
- package/dist/chunks/{tool-q874veys.js → instruction-discovery-99rzeaw0.js} +12 -12
- package/dist/chunks/{tool-r19kge9j.js → instruction-discovery-9hy8acjf.js} +13 -13
- package/dist/chunks/{tool-3gwb8r2s.js → instruction-discovery-9jcxats4.js} +46 -46
- package/dist/chunks/{tool-np4m03pb.js → instruction-discovery-9w9w77gc.js} +29 -29
- package/dist/chunks/{tool-4mr2x1vr.js → instruction-discovery-aahhmcvt.js} +30 -30
- package/dist/chunks/{tool-azwe5p1w.js → instruction-discovery-addxnjmp.js} +4 -4
- package/dist/chunks/{tool-2c13444x.js → instruction-discovery-adejxgct.js} +15 -15
- package/dist/chunks/{tool-f2hmbx6s.js → instruction-discovery-afz809yg.js} +17 -17
- package/dist/chunks/{tool-c8zwaxmp.js → instruction-discovery-arz7hw7x.js} +3 -3
- package/dist/chunks/{tool-h71w788e.js → instruction-discovery-b4s8ej7r.js} +9 -9
- package/dist/chunks/{tool-vn8z3a4b.js → instruction-discovery-b6qa6035.js} +34 -34
- package/dist/chunks/{tool-t89fqycx.js → instruction-discovery-b6syrwy2.js} +8 -8
- package/dist/chunks/{tool-2b2b10pr.js → instruction-discovery-b9srm8rz.js} +11 -11
- package/dist/chunks/{tool-ywt8jp22.js → instruction-discovery-bjx1sjef.js} +9 -9
- package/dist/chunks/{tool-q5tvgb2d.js → instruction-discovery-bt2dtkh7.js} +31 -31
- package/dist/chunks/{tool-wh6z6ktm.js → instruction-discovery-byr661vw.js} +13 -13
- package/dist/chunks/{tool-rj3eygr5.js → instruction-discovery-c41wscbt.js} +2 -2
- package/dist/chunks/{tool-y5rgw10j.js → instruction-discovery-c5w8pbd1.js} +14 -14
- package/dist/chunks/{tool-sa8ekw3f.js → instruction-discovery-c8ax2afj.js} +2 -2
- package/dist/chunks/{tool-eknygh2r.js → instruction-discovery-c8ses4bc.js} +13 -13
- package/dist/chunks/{tool-z86ahet9.js → instruction-discovery-ch67yd34.js} +11 -11
- package/dist/chunks/{tool-phz3vpyj.js → instruction-discovery-cmwkp3r5.js} +8 -8
- package/dist/chunks/{tool-4qbazw45.js → instruction-discovery-d0ak8zy9.js} +7 -7
- package/dist/chunks/{tool-7t6rstye.js → instruction-discovery-d15wnv4q.js} +16 -16
- package/dist/chunks/{tool-j40argf2.js → instruction-discovery-d3sk2mbt.js} +15 -15
- package/dist/chunks/{tool-7j6nyg8b.js → instruction-discovery-d5fxhgcy.js} +14 -14
- package/dist/chunks/{tool-1ts7qr1k.js → instruction-discovery-d9kdwp41.js} +5 -5
- package/dist/chunks/{tool-jryjd015.js → instruction-discovery-dhhqcq64.js} +11 -11
- package/dist/chunks/{tool-qmqgtz8f.js → instruction-discovery-djszqvmq.js} +9 -9
- package/dist/chunks/{tool-ma48de29.js → instruction-discovery-dtqg9ce1.js} +5 -5
- package/dist/chunks/{tool-6xx70fkw.js → instruction-discovery-dx2h6xhc.js} +28 -28
- package/dist/chunks/{tool-xst2akbe.js → instruction-discovery-dzdcg5g9.js} +11 -11
- package/dist/chunks/{tool-fye057qm.js → instruction-discovery-e0pxcnmw.js} +8 -8
- package/dist/chunks/{tool-5qd3pb7m.js → instruction-discovery-e3qxr5gk.js} +2 -2
- package/dist/chunks/{tool-5rzwp8tz.js → instruction-discovery-e80seqcp.js} +3 -3
- package/dist/chunks/{tool-hc4fzbfv.js → instruction-discovery-eefd4g5w.js} +5 -5
- package/dist/chunks/{tool-eej6y6fw.js → instruction-discovery-eej6y6fw.js} +2 -2
- package/dist/chunks/{tool-ef5x83kb.js → instruction-discovery-ef5x83kb.js} +1 -1
- package/dist/chunks/{tool-ka6d63ve.js → instruction-discovery-ereph1h9.js} +17 -17
- package/dist/chunks/{tool-c1fqxshp.js → instruction-discovery-es1vcfrp.js} +3 -3
- package/dist/chunks/{tool-e6d7shk6.js → instruction-discovery-ewk422xx.js} +14 -14
- package/dist/chunks/{tool-ac91s02x.js → instruction-discovery-ezzmrcry.js} +29 -29
- package/dist/chunks/{tool-evvst45t.js → instruction-discovery-fng9jkm1.js} +9 -9
- package/dist/chunks/{tool-nnajtnrh.js → instruction-discovery-fqp3mcfq.js} +1 -1
- package/dist/chunks/{tool-4p1ce748.js → instruction-discovery-fz79ktw5.js} +5 -5
- package/dist/chunks/{tool-x1ca3zjn.js → instruction-discovery-g0z1em0w.js} +4 -4
- package/dist/chunks/{tool-a5br798j.js → instruction-discovery-g678yp76.js} +33 -33
- package/dist/chunks/{tool-ktn6hp70.js → instruction-discovery-gcqzh3f4.js} +26 -26
- package/dist/chunks/{tool-gd4qta3r.js → instruction-discovery-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-wn5vabxh.js → instruction-discovery-ge2q9s3y.js} +11 -11
- package/dist/chunks/{tool-pa78zzaq.js → instruction-discovery-ggsp0fny.js} +11 -11
- package/dist/chunks/{tool-cx6hsbt0.js → instruction-discovery-gjqhxvm8.js} +13 -13
- package/dist/chunks/{tool-gk8qb678.js → instruction-discovery-gk8qb678.js} +1 -1
- package/dist/chunks/{tool-a0jk4dgc.js → instruction-discovery-gq58s3m0.js} +25 -25
- package/dist/chunks/{tool-kvjzkr2v.js → instruction-discovery-h04zhhvt.js} +9 -9
- package/dist/chunks/{tool-bseb4y7x.js → instruction-discovery-h11z96pq.js} +11 -11
- package/dist/chunks/{tool-04yjvv9z.js → instruction-discovery-h4ps1sgr.js} +3 -3
- package/dist/chunks/{tool-1qbv9jt9.js → instruction-discovery-h4y0jjzh.js} +20 -20
- package/dist/chunks/{tool-h6vf3j39.js → instruction-discovery-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-h7s7r6s9.js → instruction-discovery-h7s7r6s9.js} +2 -2
- package/dist/chunks/{tool-bxnsh2h7.js → instruction-discovery-hay4m1s6.js} +50 -50
- package/dist/chunks/{tool-hgz4x7wa.js → instruction-discovery-hgz4x7wa.js} +1 -1
- package/dist/chunks/{tool-10h6aaxa.js → instruction-discovery-hw2yy5aw.js} +11 -11
- package/dist/chunks/{tool-x3gqap9d.js → instruction-discovery-j34bs4nz.js} +4 -4
- package/dist/chunks/{tool-9yr0fr5m.js → instruction-discovery-j47qf441.js} +16 -16
- package/dist/chunks/{tool-x9rxmjt5.js → instruction-discovery-j4c2xja6.js} +13 -13
- package/dist/chunks/{tool-j56e64zr.js → instruction-discovery-j56e64zr.js} +1 -1
- package/dist/chunks/{tool-ksq90z2j.js → instruction-discovery-j6a2evck.js} +18 -18
- package/dist/chunks/{tool-6qcxfmt4.js → instruction-discovery-j9ysnh0t.js} +20 -20
- package/dist/chunks/{tool-azwc917b.js → instruction-discovery-janq1scx.js} +4 -4
- package/dist/chunks/{tool-3qfxs27s.js → instruction-discovery-jgbvdr9r.js} +6 -6
- package/dist/chunks/{tool-5w9yjztw.js → instruction-discovery-jhdf29st.js} +1 -1
- package/dist/chunks/{tool-9s3sw3w2.js → instruction-discovery-jpen4qdf.js} +5 -5
- package/dist/chunks/instruction-discovery-jqh9b0xq.js +18 -0
- package/dist/chunks/{tool-sh82avnb.js → instruction-discovery-jvx148y3.js} +11 -11
- package/dist/chunks/{tool-y71avatq.js → instruction-discovery-jwcy2c2z.js} +4 -4
- package/dist/chunks/{tool-cy9nd497.js → instruction-discovery-k2xcv0kf.js} +12 -12
- package/dist/chunks/{tool-r98mf4ja.js → instruction-discovery-ketq9gmb.js} +11 -11
- package/dist/chunks/{tool-khmqacep.js → instruction-discovery-khmqacep.js} +1 -1
- package/dist/chunks/{tool-e9hyd38m.js → instruction-discovery-kppw7hr6.js} +26 -26
- package/dist/chunks/{tool-dy6n44gf.js → instruction-discovery-ksek9mqj.js} +37 -37
- package/dist/chunks/{tool-scdnddsf.js → instruction-discovery-ksqr7yfe.js} +7 -7
- package/dist/chunks/{tool-xp6bq807.js → instruction-discovery-ky9vbweg.js} +25 -25
- package/dist/chunks/{tool-m9w0rfyh.js → instruction-discovery-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-ce61gq8c.js → instruction-discovery-mbkrq27a.js} +14 -14
- package/dist/chunks/{tool-6gga028k.js → instruction-discovery-mf2nfva2.js} +23 -23
- package/dist/chunks/{tool-vm3fje9a.js → instruction-discovery-mkkx2xvk.js} +29 -29
- package/dist/chunks/{tool-nymhndtm.js → instruction-discovery-mnv9vkrs.js} +3 -3
- package/dist/chunks/{tool-sp8q6bdg.js → instruction-discovery-myrhaa8e.js} +9 -9
- package/dist/chunks/{tool-jcx2acag.js → instruction-discovery-n3aya5hh.js} +17 -17
- package/dist/chunks/{tool-g64bn1a9.js → instruction-discovery-n3jw88fx.js} +9 -9
- package/dist/chunks/{tool-j5p87426.js → instruction-discovery-na4dcjrg.js} +26 -26
- package/dist/chunks/{tool-q46gh8d3.js → instruction-discovery-nbyj5sqq.js} +89 -89
- package/dist/chunks/{tool-f8m7rc0r.js → instruction-discovery-ne89875c.js} +16 -16
- package/dist/chunks/{tool-y168gzca.js → instruction-discovery-njm3x30h.js} +85 -85
- package/dist/chunks/{tool-2cybgqhz.js → instruction-discovery-nqxj0yn4.js} +2 -2
- package/dist/chunks/{tool-tk87kdrg.js → instruction-discovery-nvakrpsp.js} +14 -14
- package/dist/chunks/{tool-48243nkh.js → instruction-discovery-nzbbc5k0.js} +10 -10
- package/dist/chunks/{tool-vq6awb9c.js → instruction-discovery-p097c2sx.js} +14 -14
- package/dist/chunks/instruction-discovery-p1z95xa2.js +513 -0
- package/dist/chunks/{tool-jewzahs7.js → instruction-discovery-ph842b28.js} +4 -4
- package/dist/chunks/{tool-pjvnvgmy.js → instruction-discovery-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-pknna89w.js → instruction-discovery-pknna89w.js} +1 -1
- package/dist/chunks/{tool-t4ajgv8x.js → instruction-discovery-prhrtzb1.js} +55 -55
- package/dist/chunks/{tool-trz6se4e.js → instruction-discovery-pw6jj9n3.js} +15 -15
- package/dist/chunks/{tool-36py4jdg.js → instruction-discovery-pwpq1fb6.js} +20 -20
- package/dist/chunks/{tool-k2sx0fs0.js → instruction-discovery-pznx5chc.js} +17 -17
- package/dist/chunks/{tool-gsy0a2fc.js → instruction-discovery-q17sgkmf.js} +20 -20
- package/dist/chunks/{tool-jc3pryrp.js → instruction-discovery-q78nszrx.js} +30 -30
- package/dist/chunks/{tool-d216944b.js → instruction-discovery-qa3qhgw8.js} +7 -7
- package/dist/chunks/{tool-a8105mew.js → instruction-discovery-qgezrw5d.js} +25 -25
- package/dist/chunks/{tool-r2p1qcqj.js → instruction-discovery-qhm1kmbp.js} +24 -24
- package/dist/chunks/{tool-cr8sv6bh.js → instruction-discovery-qms70dv9.js} +3 -3
- package/dist/chunks/{tool-qnc92qwc.js → instruction-discovery-qnc92qwc.js} +1 -1
- package/dist/chunks/{tool-qsdy395h.js → instruction-discovery-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-p0vgqfrd.js → instruction-discovery-qyjj4w9t.js} +13 -13
- package/dist/chunks/{tool-dynjzw90.js → instruction-discovery-r2a2vjc6.js} +42 -42
- package/dist/chunks/{tool-y7nndgyc.js → instruction-discovery-r70na3yp.js} +9 -9
- package/dist/chunks/{tool-hs2agdmc.js → instruction-discovery-r75v65gt.js} +5 -5
- package/dist/chunks/{tool-gr980ggd.js → instruction-discovery-r8kkzarz.js} +43 -43
- package/dist/chunks/{tool-yysvbg70.js → instruction-discovery-rb0m5pb6.js} +33 -33
- package/dist/chunks/{tool-rdw6cm16.js → instruction-discovery-rdw6cm16.js} +1 -1
- package/dist/chunks/{tool-rhjbct0v.js → instruction-discovery-rhjbct0v.js} +1 -1
- package/dist/chunks/{tool-vn1hhbrf.js → instruction-discovery-rtbh45rc.js} +13 -13
- package/dist/chunks/{tool-pf7t9ccf.js → instruction-discovery-rwbpmje9.js} +20 -20
- package/dist/chunks/{tool-sa4ztt1z.js → instruction-discovery-s9bfrye6.js} +52 -52
- package/dist/chunks/{tool-zyk1yjk8.js → instruction-discovery-scgrse2b.js} +5 -5
- package/dist/chunks/{tool-t2m1w25e.js → instruction-discovery-sddgd5f8.js} +22 -22
- package/dist/chunks/{tool-sfrffybq.js → instruction-discovery-sm4j4wt5.js} +16 -16
- package/dist/chunks/{tool-9hy1hzvm.js → instruction-discovery-sp61bypy.js} +17 -17
- package/dist/chunks/{tool-d8c7d30z.js → instruction-discovery-ssgq4v3h.js} +21 -21
- package/dist/chunks/{tool-r49qeajj.js → instruction-discovery-svysebdv.js} +173 -173
- package/dist/chunks/{tool-syv4x271.js → instruction-discovery-syv4x271.js} +1 -1
- package/dist/chunks/{tool-tazgh4e4.js → instruction-discovery-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-tcezcvh9.js → instruction-discovery-tcezcvh9.js} +1 -1
- package/dist/chunks/{tool-tdstcens.js → instruction-discovery-tdstcens.js} +1 -1
- package/dist/chunks/{tool-2nmszwhj.js → instruction-discovery-terdh6tz.js} +47 -47
- package/dist/chunks/{tool-rert0e01.js → instruction-discovery-tkb22qbm.js} +2 -2
- package/dist/chunks/{tool-fm0s3b9b.js → instruction-discovery-tppqj79j.js} +13 -13
- package/dist/chunks/{tool-p97g2b6e.js → instruction-discovery-tqenhx9q.js} +3 -3
- package/dist/chunks/{tool-52zf3ryw.js → instruction-discovery-ts8qfj50.js} +4 -4
- package/dist/chunks/{tool-smpf7ekm.js → instruction-discovery-tvmrjeqd.js} +12 -12
- package/dist/chunks/{tool-6cf5m0q5.js → instruction-discovery-tym1zfxs.js} +9 -9
- package/dist/chunks/{tool-tyytaxap.js → instruction-discovery-tyytaxap.js} +1 -1
- package/dist/chunks/{tool-v0es1rhs.js → instruction-discovery-v0es1rhs.js} +2 -2
- package/dist/chunks/{tool-v7p4zvkq.js → instruction-discovery-v7p4zvkq.js} +2 -2
- package/dist/chunks/{tool-jg4njqxe.js → instruction-discovery-v8pa3zp8.js} +18 -18
- package/dist/chunks/{tool-veqvce7d.js → instruction-discovery-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-hvr28mne.js → instruction-discovery-vezvtjyv.js} +11 -11
- package/dist/chunks/{tool-v1rvcdcz.js → instruction-discovery-vhjwdtv8.js} +43 -43
- package/dist/chunks/{tool-8ffyemb8.js → instruction-discovery-vky023fh.js} +4 -4
- package/dist/chunks/{tool-qjx1ax0j.js → instruction-discovery-vrzt526f.js} +5 -5
- package/dist/chunks/{tool-aamadd9d.js → instruction-discovery-vt28d6rb.js} +32 -32
- package/dist/chunks/{tool-232z2e7w.js → instruction-discovery-vw6bdczd.js} +5 -5
- package/dist/chunks/{tool-afc2jrhf.js → instruction-discovery-vz2yvhh5.js} +16 -16
- package/dist/chunks/{tool-vzs5sf6e.js → instruction-discovery-vzs5sf6e.js} +1 -1
- package/dist/chunks/{tool-w3wsvvr9.js → instruction-discovery-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-me4kr82p.js → instruction-discovery-w96a8yrh.js} +19 -19
- package/dist/chunks/{tool-h9s2vh22.js → instruction-discovery-wby3r2te.js} +11 -11
- package/dist/chunks/{tool-wd87259q.js → instruction-discovery-wd87259q.js} +1 -1
- package/dist/chunks/{tool-denpq03g.js → instruction-discovery-wf98qgyv.js} +18 -18
- package/dist/chunks/{tool-nza4bhrq.js → instruction-discovery-wnk72qpq.js} +8 -8
- package/dist/chunks/{tool-c4spg60a.js → instruction-discovery-wp8sj255.js} +24 -24
- package/dist/chunks/{tool-jjb57f1v.js → instruction-discovery-wpemy600.js} +5 -5
- package/dist/chunks/{tool-4yqysksd.js → instruction-discovery-wr0v3f2s.js} +36 -36
- package/dist/chunks/{tool-a7xz2w96.js → instruction-discovery-wt4s349c.js} +22 -22
- package/dist/chunks/{tool-e25ft575.js → instruction-discovery-wvej1134.js} +8 -8
- package/dist/chunks/{tool-ehbsya0k.js → instruction-discovery-wwyp4jt6.js} +25 -25
- package/dist/chunks/{tool-n61013np.js → instruction-discovery-x5wrmng7.js} +11 -11
- package/dist/chunks/{tool-aswecc38.js → instruction-discovery-x7bx6zs0.js} +10 -10
- package/dist/chunks/{tool-7gra0nqm.js → instruction-discovery-xacpwdh9.js} +8 -8
- package/dist/chunks/{tool-vqfzq50h.js → instruction-discovery-xcd0eash.js} +6 -6
- package/dist/chunks/{tool-pttbbn28.js → instruction-discovery-xk3qqngr.js} +11 -11
- package/dist/chunks/{tool-gka1h982.js → instruction-discovery-xkfm5vcm.js} +2 -2
- package/dist/chunks/{tool-f55gme48.js → instruction-discovery-xqt608y9.js} +30 -30
- package/dist/chunks/{tool-wps6h3dy.js → instruction-discovery-xyc3y5xg.js} +13 -13
- package/dist/chunks/{tool-tnqyp7a1.js → instruction-discovery-xz5716ww.js} +33 -33
- package/dist/chunks/{tool-077nw9md.js → instruction-discovery-xzdfrpe2.js} +24 -24
- package/dist/chunks/{tool-ct0x63sa.js → instruction-discovery-y147vcw1.js} +17 -17
- package/dist/chunks/{tool-y1fvbwt7.js → instruction-discovery-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-5hywj11r.js → instruction-discovery-y1qj9qp6.js} +33 -33
- package/dist/chunks/{tool-ds8rcr17.js → instruction-discovery-y8ptd9jv.js} +30 -30
- package/dist/chunks/{tool-sc97ncgc.js → instruction-discovery-yc7106p4.js} +20 -20
- package/dist/chunks/{tool-cdzskg65.js → instruction-discovery-yeyrdzm0.js} +26 -26
- package/dist/chunks/{tool-k7v23by5.js → instruction-discovery-yh9g6p3v.js} +42 -42
- package/dist/chunks/{tool-w2mv6cd8.js → instruction-discovery-ykmz0d95.js} +5 -5
- package/dist/chunks/{tool-52tqfb7t.js → instruction-discovery-yng1p9nw.js} +9 -9
- package/dist/chunks/{tool-yp2x3t23.js → instruction-discovery-yp2x3t23.js} +1 -1
- package/dist/chunks/{tool-k0gt402z.js → instruction-discovery-yztevfhp.js} +20 -20
- package/dist/chunks/{tool-z0bkrqjs.js → instruction-discovery-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-neyn3p2v.js → instruction-discovery-z2qawcf3.js} +23 -23
- package/dist/chunks/{tool-rdyynte9.js → instruction-discovery-z4dcjezs.js} +11 -11
- package/dist/chunks/{tool-r2n437fd.js → instruction-discovery-z5hqtv59.js} +7 -7
- package/dist/chunks/{tool-b674v2dg.js → instruction-discovery-z6c3x22d.js} +5 -5
- package/dist/chunks/{tool-8ae1krg5.js → instruction-discovery-zamq423t.js} +1 -1
- package/dist/chunks/{tool-r4bpj27y.js → instruction-discovery-zest4r3s.js} +15 -15
- package/dist/chunks/{tool-r3yrp3s1.js → instruction-discovery-zkskjjqs.js} +26 -26
- package/dist/chunks/{tool-51zp19xj.js → instruction-discovery-zmbx7t07.js} +45 -45
- package/dist/chunks/{tool-jvzrpfz1.js → instruction-discovery-zp551mt7.js} +32 -32
- package/dist/chunks/{tool-zr2ceqn5.js → instruction-discovery-zr2ceqn5.js} +1 -1
- package/dist/chunks/{tool-zxq2ej10.js → instruction-discovery-zxq2ej10.js} +1 -1
- 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 +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- 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 +92 -92
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- 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 +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +74 -74
- 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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +8 -8
- 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 +101 -101
- 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 +359 -359
- package/dist/instruction-discovery.js +87 -87
- 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 +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +103 -103
- 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 +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +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 +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- 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 +119 -119
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- 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 +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 +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- 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 +127 -127
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +99 -99
- 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 +92 -92
- 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 +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- 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 +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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- 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 +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- 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 +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +95 -95
- 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 +130 -130
- package/dist/tool/plugin/edit.js +118 -118
- 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 +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- 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 +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/tool-ebg5fsc2.js +0 -513
- package/dist/chunks/tool-g0r85kvg.js +0 -253
- package/dist/chunks/tool-qc068m1q.js +0 -18
- package/dist/chunks/tool-xap5v11p.js +0 -26
- /package/dist/chunks/{tool-0qkdqm5v.js → instruction-discovery-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → instruction-discovery-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → instruction-discovery-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → instruction-discovery-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kg9ymc8.js → instruction-discovery-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-24dcb14g.js → instruction-discovery-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → instruction-discovery-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2axfhc9x.js → instruction-discovery-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-2bv980vf.js → instruction-discovery-2bv980vf.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → instruction-discovery-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → instruction-discovery-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → instruction-discovery-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3t0ybcrp.js → instruction-discovery-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → instruction-discovery-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → instruction-discovery-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → instruction-discovery-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → instruction-discovery-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4vcrnpx2.js → instruction-discovery-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → instruction-discovery-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → instruction-discovery-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → instruction-discovery-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → instruction-discovery-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-6q2bdcd1.js → instruction-discovery-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → instruction-discovery-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → instruction-discovery-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → instruction-discovery-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-84wd9syh.js → instruction-discovery-84wd9syh.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → instruction-discovery-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → instruction-discovery-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-8wj87zfr.js → instruction-discovery-8wj87zfr.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → instruction-discovery-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → instruction-discovery-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → instruction-discovery-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → instruction-discovery-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → instruction-discovery-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → instruction-discovery-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → instruction-discovery-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → instruction-discovery-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → instruction-discovery-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-bw78ga2c.js → instruction-discovery-bw78ga2c.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → instruction-discovery-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → instruction-discovery-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → instruction-discovery-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → instruction-discovery-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dajrwvna.js → instruction-discovery-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → instruction-discovery-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → instruction-discovery-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → instruction-discovery-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → instruction-discovery-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-e73j6tqm.js → instruction-discovery-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → instruction-discovery-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-eh3zwz77.js → instruction-discovery-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → instruction-discovery-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → instruction-discovery-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → instruction-discovery-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → instruction-discovery-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → instruction-discovery-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → instruction-discovery-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → instruction-discovery-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → instruction-discovery-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → instruction-discovery-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → instruction-discovery-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → instruction-discovery-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → instruction-discovery-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jjkms2e6.js → instruction-discovery-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → instruction-discovery-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → instruction-discovery-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jze0r7bz.js → instruction-discovery-jze0r7bz.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → instruction-discovery-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-m18g726c.js → instruction-discovery-m18g726c.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → instruction-discovery-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → instruction-discovery-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → instruction-discovery-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → instruction-discovery-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → instruction-discovery-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-pkyv6v7h.js → instruction-discovery-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{tool-pyv0edze.js → instruction-discovery-pyv0edze.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → instruction-discovery-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → instruction-discovery-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → instruction-discovery-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → instruction-discovery-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → instruction-discovery-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qg3g05ea.js → instruction-discovery-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → instruction-discovery-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → instruction-discovery-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → instruction-discovery-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → instruction-discovery-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-ve7vex1e.js → instruction-discovery-ve7vex1e.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → instruction-discovery-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wc3fc9cn.js → instruction-discovery-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → instruction-discovery-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → instruction-discovery-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → instruction-discovery-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → instruction-discovery-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → instruction-discovery-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8f7s663.js → instruction-discovery-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → instruction-discovery-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-ym463w8f.js → instruction-discovery-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-z5v4ffb3.js → instruction-discovery-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → instruction-discovery-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service78,
|
|
4
|
+
node81
|
|
5
|
+
} from "./instruction-discovery-171zjyze.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID13,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -14,24 +14,24 @@ import {
|
|
|
14
14
|
timeouts2,
|
|
15
15
|
mergeOverlay2,
|
|
16
16
|
mergeHeaders2,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service77,
|
|
18
|
+
node80
|
|
19
|
+
} from "./instruction-discovery-38mem431.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service72,
|
|
22
|
+
node75
|
|
23
|
+
} from "./instruction-discovery-h11z96pq.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID12,
|
|
26
26
|
VariantID2,
|
|
27
27
|
Ref2,
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
Service76,
|
|
29
|
+
node79,
|
|
30
30
|
supportsText2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./instruction-discovery-mkkx2xvk.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/model-resolver.ts
|
|
37
37
|
var exports_model_resolver = {};
|
|
@@ -40,7 +40,7 @@ __export(exports_model_resolver, {
|
|
|
40
40
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
41
41
|
ModelInitializationError: () => ModelInitializationError2,
|
|
42
42
|
ModelResolver: () => exports_model_resolver,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service71,
|
|
44
44
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
45
45
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
46
46
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
@@ -48,7 +48,7 @@ __export(exports_model_resolver, {
|
|
|
48
48
|
fromCatalogModel: () => fromCatalogModel2,
|
|
49
49
|
hasPackage: () => hasPackage2,
|
|
50
50
|
layer: () => layer24,
|
|
51
|
-
node: () =>
|
|
51
|
+
node: () => node74,
|
|
52
52
|
resolveModel: () => resolveModel2,
|
|
53
53
|
withVariant: () => withVariant2
|
|
54
54
|
});
|
|
@@ -58,8 +58,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
58
58
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
59
59
|
import { Npm } from "@opencode/util/npm";
|
|
60
60
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
61
|
-
providerID:
|
|
62
|
-
modelID:
|
|
61
|
+
providerID: ID13,
|
|
62
|
+
modelID: ID12,
|
|
63
63
|
variant: VariantID2
|
|
64
64
|
}) {
|
|
65
65
|
get message() {
|
|
@@ -68,8 +68,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
71
|
-
providerID:
|
|
72
|
-
modelID:
|
|
71
|
+
providerID: ID13,
|
|
72
|
+
modelID: ID12,
|
|
73
73
|
package: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
get message() {
|
|
@@ -79,8 +79,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
79
79
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
80
80
|
|
|
81
81
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
82
|
-
providerID:
|
|
83
|
-
modelID:
|
|
82
|
+
providerID: ID13,
|
|
83
|
+
modelID: ID12,
|
|
84
84
|
package: Schema.String,
|
|
85
85
|
detail: Schema.String
|
|
86
86
|
}) {
|
|
@@ -90,8 +90,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
93
|
-
providerID:
|
|
94
|
-
modelID:
|
|
93
|
+
providerID: ID13,
|
|
94
|
+
modelID: ID12,
|
|
95
95
|
package: Schema.String,
|
|
96
96
|
phase: InitializationPhase2,
|
|
97
97
|
detail: Schema.String
|
|
@@ -102,8 +102,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
105
|
-
providerID:
|
|
106
|
-
modelID:
|
|
105
|
+
providerID: ID13,
|
|
106
|
+
modelID: ID12,
|
|
107
107
|
variables: Schema.Array(Schema.String)
|
|
108
108
|
}) {
|
|
109
109
|
get message() {
|
|
@@ -112,8 +112,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
115
|
-
providerID:
|
|
116
|
-
modelID:
|
|
115
|
+
providerID: ID13,
|
|
116
|
+
modelID: ID12,
|
|
117
117
|
route: Schema.String
|
|
118
118
|
}) {
|
|
119
119
|
get message() {
|
|
@@ -121,7 +121,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
class
|
|
124
|
+
class Service71 extends Context.Service()("@opencode/ModelResolver") {
|
|
125
125
|
}
|
|
126
126
|
var withVariant2 = (model, variantID) => {
|
|
127
127
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -235,7 +235,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
|
|
|
235
235
|
return tokenSettings(specifier, credential.access);
|
|
236
236
|
if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
|
|
237
237
|
return { auth: "sigv4" };
|
|
238
|
-
if (model.providerID ===
|
|
238
|
+
if (model.providerID === ID13.azure)
|
|
239
239
|
return tokenSettings(specifier, "azure-cli");
|
|
240
240
|
return {};
|
|
241
241
|
};
|
|
@@ -270,15 +270,15 @@ var causeMessage = (cause) => {
|
|
|
270
270
|
};
|
|
271
271
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
272
272
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
273
|
-
var layer24 = Layer.effect(
|
|
274
|
-
const providers = yield*
|
|
275
|
-
const models = yield*
|
|
276
|
-
const integrations = yield*
|
|
273
|
+
var layer24 = Layer.effect(Service71, Effect.gen(function* () {
|
|
274
|
+
const providers = yield* Service77;
|
|
275
|
+
const models = yield* Service76;
|
|
276
|
+
const integrations = yield* Service78;
|
|
277
277
|
const npm = yield* Npm.Service;
|
|
278
|
-
const aisdk = yield*
|
|
278
|
+
const aisdk = yield* Service72;
|
|
279
279
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
280
280
|
const provider = yield* providers.get(selected.providerID);
|
|
281
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
281
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
282
282
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
283
283
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
284
284
|
const runtimeInfo = {
|
|
@@ -305,7 +305,7 @@ var layer24 = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
305
305
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
306
306
|
};
|
|
307
307
|
});
|
|
308
|
-
return
|
|
308
|
+
return Service71.of({
|
|
309
309
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
310
310
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
311
311
|
if (!selected)
|
|
@@ -322,10 +322,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
322
322
|
const name = packageName2(packageName);
|
|
323
323
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
324
324
|
}
|
|
325
|
-
var
|
|
326
|
-
service:
|
|
325
|
+
var node74 = makeLocationNode({
|
|
326
|
+
service: Service71,
|
|
327
327
|
layer: layer24,
|
|
328
|
-
deps: [
|
|
328
|
+
deps: [node80, node79, node81, Npm.node, node75]
|
|
329
329
|
});
|
|
330
330
|
|
|
331
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
331
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service71, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node74, exports_model_resolver };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./instruction-discovery-38mem431.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-1sc6p60b.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { isArrayNonEmpty } from "effect/Array";
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Form } from "@opencode/schema/form";
|
|
13
|
-
var providerID =
|
|
13
|
+
var providerID = ID13.make("cloudflare-ai-gateway");
|
|
14
14
|
var accountIdField = Form.StringField.make({
|
|
15
15
|
type: "string",
|
|
16
16
|
key: "accountId",
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-pyv0edze.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin16,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin16 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin16, exports_tool_input_repair };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./instruction-discovery-wt4s349c.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service21,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instruction-discovery-xyc3y5xg.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service23
|
|
11
|
+
} from "./instruction-discovery-j4c2xja6.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service55
|
|
14
|
+
} from "./instruction-discovery-s9bfrye6.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service22
|
|
17
|
+
} from "./instruction-discovery-85z0h67f.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./instruction-discovery-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input6,
|
|
29
|
+
Output: () => Output5,
|
|
30
|
+
Plugin: () => Plugin43,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name6,
|
|
33
|
+
toModelContent: () => toModelContent3
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name6 = "write";
|
|
39
|
+
var Input6 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output5 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin43 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service22;
|
|
56
|
+
const fileMutation = yield* Service21;
|
|
57
|
+
const environment = yield* Service66;
|
|
58
|
+
const formatter = yield* Service23;
|
|
59
|
+
const permission = yield* Service55;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name6,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input6,
|
|
69
|
+
output: Output5,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name6, Input6, Output5, toModelContent3, Plugin43, exports_write };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instruction-discovery-fqp3mcfq.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instruction-discovery-7yw2sx3r.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make22,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-1j6m29mr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info16
|
|
9
|
+
} from "./instruction-discovery-x5wrmng7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info14
|
|
12
|
+
} from "./instruction-discovery-qa3qhgw8.js";
|
|
13
13
|
import {
|
|
14
14
|
Info13
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instruction-discovery-4xpgt2w9.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instruction-discovery-2k8khapm.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info15
|
|
21
|
+
} from "./instruction-discovery-z6c3x22d.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
migrateMcp2,
|
|
28
28
|
migrateProvider2,
|
|
29
29
|
providerID2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./instruction-discovery-97y7hxer.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/config/normalize.ts
|
|
36
36
|
var exports_normalize = {};
|
|
@@ -97,12 +97,12 @@ function normalize2(input) {
|
|
|
97
97
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
98
98
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
99
99
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
100
|
-
const legacyCommands = decodeMap(input.command,
|
|
100
|
+
const legacyCommands = decodeMap(input.command, Info14, ["command"], diagnostics, decodeValue);
|
|
101
101
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
102
102
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
103
103
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
104
104
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
105
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
105
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info16, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
106
106
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
107
107
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
108
108
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -116,7 +116,7 @@ function normalize2(input) {
|
|
|
116
116
|
model: migratedSmallModel,
|
|
117
117
|
...legacyAgents.title
|
|
118
118
|
};
|
|
119
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
119
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info16, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
120
120
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
121
121
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
122
122
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -413,7 +413,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
413
413
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
414
414
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
415
415
|
return [];
|
|
416
|
-
const provider = decodeValue(
|
|
416
|
+
const provider = decodeValue(Info15, raw, path, diagnostics);
|
|
417
417
|
if (provider === undefined)
|
|
418
418
|
return [];
|
|
419
419
|
const destination = providerID2(name);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/delete.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service69,
|
|
3
|
+
node72
|
|
4
|
+
} from "./instruction-discovery-d15wnv4q.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service30,
|
|
7
|
+
node33
|
|
8
|
+
} from "./instruction-discovery-nbyj5sqq.js";
|
|
9
9
|
import {
|
|
10
10
|
text2,
|
|
11
11
|
deliver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-6xb47vfp.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/subagent-job.ts
|
|
18
18
|
var exports_subagent_job = {};
|
|
19
19
|
__export(exports_subagent_job, {
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service11,
|
|
21
21
|
SubagentJob: () => exports_subagent_job,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node13
|
|
23
23
|
});
|
|
24
24
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
25
25
|
import { Node } from "@opencode/util/effect/app-node";
|
|
26
|
-
class
|
|
26
|
+
class Service11 extends Context.Service()("@opencode/SubagentJob") {
|
|
27
27
|
}
|
|
28
28
|
var make = Effect.gen(function* () {
|
|
29
|
-
const sessions = yield*
|
|
30
|
-
const jobs = yield*
|
|
29
|
+
const sessions = yield* Service30;
|
|
30
|
+
const jobs = yield* Service69;
|
|
31
31
|
const scope = yield* Scope.Scope;
|
|
32
32
|
const context = yield* Effect.context();
|
|
33
33
|
const notifications = new Set;
|
|
@@ -42,7 +42,7 @@ var make = Effect.gen(function* () {
|
|
|
42
42
|
yield* deliver2(sessions, jobs, { ...info, recovery });
|
|
43
43
|
}).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
|
|
44
44
|
});
|
|
45
|
-
return
|
|
45
|
+
return Service11.of({
|
|
46
46
|
start: (recovery) => jobs.start({
|
|
47
47
|
id: recovery.childSessionID,
|
|
48
48
|
type: "subagent",
|
|
@@ -64,10 +64,10 @@ var make = Effect.gen(function* () {
|
|
|
64
64
|
notify
|
|
65
65
|
});
|
|
66
66
|
});
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
69
|
-
layer: Layer.effect(
|
|
70
|
-
deps: [
|
|
67
|
+
var node13 = Node.makeGlobalNode({
|
|
68
|
+
service: Service11,
|
|
69
|
+
layer: Layer.effect(Service11, make),
|
|
70
|
+
deps: [node33, node72]
|
|
71
71
|
});
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Service11, node13, exports_subagent_job };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured13,
|
|
11
|
+
layer: () => layer28,
|
|
12
|
+
make: () => make23,
|
|
13
|
+
node: () => node89,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make23()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make23(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make19(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer28 = (input) => Layer.succeed(Metadata2, make23(input));
|
|
32
|
+
var configured13 = (input) => makeGlobalNode({ service: Metadata2, layer: layer28(input), deps: [] });
|
|
33
|
+
var node89 = configured13();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make23, useragent2, layer28, configured13, node89, exports_app };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|