@opencode/core 0.0.0-dev-21730 → 0.0.0-dev-21733
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 +77 -77
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{model-resolver-tw8wcj15.js → file-mutation-00rzab14.js} +7 -7
- package/dist/chunks/{model-resolver-s6zqpwam.js → file-mutation-01k3925y.js} +23 -23
- package/dist/chunks/{model-resolver-8vhkf3wd.js → file-mutation-036w2vvs.js} +25 -25
- package/dist/chunks/{model-resolver-tasvem1v.js → file-mutation-0ks2n9jf.js} +6 -6
- package/dist/chunks/{model-resolver-6gn7yv20.js → file-mutation-0ns4m9xc.js} +7 -7
- package/dist/chunks/{model-resolver-kqw486ce.js → file-mutation-10rcdg98.js} +4 -4
- package/dist/chunks/{model-resolver-tc5pmsfr.js → file-mutation-12p8ee72.js} +27 -27
- package/dist/chunks/{model-resolver-j1y01s4s.js → file-mutation-1k1fqc4x.js} +177 -177
- package/dist/chunks/{model-resolver-7g125bra.js → file-mutation-1r91ydea.js} +4 -4
- package/dist/chunks/{model-resolver-1x2knyw4.js → file-mutation-1x2knyw4.js} +1 -1
- package/dist/chunks/{model-resolver-8na9xnnb.js → file-mutation-21et416z.js} +6 -6
- package/dist/chunks/{model-resolver-f5xnbmcd.js → file-mutation-245k30ek.js} +50 -50
- package/dist/chunks/{model-resolver-ysdmcr0h.js → file-mutation-26dky2bj.js} +14 -14
- package/dist/chunks/{model-resolver-256dg9vb.js → file-mutation-27tam8fm.js} +4 -4
- package/dist/chunks/{model-resolver-1ep2p91f.js → file-mutation-27w5k9zf.js} +2 -2
- package/dist/chunks/{model-resolver-2kj7f5bg.js → file-mutation-2azy8kv6.js} +7 -7
- package/dist/chunks/{model-resolver-4v4bfvma.js → file-mutation-2cmv458r.js} +5 -5
- package/dist/chunks/{model-resolver-t7x5nw9y.js → file-mutation-2hbghhry.js} +10 -10
- package/dist/chunks/{model-resolver-snwj5w21.js → file-mutation-2kxb353b.js} +1 -1
- package/dist/chunks/{model-resolver-yvktxnyk.js → file-mutation-2rjbzknj.js} +13 -13
- package/dist/chunks/{model-resolver-2z1j29yd.js → file-mutation-2z1j29yd.js} +1 -1
- package/dist/chunks/{model-resolver-wy7bdrzd.js → file-mutation-30e15dtz.js} +6 -6
- package/dist/chunks/{model-resolver-r7qkw0sp.js → file-mutation-32d3hzha.js} +12 -12
- package/dist/chunks/{model-resolver-b5sgdy3n.js → file-mutation-368ze413.js} +10 -10
- package/dist/chunks/{model-resolver-j0b81h47.js → file-mutation-3c164b2z.js} +16 -16
- package/dist/chunks/{model-resolver-ayjs7tqn.js → file-mutation-3cbjf1nt.js} +2 -2
- package/dist/chunks/{model-resolver-z7724tht.js → file-mutation-3de1akn6.js} +11 -11
- package/dist/chunks/{model-resolver-qcchxstm.js → file-mutation-3ek3wb4s.js} +16 -16
- package/dist/chunks/{model-resolver-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-3nnrz6f6.js → file-mutation-3nnrz6f6.js} +1 -1
- package/dist/chunks/{model-resolver-j77g158z.js → file-mutation-45t4pvv9.js} +8 -8
- package/dist/chunks/file-mutation-471rdaac.js +523 -0
- package/dist/chunks/{model-resolver-59x0c00c.js → file-mutation-48ns11pq.js} +36 -36
- package/dist/chunks/{model-resolver-e12mrd8m.js → file-mutation-4dnfsash.js} +39 -39
- package/dist/chunks/{model-resolver-k7hnktg1.js → file-mutation-4gceq66t.js} +5 -5
- package/dist/chunks/{model-resolver-7ag3s6hb.js → file-mutation-4pw98qd4.js} +4 -4
- package/dist/chunks/{model-resolver-h1abq7en.js → file-mutation-4rnk6nkc.js} +50 -50
- package/dist/chunks/{model-resolver-4v008n1t.js → file-mutation-4v008n1t.js} +1 -1
- package/dist/chunks/{model-resolver-4xvmh7wp.js → file-mutation-4xvmh7wp.js} +3 -3
- package/dist/chunks/{model-resolver-w4ynznac.js → file-mutation-4yx08eh2.js} +11 -11
- package/dist/chunks/{model-resolver-0h5mky2z.js → file-mutation-535rzh00.js} +24 -24
- package/dist/chunks/{model-resolver-2n1v95fn.js → file-mutation-550hghqf.js} +9 -9
- package/dist/chunks/{model-resolver-ethxtnrp.js → file-mutation-55gnfc1d.js} +54 -54
- package/dist/chunks/{model-resolver-fgr7hd3e.js → file-mutation-59syh3a3.js} +12 -12
- package/dist/chunks/{model-resolver-pfjg1qnb.js → file-mutation-5fvmg1r1.js} +10 -10
- package/dist/chunks/{model-resolver-5m9w47nd.js → file-mutation-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-resolver-b6vsg801.js → file-mutation-5nnwax6m.js} +5 -5
- package/dist/chunks/{model-resolver-xj5vncmq.js → file-mutation-5pex491w.js} +30 -30
- package/dist/chunks/{model-resolver-cabw4y3p.js → file-mutation-5rxgzxpx.js} +6 -6
- package/dist/chunks/{model-resolver-ta21jq92.js → file-mutation-5x4h0w91.js} +15 -15
- package/dist/chunks/{model-resolver-kc3bzs90.js → file-mutation-5xn9952g.js} +3 -3
- package/dist/chunks/{model-resolver-x7pzp06w.js → file-mutation-67avc1k8.js} +8 -8
- package/dist/chunks/{model-resolver-xs05vffk.js → file-mutation-6bexxghh.js} +13 -13
- package/dist/chunks/{model-resolver-6esdw8yj.js → file-mutation-6esdw8yj.js} +1 -1
- package/dist/chunks/{model-resolver-y71ddsac.js → file-mutation-6j3c7a8w.js} +14 -14
- package/dist/chunks/{model-resolver-tn5gxkrv.js → file-mutation-6nc585nh.js} +6 -6
- package/dist/chunks/{model-resolver-6pjqjmy2.js → file-mutation-6pjqjmy2.js} +1 -1
- package/dist/chunks/{model-resolver-bp5sb8yv.js → file-mutation-743x2srx.js} +17 -17
- package/dist/chunks/{model-resolver-avkwaw75.js → file-mutation-747awqjk.js} +9 -9
- package/dist/chunks/{model-resolver-v79kmtvw.js → file-mutation-74vrwnwk.js} +19 -19
- package/dist/chunks/{model-resolver-qfjcwetg.js → file-mutation-782p0d6m.js} +16 -16
- package/dist/chunks/{model-resolver-6f6tsj36.js → file-mutation-79gmc5z2.js} +17 -17
- package/dist/chunks/{model-resolver-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-8thk20xz.js → file-mutation-7qacj1zk.js} +9 -9
- package/dist/chunks/{model-resolver-f6r0dzq4.js → file-mutation-7v4gnnpt.js} +20 -20
- package/dist/chunks/{model-resolver-s0t4rwnt.js → file-mutation-7v95c66a.js} +7 -7
- package/dist/chunks/{model-resolver-7w2ypzdf.js → file-mutation-7w2ypzdf.js} +1 -1
- package/dist/chunks/{model-resolver-d910c31a.js → file-mutation-81axfqtx.js} +31 -31
- package/dist/chunks/{model-resolver-9d19w6f1.js → file-mutation-82ae05qv.js} +15 -15
- package/dist/chunks/{model-resolver-0trvysgd.js → file-mutation-85p7gfn7.js} +5 -5
- package/dist/chunks/{model-resolver-ehjrwymt.js → file-mutation-86ak512e.js} +34 -34
- package/dist/chunks/{model-resolver-jfavpyep.js → file-mutation-8c7d9mqr.js} +11 -11
- package/dist/chunks/{model-resolver-8wtp7s3z.js → file-mutation-8wtp7s3z.js} +1 -1
- package/dist/chunks/{model-resolver-91rj84md.js → file-mutation-91rj84md.js} +1 -1
- package/dist/chunks/{model-resolver-j7kazd1q.js → file-mutation-94f0gtd2.js} +6 -6
- package/dist/chunks/{model-resolver-hdcqmdk3.js → file-mutation-9b9c9169.js} +24 -24
- package/dist/chunks/{model-resolver-knfnv5xd.js → file-mutation-9b9nrhta.js} +47 -47
- package/dist/chunks/{model-resolver-d4fqamkg.js → file-mutation-9fs0fy5y.js} +22 -22
- package/dist/chunks/{model-resolver-kfwqqrwd.js → file-mutation-9q4552st.js} +12 -12
- package/dist/chunks/{model-resolver-r7xar5ns.js → file-mutation-9t2khtsw.js} +8 -8
- package/dist/chunks/{model-resolver-58t9v70a.js → file-mutation-9tjddhah.js} +43 -43
- package/dist/chunks/{model-resolver-8sttbfsr.js → file-mutation-a3ve0kqa.js} +11 -11
- package/dist/chunks/{model-resolver-2yxcna2e.js → file-mutation-a4hxdnm9.js} +35 -35
- package/dist/chunks/{model-resolver-9ej1024d.js → file-mutation-a7dmfdvk.js} +18 -18
- package/dist/chunks/{model-resolver-yxb96n0x.js → file-mutation-abn7vnge.js} +45 -45
- package/dist/chunks/{model-resolver-kw1hde90.js → file-mutation-abrtv49q.js} +8 -8
- package/dist/chunks/{model-resolver-034tev2y.js → file-mutation-aj7mw0zk.js} +2 -2
- package/dist/chunks/{model-resolver-9bgp8a97.js → file-mutation-asrwnq9b.js} +13 -13
- package/dist/chunks/{model-resolver-917s922w.js → file-mutation-av5z0m6e.js} +20 -20
- package/dist/chunks/{model-resolver-7agbanmz.js → file-mutation-aw7qnxd4.js} +24 -24
- package/dist/chunks/{model-resolver-b0mv4wxm.js → file-mutation-b0mv4wxm.js} +2 -2
- package/dist/chunks/{model-resolver-rsmyvrz3.js → file-mutation-b0zdea0q.js} +27 -27
- package/dist/chunks/{model-resolver-pfght9z5.js → file-mutation-b7zzhf47.js} +8 -8
- package/dist/chunks/{model-resolver-cgdq2tez.js → file-mutation-b9d9dj3z.js} +4 -4
- package/dist/chunks/{model-resolver-snpgexks.js → file-mutation-bgmahzg8.js} +38 -38
- package/dist/chunks/{model-resolver-2zpzp2bh.js → file-mutation-bjeh6j1p.js} +23 -23
- package/dist/chunks/{model-resolver-njnmff7p.js → file-mutation-bjh3krjv.js} +15 -15
- package/dist/chunks/{model-resolver-s626qfae.js → file-mutation-bjhzkqyk.js} +4 -4
- package/dist/chunks/{model-resolver-bstexjd6.js → file-mutation-bstexjd6.js} +1 -1
- package/dist/chunks/{model-resolver-k0ykqcdp.js → file-mutation-bwe8ad2d.js} +26 -26
- package/dist/chunks/{model-resolver-tkmwn4n3.js → file-mutation-c3cfh5w6.js} +7 -7
- package/dist/chunks/{model-resolver-dphsmz0w.js → file-mutation-c7c27t1m.js} +18 -18
- package/dist/chunks/{model-resolver-b1pn0vxn.js → file-mutation-c9t2ty9q.js} +4 -4
- package/dist/chunks/{model-resolver-md2ky9q0.js → file-mutation-cc7rcpec.js} +6 -6
- package/dist/chunks/{model-resolver-zkgq49d1.js → file-mutation-cfkc8wvf.js} +4 -4
- package/dist/chunks/{model-resolver-ejnxmkmt.js → file-mutation-cjbqfpza.js} +2 -2
- package/dist/chunks/{model-resolver-dt9gh0d3.js → file-mutation-cn264291.js} +13 -13
- package/dist/chunks/{model-resolver-5p1zsrt3.js → file-mutation-cp34p7ag.js} +1 -1
- package/dist/chunks/{model-resolver-tyfsk4mw.js → file-mutation-cvmvznrx.js} +5 -5
- package/dist/chunks/{model-resolver-yzex6x75.js → file-mutation-cwq0sf4z.js} +18 -18
- package/dist/chunks/{model-resolver-4rgde0gy.js → file-mutation-cxa2kxks.js} +9 -9
- package/dist/chunks/{model-resolver-d4v9tmah.js → file-mutation-d4v9tmah.js} +2 -2
- package/dist/chunks/{model-resolver-j440n9b6.js → file-mutation-d979ez4r.js} +20 -20
- package/dist/chunks/{model-resolver-gnqfcwar.js → file-mutation-da9t4t99.js} +18 -18
- package/dist/chunks/{model-resolver-mwk65ptt.js → file-mutation-deg8k6mg.js} +32 -32
- package/dist/chunks/{model-resolver-nt5q7dy9.js → file-mutation-dqfc4a56.js} +19 -19
- package/dist/chunks/{model-resolver-998yhzzq.js → file-mutation-dvj9ct8m.js} +3 -3
- package/dist/chunks/{model-resolver-f2kkq0wr.js → file-mutation-dwarwzmx.js} +42 -42
- package/dist/chunks/{model-resolver-spep79sh.js → file-mutation-dzgdh8q8.js} +26 -26
- package/dist/chunks/{model-resolver-cb2t80kt.js → file-mutation-e4n8ygfy.js} +78 -78
- package/dist/chunks/{model-resolver-jneg3k74.js → file-mutation-e5dqjz6v.js} +4 -4
- package/dist/chunks/{model-resolver-e834z07m.js → file-mutation-e834z07m.js} +1 -1
- package/dist/chunks/{model-resolver-rcgvv2s7.js → file-mutation-e86res7a.js} +16 -16
- package/dist/chunks/{model-resolver-wzbm9yap.js → file-mutation-eahrer4y.js} +17 -17
- package/dist/chunks/{model-resolver-qpj4fywd.js → file-mutation-edcmpgtq.js} +20 -20
- package/dist/chunks/{model-resolver-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-4dmmmd7w.js → file-mutation-egsctaqy.js} +21 -21
- package/dist/chunks/{model-resolver-bm6kf062.js → file-mutation-ems2smmp.js} +27 -27
- package/dist/chunks/{model-resolver-1qsx4797.js → file-mutation-enfrdb2x.js} +9 -9
- package/dist/chunks/{model-resolver-288p6brk.js → file-mutation-epgj3jkd.js} +24 -24
- package/dist/chunks/{model-resolver-799ckdtf.js → file-mutation-eqh43b5v.js} +5 -5
- package/dist/chunks/{model-resolver-sn02bkrk.js → file-mutation-esd6nksf.js} +23 -23
- package/dist/chunks/{model-resolver-nzf6z8jh.js → file-mutation-eskv2f81.js} +10 -10
- package/dist/chunks/file-mutation-ezna1kdx.js +18 -0
- package/dist/chunks/{model-resolver-8njhevex.js → file-mutation-f3mkqzy7.js} +14 -14
- package/dist/chunks/{model-resolver-k352a69z.js → file-mutation-f4275qbf.js} +4 -4
- package/dist/chunks/{model-resolver-pacbbjc0.js → file-mutation-faewc6h3.js} +5 -5
- package/dist/chunks/{model-resolver-3dy2brb4.js → file-mutation-fbnpe429.js} +18 -18
- package/dist/chunks/{model-resolver-fffv3p7h.js → file-mutation-fffv3p7h.js} +1 -1
- package/dist/chunks/{model-resolver-q8rzw8xh.js → file-mutation-fm0kc2vz.js} +10 -10
- package/dist/chunks/{model-resolver-h97v9g1b.js → file-mutation-fnbj75xz.js} +6 -6
- package/dist/chunks/{model-resolver-69ea4gs9.js → file-mutation-fqje64y2.js} +27 -27
- package/dist/chunks/{model-resolver-v5d8y8eg.js → file-mutation-fqktgm0k.js} +24 -24
- package/dist/chunks/{model-resolver-yc4xwjk4.js → file-mutation-frvfbmdp.js} +9 -9
- package/dist/chunks/{model-resolver-9d64739r.js → file-mutation-ft13nsd4.js} +8 -8
- package/dist/chunks/{model-resolver-v9e2a6a3.js → file-mutation-fymw8q55.js} +18 -18
- package/dist/chunks/{model-resolver-g5h9c0rr.js → file-mutation-g5h9c0rr.js} +2 -2
- package/dist/chunks/{model-resolver-vcxs933z.js → file-mutation-g5j9106q.js} +11 -11
- package/dist/chunks/{model-resolver-de152cyr.js → file-mutation-gctveymt.js} +13 -13
- package/dist/chunks/{model-resolver-65shdcb9.js → file-mutation-gqmebmt6.js} +7 -7
- package/dist/chunks/{model-resolver-n48tsgyy.js → file-mutation-h245t4yc.js} +9 -9
- package/dist/chunks/{model-resolver-tw4wrdz4.js → file-mutation-h2vj4qcs.js} +14 -14
- package/dist/chunks/{model-resolver-j8wtckwx.js → file-mutation-h8gqg4ne.js} +8 -8
- package/dist/chunks/{model-resolver-95jjqqz3.js → file-mutation-h99q40g3.js} +85 -85
- package/dist/chunks/{model-resolver-bn231r82.js → file-mutation-hbcfg93c.js} +11 -11
- package/dist/chunks/{model-resolver-z9pdc6em.js → file-mutation-hgcdtq4e.js} +18 -18
- package/dist/chunks/{model-resolver-n527a7dv.js → file-mutation-hhe7s84q.js} +23 -23
- package/dist/chunks/{model-resolver-55w0c6dm.js → file-mutation-hkzhzv1f.js} +30 -30
- package/dist/chunks/{model-resolver-fvp60fwe.js → file-mutation-htq3pgp8.js} +5 -5
- package/dist/chunks/{model-resolver-j113cymg.js → file-mutation-j113cymg.js} +1 -1
- package/dist/chunks/{model-resolver-83rat119.js → file-mutation-j12nxzwd.js} +3 -3
- package/dist/chunks/{model-resolver-9epsjbby.js → file-mutation-j3zafv13.js} +11 -11
- package/dist/chunks/{model-resolver-fw6eeex0.js → file-mutation-jbscr9h1.js} +4 -4
- package/dist/chunks/{model-resolver-kntpyapc.js → file-mutation-jp8p8349.js} +4 -4
- package/dist/chunks/{model-resolver-0b0dvc3v.js → file-mutation-jw9wy7z2.js} +11 -11
- package/dist/chunks/{model-resolver-dh62xe4r.js → file-mutation-jx89vj1k.js} +3 -3
- package/dist/chunks/{model-resolver-186bq886.js → file-mutation-jyragf21.js} +16 -16
- package/dist/chunks/{model-resolver-k814nvkf.js → file-mutation-k814nvkf.js} +1 -1
- package/dist/chunks/{model-resolver-v27kyr9e.js → file-mutation-kmnk1vdb.js} +9 -9
- package/dist/chunks/{model-resolver-z49nhv4t.js → file-mutation-krdcrhxc.js} +13 -13
- package/dist/chunks/{model-resolver-m1714858.js → file-mutation-m1714858.js} +1 -1
- package/dist/chunks/{model-resolver-14enk98j.js → file-mutation-m4qx0dyh.js} +28 -28
- package/dist/chunks/{model-resolver-fj95ckg7.js → file-mutation-m4t4ftb9.js} +33 -33
- package/dist/chunks/{model-resolver-r3hept05.js → file-mutation-m6btfgkq.js} +16 -16
- package/dist/chunks/{model-resolver-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-maspj1v3.js → file-mutation-maspj1v3.js} +1 -1
- package/dist/chunks/{model-resolver-g4n4wp2d.js → file-mutation-mcc21mqv.js} +5 -5
- package/dist/chunks/{model-resolver-w8yd89gy.js → file-mutation-my4zabxr.js} +3 -3
- package/dist/chunks/{model-resolver-n0p0277s.js → file-mutation-n0p0277s.js} +1 -1
- package/dist/chunks/{model-resolver-8wc2fpae.js → file-mutation-n6v2b7cw.js} +5 -5
- package/dist/chunks/{model-resolver-nah043kf.js → file-mutation-nah043kf.js} +1 -1
- package/dist/chunks/{model-resolver-ng64mz8r.js → file-mutation-nffa1r89.js} +30 -30
- package/dist/chunks/{model-resolver-mbb71zxb.js → file-mutation-ng91319j.js} +26 -26
- package/dist/chunks/{model-resolver-57a19r08.js → file-mutation-nwhk50md.js} +24 -24
- package/dist/chunks/{model-resolver-p015t6z3.js → file-mutation-p015t6z3.js} +2 -2
- package/dist/chunks/{model-resolver-1yq9hg58.js → file-mutation-p7vhpwh8.js} +5 -5
- package/dist/chunks/{model-resolver-vg0zp5sr.js → file-mutation-pef0bd6s.js} +12 -12
- package/dist/chunks/{model-resolver-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-e1b6vpy5.js → file-mutation-q2dhmgm2.js} +14 -14
- package/dist/chunks/{model-resolver-9chjwwnc.js → file-mutation-q7717vr4.js} +4 -4
- package/dist/chunks/{model-resolver-5c5bthfb.js → file-mutation-qgrk9qt1.js} +33 -33
- package/dist/chunks/{model-resolver-8jztxfpf.js → file-mutation-qjgzc4b4.js} +4 -4
- package/dist/chunks/{model-resolver-17r7g020.js → file-mutation-qx7wy1t5.js} +36 -36
- package/dist/chunks/{model-resolver-r0yr0wbs.js → file-mutation-r0yr0wbs.js} +1 -1
- package/dist/chunks/{model-resolver-r28byzty.js → file-mutation-r64mr812.js} +32 -32
- package/dist/chunks/{model-resolver-zj7p4na3.js → file-mutation-r6b9cme8.js} +15 -15
- package/dist/chunks/{model-resolver-0gka690g.js → file-mutation-r6wgv8c9.js} +6 -6
- package/dist/chunks/{model-resolver-8bkscwtx.js → file-mutation-r9t475hy.js} +14 -14
- package/dist/chunks/{model-resolver-8mjwfqkh.js → file-mutation-raw26vjr.js} +8 -8
- package/dist/chunks/{model-resolver-rb9dy4dg.js → file-mutation-rb9dy4dg.js} +1 -1
- package/dist/chunks/{model-resolver-2ny6xyme.js → file-mutation-rbcej9n7.js} +4 -4
- package/dist/chunks/{model-resolver-8nhp9y4m.js → file-mutation-rds2jhhw.js} +4 -4
- package/dist/chunks/{model-resolver-e893v5n6.js → file-mutation-rjew0wjs.js} +21 -21
- package/dist/chunks/{model-resolver-jcqm84fr.js → file-mutation-rjnacbrz.js} +9 -9
- package/dist/chunks/{model-resolver-vn71xy6d.js → file-mutation-rmvh37n9.js} +10 -10
- package/dist/chunks/{model-resolver-249p08pd.js → file-mutation-rmyqj6m3.js} +6 -6
- package/dist/chunks/{model-resolver-ew2d9bn2.js → file-mutation-rskep9rf.js} +28 -28
- package/dist/chunks/{model-resolver-rt5dr6hb.js → file-mutation-rt5dr6hb.js} +1 -1
- package/dist/chunks/{model-resolver-d7kh2pfg.js → file-mutation-ry869zts.js} +14 -14
- package/dist/chunks/{model-resolver-egspkehf.js → file-mutation-s0cvatyn.js} +8 -8
- package/dist/chunks/{model-resolver-9rrv4vns.js → file-mutation-s4yz0bzs.js} +22 -22
- package/dist/chunks/{model-resolver-kf7rszbb.js → file-mutation-s5ypg3ex.js} +32 -32
- package/dist/chunks/{model-resolver-c4vfmmrn.js → file-mutation-s6p20e1k.js} +8 -8
- package/dist/chunks/{model-resolver-8gxpx3mz.js → file-mutation-s6xj0n9e.js} +17 -17
- package/dist/chunks/{model-resolver-ywtfgq8q.js → file-mutation-s9ty2h8k.js} +11 -11
- package/dist/chunks/{model-resolver-26zk5kqv.js → file-mutation-sm6n1kzz.js} +9 -9
- package/dist/chunks/{model-resolver-0d85nndc.js → file-mutation-sn3yw1vh.js} +37 -37
- package/dist/chunks/{model-resolver-sqjzf8x2.js → file-mutation-sqjzf8x2.js} +1 -1
- package/dist/chunks/{model-resolver-tyfqe8mq.js → file-mutation-svewv0nk.js} +35 -35
- package/dist/chunks/{model-resolver-m8jzyt6a.js → file-mutation-t72fmagr.js} +10 -10
- package/dist/chunks/{model-resolver-tczq8hjw.js → file-mutation-tczq8hjw.js} +1 -1
- package/dist/chunks/{model-resolver-r73hsa18.js → file-mutation-td9q6ghh.js} +19 -19
- package/dist/chunks/{model-resolver-pj41ajb0.js → file-mutation-tfvs93xs.js} +5 -5
- package/dist/chunks/{model-resolver-yg834er4.js → file-mutation-tq3mzssj.js} +18 -18
- package/dist/chunks/{model-resolver-tg1vr1qt.js → file-mutation-tqx9c315.js} +8 -8
- package/dist/chunks/{model-resolver-tw8zr1ps.js → file-mutation-tw8zr1ps.js} +1 -1
- package/dist/chunks/{model-resolver-twv2r8f4.js → file-mutation-twv2r8f4.js} +2 -2
- package/dist/chunks/{model-resolver-v2r1d0zg.js → file-mutation-v2r1d0zg.js} +1 -1
- package/dist/chunks/{model-resolver-7859jp66.js → file-mutation-v35yay96.js} +28 -28
- package/dist/chunks/{model-resolver-eff1wqft.js → file-mutation-v8kyx9fe.js} +22 -22
- package/dist/chunks/{model-resolver-52rn342d.js → file-mutation-v9pksffj.js} +26 -26
- package/dist/chunks/{model-resolver-sshe6cnz.js → file-mutation-vamt18wv.js} +17 -17
- package/dist/chunks/{model-resolver-vd3b3yk9.js → file-mutation-vd3b3yk9.js} +1 -1
- package/dist/chunks/{model-resolver-b5h3d3b4.js → file-mutation-vd9bj70h.js} +28 -28
- package/dist/chunks/file-mutation-venck2hm.js +26 -0
- package/dist/chunks/{model-resolver-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-amjb1f6j.js → file-mutation-vf8a67bd.js} +21 -21
- package/dist/chunks/{model-resolver-vmfhgzt5.js → file-mutation-vmfhgzt5.js} +1 -1
- package/dist/chunks/{model-resolver-pve0p3g2.js → file-mutation-vtjgj3jr.js} +36 -36
- package/dist/chunks/{model-resolver-n65a2gzt.js → file-mutation-vyaq3xbs.js} +8 -8
- package/dist/chunks/{model-resolver-6wq3ehfr.js → file-mutation-w059c7vr.js} +5 -5
- package/dist/chunks/{model-resolver-5enarcya.js → file-mutation-w2eysc6j.js} +6 -6
- package/dist/chunks/{model-resolver-mmx1mfjr.js → file-mutation-w35wzz9x.js} +4 -4
- package/dist/chunks/{model-resolver-jzrjgn5s.js → file-mutation-w3w76j4m.js} +20 -20
- package/dist/chunks/{model-resolver-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-76cb1hcw.js → file-mutation-w8qtt4th.js} +4 -4
- package/dist/chunks/{model-resolver-tw97zmqb.js → file-mutation-w9vn8wsz.js} +10 -10
- package/dist/chunks/{model-resolver-wakvkjy4.js → file-mutation-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-resolver-jwrjw8tj.js → file-mutation-wb23mhq7.js} +43 -43
- package/dist/chunks/{model-resolver-01t4jxfe.js → file-mutation-wbbnhv6v.js} +4 -4
- package/dist/chunks/{model-resolver-5jkzvvxq.js → file-mutation-wbz42q9f.js} +21 -21
- package/dist/chunks/{model-resolver-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-t9qyj45c.js → file-mutation-wdh6vgg0.js} +12 -12
- package/dist/chunks/{model-resolver-fznmdakp.js → file-mutation-wr3re1en.js} +4 -4
- package/dist/chunks/{model-resolver-yh4ym469.js → file-mutation-wwzjdjk2.js} +4 -4
- package/dist/chunks/{model-resolver-dw589k72.js → file-mutation-x240r3kw.js} +29 -29
- package/dist/chunks/{model-resolver-vv5h4bmz.js → file-mutation-xb154nqk.js} +3 -3
- package/dist/chunks/{model-resolver-kxeaxsag.js → file-mutation-xcfcjf9d.js} +11 -11
- package/dist/chunks/{model-resolver-9e09nyr2.js → file-mutation-xh4stpws.js} +32 -32
- package/dist/chunks/{model-resolver-9rqahw18.js → file-mutation-xk2ssr6t.js} +10 -10
- package/dist/chunks/{model-resolver-g42b6ca9.js → file-mutation-xpve62cf.js} +4 -4
- package/dist/chunks/{model-resolver-5zryechk.js → file-mutation-xq4hz08w.js} +2 -2
- package/dist/chunks/{model-resolver-dh9mz5xr.js → file-mutation-y0dnfxbe.js} +11 -11
- package/dist/chunks/{model-resolver-5k8yxqxr.js → file-mutation-y78pw8hh.js} +33 -33
- package/dist/chunks/{model-resolver-g80tn5h1.js → file-mutation-y9nmyqm6.js} +15 -15
- package/dist/chunks/{model-resolver-yb20nhc3.js → file-mutation-yb20nhc3.js} +1 -1
- package/dist/chunks/{model-resolver-a05vx38g.js → file-mutation-yf8h703t.js} +45 -45
- package/dist/chunks/{model-resolver-8rdd1j7g.js → file-mutation-yhtr6e88.js} +46 -46
- package/dist/chunks/{model-resolver-ev24k3w5.js → file-mutation-yj6jvem3.js} +7 -7
- package/dist/chunks/{model-resolver-b2zdt2y6.js → file-mutation-yprj29vk.js} +5 -5
- package/dist/chunks/{model-resolver-9jh4j41s.js → file-mutation-ys5ve7gf.js} +68 -68
- package/dist/chunks/{model-resolver-hv07rj1n.js → file-mutation-yvyt4vgc.js} +5 -5
- package/dist/chunks/file-mutation-z053f2bw.js +257 -0
- package/dist/chunks/{model-resolver-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-n3hhze48.js → file-mutation-z3789qry.js} +19 -19
- package/dist/chunks/{model-resolver-z38nccrw.js → file-mutation-z38nccrw.js} +1 -1
- package/dist/chunks/{model-resolver-042my71g.js → file-mutation-zg057h9g.js} +15 -15
- package/dist/chunks/{model-resolver-pgt2b3dq.js → file-mutation-zk52q0tv.js} +15 -15
- package/dist/chunks/{model-resolver-zkg84ctx.js → file-mutation-zkg84ctx.js} +1 -1
- package/dist/chunks/{model-resolver-jhtz5kdf.js → file-mutation-zmwx25fz.js} +2 -2
- package/dist/chunks/{model-resolver-bjzh04bx.js → file-mutation-zz54hcfv.js} +16 -16
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- 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 +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 +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- 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 +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +89 -89
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- 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 +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +4 -4
- 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 +1 -1
- 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 +109 -109
- 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 +361 -361
- 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 +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- 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 +138 -138
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- 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 +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 +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- 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 +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai-context-caps.js +92 -92
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- 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 +225 -225
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +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 +138 -138
- 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 +128 -128
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +102 -102
- 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 +1 -1
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +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 +15 -15
- 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 +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +137 -137
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- 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 +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +115 -115
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +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 +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +86 -86
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/model-resolver-267g1ppg.js +0 -257
- package/dist/chunks/model-resolver-me0dhgxs.js +0 -18
- package/dist/chunks/model-resolver-qyndfgfp.js +0 -523
- package/dist/chunks/model-resolver-zk2w4fb9.js +0 -26
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2bv980vf.js → file-mutation-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-5fjb7ams.js → file-mutation-5fjb7ams.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-6q2bdcd1.js → file-mutation-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-84wd9syh.js → file-mutation-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a058387c.js → file-mutation-a058387c.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e3qxr5gk.js → file-mutation-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hcxmzztb.js → file-mutation-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jze0r7bz.js → file-mutation-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-m18g726c.js → file-mutation-m18g726c.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-pkyv6v7h.js → file-mutation-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-ve7vex1e.js → file-mutation-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wjj7prxr.js → file-mutation-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z5v4ffb3.js → file-mutation-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service9,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node11
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service9 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service9.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node11 = makeGlobalNode({ service: Service9, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service9, node11, exports_discovery };
|
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
splitGitPatch2,
|
|
7
7
|
chunksByFile2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-rb9dy4dg.js";
|
|
9
9
|
import {
|
|
10
10
|
gitExecutable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-ef5x83kb.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service82
|
|
14
|
+
} from "./file-mutation-m6btfgkq.js";
|
|
15
15
|
import {
|
|
16
16
|
DiffError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-mutation-wbz42q9f.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/vcs/git.ts
|
|
23
23
|
var exports_git = {};
|
|
24
24
|
__export(exports_git, {
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin35,
|
|
26
26
|
VcsGitPlugin: () => exports_git
|
|
27
27
|
});
|
|
28
28
|
import { randomUUID } from "crypto";
|
|
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
import { ChildProcess } from "effect/process";
|
|
35
35
|
import { AppProcess } from "@opencode/util/process";
|
|
36
|
-
var
|
|
36
|
+
var Plugin35 = define({
|
|
37
37
|
id: "opencode.vcs.git",
|
|
38
38
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service82;
|
|
40
40
|
if (location.vcs && location.vcs.type !== "git")
|
|
41
41
|
return;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
@@ -553,4 +553,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
553
553
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
554
554
|
});
|
|
555
555
|
|
|
556
|
-
export {
|
|
556
|
+
export { Plugin35, exports_git };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-2bv980vf.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service82,
|
|
6
|
+
node86
|
|
7
|
+
} from "./file-mutation-m6btfgkq.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service71,
|
|
10
|
+
node74
|
|
11
|
+
} from "./file-mutation-tq3mzssj.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names4
|
|
15
|
+
} from "./file-mutation-w8qtt4th.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Service: () =>
|
|
25
|
-
configured: () =>
|
|
24
|
+
Service: () => Service70,
|
|
25
|
+
configured: () => configured10,
|
|
26
26
|
fffLayer: () => fffLayer2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node73
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
30
30
|
import path from "path";
|
|
@@ -32,7 +32,7 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Scope } from "effect
|
|
|
32
32
|
import { Fff } from "#fff";
|
|
33
33
|
import fuzzysort from "fuzzysort";
|
|
34
34
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
35
|
-
class
|
|
35
|
+
class Service70 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
36
36
|
}
|
|
37
37
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
38
38
|
function emptyIndex() {
|
|
@@ -51,9 +51,9 @@ function search(index, input) {
|
|
|
51
51
|
});
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
|
-
var ripgrepLayer = Layer.effect(
|
|
55
|
-
const location = yield*
|
|
56
|
-
const ripgrep = yield*
|
|
54
|
+
var ripgrepLayer = Layer.effect(Service70, Effect.gen(function* () {
|
|
55
|
+
const location = yield* Service82;
|
|
56
|
+
const ripgrep = yield* Service71;
|
|
57
57
|
const scope = yield* Scope.Scope;
|
|
58
58
|
const clock = yield* Clock.Clock;
|
|
59
59
|
const home = isHome2(location.directory);
|
|
@@ -70,7 +70,7 @@ var ripgrepLayer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
70
70
|
cwd: location.directory,
|
|
71
71
|
pattern: "*",
|
|
72
72
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
73
|
-
exclude: home ? [...
|
|
73
|
+
exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
|
|
74
74
|
onEntry: (entry) => Effect.sync(() => {
|
|
75
75
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
76
76
|
const parts = entry.path.split("/");
|
|
@@ -98,15 +98,15 @@ var ripgrepLayer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
98
98
|
Deferred.doneUnsafe(attempt, exit);
|
|
99
99
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
100
100
|
});
|
|
101
|
-
return
|
|
101
|
+
return Service70.of({
|
|
102
102
|
find: (input) => Effect.gen(function* () {
|
|
103
103
|
yield* refresh;
|
|
104
104
|
return search(index, input);
|
|
105
105
|
})
|
|
106
106
|
});
|
|
107
107
|
}));
|
|
108
|
-
var fffLayer2 = Layer.effect(
|
|
109
|
-
const location = yield*
|
|
108
|
+
var fffLayer2 = Layer.effect(Service70, Effect.gen(function* () {
|
|
109
|
+
const location = yield* Service82;
|
|
110
110
|
const result = yield* Effect.try({
|
|
111
111
|
try: () => Fff.create({
|
|
112
112
|
basePath: location.directory,
|
|
@@ -119,12 +119,12 @@ var fffLayer2 = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
119
119
|
if (!result?.ok) {
|
|
120
120
|
if (result)
|
|
121
121
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
122
|
-
return
|
|
122
|
+
return Service70.of({
|
|
123
123
|
find: () => Effect.succeed([])
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
126
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
127
|
-
return
|
|
127
|
+
return Service70.of({
|
|
128
128
|
find: (input) => Effect.sync(() => {
|
|
129
129
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
130
130
|
const items = (() => {
|
|
@@ -168,16 +168,16 @@ var fffLayer2 = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
170
|
var layer = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
171
|
-
const location = yield*
|
|
171
|
+
const location = yield* Service82;
|
|
172
172
|
if (location.workspaceID)
|
|
173
173
|
return ripgrepLayer;
|
|
174
174
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
175
175
|
return ripgrepLayer;
|
|
176
176
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer;
|
|
177
177
|
}));
|
|
178
|
-
function
|
|
179
|
-
return makeLocationNode({ service:
|
|
178
|
+
function configured10(options) {
|
|
179
|
+
return makeLocationNode({ service: Service70, layer: layer(options), deps: [node86, node74] });
|
|
180
180
|
}
|
|
181
|
-
var
|
|
181
|
+
var node73 = configured10();
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { Service70, fffLayer2, configured10, node73, exports_search };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID9
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-2hbghhry.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info16
|
|
9
|
+
} from "./file-mutation-9t2khtsw.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-wbbnhv6v.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service63
|
|
16
|
+
} from "./file-mutation-abn7vnge.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-e834z07m.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent = {};
|
|
26
26
|
__export(exports_agent, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin16
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info16);
|
|
44
44
|
var pathActions = ["external_directory", "read", "edit"];
|
|
45
45
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
46
46
|
var nativeKeys = ["permissions", "request", "system", "disabled"];
|
|
47
|
-
var
|
|
47
|
+
var Plugin16 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service63;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -163,4 +163,4 @@ var decode = Effect.fnUntraced(function* (file, content) {
|
|
|
163
163
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
164
164
|
});
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { Plugin16, exports_agent };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-q7717vr4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service66,
|
|
6
6
|
Event13
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-bjh3krjv.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin34,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin34 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service85;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service66;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -45,4 +45,4 @@ var Plugin20 = define({
|
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin34, exports_plugin };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-mutation-5pex491w.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID12,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info21
|
|
11
|
+
} from "./file-mutation-s5ypg3ex.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
CopilotModels: () => exports_models,
|
|
20
|
+
derive: () => derive2,
|
|
21
|
+
get: () => get2,
|
|
22
|
+
load: () => load2
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get2(baseURL, headers, existing) {
|
|
72
|
+
return derive2(baseURL, await load2(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load2(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive2(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID12.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info21.make({
|
|
122
|
+
...Info21.default(ID13.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID12.make(remote.id),
|
|
125
|
+
providerID: ID13.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-q7717vr4.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-vd3b3yk9.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service82,
|
|
11
|
+
node86
|
|
12
|
+
} from "./file-mutation-m6btfgkq.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID13,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service76,
|
|
20
|
+
node80,
|
|
21
|
+
Event16
|
|
22
|
+
} from "./file-mutation-5pex491w.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,18 +30,18 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event15,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID12,
|
|
36
|
+
Info: () => Info21,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service75,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
44
|
+
node: () => node79,
|
|
45
45
|
parse: () => parse5,
|
|
46
46
|
supportsText: () => supportsText2
|
|
47
47
|
});
|
|
@@ -49,8 +49,8 @@ import { Model } from "@opencode/schema/model";
|
|
|
49
49
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
50
50
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
51
51
|
import { freeze } from "immer";
|
|
52
|
-
import { Event as
|
|
53
|
-
var
|
|
52
|
+
import { Event as Event15 } from "@opencode/schema/model";
|
|
53
|
+
var ID12 = Model.ID;
|
|
54
54
|
var VariantID2 = Model.VariantID;
|
|
55
55
|
var Family2 = Model.Family;
|
|
56
56
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -67,14 +67,14 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
67
67
|
};
|
|
68
68
|
var Cost2 = Model.Cost;
|
|
69
69
|
var Ref2 = Model.Ref;
|
|
70
|
-
var
|
|
70
|
+
var Info21 = Model.Info;
|
|
71
71
|
|
|
72
|
-
class
|
|
72
|
+
class Service75 extends Context.Service()("@opencode/Model") {
|
|
73
73
|
}
|
|
74
|
-
var layer = Layer.effect(
|
|
75
|
-
const providers = yield*
|
|
74
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
75
|
+
const providers = yield* Service76;
|
|
76
76
|
const bus = yield* Service85;
|
|
77
|
-
const location = yield*
|
|
77
|
+
const location = yield* Service82;
|
|
78
78
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
79
79
|
let input;
|
|
80
80
|
const state = create3({
|
|
@@ -120,7 +120,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
120
120
|
const models = writable(providerID);
|
|
121
121
|
if (!models)
|
|
122
122
|
return;
|
|
123
|
-
const model = draft(providerID, modelID) ??
|
|
123
|
+
const model = draft(providerID, modelID) ?? Info21.default(providerID, modelID);
|
|
124
124
|
update(model);
|
|
125
125
|
model.id = modelID;
|
|
126
126
|
model.providerID = providerID;
|
|
@@ -189,7 +189,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
189
189
|
];
|
|
190
190
|
}));
|
|
191
191
|
if (disableFree)
|
|
192
|
-
for (const providerID of [
|
|
192
|
+
for (const providerID of [ID13.opencode, ID13.make("opencode-go")])
|
|
193
193
|
byProvider.get(providerID)?.forEach((model, id, models) => {
|
|
194
194
|
if (!model.cost.some((cost) => cost.input > 0))
|
|
195
195
|
models.delete(id);
|
|
@@ -216,8 +216,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
216
216
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
217
217
|
});
|
|
218
218
|
});
|
|
219
|
-
yield* bus.subscribe(
|
|
220
|
-
return
|
|
219
|
+
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
220
|
+
return Service75.of({
|
|
221
221
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
222
222
|
reload,
|
|
223
223
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
236
236
|
})
|
|
237
237
|
});
|
|
238
238
|
}));
|
|
239
|
-
var
|
|
239
|
+
var node79 = makeLocationNode({ service: Service75, layer, deps: [node80, node89, node86] });
|
|
240
240
|
var PREFERRED_FREE = [
|
|
241
241
|
"big-pickle",
|
|
242
242
|
"deepseek-v4.1-flash-free",
|
|
@@ -244,7 +244,7 @@ var PREFERRED_FREE = [
|
|
|
244
244
|
"muse-spark-1.3-contributor-free"
|
|
245
245
|
];
|
|
246
246
|
function preferFree(models) {
|
|
247
|
-
const freeOnly = models.every((model) => model.providerID ===
|
|
247
|
+
const freeOnly = models.every((model) => model.providerID === ID13.opencode && !model.cost.some((cost) => cost.input > 0));
|
|
248
248
|
if (!freeOnly)
|
|
249
249
|
return models;
|
|
250
250
|
const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
|
|
@@ -263,9 +263,9 @@ function compatibility2(input) {
|
|
|
263
263
|
function parse5(input) {
|
|
264
264
|
const index = input.indexOf("/");
|
|
265
265
|
return {
|
|
266
|
-
providerID:
|
|
267
|
-
modelID:
|
|
266
|
+
providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
|
|
267
|
+
modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
|
|
268
268
|
};
|
|
269
269
|
}
|
|
270
270
|
|
|
271
|
-
export {
|
|
271
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info21, Service75, node79, supportsText2, compatibility2, parse5, exports_model2, Event15 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service61,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node64
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service61 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service61, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service61.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service52, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node64 = makeGlobalNode({ service: Service61, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service61, node64, exports_environment };
|