@opencode/core 0.0.0-dev-1285 → 0.0.0-dev-1286
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 +94 -94
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +5 -5
- package/dist/artifact.js +254 -254
- package/dist/bus.js +84 -84
- package/dist/chunks/{app-034tev2y.js → state-034tev2y.js} +2 -2
- package/dist/chunks/{app-jn6kbxpn.js → state-08v7z8bj.js} +4 -4
- package/dist/chunks/{app-ypp6b42m.js → state-0btzqa1f.js} +31 -31
- package/dist/chunks/state-0gdrrj59.js +16 -0
- package/dist/chunks/{app-0ma9gw4f.js → state-0ma9gw4f.js} +2 -2
- package/dist/chunks/{app-963hk181.js → state-0mtp185z.js} +9 -9
- package/dist/chunks/{app-rxs3qrpt.js → state-0nvgnn62.js} +15 -15
- package/dist/chunks/{app-eyfjfzn3.js → state-0pp75b2b.js} +5 -5
- package/dist/chunks/{app-2m0fy4fc.js → state-0tvmk5mj.js} +14 -14
- package/dist/chunks/{app-7nb8tm12.js → state-10pn4eb5.js} +5 -5
- package/dist/chunks/{app-ry7kp2db.js → state-12a87htm.js} +8 -8
- package/dist/chunks/{app-vmpfg9q2.js → state-16b7m4j8.js} +29 -29
- package/dist/chunks/{app-1aqsckx4.js → state-1aqsckx4.js} +1 -1
- package/dist/chunks/{app-1aryjtsy.js → state-1aryjtsy.js} +1 -1
- package/dist/chunks/{app-1ep2p91f.js → state-1ep2p91f.js} +2 -2
- package/dist/chunks/{app-025t4cve.js → state-1qr77ex7.js} +17 -17
- package/dist/chunks/{app-ybws1qgk.js → state-1v2g13eq.js} +4 -4
- package/dist/chunks/{app-1x2knyw4.js → state-1x2knyw4.js} +1 -1
- package/dist/chunks/{app-p7vhpwh8.js → state-1yq9hg58.js} +5 -5
- package/dist/chunks/{app-dhcjg10b.js → state-21wmys07.js} +5 -5
- package/dist/chunks/{app-9w8bjk4c.js → state-221vya3t.js} +27 -27
- package/dist/chunks/{app-07qm1k11.js → state-228vay93.js} +7 -7
- package/dist/chunks/{app-p9jmt18g.js → state-28rkn4bn.js} +8 -8
- package/dist/chunks/{app-vwrdx2vs.js → state-2a60241h.js} +8 -8
- package/dist/chunks/{app-z8xv73cs.js → state-2e1nwkkm.js} +65 -65
- package/dist/chunks/{app-ts0d6mba.js → state-2ehwevqc.js} +6 -6
- package/dist/chunks/{app-2fc7eemy.js → state-2fc7eemy.js} +1 -1
- package/dist/chunks/{app-9e8w80ds.js → state-2j6t1azn.js} +24 -24
- package/dist/chunks/{app-82djqm81.js → state-2jekdept.js} +89 -89
- package/dist/chunks/{app-nph4d54v.js → state-2jj6dqfj.js} +43 -43
- package/dist/chunks/{app-z33m6dhf.js → state-2ndqwwwr.js} +21 -21
- package/dist/chunks/{app-s1ba0vj0.js → state-2p60zmnr.js} +2 -2
- package/dist/chunks/{app-eqg1vac5.js → state-2pfdjs0f.js} +16 -16
- package/dist/chunks/{app-2prt43t7.js → state-2prt43t7.js} +1 -1
- package/dist/chunks/{app-ea90c952.js → state-2s9mae96.js} +6 -6
- package/dist/chunks/{app-qdfsw3cb.js → state-2xak8dj5.js} +14 -14
- package/dist/chunks/{app-s47rahr7.js → state-2ytp0tvq.js} +4 -4
- package/dist/chunks/{app-e7xwa4fm.js → state-31spynen.js} +27 -27
- package/dist/chunks/{app-grgfybpe.js → state-32b106kb.js} +16 -16
- package/dist/chunks/{app-v1cwgf66.js → state-3ay4v82t.js} +20 -20
- package/dist/chunks/{app-n7hb44nb.js → state-3bkc2eyb.js} +26 -26
- package/dist/chunks/{app-6drg800n.js → state-3crmp3j0.js} +25 -25
- package/dist/chunks/{app-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-3nnrz6f6.js → state-3nnrz6f6.js} +1 -1
- package/dist/chunks/{app-46zdpyn0.js → state-3pf22dca.js} +18 -18
- package/dist/chunks/{app-1wd80431.js → state-3rv7akfg.js} +2 -2
- package/dist/chunks/{app-40y6dtc2.js → state-40y6dtc2.js} +1 -1
- package/dist/chunks/{app-5enarcya.js → state-40za9wsf.js} +6 -6
- package/dist/chunks/{app-wc0dmynm.js → state-41pgy3sf.js} +31 -31
- package/dist/chunks/{app-jxd6f16v.js → state-44pmzq9c.js} +2 -2
- package/dist/chunks/{app-scyr04et.js → state-44y9hb78.js} +6 -6
- package/dist/chunks/{app-2fjqxx81.js → state-46r9x6z8.js} +15 -15
- package/dist/chunks/{app-kqnrsvns.js → state-4bpc2t1s.js} +45 -45
- package/dist/chunks/{app-4dx1dgte.js → state-4dx1dgte.js} +1 -1
- package/dist/chunks/{app-4f25tdd0.js → state-4f25tdd0.js} +1 -1
- package/dist/chunks/{app-4x2mxp21.js → state-4j3ga8y9.js} +7 -7
- package/dist/chunks/{app-an5g0sat.js → state-4ne7e05f.js} +7 -7
- package/dist/chunks/{app-4pyp9zr9.js → state-4pyp9zr9.js} +1 -1
- package/dist/chunks/{app-kvv4s9az.js → state-4q9x5zz6.js} +6 -6
- package/dist/chunks/{app-x531zjeb.js → state-4sdfsr7r.js} +7 -7
- package/dist/chunks/{app-qw5jrheg.js → state-4txybgt8.js} +15 -15
- package/dist/chunks/{app-4v008n1t.js → state-4v008n1t.js} +1 -1
- package/dist/chunks/{app-4zc7x669.js → state-54rczas7.js} +3 -3
- package/dist/chunks/{app-a3fn0gmm.js → state-55g2q5p5.js} +2 -2
- package/dist/chunks/{app-8pwnwwhb.js → state-5cnce3zv.js} +46 -46
- package/dist/chunks/{app-hty9eptx.js → state-5dnztkma.js} +5 -5
- package/dist/chunks/{app-g21kkkcr.js → state-5gqyfzh0.js} +44 -44
- package/dist/chunks/{app-q92q9qkt.js → state-5hyn47a2.js} +9 -9
- package/dist/chunks/{app-3r5q5spf.js → state-5jcnyvfa.js} +87 -87
- package/dist/chunks/{app-5m9w47nd.js → state-5m9w47nd.js} +1 -1
- package/dist/chunks/{app-scjtfsne.js → state-5mmm03tc.js} +17 -17
- package/dist/chunks/{app-18swenvv.js → state-5nm4b389.js} +9 -9
- package/dist/chunks/{app-5g9hwt4x.js → state-5wsvgjfj.js} +9 -9
- package/dist/chunks/{app-r9mbshw2.js → state-5yydhn6j.js} +11 -11
- package/dist/chunks/{app-wyrr125q.js → state-65zzbc8y.js} +6 -6
- package/dist/chunks/{app-mygbhmxt.js → state-6dtts35a.js} +34 -34
- package/dist/chunks/{app-g5r5k2rv.js → state-6fq6hckr.js} +26 -26
- package/dist/chunks/{app-76v0dsz2.js → state-6j5g81c1.js} +19 -19
- package/dist/chunks/{app-n50n4edv.js → state-6j5y94xc.js} +22 -22
- package/dist/chunks/{app-atcjc96e.js → state-6knn97w4.js} +24 -24
- package/dist/chunks/{app-vwcz1f45.js → state-6y2b864j.js} +7 -7
- package/dist/chunks/{app-tecgr1kp.js → state-6z1a0r6z.js} +39 -39
- package/dist/chunks/{app-408971ex.js → state-73s9mjcb.js} +26 -26
- package/dist/chunks/{app-3d69khjk.js → state-7578v1yb.js} +12 -12
- package/dist/chunks/{app-4xvhmk97.js → state-79yc02xr.js} +8 -8
- package/dist/chunks/{app-h31yzxdh.js → state-7ahvbyep.js} +20 -20
- package/dist/chunks/{app-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-xdykxqmp.js → state-7de2dsgr.js} +3 -3
- package/dist/chunks/{app-3ka5cgy9.js → state-7f2gtd9q.js} +9 -9
- package/dist/chunks/{app-qxn8bpmb.js → state-7jpv224f.js} +18 -18
- package/dist/chunks/{app-3hvwj3m6.js → state-7mb3cxhd.js} +7 -7
- package/dist/chunks/{app-nrtmt0gj.js → state-7sxfp0fs.js} +5 -5
- package/dist/chunks/{app-6bxz1xd9.js → state-7t268gtf.js} +13 -13
- package/dist/chunks/{app-vfkt388e.js → state-7vtcx4hk.js} +21 -21
- package/dist/chunks/{app-7w2ypzdf.js → state-7w2ypzdf.js} +1 -1
- package/dist/chunks/{app-7weczvnd.js → state-7weczvnd.js} +1 -1
- package/dist/chunks/{app-pnwsrq7c.js → state-80m5xgxj.js} +7 -7
- package/dist/chunks/{app-80mg3ag8.js → state-80mg3ag8.js} +3 -3
- package/dist/chunks/{app-80pdk984.js → state-80pdk984.js} +1 -1
- package/dist/chunks/{app-mft8r9dx.js → state-81qpdbwx.js} +25 -25
- package/dist/chunks/{app-n5as8391.js → state-84rzjcq0.js} +36 -36
- package/dist/chunks/{app-3adw4bt5.js → state-859w1rtj.js} +9 -9
- package/dist/chunks/{app-85jq8dht.js → state-85jq8dht.js} +1 -1
- package/dist/chunks/{app-8b3vzgkx.js → state-8b3vzgkx.js} +1 -1
- package/dist/chunks/{app-957a6038.js → state-8bzbvxx5.js} +8 -8
- package/dist/chunks/{app-8kjyvwy5.js → state-8kjyvwy5.js} +1 -1
- package/dist/chunks/{app-n5mwsv0r.js → state-8qbjba5v.js} +8 -8
- package/dist/chunks/{app-8sxe6kv8.js → state-8sxe6kv8.js} +2 -2
- package/dist/chunks/{app-00jjfnj7.js → state-8w7sx7k6.js} +20 -20
- package/dist/chunks/{app-8wtp7s3z.js → state-8wtp7s3z.js} +1 -1
- package/dist/chunks/{app-1rnry1v4.js → state-8wz4tvme.js} +6 -6
- package/dist/chunks/{app-ag6cgtqa.js → state-8y7sp9bt.js} +43 -43
- package/dist/chunks/{app-mwm4jr9n.js → state-8ykt8gh4.js} +39 -39
- package/dist/chunks/{app-8zv0xmg5.js → state-8zv0xmg5.js} +1 -1
- package/dist/chunks/{app-p5p267kc.js → state-902ym8qp.js} +13 -13
- package/dist/chunks/{app-95qw0e3q.js → state-97c87fwj.js} +18 -18
- package/dist/chunks/{app-9ah88nye.js → state-97jbfc4v.js} +12 -12
- package/dist/chunks/{app-mq984we8.js → state-9ayb9m9h.js} +18 -18
- package/dist/chunks/{app-spnp93qq.js → state-9f3jsh1d.js} +8 -8
- package/dist/chunks/{app-jt98tm65.js → state-9pp8gm3k.js} +25 -25
- package/dist/chunks/{app-9q8g9sv8.js → state-9q8g9sv8.js} +1 -1
- package/dist/chunks/{app-2grtr496.js → state-9rvyqq0m.js} +11 -11
- package/dist/chunks/{app-kmekj7m2.js → state-9sk33afj.js} +8 -8
- package/dist/chunks/{app-j8mrzfgg.js → state-a0w85qt3.js} +13 -13
- package/dist/chunks/{app-9t3xgyty.js → state-a4c2by28.js} +4 -4
- package/dist/chunks/{app-ykkand29.js → state-ae0qdtqr.js} +12 -12
- package/dist/chunks/{app-kf1x8zgw.js → state-aj1gh5b1.js} +18 -18
- package/dist/chunks/{app-xy5vs88s.js → state-ax38ah6s.js} +31 -31
- package/dist/chunks/{app-ayjs7tqn.js → state-ayjs7tqn.js} +2 -2
- package/dist/chunks/{app-g4txs7zc.js → state-b26ddj6h.js} +4 -4
- package/dist/chunks/{app-eah2397q.js → state-b8rtg17t.js} +20 -20
- package/dist/chunks/{app-79wp8f13.js → state-bnwq6b4w.js} +5 -5
- package/dist/chunks/{app-qzqtf0dx.js → state-brr7mgwg.js} +46 -46
- package/dist/chunks/{app-jtqmv2hm.js → state-bsdnr4ba.js} +6 -6
- package/dist/chunks/{app-bstexjd6.js → state-bstexjd6.js} +1 -1
- package/dist/chunks/{app-yr14tm90.js → state-c04pxy3w.js} +40 -40
- package/dist/chunks/{app-8qqc2s59.js → state-c2r3rtm4.js} +19 -19
- package/dist/chunks/{app-b0py6acz.js → state-c5jv50pm.js} +8 -8
- package/dist/chunks/{app-6vnk4sds.js → state-c9jqgsxy.js} +4 -4
- package/dist/chunks/{app-a3gh46mf.js → state-ca49h5yy.js} +35 -35
- package/dist/chunks/{app-7gxmh10m.js → state-cch1wthv.js} +27 -27
- package/dist/chunks/{app-a19kd72j.js → state-cdhj0d8w.js} +32 -32
- package/dist/chunks/{app-8aqfbqgm.js → state-cjn9ha1p.js} +9 -9
- package/dist/chunks/state-cm2e08f9.js +26 -0
- package/dist/chunks/{app-cq0zqw2z.js → state-cnn53cg0.js} +8 -8
- package/dist/chunks/{app-pz2pejex.js → state-cs44c0ny.js} +21 -21
- package/dist/chunks/{app-cwrgdav8.js → state-cwrgdav8.js} +2 -2
- package/dist/chunks/{app-whx5scm4.js → state-d3bts39x.js} +25 -25
- package/dist/chunks/{app-d4v9tmah.js → state-d4v9tmah.js} +2 -2
- package/dist/chunks/{app-70fr565a.js → state-d5c35vpx.js} +14 -14
- package/dist/chunks/{app-wram022v.js → state-d95z56xb.js} +16 -16
- package/dist/chunks/{app-y1n277rb.js → state-dbatw319.js} +3 -3
- package/dist/chunks/{app-0m9q59s6.js → state-ddwaa558.js} +4 -4
- package/dist/chunks/{app-06ct867e.js → state-dh7g0jpy.js} +11 -11
- package/dist/chunks/{app-52jz7pwf.js → state-dmjzkk9b.js} +12 -12
- package/dist/chunks/{app-kqg8bwd1.js → state-dmz93jpt.js} +10 -10
- package/dist/chunks/{app-247pbyk5.js → state-dp37kwn9.js} +7 -7
- package/dist/chunks/{app-sgqk6vs3.js → state-dq3zm9p4.js} +5 -5
- package/dist/chunks/{app-dt77769w.js → state-dt77769w.js} +1 -1
- package/dist/chunks/{app-4gqyvqdh.js → state-dtsdfz56.js} +5 -5
- package/dist/chunks/{app-na5a42jc.js → state-dvnqv6yn.js} +4 -4
- package/dist/chunks/{app-y6y1f5y8.js → state-dwqgav80.js} +19 -19
- package/dist/chunks/{app-pyb3ry4y.js → state-e42rf4nr.js} +25 -25
- package/dist/chunks/{app-wfjv00zy.js → state-e75ef818.js} +21 -21
- package/dist/chunks/{app-35kgbjca.js → state-e96z2m6v.js} +7 -7
- package/dist/chunks/{app-1mk73hd7.js → state-eam2557n.js} +8 -8
- package/dist/chunks/{app-swpvcscf.js → state-ekapvd9j.js} +28 -28
- package/dist/chunks/{app-bsexe5yk.js → state-emvz8vsx.js} +16 -16
- package/dist/chunks/{app-76gmk4js.js → state-en8b60np.js} +5 -5
- package/dist/chunks/state-en94qyvq.js +273 -0
- package/dist/chunks/{app-30gxh304.js → state-eq2t258h.js} +8 -8
- package/dist/chunks/{app-t8r5bb2p.js → state-eqfz6x7d.js} +15 -15
- package/dist/chunks/{app-eqw4pqj1.js → state-eqw4pqj1.js} +2 -2
- package/dist/chunks/{app-fazqq38j.js → state-esagctk2.js} +12 -12
- package/dist/chunks/{app-dqdn51sf.js → state-etyevypf.js} +17 -17
- package/dist/chunks/{app-8p6tesg0.js → state-ev9rrvkp.js} +22 -22
- package/dist/chunks/{app-0x1mgtk1.js → state-f2zjpyt5.js} +7 -7
- package/dist/chunks/{app-y4avew00.js → state-f3f0kyhw.js} +15 -15
- package/dist/chunks/{app-nj5r991b.js → state-f6btcd27.js} +27 -27
- package/dist/chunks/{app-1f8gda2j.js → state-fecrtxp5.js} +11 -11
- package/dist/chunks/{app-fg9p65nk.js → state-fg9p65nk.js} +2 -2
- package/dist/chunks/{app-apmdcqpc.js → state-fgsa38ay.js} +27 -27
- package/dist/chunks/{app-m66ga2vx.js → state-fk9abcws.js} +16 -16
- package/dist/chunks/{app-95t0tw0v.js → state-fnyc052x.js} +8 -8
- package/dist/chunks/{app-62cg9b9e.js → state-fsyps2wb.js} +13 -13
- package/dist/chunks/{app-sf9y72b7.js → state-g5ajqn12.js} +4 -4
- package/dist/chunks/{app-89x54ejz.js → state-gakp7x89.js} +4 -4
- package/dist/chunks/{app-p4gcr8nw.js → state-gatg4ajq.js} +5 -5
- package/dist/chunks/{app-gbjdnr5j.js → state-gbjdnr5j.js} +2 -2
- package/dist/chunks/{app-ghrv1g9c.js → state-ghrv1g9c.js} +1 -1
- package/dist/chunks/{app-ba5f9dy2.js → state-gmemj5zs.js} +4 -4
- package/dist/chunks/{app-gxs71cxp.js → state-gxs71cxp.js} +1 -1
- package/dist/chunks/{app-y0tsycvm.js → state-gzfw1v14.js} +23 -23
- package/dist/chunks/{app-zrjrnxz2.js → state-gzykt30c.js} +3 -3
- package/dist/chunks/{app-s59y84bq.js → state-h5arkge6.js} +58 -58
- package/dist/chunks/{app-4vzr2b15.js → state-h5chy42v.js} +3 -3
- package/dist/chunks/{app-ypnf90sc.js → state-ha4eeywz.js} +6 -6
- package/dist/chunks/{app-hgzwgvze.js → state-hgzwgvze.js} +2 -2
- package/dist/chunks/{app-7fnx82sm.js → state-hr8ev4ht.js} +3 -3
- package/dist/chunks/{app-6sqtdkcy.js → state-hrevqrsg.js} +1 -1
- package/dist/chunks/{app-cs6va74p.js → state-hwpy7xqd.js} +10 -10
- package/dist/chunks/{app-q2ttetpm.js → state-hxcs36a8.js} +20 -20
- package/dist/chunks/{app-2x0f01dd.js → state-hz5xsw53.js} +12 -12
- package/dist/chunks/{app-n7e8gndn.js → state-j3kztysk.js} +42 -42
- package/dist/chunks/{app-33qr263c.js → state-jah69v2r.js} +34 -34
- package/dist/chunks/{app-cc12rbr6.js → state-jc6fdbwr.js} +57 -57
- package/dist/chunks/{app-bp29v7tn.js → state-jdpteqf8.js} +36 -36
- package/dist/chunks/{app-jm70asfg.js → state-jm70asfg.js} +1 -1
- package/dist/chunks/{app-77m7hwaa.js → state-jmcp7p6t.js} +46 -46
- package/dist/chunks/{app-wkd5q91e.js → state-jw31swa9.js} +37 -34
- package/dist/chunks/{app-p2kdnzg4.js → state-jztnqbkb.js} +29 -29
- package/dist/chunks/{app-7szx5t17.js → state-k0hkm9yt.js} +30 -30
- package/dist/chunks/{app-r4qydbep.js → state-k1d7vaz9.js} +28 -28
- package/dist/chunks/{app-yevqcd6b.js → state-k1e8gd0x.js} +17 -17
- package/dist/chunks/{app-rrq7gnh6.js → state-k4sg6xcd.js} +6 -6
- package/dist/chunks/{app-86rns305.js → state-k6sdea1r.js} +5 -5
- package/dist/chunks/{app-exhr55tk.js → state-k81s7xrj.js} +23 -23
- package/dist/chunks/{app-vt2d6wap.js → state-kb7357nt.js} +4 -4
- package/dist/chunks/{app-m5x27r8g.js → state-kg3j2jy8.js} +48 -48
- package/dist/chunks/{app-8m4s1g37.js → state-khzy4wg3.js} +6 -6
- package/dist/chunks/{app-kt3bjfbg.js → state-kt3bjfbg.js} +1 -1
- package/dist/chunks/{app-hwgjczxt.js → state-kt9t7ezs.js} +25 -25
- package/dist/chunks/{app-kzczzf4v.js → state-kzczzf4v.js} +1 -1
- package/dist/chunks/{app-cvdkrx6f.js → state-m16enckk.js} +46 -46
- package/dist/chunks/{app-m1714858.js → state-m1714858.js} +1 -1
- package/dist/chunks/{app-2mbjfaxd.js → state-m7xh3h0x.js} +4 -4
- package/dist/chunks/{app-4qm7r5h9.js → state-m8kfdq53.js} +31 -31
- package/dist/chunks/{app-m90tx7mw.js → state-m90tx7mw.js} +1 -1
- package/dist/chunks/{app-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-mb7mbhnz.js → state-mb7mbhnz.js} +3 -3
- package/dist/chunks/{app-gkam3hgf.js → state-mdgen25f.js} +5 -5
- package/dist/chunks/{app-485gexf9.js → state-mgm7q8zj.js} +16 -16
- package/dist/chunks/{app-dfj93yhv.js → state-mjhe4g2h.js} +7 -7
- package/dist/chunks/{app-2merx6cy.js → state-mm2c6967.js} +11 -11
- package/dist/chunks/{app-hpv452dw.js → state-mp1w26g9.js} +12 -12
- package/dist/chunks/{app-4xer3324.js → state-mr226q9g.js} +15 -15
- package/dist/chunks/{app-gy24j455.js → state-mz3s4az1.js} +9 -9
- package/dist/chunks/{app-1b4qm173.js → state-mzspv93g.js} +190 -190
- package/dist/chunks/{app-v1s9t994.js → state-n0qwh0ed.js} +16 -16
- package/dist/chunks/{app-93jm7hjf.js → state-n2xzmb0r.js} +13 -13
- package/dist/chunks/{app-xvn8mnch.js → state-n320gsn2.js} +4 -4
- package/dist/chunks/{app-ckk44cdz.js → state-nn2nd58t.js} +5 -5
- package/dist/chunks/{app-xhb877y8.js → state-nntz0wdb.js} +10 -10
- package/dist/chunks/{app-x4yka9zb.js → state-nva44atn.js} +41 -41
- package/dist/chunks/{app-me215f18.js → state-nw5eecxx.js} +1 -1
- package/dist/chunks/{app-m86zqssn.js → state-p41ppky5.js} +9 -9
- package/dist/chunks/{app-v3mcgmqw.js → state-p4rh8hdf.js} +21 -21
- package/dist/chunks/{app-q5f7d3fm.js → state-p9scnkse.js} +12 -12
- package/dist/chunks/{app-4dfqsw0d.js → state-pd7cqnhq.js} +4 -4
- package/dist/chunks/{app-ne8a842w.js → state-pezsvsz0.js} +22 -22
- package/dist/chunks/{app-rxmw0rhb.js → state-ph1k6042.js} +11 -11
- package/dist/chunks/{app-p2drgvth.js → state-pja45re6.js} +12 -12
- package/dist/chunks/{app-8b97tab6.js → state-pk8qaaqs.js} +9 -9
- package/dist/chunks/{app-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{app-6bg6cvm0.js → state-ppchzq00.js} +12 -12
- package/dist/chunks/{app-m7aj11vv.js → state-pqcc506g.js} +369 -369
- package/dist/chunks/{app-8zcs8b0z.js → state-prjyz4d4.js} +27 -27
- package/dist/chunks/{app-4gjhybck.js → state-q3gf3dr6.js} +15 -15
- package/dist/chunks/{app-ty1zr4xr.js → state-q963thn8.js} +11 -7
- package/dist/chunks/{app-gpktz0vk.js → state-qf0cspkh.js} +32 -32
- package/dist/chunks/{app-qp7r0hxv.js → state-qp7r0hxv.js} +1 -1
- package/dist/chunks/{app-sq4s6wq1.js → state-qvtwmp4v.js} +6 -6
- package/dist/chunks/{app-ecb8qe35.js → state-qxzadwmc.js} +5 -5
- package/dist/chunks/{app-7b52v053.js → state-r11nrgf9.js} +4 -4
- package/dist/chunks/{app-xacrkbdt.js → state-r17fbvme.js} +4 -4
- package/dist/chunks/{app-qzves1f7.js → state-r67bjwx7.js} +34 -34
- package/dist/chunks/{app-rb9dy4dg.js → state-rb9dy4dg.js} +1 -1
- package/dist/chunks/{app-rgc9cx3e.js → state-rgc9cx3e.js} +2 -2
- package/dist/chunks/{app-3y9syvn4.js → state-rzz7nxm9.js} +48 -48
- package/dist/chunks/{app-y5nh6eq3.js → state-s2y7fbda.js} +36 -36
- package/dist/chunks/{app-sz4fqy37.js → state-s5wncjg7.js} +19 -19
- package/dist/chunks/{app-t7sb5m1s.js → state-s6edbn2q.js} +15 -15
- package/dist/chunks/{app-4kwwfkxq.js → state-sak0c658.js} +2 -2
- package/dist/chunks/{app-sbya78hr.js → state-sbya78hr.js} +1 -1
- package/dist/chunks/{app-9zwexsxs.js → state-scmk72rv.js} +5 -5
- package/dist/chunks/{app-2z68448b.js → state-skcgq5k4.js} +15 -13
- package/dist/chunks/{app-p0xxsvd6.js → state-skhaphad.js} +6 -6
- package/dist/chunks/{app-333e4s7d.js → state-sqdzwneh.js} +13 -13
- package/dist/chunks/{app-t7pjcqa8.js → state-sswhfsb9.js} +16 -16
- package/dist/chunks/{app-svcy3p9a.js → state-svcy3p9a.js} +1 -1
- package/dist/chunks/{app-q3ny6jk5.js → state-t2g4t1z5.js} +8 -8
- package/dist/chunks/{app-mee10srx.js → state-takjgrvq.js} +22 -22
- package/dist/chunks/{app-tbpn7jtk.js → state-tbpn7jtk.js} +1 -1
- package/dist/chunks/{app-wxf0m30v.js → state-tcbqm7hf.js} +4 -4
- package/dist/chunks/{app-tczq8hjw.js → state-tczq8hjw.js} +1 -1
- package/dist/chunks/{app-t4w6w4js.js → state-tf4gkfkx.js} +23 -23
- package/dist/chunks/{app-819k1hkv.js → state-tpven54p.js} +16 -16
- package/dist/chunks/{app-j376ae4e.js → state-tr8x705m.js} +5 -5
- package/dist/chunks/{app-gstg0ae4.js → state-ts958vmh.js} +29 -29
- package/dist/chunks/{app-0fvxehme.js → state-ttz31trp.js} +5 -5
- package/dist/chunks/{app-tvtps2q9.js → state-tvtps2q9.js} +1 -1
- package/dist/chunks/{app-twssxy5n.js → state-twssxy5n.js} +2 -2
- package/dist/chunks/{app-kezxk3pb.js → state-v02smd4g.js} +16 -16
- package/dist/chunks/{app-xged5h17.js → state-v2jzqrdt.js} +23 -23
- package/dist/chunks/{app-v2r1d0zg.js → state-v2r1d0zg.js} +1 -1
- package/dist/chunks/{app-fmqgcsh3.js → state-v6hn2ggr.js} +15 -15
- package/dist/chunks/{app-m10cf2g0.js → state-vhqqbzfv.js} +31 -31
- package/dist/chunks/{app-vjf35v1f.js → state-vjf35v1f.js} +1 -1
- package/dist/chunks/{app-yr1ehhcm.js → state-vjvy004v.js} +22 -22
- package/dist/chunks/{app-ez4hrxg9.js → state-vnnncvva.js} +16 -16
- package/dist/chunks/{app-x7dcyyf2.js → state-vpd4yg5b.js} +34 -34
- package/dist/chunks/{app-y3k9rb30.js → state-vqp5kk37.js} +11 -11
- package/dist/chunks/{app-vvxemm4r.js → state-vtadsekr.js} +98 -98
- package/dist/chunks/{app-g7542zse.js → state-vwc6mpbq.js} +24 -24
- package/dist/chunks/{app-x1t3ngbp.js → state-vwjpa1de.js} +11 -11
- package/dist/chunks/{app-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-1yped5qa.js → state-w687dnns.js} +4 -4
- package/dist/chunks/{app-gaj3x73k.js → state-w7p25t36.js} +25 -25
- package/dist/chunks/{app-wakvkjy4.js → state-wakvkjy4.js} +1 -1
- package/dist/chunks/{app-fvvn716q.js → state-wc0ykp6e.js} +11 -11
- package/dist/chunks/{app-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{app-wegkxhrn.js → state-wegkxhrn.js} +2 -2
- package/dist/chunks/{app-2n444ktb.js → state-weqc7sb9.js} +3 -3
- package/dist/chunks/{app-yapbp2nt.js → state-wngs052d.js} +22 -22
- package/dist/chunks/{app-1ktsg9tq.js → state-wq0p6jrb.js} +3 -3
- package/dist/chunks/{app-f3kq79qq.js → state-wt34pdjg.js} +18 -18
- package/dist/chunks/{app-vmqe41cb.js → state-wzfa06mn.js} +4 -4
- package/dist/chunks/{app-tb2gxcqz.js → state-x5kxn1qq.js} +39 -39
- package/dist/chunks/{app-jzceekcr.js → state-x7vt7y55.js} +5 -5
- package/dist/chunks/{app-em1rnmew.js → state-x9wwrnek.js} +47 -47
- package/dist/chunks/{app-7ex1q6kt.js → state-xa5zzh3s.js} +4 -4
- package/dist/chunks/{app-yxf2d4xa.js → state-xcwbz96d.js} +9 -9
- package/dist/chunks/{app-e4ba5gvv.js → state-xdq19q9p.js} +14 -14
- package/dist/chunks/{app-xxschbft.js → state-xjr6c8m4.js} +4 -4
- package/dist/chunks/{app-0wcg8mck.js → state-xmc7taf5.js} +59 -59
- package/dist/chunks/{app-0ahs07zn.js → state-xmx7xj34.js} +4 -4
- package/dist/chunks/{app-9g3pee38.js → state-y0p25td2.js} +18 -18
- package/dist/chunks/{app-f18n4nbc.js → state-y2v2ewvc.js} +21 -21
- package/dist/chunks/{app-kw4rkd9m.js → state-y7zqb3rj.js} +26 -26
- package/dist/chunks/{app-bqd4bt1a.js → state-y8z9jktj.js} +18 -18
- package/dist/chunks/{app-yb20nhc3.js → state-yb20nhc3.js} +1 -1
- package/dist/chunks/{app-ddvn7d3w.js → state-ydsespw1.js} +8 -8
- package/dist/chunks/{app-yw7gp4zv.js → state-ykqyz08a.js} +9 -9
- package/dist/chunks/{app-yr705xyq.js → state-yr705xyq.js} +1 -1
- package/dist/chunks/{app-f8ytdj8t.js → state-yt39c6df.js} +11 -11
- package/dist/chunks/{app-yvtc2x31.js → state-yvtc2x31.js} +1 -1
- package/dist/chunks/{app-8xz27cp9.js → state-yybgvvmq.js} +4 -4
- package/dist/chunks/{app-dnfz43gh.js → state-yyemckek.js} +11 -11
- package/dist/chunks/{app-z0wbgq7s.js → state-z0wbgq7s.js} +1 -1
- package/dist/chunks/state-z355x5yr.js +18 -0
- package/dist/chunks/{app-6r4kt603.js → state-z4zj0bd2.js} +7 -7
- package/dist/chunks/{app-wr3twpzt.js → state-z5adr5vh.js} +8 -8
- package/dist/chunks/{app-vtcf54kg.js → state-z63nefpx.js} +5 -5
- package/dist/chunks/{app-ze75qvmd.js → state-ze75qvmd.js} +3 -3
- package/dist/chunks/{app-fxwxq1kw.js → state-zyq2pv4t.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +150 -150
- package/dist/codemode/instructions.js +12 -12
- package/dist/codemode/tool.js +157 -157
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +113 -113
- package/dist/config/plugin/agent.js +134 -134
- package/dist/config/plugin/command.js +249 -249
- package/dist/config/plugin/compaction.js +175 -175
- package/dist/config/plugin/compatibility.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +132 -132
- package/dist/config/plugin/image.js +131 -131
- package/dist/config/plugin/instruction.js +132 -132
- package/dist/config/plugin/location-watcher.js +131 -131
- package/dist/config/plugin/mcp.js +150 -150
- package/dist/config/plugin/policy.js +131 -131
- package/dist/config/plugin/provider.js +131 -131
- package/dist/config/plugin/reference.js +133 -133
- package/dist/config/plugin/shell.js +131 -131
- package/dist/config/plugin/skill-file.js +151 -151
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +158 -158
- package/dist/config/plugin/snapshot.js +131 -131
- package/dist/config/plugin/source.js +133 -133
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +130 -130
- package/dist/config/plugin/worktree.js +133 -133
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +132 -132
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- 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/v1-migration.bun.js +105 -105
- package/dist/effect/app-node-builder.js +450 -450
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- 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 +85 -85
- package/dist/file-access.js +162 -162
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +166 -166
- 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/file-watch.js +91 -91
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +258 -258
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +134 -134
- package/dist/form.js +87 -87
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +117 -117
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +105 -105
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +441 -441
- package/dist/instruction-discovery.js +96 -96
- package/dist/instructions/builtins.js +101 -101
- package/dist/instructions/index.js +6 -6
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- package/dist/job/list.js +7 -7
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +82 -82
- package/dist/location-activity.js +190 -190
- package/dist/location-lifecycle.js +155 -155
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +438 -438
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +161 -161
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/event-errors.js +1 -1
- package/dist/mcp/index.js +151 -151
- package/dist/mcp/instructions.js +192 -192
- package/dist/mcp/oauth.js +90 -90
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +161 -161
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +105 -105
- package/dist/model-resolver.js +113 -113
- package/dist/model-retry.js +1 -1
- package/dist/model.js +114 -114
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +114 -114
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +158 -158
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +97 -97
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +148 -148
- package/dist/plugin/fork-notice.js +3 -3
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +251 -251
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +418 -418
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +111 -111
- package/dist/plugin/module.js +130 -130
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +151 -151
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +107 -107
- package/dist/plugin/provider/azure.js +134 -134
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +135 -135
- package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +149 -149
- package/dist/plugin/provider/claude-agent/instructions.js +113 -113
- package/dist/plugin/provider/claude-agent/integration.js +116 -116
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +111 -111
- package/dist/plugin/provider/claude-agent/session.js +111 -111
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
- package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
- package/dist/plugin/provider/configured.js +127 -127
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +110 -110
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +112 -112
- package/dist/plugin/provider/gitlab.js +111 -111
- package/dist/plugin/provider/google-vertex.js +128 -128
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +144 -144
- package/dist/plugin/provider/local.js +141 -141
- package/dist/plugin/provider/modal.js +109 -109
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +144 -144
- package/dist/plugin/provider/openai-context-caps.js +107 -107
- package/dist/plugin/provider/openai.js +137 -137
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +163 -163
- package/dist/plugin/provider/openrouter.js +105 -105
- package/dist/plugin/provider/poe.js +91 -91
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +105 -105
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +133 -133
- package/dist/plugin/provider/vllm.js +144 -144
- package/dist/plugin/provider/xai.js +105 -105
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +242 -242
- package/dist/plugin/sdk.js +89 -89
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +154 -154
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +430 -430
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +107 -107
- package/dist/plugin/warming.js +131 -131
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +262 -262
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +101 -101
- package/dist/provider.js +113 -113
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +102 -102
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +256 -256
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +270 -270
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +135 -135
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +177 -177
- package/dist/session/context.js +208 -208
- package/dist/session/diff.js +101 -101
- 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 +276 -276
- package/dist/session/execution/subagent-report.js +145 -145
- package/dist/session/execution.js +174 -174
- package/dist/session/generate.js +208 -208
- package/dist/session/history.js +141 -141
- package/dist/session/inbox.js +152 -152
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +91 -91
- package/dist/session/instruction-state.js +11 -9
- package/dist/session/instructions.js +146 -146
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +173 -173
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +176 -176
- package/dist/session/projector.js +148 -148
- package/dist/session/prompt.js +153 -153
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +144 -144
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +263 -263
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +115 -115
- package/dist/session/runner/publish-llm-event.js +155 -155
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +168 -168
- package/dist/session/runner/to-llm-message.js +142 -142
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +196 -196
- package/dist/session/shell.js +149 -149
- package/dist/session/skill.js +152 -152
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +147 -147
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +173 -173
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +212 -212
- package/dist/session/to-session-error.js +154 -154
- package/dist/session/transfer.js +258 -258
- package/dist/session/usage.js +1 -1
- package/dist/session.js +253 -253
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +149 -149
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +156 -156
- package/dist/skill.js +161 -161
- package/dist/snapshot.js +102 -102
- 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 +191 -191
- package/dist/tool/plugin/artifact.js +246 -246
- package/dist/tool/plugin/edit.js +172 -172
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +176 -176
- package/dist/tool/plugin/grep.js +175 -175
- package/dist/tool/plugin/image-generate.js +249 -249
- package/dist/tool/plugin/mcp-events.js +168 -168
- package/dist/tool/plugin/mcp-resource.js +172 -172
- package/dist/tool/plugin/opencode.js +168 -168
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +151 -151
- package/dist/tool/plugin/read.js +177 -177
- package/dist/tool/plugin/schedule.js +262 -262
- package/dist/tool/plugin/shell.js +251 -251
- package/dist/tool/plugin/skill.js +160 -160
- package/dist/tool/plugin/subagent.js +253 -253
- package/dist/tool/plugin/todo.js +158 -158
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +163 -163
- package/dist/types/session/instruction-state.d.ts +4 -0
- package/dist/usage-limits.js +98 -98
- package/dist/util/canonical-json.js +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +106 -106
- package/dist/v1/config/permission.js +1 -1
- 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 +105 -105
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +100 -100
- package/dist/voice.js +99 -99
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +85 -85
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +8 -8
- package/dist/chunks/app-8x060fmy.js +0 -18
- package/dist/chunks/app-s6jc137z.js +0 -26
- package/dist/chunks/app-x0z521r5.js +0 -273
- package/dist/chunks/app-zkbhzvnx.js +0 -16
- /package/dist/chunks/{app-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-1kah00gy.js → state-1kah00gy.js} +0 -0
- /package/dist/chunks/{app-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4qk9sjk2.js → state-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{app-5w3e23ze.js → state-5w3e23ze.js} +0 -0
- /package/dist/chunks/{app-6agm2x70.js → state-6agm2x70.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{app-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-7rvsyqjv.js → state-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{app-84wd9syh.js → state-84wd9syh.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9ceax7yg.js → state-9ceax7yg.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-ade8csyh.js → state-ade8csyh.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-beh6qq61.js → state-beh6qq61.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cqv5kn06.js → state-cqv5kn06.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-ean2d8b5.js → state-ean2d8b5.js} +0 -0
- /package/dist/chunks/{app-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-fkpq3x5p.js → state-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{app-hcxmzztb.js → state-hcxmzztb.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jwr30sdr.js → state-jwr30sdr.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-m18g726c.js → state-m18g726c.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-nh4v3znn.js → state-nh4v3znn.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-p71gwv9c.js → state-p71gwv9c.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-syrav9an.js → state-syrav9an.js} +0 -0
- /package/dist/chunks/{app-t03h4f5z.js → state-t03h4f5z.js} +0 -0
- /package/dist/chunks/{app-ty7weeps.js → state-ty7weeps.js} +0 -0
- /package/dist/chunks/{app-v2dnd5dt.js → state-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{app-ve7vex1e.js → state-ve7vex1e.js} +0 -0
- /package/dist/chunks/{app-vtarvj67.js → state-vtarvj67.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x4th4bpe.js → state-x4th4bpe.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → state-z9919s4g.js} +0 -0
- /package/dist/chunks/{app-zxpyjp51.js → state-zxpyjp51.js} +0 -0
- /package/dist/chunks/{app-zz5vv3aq.js → state-zz5vv3aq.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./state-e42rf4nr.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service85
|
|
7
|
+
} from "./state-jdpteqf8.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service77
|
|
11
|
+
} from "./state-rzz7nxm9.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionSchema2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-weqc7sb9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service56
|
|
17
|
+
} from "./state-5mmm03tc.js";
|
|
18
18
|
import {
|
|
19
19
|
invocation2,
|
|
20
20
|
evaluate3,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service72
|
|
22
|
+
} from "./state-kg3j2jy8.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service26
|
|
25
|
+
} from "./state-vtadsekr.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Service9
|
|
28
|
+
} from "./state-3ay4v82t.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./state-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/tool/plugin/subagent.ts
|
|
34
34
|
var exports_subagent = {};
|
|
35
35
|
__export(exports_subagent, {
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
36
|
+
Input: () => Input10,
|
|
37
|
+
Output: () => Output7,
|
|
38
|
+
Plugin: () => Plugin51,
|
|
39
39
|
SubagentTool: () => exports_subagent,
|
|
40
|
-
description: () =>
|
|
41
|
-
name: () =>
|
|
40
|
+
description: () => description7,
|
|
41
|
+
name: () => name10
|
|
42
42
|
});
|
|
43
43
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
44
44
|
import { Effect, Predicate, Schema } from "effect";
|
|
45
|
-
var
|
|
45
|
+
var name10 = "subagent";
|
|
46
46
|
var backgroundResult = (sessionID) => ({
|
|
47
47
|
sessionID,
|
|
48
48
|
status: "running",
|
|
@@ -54,7 +54,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
54
54
|
].join(`
|
|
55
55
|
`)
|
|
56
56
|
});
|
|
57
|
-
var
|
|
57
|
+
var Input10 = Schema.Struct({
|
|
58
58
|
agent: Schema.String.annotate({
|
|
59
59
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
60
60
|
}),
|
|
@@ -67,12 +67,12 @@ var Input6 = Schema.Struct({
|
|
|
67
67
|
description: "Send a follow-up to an existing subagent, running or finished. Omit to start a new one."
|
|
68
68
|
})
|
|
69
69
|
});
|
|
70
|
-
var
|
|
70
|
+
var Output7 = Schema.Struct({
|
|
71
71
|
sessionID: SessionSchema2.ID,
|
|
72
72
|
status: Schema.Literal("running"),
|
|
73
73
|
output: Schema.String
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var description7 = [
|
|
76
76
|
"Spawns an agent in a child session to work on the specified task.",
|
|
77
77
|
"Subagents always run in the background: the call returns immediately with a sessionID, and you receive a `<subagent>` message each time the child goes idle, including after later work.",
|
|
78
78
|
"Keep working on non-overlapping tasks, or briefly tell the user what you launched and end your response. Do not sleep, poll, or proactively check on the child's progress.",
|
|
@@ -80,16 +80,16 @@ var description5 = [
|
|
|
80
80
|
"Pass the returned sessionID to continue that specific child conversation. A follow-up to a running child joins its current run."
|
|
81
81
|
].join(`
|
|
82
82
|
`);
|
|
83
|
-
var
|
|
83
|
+
var Plugin51 = {
|
|
84
84
|
id: "opencode.tool.subagent",
|
|
85
85
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
86
|
-
const sessions = yield*
|
|
87
|
-
const jobs = yield*
|
|
88
|
-
const agents = yield*
|
|
89
|
-
const config = yield*
|
|
90
|
-
const permission = yield*
|
|
91
|
-
const models = yield*
|
|
92
|
-
const subagents = yield*
|
|
86
|
+
const sessions = yield* Service26;
|
|
87
|
+
const jobs = yield* Service56;
|
|
88
|
+
const agents = yield* Service80;
|
|
89
|
+
const config = yield* Service77;
|
|
90
|
+
const permission = yield* Service72;
|
|
91
|
+
const models = yield* Service85;
|
|
92
|
+
const subagents = yield* Service9;
|
|
93
93
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
94
94
|
const ref = yield* Effect.try({
|
|
95
95
|
try: () => Ref3.parse(input),
|
|
@@ -111,11 +111,11 @@ var Plugin44 = {
|
|
|
111
111
|
return ref;
|
|
112
112
|
});
|
|
113
113
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
114
|
-
name:
|
|
114
|
+
name: name10,
|
|
115
115
|
options: { codemode: false },
|
|
116
|
-
description:
|
|
117
|
-
input:
|
|
118
|
-
output:
|
|
116
|
+
description: description7,
|
|
117
|
+
input: Input10,
|
|
118
|
+
output: Output7,
|
|
119
119
|
execute: (input, context) => Effect.gen(function* () {
|
|
120
120
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
121
121
|
let current = parent;
|
|
@@ -135,7 +135,7 @@ var Plugin44 = {
|
|
|
135
135
|
if (agent.mode === "primary")
|
|
136
136
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
137
137
|
yield* permission.assert({
|
|
138
|
-
action:
|
|
138
|
+
action: name10,
|
|
139
139
|
resources: [agent.id],
|
|
140
140
|
save: [agent.id],
|
|
141
141
|
...invocation2(context)
|
|
@@ -185,7 +185,7 @@ var Plugin44 = {
|
|
|
185
185
|
})))
|
|
186
186
|
})).pipe(Effect.orDie);
|
|
187
187
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
188
|
-
if (event.tool !==
|
|
188
|
+
if (event.tool !== name10 || !Predicate.isObject(event.input))
|
|
189
189
|
return;
|
|
190
190
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
191
191
|
return;
|
|
@@ -197,13 +197,13 @@ var Plugin44 = {
|
|
|
197
197
|
event.input = input;
|
|
198
198
|
}));
|
|
199
199
|
const hook = (event) => Effect.gen(function* () {
|
|
200
|
-
const tool = event.tools[
|
|
200
|
+
const tool = event.tools[name10];
|
|
201
201
|
if (!tool)
|
|
202
202
|
return;
|
|
203
203
|
const selected = yield* agents.resolve(event.agent);
|
|
204
204
|
if (!selected)
|
|
205
205
|
return;
|
|
206
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(
|
|
206
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name10, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
207
207
|
if (available.length === 0)
|
|
208
208
|
return;
|
|
209
209
|
tool.description = [
|
|
@@ -220,4 +220,4 @@ var Plugin44 = {
|
|
|
220
220
|
})
|
|
221
221
|
};
|
|
222
222
|
|
|
223
|
-
export {
|
|
223
|
+
export { name10, Input10, Output7, description7, Plugin51, exports_subagent };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toolFailure2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-7rvsyqjv.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service85
|
|
7
|
+
} from "./state-jdpteqf8.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service77
|
|
10
|
+
} from "./state-rzz7nxm9.js";
|
|
11
11
|
import {
|
|
12
12
|
observe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-tvtps2q9.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service83
|
|
16
|
+
} from "./state-8w7sx7k6.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionMessage2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-gftt206x.js";
|
|
20
20
|
import {
|
|
21
21
|
invocation2,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service72
|
|
23
|
+
} from "./state-kg3j2jy8.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service71
|
|
26
|
+
} from "./state-81qpdbwx.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service18
|
|
29
|
+
} from "./state-6j5y94xc.js";
|
|
30
30
|
import {
|
|
31
31
|
text2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./state-8b3vzgkx.js";
|
|
33
33
|
import {
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
34
|
+
Service56
|
|
35
|
+
} from "./state-5mmm03tc.js";
|
|
36
36
|
import {
|
|
37
37
|
detect2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./state-4pyp9zr9.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service26
|
|
41
|
+
} from "./state-vtadsekr.js";
|
|
42
42
|
import {
|
|
43
43
|
collectBoundedResponseBody2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./state-3v8g72cx.js";
|
|
45
45
|
import {
|
|
46
46
|
__export
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./state-9rqn6x4v.js";
|
|
48
48
|
|
|
49
49
|
// src/tool/plugin/image-generate.ts
|
|
50
50
|
var exports_image_generate = {};
|
|
@@ -53,7 +53,7 @@ __export(exports_image_generate, {
|
|
|
53
53
|
Input: () => Input2,
|
|
54
54
|
MAX_INPUT_BYTES: () => MAX_INPUT_BYTES2,
|
|
55
55
|
Output: () => Output2,
|
|
56
|
-
Plugin: () =>
|
|
56
|
+
Plugin: () => Plugin38,
|
|
57
57
|
defaultModel: () => defaultModel2,
|
|
58
58
|
description: () => description3,
|
|
59
59
|
name: () => name2
|
|
@@ -103,20 +103,20 @@ var Output2 = Schema.Struct({
|
|
|
103
103
|
path: Schema.String.annotate({ description: "Where the image is saved, without its extension" }),
|
|
104
104
|
model: Schema.String.annotate({ description: "providerID/modelID" })
|
|
105
105
|
});
|
|
106
|
-
var
|
|
106
|
+
var Plugin38 = {
|
|
107
107
|
id: "opencode.tool.image-generate",
|
|
108
108
|
effect: Effect.fn("ImageGenerateTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const environment = yield*
|
|
111
|
-
const generate = yield*
|
|
109
|
+
const access = yield* Service71;
|
|
110
|
+
const environment = yield* Service83;
|
|
111
|
+
const generate = yield* Service18;
|
|
112
112
|
const global = yield* Global.Service;
|
|
113
113
|
const http = yield* HttpClient.HttpClient;
|
|
114
|
-
const config = yield*
|
|
115
|
-
const jobs = yield*
|
|
114
|
+
const config = yield* Service77;
|
|
115
|
+
const jobs = yield* Service56;
|
|
116
116
|
const scope = yield* Scope.Scope;
|
|
117
|
-
const sessions = yield*
|
|
118
|
-
const models = yield*
|
|
119
|
-
const permission = yield*
|
|
117
|
+
const sessions = yield* Service26;
|
|
118
|
+
const models = yield* Service85;
|
|
119
|
+
const permission = yield* Service72;
|
|
120
120
|
const resolveModel = Effect.fn("ImageGenerateTool.resolveModel")(function* (input, sessionID, images) {
|
|
121
121
|
const available = yield* models.available(["image"]);
|
|
122
122
|
if (!input) {
|
|
@@ -326,4 +326,4 @@ function acceptsImages(model) {
|
|
|
326
326
|
return model.capabilities.input.some((item) => item.startsWith("image"));
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export { name2, MAX_INPUT_BYTES2, description3, Input2, Output2,
|
|
329
|
+
export { name2, MAX_INPUT_BYTES2, description3, Input2, Output2, Plugin38, defaultModel2, exports_image_generate };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service93,
|
|
3
|
+
node95
|
|
4
|
+
} from "./state-97jbfc4v.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref5,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service89,
|
|
8
|
+
node91
|
|
9
|
+
} from "./state-n0qwh0ed.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service83,
|
|
12
|
+
node84
|
|
13
|
+
} from "./state-8w7sx7k6.js";
|
|
14
14
|
import {
|
|
15
15
|
cleanup3
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-tczq8hjw.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
Service48,
|
|
19
19
|
args2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
node51
|
|
21
|
+
} from "./state-ev9rrvkp.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
23
|
+
Service47,
|
|
24
|
+
node50,
|
|
25
|
+
available4
|
|
26
|
+
} from "./state-kt9t7ezs.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service76,
|
|
29
|
+
node77
|
|
30
|
+
} from "./state-eam2557n.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service42,
|
|
33
|
+
node45
|
|
34
|
+
} from "./state-12a87htm.js";
|
|
35
35
|
import {
|
|
36
36
|
SessionSchema2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./state-weqc7sb9.js";
|
|
38
38
|
import {
|
|
39
39
|
latest2,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
40
|
+
Service77,
|
|
41
|
+
node78
|
|
42
|
+
} from "./state-rzz7nxm9.js";
|
|
43
43
|
import {
|
|
44
44
|
MAX_LINES2,
|
|
45
45
|
MAX_BYTES2
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./state-ph1k6042.js";
|
|
47
47
|
import {
|
|
48
48
|
__export
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./state-9rqn6x4v.js";
|
|
50
50
|
|
|
51
51
|
// src/shell.ts
|
|
52
52
|
var exports_shell4 = {};
|
|
@@ -55,12 +55,12 @@ __export(exports_shell4, {
|
|
|
55
55
|
Daemon: () => Daemon2,
|
|
56
56
|
NotFoundError: () => NotFoundError6,
|
|
57
57
|
RETENTION: () => RETENTION2,
|
|
58
|
-
Service: () =>
|
|
58
|
+
Service: () => Service41,
|
|
59
59
|
Shell: () => exports_shell4,
|
|
60
60
|
ToolCall: () => ToolCall2,
|
|
61
61
|
cleanup: () => cleanup2,
|
|
62
62
|
daemonNode: () => daemonNode2,
|
|
63
|
-
node: () =>
|
|
63
|
+
node: () => node44
|
|
64
64
|
});
|
|
65
65
|
import path from "path";
|
|
66
66
|
import {
|
|
@@ -114,12 +114,12 @@ var Stored = Schema.Struct({
|
|
|
114
114
|
});
|
|
115
115
|
var decodeStored = Schema.decodeUnknownOption(Stored);
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service41 extends Context.Service()("@opencode/Shell") {
|
|
118
118
|
}
|
|
119
119
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
120
120
|
const fs = yield* FSUtil.Service;
|
|
121
121
|
const global = yield* Global.Service;
|
|
122
|
-
const pty = yield*
|
|
122
|
+
const pty = yield* Service47;
|
|
123
123
|
const directory = path.join(global.data, DIRECTORY2);
|
|
124
124
|
const projects = yield* fs.readDirectoryEntries(directory).pipe(Effect.map((entries) => entries.filter((entry) => entry.type === "Directory")), Effect.orElseSucceed(() => []));
|
|
125
125
|
const files = yield* Effect.forEach(projects, (project) => fs.readDirectoryEntries(path.join(directory, project.name)).pipe(Effect.map((entries) => entries.flatMap((entry) => entry.type === "File" && /^sh_[0-9a-f]{12}.*\.out$/.test(entry.name) ? [path.join(directory, project.name, entry.name)] : [])), Effect.orElseSucceed(() => [])), { concurrency: 8 });
|
|
@@ -139,14 +139,14 @@ var cleanupLayer = Layer.effectDiscard(cleanup2().pipe(Effect.repeat(Schedule.sp
|
|
|
139
139
|
var cleanupNode = makeGlobalNode({
|
|
140
140
|
name: "shell-output-cleanup",
|
|
141
141
|
layer: cleanupLayer,
|
|
142
|
-
deps: [FSUtil.node, Global.node,
|
|
142
|
+
deps: [FSUtil.node, Global.node, node50]
|
|
143
143
|
});
|
|
144
144
|
|
|
145
145
|
class Daemon2 extends Context.Service()("@opencode/Shell/Daemon") {
|
|
146
146
|
}
|
|
147
147
|
var daemonLayer = Layer.effect(Daemon2, Effect.gen(function* () {
|
|
148
|
-
const bus = yield*
|
|
149
|
-
const pty = yield*
|
|
148
|
+
const bus = yield* Service93;
|
|
149
|
+
const pty = yield* Service47;
|
|
150
150
|
const scope = yield* Effect.scope;
|
|
151
151
|
const context = yield* Effect.context();
|
|
152
152
|
const global = yield* Global.Service;
|
|
@@ -381,23 +381,23 @@ var daemonLayer = Layer.effect(Daemon2, Effect.gen(function* () {
|
|
|
381
381
|
var daemonNode2 = makeGlobalNode({
|
|
382
382
|
service: Daemon2,
|
|
383
383
|
layer: daemonLayer,
|
|
384
|
-
deps: [
|
|
384
|
+
deps: [node95, Global.node, node50]
|
|
385
385
|
});
|
|
386
|
-
var layer = () => Layer.effect(
|
|
387
|
-
const bus = yield*
|
|
388
|
-
const location = yield*
|
|
386
|
+
var layer = () => Layer.effect(Service41, Effect.gen(function* () {
|
|
387
|
+
const bus = yield* Service93;
|
|
388
|
+
const location = yield* Service89;
|
|
389
389
|
const global = yield* Global.Service;
|
|
390
|
-
const shell = yield*
|
|
391
|
-
const environment = yield*
|
|
392
|
-
const hooks = yield*
|
|
393
|
-
const environments = yield*
|
|
394
|
-
const config = yield*
|
|
390
|
+
const shell = yield* Service48;
|
|
391
|
+
const environment = yield* Service83;
|
|
392
|
+
const hooks = yield* Service76;
|
|
393
|
+
const environments = yield* Service42;
|
|
394
|
+
const config = yield* Service77;
|
|
395
395
|
const daemon = yield* Daemon2;
|
|
396
396
|
const context = yield* Effect.context();
|
|
397
397
|
const runFork = Effect.runForkWith(context);
|
|
398
398
|
const commands = new Map;
|
|
399
399
|
const exitOrder = [];
|
|
400
|
-
const runs = location.workspaceID === undefined &&
|
|
400
|
+
const runs = location.workspaceID === undefined && available4 ? yield* daemon.at(location) : undefined;
|
|
401
401
|
const outputDir = path.join(global.data, DIRECTORY2, location.project.id);
|
|
402
402
|
const { mkdir, unlink, stat } = yield* Effect.promise(() => import("fs/promises"));
|
|
403
403
|
const { createWriteStream, createReadStream } = yield* Effect.promise(() => import("fs"));
|
|
@@ -757,7 +757,7 @@ var layer = () => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
757
757
|
const command = yield* Deferred.await(ready);
|
|
758
758
|
return command.info;
|
|
759
759
|
});
|
|
760
|
-
return
|
|
760
|
+
return Service41.of({
|
|
761
761
|
create,
|
|
762
762
|
list,
|
|
763
763
|
get,
|
|
@@ -799,21 +799,21 @@ function formatSize(bytes) {
|
|
|
799
799
|
const kb = bytes / 1024;
|
|
800
800
|
return kb > 1024 ? `${(kb / 1024).toFixed(1)} MB` : `${Math.round(kb)} KB`;
|
|
801
801
|
}
|
|
802
|
-
var
|
|
803
|
-
service:
|
|
802
|
+
var node44 = makeLocationNode({
|
|
803
|
+
service: Service41,
|
|
804
804
|
layer: layer(),
|
|
805
805
|
deps: [
|
|
806
|
-
|
|
807
|
-
node92,
|
|
808
|
-
Global.node,
|
|
806
|
+
node95,
|
|
809
807
|
node91,
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
808
|
+
Global.node,
|
|
809
|
+
node51,
|
|
810
|
+
node84,
|
|
811
|
+
node77,
|
|
812
|
+
node45,
|
|
813
|
+
node78,
|
|
814
814
|
daemonNode2,
|
|
815
815
|
cleanupNode
|
|
816
816
|
]
|
|
817
817
|
});
|
|
818
818
|
|
|
819
|
-
export { NotFoundError6, RETENTION2, DIRECTORY2, ToolCall2,
|
|
819
|
+
export { NotFoundError6, RETENTION2, DIRECTORY2, ToolCall2, Service41, cleanup2, Daemon2, daemonNode2, node44, exports_shell4 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service93,
|
|
3
|
+
node95
|
|
4
|
+
} from "./state-97jbfc4v.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./state-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service89,
|
|
11
|
+
node91
|
|
12
|
+
} from "./state-n0qwh0ed.js";
|
|
13
13
|
import {
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2,
|
|
16
16
|
rewrite2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./state-m90tx7mw.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID17,
|
|
20
20
|
builtinPackages2,
|
|
21
21
|
modelSettings2,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
Service86,
|
|
23
|
+
node88,
|
|
24
|
+
Event17
|
|
25
|
+
} from "./state-jw31swa9.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./state-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/model.ts
|
|
31
31
|
var exports_model2 = {};
|
|
@@ -33,19 +33,19 @@ __export(exports_model2, {
|
|
|
33
33
|
Capabilities: () => Capabilities2,
|
|
34
34
|
Compatibility: () => Compatibility2,
|
|
35
35
|
Cost: () => Cost2,
|
|
36
|
-
Event: () =>
|
|
36
|
+
Event: () => Event16,
|
|
37
37
|
Family: () => Family2,
|
|
38
|
-
ID: () =>
|
|
39
|
-
Info: () =>
|
|
38
|
+
ID: () => ID16,
|
|
39
|
+
Info: () => Info24,
|
|
40
40
|
Model: () => exports_model2,
|
|
41
41
|
ReasoningField: () => ReasoningField2,
|
|
42
42
|
Ref: () => Ref3,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service85,
|
|
44
44
|
Type: () => Type2,
|
|
45
45
|
VariantID: () => VariantID2,
|
|
46
46
|
compatibility: () => compatibility2,
|
|
47
47
|
mergeCapabilities: () => mergeCapabilities2,
|
|
48
|
-
node: () =>
|
|
48
|
+
node: () => node87,
|
|
49
49
|
parse: () => parse5,
|
|
50
50
|
supportsText: () => supportsText2
|
|
51
51
|
});
|
|
@@ -53,8 +53,8 @@ import { Model } from "@opencode/schema/model";
|
|
|
53
53
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
54
54
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
55
55
|
import { freeze } from "immer";
|
|
56
|
-
import { Event as
|
|
57
|
-
var
|
|
56
|
+
import { Event as Event16 } from "@opencode/schema/model";
|
|
57
|
+
var ID16 = Model.ID;
|
|
58
58
|
var VariantID2 = Model.VariantID;
|
|
59
59
|
var Family2 = Model.Family;
|
|
60
60
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -73,14 +73,14 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
73
73
|
var Cost2 = Model.Cost;
|
|
74
74
|
var Type2 = Model.Type;
|
|
75
75
|
var Ref3 = Model.Ref;
|
|
76
|
-
var
|
|
76
|
+
var Info24 = Model.Info;
|
|
77
77
|
|
|
78
|
-
class
|
|
78
|
+
class Service85 extends Context.Service()("@opencode/Model") {
|
|
79
79
|
}
|
|
80
|
-
var layer = Layer.effect(
|
|
81
|
-
const providers = yield*
|
|
82
|
-
const bus = yield*
|
|
83
|
-
const location = yield*
|
|
80
|
+
var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
81
|
+
const providers = yield* Service86;
|
|
82
|
+
const bus = yield* Service93;
|
|
83
|
+
const location = yield* Service89;
|
|
84
84
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
85
85
|
let input;
|
|
86
86
|
const state = create4({
|
|
@@ -126,7 +126,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
126
126
|
const models = writable(providerID);
|
|
127
127
|
if (!models)
|
|
128
128
|
return;
|
|
129
|
-
const model = draft(providerID, modelID) ??
|
|
129
|
+
const model = draft(providerID, modelID) ?? Info24.default(providerID, modelID);
|
|
130
130
|
update(model);
|
|
131
131
|
model.id = modelID;
|
|
132
132
|
model.providerID = providerID;
|
|
@@ -196,7 +196,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
196
196
|
];
|
|
197
197
|
}));
|
|
198
198
|
if (disableFree)
|
|
199
|
-
for (const providerID of [
|
|
199
|
+
for (const providerID of [ID17.opencode, ID17.make("opencode-go")])
|
|
200
200
|
byProvider.get(providerID)?.forEach((model, id, models) => {
|
|
201
201
|
if (!model.cost.some((cost) => cost.input > 0))
|
|
202
202
|
models.delete(id);
|
|
@@ -232,8 +232,8 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
232
232
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
233
233
|
});
|
|
234
234
|
});
|
|
235
|
-
yield* bus.subscribe(
|
|
236
|
-
return
|
|
235
|
+
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
236
|
+
return Service85.of({
|
|
237
237
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
238
238
|
reload,
|
|
239
239
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -252,7 +252,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
252
252
|
})
|
|
253
253
|
});
|
|
254
254
|
}));
|
|
255
|
-
var
|
|
255
|
+
var node87 = makeLocationNode({ service: Service85, layer, deps: [node88, node95, node91] });
|
|
256
256
|
var PREFERRED_FREE = [
|
|
257
257
|
"big-pickle",
|
|
258
258
|
"deepseek-v4.1-flash-free",
|
|
@@ -260,7 +260,7 @@ var PREFERRED_FREE = [
|
|
|
260
260
|
"muse-spark-1.3-contributor-free"
|
|
261
261
|
];
|
|
262
262
|
function preferFree(models) {
|
|
263
|
-
const freeOnly = models.every((model) => model.providerID ===
|
|
263
|
+
const freeOnly = models.every((model) => model.providerID === ID17.opencode && !model.cost.some((cost) => cost.input > 0));
|
|
264
264
|
if (!freeOnly)
|
|
265
265
|
return models;
|
|
266
266
|
const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
|
|
@@ -279,9 +279,9 @@ function compatibility2(input) {
|
|
|
279
279
|
function parse5(input) {
|
|
280
280
|
const index = input.indexOf("/");
|
|
281
281
|
return {
|
|
282
|
-
providerID:
|
|
283
|
-
modelID:
|
|
282
|
+
providerID: ID17.make(index === -1 ? input : input.slice(0, index)),
|
|
283
|
+
modelID: ID16.make(index === -1 ? "" : input.slice(index + 1))
|
|
284
284
|
};
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
-
export {
|
|
287
|
+
export { ID16, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Type2, Ref3, Info24, Service85, node87, supportsText2, compatibility2, parse5, exports_model2, Event16 };
|