@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,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
policy3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-9cx9sm2q.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionEvent2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-ec1grn59.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make11,
|
|
17
17
|
policy: () => policy2
|
|
18
18
|
});
|
|
19
19
|
import { isRetryable as isRetryable2 } from "@opencode/ai/effect";
|
|
@@ -39,7 +39,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
39
39
|
return { retry: true, attempt: next.attempt, delay: normalized };
|
|
40
40
|
});
|
|
41
41
|
});
|
|
42
|
-
var
|
|
42
|
+
var make11 = (bus, sessionID) => Effect.gen(function* () {
|
|
43
43
|
const decide = yield* policy2(sessionID);
|
|
44
44
|
const wait = (input) => Effect.gen(function* () {
|
|
45
45
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -56,4 +56,4 @@ var make4 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
56
56
|
return { decide, wait };
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export { isRetryable2, policy2,
|
|
59
|
+
export { isRetryable2, policy2, make11, exports_retry };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-vd3b3yk9.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service10,
|
|
13
|
+
node: () => node12
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service10 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service10.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node12 = makeLocationNode({ service: Service10, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service10, node12, exports_location_watcher_policy };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID10,
|
|
3
|
-
|
|
3
|
+
Info13,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./integration-5epte933.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./integration-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service87,
|
|
11
11
|
node91
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-g9ybbf9c.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service86,
|
|
16
16
|
node90
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./integration-vh8rw469.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service84,
|
|
20
|
+
node88
|
|
21
|
+
} from "./integration-9n1r2pw9.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service41,
|
|
24
|
+
node43
|
|
25
|
+
} from "./integration-sbegqkxp.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./integration-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./integration-tkn93vs5.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
33
|
+
NotFoundError8,
|
|
34
34
|
InvalidListCursorError2,
|
|
35
35
|
MessageNotFoundError2,
|
|
36
36
|
ForkEmptyError2,
|
|
@@ -42,78 +42,78 @@ import {
|
|
|
42
42
|
BusyError2,
|
|
43
43
|
InboxConflictError2,
|
|
44
44
|
SkillNotFoundError2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./integration-wqtd6dn9.js";
|
|
46
46
|
import {
|
|
47
47
|
current2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./integration-2r67ppq4.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node42
|
|
51
|
+
} from "./integration-m9tync0b.js";
|
|
52
52
|
import {
|
|
53
53
|
snapshot2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./integration-s9wcjfta.js";
|
|
55
55
|
import {
|
|
56
56
|
Slug2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./integration-gebd4c9n.js";
|
|
58
58
|
import {
|
|
59
59
|
SessionAlreadyProjected2,
|
|
60
|
-
|
|
61
|
-
} from "./
|
|
60
|
+
node28
|
|
61
|
+
} from "./integration-s2yn1ebr.js";
|
|
62
62
|
import {
|
|
63
63
|
Metadata2,
|
|
64
|
-
|
|
65
|
-
} from "./
|
|
64
|
+
node80
|
|
65
|
+
} from "./integration-p1vte9h6.js";
|
|
66
66
|
import {
|
|
67
67
|
ListInput3,
|
|
68
|
-
Service62,
|
|
69
|
-
node65
|
|
70
|
-
} from "./model-qfan4vrq.js";
|
|
71
|
-
import {
|
|
72
68
|
Service58,
|
|
73
|
-
|
|
74
|
-
} from "./
|
|
69
|
+
node60
|
|
70
|
+
} from "./integration-ebpnb18j.js";
|
|
71
|
+
import {
|
|
72
|
+
Service45,
|
|
73
|
+
node47
|
|
74
|
+
} from "./integration-jp46n186.js";
|
|
75
75
|
import {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
} from "./
|
|
76
|
+
Service37,
|
|
77
|
+
node40
|
|
78
|
+
} from "./integration-rq2bpjzx.js";
|
|
79
79
|
import {
|
|
80
80
|
llmClient2
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./integration-p015t6z3.js";
|
|
82
82
|
import {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
} from "./
|
|
83
|
+
Service30,
|
|
84
|
+
node34
|
|
85
|
+
} from "./integration-2bw432fj.js";
|
|
86
86
|
import {
|
|
87
87
|
generate2
|
|
88
|
-
} from "./
|
|
88
|
+
} from "./integration-9zjt3hbt.js";
|
|
89
89
|
import {
|
|
90
90
|
execute2
|
|
91
|
-
} from "./
|
|
91
|
+
} from "./integration-dah0ztmn.js";
|
|
92
92
|
import {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
} from "./
|
|
93
|
+
Service56,
|
|
94
|
+
node58
|
|
95
|
+
} from "./integration-e6z5m6ve.js";
|
|
96
96
|
import {
|
|
97
97
|
DestinationNotFoundError2,
|
|
98
98
|
DestinationNotDirectoryError2,
|
|
99
99
|
DestinationUnavailableError2,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
} from "./
|
|
100
|
+
Service24,
|
|
101
|
+
node27
|
|
102
|
+
} from "./integration-xrkrh4e6.js";
|
|
103
103
|
import {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
} from "./
|
|
104
|
+
Service63,
|
|
105
|
+
node65
|
|
106
|
+
} from "./integration-j0tgfc8g.js";
|
|
107
107
|
import {
|
|
108
108
|
make15
|
|
109
|
-
} from "./
|
|
109
|
+
} from "./integration-84nrg8k2.js";
|
|
110
110
|
import {
|
|
111
111
|
TurnRangeError2,
|
|
112
112
|
turn2
|
|
113
|
-
} from "./
|
|
113
|
+
} from "./integration-h5ejxf76.js";
|
|
114
114
|
import {
|
|
115
115
|
__export
|
|
116
|
-
} from "./
|
|
116
|
+
} from "./integration-9rqn6x4v.js";
|
|
117
117
|
|
|
118
118
|
// src/session.ts
|
|
119
119
|
var exports_session = {};
|
|
@@ -127,22 +127,22 @@ __export(exports_session, {
|
|
|
127
127
|
ForkEmptyError: () => ForkEmptyError2,
|
|
128
128
|
ID: () => ID10,
|
|
129
129
|
InboxConflictError: () => InboxConflictError2,
|
|
130
|
-
Info: () =>
|
|
130
|
+
Info: () => Info13,
|
|
131
131
|
InvalidListCursorError: () => InvalidListCursorError2,
|
|
132
132
|
ListAnchor: () => ListAnchor2,
|
|
133
133
|
ListCursor: () => ListCursor2,
|
|
134
134
|
ListInput: () => ListInput2,
|
|
135
135
|
MessageDecodeError: () => MessageDecodeError2,
|
|
136
136
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
137
|
-
NotFoundError: () =>
|
|
137
|
+
NotFoundError: () => NotFoundError8,
|
|
138
138
|
PromptConflictError: () => PromptConflictError2,
|
|
139
|
-
Service: () =>
|
|
139
|
+
Service: () => Service23,
|
|
140
140
|
Session: () => exports_session,
|
|
141
141
|
SessionSchema: () => SessionSchema2,
|
|
142
142
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
143
143
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
144
144
|
TurnRangeError: () => TurnRangeError2,
|
|
145
|
-
node: () =>
|
|
145
|
+
node: () => node26
|
|
146
146
|
});
|
|
147
147
|
import { DateTime, Effect, Layer, Context, Stream } from "effect";
|
|
148
148
|
import { LLMClient } from "@opencode/ai/effect";
|
|
@@ -153,26 +153,26 @@ import { Node } from "@opencode/util/effect/app-node";
|
|
|
153
153
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
154
154
|
var ListInput2 = ListInput3;
|
|
155
155
|
var DefaultListLimit = 50;
|
|
156
|
-
class
|
|
156
|
+
class Service23 extends Context.Service()("@opencode/Session") {
|
|
157
157
|
}
|
|
158
|
-
var layer = Layer.effect(
|
|
158
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
159
159
|
const app = yield* Metadata2;
|
|
160
160
|
const database = yield* Service87;
|
|
161
161
|
const db = database.db;
|
|
162
162
|
const bus = yield* Service86;
|
|
163
|
-
const projects = yield*
|
|
164
|
-
const execution = yield*
|
|
163
|
+
const projects = yield* Service84;
|
|
164
|
+
const execution = yield* Service37;
|
|
165
165
|
const llm = yield* LLMClient.Service;
|
|
166
|
-
const transport = yield*
|
|
167
|
-
const store = yield*
|
|
168
|
-
const instances = yield*
|
|
169
|
-
const moves = yield*
|
|
170
|
-
const jobs = yield*
|
|
171
|
-
const environments = yield*
|
|
172
|
-
const locations = yield*
|
|
166
|
+
const transport = yield* Service30;
|
|
167
|
+
const store = yield* Service58;
|
|
168
|
+
const instances = yield* Service41;
|
|
169
|
+
const moves = yield* Service24;
|
|
170
|
+
const jobs = yield* Service45;
|
|
171
|
+
const environments = yield* Service63;
|
|
172
|
+
const locations = yield* Service56;
|
|
173
173
|
const sessions = yield* make15();
|
|
174
174
|
const isDurableSessionEvent = (item) => Object.hasOwn(SessionEvent2.Durable.cases, item.type);
|
|
175
|
-
const result =
|
|
175
|
+
const result = Service23.of({
|
|
176
176
|
create: Effect.fn("Session.create")(function* (input) {
|
|
177
177
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
178
178
|
const recorded = yield* store.get(sessionID);
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
180
180
|
return recorded;
|
|
181
181
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
182
182
|
if (input.parentID && parent === undefined)
|
|
183
|
-
return yield* new
|
|
183
|
+
return yield* new NotFoundError8({ sessionID: input.parentID });
|
|
184
184
|
const location = parent?.location ?? input.location;
|
|
185
185
|
if (location === undefined)
|
|
186
186
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -297,11 +297,11 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
297
297
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
298
298
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
299
299
|
const session = yield* result.get(input.sessionID);
|
|
300
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
300
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service87, database), Effect.provideService(LLMClient.Service, llm));
|
|
301
301
|
}),
|
|
302
302
|
command: Effect.fn("Session.command")(function* (input) {
|
|
303
303
|
const session = yield* result.get(input.sessionID);
|
|
304
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
304
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service41, instances));
|
|
305
305
|
}),
|
|
306
306
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
307
307
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -345,27 +345,27 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
345
345
|
});
|
|
346
346
|
return result;
|
|
347
347
|
}));
|
|
348
|
-
var
|
|
349
|
-
service:
|
|
348
|
+
var node26 = Node.makeGlobalNode({
|
|
349
|
+
service: Service23,
|
|
350
350
|
layer,
|
|
351
351
|
deps: [
|
|
352
|
-
node61,
|
|
353
352
|
node47,
|
|
353
|
+
node65,
|
|
354
354
|
node91,
|
|
355
355
|
node90,
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
356
|
+
node88,
|
|
357
|
+
node40,
|
|
358
|
+
node34,
|
|
359
359
|
llmClient2,
|
|
360
|
-
node65,
|
|
361
|
-
node55,
|
|
362
|
-
node53,
|
|
363
|
-
node31,
|
|
364
|
-
node33,
|
|
365
360
|
node60,
|
|
361
|
+
node43,
|
|
362
|
+
node42,
|
|
363
|
+
node27,
|
|
364
|
+
node28,
|
|
365
|
+
node58,
|
|
366
366
|
FSUtil.node,
|
|
367
|
-
|
|
367
|
+
node80
|
|
368
368
|
]
|
|
369
369
|
});
|
|
370
370
|
|
|
371
|
-
export { ListAnchor2, ListCursor2, ListInput2,
|
|
371
|
+
export { ListAnchor2, ListCursor2, ListInput2, Service23, node26, exports_session };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service69
|
|
4
|
+
} from "./integration-4mw9dk18.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-6pjqjmy2.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
13
|
var exports_websearch = {};
|
|
14
14
|
__export(exports_websearch, {
|
|
15
15
|
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
-
Plugin: () =>
|
|
16
|
+
Plugin: () => Plugin18
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin18 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service69;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin3 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin18, exports_websearch };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-xdqqne02.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-s842fs2g.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
13
13
|
__export(exports_variant, {
|
|
14
14
|
Variant: () => exports_variant,
|
|
15
|
-
resolve: () =>
|
|
15
|
+
resolve: () => resolve4,
|
|
16
16
|
supports: () => supports2
|
|
17
17
|
});
|
|
18
18
|
function supports2(reasoning) {
|
|
@@ -24,7 +24,7 @@ function supports2(reasoning) {
|
|
|
24
24
|
...reasoning.budget ? [{ type: "budget_tokens", ...reasoning.budget }] : []
|
|
25
25
|
];
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function resolve4(model, supports = [{ type: "effort" }]) {
|
|
28
28
|
const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
|
|
29
29
|
if (!protocol)
|
|
30
30
|
return [];
|
|
@@ -584,4 +584,4 @@ var PROTOCOLS = {
|
|
|
584
584
|
[aisdk2("gitlab-ai-provider")]: gitlab
|
|
585
585
|
};
|
|
586
586
|
|
|
587
|
-
export { supports2,
|
|
587
|
+
export { supports2, resolve4, exports_variant };
|
|
@@ -2,24 +2,24 @@ import {
|
|
|
2
2
|
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./integration-xdqqne02.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID12,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info22
|
|
11
|
+
} from "./integration-s842fs2g.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./integration-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models2 = {};
|
|
18
|
+
__export(exports_models2, {
|
|
19
|
+
CopilotModels: () => exports_models2,
|
|
20
|
+
derive: () => derive3,
|
|
21
|
+
get: () => get3,
|
|
22
|
+
load: () => load3
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get3(baseURL, headers, existing) {
|
|
72
|
+
return derive3(baseURL, await load3(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load3(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load2(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive3(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID12.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,10 +118,10 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info22.make({
|
|
122
|
+
...Info22.default(ID13.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
124
|
+
modelID: ID12.make(remote.id),
|
|
125
125
|
providerID: ID13.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get3, load3, derive3, exports_models2 };
|