@opencode/core 0.0.0-dev-21845 → 0.0.0-dev-21852
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 +84 -83
- package/dist/aisdk-native.js +95 -94
- package/dist/aisdk.js +101 -100
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -73
- package/dist/chunks/{model-7yzsmpy0.js → integration-020agrc6.js} +15 -15
- package/dist/chunks/{model-qyq8h28g.js → integration-033a0jkt.js} +3 -3
- package/dist/chunks/{model-034tev2y.js → integration-034tev2y.js} +2 -2
- package/dist/chunks/{model-7fxaydp2.js → integration-03efvwc7.js} +12 -12
- package/dist/chunks/{model-06w9ffrv.js → integration-06w9ffrv.js} +1 -1
- package/dist/chunks/{model-f25016qf.js → integration-0w838cmy.js} +7 -7
- package/dist/chunks/{model-11hfp36g.js → integration-11hfp36g.js} +1 -1
- package/dist/chunks/{model-t0891ggs.js → integration-17tscvp9.js} +7 -7
- package/dist/chunks/{model-61nbvadz.js → integration-1ar2r8ht.js} +23 -23
- package/dist/chunks/{model-1ep2p91f.js → integration-1ep2p91f.js} +2 -2
- package/dist/chunks/{model-t5k7yfgh.js → integration-1n7cfpf3.js} +4 -4
- package/dist/chunks/{model-5gpknzzs.js → integration-1pqxvwwm.js} +7 -7
- package/dist/chunks/{model-1x2knyw4.js → integration-1x2knyw4.js} +1 -1
- package/dist/chunks/{model-1tmx6d4w.js → integration-1xcpx9pg.js} +13 -13
- package/dist/chunks/{model-egfzyrh6.js → integration-211qv987.js} +9 -9
- package/dist/chunks/{model-mk552aj1.js → integration-27vjm38j.js} +18 -18
- package/dist/chunks/{model-6zffjc3y.js → integration-29ceven5.js} +20 -20
- package/dist/chunks/{model-wntksck6.js → integration-29fm5e7s.js} +26 -26
- package/dist/chunks/{model-pkyv6v7h.js → integration-2beny6pf.js} +24 -0
- package/dist/chunks/{model-cqsckrq7.js → integration-2bw432fj.js} +9 -9
- package/dist/chunks/{model-yg7sgxt8.js → integration-2p76qs42.js} +11 -11
- package/dist/chunks/{model-dmzdysgz.js → integration-2r67ppq4.js} +4 -4
- package/dist/chunks/{model-zr1qzx10.js → integration-2xbqyp7d.js} +23 -23
- package/dist/chunks/{model-2z1j29yd.js → integration-2z1j29yd.js} +1 -1
- package/dist/chunks/{model-6jrjvs1q.js → integration-30147ds3.js} +6 -6
- package/dist/chunks/{model-eqh43b5v.js → integration-32s59e8p.js} +9 -9
- package/dist/chunks/{model-997kbpmn.js → integration-38r8bs6z.js} +83 -83
- package/dist/chunks/{model-n9j61ap5.js → integration-396yyrq3.js} +8 -8
- package/dist/chunks/{model-5w7qse6t.js → integration-39wcs8g0.js} +6 -6
- package/dist/chunks/{model-fjjq356h.js → integration-3gef6q7b.js} +20 -20
- package/dist/chunks/{model-3hepkmqq.js → integration-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-a4zd03bm.js → integration-3kns8f35.js} +33 -33
- package/dist/chunks/{model-ny7dq850.js → integration-3qn6bxmp.js} +14 -14
- package/dist/chunks/{model-g55x0rgz.js → integration-3qq49eqf.js} +33 -33
- package/dist/chunks/{model-hcfepwe9.js → integration-3xym5v1x.js} +20 -20
- package/dist/chunks/{model-w2eysc6j.js → integration-40za9wsf.js} +9 -9
- package/dist/chunks/{model-eq9v1gwe.js → integration-47c5fhww.js} +15 -15
- package/dist/chunks/{model-5c2jv3bs.js → integration-47pdn9hb.js} +24 -24
- package/dist/chunks/{model-40vwnjgs.js → integration-4964swp9.js} +26 -26
- package/dist/chunks/integration-4fv6fqf0.js +107 -0
- package/dist/chunks/{model-t6sg7dcf.js → integration-4fxp20j0.js} +9 -9
- package/dist/chunks/{model-yb10ee6p.js → integration-4mw9dk18.js} +42 -42
- package/dist/chunks/{model-sjhm24t9.js → integration-4mzbvgrb.js} +13 -13
- package/dist/chunks/{model-4v008n1t.js → integration-4v008n1t.js} +1 -1
- package/dist/chunks/{model-dkb543ed.js → integration-4vx5mm1q.js} +14 -14
- package/dist/chunks/{model-0tpkjg9c.js → integration-4wqc8mqe.js} +5 -5
- package/dist/chunks/{model-4xvmh7wp.js → integration-4xvmh7wp.js} +3 -3
- package/dist/chunks/{model-bcaznchz.js → integration-4y9xaxd1.js} +24 -24
- package/dist/chunks/{model-e9fqtmvn.js → integration-4zzr4cvj.js} +4 -4
- package/dist/chunks/{model-qsee9sfb.js → integration-5epte933.js} +2 -2
- package/dist/chunks/{model-5m9w47nd.js → integration-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-0avazfzn.js → integration-5mxq4ta4.js} +9 -9
- package/dist/chunks/{model-7pap5qv0.js → integration-5sdvqbc5.js} +10 -10
- package/dist/chunks/{model-z007v0dr.js → integration-5ve839fw.js} +18 -18
- package/dist/chunks/{model-zzdv5d93.js → integration-61ennm6n.js} +4 -4
- package/dist/chunks/{model-frh258xe.js → integration-6be7m0jd.js} +4 -4
- package/dist/chunks/{model-6esdw8yj.js → integration-6esdw8yj.js} +1 -1
- package/dist/chunks/{model-6pjqjmy2.js → integration-6pjqjmy2.js} +1 -1
- package/dist/chunks/{model-nwd6n5xv.js → integration-6pv1cy6c.js} +2 -2
- package/dist/chunks/{model-f55ft9wv.js → integration-75kye42g.js} +1 -1
- package/dist/chunks/{model-76cb1hcw.js → integration-76cb1hcw.js} +1 -1
- package/dist/chunks/{model-pjwfm23k.js → integration-7at1q1sz.js} +11 -11
- package/dist/chunks/{model-7bmhse3q.js → integration-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-7w2ypzdf.js → integration-7w2ypzdf.js} +1 -1
- package/dist/chunks/{model-fkhwkvg4.js → integration-8424f1y8.js} +10 -10
- package/dist/chunks/{model-06s4d948.js → integration-84nrg8k2.js} +31 -31
- package/dist/chunks/{model-k2jarxn6.js → integration-84vzjq21.js} +27 -27
- package/dist/chunks/{model-vj9d8dr6.js → integration-85k4gjhb.js} +32 -32
- package/dist/chunks/{model-esvjtfcf.js → integration-8e8b3c1h.js} +32 -32
- package/dist/chunks/{model-6d6xnsqa.js → integration-8k8s1td8.js} +5 -5
- package/dist/chunks/{model-cjhqq07p.js → integration-8qww226p.js} +4 -4
- package/dist/chunks/{model-r2z5h2ge.js → integration-8qwwe1g8.js} +10 -10
- package/dist/chunks/{model-h06hrdvc.js → integration-8r1p9dw6.js} +22 -22
- package/dist/chunks/{model-jjg5yz1h.js → integration-8s7zz8t5.js} +9 -9
- package/dist/chunks/{model-9eegv743.js → integration-8t0ndcz4.js} +19 -19
- package/dist/chunks/{model-8wc2fpae.js → integration-8wc2fpae.js} +2 -2
- package/dist/chunks/{model-8wtp7s3z.js → integration-8wtp7s3z.js} +1 -1
- package/dist/chunks/{model-91rj84md.js → integration-91rj84md.js} +1 -1
- package/dist/chunks/{model-ej1k89v7.js → integration-937d7k2b.js} +16 -16
- package/dist/chunks/integration-95r0pv34.js +26 -0
- package/dist/chunks/{model-yfxbc0kt.js → integration-979273pa.js} +9 -9
- package/dist/chunks/{model-awgvhhmb.js → integration-99wwqk9s.js} +17 -17
- package/dist/chunks/{model-9cx9sm2q.js → integration-9cx9sm2q.js} +1 -1
- package/dist/chunks/{model-v3rpj7pd.js → integration-9jxgthx4.js} +3 -3
- package/dist/chunks/{model-rzx8gj4c.js → integration-9n1r2pw9.js} +46 -46
- package/dist/chunks/{model-v0t96s7a.js → integration-9q8g9sv8.js} +4 -4
- package/dist/chunks/{model-veetryz8.js → integration-9w8sfqp5.js} +14 -14
- package/dist/chunks/{model-ms4pe9g0.js → integration-9wfm676k.js} +13 -13
- package/dist/chunks/{model-71qqd1mm.js → integration-9xn0wmwg.js} +18 -18
- package/dist/chunks/{model-e77fbdv5.js → integration-9zfvqddt.js} +13 -13
- package/dist/chunks/{model-s30kv3sw.js → integration-9zjt3hbt.js} +12 -12
- package/dist/chunks/{model-8z0derbe.js → integration-ad07szsv.js} +19 -19
- package/dist/chunks/{model-vjnr9cnd.js → integration-aekg9zan.js} +17 -17
- package/dist/chunks/{model-17n3exwy.js → integration-ag7gfhkv.js} +2 -2
- package/dist/chunks/{model-sy6e38w3.js → integration-aqnbmf10.js} +27 -27
- package/dist/chunks/{model-ayjs7tqn.js → integration-ayjs7tqn.js} +2 -2
- package/dist/chunks/{model-b0mv4wxm.js → integration-b0mv4wxm.js} +2 -2
- package/dist/chunks/{model-b1pn0vxn.js → integration-b1pn0vxn.js} +1 -1
- package/dist/chunks/{model-78hmycys.js → integration-b28mnwwt.js} +6 -6
- package/dist/chunks/{model-yvg25zy8.js → integration-b2zhd2n2.js} +3 -3
- package/dist/chunks/{model-6gqrrdq1.js → integration-b48f36at.js} +4 -4
- package/dist/chunks/{model-t2k6bxxg.js → integration-b54vbpz4.js} +19 -19
- package/dist/chunks/{model-g95jm4cv.js → integration-b6sd905c.js} +8 -8
- package/dist/chunks/{model-b6vsg801.js → integration-b6vsg801.js} +2 -2
- package/dist/chunks/{model-rbjssvma.js → integration-bp6aks6t.js} +28 -28
- package/dist/chunks/{model-bstexjd6.js → integration-bstexjd6.js} +1 -1
- package/dist/chunks/{model-a9fwsx2h.js → integration-c41gmgtm.js} +13 -13
- package/dist/chunks/{model-w9w8mt4n.js → integration-c5kjsz6q.js} +4 -4
- package/dist/chunks/{model-kmy9pf2x.js → integration-c6syzxg0.js} +23 -23
- package/dist/chunks/{model-zhetkrg0.js → integration-c9rahjjk.js} +40 -40
- package/dist/chunks/{model-2a76c6ad.js → integration-cc885ppd.js} +14 -14
- package/dist/chunks/{model-6ypx34xn.js → integration-cf90gy8w.js} +11 -11
- package/dist/chunks/{model-ns70a8r5.js → integration-cmwcv0tb.js} +12 -12
- package/dist/chunks/{model-vh56skz6.js → integration-cp67tm0g.js} +5 -5
- package/dist/chunks/{model-7ybvcghj.js → integration-czar3pqy.js} +43 -43
- package/dist/chunks/{model-d4v9tmah.js → integration-d4v9tmah.js} +2 -2
- package/dist/chunks/{model-jqjcc2y2.js → integration-dah0ztmn.js} +8 -8
- package/dist/chunks/{model-fv7b5yex.js → integration-djph8jbj.js} +57 -53
- package/dist/chunks/{model-nbfdmdkr.js → integration-dtar1tyk.js} +15 -15
- package/dist/chunks/{model-wh0fenxb.js → integration-dz3b4k9w.js} +34 -34
- package/dist/chunks/{model-vx39scks.js → integration-e6z5m6ve.js} +11 -11
- package/dist/chunks/{model-e834z07m.js → integration-e834z07m.js} +1 -1
- package/dist/chunks/{model-qfan4vrq.js → integration-ebpnb18j.js} +18 -18
- package/dist/chunks/{model-jmg5mq7t.js → integration-eceqz06v.js} +9 -9
- package/dist/chunks/{model-kfbetxq5.js → integration-edg2rgbp.js} +19 -19
- package/dist/chunks/{model-4cxp2d2n.js → integration-eeqrcvag.js} +24 -24
- package/dist/chunks/{model-v9v4gv6c.js → integration-eghc032h.js} +22 -22
- package/dist/chunks/{model-t5rrrqvg.js → integration-exkwrvdn.js} +13 -13
- package/dist/chunks/{model-w3mjsd54.js → integration-f04qf59f.js} +11 -11
- package/dist/chunks/{model-j8gx4rjz.js → integration-fctw3a38.js} +4 -4
- package/dist/chunks/{model-fffv3p7h.js → integration-fffv3p7h.js} +1 -1
- package/dist/chunks/integration-fkpq3x5p.js +36 -0
- package/dist/chunks/{model-8vy26t7y.js → integration-fpk0xpmh.js} +21 -21
- package/dist/chunks/{model-mj8fxm36.js → integration-fsd55tzk.js} +5 -5
- package/dist/chunks/{model-gmnsm0xm.js → integration-fz11hjpn.js} +5 -5
- package/dist/chunks/{model-g5h9c0rr.js → integration-g5h9c0rr.js} +2 -2
- package/dist/chunks/{model-wd9dar1k.js → integration-g9ybbf9c.js} +3 -3
- package/dist/chunks/{model-5067z2t4.js → integration-gag5dgxb.js} +1 -1
- package/dist/chunks/{model-4v99rvbj.js → integration-gd6hkkvy.js} +41 -41
- package/dist/chunks/{model-1npkc24w.js → integration-gjtbspeb.js} +12 -12
- package/dist/chunks/{model-evbwgfv9.js → integration-gve8fg9f.js} +5 -5
- package/dist/chunks/{model-dw227c1f.js → integration-gz8vwskn.js} +8 -8
- package/dist/chunks/{model-k71m6rcm.js → integration-h2wze9fg.js} +11 -11
- package/dist/chunks/{model-pre1sqds.js → integration-h3b857xk.js} +4 -4
- package/dist/chunks/{model-pmy52rqq.js → integration-h5ejxf76.js} +8 -8
- package/dist/chunks/{model-kdc9scmy.js → integration-h5g0v9q0.js} +32 -32
- package/dist/chunks/{model-2kx1ja8a.js → integration-h7nm3qzm.js} +7 -7
- package/dist/chunks/{model-2rpkyssh.js → integration-h84nmtd9.js} +12 -12
- package/dist/chunks/{model-mrf29jxn.js → integration-hdfes35a.js} +16 -16
- package/dist/chunks/{model-y22f06tx.js → integration-hdfrs5mg.js} +9 -9
- package/dist/chunks/{model-5kx0spx3.js → integration-hj833na9.js} +15 -15
- package/dist/chunks/{model-013tddxk.js → integration-hjscz5zc.js} +23 -23
- package/dist/chunks/{model-dn2d8szr.js → integration-hqqctcky.js} +15 -15
- package/dist/chunks/{model-81a9zpe2.js → integration-j0tgfc8g.js} +8 -8
- package/dist/chunks/{model-j113cymg.js → integration-j113cymg.js} +1 -1
- package/dist/chunks/{model-z7mja6z7.js → integration-j4ha54se.js} +15 -15
- package/dist/chunks/{model-gcjdgkn2.js → integration-jcqm84fr.js} +9 -9
- package/dist/chunks/{model-k03zy2hn.js → integration-jn88007r.js} +9 -9
- package/dist/chunks/{model-jefw9j3y.js → integration-jneg3k74.js} +4 -4
- package/dist/chunks/{model-517h8a04.js → integration-jp46n186.js} +16 -16
- package/dist/chunks/{model-7rtchw7v.js → integration-jqcnc8x2.js} +24 -24
- package/dist/chunks/{model-k814nvkf.js → integration-k814nvkf.js} +1 -1
- package/dist/chunks/{model-aeqdbpyb.js → integration-kbrwey91.js} +5 -5
- package/dist/chunks/{model-239hgfhk.js → integration-kbz2k1dv.js} +322 -322
- package/dist/chunks/{model-jc16a2xr.js → integration-kdnw5aby.js} +10 -10
- package/dist/chunks/{model-fx2893te.js → integration-kepp61dh.js} +27 -27
- package/dist/chunks/{model-ddhyr0yf.js → integration-kge26myw.js} +10 -10
- package/dist/chunks/{model-jg7z8f74.js → integration-kgjda4yp.js} +18 -18
- package/dist/chunks/{model-5f9k77aj.js → integration-kkd03qcg.js} +23 -23
- package/dist/chunks/{model-enkpkfwx.js → integration-kmzgegqq.js} +8 -8
- package/dist/chunks/{model-07zzdza0.js → integration-krx0eses.js} +8 -8
- package/dist/chunks/{model-kt3bjfbg.js → integration-kt3bjfbg.js} +1 -1
- package/dist/chunks/{model-344yvkvm.js → integration-kxx2qr6y.js} +18 -18
- package/dist/chunks/{model-38ys11y3.js → integration-kzdcqyn1.js} +5 -5
- package/dist/chunks/{model-m1714858.js → integration-m1714858.js} +1 -1
- package/dist/chunks/{model-pe0qgjpx.js → integration-m9bb5ktr.js} +30 -19
- package/dist/chunks/{model-4dkagkf8.js → integration-m9tync0b.js} +49 -29
- package/dist/chunks/{model-m9w0rfyh.js → integration-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-maspj1v3.js → integration-maspj1v3.js} +1 -1
- package/dist/chunks/{model-6av68hmr.js → integration-mc8wzqq3.js} +16 -16
- package/dist/chunks/{model-8zwekdex.js → integration-mdgmntsx.js} +45 -45
- package/dist/chunks/{model-mj0wev1x.js → integration-mj0wev1x.js} +2 -2
- package/dist/chunks/integration-mq5kch5e.js +261 -0
- package/dist/chunks/{model-gawwyhx0.js → integration-mt5atg1e.js} +1 -1
- package/dist/chunks/{model-g4mr61at.js → integration-n37y2xqe.js} +35 -35
- package/dist/chunks/{model-5wa8msaj.js → integration-n3v0xqc9.js} +15 -15
- package/dist/chunks/{model-jcnkegva.js → integration-n7b17ngh.js} +38 -38
- package/dist/chunks/{model-nah043kf.js → integration-nah043kf.js} +1 -1
- package/dist/chunks/{model-7texn7dm.js → integration-np0n6qy5.js} +14 -14
- package/dist/chunks/{model-9whfcf9d.js → integration-nvzssgbt.js} +16 -16
- package/dist/chunks/{model-p015t6z3.js → integration-p015t6z3.js} +2 -2
- package/dist/chunks/{model-h1x8n12b.js → integration-p1vte9h6.js} +11 -11
- package/dist/chunks/{model-bg5kv5wd.js → integration-p6sewx4m.js} +2 -2
- package/dist/chunks/{model-p7vhpwh8.js → integration-p7vhpwh8.js} +1 -1
- package/dist/chunks/{model-e07q2w5p.js → integration-pcty9z1k.js} +4 -4
- package/dist/chunks/{model-pknna89w.js → integration-pknna89w.js} +1 -1
- package/dist/chunks/{model-dy9zc4pe.js → integration-pnwsrq7c.js} +8 -8
- package/dist/chunks/integration-psgg7zsx.js +35 -0
- package/dist/chunks/{model-074yh523.js → integration-q5qtpxs8.js} +5 -5
- package/dist/chunks/{model-eah0f417.js → integration-q85ryw70.js} +20 -20
- package/dist/chunks/{model-55x2dd8h.js → integration-q8hcxtnn.js} +28 -28
- package/dist/chunks/{model-cbpep9ws.js → integration-q8qga2hx.js} +4 -4
- package/dist/chunks/{model-aadqys38.js → integration-qde7gphs.js} +10 -10
- package/dist/chunks/{model-cpvd08na.js → integration-qqg9c0kv.js} +4 -4
- package/dist/chunks/{model-17s4yebz.js → integration-qzdhydjz.js} +15 -15
- package/dist/chunks/{model-r0yr0wbs.js → integration-r0yr0wbs.js} +1 -1
- package/dist/chunks/{model-9wfy5dqd.js → integration-r4qqkkn4.js} +4 -4
- package/dist/chunks/{model-r542h3bh.js → integration-r542h3bh.js} +1 -1
- package/dist/chunks/{model-p43hvp8m.js → integration-r7kgrqx8.js} +15 -15
- package/dist/chunks/{model-c1bh859y.js → integration-r8yz90q7.js} +81 -81
- package/dist/chunks/{model-rb9dy4dg.js → integration-rb9dy4dg.js} +1 -1
- package/dist/chunks/{model-nj2tkpbg.js → integration-rg2b028e.js} +4 -4
- package/dist/chunks/{model-n4t59mcz.js → integration-rq2bpjzx.js} +35 -35
- package/dist/chunks/{model-rt5dr6hb.js → integration-rt5dr6hb.js} +1 -1
- package/dist/chunks/{model-nch7pp5e.js → integration-rtdxfwhd.js} +11 -11
- package/dist/chunks/{model-6ah2hm3b.js → integration-s2yn1ebr.js} +43 -38
- package/dist/chunks/{model-9p9tkha5.js → integration-s5mddk99.js} +4 -4
- package/dist/chunks/{model-0q0mq65j.js → integration-s5srxs85.js} +26 -26
- package/dist/chunks/{model-g53j82me.js → integration-s6jx0zpa.js} +35 -35
- package/dist/chunks/{model-yk2twp5a.js → integration-s6qfrht9.js} +72 -40
- package/dist/chunks/{model-7t90m43d.js → integration-s842fs2g.js} +27 -27
- package/dist/chunks/{model-rwvkk097.js → integration-s9s2gkss.js} +8 -8
- package/dist/chunks/{model-tm84tsqp.js → integration-s9wcjfta.js} +15 -15
- package/dist/chunks/{model-sa3fpqfw.js → integration-sa3fpqfw.js} +2 -2
- package/dist/chunks/{model-p580ev26.js → integration-sbegqkxp.js} +6 -6
- package/dist/chunks/{model-ahagnq8m.js → integration-sben8p41.js} +16 -16
- package/dist/chunks/{model-nvhvwyw4.js → integration-sg9wyb1p.js} +14 -14
- package/dist/chunks/{model-06npw4ea.js → integration-shrpye9z.js} +2 -2
- package/dist/chunks/{model-sqjzf8x2.js → integration-sqjzf8x2.js} +1 -1
- package/dist/chunks/{model-9zvt316j.js → integration-sr5f1jrh.js} +8 -8
- package/dist/chunks/{model-a85cw3b8.js → integration-sswqmq9k.js} +24 -24
- package/dist/chunks/{model-kmycny1b.js → integration-svadk1ak.js} +26 -26
- package/dist/chunks/{model-yr4xnza0.js → integration-sx2sqvt0.js} +8 -8
- package/dist/chunks/{model-hd7kmee3.js → integration-t02qfhp3.js} +35 -35
- package/dist/chunks/{model-kpmxgff8.js → integration-t9nrn8tw.js} +17 -17
- package/dist/chunks/{model-tczq8hjw.js → integration-tczq8hjw.js} +1 -1
- package/dist/chunks/{model-998yhzzq.js → integration-tkn93vs5.js} +24 -5
- package/dist/chunks/{model-3nnrz6f6.js → integration-tmc7xdjs.js} +4 -4
- package/dist/chunks/{model-jvxa89ah.js → integration-tq7q91jv.js} +21 -21
- package/dist/chunks/{model-twv2r8f4.js → integration-twv2r8f4.js} +2 -2
- package/dist/chunks/{model-xhb3andn.js → integration-tyc3jjj7.js} +12 -12
- package/dist/chunks/{model-t5jqs5j7.js → integration-tzyd7gqa.js} +2 -2
- package/dist/chunks/{model-v2r1d0zg.js → integration-v2r1d0zg.js} +1 -1
- package/dist/chunks/{model-bj9pvvtr.js → integration-v5b5hy9f.js} +21 -21
- package/dist/chunks/{model-5t0taa5t.js → integration-v7s66ynn.js} +21 -21
- package/dist/chunks/{model-vd3b3yk9.js → integration-vd3b3yk9.js} +1 -1
- package/dist/chunks/{model-veqvce7d.js → integration-veqvce7d.js} +1 -1
- package/dist/chunks/{model-q55j0mkq.js → integration-vfdks6d4.js} +3 -3
- package/dist/chunks/{model-1cd8ske1.js → integration-vh8rw469.js} +4 -4
- package/dist/chunks/{model-1wtzqdg9.js → integration-vqvgrxkc.js} +36 -36
- package/dist/chunks/{model-w3wsvvr9.js → integration-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-8wb0xjrc.js → integration-w63y7jc6.js} +164 -164
- package/dist/chunks/{model-95dpb2hs.js → integration-w7nv158z.js} +21 -21
- package/dist/chunks/{model-wakvkjy4.js → integration-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-6qwcfsdb.js → integration-wcmgka50.js} +18 -18
- package/dist/chunks/{model-wd87259q.js → integration-wd87259q.js} +1 -1
- package/dist/chunks/{model-8rjeswr2.js → integration-wdgqtx80.js} +14 -14
- package/dist/chunks/{model-zgy84aax.js → integration-wjp5677p.js} +16 -16
- package/dist/chunks/{model-4s5pdsz9.js → integration-wqtd6dn9.js} +6 -6
- package/dist/chunks/{model-wr3re1en.js → integration-wr3re1en.js} +1 -1
- package/dist/chunks/{model-3y91nzap.js → integration-wrrv2vrv.js} +3 -3
- package/dist/chunks/{model-g022fde4.js → integration-x4mdmgqt.js} +75 -73
- package/dist/chunks/{model-4pwgqaz6.js → integration-xcmymt6p.js} +6 -6
- package/dist/chunks/{model-d0cn4xf1.js → integration-xcn9kzc4.js} +5 -5
- package/dist/chunks/{model-w000bb6e.js → integration-xdqqne02.js} +20 -20
- package/dist/chunks/{model-1t797f07.js → integration-xp190ez9.js} +11 -11
- package/dist/chunks/{model-ebah8p59.js → integration-xrkrh4e6.js} +55 -55
- package/dist/chunks/{model-vfy36k9m.js → integration-y69ek5zm.js} +2 -2
- package/dist/chunks/{model-1jh4qr8c.js → integration-y9vh8mq3.js} +42 -42
- package/dist/chunks/{model-1r26p0x0.js → integration-yb1sx8tf.js} +3 -3
- package/dist/chunks/{model-yb20nhc3.js → integration-yb20nhc3.js} +1 -1
- package/dist/chunks/{model-wtps8d4f.js → integration-ychremax.js} +24 -24
- package/dist/chunks/{model-vbzvb4rg.js → integration-ydzd92ym.js} +49 -49
- package/dist/chunks/{model-91vm8081.js → integration-yjb380yy.js} +28 -28
- package/dist/chunks/{model-dcmz9t73.js → integration-ys2a3pd2.js} +40 -40
- package/dist/chunks/{model-k2cxq7d4.js → integration-ys7snnnx.js} +4 -4
- package/dist/chunks/{model-wq05waba.js → integration-ysh7bykt.js} +27 -27
- package/dist/chunks/{model-6sxj3h9v.js → integration-ysm0ddqf.js} +26 -26
- package/dist/chunks/{model-ffxn8jxv.js → integration-ytyb7gv1.js} +17 -17
- package/dist/chunks/{model-z0bkrqjs.js → integration-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-z38nccrw.js → integration-z38nccrw.js} +1 -1
- package/dist/chunks/integration-z7bdqmx5.js +18 -0
- package/dist/chunks/{model-1jcs48vj.js → integration-zd2ed8r9.js} +21 -21
- package/dist/chunks/{model-q1f29zd1.js → integration-ze9ydt5a.js} +17 -17
- package/dist/chunks/{model-zkg84ctx.js → integration-zkg84ctx.js} +1 -1
- package/dist/chunks/{model-68sqyx0h.js → integration-zr4aet3t.js} +14 -14
- package/dist/chunks/{model-jtx526ja.js → integration-zxxmr6sq.js} +8 -8
- package/dist/chunks/{model-0jdv6s9h.js → integration-zy2zc1p2.js} +21 -21
- package/dist/chunks/{model-9ayw3ng3.js → integration-zzanzrga.js} +33 -33
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +88 -87
- package/dist/config/discovery.js +88 -87
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -104
- package/dist/config/plugin/agent.js +121 -120
- package/dist/config/plugin/command.js +219 -216
- package/dist/config/plugin/compaction.js +160 -157
- package/dist/config/plugin/compatibility.js +140 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +120 -119
- package/dist/config/plugin/image.js +119 -118
- package/dist/config/plugin/instruction.js +119 -118
- package/dist/config/plugin/location-watcher.js +121 -120
- package/dist/config/plugin/mcp.js +130 -129
- package/dist/config/plugin/policy.js +121 -120
- package/dist/config/plugin/provider.js +120 -119
- package/dist/config/plugin/reference.js +121 -120
- package/dist/config/plugin/shell.js +119 -118
- package/dist/config/plugin/skill-file.js +110 -107
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +143 -140
- package/dist/config/plugin/snapshot.js +119 -118
- package/dist/config/plugin/source.js +118 -117
- package/dist/config/plugin/tool-output.js +120 -119
- package/dist/config/plugin/websearch.js +118 -117
- package/dist/config/plugin/worktree.js +121 -120
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -119
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +88 -87
- package/dist/database/database.js +71 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +6 -0
- package/dist/database/migration.gen.js +54 -53
- package/dist/database/migration.js +56 -55
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +98 -97
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +379 -376
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +99 -98
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +101 -100
- 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 +75 -74
- package/dist/file-access.js +112 -109
- package/dist/file-mutation.js +100 -99
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +232 -229
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +106 -105
- package/dist/form.js +87 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +93 -92
- package/dist/generate.js +111 -110
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +105 -104
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +370 -367
- package/dist/instruction-discovery.js +89 -88
- package/dist/instructions/builtins.js +93 -92
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +92 -91
- package/dist/job.js +83 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +78 -77
- package/dist/location-activity.js +161 -158
- package/dist/location-lifecycle.js +115 -112
- package/dist/location-service-map.js +92 -91
- package/dist/location-services.js +367 -364
- package/dist/location.js +95 -94
- package/dist/managed-policy.js +9 -9
- package/dist/mcp/client.js +97 -96
- package/dist/mcp/index.js +113 -112
- package/dist/mcp/instructions.js +146 -143
- package/dist/mcp/oauth.js +83 -82
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +96 -95
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +105 -104
- package/dist/model-resolver.js +105 -104
- package/dist/model-retry.js +1 -1
- package/dist/model.js +108 -107
- package/dist/models-dev.js +113 -112
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +83 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +91 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +80 -79
- package/dist/plugin/agent.js +81 -80
- package/dist/plugin/command.js +108 -107
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +225 -222
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +340 -337
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +102 -101
- package/dist/plugin/module.js +121 -120
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +110 -107
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +96 -95
- package/dist/plugin/provider/azure.js +117 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +119 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +99 -98
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +101 -100
- package/dist/plugin/provider/gitlab.js +99 -98
- package/dist/plugin/provider/google-vertex.js +116 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +83 -82
- package/dist/plugin/provider/lmstudio.js +128 -127
- package/dist/plugin/provider/local.js +125 -124
- package/dist/plugin/provider/modal.js +98 -97
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +128 -127
- package/dist/plugin/provider/openai-context-caps.js +96 -95
- package/dist/plugin/provider/openai.js +119 -118
- package/dist/plugin/provider/opencode-legacy.js +106 -105
- package/dist/plugin/provider/opencode.js +125 -124
- package/dist/plugin/provider/openrouter.js +97 -96
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +84 -83
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +97 -96
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -117
- package/dist/plugin/provider/vercel.js +96 -95
- package/dist/plugin/provider/vllm.js +128 -127
- package/dist/plugin/provider/xai.js +97 -96
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +176 -175
- package/dist/plugin/sdk.js +81 -80
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +359 -356
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +92 -91
- package/dist/plugin/vcs/hg.js +92 -91
- package/dist/plugin/verbosity.js +99 -98
- package/dist/plugin/warming.js +117 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +234 -231
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +96 -95
- package/dist/provider.js +97 -96
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +100 -99
- package/dist/reference/instructions.js +95 -94
- package/dist/reference.js +97 -96
- package/dist/repository-cache.js +87 -86
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +101 -100
- package/dist/rpc.js +92 -91
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/blob.js +17 -0
- package/dist/session/command.js +79 -78
- package/dist/session/compaction.js +142 -139
- package/dist/session/context.js +170 -167
- package/dist/session/diff.js +94 -93
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +226 -223
- package/dist/session/execution.js +136 -133
- package/dist/session/generate.js +170 -167
- package/dist/session/history.js +17 -13
- package/dist/session/inbox.js +100 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +84 -83
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +105 -102
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +126 -123
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +138 -135
- package/dist/session/projector.js +96 -93
- package/dist/session/prompt.js +113 -110
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +102 -99
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +236 -233
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +106 -105
- package/dist/session/runner/publish-llm-event.js +121 -118
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +134 -131
- package/dist/session/runner/to-llm-message.js +16 -14
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +168 -165
- package/dist/session/shell.js +133 -132
- package/dist/session/skill.js +113 -110
- package/dist/session/sql.js +10 -6
- package/dist/session/stats.js +78 -77
- package/dist/session/store.js +92 -89
- package/dist/session/stored.js +21 -0
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +217 -214
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +174 -171
- package/dist/session/to-session-error.js +120 -117
- package/dist/session/transfer.js +220 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +135 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +115 -112
- package/dist/skill.js +118 -115
- package/dist/snapshot.js +95 -94
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +141 -138
- package/dist/tool/plugin/edit.js +128 -125
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +132 -129
- package/dist/tool/plugin/grep.js +132 -129
- package/dist/tool/plugin/mcp-resource.js +132 -129
- package/dist/tool/plugin/opencode.js +117 -114
- package/dist/tool/plugin/patch.js +128 -125
- package/dist/tool/plugin/question.js +109 -106
- package/dist/tool/plugin/read.js +131 -128
- package/dist/tool/plugin/shell.js +220 -217
- package/dist/tool/plugin/skill.js +121 -118
- package/dist/tool/plugin/subagent.js +224 -221
- package/dist/tool/plugin/todo.js +143 -140
- package/dist/tool/plugin/webfetch.js +121 -118
- package/dist/tool/plugin/websearch.js +118 -115
- package/dist/tool/plugin/write.js +130 -127
- package/dist/tool/read-filesystem.js +104 -103
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/database/migration/20261025123711_blob.d.ts +3 -0
- package/dist/types/filesystem/fff.d.ts +1 -0
- package/dist/types/filesystem/search.d.ts +3 -0
- package/dist/types/session/blob.d.ts +881 -0
- package/dist/types/session/history.d.ts +814 -22
- package/dist/types/session/inbox.d.ts +21 -174
- package/dist/types/session/recent-text.d.ts +2 -1
- package/dist/types/session/sql.d.ts +195 -2
- package/dist/types/session/stored.d.ts +460 -0
- package/dist/usage-limits.js +94 -93
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +98 -97
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +99 -98
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +95 -94
- package/dist/voice.js +93 -92
- package/dist/websearch.js +79 -78
- package/dist/wellknown/plugin.js +81 -80
- package/dist/wellknown.js +86 -85
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +87 -86
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +95 -94
- package/dist/worktree.js +104 -103
- package/package.json +8 -8
- package/dist/chunks/model-7yv5xa0k.js +0 -18
- package/dist/chunks/model-hnfvdbcv.js +0 -26
- package/dist/chunks/model-nd8y4bs9.js +0 -261
- /package/dist/chunks/{model-0qkdqm5v.js → integration-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-0zkw76rk.js → integration-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-17cy0kzp.js → integration-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-1cnp2v09.js → integration-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-24dcb14g.js → integration-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-2710q6r3.js → integration-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-2bv980vf.js → integration-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-2c3vjs8z.js → integration-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-359p4xyc.js → integration-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-3asan66x.js → integration-3asan66x.js} +0 -0
- /package/dist/chunks/{model-3v8g72cx.js → integration-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-3wcehsnq.js → integration-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-43n2bw4t.js → integration-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-4knz6hnm.js → integration-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-4vcrnpx2.js → integration-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-4y7fprxs.js → integration-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-53557ph1.js → integration-53557ph1.js} +0 -0
- /package/dist/chunks/{model-550bvhaj.js → integration-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-5fjb7ams.js → integration-5fjb7ams.js} +0 -0
- /package/dist/chunks/{model-6prwharc.js → integration-6prwharc.js} +0 -0
- /package/dist/chunks/{model-6q2bdcd1.js → integration-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-7akdwqpd.js → integration-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-7m9af43g.js → integration-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-822emrt2.js → integration-822emrt2.js} +0 -0
- /package/dist/chunks/{model-84wd9syh.js → integration-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-88xbtdfr.js → integration-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-8n3pysct.js → integration-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-8wj87zfr.js → integration-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-9a4afbnw.js → integration-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-9rqn6x4v.js → integration-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-a058387c.js → integration-a058387c.js} +0 -0
- /package/dist/chunks/{model-a6k6eb26.js → integration-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-af5trqkr.js → integration-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-afrmfg78.js → integration-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-aqzs7mqg.js → integration-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-atq7p7m5.js → integration-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-bkyjaxrp.js → integration-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-bmr6ed5q.js → integration-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-cf4snx6d.js → integration-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-cqv5kn06.js → integration-cqv5kn06.js} +0 -0
- /package/dist/chunks/{model-cvy3z8tj.js → integration-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-d9fn303g.js → integration-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-d9jj8t3e.js → integration-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-dajrwvna.js → integration-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-dap0rakb.js → integration-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-df08tz66.js → integration-df08tz66.js} +0 -0
- /package/dist/chunks/{model-dy18nga0.js → integration-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-e3qxr5gk.js → integration-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{model-e5kj55wp.js → integration-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-e73j6tqm.js → integration-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-ec1grn59.js → integration-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-eh3zwz77.js → integration-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-emrn6kk6.js → integration-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-f0mxakyp.js → integration-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-f6n9ztr4.js → integration-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-faypxj3z.js → integration-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-fd410y7t.js → integration-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-g4wezp1m.js → integration-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-g86h250q.js → integration-g86h250q.js} +0 -0
- /package/dist/chunks/{model-gebd4c9n.js → integration-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-gftt206x.js → integration-gftt206x.js} +0 -0
- /package/dist/chunks/{model-hcxmzztb.js → integration-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-hk9envan.js → integration-hk9envan.js} +0 -0
- /package/dist/chunks/{model-j2ntwpah.js → integration-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-j5zkgpj8.js → integration-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-jjkms2e6.js → integration-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-jr7sbwjy.js → integration-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-jwfs4k6c.js → integration-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-jwr30sdr.js → integration-jwr30sdr.js} +0 -0
- /package/dist/chunks/{model-jze0r7bz.js → integration-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-jzg6c2d5.js → integration-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-m18g726c.js → integration-m18g726c.js} +0 -0
- /package/dist/chunks/{model-mp448xyj.js → integration-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-msx8hqn2.js → integration-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-n05xt0ee.js → integration-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-n3j8tn72.js → integration-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-njntx4h6.js → integration-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-q3sfg36h.js → integration-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-q74kybfr.js → integration-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-qaymkmh1.js → integration-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-qb87gjwd.js → integration-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-qfa1cgps.js → integration-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-qg3g05ea.js → integration-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-qrg20bc0.js → integration-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-rcb2kzg1.js → integration-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-sdp7kfr6.js → integration-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-ssg3fenm.js → integration-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-ve7vex1e.js → integration-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-w803qqfp.js → integration-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-wc3fc9cn.js → integration-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-wer8tq1h.js → integration-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-wjj7prxr.js → integration-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-wtztk69x.js → integration-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-x0ckcb58.js → integration-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-x61499pn.js → integration-x61499pn.js} +0 -0
- /package/dist/chunks/{model-y44na4kk.js → integration-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-y8f7s663.js → integration-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-ygaqb7jw.js → integration-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-ym463w8f.js → integration-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-z5v4ffb3.js → integration-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-z9919s4g.js → integration-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-vh8rw469.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./integration-vd3b3yk9.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service83,
|
|
11
|
+
node87
|
|
12
|
+
} from "./integration-ze9ydt5a.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
15
|
ID13,
|
|
@@ -18,11 +18,11 @@ import {
|
|
|
18
18
|
mergeHeaders2,
|
|
19
19
|
Service78,
|
|
20
20
|
node82,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Event16
|
|
22
|
+
} from "./integration-xdqqne02.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./integration-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,18 +30,18 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event15,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID12,
|
|
36
|
+
Info: () => Info22,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
|
-
Ref: () =>
|
|
40
|
-
Service: () =>
|
|
39
|
+
Ref: () => Ref3,
|
|
40
|
+
Service: () => Service77,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
44
|
+
node: () => node81,
|
|
45
45
|
parse: () => parse5,
|
|
46
46
|
supportsText: () => supportsText2
|
|
47
47
|
});
|
|
@@ -49,8 +49,8 @@ import { Model } from "@opencode/schema/model";
|
|
|
49
49
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
50
50
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
51
51
|
import { freeze } from "immer";
|
|
52
|
-
import { Event as
|
|
53
|
-
var
|
|
52
|
+
import { Event as Event15 } from "@opencode/schema/model";
|
|
53
|
+
var ID12 = Model.ID;
|
|
54
54
|
var VariantID2 = Model.VariantID;
|
|
55
55
|
var Family2 = Model.Family;
|
|
56
56
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -66,15 +66,15 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
66
66
|
};
|
|
67
67
|
};
|
|
68
68
|
var Cost2 = Model.Cost;
|
|
69
|
-
var
|
|
70
|
-
var
|
|
69
|
+
var Ref3 = Model.Ref;
|
|
70
|
+
var Info22 = Model.Info;
|
|
71
71
|
|
|
72
|
-
class
|
|
72
|
+
class Service77 extends Context.Service()("@opencode/Model") {
|
|
73
73
|
}
|
|
74
|
-
var layer = Layer.effect(
|
|
74
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
75
75
|
const providers = yield* Service78;
|
|
76
76
|
const bus = yield* Service86;
|
|
77
|
-
const location = yield*
|
|
77
|
+
const location = yield* Service83;
|
|
78
78
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
79
79
|
let input;
|
|
80
80
|
const state = create3({
|
|
@@ -120,7 +120,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
120
120
|
const models = writable(providerID);
|
|
121
121
|
if (!models)
|
|
122
122
|
return;
|
|
123
|
-
const model = draft(providerID, modelID) ??
|
|
123
|
+
const model = draft(providerID, modelID) ?? Info22.default(providerID, modelID);
|
|
124
124
|
update(model);
|
|
125
125
|
model.id = modelID;
|
|
126
126
|
model.providerID = providerID;
|
|
@@ -216,8 +216,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
216
216
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
217
217
|
});
|
|
218
218
|
});
|
|
219
|
-
yield* bus.subscribe(
|
|
220
|
-
return
|
|
219
|
+
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
220
|
+
return Service77.of({
|
|
221
221
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
222
222
|
reload,
|
|
223
223
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
236
236
|
})
|
|
237
237
|
});
|
|
238
238
|
}));
|
|
239
|
-
var
|
|
239
|
+
var node81 = makeLocationNode({ service: Service77, layer, deps: [node82, node90, node87] });
|
|
240
240
|
var PREFERRED_FREE = [
|
|
241
241
|
"big-pickle",
|
|
242
242
|
"deepseek-v4.1-flash-free",
|
|
@@ -264,8 +264,8 @@ function parse5(input) {
|
|
|
264
264
|
const index = input.indexOf("/");
|
|
265
265
|
return {
|
|
266
266
|
providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
|
|
267
|
-
modelID:
|
|
267
|
+
modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
|
|
268
268
|
};
|
|
269
269
|
}
|
|
270
270
|
|
|
271
|
-
export {
|
|
271
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref3, Info22, Service77, node81, supportsText2, compatibility2, parse5, exports_model2, Event15 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-vh8rw469.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./integration-8qwwe1g8.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./integration-vd3b3yk9.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./integration-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
@@ -67,7 +67,7 @@ class Service21 extends Context.Service()("@opencode/WebSearch") {
|
|
|
67
67
|
}
|
|
68
68
|
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service86;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service82;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -187,7 +187,7 @@ function cooldownMillis(value, now) {
|
|
|
187
187
|
var node24 = makeLocationNode({
|
|
188
188
|
service: Service21,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node90,
|
|
190
|
+
deps: [node90, node86]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
193
|
export { ID4, Provider2, Input14, Result2, Response3, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service21, node24, exports_websearch3, Event5 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-g9ybbf9c.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-jneg3k74.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./integration-tkn93vs5.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./integration-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info7,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service31,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node35,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info7 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service31 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make21({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make23({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service87;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service31.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node35 = makeLocationNode({ service: Service31, layer, deps: [node91] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info7, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service31, node35, exports_instruction_entry };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-qaymkmh1.js";
|
|
7
7
|
|
|
8
8
|
// src/util/git-executable.ts
|
|
9
9
|
import { existsSync, realpathSync } from "node:fs";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service41,
|
|
10
|
+
node: () => node43
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service41 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node43 = LayerNode.unbound(Service41, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service41, node43, exports_service2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
Info16
|
|
9
|
-
} from "./model-dy9zc4pe.js";
|
|
6
|
+
} from "./integration-9q8g9sv8.js";
|
|
10
7
|
import {
|
|
11
8
|
Info18
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./integration-pnwsrq7c.js";
|
|
10
|
+
import {
|
|
11
|
+
Info16
|
|
12
|
+
} from "./integration-qqg9c0kv.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info15
|
|
15
|
+
} from "./integration-4wqc8mqe.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./integration-p7vhpwh8.js";
|
|
19
19
|
import {
|
|
20
20
|
Info17
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./integration-8wc2fpae.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
migrateMcp2,
|
|
29
29
|
migrateProvider2,
|
|
30
30
|
providerID2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./integration-b48f36at.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./integration-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -98,12 +98,12 @@ function normalize2(input) {
|
|
|
98
98
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
99
99
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
100
100
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
101
|
-
const legacyCommands = decodeMap(input.command,
|
|
101
|
+
const legacyCommands = decodeMap(input.command, Info16, ["command"], diagnostics, decodeValue);
|
|
102
102
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
103
103
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
104
104
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
105
105
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
106
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
106
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info18, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
107
107
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
108
108
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
109
109
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -117,7 +117,7 @@ function normalize2(input) {
|
|
|
117
117
|
model: migratedSmallModel,
|
|
118
118
|
...legacyAgents.title
|
|
119
119
|
};
|
|
120
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
120
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info18, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
121
121
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
122
122
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
123
123
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -219,7 +219,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
219
219
|
normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
|
|
220
220
|
return;
|
|
221
221
|
}
|
|
222
|
-
const server = decodeValue(
|
|
222
|
+
const server = decodeValue(Info15, value, path, diagnostics);
|
|
223
223
|
if (server !== undefined)
|
|
224
224
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
225
225
|
});
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./integration-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service67,
|
|
8
|
+
node69
|
|
9
|
+
} from "./integration-47pdn9hb.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-aqnbmf10.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./integration-2z1j29yd.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./integration-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,7 +33,7 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service36,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
38
|
node: () => node39,
|
|
39
39
|
read: () => read2
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service36 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service67;
|
|
335
|
+
return Service36.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var node39 = makeLocationNode({ service:
|
|
340
|
+
var node39 = makeLocationNode({ service: Service36, layer, deps: [node69] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2, Service36, read2, node39, exports_read_filesystem };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-xdqqne02.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-6q2bdcd1.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-p1vte9h6.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin5,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin5 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin38 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin38 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint3, Plugin5, exports_tavily };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./integration-ze9ydt5a.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service15
|
|
9
|
+
} from "./integration-kgjda4yp.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service11
|
|
12
|
+
} from "./integration-8t0ndcz4.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./integration-zkg84ctx.js";
|
|
16
16
|
import {
|
|
17
17
|
BinaryFileError2,
|
|
18
18
|
MediaIngestLimitError2,
|
|
@@ -22,26 +22,26 @@ import {
|
|
|
22
22
|
FileContent2,
|
|
23
23
|
TextPage2,
|
|
24
24
|
ListPage2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service36
|
|
26
|
+
} from "./integration-sg9wyb1p.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./integration-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/plugin/read.ts
|
|
32
32
|
var exports_read = {};
|
|
33
33
|
__export(exports_read, {
|
|
34
|
-
Input: () =>
|
|
35
|
-
Plugin: () =>
|
|
34
|
+
Input: () => Input5,
|
|
35
|
+
Plugin: () => Plugin42,
|
|
36
36
|
ReadTool: () => exports_read,
|
|
37
|
-
name: () =>
|
|
37
|
+
name: () => name5,
|
|
38
38
|
toModelContent: () => toModelContent3
|
|
39
39
|
});
|
|
40
40
|
import { basename, dirname, join } from "path";
|
|
41
41
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
|
-
var
|
|
44
|
+
var name5 = "read";
|
|
45
45
|
var FILENAME = "AGENTS.md";
|
|
46
46
|
var LocationInput = Schema.Struct({
|
|
47
47
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -52,21 +52,21 @@ var LocationInput = Schema.Struct({
|
|
|
52
52
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
53
53
|
})
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input5 = LocationInput;
|
|
56
56
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
57
|
-
var
|
|
57
|
+
var Plugin42 = {
|
|
58
58
|
id: "opencode.tool.read",
|
|
59
59
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
60
|
-
const reader = yield*
|
|
61
|
-
const access = yield*
|
|
62
|
-
const sessionInstructions = yield*
|
|
60
|
+
const reader = yield* Service36;
|
|
61
|
+
const access = yield* Service15;
|
|
62
|
+
const sessionInstructions = yield* Service11;
|
|
63
63
|
const fs = yield* FSUtil.Service;
|
|
64
|
-
const location = yield*
|
|
64
|
+
const location = yield* Service83;
|
|
65
65
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
66
|
-
name:
|
|
66
|
+
name: name5,
|
|
67
67
|
options: { codemode: false },
|
|
68
68
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
69
|
-
input:
|
|
69
|
+
input: Input5,
|
|
70
70
|
output: Output,
|
|
71
71
|
execute: (input, context) => {
|
|
72
72
|
return Effect.gen(function* () {
|
|
@@ -179,4 +179,4 @@ var toModelContent3 = (path, offset, output) => {
|
|
|
179
179
|
`);
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { name5, Input5, Plugin42, toModelContent3, exports_read };
|