@opencode/core 0.0.0-dev-291 → 0.0.0-dev-306
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 +93 -93
- package/dist/aisdk-native.js +101 -101
- package/dist/aisdk.js +107 -107
- package/dist/app.js +9 -9
- package/dist/bus.js +79 -79
- package/dist/chunks/{instance-ce9fnfcz.js → location-011mqk6m.js} +6 -6
- package/dist/chunks/{instance-034tev2y.js → location-034tev2y.js} +2 -2
- package/dist/chunks/{instance-h8kp45hk.js → location-07bhy05n.js} +4 -4
- package/dist/chunks/{instance-ksxn4f6x.js → location-0d0e2qqj.js} +9 -9
- package/dist/chunks/{instance-e88rbkck.js → location-147wqxjy.js} +5 -5
- package/dist/chunks/{instance-1aqsckx4.js → location-1aqsckx4.js} +1 -1
- package/dist/chunks/{instance-1ep2p91f.js → location-1ep2p91f.js} +2 -2
- package/dist/chunks/{instance-1x2knyw4.js → location-1x2knyw4.js} +1 -1
- package/dist/chunks/{instance-1yq9hg58.js → location-1yq9hg58.js} +1 -1
- package/dist/chunks/{instance-204s3925.js → location-204s3925.js} +1 -1
- package/dist/chunks/{instance-25h84942.js → location-25h84942.js} +1 -1
- package/dist/chunks/{instance-26x8chrq.js → location-26x8chrq.js} +3 -3
- package/dist/chunks/{instance-4wpkan2r.js → location-28365gvt.js} +23 -23
- package/dist/chunks/{instance-4r218k7h.js → location-2bwv8tnq.js} +71 -71
- package/dist/chunks/{instance-d390zwf3.js → location-2f6y3wyx.js} +11 -11
- package/dist/chunks/{instance-htdv2bfv.js → location-2sjtpkz1.js} +17 -17
- package/dist/chunks/{instance-x4cf4zt3.js → location-2spvqkt6.js} +13 -13
- package/dist/chunks/{instance-n30sq8zf.js → location-2y347c6b.js} +2 -2
- package/dist/chunks/{instance-b1pnmg5k.js → location-2znspyh0.js} +11 -11
- package/dist/chunks/{instance-j40yq48h.js → location-336ptya5.js} +9 -9
- package/dist/chunks/{instance-5hj8trfg.js → location-34pknpnd.js} +30 -30
- package/dist/chunks/{instance-tnaqrr8z.js → location-35bjdts5.js} +7 -7
- package/dist/chunks/{instance-kqhebyq8.js → location-3dbyenxe.js} +21 -21
- package/dist/chunks/{instance-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{instance-gk9mgwha.js → location-3jqxp1k9.js} +20 -20
- package/dist/chunks/{instance-cszb6zgy.js → location-3jwa21mm.js} +14 -14
- package/dist/chunks/{instance-s4y2jcqq.js → location-3mtcb7b3.js} +21 -21
- package/dist/chunks/{instance-cpvd08na.js → location-3ryz99p0.js} +4 -4
- package/dist/chunks/{instance-vdr3hnaj.js → location-3sg64nxm.js} +11 -11
- package/dist/chunks/{instance-hr7h4b14.js → location-3sty8408.js} +9 -9
- package/dist/chunks/{instance-5enarcya.js → location-40za9wsf.js} +6 -6
- package/dist/chunks/{instance-6b2j8z0d.js → location-43mtkq1f.js} +20 -20
- package/dist/chunks/{instance-q1yz7rb7.js → location-44vsgcd8.js} +7 -7
- package/dist/chunks/{instance-1wxpc1aw.js → location-49bazr4g.js} +28 -28
- package/dist/chunks/{instance-t05x20ad.js → location-4bbpqcw3.js} +18 -18
- package/dist/chunks/{instance-r2s7w9p5.js → location-4c0eh56a.js} +7 -7
- package/dist/chunks/{instance-r188pfnc.js → location-4c7peeks.js} +21 -21
- package/dist/chunks/{instance-4dx1dgte.js → location-4dx1dgte.js} +1 -1
- package/dist/chunks/{instance-0wsr5sv3.js → location-4f5ax2dv.js} +3 -3
- package/dist/chunks/{instance-4pp2kcxy.js → location-4h609sqz.js} +29 -29
- package/dist/chunks/{instance-4c95xrzw.js → location-4ntm1ty7.js} +9 -9
- package/dist/chunks/{instance-4pyp9zr9.js → location-4pyp9zr9.js} +1 -1
- package/dist/chunks/{instance-4v008n1t.js → location-4v008n1t.js} +1 -1
- package/dist/chunks/{instance-b1abqd7e.js → location-50w453fn.js} +5 -5
- package/dist/chunks/{instance-qnv8cqfj.js → location-5225t9m9.js} +25 -25
- package/dist/chunks/{instance-7y64ahqq.js → location-536gnnhd.js} +19 -19
- package/dist/chunks/{instance-3172c3b6.js → location-5bnajwfk.js} +23 -23
- package/dist/chunks/{instance-zyr3t9dt.js → location-5dcrg5my.js} +3 -3
- package/dist/chunks/{instance-zwp55hfj.js → location-5h2db7ke.js} +13 -13
- package/dist/chunks/{instance-yg5kc948.js → location-5j5yn56v.js} +4 -4
- package/dist/chunks/{instance-5m9w47nd.js → location-5m9w47nd.js} +1 -1
- package/dist/chunks/{instance-h718ym2e.js → location-5pq7k0xn.js} +14 -14
- package/dist/chunks/{instance-691zc2v5.js → location-5wsenn9a.js} +16 -16
- package/dist/chunks/{instance-gtw8xxye.js → location-62s3a18k.js} +27 -27
- package/dist/chunks/{instance-jh26f0vt.js → location-662rk1k7.js} +4 -4
- package/dist/chunks/{instance-xp93x8tj.js → location-6bd340sn.js} +8 -8
- package/dist/chunks/{instance-6esdw8yj.js → location-6esdw8yj.js} +1 -1
- package/dist/chunks/{instance-ac8j7xa1.js → location-74n62q8p.js} +3 -3
- package/dist/chunks/{instance-w8qtt4th.js → location-76cb1hcw.js} +4 -4
- package/dist/chunks/{instance-akkx4feq.js → location-78m9g99c.js} +32 -32
- package/dist/chunks/{instance-1mrg4m8w.js → location-7a4v4c26.js} +9 -9
- package/dist/chunks/{instance-mt9239rh.js → location-7ahw8xm3.js} +319 -319
- package/dist/chunks/{instance-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{instance-1c9s8fpc.js → location-7gh51h4m.js} +17 -17
- package/dist/chunks/{instance-0m050r7t.js → location-7j88ajzy.js} +12 -12
- package/dist/chunks/{instance-c77a1r3z.js → location-7kqn30mb.js} +34 -34
- package/dist/chunks/{instance-7kr66rt3.js → location-7kr66rt3.js} +1 -1
- package/dist/chunks/{instance-7w2ypzdf.js → location-7w2ypzdf.js} +1 -1
- package/dist/chunks/{instance-6z0pv6qp.js → location-85hx114z.js} +28 -28
- package/dist/chunks/{instance-5stt831x.js → location-85qde3ax.js} +29 -29
- package/dist/chunks/{instance-yz50wsha.js → location-8gqhbr3y.js} +6 -6
- package/dist/chunks/{instance-jgfv8zqv.js → location-8jjf20rn.js} +11 -11
- package/dist/chunks/{instance-8jztxfpf.js → location-8jztxfpf.js} +1 -1
- package/dist/chunks/{instance-pm3q2zxn.js → location-8k8pzbp4.js} +8 -8
- package/dist/chunks/{instance-f0y5q878.js → location-8prsd97r.js} +21 -21
- package/dist/chunks/{instance-8wtp7s3z.js → location-8wtp7s3z.js} +1 -1
- package/dist/chunks/{instance-90zstvax.js → location-90zstvax.js} +1 -1
- package/dist/chunks/{instance-41s8xr4j.js → location-97r9t6wm.js} +6 -6
- package/dist/chunks/{instance-0z93b3av.js → location-98n7hra1.js} +13 -13
- package/dist/chunks/{instance-7cmx1z2s.js → location-99gmmhwa.js} +18 -18
- package/dist/chunks/{instance-29rsksb6.js → location-9ahqkxsp.js} +3 -3
- package/dist/chunks/{instance-rw5fkdpv.js → location-9eh5kz8z.js} +17 -17
- package/dist/chunks/{instance-azfate0j.js → location-9excscth.js} +16 -16
- package/dist/chunks/{instance-swb2qjya.js → location-9hw2m1zw.js} +23 -23
- package/dist/chunks/{instance-6w0whm3m.js → location-9p40vjn2.js} +3 -3
- package/dist/chunks/{instance-4gjw5c0k.js → location-9xnamytp.js} +22 -22
- package/dist/chunks/{instance-fkeqm757.js → location-ads06k24.js} +16 -16
- package/dist/chunks/{instance-3ekp3zeg.js → location-agx6da5f.js} +43 -43
- package/dist/chunks/{instance-kdetkk0q.js → location-akkhd0hr.js} +6 -6
- package/dist/chunks/{instance-smnhcc1e.js → location-aqr5273r.js} +11 -11
- package/dist/chunks/{instance-ayjs7tqn.js → location-ayjs7tqn.js} +2 -2
- package/dist/chunks/{instance-0c7bpw4e.js → location-b3a32pfz.js} +4 -4
- package/dist/chunks/{instance-5nnwax6m.js → location-b6vsg801.js} +5 -5
- package/dist/chunks/{instance-9ve05m3w.js → location-bbnmh3xr.js} +34 -34
- package/dist/chunks/{instance-fm56hg57.js → location-bd1zsfw8.js} +3 -3
- package/dist/chunks/{instance-bymjqvdb.js → location-beqawg79.js} +10 -10
- package/dist/chunks/{instance-ne612cbn.js → location-bfhbctn3.js} +20 -20
- package/dist/chunks/{instance-karvpq04.js → location-bgd12eww.js} +126 -126
- package/dist/chunks/{instance-jrcb61gr.js → location-bhyrg0mn.js} +13 -13
- package/dist/chunks/{instance-cg613fed.js → location-bpjheaj0.js} +21 -21
- package/dist/chunks/{instance-fqfkb9qm.js → location-bqxm09jz.js} +49 -49
- package/dist/chunks/{instance-xt0z8zst.js → location-brd5eeq0.js} +8 -8
- package/dist/chunks/{instance-xd9cc171.js → location-bstexjd6.js} +5 -5
- package/dist/chunks/{instance-pqwsk3xj.js → location-c3qstxzp.js} +4 -4
- package/dist/chunks/{instance-zr34akmr.js → location-cm18kf9d.js} +16 -16
- package/dist/chunks/{instance-z4hjmgvb.js → location-cmkpv6mv.js} +8 -8
- package/dist/chunks/{instance-4x4rf9m9.js → location-cvsegsfy.js} +26 -26
- package/dist/chunks/{instance-cwrgdav8.js → location-cwrgdav8.js} +2 -2
- package/dist/chunks/{instance-d2887f8n.js → location-d2887f8n.js} +1 -1
- package/dist/chunks/{instance-d4v9tmah.js → location-d4v9tmah.js} +2 -2
- package/dist/chunks/{instance-8wc2fpae.js → location-dbmp929s.js} +5 -5
- package/dist/chunks/{instance-sxfxwkty.js → location-de6znanw.js} +26 -26
- package/dist/chunks/{instance-ree599sc.js → location-dgambtz7.js} +20 -20
- package/dist/chunks/{instance-x51b6bk0.js → location-djd49kbm.js} +2 -2
- package/dist/chunks/{instance-sqrwb7ek.js → location-dn2kncps.js} +3 -3
- package/dist/chunks/{instance-dt77769w.js → location-dt77769w.js} +1 -1
- package/dist/chunks/{instance-vwnq6nxk.js → location-dxrghr56.js} +28 -28
- package/dist/chunks/{instance-xsact9zs.js → location-e45fk36t.js} +4 -4
- package/dist/chunks/{instance-j43y3xqp.js → location-e71bb87j.js} +8 -8
- package/dist/chunks/{instance-e834z07m.js → location-e834z07m.js} +1 -1
- package/dist/chunks/{instance-js5schf5.js → location-efbqjxxv.js} +9 -9
- package/dist/chunks/{instance-nn2tj829.js → location-efswkf52.js} +31 -31
- package/dist/chunks/{instance-svxscvj1.js → location-egx4syav.js} +8 -8
- package/dist/chunks/{instance-m37sd98t.js → location-eqmd2tfz.js} +7 -7
- package/dist/chunks/{instance-cm86qha3.js → location-esh8axw0.js} +10 -10
- package/dist/chunks/{instance-trdjnsn3.js → location-et87mf2s.js} +74 -74
- package/dist/chunks/location-ev660z6k.js +18 -0
- package/dist/chunks/{instance-jz1w7sh4.js → location-eyba04wr.js} +24 -24
- package/dist/chunks/{instance-083t9vsr.js → location-eyc69scq.js} +31 -31
- package/dist/chunks/{instance-t7sh9rzx.js → location-f5vve9yn.js} +5 -5
- package/dist/chunks/{instance-zghf0b7x.js → location-f6bwzamp.js} +12 -12
- package/dist/chunks/{instance-nqxqbx9x.js → location-fd5e9wgq.js} +7 -7
- package/dist/chunks/{instance-9n4er6b5.js → location-fdjpgvma.js} +13 -13
- package/dist/chunks/{instance-fffv3p7h.js → location-fffv3p7h.js} +1 -1
- package/dist/chunks/{instance-tgr0y6gr.js → location-fffxyf18.js} +13 -13
- package/dist/chunks/{instance-fg9p65nk.js → location-fg9p65nk.js} +2 -2
- package/dist/chunks/{instance-gsdndgf1.js → location-fhyh4p9b.js} +31 -31
- package/dist/chunks/{instance-6h491f3q.js → location-fr9j7gn6.js} +58 -58
- package/dist/chunks/{instance-w687dnns.js → location-fznmdakp.js} +4 -4
- package/dist/chunks/{instance-wxakxapf.js → location-g32ax1nd.js} +20 -20
- package/dist/chunks/{instance-3391ajj1.js → location-g8tf0a0n.js} +24 -24
- package/dist/chunks/{instance-j9wjggf3.js → location-gd3reat4.js} +21 -21
- package/dist/chunks/{instance-762r0j46.js → location-ghrzdqqx.js} +5 -5
- package/dist/chunks/{instance-0bnhfzvh.js → location-gk8yz1wb.js} +13 -13
- package/dist/chunks/{instance-h52znh1p.js → location-gm0ycg18.js} +18 -18
- package/dist/chunks/{instance-rdqs65jx.js → location-gprb4n4c.js} +5 -5
- package/dist/chunks/{instance-51wx5j96.js → location-gxt6edwm.js} +25 -25
- package/dist/chunks/{instance-jwj7gcar.js → location-h3chngrm.js} +11 -11
- package/dist/chunks/{instance-4vw9j73k.js → location-h949k007.js} +4 -4
- package/dist/chunks/{instance-a594c81y.js → location-hch7yraj.js} +11 -11
- package/dist/chunks/{instance-sfcnfa9y.js → location-hdmnesa6.js} +2 -2
- package/dist/chunks/{instance-fbv6bqxd.js → location-hh67hv7z.js} +19 -19
- package/dist/chunks/{instance-hh7kjqtw.js → location-hh7kjqtw.js} +1 -1
- package/dist/chunks/{instance-09qtgqge.js → location-hhaywkwm.js} +11 -11
- package/dist/chunks/{instance-d7gfgpkj.js → location-hhdnbsvt.js} +19 -19
- package/dist/chunks/{instance-hpg1pkwy.js → location-hpg1pkwy.js} +1 -1
- package/dist/chunks/{instance-hqxkkta1.js → location-hqxkkta1.js} +1 -1
- package/dist/chunks/location-hwkge4a4.js +26 -0
- package/dist/chunks/{instance-7zwtw311.js → location-j1pnkskb.js} +9 -9
- package/dist/chunks/{instance-m0yntddb.js → location-j2c5g3b2.js} +22 -22
- package/dist/chunks/{instance-tgptdtqq.js → location-j6fakqra.js} +1 -1
- package/dist/chunks/{instance-yk1kem1a.js → location-jbbta00e.js} +1 -1
- package/dist/chunks/{instance-jcqm84fr.js → location-jcqm84fr.js} +2 -2
- package/dist/chunks/{instance-jfaecv01.js → location-jfaecv01.js} +1 -1
- package/dist/chunks/{instance-w6mgvw0h.js → location-jgw0ez2q.js} +31 -31
- package/dist/chunks/{instance-rcngxaxd.js → location-jrbmxwcc.js} +9 -9
- package/dist/chunks/{instance-jtnps1zs.js → location-jtnps1zs.js} +2 -2
- package/dist/chunks/{instance-v17w9wy3.js → location-jyg8crv2.js} +22 -22
- package/dist/chunks/{instance-xa8gbmrz.js → location-jzgtnw1d.js} +6 -6
- package/dist/chunks/{instance-533vh7x9.js → location-k2034wbj.js} +15 -15
- package/dist/chunks/{instance-zkjja7ea.js → location-k4pwdphg.js} +29 -29
- package/dist/chunks/{instance-9arwqge8.js → location-k6586ewx.js} +16 -16
- package/dist/chunks/{instance-k814nvkf.js → location-k814nvkf.js} +1 -1
- package/dist/chunks/{instance-zq9qtwyb.js → location-kawgm7c0.js} +7 -7
- package/dist/chunks/{instance-kcg78dnn.js → location-kcg78dnn.js} +2 -2
- package/dist/chunks/{instance-kt3bjfbg.js → location-kt3bjfbg.js} +1 -1
- package/dist/chunks/{instance-eahpwh8e.js → location-kv1pxpnb.js} +4 -4
- package/dist/chunks/{instance-hjrxapew.js → location-kytj30gb.js} +11 -11
- package/dist/chunks/{instance-m1714858.js → location-m1714858.js} +1 -1
- package/dist/chunks/{instance-zb5gs1ba.js → location-m89858wj.js} +3 -3
- package/dist/chunks/{instance-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instance-mb7mbhnz.js → location-mb7mbhnz.js} +3 -3
- package/dist/chunks/{instance-3r2sapbc.js → location-mfmmqpne.js} +25 -25
- package/dist/chunks/{instance-mkc9xh75.js → location-mkc9xh75.js} +2 -2
- package/dist/chunks/{instance-kayheezw.js → location-ms8gjsg9.js} +22 -22
- package/dist/chunks/{instance-jsvhg205.js → location-mt21hhzj.js} +6 -6
- package/dist/chunks/{instance-rvzcdvz6.js → location-mw7rhp6d.js} +43 -43
- package/dist/chunks/{instance-8z660e7x.js → location-my54cbqv.js} +5 -5
- package/dist/chunks/{instance-hj833fr2.js → location-n30bqkse.js} +140 -140
- package/dist/chunks/{instance-nah043kf.js → location-nah043kf.js} +1 -1
- package/dist/chunks/{instance-5c53rppv.js → location-nbm7yy57.js} +10 -10
- package/dist/chunks/{instance-f09h95wx.js → location-nesyvdwa.js} +1 -1
- package/dist/chunks/{instance-dk3z3qdr.js → location-nf3n4x4w.js} +26 -26
- package/dist/chunks/{instance-cmbv8fw9.js → location-nkbs8pm4.js} +11 -11
- package/dist/chunks/{instance-0qs32c00.js → location-nva9eqjm.js} +5 -5
- package/dist/chunks/{instance-p015t6z3.js → location-p015t6z3.js} +2 -2
- package/dist/chunks/{instance-4hkdqk64.js → location-pa2rdw4x.js} +19 -19
- package/dist/chunks/{instance-3j3jbxj2.js → location-pk0dqn8g.js} +3 -3
- package/dist/chunks/{instance-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{instance-hpxe7j7n.js → location-pqs4b36k.js} +24 -24
- package/dist/chunks/{instance-4xqwt19j.js → location-q1abnwp6.js} +11 -11
- package/dist/chunks/{instance-h5009519.js → location-q2571jsw.js} +9 -9
- package/dist/chunks/{instance-pwcq5w2z.js → location-q2kxgsvb.js} +7 -7
- package/dist/chunks/{instance-ets0k0g7.js → location-q6jmyack.js} +12 -12
- package/dist/chunks/{instance-q2kxvpjb.js → location-qf791z7a.js} +21 -21
- package/dist/chunks/{instance-4kde46gd.js → location-qgs1tbcx.js} +21 -21
- package/dist/chunks/{instance-1bb8zgeb.js → location-qnghve6e.js} +8 -8
- package/dist/chunks/{instance-qp7r0hxv.js → location-qp7r0hxv.js} +1 -1
- package/dist/chunks/{instance-qqvy8y24.js → location-qqvy8y24.js} +1 -1
- package/dist/chunks/{instance-gmnybjma.js → location-qxhe8vts.js} +14 -14
- package/dist/chunks/{instance-209tvazv.js → location-r0pyvz6f.js} +17 -17
- package/dist/chunks/{instance-8f08kftz.js → location-r20zdgj9.js} +3 -3
- package/dist/chunks/{instance-4n28y0dr.js → location-r440h8qp.js} +9 -9
- package/dist/chunks/{instance-r542h3bh.js → location-r542h3bh.js} +1 -1
- package/dist/chunks/{instance-r4qmz8yj.js → location-r7dkdyp5.js} +27 -27
- package/dist/chunks/{instance-rb9dy4dg.js → location-rb9dy4dg.js} +1 -1
- package/dist/chunks/{instance-21pdxbx2.js → location-rbndg51d.js} +6 -6
- package/dist/chunks/{instance-x536b1gq.js → location-rerwg0b9.js} +10 -10
- package/dist/chunks/{instance-k31wskw0.js → location-rp03b2v5.js} +6 -6
- package/dist/chunks/{instance-rt5dr6hb.js → location-rt5dr6hb.js} +1 -1
- package/dist/chunks/{instance-m1g8bpex.js → location-rw03ft0n.js} +5 -5
- package/dist/chunks/{instance-fp2kss3x.js → location-s2pfznc4.js} +6 -6
- package/dist/chunks/{instance-s6h2s3rz.js → location-s6h2s3rz.js} +1 -1
- package/dist/chunks/{instance-2kg89srt.js → location-s7kyse9r.js} +4 -4
- package/dist/chunks/{instance-sa3fpqfw.js → location-sa3fpqfw.js} +2 -2
- package/dist/chunks/{instance-m3arjfxv.js → location-scgs57d2.js} +17 -17
- package/dist/chunks/{instance-vam3h15f.js → location-sh1my6rk.js} +32 -32
- package/dist/chunks/{instance-807f27s2.js → location-sh2m58zd.js} +41 -41
- package/dist/chunks/{instance-gkt3q0rf.js → location-spehfrkg.js} +21 -21
- package/dist/chunks/{instance-sqjzf8x2.js → location-sqjzf8x2.js} +1 -1
- package/dist/chunks/{instance-svcy3p9a.js → location-svcy3p9a.js} +1 -1
- package/dist/chunks/{instance-t8erkws8.js → location-t8erkws8.js} +2 -2
- package/dist/chunks/{instance-tczq8hjw.js → location-tczq8hjw.js} +1 -1
- package/dist/chunks/{instance-krdj5p8w.js → location-tfgkb3f6.js} +28 -28
- package/dist/chunks/{instance-tg1vr1qt.js → location-tg1vr1qt.js} +1 -1
- package/dist/chunks/{instance-8hc605qf.js → location-tjspe09c.js} +10 -10
- package/dist/chunks/{instance-24e4099w.js → location-tkxe7v6f.js} +22 -22
- package/dist/chunks/{instance-tmc7xdjs.js → location-tmc7xdjs.js} +1 -1
- package/dist/chunks/{instance-rnxk5t3r.js → location-trmt4qt7.js} +33 -33
- package/dist/chunks/{instance-wjssgc3r.js → location-tsz093v2.js} +2 -2
- package/dist/chunks/{instance-twssxy5n.js → location-twssxy5n.js} +2 -2
- package/dist/chunks/{instance-v2r1d0zg.js → location-v2r1d0zg.js} +1 -1
- package/dist/chunks/{instance-49zw4d5k.js → location-v2yyptek.js} +8 -8
- package/dist/chunks/{instance-4y60pfrj.js → location-v3h869xg.js} +11 -11
- package/dist/chunks/{instance-m4xa9dwh.js → location-v3swpve8.js} +15 -15
- package/dist/chunks/{instance-8j30ycjd.js → location-v6x8hkr5.js} +11 -11
- package/dist/chunks/{instance-6wzeywps.js → location-va0kemka.js} +3 -3
- package/dist/chunks/{instance-ppbe94jh.js → location-vfgkptxa.js} +13 -13
- package/dist/chunks/{instance-j1qr588q.js → location-vha2yqec.js} +6 -6
- package/dist/chunks/{instance-206g7e33.js → location-vkdfbcf5.js} +16 -16
- package/dist/chunks/{instance-0npre47a.js → location-vnqrb8rh.js} +17 -17
- package/dist/chunks/{instance-fhhhbjzk.js → location-vpndcmkw.js} +28 -28
- package/dist/chunks/{instance-zh9rn58b.js → location-vwmyycjt.js} +6 -6
- package/dist/chunks/{instance-dvwnj6kg.js → location-vze99txj.js} +20 -20
- package/dist/chunks/{instance-hd09c0r9.js → location-vztbg1g9.js} +11 -11
- package/dist/chunks/{instance-sezptv9v.js → location-w3ee0mms.js} +2 -2
- package/dist/chunks/{instance-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instance-fdyep4zy.js → location-w4dn9kj3.js} +71 -71
- package/dist/chunks/{instance-1tmedq0f.js → location-w510rxtp.js} +3 -3
- package/dist/chunks/{instance-sw5gz8xd.js → location-w62z9fyd.js} +3 -3
- package/dist/chunks/{instance-agqd6nxz.js → location-w67s4ywc.js} +8 -8
- package/dist/chunks/{instance-wakvkjy4.js → location-wakvkjy4.js} +1 -1
- package/dist/chunks/{instance-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{instance-wegkxhrn.js → location-wegkxhrn.js} +2 -2
- package/dist/chunks/{instance-wnhgecwx.js → location-wnhgecwx.js} +1 -1
- package/dist/chunks/{instance-wjzg12et.js → location-wpkqvnzq.js} +10 -10
- package/dist/chunks/{instance-40hpa6ae.js → location-wrd39zd3.js} +9 -9
- package/dist/chunks/{instance-187f0d36.js → location-x07fr6ah.js} +14 -14
- package/dist/chunks/{instance-3q4yeczg.js → location-x79e7hsz.js} +6 -6
- package/dist/chunks/{instance-3wqjqpb4.js → location-x7fqccva.js} +9 -9
- package/dist/chunks/{instance-xmnwhfs3.js → location-x8fyy5bn.js} +4 -4
- package/dist/chunks/{instance-hgfegmhz.js → location-xbq7ap0g.js} +8 -4
- package/dist/chunks/{instance-2ckrs3vj.js → location-xbvaqmtc.js} +39 -39
- package/dist/chunks/{instance-sh1z8k90.js → location-xhz7bc8m.js} +11 -11
- package/dist/chunks/{instance-4cpp20r9.js → location-xnwqffna.js} +3 -3
- package/dist/chunks/{instance-8w9dnwf5.js → location-xrbbh422.js} +2 -2
- package/dist/chunks/{instance-xaz3vqte.js → location-xwswqzhk.js} +8 -8
- package/dist/chunks/{instance-pv2kgx4b.js → location-y0xdaqa2.js} +11 -11
- package/dist/chunks/{instance-tmd1r8tg.js → location-y4n6pw34.js} +4 -4
- package/dist/chunks/{instance-yara3q77.js → location-yara3q77.js} +2 -2
- package/dist/chunks/{instance-yb20nhc3.js → location-yb20nhc3.js} +1 -1
- package/dist/chunks/{instance-42aa8r78.js → location-yg79hbqn.js} +3 -3
- package/dist/chunks/{instance-cnevcrya.js → location-yh2v5kew.js} +26 -26
- package/dist/chunks/{instance-1vw90ra1.js → location-ym7mkmya.js} +16 -16
- package/dist/chunks/{instance-d1983fyq.js → location-ysnxehz4.js} +23 -23
- package/dist/chunks/{instance-f76578nb.js → location-z2vfz141.js} +12 -12
- package/dist/chunks/{instance-epkctsrj.js → location-z896zmsn.js} +42 -42
- package/dist/chunks/{instance-xn4ha9pf.js → location-zb0eyyj7.js} +8 -8
- package/dist/chunks/{instance-dfd3mjpx.js → location-zehwd02a.js} +30 -30
- package/dist/chunks/{instance-zgd8t41s.js → location-zgd8t41s.js} +2 -2
- package/dist/chunks/{instance-eh5hqp2s.js → location-zgkfm9vd.js} +9 -9
- package/dist/chunks/{instance-jxzxgbxy.js → location-zhh0qxkb.js} +16 -16
- package/dist/chunks/{instance-rgph9692.js → location-zqbg2s7f.js} +42 -42
- package/dist/chunks/{instance-277zrert.js → location-zqpvfprb.js} +17 -15
- package/dist/chunks/{instance-b00sj7gj.js → location-zxc9shn1.js} +4 -4
- package/dist/chunks/{instance-nfcg2g23.js → location-zzc7mygy.js} +41 -41
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +149 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +93 -93
- package/dist/config/discovery.js +96 -96
- package/dist/config/integration.js +5 -5
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +111 -111
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +228 -228
- package/dist/config/plugin/compaction.js +169 -169
- package/dist/config/plugin/compatibility.js +149 -149
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +130 -130
- package/dist/config/plugin/image.js +129 -129
- package/dist/config/plugin/instruction.js +129 -129
- package/dist/config/plugin/location-watcher.js +129 -129
- package/dist/config/plugin/mcp.js +138 -138
- package/dist/config/plugin/policy.js +129 -129
- package/dist/config/plugin/provider.js +129 -129
- package/dist/config/plugin/reference.js +131 -131
- package/dist/config/plugin/shell.js +131 -131
- package/dist/config/plugin/skill-file.js +145 -145
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +152 -152
- package/dist/config/plugin/snapshot.js +129 -129
- package/dist/config/plugin/source.js +132 -132
- package/dist/config/plugin/tool-output.js +130 -130
- package/dist/config/plugin/websearch.js +130 -130
- package/dist/config/plugin/worktree.js +131 -131
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +130 -130
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +91 -91
- package/dist/database/database.js +76 -76
- 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/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration.gen.js +59 -59
- package/dist/database/migration.js +61 -61
- 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 +97 -97
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +392 -392
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +105 -105
- 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 +80 -80
- package/dist/file-access.js +151 -151
- package/dist/file-mutation.js +106 -106
- 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/file-watch.js +87 -87
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +235 -235
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +116 -116
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +99 -99
- package/dist/generate.js +119 -119
- package/dist/git.js +7 -7
- 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 +103 -103
- 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/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +383 -383
- package/dist/instruction-discovery.js +90 -90
- package/dist/instructions/builtins.js +99 -99
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +95 -95
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +83 -83
- package/dist/location-activity.js +170 -170
- package/dist/location-lifecycle.js +149 -149
- package/dist/location-service-map.js +98 -98
- package/dist/location-services.js +380 -380
- package/dist/location.js +93 -93
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +103 -103
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +177 -173
- package/dist/mcp/oauth.js +88 -88
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +102 -102
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +103 -103
- package/dist/model-resolver.js +109 -109
- package/dist/model-retry.js +1 -1
- package/dist/model.js +110 -110
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +114 -114
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +92 -92
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +152 -152
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +94 -94
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +85 -85
- package/dist/plugin/agent.js +86 -86
- package/dist/plugin/command.js +114 -114
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +232 -232
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +359 -359
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +109 -109
- package/dist/plugin/module.js +126 -126
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +145 -145
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +103 -103
- package/dist/plugin/provider/azure.js +127 -127
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +129 -129
- package/dist/plugin/provider/cloudflare-ai-gateway.js +127 -127
- package/dist/plugin/provider/cloudflare-workers-ai.js +127 -127
- package/dist/plugin/provider/configured.js +125 -125
- package/dist/plugin/provider/credential-settings.js +84 -84
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +105 -105
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +107 -107
- package/dist/plugin/provider/gitlab.js +106 -106
- package/dist/plugin/provider/google-vertex.js +126 -126
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +88 -88
- package/dist/plugin/provider/lmstudio.js +138 -138
- package/dist/plugin/provider/local.js +135 -135
- package/dist/plugin/provider/modal.js +104 -104
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +138 -138
- package/dist/plugin/provider/openai-context-caps.js +102 -102
- package/dist/plugin/provider/openai.js +131 -131
- package/dist/plugin/provider/opencode.js +131 -131
- package/dist/plugin/provider/openrouter.js +103 -103
- package/dist/plugin/provider/poe.js +89 -89
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +103 -103
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +128 -128
- package/dist/plugin/provider/vllm.js +136 -136
- package/dist/plugin/provider/xai.js +103 -103
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +178 -178
- package/dist/plugin/sdk.js +82 -82
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +148 -148
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +367 -367
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +98 -98
- package/dist/plugin/vcs/hg.js +98 -98
- package/dist/plugin/verbosity.js +105 -105
- package/dist/plugin/warming.js +127 -127
- 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 +4 -4
- 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 +243 -243
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +107 -107
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +110 -110
- package/dist/reference/instructions.js +98 -98
- package/dist/reference.js +102 -102
- package/dist/repository-cache.js +92 -92
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +98 -98
- package/dist/schedule/check.js +237 -237
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +243 -243
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +128 -128
- package/dist/session/command.js +84 -84
- package/dist/session/compaction.js +171 -171
- package/dist/session/context.js +196 -195
- package/dist/session/diff.js +100 -100
- 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 +233 -233
- package/dist/session/execution.js +159 -159
- package/dist/session/generate.js +196 -195
- package/dist/session/history.js +135 -135
- package/dist/session/inbox.js +146 -146
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +89 -89
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +136 -136
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +160 -156
- package/dist/session/model-transport.js +3 -3
- package/dist/session/move.js +163 -163
- package/dist/session/projector.js +142 -142
- package/dist/session/prompt.js +147 -147
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +138 -138
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +244 -244
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +112 -112
- package/dist/session/runner/publish-llm-event.js +148 -148
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +159 -159
- package/dist/session/runner/to-llm-message.js +136 -136
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +177 -177
- package/dist/session/shell.js +143 -143
- package/dist/session/skill.js +146 -146
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +83 -83
- package/dist/session/store.js +141 -141
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +226 -226
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +200 -199
- package/dist/session/to-session-error.js +147 -147
- package/dist/session/transfer.js +228 -228
- package/dist/session/usage.js +1 -1
- package/dist/session.js +228 -228
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +145 -145
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +146 -146
- package/dist/skill.js +155 -155
- package/dist/snapshot.js +103 -103
- 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 +174 -170
- package/dist/tool/plugin/edit.js +163 -163
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +167 -167
- package/dist/tool/plugin/grep.js +167 -167
- package/dist/tool/plugin/image-generate.js +234 -234
- package/dist/tool/plugin/mcp-resource.js +161 -161
- package/dist/tool/plugin/opencode.js +160 -160
- package/dist/tool/plugin/patch.js +165 -165
- package/dist/tool/plugin/question.js +143 -143
- package/dist/tool/plugin/read.js +168 -168
- package/dist/tool/plugin/schedule.js +243 -243
- package/dist/tool/plugin/shell.js +232 -232
- package/dist/tool/plugin/skill.js +156 -156
- package/dist/tool/plugin/subagent.js +233 -233
- package/dist/tool/plugin/todo.js +152 -152
- package/dist/tool/plugin/webfetch.js +154 -154
- package/dist/tool/plugin/websearch.js +154 -154
- package/dist/tool/plugin/write.js +165 -165
- package/dist/tool/read-filesystem.js +112 -112
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +159 -16
- package/dist/types/instance.d.ts +1 -1
- package/dist/usage-limits.js +99 -99
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +104 -104
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +103 -103
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +101 -101
- package/dist/voice.js +100 -100
- package/dist/websearch.js +90 -90
- package/dist/wellknown/plugin.js +86 -86
- package/dist/wellknown.js +89 -89
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +92 -92
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +104 -104
- package/package.json +8 -8
- package/dist/chunks/instance-phfdwt3p.js +0 -26
- package/dist/chunks/instance-z355x5yr.js +0 -18
- /package/dist/chunks/{instance-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instance-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instance-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instance-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instance-1kah00gy.js → location-1kah00gy.js} +0 -0
- /package/dist/chunks/{instance-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{instance-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{instance-2bv980vf.js → location-2bv980vf.js} +0 -0
- /package/dist/chunks/{instance-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instance-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{instance-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{instance-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instance-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instance-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instance-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instance-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instance-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instance-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{instance-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{instance-5w3e23ze.js → location-5w3e23ze.js} +0 -0
- /package/dist/chunks/{instance-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{instance-6q2bdcd1.js → location-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{instance-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instance-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{instance-7stb81gk.js → location-7stb81gk.js} +0 -0
- /package/dist/chunks/{instance-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{instance-84wd9syh.js → location-84wd9syh.js} +0 -0
- /package/dist/chunks/{instance-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instance-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{instance-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instance-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instance-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instance-a058387c.js → location-a058387c.js} +0 -0
- /package/dist/chunks/{instance-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instance-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{instance-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{instance-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instance-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instance-beh6qq61.js → location-beh6qq61.js} +0 -0
- /package/dist/chunks/{instance-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instance-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instance-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instance-cqv5kn06.js → location-cqv5kn06.js} +0 -0
- /package/dist/chunks/{instance-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instance-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{instance-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instance-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{instance-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{instance-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{instance-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instance-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instance-ean2d8b5.js → location-ean2d8b5.js} +0 -0
- /package/dist/chunks/{instance-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{instance-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instance-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instance-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instance-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instance-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{instance-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{instance-fkpq3x5p.js → location-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{instance-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instance-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{instance-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instance-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{instance-hcxmzztb.js → location-hcxmzztb.js} +0 -0
- /package/dist/chunks/{instance-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{instance-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instance-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instance-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instance-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instance-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instance-jwr30sdr.js → location-jwr30sdr.js} +0 -0
- /package/dist/chunks/{instance-jze0r7bz.js → location-jze0r7bz.js} +0 -0
- /package/dist/chunks/{instance-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instance-m18g726c.js → location-m18g726c.js} +0 -0
- /package/dist/chunks/{instance-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{instance-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instance-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instance-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instance-ncqqe42p.js → location-ncqqe42p.js} +0 -0
- /package/dist/chunks/{instance-nh4v3znn.js → location-nh4v3znn.js} +0 -0
- /package/dist/chunks/{instance-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{instance-p71gwv9c.js → location-p71gwv9c.js} +0 -0
- /package/dist/chunks/{instance-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instance-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{instance-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instance-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instance-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instance-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instance-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instance-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instance-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instance-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instance-stkk57rt.js → location-stkk57rt.js} +0 -0
- /package/dist/chunks/{instance-t03h4f5z.js → location-t03h4f5z.js} +0 -0
- /package/dist/chunks/{instance-ty7weeps.js → location-ty7weeps.js} +0 -0
- /package/dist/chunks/{instance-ve7vex1e.js → location-ve7vex1e.js} +0 -0
- /package/dist/chunks/{instance-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{instance-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instance-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instance-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{instance-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instance-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{instance-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{instance-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{instance-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instance-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instance-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-50w453fn.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-d4v9tmah.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID14,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service79,
|
|
4
|
+
node83
|
|
5
|
+
} from "./location-62s3a18k.js";
|
|
6
6
|
import {
|
|
7
7
|
ID13,
|
|
8
8
|
isAISDK2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service78,
|
|
19
|
+
node82
|
|
20
|
+
} from "./location-bfhbctn3.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service68,
|
|
23
|
+
node72
|
|
24
|
+
} from "./location-rerwg0b9.js";
|
|
25
25
|
import {
|
|
26
26
|
ID12,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref3,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service77,
|
|
30
|
+
node81,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-8prsd97r.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./location-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,7 +41,7 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service67,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
@@ -49,7 +49,7 @@ __export(exports_model_resolver, {
|
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
51
|
layer: () => layer24,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node71,
|
|
53
53
|
resolveModel: () => resolveModel3,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -130,7 +130,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
class
|
|
133
|
+
class Service67 extends Context.Service()("@opencode/ModelResolver") {
|
|
134
134
|
}
|
|
135
135
|
var withVariant2 = (model, variantID) => {
|
|
136
136
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -297,12 +297,12 @@ var causeMessage = (cause) => {
|
|
|
297
297
|
};
|
|
298
298
|
var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
299
299
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
300
|
-
var layer24 = Layer.effect(
|
|
301
|
-
const providers = yield*
|
|
302
|
-
const models = yield*
|
|
303
|
-
const integrations = yield*
|
|
300
|
+
var layer24 = Layer.effect(Service67, Effect.gen(function* () {
|
|
301
|
+
const providers = yield* Service78;
|
|
302
|
+
const models = yield* Service77;
|
|
303
|
+
const integrations = yield* Service79;
|
|
304
304
|
const npm = yield* Npm.Service;
|
|
305
|
-
const aisdk = yield*
|
|
305
|
+
const aisdk = yield* Service68;
|
|
306
306
|
const dependencies = {
|
|
307
307
|
loadPackage: (specifier) => loadPackage2(specifier, npm),
|
|
308
308
|
loadAISDK: (model) => aisdk.model(model)
|
|
@@ -345,7 +345,7 @@ var layer24 = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
345
345
|
const { credential, runtimeInfo } = yield* prepare(info, ref.variant);
|
|
346
346
|
return yield* fromCatalogMedia(runtimeInfo, is, credential, dependencies);
|
|
347
347
|
});
|
|
348
|
-
return
|
|
348
|
+
return Service67.of({
|
|
349
349
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
350
350
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
351
351
|
if (!selected)
|
|
@@ -368,10 +368,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
368
368
|
const name = packageName2(packageName);
|
|
369
369
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
370
370
|
}
|
|
371
|
-
var
|
|
372
|
-
service:
|
|
371
|
+
var node71 = makeLocationNode({
|
|
372
|
+
service: Service67,
|
|
373
373
|
layer: layer24,
|
|
374
|
-
deps: [
|
|
374
|
+
deps: [node82, node81, node83, Npm.node, node72]
|
|
375
375
|
});
|
|
376
376
|
|
|
377
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
377
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service67, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer24, node71, exports_model_resolver };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-xnwqffna.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-5j5yn56v.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service48
|
|
9
|
+
} from "./location-s2pfznc4.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service42
|
|
15
|
+
} from "./location-mfmmqpne.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
MessageNotFoundError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-rbndg51d.js";
|
|
22
22
|
import {
|
|
23
23
|
SessionMessageTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-mb7mbhnz.js";
|
|
25
25
|
import {
|
|
26
26
|
decodeMessageRowSync2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-4ntm1ty7.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/session/revert.ts
|
|
33
33
|
var exports_revert = {};
|
|
@@ -40,11 +40,11 @@ __export(exports_revert, {
|
|
|
40
40
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
41
41
|
import { Effect } from "effect";
|
|
42
42
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
43
|
-
const instances = yield*
|
|
43
|
+
const instances = yield* Service48;
|
|
44
44
|
const database = yield* Service87;
|
|
45
45
|
const bus = yield* Service86;
|
|
46
46
|
return yield* Effect.gen(function* () {
|
|
47
|
-
const snapshot = yield*
|
|
47
|
+
const snapshot = yield* Service42;
|
|
48
48
|
const original = input.session.revert?.snapshot ?? (yield* snapshot.capture());
|
|
49
49
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
50
50
|
const restore = new Map;
|
|
@@ -72,10 +72,10 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
72
72
|
}).pipe(instances.provide(input.session));
|
|
73
73
|
});
|
|
74
74
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
75
|
-
const instances = yield*
|
|
75
|
+
const instances = yield* Service48;
|
|
76
76
|
const bus = yield* Service86;
|
|
77
77
|
yield* Effect.gen(function* () {
|
|
78
|
-
const snapshot = yield*
|
|
78
|
+
const snapshot = yield* Service42;
|
|
79
79
|
if (!session.revert)
|
|
80
80
|
return;
|
|
81
81
|
const original = session.revert.snapshot;
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-5j5yn56v.js";
|
|
5
5
|
import {
|
|
6
6
|
changes2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-204s3925.js";
|
|
9
9
|
import {
|
|
10
10
|
evaluate3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-z896zmsn.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/skill.ts
|
|
17
17
|
var exports_skill5 = {};
|
|
18
18
|
__export(exports_skill5, {
|
|
19
19
|
DirectorySource: () => DirectorySource2,
|
|
20
20
|
EmbeddedSource: () => EmbeddedSource2,
|
|
21
|
-
Event: () =>
|
|
22
|
-
ID: () =>
|
|
23
|
-
Info: () =>
|
|
21
|
+
Event: () => Event10,
|
|
22
|
+
ID: () => ID7,
|
|
23
|
+
Info: () => Info13,
|
|
24
24
|
Name: () => Name2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service61,
|
|
26
26
|
Skill: () => exports_skill5,
|
|
27
|
-
Source: () =>
|
|
27
|
+
Source: () => Source4,
|
|
28
28
|
UrlSource: () => UrlSource2,
|
|
29
29
|
available: () => available4,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node65,
|
|
31
31
|
prepare: () => prepare3,
|
|
32
32
|
toModelOutput: () => toModelOutput3
|
|
33
33
|
});
|
|
@@ -36,13 +36,13 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
36
36
|
import path from "path";
|
|
37
37
|
import { Context, Effect, Layer } from "effect";
|
|
38
38
|
import { Skill } from "@opencode/schema/skill";
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event10 } from "@opencode/schema/skill";
|
|
40
40
|
var DirectorySource2 = Skill.DirectorySource;
|
|
41
41
|
var UrlSource2 = Skill.UrlSource;
|
|
42
42
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
43
|
-
var
|
|
44
|
-
var
|
|
45
|
-
var
|
|
43
|
+
var Source4 = Skill.Source;
|
|
44
|
+
var Info13 = Skill.Info;
|
|
45
|
+
var ID7 = Skill.ID;
|
|
46
46
|
var Name2 = Skill.Name;
|
|
47
47
|
var available4 = (skills, permissions) => skills.filter((skill) => evaluate3("skill", skill.id, permissions).effect !== "deny");
|
|
48
48
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -79,21 +79,21 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
79
79
|
};
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service61 extends Context.Service()("@opencode/Skill") {
|
|
83
83
|
}
|
|
84
|
-
var layer = Layer.effect(
|
|
84
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service86;
|
|
86
86
|
const state = create3({
|
|
87
87
|
name: "skill",
|
|
88
88
|
initial: () => ({ skills: new Map }),
|
|
89
89
|
editor: (editor) => ({
|
|
90
90
|
list: () => Array.from(editor.skills.values()),
|
|
91
|
-
get: (id) => editor.skills.get(
|
|
91
|
+
get: (id) => editor.skills.get(ID7.make(id)),
|
|
92
92
|
add: (skill) => {
|
|
93
93
|
editor.skills.set(skill.id, { ...skill });
|
|
94
94
|
},
|
|
95
95
|
update: (id, update) => {
|
|
96
|
-
const key =
|
|
96
|
+
const key = ID7.make(id);
|
|
97
97
|
const current = editor.skills.get(key);
|
|
98
98
|
if (!current)
|
|
99
99
|
return;
|
|
@@ -101,12 +101,12 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
101
101
|
current.id = key;
|
|
102
102
|
},
|
|
103
103
|
remove: (id) => {
|
|
104
|
-
editor.skills.delete(
|
|
104
|
+
editor.skills.delete(ID7.make(id));
|
|
105
105
|
}
|
|
106
106
|
}),
|
|
107
107
|
notify: changes2((data) => Array.from(data.skills.values()), () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid))
|
|
108
108
|
});
|
|
109
|
-
return
|
|
109
|
+
return Service61.of({
|
|
110
110
|
transform: state.transform,
|
|
111
111
|
reload: state.reload,
|
|
112
112
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -117,10 +117,10 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
117
117
|
})
|
|
118
118
|
});
|
|
119
119
|
}));
|
|
120
|
-
var
|
|
121
|
-
service:
|
|
120
|
+
var node65 = makeLocationNode({
|
|
121
|
+
service: Service61,
|
|
122
122
|
layer,
|
|
123
123
|
deps: [node90]
|
|
124
124
|
});
|
|
125
125
|
|
|
126
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
126
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info13, ID7, Name2, available4, toModelOutput3, prepare3, Service61, node65, exports_skill5, Event10 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./location-cm18kf9d.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./location-mw7rhp6d.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-jzgtnw1d.js";
|
|
10
10
|
import {
|
|
11
11
|
ignore2,
|
|
12
12
|
scan2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-nah043kf.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/config/plugin/compatibility.ts
|
|
19
19
|
var exports_compatibility = {};
|
|
20
20
|
__export(exports_compatibility, {
|
|
21
21
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin41
|
|
23
23
|
});
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
25
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
26
26
|
import path from "path";
|
|
27
27
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin41 = define({
|
|
29
29
|
id: "opencode.config.compatibility",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service73;
|
|
32
32
|
const fs = yield* FSUtil.Service;
|
|
33
|
-
const watcher = yield*
|
|
33
|
+
const watcher = yield* Service74;
|
|
34
34
|
const watches = yield* FiberMap.make();
|
|
35
35
|
const changes = yield* PubSub.sliding(1);
|
|
36
36
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -81,4 +81,4 @@ function isCompatibilitySource(roots, file) {
|
|
|
81
81
|
return sourceDirectories.some((name) => path.basename(file) === name) || [...roots.claude, ...roots.agents].some((root) => FSUtil.contains(root, file));
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
export {
|
|
84
|
+
export { Plugin41, exports_compatibility };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-5j5yn56v.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-2y347c6b.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service76,
|
|
11
|
+
node80
|
|
12
|
+
} from "./location-tkxe7v6f.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
NotFoundError11
|
|
15
|
+
} from "./location-rbndg51d.js";
|
|
16
16
|
import {
|
|
17
17
|
match3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-1aqsckx4.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service71,
|
|
21
|
+
node75
|
|
22
|
+
} from "./location-f6bwzamp.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service70,
|
|
25
|
+
node74
|
|
26
|
+
} from "./location-3mtcb7b3.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service72,
|
|
29
|
+
node76
|
|
30
|
+
} from "./location-8k8pzbp4.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/permission.ts
|
|
36
36
|
var exports_permission = {};
|
|
@@ -39,29 +39,29 @@ __export(exports_permission, {
|
|
|
39
39
|
CorrectedError: () => CorrectedError2,
|
|
40
40
|
DeclinedError: () => DeclinedError2,
|
|
41
41
|
Effect: () => PermissionEffect,
|
|
42
|
-
Event: () =>
|
|
43
|
-
ID: () =>
|
|
44
|
-
NotFoundError: () =>
|
|
42
|
+
Event: () => Event12,
|
|
43
|
+
ID: () => ID9,
|
|
44
|
+
NotFoundError: () => NotFoundError9,
|
|
45
45
|
Permission: () => exports_permission,
|
|
46
46
|
Reply: () => Reply2,
|
|
47
47
|
Request: () => Request3,
|
|
48
48
|
Rule: () => Rule2,
|
|
49
49
|
Ruleset: () => Ruleset2,
|
|
50
|
-
Service: () =>
|
|
50
|
+
Service: () => Service69,
|
|
51
51
|
Source: () => Source5,
|
|
52
52
|
Unattended: () => Unattended2,
|
|
53
53
|
evaluate: () => evaluate3,
|
|
54
54
|
merge: () => merge2,
|
|
55
|
-
node: () =>
|
|
55
|
+
node: () => node73
|
|
56
56
|
});
|
|
57
57
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
58
58
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
59
59
|
import { Permission } from "@opencode/schema/permission";
|
|
60
60
|
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
61
|
-
import { Event as
|
|
61
|
+
import { Event as Event12 } from "@opencode/schema/permission";
|
|
62
62
|
var PermissionEffect = Permission.Effect;
|
|
63
63
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
64
|
-
var
|
|
64
|
+
var ID9 = Permission.ID;
|
|
65
65
|
var Source5 = Permission.Source;
|
|
66
66
|
var Request3 = Permission.Request;
|
|
67
67
|
var Reply2 = Permission.Reply;
|
|
@@ -93,8 +93,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
class
|
|
97
|
-
requestID:
|
|
96
|
+
class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
97
|
+
requestID: ID9
|
|
98
98
|
}) {
|
|
99
99
|
}
|
|
100
100
|
function evaluate3(action, resource, ...rulesets) {
|
|
@@ -108,15 +108,15 @@ function merge2(...rulesets) {
|
|
|
108
108
|
return rulesets.flat();
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
class
|
|
111
|
+
class Service69 extends Context.Service()("@opencode/Permission") {
|
|
112
112
|
}
|
|
113
|
-
var layer = Layer.effect(
|
|
113
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
114
114
|
const bus = yield* Service86;
|
|
115
115
|
const location = yield* Service83;
|
|
116
|
-
const agents = yield*
|
|
117
|
-
const sessions = yield*
|
|
118
|
-
const saved = yield*
|
|
119
|
-
const hooks = yield*
|
|
116
|
+
const agents = yield* Service76;
|
|
117
|
+
const sessions = yield* Service71;
|
|
118
|
+
const saved = yield* Service70;
|
|
119
|
+
const hooks = yield* Service72;
|
|
120
120
|
const pending = new Map;
|
|
121
121
|
let closed = false;
|
|
122
122
|
const close = Effect.gen(function* () {
|
|
@@ -139,7 +139,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
139
139
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
140
140
|
const session = yield* sessions.get(sessionID);
|
|
141
141
|
if (!session)
|
|
142
|
-
return yield* new
|
|
142
|
+
return yield* new NotFoundError11({ sessionID });
|
|
143
143
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
144
144
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
145
145
|
});
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
180
180
|
});
|
|
181
181
|
function request(input, message) {
|
|
182
182
|
return {
|
|
183
|
-
id: input.id ??
|
|
183
|
+
id: input.id ?? ID9.create(),
|
|
184
184
|
sessionID: input.sessionID,
|
|
185
185
|
action: input.action,
|
|
186
186
|
resources: input.resources,
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
205
205
|
}));
|
|
206
206
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
207
207
|
if (closed)
|
|
208
|
-
return { id: input.id ??
|
|
208
|
+
return { id: input.id ?? ID9.create(), effect: "deny" };
|
|
209
209
|
const result = yield* evaluateInput(input);
|
|
210
210
|
const value = request(input, result.message);
|
|
211
211
|
if (result.effect === "ask")
|
|
@@ -247,7 +247,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
247
247
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
248
248
|
const existing = pending.get(input.requestID);
|
|
249
249
|
if (!existing)
|
|
250
|
-
return yield* new
|
|
250
|
+
return yield* new NotFoundError9({ requestID: input.requestID });
|
|
251
251
|
yield* bus.publish(Permission.Event.Replied, {
|
|
252
252
|
sessionID: existing.request.sessionID,
|
|
253
253
|
requestID: existing.request.id,
|
|
@@ -302,12 +302,12 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
302
302
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
303
303
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
304
304
|
});
|
|
305
|
-
return
|
|
305
|
+
return Service69.of({ ask, assert, assertNotDenied, reply, get, forSession, list, close });
|
|
306
306
|
}));
|
|
307
|
-
var
|
|
308
|
-
service:
|
|
307
|
+
var node73 = makeLocationNode({
|
|
308
|
+
service: Service69,
|
|
309
309
|
layer,
|
|
310
|
-
deps: [node90, node87,
|
|
310
|
+
deps: [node90, node87, node80, node75, node74, node76]
|
|
311
311
|
});
|
|
312
312
|
|
|
313
|
-
export { PermissionEffect,
|
|
313
|
+
export { PermissionEffect, ID9, Source5, Request3, Reply2, Unattended2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate3, merge2, Service69, node73, exports_permission, Rule2, Ruleset2, Event12 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-2y347c6b.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names4,
|
|
17
17
|
preferencePaths: () => preferencePaths2,
|
|
18
18
|
stripPreferenceMetadata: () => stripPreferenceMetadata2,
|
|
19
19
|
systemDirectory: () => systemDirectory2
|
|
@@ -23,7 +23,7 @@ import path from "path";
|
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
25
25
|
import { Global } from "@opencode/util/global";
|
|
26
|
-
var
|
|
26
|
+
var names4 = ["opencode.json", "opencode.jsonc"];
|
|
27
27
|
function systemDirectory2(platform = process.platform, env = process.env) {
|
|
28
28
|
if (platform === "darwin")
|
|
29
29
|
return AbsolutePath2.make("/Library/Application Support/opencode");
|
|
@@ -71,10 +71,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
71
71
|
const directories = globalRoots.slice(0, configDirectories.length).includes(current) || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
72
72
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
73
73
|
const parent = yield* fs.resolve(directory);
|
|
74
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
74
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
75
75
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
76
76
|
const globalEnabled = options?.global !== false;
|
|
77
|
-
const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) =>
|
|
77
|
+
const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) => names4.map((name) => path.join(directory, name))), (file) => fs.resolve(file));
|
|
78
78
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
79
79
|
const preferences = globalEnabled && (options?.system ?? true) === true && process.platform === "darwin" ? (yield* Effect.filter(preferencePaths2(yield* Effect.try(() => os.userInfo().username).pipe(Effect.orElseSucceed(() => "user"))), fs.isFile)).at(0) : undefined;
|
|
80
80
|
return {
|
|
@@ -99,4 +99,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
99
99
|
};
|
|
100
100
|
});
|
|
101
101
|
|
|
102
|
-
export {
|
|
102
|
+
export { names4, systemDirectory2, preferencePaths2, stripPreferenceMetadata2, discover3, exports_discovery2 };
|