@opencode/core 0.0.0-dev-21559 → 0.0.0-dev-21561
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 +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/model-resolver-0207mz92.js +523 -0
- package/dist/chunks/{agent-034tev2y.js → model-resolver-034tev2y.js} +2 -2
- package/dist/chunks/{agent-cwa6csj7.js → model-resolver-0421tmwc.js} +2 -2
- package/dist/chunks/{agent-v71mf45a.js → model-resolver-08ftexb4.js} +17 -17
- package/dist/chunks/{agent-zwxs4smc.js → model-resolver-0anhksjf.js} +13 -13
- package/dist/chunks/{agent-xgyvc81b.js → model-resolver-0jqtqcam.js} +13 -13
- package/dist/chunks/{agent-b60a0p85.js → model-resolver-0pkr6qt9.js} +57 -57
- package/dist/chunks/{agent-d5h0167e.js → model-resolver-0rq01gt9.js} +5 -5
- package/dist/chunks/{agent-2vd2ww1t.js → model-resolver-0s4gbdd0.js} +11 -11
- package/dist/chunks/{agent-q20pbgba.js → model-resolver-0sd3e6sm.js} +9 -9
- package/dist/chunks/{agent-tjsfqyz1.js → model-resolver-158zhnz6.js} +10 -10
- package/dist/chunks/{agent-y8k9ntag.js → model-resolver-1dpax7s7.js} +28 -28
- package/dist/chunks/{agent-1ep2p91f.js → model-resolver-1ep2p91f.js} +2 -2
- package/dist/chunks/{agent-8423s3gk.js → model-resolver-1mznh3r2.js} +29 -29
- package/dist/chunks/{agent-zg5n0cvz.js → model-resolver-1sdsfpt0.js} +35 -35
- package/dist/chunks/{agent-6827pfxn.js → model-resolver-1x2knyw4.js} +1 -1
- package/dist/chunks/{agent-nyxdgnr4.js → model-resolver-2hdav3qx.js} +7 -7
- package/dist/chunks/{agent-9jtgc0ag.js → model-resolver-2jk202a8.js} +35 -35
- package/dist/chunks/model-resolver-2vwdzrer.js +26 -0
- package/dist/chunks/{agent-zk2rfxgs.js → model-resolver-2yjk1ef9.js} +18 -18
- package/dist/chunks/{agent-9wev2pgg.js → model-resolver-2z1j29yd.js} +1 -1
- package/dist/chunks/{agent-n4bxf1bq.js → model-resolver-361xprba.js} +16 -16
- package/dist/chunks/{agent-0e181atj.js → model-resolver-362tp65q.js} +8 -8
- package/dist/chunks/{agent-c2ym5zbg.js → model-resolver-3f2dq5js.js} +32 -32
- package/dist/chunks/{agent-zwhbkwqf.js → model-resolver-3gs3gk71.js} +18 -18
- package/dist/chunks/{agent-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{agent-ktqrr5j9.js → model-resolver-3j7gb19e.js} +12 -12
- package/dist/chunks/{agent-54ma36ye.js → model-resolver-3nnrz6f6.js} +1 -1
- package/dist/chunks/{agent-aw089k6n.js → model-resolver-3tvx83bq.js} +27 -27
- package/dist/chunks/{agent-e654tkxv.js → model-resolver-3vvx3qkg.js} +16 -16
- package/dist/chunks/{agent-0cn9gq1n.js → model-resolver-40fhy2zt.js} +15 -15
- package/dist/chunks/{agent-bjx1sjef.js → model-resolver-40za9wsf.js} +2 -2
- package/dist/chunks/{agent-j1eznksd.js → model-resolver-42pj4rzv.js} +25 -25
- package/dist/chunks/{agent-76cxhb07.js → model-resolver-4755v7r3.js} +9 -9
- package/dist/chunks/{agent-yf6cfcxz.js → model-resolver-4anvj0nz.js} +88 -88
- package/dist/chunks/{agent-g2zwajds.js → model-resolver-4c6mfys4.js} +1 -1
- package/dist/chunks/{agent-rhrndxa2.js → model-resolver-4kxf6a3x.js} +35 -31
- package/dist/chunks/{agent-jnpb6kqk.js → model-resolver-4m6zstw0.js} +3 -3
- package/dist/chunks/{agent-zr2ceqn5.js → model-resolver-4v008n1t.js} +1 -1
- package/dist/chunks/{agent-qp7m8750.js → model-resolver-4xvmh7wp.js} +3 -3
- package/dist/chunks/model-resolver-53mdf58s.js +257 -0
- package/dist/chunks/{agent-b9312sca.js → model-resolver-56fqbvhs.js} +2 -2
- package/dist/chunks/{agent-b2gqg30f.js → model-resolver-57y02hse.js} +16 -16
- package/dist/chunks/{agent-rm3b56at.js → model-resolver-5brge8v8.js} +50 -50
- package/dist/chunks/{agent-svdvx995.js → model-resolver-5defca7t.js} +32 -32
- package/dist/chunks/{agent-ntcam9rv.js → model-resolver-5df887yz.js} +19 -19
- package/dist/chunks/{agent-8vd89vx3.js → model-resolver-5f9n2b02.js} +4 -4
- package/dist/chunks/{agent-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
- package/dist/chunks/{agent-3zewz7xc.js → model-resolver-5ttwsr6z.js} +3 -3
- package/dist/chunks/{agent-c9scfykt.js → model-resolver-5w7y85jn.js} +12 -12
- package/dist/chunks/{agent-ndn5nttk.js → model-resolver-66rk6f56.js} +9 -9
- package/dist/chunks/{agent-64abga9g.js → model-resolver-6a4kxdj8.js} +24 -24
- package/dist/chunks/{agent-sk5011s6.js → model-resolver-6czmj677.js} +4 -4
- package/dist/chunks/{agent-zxq2ej10.js → model-resolver-6esdw8yj.js} +1 -1
- package/dist/chunks/{agent-7m0k4634.js → model-resolver-6gsynj7k.js} +15 -15
- package/dist/chunks/{agent-qsdy395h.js → model-resolver-6pjqjmy2.js} +1 -1
- package/dist/chunks/{agent-54cckf1a.js → model-resolver-6xqtcmxs.js} +5 -5
- package/dist/chunks/{agent-h22kh94c.js → model-resolver-71ne8d3w.js} +6 -6
- package/dist/chunks/{agent-c484vbkt.js → model-resolver-7454dw3e.js} +11 -11
- package/dist/chunks/{agent-89znhe33.js → model-resolver-76cb1hcw.js} +4 -4
- package/dist/chunks/{agent-1ep4rre3.js → model-resolver-770pw0s1.js} +1 -1
- package/dist/chunks/{agent-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{agent-sp2b9xzv.js → model-resolver-7crfef3m.js} +28 -28
- package/dist/chunks/{agent-1wy3gn7h.js → model-resolver-7p0hmyjt.js} +4 -4
- package/dist/chunks/{agent-hkd76wam.js → model-resolver-7s9p8b5q.js} +19 -19
- package/dist/chunks/{agent-z4dyzcgg.js → model-resolver-7sjdmqaj.js} +15 -15
- package/dist/chunks/{agent-n9kd73fy.js → model-resolver-7v23t0sn.js} +5 -5
- package/dist/chunks/{agent-xrt977hg.js → model-resolver-7vwgx2kr.js} +3 -3
- package/dist/chunks/{agent-kwb1v3vj.js → model-resolver-7w2ypzdf.js} +1 -1
- package/dist/chunks/{agent-dkase1ea.js → model-resolver-7we14xxk.js} +31 -31
- package/dist/chunks/{agent-92zns5dy.js → model-resolver-7wxq9ndj.js} +25 -25
- package/dist/chunks/{agent-y9793g9a.js → model-resolver-817tby3n.js} +6 -6
- package/dist/chunks/{agent-3spbe93k.js → model-resolver-81veg7gk.js} +20 -20
- package/dist/chunks/{agent-6scxdq94.js → model-resolver-84pze0j7.js} +21 -21
- package/dist/chunks/{agent-ev0vvt40.js → model-resolver-873tmn1d.js} +11 -11
- package/dist/chunks/{agent-n9tqm6c9.js → model-resolver-8eay0v1g.js} +8 -8
- package/dist/chunks/{agent-39n3vqkw.js → model-resolver-8h5ae6e1.js} +3 -3
- package/dist/chunks/{agent-h6vf3j39.js → model-resolver-8wtp7s3z.js} +1 -1
- package/dist/chunks/{agent-h8vwnyd8.js → model-resolver-91rj84md.js} +1 -1
- package/dist/chunks/{agent-998yhzzq.js → model-resolver-998yhzzq.js} +3 -3
- package/dist/chunks/{agent-k7mbsg3c.js → model-resolver-9afz5xhg.js} +29 -29
- package/dist/chunks/{agent-bc7q5vrg.js → model-resolver-9tj4b67g.js} +13 -13
- package/dist/chunks/{agent-8bf1vej8.js → model-resolver-9ts33eg0.js} +32 -32
- package/dist/chunks/{agent-bhj7yhfp.js → model-resolver-9ygq16qa.js} +28 -28
- package/dist/chunks/{agent-zhj7pt8s.js → model-resolver-a0v55zen.js} +25 -25
- package/dist/chunks/{agent-xshm6x7r.js → model-resolver-a3em8wep.js} +22 -22
- package/dist/chunks/{agent-twy6e1pt.js → model-resolver-acmwnmb8.js} +22 -22
- package/dist/chunks/{agent-tascwatk.js → model-resolver-ad0b5xxd.js} +12 -12
- package/dist/chunks/{agent-g3b65czc.js → model-resolver-ag809kpc.js} +22 -22
- package/dist/chunks/{agent-p8vnz59a.js → model-resolver-aj85frbb.js} +11 -11
- package/dist/chunks/{agent-g72yd4k4.js → model-resolver-an85mpdk.js} +12 -12
- package/dist/chunks/{agent-ng3918dk.js → model-resolver-asaqahta.js} +6 -6
- package/dist/chunks/{agent-277eer69.js → model-resolver-atkwrhtv.js} +4 -4
- package/dist/chunks/{agent-ayjs7tqn.js → model-resolver-ayjs7tqn.js} +2 -2
- package/dist/chunks/{agent-3hwn7j4h.js → model-resolver-b0mv4wxm.js} +2 -2
- package/dist/chunks/{agent-cr9hweqv.js → model-resolver-b6vsg801.js} +2 -2
- package/dist/chunks/{agent-5rr2xw51.js → model-resolver-b6x45btx.js} +8 -8
- package/dist/chunks/{agent-wb1k0b0z.js → model-resolver-b7gsrj05.js} +9 -9
- package/dist/chunks/{agent-8k49cjh1.js → model-resolver-bbv4y6ft.js} +31 -31
- package/dist/chunks/{agent-06xye173.js → model-resolver-bgqkkabj.js} +11 -11
- package/dist/chunks/{agent-krdey6nc.js → model-resolver-bh1et42v.js} +6 -6
- package/dist/chunks/{agent-ahd542yp.js → model-resolver-bm4gstpq.js} +8 -8
- package/dist/chunks/{agent-btchm180.js → model-resolver-bnjwp1w3.js} +31 -28
- package/dist/chunks/{agent-vcykmhej.js → model-resolver-c1526x78.js} +14 -14
- package/dist/chunks/{agent-n9xp8ka0.js → model-resolver-c7pkf0mg.js} +35 -35
- package/dist/chunks/{agent-e7gxy7fd.js → model-resolver-c9t2ty9q.js} +1 -1
- package/dist/chunks/{agent-gvk2e4nv.js → model-resolver-cbeaw478.js} +14 -14
- package/dist/chunks/{agent-pq7ehxfq.js → model-resolver-cex2vn28.js} +18 -18
- package/dist/chunks/{agent-b0nwj2n5.js → model-resolver-cf9s935f.js} +41 -41
- package/dist/chunks/{agent-sb9w5nny.js → model-resolver-cn7xf0c3.js} +3 -3
- package/dist/chunks/{agent-1gfgk62c.js → model-resolver-cs87y13h.js} +8 -8
- package/dist/chunks/{agent-qcsawjgq.js → model-resolver-cxrgknsm.js} +9 -9
- package/dist/chunks/{agent-xenxtz2r.js → model-resolver-d2b9tqdk.js} +18 -18
- package/dist/chunks/{agent-0vbcp93d.js → model-resolver-d4v9tmah.js} +2 -2
- package/dist/chunks/{agent-b0xapsmc.js → model-resolver-d6dkcx5p.js} +8 -8
- package/dist/chunks/{agent-yfb8499c.js → model-resolver-d9jnkx5k.js} +1 -1
- package/dist/chunks/{agent-8x019s04.js → model-resolver-dfks5x0x.js} +13 -13
- package/dist/chunks/{agent-9ava3as1.js → model-resolver-dgebqdnd.js} +36 -36
- package/dist/chunks/{agent-pc1v25hk.js → model-resolver-dh62xe4r.js} +3 -3
- package/dist/chunks/{agent-h5btj78v.js → model-resolver-dnenxkzx.js} +7 -7
- package/dist/chunks/{agent-f06p7v79.js → model-resolver-dp37p1r3.js} +1 -1
- package/dist/chunks/{agent-0bg0bx69.js → model-resolver-dqgvvwe0.js} +9 -9
- package/dist/chunks/{agent-y1twntmg.js → model-resolver-dr3grpx5.js} +13 -13
- package/dist/chunks/{agent-8a61520m.js → model-resolver-dv7jmtr8.js} +11 -11
- package/dist/chunks/{agent-pjtv5xgn.js → model-resolver-dvg82dp6.js} +33 -33
- package/dist/chunks/{agent-nwg5v2wf.js → model-resolver-dx2tr0e6.js} +11 -11
- package/dist/chunks/{agent-djb6c8mr.js → model-resolver-dx6zzgj2.js} +24 -24
- package/dist/chunks/{agent-fmjx2h3e.js → model-resolver-dy267r6z.js} +2 -2
- package/dist/chunks/{agent-60ds0mnt.js → model-resolver-dy9wt3zt.js} +74 -74
- package/dist/chunks/{agent-5qd3pb7m.js → model-resolver-e3qxr5gk.js} +2 -2
- package/dist/chunks/{agent-t550f9t1.js → model-resolver-e5dqjz6v.js} +4 -4
- package/dist/chunks/{agent-8m6m0r52.js → model-resolver-e834z07m.js} +1 -1
- package/dist/chunks/{agent-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{agent-zgq2zk3m.js → model-resolver-ehfx068x.js} +15 -15
- package/dist/chunks/{agent-j414fcmn.js → model-resolver-etxseyds.js} +17 -17
- package/dist/chunks/{agent-97gt6j6v.js → model-resolver-evdtckst.js} +4 -4
- package/dist/chunks/{agent-8w9gpa2a.js → model-resolver-exrjm4ta.js} +4 -4
- package/dist/chunks/{agent-ws4pm92m.js → model-resolver-f6j7cyhq.js} +20 -20
- package/dist/chunks/{agent-f4wgghpj.js → model-resolver-f6mq62gx.js} +15 -15
- package/dist/chunks/{agent-30y6nqd9.js → model-resolver-fae4enn1.js} +13 -13
- package/dist/chunks/{agent-ypxwtm4x.js → model-resolver-fchqce7y.js} +37 -37
- package/dist/chunks/{agent-tr99e1w1.js → model-resolver-fe8knzhs.js} +4 -4
- package/dist/chunks/{agent-n6mrmtb3.js → model-resolver-fffv3p7h.js} +1 -1
- package/dist/chunks/{agent-0rtpdasm.js → model-resolver-frxcbkbz.js} +26 -26
- package/dist/chunks/{agent-qnzjvx7w.js → model-resolver-fvyt5ase.js} +3 -3
- package/dist/chunks/{agent-93yh5dc7.js → model-resolver-fxhha7v6.js} +11 -11
- package/dist/chunks/{agent-sq7qz21n.js → model-resolver-fywxn8yw.js} +50 -50
- package/dist/chunks/{agent-h9pnpq88.js → model-resolver-g1e2r5aa.js} +1 -1
- package/dist/chunks/{agent-eej6y6fw.js → model-resolver-g5h9c0rr.js} +2 -2
- package/dist/chunks/{agent-xfkkasph.js → model-resolver-g7esga4v.js} +7 -8
- package/dist/chunks/{agent-g3jry2r0.js → model-resolver-gaxzewmp.js} +35 -35
- package/dist/chunks/{agent-tnypmhpx.js → model-resolver-gcw2976b.js} +9 -9
- package/dist/chunks/{agent-g6yfr6ja.js → model-resolver-gj8x1tda.js} +5 -5
- package/dist/chunks/model-resolver-grzehpz7.js +18 -0
- package/dist/chunks/{agent-1wcsaky3.js → model-resolver-gs6sdnbe.js} +12 -12
- package/dist/chunks/{agent-a3gjs1qw.js → model-resolver-gtxeab11.js} +25 -25
- package/dist/chunks/{agent-b5efm14a.js → model-resolver-gw73nvw6.js} +6 -6
- package/dist/chunks/{agent-x395z3h3.js → model-resolver-gzrpk3yh.js} +7 -7
- package/dist/chunks/{agent-smqp6h5x.js → model-resolver-h3c848hf.js} +19 -19
- package/dist/chunks/{agent-h3hta0fv.js → model-resolver-h7r3kzq2.js} +52 -52
- package/dist/chunks/{agent-a5x7x9kw.js → model-resolver-hhs2jvjz.js} +20 -20
- package/dist/chunks/{agent-8ww2gede.js → model-resolver-hqr24qw0.js} +5 -5
- package/dist/chunks/{agent-72ynmsqb.js → model-resolver-hrwraf01.js} +160 -160
- package/dist/chunks/{agent-m2bbs62m.js → model-resolver-hs0nkh4s.js} +15 -15
- package/dist/chunks/{agent-b11a7tx7.js → model-resolver-j113cymg.js} +1 -1
- package/dist/chunks/{agent-4bqcy7j7.js → model-resolver-j9hjqqep.js} +29 -29
- package/dist/chunks/{agent-r70na3yp.js → model-resolver-jcqm84fr.js} +9 -9
- package/dist/chunks/{agent-xe9rh51h.js → model-resolver-jdgy95a6.js} +2 -2
- package/dist/chunks/{agent-mq3tyw2r.js → model-resolver-jf5na7rx.js} +5 -5
- package/dist/chunks/{agent-nd3tx038.js → model-resolver-jg26tebj.js} +23 -23
- package/dist/chunks/{agent-658y71pm.js → model-resolver-jm58kwny.js} +25 -25
- package/dist/chunks/{agent-gx42yg2y.js → model-resolver-k2x2dsy8.js} +9 -9
- package/dist/chunks/{agent-vzs5sf6e.js → model-resolver-k814nvkf.js} +1 -1
- package/dist/chunks/{agent-fs73a89a.js → model-resolver-k9drn87y.js} +27 -27
- package/dist/chunks/{agent-gqc3hykc.js → model-resolver-k9ms0q72.js} +6 -6
- package/dist/chunks/{agent-b0b1syqq.js → model-resolver-kmjzn6q1.js} +50 -50
- package/dist/chunks/{agent-9hn6k4tm.js → model-resolver-kmzgegqq.js} +8 -8
- package/dist/chunks/{agent-vgfdpj26.js → model-resolver-ky0p85ga.js} +15 -15
- package/dist/chunks/{agent-xj13yeyq.js → model-resolver-m0k609qs.js} +8 -8
- package/dist/chunks/{agent-3zsf4n22.js → model-resolver-m1714858.js} +1 -1
- package/dist/chunks/{agent-k6hwnssb.js → model-resolver-m4cw13px.js} +32 -32
- package/dist/chunks/{agent-qkdq18ke.js → model-resolver-m4eq7axd.js} +17 -17
- package/dist/chunks/{agent-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{agent-maspj1v3.js → model-resolver-maspj1v3.js} +1 -1
- package/dist/chunks/{agent-p9gx55xe.js → model-resolver-maxw8zgf.js} +20 -20
- package/dist/chunks/{agent-8mywswrd.js → model-resolver-me5bcav6.js} +1 -1
- package/dist/chunks/{agent-vgn4papj.js → model-resolver-mhs2q8b0.js} +38 -38
- package/dist/chunks/{agent-2gs5rnc2.js → model-resolver-mrejt0vx.js} +6 -6
- package/dist/chunks/{agent-hzrfc1p4.js → model-resolver-my4zabxr.js} +3 -3
- package/dist/chunks/{agent-fcy631f0.js → model-resolver-n0p0277s.js} +1 -1
- package/dist/chunks/{agent-4w15n2v0.js → model-resolver-nbz0maqw.js} +20 -20
- package/dist/chunks/{agent-b3gp8cby.js → model-resolver-ng4advcs.js} +35 -35
- package/dist/chunks/{agent-cre9sv7v.js → model-resolver-ntz68qz4.js} +11 -11
- package/dist/chunks/{agent-5mx90py9.js → model-resolver-nwnd66fk.js} +3 -3
- package/dist/chunks/{agent-775gj3j1.js → model-resolver-p015t6z3.js} +2 -2
- package/dist/chunks/{agent-v5dkyp31.js → model-resolver-p0tsr9h6.js} +4 -4
- package/dist/chunks/{agent-qgn6gcr1.js → model-resolver-p7vhpwh8.js} +1 -1
- package/dist/chunks/{agent-7qh4aqtb.js → model-resolver-parpa42j.js} +2 -2
- package/dist/chunks/{agent-hfbyhya8.js → model-resolver-pb2pfffb.js} +10 -10
- package/dist/chunks/{agent-c4jysj7e.js → model-resolver-pja7jmt2.js} +11 -11
- package/dist/chunks/{agent-bqwheb6v.js → model-resolver-pkam9c76.js} +11 -11
- package/dist/chunks/{agent-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{agent-vak4j5e1.js → model-resolver-psq9ew9c.js} +9 -9
- package/dist/chunks/{agent-r2g6g664.js → model-resolver-q1fncbax.js} +10 -10
- package/dist/chunks/{agent-e0tmjqd2.js → model-resolver-qc854yns.js} +16 -16
- package/dist/chunks/{agent-qrpk9c9k.js → model-resolver-qeaqse4k.js} +45 -45
- package/dist/chunks/{agent-pfmyemp7.js → model-resolver-qecz1syp.js} +86 -86
- package/dist/chunks/{agent-y71avatq.js → model-resolver-qjgzc4b4.js} +1 -1
- package/dist/chunks/{agent-f8rdyd8z.js → model-resolver-qqe3xj9j.js} +10 -10
- package/dist/chunks/{agent-tyytaxap.js → model-resolver-r0yr0wbs.js} +1 -1
- package/dist/chunks/{agent-8sze2n9a.js → model-resolver-r1k9m3eb.js} +4 -4
- package/dist/chunks/{agent-9tcm4z7n.js → model-resolver-r1rcp1a5.js} +2 -2
- package/dist/chunks/{agent-v3sm3b29.js → model-resolver-r2q802mc.js} +10 -10
- package/dist/chunks/{agent-zmjze8as.js → model-resolver-r3jydfqs.js} +13 -13
- package/dist/chunks/{agent-tazgh4e4.js → model-resolver-rb9dy4dg.js} +1 -1
- package/dist/chunks/{agent-2rczfdfv.js → model-resolver-rg8m9xd0.js} +13 -13
- package/dist/chunks/{agent-gpnk9bds.js → model-resolver-rkxhwyxc.js} +9 -9
- package/dist/chunks/{agent-3tvqynh2.js → model-resolver-rt5dr6hb.js} +1 -1
- package/dist/chunks/{agent-aq6ssqh8.js → model-resolver-s67gnmqz.js} +37 -37
- package/dist/chunks/{agent-0c04ntqn.js → model-resolver-s8pwnmrf.js} +37 -37
- package/dist/chunks/{agent-tcay1cqt.js → model-resolver-sq4s6wq1.js} +6 -6
- package/dist/chunks/{agent-6xb47vfp.js → model-resolver-sqjzf8x2.js} +1 -1
- package/dist/chunks/{agent-zk8c4w5t.js → model-resolver-sznyev98.js} +5 -5
- package/dist/chunks/{agent-01kz1ps7.js → model-resolver-t5x9tta9.js} +16 -16
- package/dist/chunks/{agent-t93swj6g.js → model-resolver-t9pmjw8g.js} +9 -9
- package/dist/chunks/{agent-hbb7npd7.js → model-resolver-tasvem1v.js} +6 -6
- package/dist/chunks/{agent-gd4qta3r.js → model-resolver-tczq8hjw.js} +1 -1
- package/dist/chunks/{agent-6dxqerh2.js → model-resolver-tetf7hhs.js} +14 -14
- package/dist/chunks/{agent-cxchh17q.js → model-resolver-tm49z4r5.js} +21 -21
- package/dist/chunks/{agent-xs09rgb4.js → model-resolver-tn41ynre.js} +21 -21
- package/dist/chunks/{agent-zk00g8zz.js → model-resolver-tpbnagbb.js} +30 -30
- package/dist/chunks/{agent-xcs1qr88.js → model-resolver-tvxppb48.js} +27 -27
- package/dist/chunks/{agent-tdstcens.js → model-resolver-tw8zr1ps.js} +1 -1
- package/dist/chunks/{agent-v7p4zvkq.js → model-resolver-twv2r8f4.js} +2 -2
- package/dist/chunks/{agent-xaq53c1m.js → model-resolver-tyxn5m2z.js} +4 -4
- package/dist/chunks/{agent-sj1zydaf.js → model-resolver-v7vzjxxh.js} +23 -23
- package/dist/chunks/{agent-rdw6cm16.js → model-resolver-vd3b3yk9.js} +1 -1
- package/dist/chunks/{agent-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{agent-p8z5pjn4.js → model-resolver-vnfvdagd.js} +35 -35
- package/dist/chunks/{agent-0gcad0bv.js → model-resolver-vsgt0m8t.js} +6 -6
- package/dist/chunks/{agent-dys7k0s0.js → model-resolver-vxxaf4jx.js} +11 -11
- package/dist/chunks/{agent-ne0dd1rk.js → model-resolver-vywmmb7d.js} +21 -21
- package/dist/chunks/{agent-fdms3n6w.js → model-resolver-vzmjdaw1.js} +9 -9
- package/dist/chunks/{agent-ttxw2dcy.js → model-resolver-w26t1m11.js} +11 -11
- package/dist/chunks/{agent-waskdk5r.js → model-resolver-w35wzz9x.js} +9 -9
- package/dist/chunks/{agent-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{agent-1qbbqxat.js → model-resolver-w5zwfkq2.js} +51 -51
- package/dist/chunks/{agent-hq3c8me3.js → model-resolver-w687dnns.js} +4 -4
- package/dist/chunks/{agent-wakvkjy4.js → model-resolver-wakvkjy4.js} +1 -1
- package/dist/chunks/{agent-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{agent-8gvnjk36.js → model-resolver-we1tgvvb.js} +3 -3
- package/dist/chunks/{agent-re229bga.js → model-resolver-wekz2jy3.js} +12 -12
- package/dist/chunks/{agent-y1gbkt6d.js → model-resolver-xaqh7jtr.js} +27 -27
- package/dist/chunks/{agent-w1eejvng.js → model-resolver-xd9cc171.js} +1 -1
- package/dist/chunks/{agent-87bdh2h2.js → model-resolver-xezg9szt.js} +10 -10
- package/dist/chunks/{agent-7623g4n6.js → model-resolver-xf4p2pg0.js} +16 -16
- package/dist/chunks/{agent-6tphdy7g.js → model-resolver-xj1dzt64.js} +4 -4
- package/dist/chunks/{agent-bnq8ffg3.js → model-resolver-xr3sacq2.js} +32 -32
- package/dist/chunks/{agent-vbgzaw66.js → model-resolver-xxak8n2f.js} +4 -4
- package/dist/chunks/{agent-9g9xrmrw.js → model-resolver-y8mr6xph.js} +11 -11
- package/dist/chunks/{agent-awzqkd9p.js → model-resolver-y9w21xdh.js} +9 -9
- package/dist/chunks/{agent-pjvnvgmy.js → model-resolver-yb20nhc3.js} +1 -1
- package/dist/chunks/{agent-gabnxzjb.js → model-resolver-yh0hw7we.js} +10 -10
- package/dist/chunks/{agent-4rc13h46.js → model-resolver-yk9kn8z0.js} +18 -18
- package/dist/chunks/{agent-1waxmwv9.js → model-resolver-ymn1zp0c.js} +48 -48
- package/dist/chunks/{agent-4cpvsvst.js → model-resolver-ypwr9vv7.js} +41 -41
- package/dist/chunks/{agent-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{agent-kby49ynp.js → model-resolver-z0edr6gj.js} +22 -22
- package/dist/chunks/{agent-e0qjs091.js → model-resolver-z2bchc84.js} +17 -17
- package/dist/chunks/{agent-y1fvbwt7.js → model-resolver-z38nccrw.js} +1 -1
- package/dist/chunks/{agent-s59cy3r3.js → model-resolver-z3ac7gyp.js} +21 -21
- package/dist/chunks/{agent-b1wrcdv1.js → model-resolver-z8zh1sht.js} +24 -24
- package/dist/chunks/{agent-wez96qer.js → model-resolver-zadgmz3x.js} +21 -21
- package/dist/chunks/{agent-addxnjmp.js → model-resolver-zba5tm1j.js} +4 -4
- package/dist/chunks/{agent-mvd2y75j.js → model-resolver-zgy84aax.js} +20 -20
- package/dist/chunks/{agent-hgz4x7wa.js → model-resolver-zkg84ctx.js} +1 -1
- package/dist/chunks/{agent-rxrz6b15.js → model-resolver-zmwx25fz.js} +2 -2
- package/dist/chunks/{agent-snvy5g5t.js → model-resolver-zp466xy7.js} +10 -10
- package/dist/chunks/{agent-nw3tt376.js → model-resolver-zrbv4gdq.js} +13 -13
- package/dist/chunks/{agent-kt55wntw.js → model-resolver-zsw153cf.js} +18 -18
- package/dist/chunks/{agent-dhmh7aw6.js → model-resolver-ztf6n3de.js} +4 -4
- 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 +116 -116
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +133 -133
- 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 +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 +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- 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 +115 -115
- 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 +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 +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 +2 -2
- package/dist/filesystem/location-watcher.js +221 -221
- 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 +84 -84
- 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 +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 +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +74 -74
- 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 +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- 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 +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- 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 +92 -92
- 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 +1 -1
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +115 -115
- 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 +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 +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 +76 -76
- 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 +347 -347
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- 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 +5 -5
- 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 +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 +2 -2
- 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 +5 -5
- 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 +168 -168
- 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 +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +95 -95
- 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 +139 -139
- 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 +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- 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 +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 +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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +96 -96
- package/package.json +9 -9
- package/dist/chunks/agent-5d10wpg8.js +0 -257
- package/dist/chunks/agent-9sbwc68p.js +0 -523
- package/dist/chunks/agent-gyce5qg1.js +0 -18
- package/dist/chunks/agent-m3gkkj97.js +0 -26
- /package/dist/chunks/{agent-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{agent-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{agent-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{agent-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{agent-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{agent-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{agent-2bv980vf.js → model-resolver-2bv980vf.js} +0 -0
- /package/dist/chunks/{agent-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{agent-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{agent-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{agent-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{agent-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{agent-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{agent-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{agent-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{agent-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{agent-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{agent-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{agent-5fjb7ams.js → model-resolver-5fjb7ams.js} +0 -0
- /package/dist/chunks/{agent-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{agent-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{agent-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{agent-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{agent-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{agent-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
- /package/dist/chunks/{agent-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{agent-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{agent-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{agent-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{agent-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{agent-a058387c.js → model-resolver-a058387c.js} +0 -0
- /package/dist/chunks/{agent-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{agent-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{agent-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{agent-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{agent-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{agent-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{agent-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{agent-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{agent-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{agent-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{agent-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{agent-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{agent-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{agent-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{agent-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{agent-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{agent-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{agent-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{agent-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{agent-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{agent-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{agent-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{agent-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{agent-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{agent-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{agent-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{agent-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{agent-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{agent-hcxmzztb.js → model-resolver-hcxmzztb.js} +0 -0
- /package/dist/chunks/{agent-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{agent-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{agent-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{agent-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{agent-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{agent-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{agent-jze0r7bz.js → model-resolver-jze0r7bz.js} +0 -0
- /package/dist/chunks/{agent-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{agent-m18g726c.js → model-resolver-m18g726c.js} +0 -0
- /package/dist/chunks/{agent-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{agent-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{agent-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{agent-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{agent-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{agent-pkyv6v7h.js → model-resolver-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{agent-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{agent-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{agent-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{agent-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{agent-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{agent-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{agent-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{agent-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{agent-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{agent-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{agent-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
- /package/dist/chunks/{agent-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{agent-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{agent-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{agent-wjj7prxr.js → model-resolver-wjj7prxr.js} +0 -0
- /package/dist/chunks/{agent-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{agent-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{agent-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{agent-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{agent-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{agent-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{agent-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{agent-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{agent-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service68
|
|
4
|
+
} from "./model-resolver-w5zwfkq2.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-6pjqjmy2.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service57
|
|
10
|
+
} from "./model-resolver-5brge8v8.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/todo.ts
|
|
16
16
|
var exports_todo = {};
|
|
17
17
|
__export(exports_todo, {
|
|
18
18
|
Info: () => Info2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
Output: () =>
|
|
21
|
-
Plugin: () =>
|
|
19
|
+
Input: () => Input10,
|
|
20
|
+
Output: () => Output7,
|
|
21
|
+
Plugin: () => Plugin29,
|
|
22
22
|
TodoTool: () => exports_todo,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name10,
|
|
24
24
|
summarize: () => summarize2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
@@ -37,17 +37,17 @@ Use it proactively when a task has 3 or more distinct steps, or when the user gi
|
|
|
37
37
|
`;
|
|
38
38
|
|
|
39
39
|
// src/tool/plugin/todo.ts
|
|
40
|
-
var
|
|
40
|
+
var name10 = "todowrite";
|
|
41
41
|
var Info2 = Schema.Struct({
|
|
42
42
|
content: Schema.String.annotate({ description: "Brief description of the task" }),
|
|
43
43
|
status: Schema.Literals(["pending", "in_progress", "completed", "cancelled"]).annotate({
|
|
44
44
|
description: "Current status of the task: pending, in_progress, completed, cancelled"
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var Input10 = Schema.Struct({
|
|
48
48
|
todos: Schema.Array(Info2).annotate({ description: "The updated todo list" })
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Output7 = Schema.Struct({
|
|
51
51
|
todos: Schema.Array(Info2)
|
|
52
52
|
});
|
|
53
53
|
var summarize2 = (todos) => {
|
|
@@ -61,24 +61,24 @@ var summarize2 = (todos) => {
|
|
|
61
61
|
const active = todos.filter((todo) => todo.status === "in_progress").map((todo) => JSON.stringify(todo.content));
|
|
62
62
|
return `Todos updated: ${counts}${active.length ? `. In progress: ${active.join(", ")}` : ""}`;
|
|
63
63
|
};
|
|
64
|
-
var
|
|
64
|
+
var Plugin29 = {
|
|
65
65
|
id: "opencode.tool.todo",
|
|
66
66
|
effect: Effect.fn("TodoTool.Plugin")(function* (ctx) {
|
|
67
|
-
const config = yield*
|
|
68
|
-
const permission = yield*
|
|
67
|
+
const config = yield* Service68;
|
|
68
|
+
const permission = yield* Service57;
|
|
69
69
|
const loaded = yield* observe2(config, ctx.event, ctx.tool.reload());
|
|
70
70
|
const enabled = () => latest2(loaded.entries, "experimental")?.todo === true;
|
|
71
71
|
yield* ctx.tool.transform((editor) => {
|
|
72
72
|
if (!enabled())
|
|
73
73
|
return;
|
|
74
74
|
editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name10,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: todowrite_default,
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input10,
|
|
79
|
+
output: Output7,
|
|
80
80
|
execute: (input, context) => permission.assert({
|
|
81
|
-
action:
|
|
81
|
+
action: name10,
|
|
82
82
|
resources: ["*"],
|
|
83
83
|
save: ["*"],
|
|
84
84
|
sessionID: context.sessionID,
|
|
@@ -94,4 +94,4 @@ var Plugin19 = {
|
|
|
94
94
|
})
|
|
95
95
|
};
|
|
96
96
|
|
|
97
|
-
export {
|
|
97
|
+
export { name10, Info2, Input10, Output7, summarize2, Plugin29, exports_todo };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-5fjb7ams.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-4xvmh7wp.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-vd3b3yk9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service50,
|
|
17
|
+
node52
|
|
18
|
+
} from "./model-resolver-66rk6f56.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service73,
|
|
21
|
+
node76
|
|
22
|
+
} from "./model-resolver-cs87y13h.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-resolver-z38nccrw.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content2,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error3,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service49,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node51
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content2, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content2, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service49 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service73;
|
|
58
|
+
const image = yield* Service50;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service49.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node51 = makeLocationNode({
|
|
277
|
+
service: Service49,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node76, node52]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service49, node51, exports_tool, CallID2, Content2, Error3, FileContent3, TextContent2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./model-resolver-ad0b5xxd.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-rb9dy4dg.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-ymn1zp0c.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service80,
|
|
15
|
+
node84
|
|
16
|
+
} from "./model-resolver-qc854yns.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-resolver-vd3b3yk9.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -32,9 +32,9 @@ __export(exports_vcs, {
|
|
|
32
32
|
Info: () => Info5,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service17,
|
|
36
36
|
Vcs: () => exports_vcs,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node20
|
|
38
38
|
});
|
|
39
39
|
import path from "path";
|
|
40
40
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
@@ -54,12 +54,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service17 extends Context.Service()("@opencode/Vcs") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
60
60
|
const fs = yield* FSUtil.Service;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const bus = yield*
|
|
61
|
+
const location = yield* Service80;
|
|
62
|
+
const bus = yield* Service84;
|
|
63
63
|
const root = yield* Effect.scope;
|
|
64
64
|
const fork = yield* FiberSet.makeRuntime();
|
|
65
65
|
const vcs = location.vcs;
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
129
129
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
130
130
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
131
131
|
}
|
|
132
|
-
return
|
|
132
|
+
return Service17.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
189
|
}));
|
|
190
|
-
var
|
|
191
|
-
service:
|
|
190
|
+
var node20 = makeLocationNode({
|
|
191
|
+
service: Service17,
|
|
192
192
|
layer,
|
|
193
|
-
deps: [FSUtil.node,
|
|
193
|
+
deps: [FSUtil.node, node84, node88]
|
|
194
194
|
});
|
|
195
195
|
|
|
196
|
-
export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, InitializeError2,
|
|
196
|
+
export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, InitializeError2, Service17, node20, exports_vcs };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info23,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
Status: () => Status3,
|
|
13
13
|
key: () => key2
|
|
@@ -15,7 +15,7 @@ __export(exports_connection, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info23 = Connection.Info;
|
|
19
19
|
var Status3 = Connection.Status;
|
|
20
20
|
function key2(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key2(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info23, Status3, key2, exports_connection };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
load5
|
|
6
|
+
} from "./model-resolver-e3qxr5gk.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
14
|
Native: () => Native3,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service69,
|
|
16
16
|
Test: () => Test3,
|
|
17
17
|
Watcher: () => exports_watcher,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured9,
|
|
19
19
|
hasNativeBinding: () => hasNativeBinding2,
|
|
20
|
-
layer: () =>
|
|
20
|
+
layer: () => layer26,
|
|
21
21
|
nativeLayer: () => nativeLayer2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node72,
|
|
23
23
|
testLayer: () => testLayer3
|
|
24
24
|
});
|
|
25
25
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -31,7 +31,7 @@ import path from "path";
|
|
|
31
31
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
32
32
|
var watcher = lazy2(() => {
|
|
33
33
|
try {
|
|
34
|
-
return createWrapper(
|
|
34
|
+
return createWrapper(load5());
|
|
35
35
|
} catch {
|
|
36
36
|
return;
|
|
37
37
|
}
|
|
@@ -49,14 +49,14 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
49
49
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
class
|
|
52
|
+
class Service69 extends Context.Service()("@opencode/Watcher") {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
56
56
|
}
|
|
57
|
-
var
|
|
57
|
+
var layer26 = (options) => Layer.effect(Service69, Effect.gen(function* () {
|
|
58
58
|
if (options?.enabled === false) {
|
|
59
|
-
return
|
|
59
|
+
return Service69.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
60
60
|
}
|
|
61
61
|
const native = yield* Native3;
|
|
62
62
|
const watchers = yield* RcMap.make({
|
|
@@ -97,7 +97,7 @@ var layer24 = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
|
97
97
|
return Stream.fromSubscription(subscription);
|
|
98
98
|
}));
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service69.of({ subscribe });
|
|
101
101
|
}));
|
|
102
102
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
103
103
|
const subscriptions = [];
|
|
@@ -121,9 +121,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
121
121
|
};
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
|
-
const context = yield* Layer.build(
|
|
124
|
+
const context = yield* Layer.build(layer26().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
125
125
|
const test = Test3.of({
|
|
126
|
-
subscribe: Context.get(context,
|
|
126
|
+
subscribe: Context.get(context, Service69).subscribe,
|
|
127
127
|
emit: (update) => Effect.sync(() => {
|
|
128
128
|
const target = path.resolve(update.path);
|
|
129
129
|
active.forEach((matches, publish) => {
|
|
@@ -133,7 +133,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
133
133
|
}),
|
|
134
134
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
135
135
|
});
|
|
136
|
-
return Context.empty().pipe(Context.add(
|
|
136
|
+
return Context.empty().pipe(Context.add(Service69, test), Context.add(Test3, test));
|
|
137
137
|
}));
|
|
138
138
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
139
139
|
subscribe: (input) => {
|
|
@@ -156,10 +156,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
156
156
|
}
|
|
157
157
|
}));
|
|
158
158
|
var nativeNode = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
159
|
-
function
|
|
160
|
-
return makeGlobalNode({ service:
|
|
159
|
+
function configured9(options) {
|
|
160
|
+
return makeGlobalNode({ service: Service69, layer: layer26(options), deps: [nativeNode] });
|
|
161
161
|
}
|
|
162
|
-
var
|
|
162
|
+
var node72 = configured9();
|
|
163
163
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
164
164
|
if (!native || !backend) {
|
|
165
165
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -179,4 +179,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
179
179
|
}).pipe(Effect.as(undefined))));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { hasNativeBinding2, Native3,
|
|
182
|
+
export { hasNativeBinding2, Native3, Service69, Test3, layer26, testLayer3, nativeLayer2, configured9, node72, exports_watcher };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-my4zabxr.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
MessageDecodeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-bh1et42v.js";
|
|
7
7
|
import {
|
|
8
8
|
InitializationBlocked2,
|
|
9
9
|
read3
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-e5dqjz6v.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionMessageTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-998yhzzq.js";
|
|
14
14
|
import {
|
|
15
15
|
initial2,
|
|
16
16
|
preview3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-resolver-6czmj677.js";
|
|
18
18
|
import {
|
|
19
19
|
messageToText2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-resolver-me5bcav6.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/session/history.ts
|
|
26
26
|
var exports_history = {};
|
|
@@ -32,7 +32,7 @@ __export(exports_history, {
|
|
|
32
32
|
entriesForRunner: () => entriesForRunner2,
|
|
33
33
|
firstUserMessage: () => firstUserMessage2,
|
|
34
34
|
isNativeCompaction: () => isNativeCompaction2,
|
|
35
|
-
load: () =>
|
|
35
|
+
load: () => load4,
|
|
36
36
|
preview: () => preview2
|
|
37
37
|
});
|
|
38
38
|
import { and, asc, desc, eq, gte, lt, or, sql } from "drizzle-orm";
|
|
@@ -88,7 +88,7 @@ var withRecentText = Effect.fnUntraced(function* (db, sessionID, entries) {
|
|
|
88
88
|
`);
|
|
89
89
|
return [{ ...first, message: { ...compaction, metadata: { ...compaction.metadata, recent } } }, ...entries.slice(1)];
|
|
90
90
|
});
|
|
91
|
-
var
|
|
91
|
+
var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
92
92
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
93
93
|
});
|
|
94
94
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -124,4 +124,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
124
124
|
return message?.type === "user" ? message : undefined;
|
|
125
125
|
});
|
|
126
126
|
|
|
127
|
-
export { isNativeCompaction2, NativeWindow2, decodeMessageRowSync2, decodeMessageRow2,
|
|
127
|
+
export { isNativeCompaction2, NativeWindow2, decodeMessageRowSync2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-vd3b3yk9.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
14
|
Options: () => Options8,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service71,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured10,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name16,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node74,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve4
|
|
27
27
|
});
|
|
@@ -47,7 +47,7 @@ var Options8 = Schema.Struct({
|
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service71 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service71.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
|
|
206
206
|
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured10(options) {
|
|
210
|
+
return makeLocationNode({ service: Service71, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node74 = configured10();
|
|
213
213
|
|
|
214
|
-
export { Options8,
|
|
214
|
+
export { Options8, Service71, gitbash2, name16, login2, ps2, args2, environment2, resolve4, list4, configured10, node74, exports_select };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-w35wzz9x.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info15
|
|
9
|
+
} from "./model-resolver-vxxaf4jx.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info14
|
|
12
|
+
} from "./model-resolver-p0tsr9h6.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info16
|
|
15
|
+
} from "./model-resolver-gj8x1tda.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-p7vhpwh8.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info18
|
|
21
|
+
} from "./model-resolver-6xqtcmxs.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 "./model-resolver-evdtckst.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -98,12 +98,12 @@ function normalize2(input) {
|
|
|
98
98
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
99
99
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
100
100
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
101
|
-
const legacyCommands = decodeMap(input.command,
|
|
101
|
+
const legacyCommands = decodeMap(input.command, Info14, ["command"], diagnostics, decodeValue);
|
|
102
102
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
103
103
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
104
104
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
105
105
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
106
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
106
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info15, ["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, Info15, ["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(Info16, 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(Info18, raw, path, diagnostics);
|
|
439
439
|
if (provider === undefined)
|
|
440
440
|
return [];
|
|
441
441
|
const destination = providerID2(name);
|