@opencode/core 0.0.0-dev-21561 → 0.0.0-dev-21563
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{model-resolver-034tev2y.js → generate-034tev2y.js} +2 -2
- package/dist/chunks/{model-resolver-81veg7gk.js → generate-0443psqk.js} +30 -30
- package/dist/chunks/{model-resolver-7s9p8b5q.js → generate-06e0dsx1.js} +16 -16
- package/dist/chunks/{model-resolver-m0k609qs.js → generate-07phzgjg.js} +14 -14
- package/dist/chunks/{model-resolver-vzmjdaw1.js → generate-0bke9tpm.js} +9 -9
- package/dist/chunks/{model-resolver-1mznh3r2.js → generate-0cmwyhaq.js} +31 -31
- package/dist/chunks/{model-resolver-xf4p2pg0.js → generate-0cs5dcs0.js} +15 -15
- package/dist/chunks/{model-resolver-z2bchc84.js → generate-0m6b3axq.js} +17 -17
- package/dist/chunks/{model-resolver-5f9n2b02.js → generate-0mcrt4fa.js} +4 -4
- package/dist/chunks/{model-resolver-0rq01gt9.js → generate-0rq01gt9.js} +2 -2
- package/dist/chunks/{model-resolver-7vwgx2kr.js → generate-1e4tspje.js} +3 -3
- package/dist/chunks/{model-resolver-1ep2p91f.js → generate-1ep2p91f.js} +2 -2
- package/dist/chunks/{model-resolver-ymn1zp0c.js → generate-1mtcyeq8.js} +48 -48
- package/dist/chunks/{model-resolver-y9w21xdh.js → generate-1q324bgk.js} +7 -7
- package/dist/chunks/{model-resolver-1x2knyw4.js → generate-1x2knyw4.js} +1 -1
- package/dist/chunks/{model-resolver-tetf7hhs.js → generate-231jaqzt.js} +14 -14
- package/dist/chunks/{model-resolver-9tj4b67g.js → generate-24e7end9.js} +13 -13
- package/dist/chunks/{model-resolver-xxak8n2f.js → generate-268wp9v4.js} +4 -4
- package/dist/chunks/{model-resolver-d2b9tqdk.js → generate-280dayrs.js} +22 -22
- package/dist/chunks/{model-resolver-psq9ew9c.js → generate-2hr5rmqc.js} +9 -9
- package/dist/chunks/{model-resolver-5df887yz.js → generate-2jgkbkn1.js} +19 -19
- package/dist/chunks/{model-resolver-dy267r6z.js → generate-2tfwfzen.js} +2 -2
- package/dist/chunks/{model-resolver-2z1j29yd.js → generate-2z1j29yd.js} +1 -1
- package/dist/chunks/{model-resolver-bgqkkabj.js → generate-2zqqmjez.js} +11 -11
- package/dist/chunks/{model-resolver-7v23t0sn.js → generate-38heweg8.js} +5 -5
- package/dist/chunks/{model-resolver-xaqh7jtr.js → generate-3dg2krd3.js} +27 -27
- package/dist/chunks/{model-resolver-1sdsfpt0.js → generate-3dvwpjdr.js} +35 -35
- package/dist/chunks/{model-resolver-2yjk1ef9.js → generate-3g4pre0h.js} +18 -18
- package/dist/chunks/{model-resolver-2jk202a8.js → generate-3g7vrncj.js} +32 -32
- package/dist/chunks/{model-resolver-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-k9ms0q72.js → generate-3jp652nn.js} +6 -6
- package/dist/chunks/{model-resolver-we1tgvvb.js → generate-3jzb0r2n.js} +5 -5
- package/dist/chunks/{model-resolver-3nnrz6f6.js → generate-3nnrz6f6.js} +1 -1
- package/dist/chunks/{model-resolver-z3ac7gyp.js → generate-3ntmh1g8.js} +21 -21
- package/dist/chunks/{model-resolver-56fqbvhs.js → generate-3xk26rw4.js} +5 -5
- package/dist/chunks/{model-resolver-40za9wsf.js → generate-40za9wsf.js} +2 -2
- package/dist/chunks/{model-resolver-08ftexb4.js → generate-48h67ern.js} +21 -21
- package/dist/chunks/{model-resolver-7sjdmqaj.js → generate-4c4eb9w2.js} +18 -18
- package/dist/chunks/{model-resolver-etxseyds.js → generate-4eed2b0j.js} +17 -17
- package/dist/chunks/{model-resolver-k9drn87y.js → generate-4hhvtbzy.js} +27 -27
- package/dist/chunks/{model-resolver-acmwnmb8.js → generate-4kdcmdga.js} +24 -24
- package/dist/chunks/{model-resolver-362tp65q.js → generate-4mkdw68v.js} +4 -4
- package/dist/chunks/generate-4svnxzqq.js +257 -0
- package/dist/chunks/{model-resolver-4v008n1t.js → generate-4v008n1t.js} +1 -1
- package/dist/chunks/{model-resolver-4xvmh7wp.js → generate-4xvmh7wp.js} +3 -3
- package/dist/chunks/{model-resolver-3tvx83bq.js → generate-56m9f56v.js} +25 -25
- package/dist/chunks/{model-resolver-zrbv4gdq.js → generate-5emr5dp8.js} +19 -19
- package/dist/chunks/{model-resolver-an85mpdk.js → generate-5gk89hyb.js} +12 -12
- package/dist/chunks/{model-resolver-cf9s935f.js → generate-5knrbc6f.js} +43 -43
- package/dist/chunks/{model-resolver-5m9w47nd.js → generate-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-resolver-b6vsg801.js → generate-5nnwax6m.js} +5 -5
- package/dist/chunks/{model-resolver-e3qxr5gk.js → generate-5qd3pb7m.js} +2 -2
- package/dist/chunks/{model-resolver-zgy84aax.js → generate-5xepaxvw.js} +20 -20
- package/dist/chunks/{model-resolver-cex2vn28.js → generate-5xwxezg3.js} +18 -18
- package/dist/chunks/{model-resolver-t9pmjw8g.js → generate-64pwmkab.js} +9 -9
- package/dist/chunks/{model-resolver-xr3sacq2.js → generate-67b48yf1.js} +32 -32
- package/dist/chunks/{model-resolver-jm58kwny.js → generate-6c8j4tbz.js} +25 -25
- package/dist/chunks/{model-resolver-6esdw8yj.js → generate-6esdw8yj.js} +1 -1
- package/dist/chunks/{model-resolver-z0edr6gj.js → generate-6g08cwsb.js} +22 -22
- package/dist/chunks/{model-resolver-gcw2976b.js → generate-6gddga0x.js} +20 -20
- package/dist/chunks/{model-resolver-0anhksjf.js → generate-6mw0z9b9.js} +11 -11
- package/dist/chunks/{model-resolver-6pjqjmy2.js → generate-6pjqjmy2.js} +1 -1
- package/dist/chunks/{model-resolver-4c6mfys4.js → generate-6qkfs1hq.js} +1 -1
- package/dist/chunks/{model-resolver-dx6zzgj2.js → generate-6v7f1yd0.js} +27 -27
- package/dist/chunks/{model-resolver-xezg9szt.js → generate-6zfxg6c6.js} +10 -10
- package/dist/chunks/{model-resolver-71ne8d3w.js → generate-6ztc4jbn.js} +8 -8
- package/dist/chunks/{model-resolver-r1rcp1a5.js → generate-7a9ph374.js} +4 -4
- package/dist/chunks/{model-resolver-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-7w2ypzdf.js → generate-7w2ypzdf.js} +1 -1
- package/dist/chunks/{model-resolver-6xqtcmxs.js → generate-7xg2jm5b.js} +5 -5
- package/dist/chunks/{model-resolver-yh0hw7we.js → generate-87982064.js} +10 -10
- package/dist/chunks/{model-resolver-4kxf6a3x.js → generate-883rwgqp.js} +30 -30
- package/dist/chunks/{model-resolver-my4zabxr.js → generate-8n9x2wf6.js} +2 -2
- package/dist/chunks/{model-resolver-8wtp7s3z.js → generate-8wtp7s3z.js} +1 -1
- package/dist/chunks/{model-resolver-vsgt0m8t.js → generate-8wvgy420.js} +6 -6
- package/dist/chunks/{model-resolver-91rj84md.js → generate-91rj84md.js} +1 -1
- package/dist/chunks/{model-resolver-pkam9c76.js → generate-94j4dkqe.js} +11 -11
- package/dist/chunks/{model-resolver-5ttwsr6z.js → generate-973hqt29.js} +3 -3
- package/dist/chunks/{model-resolver-998yhzzq.js → generate-998yhzzq.js} +3 -3
- package/dist/chunks/{model-resolver-tyxn5m2z.js → generate-9awrcxz4.js} +4 -4
- package/dist/chunks/{model-resolver-gj8x1tda.js → generate-9b28cy4d.js} +5 -5
- package/dist/chunks/{model-resolver-bnjwp1w3.js → generate-9ra49ptr.js} +24 -24
- package/dist/chunks/{model-resolver-b7gsrj05.js → generate-a1phgnt9.js} +14 -14
- package/dist/chunks/{model-resolver-ng4advcs.js → generate-a3t7zwft.js} +43 -43
- package/dist/chunks/{model-resolver-zmwx25fz.js → generate-a5g15581.js} +2 -2
- package/dist/chunks/{model-resolver-8h5ae6e1.js → generate-a5znd7ce.js} +3 -3
- package/dist/chunks/{model-resolver-873tmn1d.js → generate-a7zxg0bg.js} +11 -11
- package/dist/chunks/{model-resolver-rkxhwyxc.js → generate-acamw3g0.js} +12 -12
- package/dist/chunks/{model-resolver-m4cw13px.js → generate-agtp4d9h.js} +30 -30
- package/dist/chunks/{model-resolver-ky0p85ga.js → generate-ah1m9kg9.js} +15 -15
- package/dist/chunks/{model-resolver-c7pkf0mg.js → generate-apkkjdpa.js} +38 -38
- package/dist/chunks/{model-resolver-asaqahta.js → generate-asaqahta.js} +2 -2
- package/dist/chunks/{model-resolver-d9jnkx5k.js → generate-axmhfv8p.js} +5 -5
- package/dist/chunks/{model-resolver-ayjs7tqn.js → generate-ayjs7tqn.js} +2 -2
- package/dist/chunks/{model-resolver-kmjzn6q1.js → generate-az4hfc8s.js} +50 -50
- package/dist/chunks/{model-resolver-b0mv4wxm.js → generate-b0mv4wxm.js} +2 -2
- package/dist/chunks/{model-resolver-7crfef3m.js → generate-b17b73pv.js} +28 -28
- package/dist/chunks/{model-resolver-fywxn8yw.js → generate-b5p5nngv.js} +50 -50
- package/dist/chunks/{model-resolver-dgebqdnd.js → generate-ba7ngyz7.js} +36 -36
- package/dist/chunks/{model-resolver-nwnd66fk.js → generate-bbym2bqy.js} +3 -3
- package/dist/chunks/{model-resolver-0s4gbdd0.js → generate-bkjvw32t.js} +14 -14
- package/dist/chunks/{model-resolver-xd9cc171.js → generate-bstexjd6.js} +5 -5
- package/dist/chunks/{model-resolver-cs87y13h.js → generate-c1a686j5.js} +8 -8
- package/dist/chunks/{model-resolver-dqgvvwe0.js → generate-c3cfh5w6.js} +9 -9
- package/dist/chunks/{model-resolver-gtxeab11.js → generate-c8ar4m6j.js} +44 -44
- package/dist/chunks/{model-resolver-c9t2ty9q.js → generate-c9t2ty9q.js} +1 -1
- package/dist/chunks/{model-resolver-jf5na7rx.js → generate-cf7jrmsj.js} +5 -5
- package/dist/chunks/{model-resolver-2hdav3qx.js → generate-cr6fwty7.js} +7 -7
- package/dist/chunks/{model-resolver-bm4gstpq.js → generate-crfddmzc.js} +8 -8
- package/dist/chunks/{model-resolver-tm49z4r5.js → generate-ctf5g10g.js} +38 -38
- package/dist/chunks/{model-resolver-w35wzz9x.js → generate-d2dx6a7h.js} +9 -9
- package/dist/chunks/{model-resolver-dv7jmtr8.js → generate-d326b540.js} +9 -9
- package/dist/chunks/{model-resolver-d4v9tmah.js → generate-d4v9tmah.js} +2 -2
- package/dist/chunks/{model-resolver-jg26tebj.js → generate-d86va4wf.js} +21 -21
- package/dist/chunks/{model-resolver-vxxaf4jx.js → generate-d8qd4w10.js} +11 -11
- package/dist/chunks/{model-resolver-3vvx3qkg.js → generate-d9p590j3.js} +19 -19
- package/dist/chunks/{model-resolver-fe8knzhs.js → generate-df0hqdma.js} +4 -4
- package/dist/chunks/{model-resolver-yk9kn8z0.js → generate-dg96ektr.js} +18 -18
- package/dist/chunks/{model-resolver-r1k9m3eb.js → generate-dkq45v8d.js} +4 -4
- package/dist/chunks/{model-resolver-mhs2q8b0.js → generate-dq2enhqf.js} +34 -34
- package/dist/chunks/{model-resolver-4anvj0nz.js → generate-drqhczqs.js} +89 -89
- package/dist/chunks/{model-resolver-mrejt0vx.js → generate-ds4c1w6p.js} +6 -6
- package/dist/chunks/{model-resolver-atkwrhtv.js → generate-dtjdv03g.js} +4 -4
- package/dist/chunks/{model-resolver-fvyt5ase.js → generate-dw02th3g.js} +3 -3
- package/dist/chunks/{model-resolver-sq4s6wq1.js → generate-dwwyec8z.js} +6 -6
- package/dist/chunks/{model-resolver-0421tmwc.js → generate-dz8hhvgv.js} +9 -9
- package/dist/chunks/{model-resolver-dx2tr0e6.js → generate-e4dtt5ff.js} +11 -11
- package/dist/chunks/{model-resolver-361xprba.js → generate-e4nrxrzc.js} +16 -16
- package/dist/chunks/{model-resolver-e834z07m.js → generate-e834z07m.js} +1 -1
- package/dist/chunks/{model-resolver-5brge8v8.js → generate-ecfrjnaf.js} +48 -48
- package/dist/chunks/{model-resolver-nbz0maqw.js → generate-ecq052tn.js} +23 -23
- package/dist/chunks/{model-resolver-w5zwfkq2.js → generate-eez2jsbe.js} +51 -51
- package/dist/chunks/{model-resolver-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-evdtckst.js → generate-f1xnqdyr.js} +4 -4
- package/dist/chunks/{model-resolver-6a4kxdj8.js → generate-f5k7224w.js} +30 -30
- package/dist/chunks/{model-resolver-pb2pfffb.js → generate-f6wfqyz7.js} +10 -10
- package/dist/chunks/{model-resolver-3j7gb19e.js → generate-fcz54ycx.js} +19 -19
- package/dist/chunks/{model-resolver-ehfx068x.js → generate-fdp97wc0.js} +19 -19
- package/dist/chunks/{model-resolver-fffv3p7h.js → generate-fffv3p7h.js} +1 -1
- package/dist/chunks/{model-resolver-bh1et42v.js → generate-ffxnyj3q.js} +3 -3
- package/dist/chunks/{model-resolver-a3em8wep.js → generate-fq4px9zp.js} +18 -18
- package/dist/chunks/{model-resolver-fae4enn1.js → generate-fwjbw8c3.js} +13 -13
- package/dist/chunks/{model-resolver-hs0nkh4s.js → generate-fwt74e85.js} +15 -15
- package/dist/chunks/{model-resolver-bbv4y6ft.js → generate-fx06c4yw.js} +29 -29
- package/dist/chunks/{model-resolver-w687dnns.js → generate-fznmdakp.js} +4 -4
- package/dist/chunks/{model-resolver-maxw8zgf.js → generate-g1jpy47d.js} +22 -22
- package/dist/chunks/{model-resolver-a0v55zen.js → generate-g2895gq7.js} +22 -22
- package/dist/chunks/{model-resolver-g5h9c0rr.js → generate-g5h9c0rr.js} +2 -2
- package/dist/chunks/{model-resolver-cbeaw478.js → generate-g6p5rgqz.js} +14 -14
- package/dist/chunks/{model-resolver-g1e2r5aa.js → generate-g9ndtp1p.js} +4 -4
- package/dist/chunks/{model-resolver-dp37p1r3.js → generate-gd9xqwfz.js} +1 -1
- package/dist/chunks/{model-resolver-qqe3xj9j.js → generate-gfftbxav.js} +20 -20
- package/dist/chunks/{model-resolver-rg8m9xd0.js → generate-gfj1dh2k.js} +13 -13
- package/dist/chunks/{model-resolver-ag809kpc.js → generate-gn5bzjhx.js} +17 -17
- package/dist/chunks/{model-resolver-gw73nvw6.js → generate-gsyd3cda.js} +11 -11
- package/dist/chunks/{model-resolver-5defca7t.js → generate-gv9rxcjs.js} +19 -19
- package/dist/chunks/{model-resolver-0jqtqcam.js → generate-gxfvg231.js} +13 -13
- package/dist/chunks/{model-resolver-dvg82dp6.js → generate-h9q9d3sq.js} +24 -24
- package/dist/chunks/{model-resolver-ztf6n3de.js → generate-hd3k4wz8.js} +4 -4
- package/dist/chunks/{model-resolver-c1526x78.js → generate-hmmgtkw5.js} +11 -11
- package/dist/chunks/{model-resolver-57y02hse.js → generate-hq3462wm.js} +16 -16
- package/dist/chunks/{model-resolver-gaxzewmp.js → generate-hsdcm9m6.js} +35 -35
- package/dist/chunks/{model-resolver-7wxq9ndj.js → generate-hv0c9xjm.js} +28 -28
- package/dist/chunks/{model-resolver-j113cymg.js → generate-j113cymg.js} +1 -1
- package/dist/chunks/{model-resolver-zp466xy7.js → generate-j8p3npgm.js} +10 -10
- package/dist/chunks/{model-resolver-40fhy2zt.js → generate-jcbtawrq.js} +15 -15
- package/dist/chunks/{model-resolver-0pkr6qt9.js → generate-jddh4vgn.js} +54 -54
- package/dist/chunks/{model-resolver-qeaqse4k.js → generate-jgt5st1g.js} +45 -45
- package/dist/chunks/generate-jh346mvv.js +523 -0
- package/dist/chunks/{model-resolver-ypwr9vv7.js → generate-jj998gzn.js} +39 -39
- package/dist/chunks/{model-resolver-qecz1syp.js → generate-jzdfcbw4.js} +84 -84
- package/dist/chunks/generate-jztn5z23.js +18 -0
- package/dist/chunks/{model-resolver-k814nvkf.js → generate-k814nvkf.js} +1 -1
- package/dist/chunks/{model-resolver-h3c848hf.js → generate-ka2n5pfv.js} +33 -33
- package/dist/chunks/{model-resolver-ad0b5xxd.js → generate-kdx3nhfk.js} +12 -12
- package/dist/chunks/{model-resolver-1dpax7s7.js → generate-kmj6meg3.js} +37 -37
- package/dist/chunks/{model-resolver-cn7xf0c3.js → generate-kywaegby.js} +5 -5
- package/dist/chunks/{model-resolver-m1714858.js → generate-m1714858.js} +1 -1
- package/dist/chunks/{model-resolver-g7esga4v.js → generate-m37sd98t.js} +7 -7
- package/dist/chunks/{model-resolver-pja7jmt2.js → generate-m416erh4.js} +11 -11
- package/dist/chunks/{model-resolver-gs6sdnbe.js → generate-m6n3gz95.js} +21 -21
- package/dist/chunks/{model-resolver-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-maspj1v3.js → generate-maspj1v3.js} +1 -1
- package/dist/chunks/{model-resolver-me5bcav6.js → generate-me5bcav6.js} +1 -1
- package/dist/chunks/{model-resolver-7p0hmyjt.js → generate-mfmv0kv1.js} +7 -7
- package/dist/chunks/{model-resolver-tn41ynre.js → generate-mpjcpqpe.js} +21 -21
- package/dist/chunks/{model-resolver-tasvem1v.js → generate-mt3ysty9.js} +6 -6
- package/dist/chunks/{model-resolver-w26t1m11.js → generate-mtyjk5mv.js} +11 -11
- package/dist/chunks/{model-resolver-n0p0277s.js → generate-n0p0277s.js} +1 -1
- package/dist/chunks/{model-resolver-6czmj677.js → generate-n1pz9w08.js} +4 -4
- package/dist/chunks/{model-resolver-dy9wt3zt.js → generate-n521w511.js} +70 -70
- package/dist/chunks/{model-resolver-3gs3gk71.js → generate-naa9f1yr.js} +14 -14
- package/dist/chunks/{model-resolver-770pw0s1.js → generate-nah043kf.js} +4 -4
- package/dist/chunks/{model-resolver-5w7y85jn.js → generate-nc0t5309.js} +20 -20
- package/dist/chunks/{model-resolver-f6j7cyhq.js → generate-np41maqj.js} +18 -18
- package/dist/chunks/{model-resolver-p015t6z3.js → generate-p015t6z3.js} +2 -2
- package/dist/chunks/{model-resolver-p0tsr9h6.js → generate-p0tsr9h6.js} +1 -1
- package/dist/chunks/{model-resolver-aj85frbb.js → generate-p1bnnv0d.js} +11 -11
- package/dist/chunks/{model-resolver-gzrpk3yh.js → generate-p3my5sye.js} +12 -12
- package/dist/chunks/{model-resolver-p7vhpwh8.js → generate-p7vhpwh8.js} +1 -1
- package/dist/chunks/{model-resolver-exrjm4ta.js → generate-p910tjw3.js} +4 -4
- package/dist/chunks/{model-resolver-dh62xe4r.js → generate-pc1v25hk.js} +3 -3
- package/dist/chunks/{model-resolver-v7vzjxxh.js → generate-pdsqxfs4.js} +29 -29
- package/dist/chunks/{model-resolver-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-jdgy95a6.js → generate-ps3ej18z.js} +4 -4
- package/dist/chunks/{model-resolver-3f2dq5js.js → generate-q60vxn6h.js} +30 -30
- package/dist/chunks/{model-resolver-fchqce7y.js → generate-q62c5m1h.js} +40 -40
- package/dist/chunks/{model-resolver-0sd3e6sm.js → generate-qd7381sw.js} +9 -9
- package/dist/chunks/{model-resolver-4755v7r3.js → generate-qe8930r1.js} +14 -14
- package/dist/chunks/{model-resolver-qjgzc4b4.js → generate-qjgzc4b4.js} +1 -1
- package/dist/chunks/{model-resolver-r0yr0wbs.js → generate-r0yr0wbs.js} +1 -1
- package/dist/chunks/{model-resolver-dr3grpx5.js → generate-r3zyq36m.js} +13 -13
- package/dist/chunks/{model-resolver-rb9dy4dg.js → generate-rb9dy4dg.js} +1 -1
- package/dist/chunks/{model-resolver-zadgmz3x.js → generate-rdhjazzg.js} +24 -24
- package/dist/chunks/{model-resolver-q1fncbax.js → generate-rky3kepx.js} +10 -10
- package/dist/chunks/{model-resolver-jcqm84fr.js → generate-rmt6m6se.js} +9 -9
- package/dist/chunks/{model-resolver-rt5dr6hb.js → generate-rt5dr6hb.js} +1 -1
- package/dist/chunks/{model-resolver-cxrgknsm.js → generate-rv8w38an.js} +9 -9
- package/dist/chunks/{model-resolver-r3jydfqs.js → generate-s3sx9mn6.js} +13 -13
- package/dist/chunks/{model-resolver-4m6zstw0.js → generate-s84dsypd.js} +6 -6
- package/dist/chunks/{model-resolver-sqjzf8x2.js → generate-sqjzf8x2.js} +1 -1
- package/dist/chunks/{model-resolver-vywmmb7d.js → generate-srcm619j.js} +13 -13
- package/dist/chunks/{model-resolver-f6mq62gx.js → generate-t6x4gq5g.js} +15 -15
- package/dist/chunks/{model-resolver-tczq8hjw.js → generate-tczq8hjw.js} +1 -1
- package/dist/chunks/{model-resolver-kmzgegqq.js → generate-tg1vr1qt.js} +8 -8
- package/dist/chunks/{model-resolver-tw8zr1ps.js → generate-tw8zr1ps.js} +1 -1
- package/dist/chunks/{model-resolver-twv2r8f4.js → generate-twv2r8f4.js} +2 -2
- package/dist/chunks/{model-resolver-9ts33eg0.js → generate-tycew84m.js} +32 -32
- package/dist/chunks/{model-resolver-817tby3n.js → generate-v1n51q4a.js} +9 -9
- package/dist/chunks/{model-resolver-d6dkcx5p.js → generate-v2ekcwaa.js} +8 -8
- package/dist/chunks/{model-resolver-k2x2dsy8.js → generate-v52mmt0f.js} +5 -5
- package/dist/chunks/{model-resolver-66rk6f56.js → generate-v5prxdmf.js} +9 -9
- package/dist/chunks/{model-resolver-vd3b3yk9.js → generate-vd3b3yk9.js} +1 -1
- package/dist/chunks/{model-resolver-t5x9tta9.js → generate-vehp2e4d.js} +16 -16
- package/dist/chunks/{model-resolver-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-9afz5xhg.js → generate-vfgay4tf.js} +19 -19
- package/dist/chunks/{model-resolver-fxhha7v6.js → generate-vfn6hbth.js} +9 -9
- package/dist/chunks/{model-resolver-b6x45btx.js → generate-vhwf8nac.js} +8 -8
- package/dist/chunks/{model-resolver-frxcbkbz.js → generate-vhy1jp8z.js} +27 -27
- package/dist/chunks/{model-resolver-wekz2jy3.js → generate-vrhy8dh6.js} +6 -6
- package/dist/chunks/{model-resolver-vnfvdagd.js → generate-vwz214c8.js} +35 -35
- package/dist/chunks/{model-resolver-42pj4rzv.js → generate-vzy7qmck.js} +25 -25
- package/dist/chunks/{model-resolver-parpa42j.js → generate-w3d65hzj.js} +2 -2
- package/dist/chunks/{model-resolver-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-84pze0j7.js → generate-w4pz5j85.js} +21 -21
- package/dist/chunks/{model-resolver-dnenxkzx.js → generate-w72jy28c.js} +7 -7
- package/dist/chunks/{model-resolver-76cb1hcw.js → generate-w8qtt4th.js} +4 -4
- package/dist/chunks/{model-resolver-j9hjqqep.js → generate-w923jztq.js} +20 -20
- package/dist/chunks/{model-resolver-wakvkjy4.js → generate-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-resolver-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-dfks5x0x.js → generate-wmwt0t0m.js} +17 -17
- package/dist/chunks/{model-resolver-z8zh1sht.js → generate-wnv14c0b.js} +22 -22
- package/dist/chunks/{model-resolver-s67gnmqz.js → generate-wybahy8v.js} +32 -32
- package/dist/chunks/{model-resolver-tvxppb48.js → generate-x06crd5t.js} +27 -27
- package/dist/chunks/{model-resolver-ntz68qz4.js → generate-x774aw49.js} +8 -8
- package/dist/chunks/{model-resolver-hhs2jvjz.js → generate-x7fdz9fh.js} +20 -20
- package/dist/chunks/{model-resolver-s8pwnmrf.js → generate-x8hhwygw.js} +34 -34
- package/dist/chunks/{model-resolver-h7r3kzq2.js → generate-xatr71eh.js} +47 -47
- package/dist/chunks/{model-resolver-y8mr6xph.js → generate-xevjgmtb.js} +14 -14
- package/dist/chunks/{model-resolver-zsw153cf.js → generate-xf011dtc.js} +16 -16
- package/dist/chunks/{model-resolver-8eay0v1g.js → generate-xjq3zqqg.js} +11 -11
- package/dist/chunks/{model-resolver-7454dw3e.js → generate-xk77ac0a.js} +14 -14
- package/dist/chunks/{model-resolver-m4eq7axd.js → generate-xs6sb18z.js} +17 -17
- package/dist/chunks/{model-resolver-tpbnagbb.js → generate-y1bsf4pc.js} +30 -30
- package/dist/chunks/{model-resolver-e5dqjz6v.js → generate-y2tacs4v.js} +6 -6
- package/dist/chunks/{model-resolver-6gsynj7k.js → generate-y6wjeqxz.js} +15 -15
- package/dist/chunks/{model-resolver-xj1dzt64.js → generate-y8j3s4v0.js} +4 -4
- package/dist/chunks/{model-resolver-yb20nhc3.js → generate-yb20nhc3.js} +1 -1
- package/dist/chunks/{model-resolver-r2q802mc.js → generate-ybwdqt9k.js} +10 -10
- package/dist/chunks/{model-resolver-hqr24qw0.js → generate-yhjes8yv.js} +5 -5
- package/dist/chunks/{model-resolver-7we14xxk.js → generate-ynm9hr00.js} +34 -34
- package/dist/chunks/{model-resolver-9ygq16qa.js → generate-yx31kd0w.js} +20 -20
- package/dist/chunks/{model-resolver-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-158zhnz6.js → generate-z2a2ye1r.js} +12 -12
- package/dist/chunks/{model-resolver-qc854yns.js → generate-z37k9505.js} +16 -16
- package/dist/chunks/{model-resolver-z38nccrw.js → generate-z38nccrw.js} +1 -1
- package/dist/chunks/{model-resolver-hrwraf01.js → generate-zax9hrrj.js} +182 -182
- package/dist/chunks/{model-resolver-zba5tm1j.js → generate-zba5tm1j.js} +1 -1
- package/dist/chunks/{model-resolver-2vwdzrer.js → generate-zgcf70k7.js} +12 -12
- package/dist/chunks/{model-resolver-zkg84ctx.js → generate-zkg84ctx.js} +1 -1
- package/dist/chunks/{model-resolver-sznyev98.js → generate-zw4pk1bw.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- 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 +116 -116
- package/dist/config/plugin/command.js +212 -212
- 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 +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- 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 +138 -138
- 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 +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- 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 +367 -367
- 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 +76 -76
- 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 +227 -227
- 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 +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +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 +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +157 -157
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +357 -357
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- 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 +101 -101
- package/dist/model-resolver.js +99 -99
- 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 +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- 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 +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +114 -114
- 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 +116 -116
- 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 +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +2 -2
- 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 +3 -3
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- 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 +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- 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 +136 -136
- package/dist/session/context.js +164 -164
- 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 +224 -224
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +93 -93
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- 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 +1 -1
- 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 +3 -3
- package/dist/session/session.js +163 -163
- 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 +5 -5
- package/dist/session/title.js +162 -162
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +137 -137
- 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 +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +213 -213
- 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 +109 -109
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- 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 +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- 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 +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/model-resolver-0207mz92.js +0 -523
- package/dist/chunks/model-resolver-53mdf58s.js +0 -257
- package/dist/chunks/model-resolver-grzehpz7.js +0 -18
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2bv980vf.js → generate-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-5fjb7ams.js → generate-5fjb7ams.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-6q2bdcd1.js → generate-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-84wd9syh.js → generate-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a058387c.js → generate-a058387c.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hcxmzztb.js → generate-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jze0r7bz.js → generate-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-m18g726c.js → generate-m18g726c.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-pkyv6v7h.js → generate-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-ve7vex1e.js → generate-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wjj7prxr.js → generate-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z5v4ffb3.js → generate-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node45
|
|
5
|
+
} from "./generate-x774aw49.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service85,
|
|
8
|
+
node89
|
|
9
|
+
} from "./generate-kdx3nhfk.js";
|
|
10
10
|
import {
|
|
11
11
|
native2,
|
|
12
|
-
|
|
12
|
+
ID11,
|
|
13
13
|
aisdk2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-883rwgqp.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID10,
|
|
17
17
|
Family2,
|
|
18
18
|
compatibility2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-ynm9hr00.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
resolve4
|
|
22
|
+
} from "./generate-s84dsypd.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service80,
|
|
25
|
+
node84
|
|
26
|
+
} from "./generate-6zfxg6c6.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./generate-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/models-dev.ts
|
|
32
32
|
var exports_models_dev = {};
|
|
@@ -35,11 +35,11 @@ __export(exports_models_dev, {
|
|
|
35
35
|
Event: () => Event2,
|
|
36
36
|
ModelsDev: () => exports_models_dev,
|
|
37
37
|
Options: () => Options2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service14,
|
|
39
39
|
bodyDigest: () => bodyDigest2,
|
|
40
40
|
configured: () => configured2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer10,
|
|
42
|
+
node: () => node16
|
|
43
43
|
});
|
|
44
44
|
import { Cause, Context, Duration, Effect, Layer, Option, Schedule, Schema, Semaphore } from "effect";
|
|
45
45
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
@@ -67,7 +67,7 @@ function nativePackage(provider, model) {
|
|
|
67
67
|
function normalize(input) {
|
|
68
68
|
const providers = [];
|
|
69
69
|
for (const item of Object.values(input)) {
|
|
70
|
-
const providerID =
|
|
70
|
+
const providerID = ID11.make(item.id);
|
|
71
71
|
const packageName = nativePackage(item);
|
|
72
72
|
const info = {
|
|
73
73
|
id: providerID,
|
|
@@ -79,12 +79,12 @@ function normalize(input) {
|
|
|
79
79
|
const models = [];
|
|
80
80
|
for (const model of Object.values(item.models)) {
|
|
81
81
|
const baseCost = cost(model.cost);
|
|
82
|
-
const id =
|
|
82
|
+
const id = ID10.make(model.id);
|
|
83
83
|
const base = modelInfo(item, id, model, { cost: baseCost });
|
|
84
|
-
const variants =
|
|
84
|
+
const variants = resolve4({ ...base, package: nativePackage(item, model) }, supports(model));
|
|
85
85
|
models.push({ ...base, variants });
|
|
86
86
|
for (const [mode, options] of Object.entries(model.experimental?.modes ?? {})) {
|
|
87
|
-
const modeID =
|
|
87
|
+
const modeID = ID10.make(`${model.id}-${mode}`);
|
|
88
88
|
models.push(modelInfo(item, modeID, model, {
|
|
89
89
|
name: modeName(model, mode),
|
|
90
90
|
cost: mergeCost(baseCost, options.cost),
|
|
@@ -157,7 +157,7 @@ function supports(model) {
|
|
|
157
157
|
return (model.reasoning_options ?? []).map((option) => option.type === "effort" ? { type: "effort", values: option.values.filter((value) => value !== null && value !== "null") } : option);
|
|
158
158
|
}
|
|
159
159
|
function modelInfo(provider, id, model, input = {}) {
|
|
160
|
-
const providerID =
|
|
160
|
+
const providerID = ID11.make(provider.id);
|
|
161
161
|
const resolved = nativePackage(provider, model);
|
|
162
162
|
const pkg = model.provider?.npm || resolved !== nativePackage(provider) ? resolved : undefined;
|
|
163
163
|
const settings = {
|
|
@@ -166,7 +166,7 @@ function modelInfo(provider, id, model, input = {}) {
|
|
|
166
166
|
};
|
|
167
167
|
return {
|
|
168
168
|
id,
|
|
169
|
-
modelID:
|
|
169
|
+
modelID: ID10.make(model.id),
|
|
170
170
|
providerID,
|
|
171
171
|
name: input.name ?? model.name,
|
|
172
172
|
compatibility: compatibility2(model.interleaved),
|
|
@@ -200,7 +200,7 @@ var Options2 = Schema.Struct({
|
|
|
200
200
|
snapshot: Schema.optional(Schema.Boolean)
|
|
201
201
|
});
|
|
202
202
|
|
|
203
|
-
class
|
|
203
|
+
class Service14 extends Context.Service()("@opencode/ModelsDev") {
|
|
204
204
|
}
|
|
205
205
|
var CatalogJson = Schema.fromJsonString(Schema.Record(Schema.String, Schema.Unknown));
|
|
206
206
|
var decodeCatalog = (text) => Schema.decodeUnknownEffect(CatalogJson)(text).pipe(Effect.map((catalog) => catalog));
|
|
@@ -223,11 +223,11 @@ function cacheKey(source) {
|
|
|
223
223
|
function bodyDigest2(text) {
|
|
224
224
|
return Hash.sha256(text);
|
|
225
225
|
}
|
|
226
|
-
var
|
|
226
|
+
var layer10 = (options) => Layer.effect(Service14, Effect.gen(function* () {
|
|
227
227
|
const fs = yield* FSUtil.Service;
|
|
228
|
-
const bus = yield*
|
|
228
|
+
const bus = yield* Service85;
|
|
229
229
|
const app = yield* Metadata2;
|
|
230
|
-
const kv = yield*
|
|
230
|
+
const kv = yield* Service80;
|
|
231
231
|
const http = HttpClient.filterStatusOk((yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
232
232
|
retryOn: "errors-and-responses",
|
|
233
233
|
times: 2,
|
|
@@ -307,15 +307,15 @@ var layer9 = (options) => Layer.effect(Service13, Effect.gen(function* () {
|
|
|
307
307
|
if (fetch && !process.argv.includes("--get-yargs-completions")) {
|
|
308
308
|
yield* Effect.forkScoped(refresh().pipe(Effect.repeat(Schedule.spaced(ttl)), Effect.ignore));
|
|
309
309
|
}
|
|
310
|
-
return
|
|
310
|
+
return Service14.of({ get, refresh });
|
|
311
311
|
}));
|
|
312
312
|
function configured2(options) {
|
|
313
313
|
return makeGlobalNode({
|
|
314
|
-
service:
|
|
315
|
-
layer:
|
|
316
|
-
deps: [FSUtil.node,
|
|
314
|
+
service: Service14,
|
|
315
|
+
layer: layer10(options),
|
|
316
|
+
deps: [FSUtil.node, node89, node45, node84, httpClient]
|
|
317
317
|
});
|
|
318
318
|
}
|
|
319
|
-
var
|
|
319
|
+
var node16 = configured2();
|
|
320
320
|
|
|
321
|
-
export { CatalogModelStatus2, Options2,
|
|
321
|
+
export { CatalogModelStatus2, Options2, Service14, bodyDigest2, layer10, configured2, node16, exports_models_dev, Event2 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-qjgzc4b4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service85,
|
|
6
|
+
node89
|
|
7
|
+
} from "./generate-kdx3nhfk.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event16,
|
|
10
|
+
Service74,
|
|
11
|
+
node77
|
|
12
|
+
} from "./generate-fx06c4yw.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service82,
|
|
15
|
+
node86
|
|
16
|
+
} from "./generate-z37k9505.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service67,
|
|
19
|
+
node70
|
|
20
|
+
} from "./generate-9ra49ptr.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID14,
|
|
23
|
+
Service75,
|
|
24
|
+
node78
|
|
25
|
+
} from "./generate-vhy1jp8z.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./generate-vd3b3yk9.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID12,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service73,
|
|
34
|
+
node76
|
|
35
|
+
} from "./generate-f5k7224w.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./generate-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
|
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service32,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
55
|
configured: () => configured4,
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
56
|
+
layer: () => layer16,
|
|
57
|
+
node: () => node35
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -103,7 +103,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service32 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
108
|
var Options4 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -111,13 +111,13 @@ var Options4 = Schema.Struct({
|
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
117
|
-
const bus = yield*
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
114
|
+
var layer16 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service82;
|
|
116
|
+
const environment = yield* Service67;
|
|
117
|
+
const bus = yield* Service85;
|
|
118
|
+
const forms = yield* Service75;
|
|
119
|
+
const integration = yield* Service73;
|
|
120
|
+
const credentials = yield* Service74;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID12.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service74, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -160,12 +160,12 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
160
160
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
161
161
|
return;
|
|
162
162
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
163
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
163
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service74, credentials));
|
|
164
164
|
});
|
|
165
165
|
const elicitation = {
|
|
166
166
|
create: (input) => Effect.gen(function* () {
|
|
167
167
|
if (input.params.mode === "url") {
|
|
168
|
-
const formID =
|
|
168
|
+
const formID = ID14.create();
|
|
169
169
|
const elicitationID = input.params.elicitationId;
|
|
170
170
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
171
171
|
if (key)
|
|
@@ -268,7 +268,7 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
268
268
|
entry.scope = scope;
|
|
269
269
|
const authProvider = yield* connectProvider(entry);
|
|
270
270
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
271
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
271
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service67, environment), Scope.provide(scope));
|
|
272
272
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
273
273
|
if (Exit.isSuccess(result)) {
|
|
274
274
|
entry.client = result.value.connection;
|
|
@@ -393,7 +393,7 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
393
393
|
yield* startServer(name, entry);
|
|
394
394
|
}).pipe(locks.withLock(name));
|
|
395
395
|
});
|
|
396
|
-
fork(bus.subscribe(
|
|
396
|
+
fork(bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
397
397
|
const state = create3({
|
|
398
398
|
name: "mcp",
|
|
399
399
|
initial: () => ({
|
|
@@ -419,7 +419,7 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
419
419
|
}),
|
|
420
420
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
421
421
|
});
|
|
422
|
-
return
|
|
422
|
+
return Service32.of({
|
|
423
423
|
transform: state.transform,
|
|
424
424
|
reload: state.reload,
|
|
425
425
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -531,12 +531,12 @@ function mergeCatalogs(catalogs) {
|
|
|
531
531
|
}
|
|
532
532
|
function configured4(options) {
|
|
533
533
|
return makeLocationNode({
|
|
534
|
-
service:
|
|
535
|
-
layer:
|
|
536
|
-
deps: [
|
|
534
|
+
service: Service32,
|
|
535
|
+
layer: layer16(options),
|
|
536
|
+
deps: [node86, node70, node89, node78, node76, node77]
|
|
537
537
|
});
|
|
538
538
|
}
|
|
539
|
-
var
|
|
539
|
+
var node35 = configured4();
|
|
540
540
|
function toElicitationField(key, property, required) {
|
|
541
541
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
542
542
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -587,4 +587,4 @@ function toElicitationField(key, property, required) {
|
|
|
587
587
|
}
|
|
588
588
|
}
|
|
589
589
|
|
|
590
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2,
|
|
590
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service32, Options4, layer16, configured4, node35, exports_mcp4 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service49
|
|
4
|
+
} from "./generate-eez2jsbe.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service46
|
|
7
|
+
} from "./generate-5emr5dp8.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-6pjqjmy2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell = {};
|
|
17
|
+
__export(exports_shell, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell,
|
|
19
|
+
Plugin: () => Plugin30
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin30 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service49;
|
|
27
|
+
const shell = yield* Service46;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin48 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin30, exports_shell };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-d2dx6a7h.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info12
|
|
9
|
+
} from "./generate-d8qd4w10.js";
|
|
10
10
|
import {
|
|
11
11
|
Info14
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-p0tsr9h6.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info15
|
|
15
|
+
} from "./generate-9b28cy4d.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-p7vhpwh8.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info11
|
|
21
|
+
} from "./generate-7xg2jm5b.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
migrateMcp2,
|
|
29
29
|
migrateProvider2,
|
|
30
30
|
providerID2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./generate-f1xnqdyr.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./generate-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -103,7 +103,7 @@ function normalize2(input) {
|
|
|
103
103
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
104
104
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
105
105
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
106
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
106
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info12, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
107
107
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
108
108
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
109
109
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -117,7 +117,7 @@ function normalize2(input) {
|
|
|
117
117
|
model: migratedSmallModel,
|
|
118
118
|
...legacyAgents.title
|
|
119
119
|
};
|
|
120
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
120
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info12, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
121
121
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
122
122
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
123
123
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -219,7 +219,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
219
219
|
normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
|
|
220
220
|
return;
|
|
221
221
|
}
|
|
222
|
-
const server = decodeValue(
|
|
222
|
+
const server = decodeValue(Info15, value, path, diagnostics);
|
|
223
223
|
if (server !== undefined)
|
|
224
224
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
225
225
|
});
|
|
@@ -435,7 +435,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
435
435
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
436
436
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
437
437
|
return [];
|
|
438
|
-
const provider = decodeValue(
|
|
438
|
+
const provider = decodeValue(Info11, raw, path, diagnostics);
|
|
439
439
|
if (provider === undefined)
|
|
440
440
|
return [];
|
|
441
441
|
const destination = providerID2(name);
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service49
|
|
4
|
+
} from "./generate-eez2jsbe.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-6pjqjmy2.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch = {};
|
|
14
|
+
__export(exports_websearch, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
+
Plugin: () => Plugin33
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin33 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service49;
|
|
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 Plugin37 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin33, exports_websearch };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-883rwgqp.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-ynm9hr00.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service49
|
|
11
|
+
} from "./generate-eez2jsbe.js";
|
|
12
12
|
import {
|
|
13
13
|
supports2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
resolve4
|
|
15
|
+
} from "./generate-s84dsypd.js";
|
|
16
16
|
import {
|
|
17
17
|
observe2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-6pjqjmy2.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./generate-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: () => Plugin29
|
|
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 Plugin29 = define({
|
|
33
33
|
id: "opencode.config.provider",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
35
|
+
const config = yield* Service49;
|
|
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 Plugin44 = define({
|
|
|
165
165
|
models.update(providerID, id, (model) => {
|
|
166
166
|
if (config.capabilities?.reasoning !== undefined)
|
|
167
167
|
model.variants = [
|
|
168
|
-
...
|
|
168
|
+
...resolve4({ ...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 Plugin44 = 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
|
+
...resolve4({
|
|
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 { Plugin29, exports_provider };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./generate-z37k9505.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./generate-eez2jsbe.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service81
|
|
9
|
+
} from "./generate-fwt74e85.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
make10
|
|
12
|
+
} from "./generate-pc1v25hk.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-6pjqjmy2.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/formatter.ts
|
|
21
21
|
var exports_formatter = {};
|
|
22
22
|
__export(exports_formatter, {
|
|
23
23
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin34
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -29,14 +29,14 @@ import { Global } from "@opencode/util/global";
|
|
|
29
29
|
import { Npm } from "@opencode/util/npm";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin34 = define({
|
|
33
33
|
id: "opencode.config.formatter",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
36
|
-
const formatter = yield*
|
|
35
|
+
const config = yield* Service49;
|
|
36
|
+
const formatter = yield* Service81;
|
|
37
37
|
const fs = yield* FSUtil.Service;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service82;
|
|
40
40
|
const npm = yield* Npm.Service;
|
|
41
41
|
const processes = yield* AppProcess.Service;
|
|
42
42
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -44,7 +44,7 @@ var Plugin43 = define({
|
|
|
44
44
|
const configured = resolve(loaded.entries);
|
|
45
45
|
if (!configured)
|
|
46
46
|
return;
|
|
47
|
-
const builtIns =
|
|
47
|
+
const builtIns = make10({
|
|
48
48
|
directory: location.directory,
|
|
49
49
|
worktree: location.project.directory,
|
|
50
50
|
fs,
|
|
@@ -85,4 +85,4 @@ function resolve(entries) {
|
|
|
85
85
|
}, undefined);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Plugin34, exports_formatter };
|