@opencode/core 0.0.0-dev-20823 → 0.0.0-dev-20825
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 +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{plugin-e2rpexqj.js → model-resolver-00hydevz.js} +16 -16
- package/dist/chunks/{plugin-rpvf7ht0.js → model-resolver-00mvmxfh.js} +3 -3
- package/dist/chunks/{plugin-4434d9q2.js → model-resolver-0bg0bx69.js} +9 -9
- package/dist/chunks/{plugin-mweeaapw.js → model-resolver-0br3sbwn.js} +4 -4
- package/dist/chunks/{plugin-7ndy0eps.js → model-resolver-0cyezpg7.js} +7 -7
- package/dist/chunks/{plugin-h4qdfb04.js → model-resolver-0epwncsf.js} +3 -3
- package/dist/chunks/{plugin-d5atheqn.js → model-resolver-0j1h8p53.js} +22 -22
- package/dist/chunks/{plugin-fcrkznn8.js → model-resolver-0jwsre1p.js} +5 -5
- package/dist/chunks/{plugin-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{plugin-rkcx3hv9.js → model-resolver-0rs8myd8.js} +16 -16
- package/dist/chunks/{plugin-0vbcp93d.js → model-resolver-0vbcp93d.js} +2 -2
- package/dist/chunks/{plugin-tbpvgwx6.js → model-resolver-0yvp6fqs.js} +32 -32
- package/dist/chunks/{plugin-vbdk3j7h.js → model-resolver-0z2tybs7.js} +4 -4
- package/dist/chunks/{plugin-dv6pzha9.js → model-resolver-1ggxa6t4.js} +87 -87
- package/dist/chunks/{plugin-1z18ck0n.js → model-resolver-1gpb38yh.js} +9 -9
- package/dist/chunks/{plugin-xx3z1yrm.js → model-resolver-1v7d8dyr.js} +11 -11
- package/dist/chunks/{plugin-enj9hnwr.js → model-resolver-1xyzrv88.js} +20 -20
- package/dist/chunks/model-resolver-1y150ee2.js +26 -0
- package/dist/chunks/{plugin-2y7g6pt4.js → model-resolver-1y24xx8v.js} +30 -30
- package/dist/chunks/{plugin-3yxf4y5g.js → model-resolver-1zsq2bqn.js} +9 -9
- package/dist/chunks/{plugin-nqjpk2mw.js → model-resolver-20vh3zss.js} +13 -13
- package/dist/chunks/{plugin-eybg9pzq.js → model-resolver-21hptw97.js} +32 -32
- package/dist/chunks/{plugin-hgf982ah.js → model-resolver-25tpx51f.js} +10 -10
- package/dist/chunks/{plugin-mjyc0eg7.js → model-resolver-267qws5w.js} +18 -18
- package/dist/chunks/{plugin-8mv8d0mc.js → model-resolver-2khnwfma.js} +20 -20
- package/dist/chunks/{plugin-tkm6pdgr.js → model-resolver-2rehhz5t.js} +11 -11
- package/dist/chunks/{plugin-2vvh33eb.js → model-resolver-2vvh33eb.js} +2 -2
- package/dist/chunks/{plugin-6n4yn6fb.js → model-resolver-2z1sbxkm.js} +12 -12
- package/dist/chunks/{plugin-31xfzrxg.js → model-resolver-31xfzrxg.js} +2 -2
- package/dist/chunks/{plugin-7s9vry3q.js → model-resolver-37ex1wq2.js} +3 -3
- package/dist/chunks/{plugin-yg218sex.js → model-resolver-3an6bgbg.js} +15 -15
- package/dist/chunks/{plugin-s4k562zt.js → model-resolver-3e06xrhq.js} +24 -24
- package/dist/chunks/{plugin-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{plugin-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{plugin-3hwn7j4h.js → model-resolver-3hwn7j4h.js} +2 -2
- package/dist/chunks/{plugin-d6kktm3w.js → model-resolver-3j5kk4r4.js} +55 -55
- package/dist/chunks/{plugin-98mz35zf.js → model-resolver-3j6qp9bc.js} +15 -15
- package/dist/chunks/{plugin-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{plugin-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{plugin-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
- package/dist/chunks/{plugin-thqymva4.js → model-resolver-438mmgwp.js} +1 -1
- package/dist/chunks/{plugin-0vxwrg02.js → model-resolver-4a5ztk63.js} +19 -19
- package/dist/chunks/{plugin-6q2kj0te.js → model-resolver-4qaehj67.js} +3 -3
- package/dist/chunks/{plugin-2ccvkpx1.js → model-resolver-4ts7tf6z.js} +2 -2
- package/dist/chunks/{plugin-y7nndgyc.js → model-resolver-4xdpab2z.js} +9 -9
- package/dist/chunks/{plugin-mnwggq08.js → model-resolver-4zj9c7sr.js} +18 -18
- package/dist/chunks/{plugin-hffdwvyh.js → model-resolver-52ghtah7.js} +5 -5
- package/dist/chunks/{plugin-vrzt526f.js → model-resolver-58hng72m.js} +5 -5
- package/dist/chunks/{plugin-w1c9a0va.js → model-resolver-5fn8kb1m.js} +30 -30
- package/dist/chunks/{plugin-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
- package/dist/chunks/{plugin-e3qxr5gk.js → model-resolver-5qd3pb7m.js} +2 -2
- package/dist/chunks/{plugin-9hn6k4tm.js → model-resolver-5yzzbxa7.js} +8 -8
- package/dist/chunks/{plugin-8r87cmmw.js → model-resolver-62dx9yxp.js} +35 -35
- package/dist/chunks/{plugin-h59tgy8a.js → model-resolver-66c2wr2a.js} +10 -10
- package/dist/chunks/{plugin-pvhak42s.js → model-resolver-6b3rp9xb.js} +28 -28
- package/dist/chunks/{plugin-fdms3n6w.js → model-resolver-6hjx5zpb.js} +9 -9
- package/dist/chunks/{plugin-47jkzegy.js → model-resolver-6kzp9tjq.js} +5 -5
- package/dist/chunks/{plugin-py3kkmfq.js → model-resolver-6pc27hjz.js} +6 -6
- package/dist/chunks/{plugin-6xb47vfp.js → model-resolver-6xb47vfp.js} +1 -1
- package/dist/chunks/{plugin-qkpse39q.js → model-resolver-7428vhhy.js} +17 -17
- package/dist/chunks/{plugin-8rwhsj9c.js → model-resolver-75qns3nc.js} +32 -32
- package/dist/chunks/{plugin-2125jrc0.js → model-resolver-7atybeme.js} +18 -18
- package/dist/chunks/{plugin-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{plugin-7pghxf47.js → model-resolver-7gegkexy.js} +1 -1
- package/dist/chunks/{plugin-e9djhfqm.js → model-resolver-7qy5krn4.js} +50 -50
- package/dist/chunks/{plugin-061x37t8.js → model-resolver-7x4tntjh.js} +1 -1
- package/dist/chunks/{plugin-1bevbqqj.js → model-resolver-8445zpne.js} +17 -17
- package/dist/chunks/{plugin-84txncab.js → model-resolver-84txncab.js} +1 -1
- package/dist/chunks/{plugin-qemahjw3.js → model-resolver-89be0nvq.js} +15 -15
- package/dist/chunks/{plugin-tcezcvh9.js → model-resolver-89znhe33.js} +4 -4
- package/dist/chunks/{plugin-fj1pakky.js → model-resolver-8asyfh9s.js} +9 -9
- package/dist/chunks/{plugin-2n265nzp.js → model-resolver-8e78msr1.js} +17 -17
- package/dist/chunks/{plugin-8m6m0r52.js → model-resolver-8m6m0r52.js} +1 -1
- package/dist/chunks/{plugin-thbc8ajp.js → model-resolver-8nzb5d0e.js} +2 -2
- package/dist/chunks/{plugin-1ck3q5mz.js → model-resolver-8ss8m2w6.js} +24 -24
- package/dist/chunks/{plugin-k5pxengy.js → model-resolver-8xshesq6.js} +2 -2
- package/dist/chunks/{plugin-88j6cjwm.js → model-resolver-8zda0nf7.js} +3 -3
- package/dist/chunks/{plugin-aybjdx56.js → model-resolver-952eaccn.js} +19 -19
- package/dist/chunks/{plugin-kqv3x6rj.js → model-resolver-97aeaand.js} +9 -9
- package/dist/chunks/{plugin-6my2x26h.js → model-resolver-9g0x53p6.js} +30 -30
- package/dist/chunks/{plugin-qsyqdstv.js → model-resolver-9h1rq4nb.js} +11 -11
- package/dist/chunks/{plugin-hxvz4mjc.js → model-resolver-9h7c1aps.js} +10 -10
- package/dist/chunks/{plugin-hgd10vy7.js → model-resolver-9mk6smr7.js} +18 -18
- package/dist/chunks/{plugin-gme4fe1z.js → model-resolver-9q2dymh5.js} +47 -47
- package/dist/chunks/{plugin-mvmfgwc8.js → model-resolver-9zjswjmw.js} +6 -6
- package/dist/chunks/{plugin-3y377wv9.js → model-resolver-addxnjmp.js} +4 -4
- package/dist/chunks/{plugin-5k5y8kfk.js → model-resolver-am4ys6ej.js} +3 -3
- package/dist/chunks/{plugin-h2k9w14v.js → model-resolver-arvc38t3.js} +5 -5
- package/dist/chunks/{plugin-fpz8ppdk.js → model-resolver-aw7rh1ww.js} +25 -25
- package/dist/chunks/{plugin-scgrse2b.js → model-resolver-b3f8fkhc.js} +5 -5
- package/dist/chunks/{plugin-p43j5atp.js → model-resolver-b8zkqphn.js} +19 -19
- package/dist/chunks/{plugin-5gsmcs0s.js → model-resolver-bezqnnbp.js} +13 -13
- package/dist/chunks/{plugin-bjx1sjef.js → model-resolver-bjx1sjef.js} +2 -2
- package/dist/chunks/{plugin-td7tnc1b.js → model-resolver-brqa01n9.js} +25 -25
- package/dist/chunks/{plugin-fz0yqa9g.js → model-resolver-bs6f72ms.js} +10 -10
- package/dist/chunks/{plugin-kaxes9n8.js → model-resolver-btz0t88h.js} +24 -24
- package/dist/chunks/{plugin-rj3eygr5.js → model-resolver-c41wscbt.js} +2 -2
- package/dist/chunks/{plugin-0mghaw6q.js → model-resolver-c7cb53f3.js} +11 -11
- package/dist/chunks/{plugin-sa8ekw3f.js → model-resolver-c8ax2afj.js} +2 -2
- package/dist/chunks/{plugin-by2aypax.js → model-resolver-c9b6c6br.js} +46 -46
- package/dist/chunks/{plugin-d4he2qe1.js → model-resolver-cpneeje0.js} +5 -5
- package/dist/chunks/{plugin-a3eadrmx.js → model-resolver-cxm67pkc.js} +1 -1
- package/dist/chunks/{plugin-bmffrw1v.js → model-resolver-czz8a252.js} +22 -22
- package/dist/chunks/{plugin-s42vkex2.js → model-resolver-d07a65d0.js} +46 -46
- package/dist/chunks/{plugin-fft94ved.js → model-resolver-d9kycxq3.js} +11 -11
- package/dist/chunks/{plugin-mjp57ywm.js → model-resolver-dg7e64je.js} +13 -13
- package/dist/chunks/{plugin-5pyjqqve.js → model-resolver-drnf6xwf.js} +2 -2
- package/dist/chunks/{plugin-xfkkasph.js → model-resolver-drwq78ky.js} +4 -4
- package/dist/chunks/{plugin-14qjrqcw.js → model-resolver-ds4xae65.js} +8 -8
- package/dist/chunks/{plugin-kjdm35cs.js → model-resolver-dssbfrwz.js} +5 -5
- package/dist/chunks/{plugin-y5t2kk7f.js → model-resolver-dxy7xx6d.js} +7 -7
- package/dist/chunks/{plugin-59wgbztd.js → model-resolver-e052d1q0.js} +29 -29
- package/dist/chunks/{plugin-xt2cp7j7.js → model-resolver-e73g0wvd.js} +4 -4
- package/dist/chunks/{plugin-sjt8vgj6.js → model-resolver-e8m77gve.js} +10 -10
- package/dist/chunks/{plugin-0gsbwkzt.js → model-resolver-e8pe5bs3.js} +37 -37
- package/dist/chunks/{plugin-rhjbct0v.js → model-resolver-eaj1djv9.js} +8 -8
- package/dist/chunks/{plugin-eej6y6fw.js → model-resolver-eej6y6fw.js} +2 -2
- package/dist/chunks/{plugin-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{plugin-c1fqxshp.js → model-resolver-es1vcfrp.js} +3 -3
- package/dist/chunks/{plugin-gc8tyy0w.js → model-resolver-evq0a796.js} +56 -56
- package/dist/chunks/{plugin-93r0jw5s.js → model-resolver-f6vfcazt.js} +11 -11
- package/dist/chunks/{plugin-ebwd0fgm.js → model-resolver-f7nkyddb.js} +7 -7
- package/dist/chunks/{plugin-4jwpvep1.js → model-resolver-f8w4kezf.js} +15 -15
- package/dist/chunks/model-resolver-f9qvt350.js +513 -0
- package/dist/chunks/{plugin-tkjfcan5.js → model-resolver-fcxqfe59.js} +9 -9
- package/dist/chunks/{plugin-zgfn1wqh.js → model-resolver-fg0se8bt.js} +22 -22
- package/dist/chunks/{plugin-4tw3697a.js → model-resolver-fptw13bf.js} +19 -19
- package/dist/chunks/{plugin-jqssw7m0.js → model-resolver-fz112egw.js} +3 -3
- package/dist/chunks/{plugin-a1gprahp.js → model-resolver-g3pjsnhq.js} +22 -22
- package/dist/chunks/{plugin-dkaw1ydm.js → model-resolver-gd3ka9py.js} +1 -1
- package/dist/chunks/{plugin-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{plugin-t5xaxvnk.js → model-resolver-gfhy63hj.js} +17 -17
- package/dist/chunks/{plugin-gk8qb678.js → model-resolver-gk8qb678.js} +1 -1
- package/dist/chunks/{plugin-bcsbag3k.js → model-resolver-gqvee6ey.js} +14 -14
- package/dist/chunks/{plugin-zhbky07k.js → model-resolver-gzk07654.js} +42 -42
- package/dist/chunks/{plugin-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{plugin-gam45aax.js → model-resolver-hcc7h0se.js} +29 -29
- package/dist/chunks/{plugin-gd0tnyjc.js → model-resolver-he27pt63.js} +1 -1
- package/dist/chunks/{plugin-x4scsdvr.js → model-resolver-hejxbgj7.js} +18 -18
- package/dist/chunks/{plugin-hgz4x7wa.js → model-resolver-hgz4x7wa.js} +1 -1
- package/dist/chunks/{plugin-hq3c8me3.js → model-resolver-hq3c8me3.js} +1 -1
- package/dist/chunks/{plugin-z7q32mm4.js → model-resolver-hsnz0d85.js} +11 -11
- package/dist/chunks/{plugin-kgvr5kes.js → model-resolver-hthjksz6.js} +26 -26
- package/dist/chunks/{plugin-sk8sg77m.js → model-resolver-hxrx80a3.js} +28 -28
- package/dist/chunks/{plugin-re585wd9.js → model-resolver-hyay7qq8.js} +8 -8
- package/dist/chunks/{plugin-3azjfkq3.js → model-resolver-j043eqhj.js} +24 -24
- package/dist/chunks/{plugin-91qna3x0.js → model-resolver-j09zfasm.js} +3 -3
- package/dist/chunks/{plugin-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{plugin-65nfjkhg.js → model-resolver-j5cam5cc.js} +92 -92
- package/dist/chunks/{plugin-5egmf1b2.js → model-resolver-j5xf5m5x.js} +29 -29
- package/dist/chunks/{plugin-80ejkm49.js → model-resolver-j62t34ty.js} +4 -4
- package/dist/chunks/{plugin-5vxzgdcs.js → model-resolver-j6sex83x.js} +4 -4
- package/dist/chunks/{plugin-zfhqg2dq.js → model-resolver-jaawwjdn.js} +34 -34
- package/dist/chunks/{plugin-kqx1b4hy.js → model-resolver-jdz4qjxc.js} +4 -4
- package/dist/chunks/{plugin-59b115kr.js → model-resolver-jepehhcn.js} +9 -9
- package/dist/chunks/{plugin-pbd184me.js → model-resolver-jxr5ks98.js} +6 -6
- package/dist/chunks/{plugin-9rp2m95v.js → model-resolver-k5dc2vmd.js} +9 -9
- package/dist/chunks/{plugin-jsfp09cq.js → model-resolver-k9byjnss.js} +8 -8
- package/dist/chunks/{plugin-ejjdbph3.js → model-resolver-kc9gjmg8.js} +18 -18
- package/dist/chunks/{plugin-j8xqtsvv.js → model-resolver-kxrk9wqg.js} +9 -9
- package/dist/chunks/{plugin-45y5r6h0.js → model-resolver-kxvb3car.js} +20 -20
- package/dist/chunks/{plugin-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{plugin-982dy9v8.js → model-resolver-mdgny2h2.js} +69 -69
- package/dist/chunks/{plugin-vh8m0kv7.js → model-resolver-mh95raz8.js} +17 -17
- package/dist/chunks/{plugin-gbye2m5q.js → model-resolver-mjwve1nx.js} +31 -31
- package/dist/chunks/{plugin-dzxee4qf.js → model-resolver-mpr1ppnz.js} +173 -173
- package/dist/chunks/{plugin-nz755hq5.js → model-resolver-mr56bpwe.js} +11 -11
- package/dist/chunks/{plugin-aee2tzq6.js → model-resolver-msk51jxa.js} +17 -17
- package/dist/chunks/{plugin-h6c5betn.js → model-resolver-mt7m3ya6.js} +9 -9
- package/dist/chunks/{plugin-vx3jgdek.js → model-resolver-my4zabxr.js} +3 -3
- package/dist/chunks/{plugin-6b5daphh.js → model-resolver-n2rv9ytx.js} +12 -12
- package/dist/chunks/{plugin-geph165d.js → model-resolver-n3qtygy3.js} +7 -7
- package/dist/chunks/{plugin-967benbv.js → model-resolver-n61013np.js} +11 -11
- package/dist/chunks/{plugin-rq8jj6w9.js → model-resolver-n8anjzen.js} +29 -29
- package/dist/chunks/{plugin-e80seqcp.js → model-resolver-nma959mg.js} +3 -3
- package/dist/chunks/{plugin-618rftj7.js → model-resolver-ns4jf56n.js} +31 -31
- package/dist/chunks/{plugin-0sacbgq8.js → model-resolver-nsep0bnj.js} +9 -9
- package/dist/chunks/{plugin-sp3frt9s.js → model-resolver-nveymbys.js} +1 -1
- package/dist/chunks/{plugin-0n53rfxy.js → model-resolver-p0x6m6cr.js} +34 -34
- package/dist/chunks/{plugin-b27vhd2z.js → model-resolver-pbfwh0cy.js} +7 -7
- package/dist/chunks/{plugin-d858xzj7.js → model-resolver-ph842b28.js} +4 -4
- package/dist/chunks/{plugin-97q3h1t9.js → model-resolver-pj2kjhp4.js} +20 -20
- package/dist/chunks/{plugin-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{plugin-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{plugin-89rm2zja.js → model-resolver-pm617sjb.js} +11 -11
- package/dist/chunks/{plugin-sg3541yr.js → model-resolver-pqf191vy.js} +17 -17
- package/dist/chunks/{plugin-tcay1cqt.js → model-resolver-prmgem5b.js} +6 -6
- package/dist/chunks/{plugin-0j77ygfz.js → model-resolver-q0xm7vwc.js} +6 -6
- package/dist/chunks/{plugin-5bphcjzp.js → model-resolver-q0zbnr5v.js} +6 -6
- package/dist/chunks/{plugin-159r1yn6.js → model-resolver-q2t1kx4r.js} +2 -2
- package/dist/chunks/model-resolver-qdb1nj2v.js +253 -0
- package/dist/chunks/{plugin-d7wb22yq.js → model-resolver-qeay7bfp.js} +50 -50
- package/dist/chunks/{plugin-vvxj09sc.js → model-resolver-qfxdb210.js} +8 -8
- package/dist/chunks/{plugin-k62wg7bw.js → model-resolver-qgy4cpjv.js} +9 -9
- package/dist/chunks/{plugin-5rqt7f80.js → model-resolver-qkn9n2ht.js} +19 -19
- package/dist/chunks/{plugin-qnc92qwc.js → model-resolver-qnc92qwc.js} +1 -1
- package/dist/chunks/{plugin-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{plugin-4e8vs6eh.js → model-resolver-qwjmgwmn.js} +8 -8
- package/dist/chunks/{plugin-b2gqp5zp.js → model-resolver-r3dvpv5z.js} +26 -26
- package/dist/chunks/{plugin-207ajt2h.js → model-resolver-r4yqrmdq.js} +5 -5
- package/dist/chunks/{plugin-1acjjqhc.js → model-resolver-r8xr0va3.js} +4 -4
- package/dist/chunks/{plugin-54ma36ye.js → model-resolver-r94pvvab.js} +4 -4
- package/dist/chunks/{plugin-rap9a73h.js → model-resolver-rap9a73h.js} +1 -1
- package/dist/chunks/{plugin-x2a3d05p.js → model-resolver-rbr6e3az.js} +46 -46
- package/dist/chunks/{plugin-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{plugin-cjwramev.js → model-resolver-repb58am.js} +6 -6
- package/dist/chunks/{plugin-qcy1afjb.js → model-resolver-rjmj41vv.js} +4 -4
- package/dist/chunks/{plugin-gdwkbaw9.js → model-resolver-rk9k7afq.js} +3 -3
- package/dist/chunks/{plugin-dcwmqsyn.js → model-resolver-rm0y65ew.js} +5 -5
- package/dist/chunks/{plugin-twpht90h.js → model-resolver-rsmgkfp3.js} +10 -10
- package/dist/chunks/{plugin-t7n9q6bq.js → model-resolver-rwm5vee1.js} +4 -4
- package/dist/chunks/{plugin-xvt8esm3.js → model-resolver-rx9sw936.js} +40 -40
- package/dist/chunks/{plugin-7rwqf82v.js → model-resolver-rzs3gq0x.js} +8 -8
- package/dist/chunks/{plugin-v9bjd2nm.js → model-resolver-s4xtvnse.js} +20 -20
- package/dist/chunks/{plugin-jfgygxms.js → model-resolver-s76dkkvr.js} +15 -15
- package/dist/chunks/{plugin-b9gf7x45.js → model-resolver-shc06m3c.js} +34 -34
- package/dist/chunks/{plugin-xz3vz871.js → model-resolver-skhz7g2d.js} +16 -16
- package/dist/chunks/{plugin-cep37vxe.js → model-resolver-spzmyp0d.js} +5 -5
- package/dist/chunks/{plugin-syv4x271.js → model-resolver-syv4x271.js} +1 -1
- package/dist/chunks/{plugin-ers8c2fb.js → model-resolver-t2vkhgbg.js} +16 -16
- package/dist/chunks/{plugin-6p3qk4zh.js → model-resolver-t57shhp7.js} +25 -25
- package/dist/chunks/{plugin-hn97hcnn.js → model-resolver-t8h80vnj.js} +21 -21
- package/dist/chunks/{plugin-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{plugin-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{plugin-60q0me2z.js → model-resolver-thxhb584.js} +6 -6
- package/dist/chunks/{plugin-rert0e01.js → model-resolver-tkb22qbm.js} +2 -2
- package/dist/chunks/{plugin-phs13s5a.js → model-resolver-tmzvxbcr.js} +10 -10
- package/dist/chunks/{plugin-wa63aazd.js → model-resolver-tnwk7je0.js} +11 -11
- package/dist/chunks/{plugin-tyytaxap.js → model-resolver-tyytaxap.js} +1 -1
- package/dist/chunks/{plugin-74t6edms.js → model-resolver-v2xp8k5w.js} +4 -4
- package/dist/chunks/{plugin-v7p4zvkq.js → model-resolver-v7p4zvkq.js} +2 -2
- package/dist/chunks/{plugin-tn8e1b0c.js → model-resolver-v7shq5xq.js} +24 -24
- package/dist/chunks/{plugin-qk5bkgmy.js → model-resolver-ve4j09ev.js} +34 -34
- package/dist/chunks/{plugin-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{plugin-tkwas6xg.js → model-resolver-vk084q95.js} +34 -34
- package/dist/chunks/{plugin-cs3ybxkb.js → model-resolver-vk4601vm.js} +18 -18
- package/dist/chunks/{plugin-wpqcbwtm.js → model-resolver-vq8v8vez.js} +4 -4
- package/dist/chunks/{plugin-x21gy8xc.js → model-resolver-vv44hwmw.js} +12 -12
- package/dist/chunks/{plugin-epsvh9ph.js → model-resolver-vwt8phtz.js} +17 -17
- package/dist/chunks/{plugin-wgm6beay.js → model-resolver-vwvxcq06.js} +5 -5
- package/dist/chunks/{plugin-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
- package/dist/chunks/{plugin-j8ftn7g2.js → model-resolver-w0n5n1pn.js} +13 -13
- package/dist/chunks/{plugin-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{plugin-8876qm3g.js → model-resolver-wat9ccs0.js} +16 -16
- package/dist/chunks/{plugin-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{plugin-e24d0z83.js → model-resolver-wev7e6ck.js} +13 -13
- package/dist/chunks/{plugin-sqt863se.js → model-resolver-wkw6304r.js} +16 -16
- package/dist/chunks/{plugin-z5dg9brp.js → model-resolver-wpdtsyf6.js} +17 -17
- package/dist/chunks/{plugin-zc9gfbxq.js → model-resolver-wr9zkec4.js} +12 -12
- package/dist/chunks/{plugin-jjhd5z8q.js → model-resolver-wvnxh5mx.js} +15 -15
- package/dist/chunks/{plugin-r56qnc8x.js → model-resolver-x2m64zns.js} +32 -32
- package/dist/chunks/{plugin-jmnf8cfw.js → model-resolver-x2qxvyvc.js} +28 -28
- package/dist/chunks/{plugin-4dzrgftc.js → model-resolver-x6v0h5p6.js} +11 -11
- package/dist/chunks/{plugin-592bb1sy.js → model-resolver-x7srd6wz.js} +10 -10
- package/dist/chunks/{plugin-2sgrzhf0.js → model-resolver-x8yzxsbj.js} +11 -11
- package/dist/chunks/{plugin-v61fahaf.js → model-resolver-xfwgz2sz.js} +11 -11
- package/dist/chunks/{plugin-bnjyp57e.js → model-resolver-xmkm7fbj.js} +27 -27
- package/dist/chunks/{plugin-fbda8msv.js → model-resolver-xpffpww7.js} +11 -11
- package/dist/chunks/{plugin-7v81x33d.js → model-resolver-y15vpdnr.js} +9 -9
- package/dist/chunks/{plugin-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{plugin-y71avatq.js → model-resolver-y71avatq.js} +1 -1
- package/dist/chunks/{plugin-zzv6123n.js → model-resolver-yav78m6g.js} +15 -15
- package/dist/chunks/{plugin-5eggv871.js → model-resolver-yesxfxzm.js} +14 -14
- package/dist/chunks/{plugin-3zn4cnw5.js → model-resolver-yfkx0eqm.js} +24 -24
- package/dist/chunks/{plugin-m9x0s52e.js → model-resolver-ykvkrf63.js} +3 -3
- package/dist/chunks/{plugin-a347nh2p.js → model-resolver-ytm23z63.js} +22 -22
- package/dist/chunks/{plugin-82d1f670.js → model-resolver-yy2bf7rf.js} +11 -11
- package/dist/chunks/{plugin-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{plugin-sxjx4pe5.js → model-resolver-z525se4v.js} +18 -18
- package/dist/chunks/{plugin-vv26c3w7.js → model-resolver-z5z78jza.js} +23 -23
- package/dist/chunks/{plugin-svz1m89k.js → model-resolver-z64e08bt.js} +11 -11
- package/dist/chunks/{plugin-0afbjnzr.js → model-resolver-z6xnm1hd.js} +24 -24
- package/dist/chunks/{plugin-76f701w3.js → model-resolver-zehn0qfn.js} +45 -45
- package/dist/chunks/{plugin-mp572k2z.js → model-resolver-zkqkkjp9.js} +24 -24
- package/dist/chunks/{plugin-nrp9mwhy.js → model-resolver-znvvnn0n.js} +11 -11
- package/dist/chunks/{plugin-08t5zg32.js → model-resolver-zp6x4rdv.js} +11 -11
- package/dist/chunks/{plugin-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{plugin-4z58m4b4.js → model-resolver-zsr4wwhv.js} +4 -4
- package/dist/chunks/{plugin-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- 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 +83 -83
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +1 -1
- 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 +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- 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 +359 -359
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +91 -91
- 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 +131 -131
- 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 +100 -100
- package/dist/model.js +98 -98
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- 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 +88 -88
- 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 +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- 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 +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- 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 +127 -127
- package/dist/plugin/provider/openai.js +97 -97
- package/dist/plugin/provider/opencode.js +99 -99
- 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 +92 -92
- 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 +117 -117
- 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 +169 -169
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- 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 +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +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 +222 -222
- 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 +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 +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +92 -92
- 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 +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- 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 +130 -130
- 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 +122 -122
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +110 -110
- 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 +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- 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 +5 -5
- package/dist/v1/config/error.js +4 -4
- 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 +3 -3
- 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/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- 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 +100 -100
- package/package.json +8 -8
- package/dist/chunks/plugin-1s1cv7f2.js +0 -253
- package/dist/chunks/plugin-d54hk8ag.js +0 -26
- package/dist/chunks/plugin-rvws41zy.js +0 -513
- /package/dist/chunks/{plugin-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{plugin-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{plugin-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{plugin-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{plugin-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{plugin-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{plugin-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{plugin-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{plugin-2bv980vf.js → model-resolver-2bv980vf.js} +0 -0
- /package/dist/chunks/{plugin-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{plugin-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{plugin-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{plugin-3t0ybcrp.js → model-resolver-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{plugin-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{plugin-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{plugin-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{plugin-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{plugin-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{plugin-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{plugin-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{plugin-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{plugin-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{plugin-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{plugin-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{plugin-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{plugin-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{plugin-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
- /package/dist/chunks/{plugin-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{plugin-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{plugin-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{plugin-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{plugin-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{plugin-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{plugin-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{plugin-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{plugin-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{plugin-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{plugin-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{plugin-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{plugin-bw78ga2c.js → model-resolver-bw78ga2c.js} +0 -0
- /package/dist/chunks/{plugin-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{plugin-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{plugin-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{plugin-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{plugin-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{plugin-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{plugin-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{plugin-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{plugin-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{plugin-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{plugin-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{plugin-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{plugin-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{plugin-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{plugin-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{plugin-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{plugin-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{plugin-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{plugin-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{plugin-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{plugin-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{plugin-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{plugin-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{plugin-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{plugin-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{plugin-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{plugin-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{plugin-jze0r7bz.js → model-resolver-jze0r7bz.js} +0 -0
- /package/dist/chunks/{plugin-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{plugin-m18g726c.js → model-resolver-m18g726c.js} +0 -0
- /package/dist/chunks/{plugin-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{plugin-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{plugin-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{plugin-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{plugin-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{plugin-pkyv6v7h.js → model-resolver-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{plugin-pyv0edze.js → model-resolver-pyv0edze.js} +0 -0
- /package/dist/chunks/{plugin-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{plugin-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{plugin-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{plugin-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{plugin-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{plugin-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{plugin-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{plugin-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{plugin-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{plugin-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{plugin-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
- /package/dist/chunks/{plugin-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{plugin-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{plugin-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{plugin-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{plugin-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{plugin-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{plugin-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{plugin-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{plugin-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{plugin-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{plugin-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{plugin-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-vq8v8vez.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./model-resolver-8e78msr1.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service28
|
|
10
|
+
} from "./model-resolver-7qy5krn4.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command = {};
|
|
17
17
|
__export(exports_command, {
|
|
18
18
|
CommandPlugin: () => exports_command,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin16
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin16 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service79;
|
|
200
|
+
const mcp = yield* Service28;
|
|
201
201
|
const bus = yield* Service84;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin16, exports_command };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-qnc92qwc.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-c41wscbt.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-vq8v8vez.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event18,
|
|
7
|
+
Service77,
|
|
8
|
+
node81
|
|
9
|
+
} from "./model-resolver-9g0x53p6.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service40,
|
|
12
|
+
node43
|
|
13
|
+
} from "./model-resolver-z6xnm1hd.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service79,
|
|
19
|
+
node83
|
|
20
|
+
} from "./model-resolver-8e78msr1.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-4ts7tf6z.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-resolver-vk4601vm.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names3,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-e8m77gve.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-resolver-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service59,
|
|
36
|
+
Event12,
|
|
37
|
+
node64
|
|
38
|
+
} from "./model-resolver-hejxbgj7.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options4,
|
|
48
|
+
Service: () => Service39,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured4,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer16,
|
|
53
|
+
node: () => node42,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options4 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service39 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service39, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
96
|
+
const location = yield* Service79;
|
|
97
|
+
const watcher = yield* Service40;
|
|
98
98
|
const bus = yield* Service84;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service77;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service59;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore" };
|
|
@@ -163,7 +163,7 @@ var layer24 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
163
163
|
});
|
|
164
164
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
165
165
|
return [
|
|
166
|
-
...yield* Effect.forEach(
|
|
166
|
+
...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
167
167
|
new Directory({ type: "directory", path: directory })
|
|
168
168
|
];
|
|
169
169
|
});
|
|
@@ -217,8 +217,8 @@ var layer24 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
217
217
|
}, (effect) => reloadLock.withPermit(effect));
|
|
218
218
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
219
219
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
220
|
-
yield* bus.subscribe(
|
|
221
|
-
yield* bus.subscribe(
|
|
220
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
221
|
+
yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
222
222
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
223
223
|
if (!wellknown.snapshot().length)
|
|
224
224
|
return Effect.void;
|
|
@@ -231,7 +231,7 @@ var layer24 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
231
231
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
232
232
|
const update = Effect.fn("Config.update")(function* (patch) {
|
|
233
233
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
234
|
-
const candidates =
|
|
234
|
+
const candidates = names3.map((name) => path.join(directory, name));
|
|
235
235
|
const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
236
236
|
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
237
237
|
`;
|
|
@@ -246,7 +246,7 @@ var layer24 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
246
246
|
`);
|
|
247
247
|
yield* requestReload;
|
|
248
248
|
}, (effect) => updateLock.withPermit(effect));
|
|
249
|
-
return
|
|
249
|
+
return Service39.of({
|
|
250
250
|
entries: Effect.fnUntraced(function* () {
|
|
251
251
|
return configs;
|
|
252
252
|
}),
|
|
@@ -258,13 +258,13 @@ var layer24 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
258
258
|
update
|
|
259
259
|
});
|
|
260
260
|
}));
|
|
261
|
-
function
|
|
261
|
+
function configured4(options) {
|
|
262
262
|
return makeLocationNode({
|
|
263
|
-
service:
|
|
264
|
-
layer:
|
|
265
|
-
deps: [
|
|
263
|
+
service: Service39,
|
|
264
|
+
layer: layer16(options),
|
|
265
|
+
deps: [node43, node88, FSUtil.node, Global.node, node83, node81, node64]
|
|
266
266
|
});
|
|
267
267
|
}
|
|
268
|
-
var
|
|
268
|
+
var node42 = configured4();
|
|
269
269
|
|
|
270
|
-
export { latest2,
|
|
270
|
+
export { latest2, Options4, Service39, Test2, testLayer2, layer16, configured4, node42, exports_config };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
12
|
Service: () => Service8,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node9
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
@@ -48,6 +48,6 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node9 = makeLocationNode({ service: Service8, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export { Service8,
|
|
53
|
+
export { Service8, node9, exports_location_watcher_policy };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service40
|
|
3
|
+
} from "./model-resolver-z6xnm1hd.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./model-resolver-8e78msr1.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service39
|
|
12
|
+
} from "./model-resolver-c9b6c6br.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-resolver-g3pjsnhq.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service9
|
|
20
|
+
} from "./model-resolver-4xdpab2z.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-thxhb584.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill3 = {};
|
|
30
|
+
__export(exports_skill3, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill3,
|
|
32
|
+
Plugin: () => Plugin36
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin36 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service39;
|
|
43
|
+
const discovery = yield* Service9;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service79;
|
|
47
|
+
const watcher = yield* Service40;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -176,4 +176,4 @@ var Plugin35 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin36, exports_skill3 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85,
|
|
6
6
|
node89
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-8zda0nf7.js";
|
|
8
8
|
import {
|
|
9
9
|
Service84,
|
|
10
10
|
node88
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-vq8v8vez.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service81,
|
|
14
|
+
node85
|
|
15
|
+
} from "./model-resolver-vv44hwmw.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info29,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-0bg0bx69.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./model-resolver-c41wscbt.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-c8ax2afj.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
|
+
Info: () => Info28,
|
|
41
|
+
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service80,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node84,
|
|
47
47
|
root: () => root2,
|
|
48
48
|
sweepNode: () => sweepNode2
|
|
49
49
|
});
|
|
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
56
56
|
import { AppProcess } from "@opencode/util/process";
|
|
57
57
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
58
58
|
import { Hash } from "@opencode/util/hash";
|
|
59
|
-
var
|
|
59
|
+
var ID17 = ID18;
|
|
60
60
|
var Vcs2 = Vcs3;
|
|
61
61
|
var Current2 = Current3;
|
|
62
|
-
var
|
|
62
|
+
var Info28 = Info29;
|
|
63
63
|
var UpdateInput3 = UpdateInput4;
|
|
64
64
|
|
|
65
|
-
class
|
|
66
|
-
projectID:
|
|
65
|
+
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
66
|
+
projectID: ID17
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
69
69
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
74
74
|
var ACTIVATE_INTERVAL = 60000;
|
|
75
75
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service80 extends Context.Service()("@opencode/Project") {
|
|
78
78
|
}
|
|
79
79
|
function fromRow(row) {
|
|
80
80
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -98,9 +98,9 @@ function fromRow(row) {
|
|
|
98
98
|
sandboxes: row.sandboxes
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
|
-
const git = yield*
|
|
103
|
+
const git = yield* Service81;
|
|
104
104
|
const proc = yield* AppProcess.Service;
|
|
105
105
|
const bus = yield* Service84;
|
|
106
106
|
const db = (yield* Service85).db;
|
|
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
112
112
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
113
113
|
const changed = replaced ?? unarchived;
|
|
114
114
|
if (changed)
|
|
115
|
-
yield* bus.publish(
|
|
115
|
+
yield* bus.publish(Event20.Updated, fromRow(changed));
|
|
116
116
|
if (!project.vcs)
|
|
117
117
|
return project;
|
|
118
118
|
const directories = [
|
|
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
148
148
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
149
149
|
projectID: item.projectID,
|
|
150
150
|
directory: item.directory,
|
|
151
|
-
previous: project.previous ??
|
|
151
|
+
previous: project.previous ?? ID17.global,
|
|
152
152
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
153
153
|
}, {
|
|
154
154
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -171,9 +171,9 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
171
171
|
time_updated: Date.now()
|
|
172
172
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
173
173
|
if (!row)
|
|
174
|
-
return yield* new
|
|
174
|
+
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
175
175
|
const project = fromRow(row);
|
|
176
|
-
yield* bus.publish(
|
|
176
|
+
yield* bus.publish(Event20.Updated, project);
|
|
177
177
|
return project;
|
|
178
178
|
});
|
|
179
179
|
const activated = new Map;
|
|
@@ -184,10 +184,10 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
184
184
|
activated.set(projectID, now);
|
|
185
185
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
186
186
|
if (row)
|
|
187
|
-
yield* bus.publish(
|
|
187
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
188
188
|
});
|
|
189
189
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
190
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
190
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
191
191
|
return;
|
|
192
192
|
}));
|
|
193
193
|
});
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
198
198
|
const normalized = url(origin);
|
|
199
199
|
if (!normalized)
|
|
200
200
|
return;
|
|
201
|
-
return
|
|
201
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
202
202
|
});
|
|
203
203
|
function url(input) {
|
|
204
204
|
const value = input.trim();
|
|
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
223
223
|
}
|
|
224
224
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
225
225
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
226
|
-
return root ?
|
|
226
|
+
return root ? ID17.make(root) : undefined;
|
|
227
227
|
});
|
|
228
228
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
229
229
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
239
239
|
return;
|
|
240
240
|
const node = result.stdout.toString("utf8").split(`
|
|
241
241
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
242
|
-
return node ?
|
|
242
|
+
return node ? ID17.make(node) : undefined;
|
|
243
243
|
});
|
|
244
244
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
245
245
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -248,7 +248,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
248
248
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
249
249
|
return {
|
|
250
250
|
previous,
|
|
251
|
-
id: id ??
|
|
251
|
+
id: id ?? ID17.global,
|
|
252
252
|
directory: worktree,
|
|
253
253
|
vcs: { type: "hg", store }
|
|
254
254
|
};
|
|
@@ -265,7 +265,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
265
265
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
266
266
|
return yield* persist({
|
|
267
267
|
previous,
|
|
268
|
-
id: id ??
|
|
268
|
+
id: id ?? ID17.global,
|
|
269
269
|
directory: repo.worktree,
|
|
270
270
|
canonical,
|
|
271
271
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -279,7 +279,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
281
|
return yield* persist({
|
|
282
|
-
id:
|
|
282
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
283
283
|
directory,
|
|
284
284
|
canonical: directory,
|
|
285
285
|
vcs: undefined
|
|
@@ -288,7 +288,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
288
288
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
289
289
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
290
290
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
291
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
291
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID17.global))).all().pipe(Effect.orDie);
|
|
292
292
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
293
293
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
294
294
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -301,23 +301,23 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
301
301
|
return;
|
|
302
302
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
303
303
|
if (row)
|
|
304
|
-
yield* bus.publish(
|
|
304
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
305
305
|
}), { concurrency: 8, discard: true });
|
|
306
306
|
});
|
|
307
|
-
return
|
|
307
|
+
return Service80.of({ list, update, activate, resolve, sweep });
|
|
308
308
|
}));
|
|
309
|
-
var
|
|
310
|
-
service:
|
|
309
|
+
var node84 = makeGlobalNode({
|
|
310
|
+
service: Service80,
|
|
311
311
|
layer,
|
|
312
|
-
deps: [node88, node89, FSUtil.node,
|
|
312
|
+
deps: [node88, node89, FSUtil.node, node85, AppProcess.node]
|
|
313
313
|
});
|
|
314
314
|
var sweepNode2 = makeGlobalNode({
|
|
315
315
|
name: "project-archive-sweep",
|
|
316
316
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
317
|
-
const project = yield*
|
|
317
|
+
const project = yield* Service80;
|
|
318
318
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
319
319
|
})),
|
|
320
|
-
deps: [
|
|
320
|
+
deps: [node84]
|
|
321
321
|
});
|
|
322
322
|
|
|
323
|
-
export {
|
|
323
|
+
export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError11, root2, Service80, node84, sweepNode2, exports_project };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Ref4
|
|
3
|
+
} from "./model-resolver-8e78msr1.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service69,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node73,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service69 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service69, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node73 = LayerNode.unbound(Service69, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service69;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -39,10 +39,10 @@ var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
|
39
39
|
yield* Effect.logInfo("location services reloaded", { count: refs.length });
|
|
40
40
|
});
|
|
41
41
|
function canonical3(ref) {
|
|
42
|
-
return
|
|
42
|
+
return Ref4.make({
|
|
43
43
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
44
44
|
workspaceID: ref.workspaceID
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service69, node73, reload2, canonical3, exports_location_service_map };
|