@opencode/core 0.0.0-dev-21563 → 0.0.0-dev-21578
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{generate-0cs5dcs0.js → model-retry-00qqvw2m.js} +12 -12
- package/dist/chunks/{generate-034tev2y.js → model-retry-034tev2y.js} +2 -2
- package/dist/chunks/{generate-ba7ngyz7.js → model-retry-059af6b1.js} +27 -27
- package/dist/chunks/{generate-dkq45v8d.js → model-retry-0gka690g.js} +6 -6
- package/dist/chunks/{generate-fznmdakp.js → model-retry-0h8y3ex8.js} +4 -4
- package/dist/chunks/{generate-y1bsf4pc.js → model-retry-0mt5amvr.js} +30 -30
- package/dist/chunks/{generate-dw02th3g.js → model-retry-0sjdd7gq.js} +3 -3
- package/dist/chunks/{generate-fdp97wc0.js → model-retry-0vh00qd5.js} +15 -15
- package/dist/chunks/{generate-az4hfc8s.js → model-retry-156av61h.js} +47 -47
- package/dist/chunks/{generate-9ra49ptr.js → model-retry-15pq58mc.js} +24 -24
- package/dist/chunks/{generate-mpjcpqpe.js → model-retry-15tgtsbh.js} +20 -20
- package/dist/chunks/{generate-0bke9tpm.js → model-retry-1602d4m9.js} +9 -9
- package/dist/chunks/{generate-tg1vr1qt.js → model-retry-160yv0cs.js} +8 -8
- package/dist/chunks/{generate-f6wfqyz7.js → model-retry-1aerx206.js} +9 -9
- package/dist/chunks/{generate-agtp4d9h.js → model-retry-1b4vpzzn.js} +32 -32
- package/dist/chunks/{generate-1ep2p91f.js → model-retry-1ep2p91f.js} +2 -2
- package/dist/chunks/{generate-z37k9505.js → model-retry-1fg7mrfs.js} +14 -14
- package/dist/chunks/{generate-ka2n5pfv.js → model-retry-1g7gxgxj.js} +29 -29
- package/dist/chunks/{generate-d9p590j3.js → model-retry-1h8v3mbs.js} +19 -19
- package/dist/chunks/{generate-xevjgmtb.js → model-retry-1k9s1gkt.js} +14 -14
- package/dist/chunks/{generate-ybwdqt9k.js → model-retry-1v7r97e1.js} +13 -13
- package/dist/chunks/{generate-1x2knyw4.js → model-retry-1x2knyw4.js} +1 -1
- package/dist/chunks/{generate-p7vhpwh8.js → model-retry-1yq9hg58.js} +5 -5
- package/dist/chunks/{generate-x06crd5t.js → model-retry-23g4abx1.js} +23 -23
- package/dist/chunks/{generate-9awrcxz4.js → model-retry-24ag2nfj.js} +4 -4
- package/dist/chunks/{generate-ps3ej18z.js → model-retry-2ah2hb02.js} +4 -4
- package/dist/chunks/{generate-m6n3gz95.js → model-retry-2d67wzxw.js} +18 -18
- package/dist/chunks/{generate-1e4tspje.js → model-retry-2j4z7awa.js} +3 -3
- package/dist/chunks/{generate-gfj1dh2k.js → model-retry-2qyq8kt6.js} +14 -14
- package/dist/chunks/{generate-v1n51q4a.js → model-retry-2v2pdhf7.js} +9 -9
- package/dist/chunks/{generate-2z1j29yd.js → model-retry-2z1j29yd.js} +1 -1
- package/dist/chunks/{generate-b17b73pv.js → model-retry-34j3c5g8.js} +28 -28
- package/dist/chunks/{generate-dq2enhqf.js → model-retry-35ssvayj.js} +29 -29
- package/dist/chunks/{generate-4mkdw68v.js → model-retry-362tp65q.js} +4 -4
- package/dist/chunks/{generate-zax9hrrj.js → model-retry-37psetzb.js} +158 -158
- package/dist/chunks/{generate-3hepkmqq.js → model-retry-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-e4dtt5ff.js → model-retry-3jpry3mm.js} +11 -11
- package/dist/chunks/{generate-3nnrz6f6.js → model-retry-3nnrz6f6.js} +1 -1
- package/dist/chunks/{generate-5gk89hyb.js → model-retry-3pfffbn2.js} +12 -12
- package/dist/chunks/{generate-a5g15581.js → model-retry-3t73xeyv.js} +2 -2
- package/dist/chunks/{generate-w72jy28c.js → model-retry-3wqf40ez.js} +7 -7
- package/dist/chunks/{generate-2zqqmjez.js → model-retry-3yfh5vy1.js} +11 -11
- package/dist/chunks/{generate-ynm9hr00.js → model-retry-3z93btg0.js} +32 -32
- package/dist/chunks/{generate-s84dsypd.js → model-retry-3zfnvm0t.js} +6 -6
- package/dist/chunks/{generate-xk77ac0a.js → model-retry-40m9e2d0.js} +14 -14
- package/dist/chunks/{generate-2hr5rmqc.js → model-retry-45yg3mqn.js} +9 -9
- package/dist/chunks/{generate-qe8930r1.js → model-retry-47853hma.js} +11 -11
- package/dist/chunks/{generate-3g7vrncj.js → model-retry-498wt34r.js} +34 -34
- package/dist/chunks/{generate-e4nrxrzc.js → model-retry-4bxv2e09.js} +16 -16
- package/dist/chunks/{generate-zw4pk1bw.js → model-retry-4dg124c5.js} +5 -5
- package/dist/chunks/{generate-jcbtawrq.js → model-retry-4dy0rzf7.js} +19 -19
- package/dist/chunks/{generate-acamw3g0.js → model-retry-4naewhem.js} +10 -10
- package/dist/chunks/{generate-kywaegby.js → model-retry-4s75dghy.js} +3 -3
- package/dist/chunks/{generate-4v008n1t.js → model-retry-4v008n1t.js} +1 -1
- package/dist/chunks/{generate-rv8w38an.js → model-retry-4xbwwm4q.js} +6 -6
- package/dist/chunks/{generate-4xvmh7wp.js → model-retry-4xvmh7wp.js} +3 -3
- package/dist/chunks/{generate-a7zxg0bg.js → model-retry-52zykg91.js} +8 -8
- package/dist/chunks/{generate-4kdcmdga.js → model-retry-5afnvqtn.js} +15 -15
- package/dist/chunks/{generate-cf7jrmsj.js → model-retry-5e3jct5k.js} +5 -5
- package/dist/chunks/{generate-tycew84m.js → model-retry-5gqydat8.js} +32 -32
- package/dist/chunks/model-retry-5kggx843.js +523 -0
- package/dist/chunks/{generate-5m9w47nd.js → model-retry-5m9w47nd.js} +1 -1
- package/dist/chunks/{generate-j8p3npgm.js → model-retry-5mhdx2nw.js} +10 -10
- package/dist/chunks/{generate-6gddga0x.js → model-retry-60qt7jm7.js} +11 -11
- package/dist/chunks/{generate-67b48yf1.js → model-retry-61crdd5b.js} +34 -34
- package/dist/chunks/{generate-dg96ektr.js → model-retry-637q83rh.js} +15 -15
- package/dist/chunks/{generate-g1jpy47d.js → model-retry-68rqd4da.js} +19 -19
- package/dist/chunks/{generate-6esdw8yj.js → model-retry-6esdw8yj.js} +1 -1
- package/dist/chunks/{generate-a1phgnt9.js → model-retry-6ms03s6h.js} +14 -14
- package/dist/chunks/{generate-6pjqjmy2.js → model-retry-6pjqjmy2.js} +1 -1
- package/dist/chunks/model-retry-6zjm2phc.js +18 -0
- package/dist/chunks/{generate-vhwf8nac.js → model-retry-74ptejxy.js} +8 -8
- package/dist/chunks/{generate-3jzb0r2n.js → model-retry-756ss4w1.js} +3 -3
- package/dist/chunks/{generate-w8qtt4th.js → model-retry-76cb1hcw.js} +4 -4
- package/dist/chunks/{generate-nah043kf.js → model-retry-770pw0s1.js} +4 -4
- package/dist/chunks/{generate-7bmhse3q.js → model-retry-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-rdhjazzg.js → model-retry-7chdqnqr.js} +21 -21
- package/dist/chunks/{generate-0cmwyhaq.js → model-retry-7h34a4m7.js} +24 -24
- package/dist/chunks/{generate-7w2ypzdf.js → model-retry-7w2ypzdf.js} +1 -1
- package/dist/chunks/{generate-231jaqzt.js → model-retry-86c107cp.js} +14 -14
- package/dist/chunks/{generate-a5znd7ce.js → model-retry-88ygbdnp.js} +3 -3
- package/dist/chunks/{generate-x8hhwygw.js → model-retry-8b8xytn3.js} +32 -32
- package/dist/chunks/{generate-vhy1jp8z.js → model-retry-8cnpnqcj.js} +19 -19
- package/dist/chunks/{generate-bkjvw32t.js → model-retry-8cqc0595.js} +14 -14
- package/dist/chunks/{generate-wmwt0t0m.js → model-retry-8mjcdb5t.js} +13 -13
- package/dist/chunks/{generate-df0hqdma.js → model-retry-8q7mv1dj.js} +4 -4
- package/dist/chunks/{generate-mt3ysty9.js → model-retry-8sxdqgb0.js} +6 -6
- package/dist/chunks/{generate-8wtp7s3z.js → model-retry-8wtp7s3z.js} +1 -1
- package/dist/chunks/{generate-91rj84md.js → model-retry-91rj84md.js} +1 -1
- package/dist/chunks/{generate-5emr5dp8.js → model-retry-94vx47d3.js} +19 -19
- package/dist/chunks/{generate-hv0c9xjm.js → model-retry-98bxk4dy.js} +26 -26
- package/dist/chunks/{generate-998yhzzq.js → model-retry-998yhzzq.js} +3 -3
- package/dist/chunks/{generate-9b28cy4d.js → model-retry-9b28cy4d.js} +2 -2
- package/dist/chunks/{generate-gxfvg231.js → model-retry-9c2rytg1.js} +13 -13
- package/dist/chunks/{generate-drqhczqs.js → model-retry-9m15hg5h.js} +81 -81
- package/dist/chunks/{generate-8wvgy420.js → model-retry-9p4ckb4p.js} +6 -6
- package/dist/chunks/{generate-d8qd4w10.js → model-retry-9t2khtsw.js} +11 -11
- package/dist/chunks/{generate-gfftbxav.js → model-retry-9y7tqj94.js} +12 -12
- package/dist/chunks/{generate-b5p5nngv.js → model-retry-awk29ysz.js} +50 -50
- package/dist/chunks/{generate-ayjs7tqn.js → model-retry-ayjs7tqn.js} +2 -2
- package/dist/chunks/{generate-b0mv4wxm.js → model-retry-b0mv4wxm.js} +2 -2
- package/dist/chunks/{generate-5nnwax6m.js → model-retry-b6vsg801.js} +5 -5
- package/dist/chunks/{generate-06e0dsx1.js → model-retry-bez4y6k8.js} +16 -16
- package/dist/chunks/{generate-crfddmzc.js → model-retry-bqkj7jx5.js} +8 -8
- package/dist/chunks/{generate-bstexjd6.js → model-retry-bstexjd6.js} +1 -1
- package/dist/chunks/{generate-c8ar4m6j.js → model-retry-cae67mny.js} +44 -44
- package/dist/chunks/{generate-qd7381sw.js → model-retry-cgc2w6x5.js} +9 -9
- package/dist/chunks/{generate-jzdfcbw4.js → model-retry-cpfftq47.js} +84 -84
- package/dist/chunks/{generate-p0tsr9h6.js → model-retry-cpvd08na.js} +4 -4
- package/dist/chunks/{generate-f5k7224w.js → model-retry-csbt6w95.js} +24 -24
- package/dist/chunks/{generate-5knrbc6f.js → model-retry-cx4pt2gs.js} +43 -43
- package/dist/chunks/{generate-1q324bgk.js → model-retry-cxzgb9c8.js} +7 -7
- package/dist/chunks/{generate-c9t2ty9q.js → model-retry-d2887f8n.js} +4 -4
- package/dist/chunks/{generate-d4v9tmah.js → model-retry-d4v9tmah.js} +2 -2
- package/dist/chunks/{generate-87982064.js → model-retry-d7s86mhq.js} +10 -10
- package/dist/chunks/{generate-mfmv0kv1.js → model-retry-df4avf2z.js} +7 -7
- package/dist/chunks/{generate-g9ndtp1p.js → model-retry-e29sndgb.js} +4 -4
- package/dist/chunks/{generate-5qd3pb7m.js → model-retry-e3qxr5gk.js} +2 -2
- package/dist/chunks/{generate-e834z07m.js → model-retry-e834z07m.js} +1 -1
- package/dist/chunks/{generate-yx31kd0w.js → model-retry-ecdzwr7h.js} +17 -17
- package/dist/chunks/{generate-ef5x83kb.js → model-retry-ef5x83kb.js} +1 -1
- package/dist/chunks/{generate-6ztc4jbn.js → model-retry-eg39tzjz.js} +8 -8
- package/dist/chunks/{generate-0rq01gt9.js → model-retry-egmw08v6.js} +5 -5
- package/dist/chunks/{generate-apkkjdpa.js → model-retry-eq10afbe.js} +37 -37
- package/dist/chunks/{generate-kmj6meg3.js → model-retry-erxntyyz.js} +25 -25
- package/dist/chunks/{generate-eez2jsbe.js → model-retry-esgzgmhw.js} +49 -49
- package/dist/chunks/{generate-fffv3p7h.js → model-retry-fffv3p7h.js} +1 -1
- package/dist/chunks/{generate-vehp2e4d.js → model-retry-fgshpn0g.js} +19 -19
- package/dist/chunks/{generate-cr6fwty7.js → model-retry-ft03bety.js} +7 -7
- package/dist/chunks/{generate-ctf5g10g.js → model-retry-g1mbn82r.js} +28 -28
- package/dist/chunks/{generate-g5h9c0rr.js → model-retry-g5h9c0rr.js} +2 -2
- package/dist/chunks/{generate-rmt6m6se.js → model-retry-gcjdgkn2.js} +9 -9
- package/dist/chunks/{generate-c1a686j5.js → model-retry-h0ppebc3.js} +8 -8
- package/dist/chunks/{generate-bbym2bqy.js → model-retry-h48zeanh.js} +3 -3
- package/dist/chunks/{generate-5xwxezg3.js → model-retry-hdpt19v3.js} +20 -20
- package/dist/chunks/{generate-0443psqk.js → model-retry-hkav5kft.js} +22 -22
- package/dist/chunks/{generate-ecfrjnaf.js → model-retry-hqnmqx0e.js} +38 -38
- package/dist/chunks/{generate-1mtcyeq8.js → model-retry-hv6nf1gc.js} +40 -40
- package/dist/chunks/{generate-f1xnqdyr.js → model-retry-hzpyh7h9.js} +4 -4
- package/dist/chunks/{generate-j113cymg.js → model-retry-j113cymg.js} +1 -1
- package/dist/chunks/{generate-ah1m9kg9.js → model-retry-j21bkcez.js} +15 -15
- package/dist/chunks/{generate-0mcrt4fa.js → model-retry-j3dvs0xp.js} +4 -4
- package/dist/chunks/{generate-5xepaxvw.js → model-retry-j3gdx3ts.js} +20 -20
- package/dist/chunks/{generate-jgt5st1g.js → model-retry-j4tgmvzd.js} +42 -42
- package/dist/chunks/{generate-883rwgqp.js → model-retry-j7t09cbk.js} +28 -28
- package/dist/chunks/{generate-xf011dtc.js → model-retry-jezcxpfe.js} +16 -16
- package/dist/chunks/{generate-n1pz9w08.js → model-retry-jkg2pe84.js} +4 -4
- package/dist/chunks/{generate-p1bnnv0d.js → model-retry-k0te6n7r.js} +11 -11
- package/dist/chunks/{generate-ds4c1w6p.js → model-retry-k2e8739q.js} +4 -4
- package/dist/chunks/{generate-d326b540.js → model-retry-k2k3qgkf.js} +8 -8
- package/dist/chunks/{generate-48h67ern.js → model-retry-k3jmrcrs.js} +18 -18
- package/dist/chunks/{generate-gd9xqwfz.js → model-retry-k60vgq4n.js} +1 -1
- package/dist/chunks/{generate-k814nvkf.js → model-retry-k814nvkf.js} +1 -1
- package/dist/chunks/{generate-q60vxn6h.js → model-retry-kg4c4gfk.js} +31 -31
- package/dist/chunks/{generate-fwt74e85.js → model-retry-kh0bkhb3.js} +15 -15
- package/dist/chunks/{generate-s3sx9mn6.js → model-retry-knx0jzac.js} +13 -13
- package/dist/chunks/{generate-np41maqj.js → model-retry-kqpfexpa.js} +20 -20
- package/dist/chunks/{generate-m1714858.js → model-retry-m1714858.js} +1 -1
- package/dist/chunks/{generate-m9w0rfyh.js → model-retry-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-y2tacs4v.js → model-retry-masd7ga8.js} +8 -8
- package/dist/chunks/{generate-maspj1v3.js → model-retry-maspj1v3.js} +1 -1
- package/dist/chunks/{generate-me5bcav6.js → model-retry-me5bcav6.js} +1 -1
- package/dist/chunks/{generate-rky3kepx.js → model-retry-mhsz3gf2.js} +10 -10
- package/dist/chunks/{generate-w923jztq.js → model-retry-mm9j1s8c.js} +32 -32
- package/dist/chunks/model-retry-mnd7st07.js +26 -0
- package/dist/chunks/{generate-v52mmt0f.js → model-retry-mx6gwe9b.js} +9 -9
- package/dist/chunks/model-retry-mxyxrzn2.js +257 -0
- package/dist/chunks/{generate-v5prxdmf.js → model-retry-n02etsdv.js} +9 -9
- package/dist/chunks/{generate-n0p0277s.js → model-retry-n0p0277s.js} +1 -1
- package/dist/chunks/{generate-7xg2jm5b.js → model-retry-n6v2b7cw.js} +5 -5
- package/dist/chunks/{generate-nc0t5309.js → model-retry-n74gyp3a.js} +18 -18
- package/dist/chunks/{generate-280dayrs.js → model-retry-nbne29zv.js} +18 -18
- package/dist/chunks/{generate-g2895gq7.js → model-retry-nsggxdvf.js} +21 -21
- package/dist/chunks/{generate-ffxnyj3q.js → model-retry-nszthedh.js} +3 -3
- package/dist/chunks/{generate-4hhvtbzy.js → model-retry-nv23re93.js} +27 -27
- package/dist/chunks/{generate-p015t6z3.js → model-retry-p015t6z3.js} +2 -2
- package/dist/chunks/{generate-pc1v25hk.js → model-retry-pc1v25hk.js} +1 -1
- package/dist/chunks/{generate-dwwyec8z.js → model-retry-pen16d07.js} +6 -6
- package/dist/chunks/{generate-3ntmh1g8.js → model-retry-pf6hjb5j.js} +21 -21
- package/dist/chunks/{generate-56m9f56v.js → model-retry-ph4tm34a.js} +16 -16
- package/dist/chunks/{generate-pknna89w.js → model-retry-pknna89w.js} +1 -1
- package/dist/chunks/{generate-4c4eb9w2.js → model-retry-q0gsxww0.js} +16 -16
- package/dist/chunks/{generate-v2ekcwaa.js → model-retry-q1356wgr.js} +8 -8
- package/dist/chunks/{generate-q62c5m1h.js → model-retry-q9dphv85.js} +44 -44
- package/dist/chunks/{generate-2tfwfzen.js → model-retry-q9fk87c8.js} +2 -2
- package/dist/chunks/{generate-qjgzc4b4.js → model-retry-qjgzc4b4.js} +1 -1
- package/dist/chunks/{generate-vrhy8dh6.js → model-retry-qnqj5gyz.js} +10 -10
- package/dist/chunks/{generate-xs6sb18z.js → model-retry-qr8gbtan.js} +15 -15
- package/dist/chunks/{generate-r0yr0wbs.js → model-retry-r0yr0wbs.js} +1 -1
- package/dist/chunks/{generate-fwjbw8c3.js → model-retry-r2j375b4.js} +13 -13
- package/dist/chunks/{generate-pdsqxfs4.js → model-retry-r2z6t62p.js} +29 -29
- package/dist/chunks/{generate-hq3462wm.js → model-retry-r4q3d25z.js} +12 -12
- package/dist/chunks/{generate-wnv14c0b.js → model-retry-r7g76k7m.js} +24 -24
- package/dist/chunks/{generate-rb9dy4dg.js → model-retry-rb9dy4dg.js} +1 -1
- package/dist/chunks/{generate-axmhfv8p.js → model-retry-rctnnajd.js} +5 -5
- package/dist/chunks/{generate-gsyd3cda.js → model-retry-rnwbpqts.js} +8 -8
- package/dist/chunks/{generate-6mw0z9b9.js → model-retry-rsbjq8mx.js} +13 -13
- package/dist/chunks/{generate-rt5dr6hb.js → model-retry-rt5dr6hb.js} +1 -1
- package/dist/chunks/{generate-mtyjk5mv.js → model-retry-s35xth4d.js} +11 -11
- package/dist/chunks/{generate-n521w511.js → model-retry-s57gj4s6.js} +67 -67
- package/dist/chunks/{generate-0m6b3axq.js → model-retry-sfva37g4.js} +17 -17
- package/dist/chunks/{generate-6zfxg6c6.js → model-retry-sp1qw1fb.js} +10 -10
- package/dist/chunks/{generate-sqjzf8x2.js → model-retry-sqjzf8x2.js} +1 -1
- package/dist/chunks/{generate-asaqahta.js → model-retry-sszzn3zb.js} +8 -8
- package/dist/chunks/{generate-3jp652nn.js → model-retry-t19n7z8d.js} +6 -6
- package/dist/chunks/{generate-6c8j4tbz.js → model-retry-t3qqpd1a.js} +16 -16
- package/dist/chunks/{generate-vwz214c8.js → model-retry-t5nnby66.js} +35 -35
- package/dist/chunks/{generate-jddh4vgn.js → model-retry-t5swzbnr.js} +52 -52
- package/dist/chunks/{generate-xatr71eh.js → model-retry-t98mxax0.js} +40 -40
- package/dist/chunks/{generate-tczq8hjw.js → model-retry-tczq8hjw.js} +1 -1
- package/dist/chunks/{generate-x7fdz9fh.js → model-retry-th85ze8z.js} +20 -20
- package/dist/chunks/{generate-p910tjw3.js → model-retry-tryvgcx0.js} +4 -4
- package/dist/chunks/{generate-8n9x2wf6.js → model-retry-ts7mkfs9.js} +3 -3
- package/dist/chunks/{generate-tw8zr1ps.js → model-retry-tw8zr1ps.js} +1 -1
- package/dist/chunks/{generate-twv2r8f4.js → model-retry-twv2r8f4.js} +2 -2
- package/dist/chunks/{generate-naa9f1yr.js → model-retry-typ2bf99.js} +14 -14
- package/dist/chunks/{generate-7a9ph374.js → model-retry-v46zwfxe.js} +4 -4
- package/dist/chunks/{generate-x774aw49.js → model-retry-v95bjsh5.js} +11 -11
- package/dist/chunks/{generate-vd3b3yk9.js → model-retry-vd3b3yk9.js} +1 -1
- package/dist/chunks/{generate-veqvce7d.js → model-retry-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-hsdcm9m6.js → model-retry-vfjd9fmw.js} +35 -35
- package/dist/chunks/{generate-dz8hhvgv.js → model-retry-vgk61ywp.js} +9 -9
- package/dist/chunks/{generate-2jgkbkn1.js → model-retry-vgt89nsn.js} +21 -21
- package/dist/chunks/{generate-m37sd98t.js → model-retry-vmfhgzt5.js} +4 -4
- package/dist/chunks/{generate-t6x4gq5g.js → model-retry-vrc2patz.js} +15 -15
- package/dist/chunks/{generate-24e7end9.js → model-retry-vwkq0df4.js} +13 -13
- package/dist/chunks/{generate-6g08cwsb.js → model-retry-vwn6zxzb.js} +19 -19
- package/dist/chunks/{generate-fcz54ycx.js → model-retry-vwpgtjfe.js} +12 -12
- package/dist/chunks/{generate-07phzgjg.js → model-retry-w2bqz3ce.js} +16 -16
- package/dist/chunks/{generate-40za9wsf.js → model-retry-w2eysc6j.js} +9 -9
- package/dist/chunks/{generate-y8j3s4v0.js → model-retry-w2jghfqb.js} +4 -4
- package/dist/chunks/{generate-d2dx6a7h.js → model-retry-w35wzz9x.js} +9 -9
- package/dist/chunks/{generate-w3wsvvr9.js → model-retry-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-fx06c4yw.js → model-retry-w4b3j6j4.js} +30 -30
- package/dist/chunks/{generate-hd3k4wz8.js → model-retry-w76xjer3.js} +4 -4
- package/dist/chunks/{generate-6qkfs1hq.js → model-retry-wa1bzbm8.js} +1 -1
- package/dist/chunks/{generate-wakvkjy4.js → model-retry-wakvkjy4.js} +1 -1
- package/dist/chunks/{generate-wd87259q.js → model-retry-wd87259q.js} +1 -1
- package/dist/chunks/{generate-c3cfh5w6.js → model-retry-wdmx20pv.js} +7 -7
- package/dist/chunks/{generate-gv9rxcjs.js → model-retry-we70t4t4.js} +29 -29
- package/dist/chunks/{generate-vzy7qmck.js → model-retry-wf5b31gc.js} +26 -26
- package/dist/chunks/{generate-wybahy8v.js → model-retry-wpfwh9md.js} +38 -38
- package/dist/chunks/{generate-w3d65hzj.js → model-retry-ws6f2re4.js} +2 -2
- package/dist/chunks/{generate-m416erh4.js → model-retry-wv3qawbk.js} +11 -11
- package/dist/chunks/{generate-xjq3zqqg.js → model-retry-ww1j827y.js} +11 -11
- package/dist/chunks/{generate-a3t7zwft.js → model-retry-wyat3pb7.js} +43 -43
- package/dist/chunks/{generate-h9q9d3sq.js → model-retry-wzxanmw9.js} +15 -15
- package/dist/chunks/{generate-p3my5sye.js → model-retry-x1p8bhbj.js} +14 -14
- package/dist/chunks/{generate-jj998gzn.js → model-retry-xadckn2x.js} +48 -48
- package/dist/chunks/{generate-3dvwpjdr.js → model-retry-xg13h545.js} +33 -33
- package/dist/chunks/{generate-vfgay4tf.js → model-retry-xp0rgq9p.js} +25 -25
- package/dist/chunks/{generate-yhjes8yv.js → model-retry-xp50hhgm.js} +8 -8
- package/dist/chunks/{generate-srcm619j.js → model-retry-xwjmbdzc.js} +24 -24
- package/dist/chunks/{generate-g6p5rgqz.js → model-retry-xza2c9y7.js} +14 -14
- package/dist/chunks/{generate-4eed2b0j.js → model-retry-y2nch1ns.js} +17 -17
- package/dist/chunks/{generate-ecq052tn.js → model-retry-y2zwb71e.js} +20 -20
- package/dist/chunks/{generate-268wp9v4.js → model-retry-y45pr2fb.js} +4 -4
- package/dist/chunks/{generate-yb20nhc3.js → model-retry-yb20nhc3.js} +1 -1
- package/dist/chunks/{generate-hmmgtkw5.js → model-retry-yfvv7qb3.js} +7 -7
- package/dist/chunks/{generate-r3zyq36m.js → model-retry-yj9zbm9v.js} +15 -15
- package/dist/chunks/{generate-dtjdv03g.js → model-retry-yk0esd9v.js} +4 -4
- package/dist/chunks/{generate-kdx3nhfk.js → model-retry-yk3mq3qx.js} +4 -4
- package/dist/chunks/{generate-y6wjeqxz.js → model-retry-yvf9xe26.js} +15 -15
- package/dist/chunks/{generate-3g4pre0h.js → model-retry-yy1f6ksd.js} +18 -18
- package/dist/chunks/{generate-3xk26rw4.js → model-retry-yy97rbk0.js} +5 -5
- package/dist/chunks/{generate-z0bkrqjs.js → model-retry-z0bkrqjs.js} +1 -1
- package/dist/chunks/{generate-3dg2krd3.js → model-retry-z2wzaj4z.js} +27 -27
- package/dist/chunks/{generate-z38nccrw.js → model-retry-z38nccrw.js} +1 -1
- package/dist/chunks/{generate-d86va4wf.js → model-retry-z6w6mvsb.js} +23 -23
- package/dist/chunks/{generate-94j4dkqe.js → model-retry-z8ef33hm.js} +11 -11
- package/dist/chunks/{generate-38heweg8.js → model-retry-z8n0gtf2.js} +5 -5
- package/dist/chunks/{generate-6v7f1yd0.js → model-retry-zae8bdqe.js} +25 -25
- package/dist/chunks/{generate-zba5tm1j.js → model-retry-zba5tm1j.js} +1 -1
- package/dist/chunks/{generate-gn5bzjhx.js → model-retry-zbt54ewe.js} +20 -20
- package/dist/chunks/{generate-w4pz5j85.js → model-retry-ze854dys.js} +18 -18
- package/dist/chunks/{generate-zkg84ctx.js → model-retry-zkg84ctx.js} +1 -1
- package/dist/chunks/{generate-973hqt29.js → model-retry-zq471nd1.js} +3 -3
- package/dist/chunks/{generate-64pwmkab.js → model-retry-zra4y4ja.js} +9 -9
- package/dist/chunks/{generate-fq4px9zp.js → model-retry-zv1vb29g.js} +20 -20
- package/dist/chunks/{generate-z2a2ye1r.js → model-retry-zx3jzspp.js} +12 -12
- package/dist/chunks/{generate-vfn6hbth.js → model-retry-zyr4n90f.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +162 -162
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +95 -95
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +135 -135
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +115 -115
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +86 -86
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +102 -102
- package/package.json +8 -8
- package/dist/chunks/generate-4svnxzqq.js +0 -257
- package/dist/chunks/generate-jh346mvv.js +0 -523
- package/dist/chunks/generate-jztn5z23.js +0 -18
- package/dist/chunks/generate-zgcf70k7.js +0 -26
- /package/dist/chunks/{generate-0qkdqm5v.js → model-retry-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → model-retry-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → model-retry-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → model-retry-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-24dcb14g.js → model-retry-24dcb14g.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → model-retry-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2bv980vf.js → model-retry-2bv980vf.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → model-retry-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → model-retry-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → model-retry-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → model-retry-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → model-retry-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → model-retry-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → model-retry-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → model-retry-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → model-retry-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → model-retry-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → model-retry-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-5fjb7ams.js → model-retry-5fjb7ams.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → model-retry-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-6q2bdcd1.js → model-retry-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → model-retry-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → model-retry-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → model-retry-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-84wd9syh.js → model-retry-84wd9syh.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → model-retry-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → model-retry-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-8wj87zfr.js → model-retry-8wj87zfr.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → model-retry-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → model-retry-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a058387c.js → model-retry-a058387c.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → model-retry-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → model-retry-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → model-retry-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → model-retry-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → model-retry-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → model-retry-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → model-retry-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → model-retry-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → model-retry-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → model-retry-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → model-retry-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → model-retry-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → model-retry-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → model-retry-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → model-retry-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → model-retry-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → model-retry-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → model-retry-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → model-retry-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → model-retry-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → model-retry-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → model-retry-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → model-retry-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → model-retry-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → model-retry-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → model-retry-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → model-retry-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → model-retry-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hcxmzztb.js → model-retry-hcxmzztb.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → model-retry-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → model-retry-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → model-retry-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jjkms2e6.js → model-retry-jjkms2e6.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → model-retry-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → model-retry-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jze0r7bz.js → model-retry-jze0r7bz.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → model-retry-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-m18g726c.js → model-retry-m18g726c.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → model-retry-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → model-retry-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → model-retry-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → model-retry-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → model-retry-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-pkyv6v7h.js → model-retry-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → model-retry-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → model-retry-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → model-retry-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → model-retry-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → model-retry-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qg3g05ea.js → model-retry-qg3g05ea.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → model-retry-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → model-retry-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → model-retry-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → model-retry-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-ve7vex1e.js → model-retry-ve7vex1e.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → model-retry-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wc3fc9cn.js → model-retry-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → model-retry-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wjj7prxr.js → model-retry-wjj7prxr.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → model-retry-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → model-retry-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → model-retry-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → model-retry-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8f7s663.js → model-retry-y8f7s663.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → model-retry-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → model-retry-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z5v4ffb3.js → model-retry-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → model-retry-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service65
|
|
4
|
+
} from "./model-retry-esgzgmhw.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service64
|
|
7
|
+
} from "./model-retry-s35xth4d.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-retry-6pjqjmy2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin22
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin22 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service65;
|
|
27
|
+
const output = yield* Service64;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin32 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin22, exports_tool_output };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-retry-yk3mq3qx.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-retry-vd3b3yk9.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service80,
|
|
11
|
+
node84
|
|
12
|
+
} from "./model-retry-1fg7mrfs.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID10,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service69,
|
|
20
|
+
node72,
|
|
21
|
+
Event15
|
|
22
|
+
} from "./model-retry-j7t09cbk.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-retry-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: () => Event14,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID9,
|
|
36
|
+
Info: () => Info19,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service68,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
44
|
+
node: () => node71,
|
|
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 Event14 } from "@opencode/schema/model";
|
|
53
|
+
var ID9 = Model.ID;
|
|
54
54
|
var VariantID2 = Model.VariantID;
|
|
55
55
|
var Family2 = Model.Family;
|
|
56
56
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -67,14 +67,14 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
67
67
|
};
|
|
68
68
|
var Cost2 = Model.Cost;
|
|
69
69
|
var Ref2 = Model.Ref;
|
|
70
|
-
var
|
|
70
|
+
var Info19 = Model.Info;
|
|
71
71
|
|
|
72
|
-
class
|
|
72
|
+
class Service68 extends Context.Service()("@opencode/Model") {
|
|
73
73
|
}
|
|
74
|
-
var layer = Layer.effect(
|
|
75
|
-
const providers = yield*
|
|
74
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
75
|
+
const providers = yield* Service69;
|
|
76
76
|
const bus = yield* Service85;
|
|
77
|
-
const location = yield*
|
|
77
|
+
const location = yield* Service80;
|
|
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(Service71, 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) ?? Info19.default(providerID, modelID);
|
|
124
124
|
update(model);
|
|
125
125
|
model.id = modelID;
|
|
126
126
|
model.providerID = providerID;
|
|
@@ -189,7 +189,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
189
189
|
];
|
|
190
190
|
}));
|
|
191
191
|
if (disableFree)
|
|
192
|
-
for (const providerID of [
|
|
192
|
+
for (const providerID of [ID10.opencode, ID10.make("opencode-go")])
|
|
193
193
|
byProvider.get(providerID)?.forEach((model, id, models) => {
|
|
194
194
|
if (!model.cost.some((cost) => cost.input > 0))
|
|
195
195
|
models.delete(id);
|
|
@@ -216,8 +216,8 @@ var layer = Layer.effect(Service71, 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(Event15.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
220
|
+
return Service68.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(Service71, Effect.gen(function* () {
|
|
|
236
236
|
})
|
|
237
237
|
});
|
|
238
238
|
}));
|
|
239
|
-
var
|
|
239
|
+
var node71 = makeLocationNode({ service: Service68, layer, deps: [node72, node89, node84] });
|
|
240
240
|
var PREFERRED_FREE = [
|
|
241
241
|
"big-pickle",
|
|
242
242
|
"deepseek-v4.1-flash-free",
|
|
@@ -244,7 +244,7 @@ var PREFERRED_FREE = [
|
|
|
244
244
|
"muse-spark-1.3-contributor-free"
|
|
245
245
|
];
|
|
246
246
|
function preferFree(models) {
|
|
247
|
-
const freeOnly = models.every((model) => model.providerID ===
|
|
247
|
+
const freeOnly = models.every((model) => model.providerID === ID10.opencode && !model.cost.some((cost) => cost.input > 0));
|
|
248
248
|
if (!freeOnly)
|
|
249
249
|
return models;
|
|
250
250
|
const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
|
|
@@ -263,9 +263,9 @@ function compatibility2(input) {
|
|
|
263
263
|
function parse5(input) {
|
|
264
264
|
const index = input.indexOf("/");
|
|
265
265
|
return {
|
|
266
|
-
providerID:
|
|
267
|
-
modelID:
|
|
266
|
+
providerID: ID10.make(index === -1 ? input : input.slice(0, index)),
|
|
267
|
+
modelID: ID9.make(index === -1 ? "" : input.slice(index + 1))
|
|
268
268
|
};
|
|
269
269
|
}
|
|
270
270
|
|
|
271
|
-
export {
|
|
271
|
+
export { ID9, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info19, Service68, node71, supportsText2, compatibility2, parse5, exports_model2, Event14 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-j7t09cbk.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-3z93btg0.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-retry-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: () => resolve2,
|
|
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 resolve2(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, resolve2, exports_variant };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-retry-j7t09cbk.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-retry-3z93btg0.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service65
|
|
11
|
+
} from "./model-retry-esgzgmhw.js";
|
|
12
12
|
import {
|
|
13
13
|
supports2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
resolve2
|
|
15
|
+
} from "./model-retry-3zfnvm0t.js";
|
|
16
16
|
import {
|
|
17
17
|
observe2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-retry-6pjqjmy2.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/config/plugin/provider.ts
|
|
24
24
|
var exports_provider = {};
|
|
25
25
|
__export(exports_provider, {
|
|
26
26
|
ConfigProviderPlugin: () => exports_provider,
|
|
27
|
-
Plugin: () =>
|
|
27
|
+
Plugin: () => Plugin25
|
|
28
28
|
});
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Money } from "@opencode/schema/money";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin25 = define({
|
|
33
33
|
id: "opencode.config.provider",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
35
|
+
const config = yield* Service65;
|
|
36
36
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
37
37
|
yield* ctx.integration.transform((integrations) => {
|
|
38
38
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -165,7 +165,7 @@ var Plugin29 = define({
|
|
|
165
165
|
models.update(providerID, id, (model) => {
|
|
166
166
|
if (config.capabilities?.reasoning !== undefined)
|
|
167
167
|
model.variants = [
|
|
168
|
-
...
|
|
168
|
+
...resolve2({ ...model, package: model.package ?? models.provider.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
|
|
169
169
|
];
|
|
170
170
|
if (config.variants !== undefined) {
|
|
171
171
|
model.variants ??= [];
|
|
@@ -201,7 +201,7 @@ var Plugin29 = define({
|
|
|
201
201
|
if (config.variants === undefined && config.capabilities?.reasoning === undefined && (!source?.base || repackaged))
|
|
202
202
|
models.update(providerID, id, (model) => {
|
|
203
203
|
model.variants = [
|
|
204
|
-
...
|
|
204
|
+
...resolve2({
|
|
205
205
|
...model,
|
|
206
206
|
package: model.package ?? models.provider.get(providerID)?.provider.package
|
|
207
207
|
})
|
|
@@ -216,4 +216,4 @@ function configuredProviders(entries) {
|
|
|
216
216
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
export {
|
|
219
|
+
export { Plugin25, exports_provider };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./model-retry-pen16d07.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-6zjm2phc.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service61
|
|
9
|
+
} from "./model-retry-156av61h.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-retry-k814nvkf.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service50;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service61), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./model-retry-esgzgmhw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service9
|
|
6
|
+
} from "./model-retry-vgk61ywp.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-retry-6pjqjmy2.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher2 = {};
|
|
16
16
|
__export(exports_location_watcher2, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin27
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin27 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service65;
|
|
26
|
+
const policy = yield* Service9;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin26 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin27, exports_location_watcher2 };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-retry-yk3mq3qx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./model-retry-1fg7mrfs.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service63,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node66
|
|
13
|
+
} from "./model-retry-94vx47d3.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-retry-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
|
-
CreateInput: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
CreateInput: () => CreateInput2,
|
|
25
|
+
Event: () => Event2,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID2,
|
|
28
|
+
Info: () => Info3,
|
|
29
|
+
NotFoundError: () => NotFoundError2,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service13,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node15
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event2 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
42
|
+
var ID2 = Pty.ID;
|
|
43
|
+
var Info3 = Pty.Info;
|
|
44
|
+
var CreateInput2 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID2
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID2
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service13 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
60
60
|
const bus = yield* Service85;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
61
|
+
const location = yield* Service80;
|
|
62
|
+
const shell = yield* Service63;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID2.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service13.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node15 = makeLocationNode({
|
|
273
|
+
service: Service13,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [node89,
|
|
275
|
+
deps: [node89, node84, node66]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID2, Info3, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service13, node15, exports_pty, Event2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service35
|
|
3
|
+
} from "./model-retry-n02etsdv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service50
|
|
6
|
+
} from "./model-retry-pen16d07.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-retry-2z1j29yd.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-retry-6zjm2phc.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service70
|
|
15
|
+
} from "./model-retry-h0ppebc3.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-retry-nszthedh.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service44
|
|
23
|
+
} from "./model-retry-ph4tm34a.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service50;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service70;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service44;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -124,7 +124,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
124
124
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
125
125
|
if (!mime.startsWith("image/"))
|
|
126
126
|
return { data: Base64.make(data), mime };
|
|
127
|
-
const image = yield*
|
|
127
|
+
const image = yield* Service35;
|
|
128
128
|
const label = attachmentLabel(input);
|
|
129
129
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
130
130
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-retry-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-retry-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-retry-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|