@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
|
@@ -2,39 +2,39 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
7
|
Service83,
|
|
8
8
|
node87
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-2y347c6b.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service44,
|
|
12
|
+
node47
|
|
13
|
+
} from "./location-9xnamytp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content2,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event6,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
32
|
Match: () => Match2,
|
|
33
|
-
NotFoundError: () =>
|
|
34
|
-
Service: () =>
|
|
33
|
+
NotFoundError: () => NotFoundError5,
|
|
34
|
+
Service: () => Service43,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node46
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import path from "path";
|
|
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
43
43
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
44
44
|
import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class NotFoundError5 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
@@ -65,7 +65,7 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
|
|
|
65
65
|
return `Access denied to directory: ${this.directory}`;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var
|
|
68
|
+
var Content2 = Schema.Struct({
|
|
69
69
|
uri: Schema.String,
|
|
70
70
|
name: Schema.String.pipe(Schema.optional),
|
|
71
71
|
content: Schema.String,
|
|
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
92
92
|
limit: Schema.optionalKey(PositiveInt2)
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
|
-
var
|
|
95
|
+
var Event6 = FileSystem.Event;
|
|
96
96
|
|
|
97
|
-
class
|
|
97
|
+
class Service43 extends Context.Service()("@opencode/FileSystem") {
|
|
98
98
|
}
|
|
99
|
-
var baseLayer = Layer.effect(
|
|
99
|
+
var baseLayer = Layer.effect(Service43, Effect.gen(function* () {
|
|
100
100
|
const fs = yield* FSUtil.Service;
|
|
101
101
|
const location = yield* Service83;
|
|
102
|
-
const search = yield*
|
|
102
|
+
const search = yield* Service44;
|
|
103
103
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
|
|
104
104
|
if (cause.reason._tag === "NotFound")
|
|
105
105
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
109
109
|
}));
|
|
110
110
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
111
111
|
if (input.includes("\x00"))
|
|
112
|
-
return yield* Effect.fail(new
|
|
112
|
+
return yield* Effect.fail(new NotFoundError5({ path: input }));
|
|
113
113
|
const absolute = path.resolve(location.directory, input);
|
|
114
114
|
if (!FSUtil.contains(location.directory, absolute))
|
|
115
|
-
return yield* Effect.fail(new
|
|
116
|
-
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
115
|
+
return yield* Effect.fail(new NotFoundError5({ path: input }));
|
|
116
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input })), (_, error) => Effect.die(error)));
|
|
117
117
|
if (!FSUtil.contains(root, real))
|
|
118
|
-
return yield* Effect.fail(new
|
|
118
|
+
return yield* Effect.fail(new NotFoundError5({ path: input }));
|
|
119
119
|
return { absolute, real, directory: location.directory };
|
|
120
120
|
});
|
|
121
|
-
return
|
|
121
|
+
return Service43.of({
|
|
122
122
|
find: search.find,
|
|
123
123
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
124
124
|
const target = yield* resolve(input.path);
|
|
125
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
125
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error)));
|
|
126
126
|
if (info.type !== "File")
|
|
127
|
-
return yield* Effect.fail(new
|
|
127
|
+
return yield* Effect.fail(new NotFoundError5({ path: input.path }));
|
|
128
128
|
return {
|
|
129
129
|
mime: FSUtil.mimeType(target.real),
|
|
130
130
|
size: Number(info.size),
|
|
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
134
134
|
}),
|
|
135
135
|
list: Effect.fn("FileSystem.list")(function* (input = {}) {
|
|
136
136
|
const directory = path.resolve(location.directory, input.path ?? ".");
|
|
137
|
-
const missing = new
|
|
137
|
+
const missing = new NotFoundError5({ path: RelativePath2.make(input.path ?? ".") });
|
|
138
138
|
const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
|
|
139
139
|
if (info.type !== "Directory")
|
|
140
140
|
return yield* missing;
|
|
@@ -158,10 +158,10 @@ var baseLayer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
158
158
|
})
|
|
159
159
|
});
|
|
160
160
|
}));
|
|
161
|
-
var
|
|
162
|
-
service:
|
|
161
|
+
var node46 = makeLocationNode({
|
|
162
|
+
service: Service43,
|
|
163
163
|
layer: baseLayer,
|
|
164
|
-
deps: [FSUtil.node, node87,
|
|
164
|
+
deps: [FSUtil.node, node87, node47]
|
|
165
165
|
});
|
|
166
166
|
|
|
167
|
-
export { FindInput2, Write2,
|
|
167
|
+
export { FindInput2, Write2, NotFoundError5, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event6, Service43, node46, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
MessageDecodeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-rbndg51d.js";
|
|
7
7
|
import {
|
|
8
8
|
InitializationBlocked2,
|
|
9
9
|
read4
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-brd5eeq0.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionMessageTable2,
|
|
13
13
|
SessionPartTable2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-mb7mbhnz.js";
|
|
15
15
|
import {
|
|
16
16
|
initial2,
|
|
17
17
|
preview3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-kv1pxpnb.js";
|
|
19
19
|
import {
|
|
20
20
|
User3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-fg9p65nk.js";
|
|
22
22
|
import {
|
|
23
23
|
hydrate2,
|
|
24
24
|
keepRefs2,
|
|
25
25
|
describe3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-mt21hhzj.js";
|
|
27
27
|
import {
|
|
28
28
|
messageToText2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-v2r1d0zg.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/session/history.ts
|
|
35
35
|
var exports_history = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-8jztxfpf.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-rb9dy4dg.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-sa3fpqfw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-p015t6z3.js";
|
|
4
4
|
import {
|
|
5
5
|
ID14,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./location-62s3a18k.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/voice.ts
|
|
14
14
|
var exports_voice = {};
|
|
15
15
|
__export(exports_voice, {
|
|
16
|
-
InvalidRequestError: () =>
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
16
|
+
InvalidRequestError: () => InvalidRequestError3,
|
|
17
|
+
Service: () => Service20,
|
|
18
|
+
UnavailableError: () => UnavailableError5,
|
|
19
19
|
Voice: () => exports_voice,
|
|
20
|
-
layer: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
layer: () => layer13,
|
|
21
|
+
node: () => node23
|
|
22
22
|
});
|
|
23
23
|
import {
|
|
24
24
|
Realtime
|
|
@@ -26,22 +26,22 @@ import {
|
|
|
26
26
|
import { RequestExecutor } from "@opencode/ai/route";
|
|
27
27
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
28
28
|
import { Context, Effect, Layer, Redacted, Schema } from "effect";
|
|
29
|
-
class
|
|
29
|
+
class InvalidRequestError3 extends Schema.TaggedError()("Voice.InvalidRequestError", {
|
|
30
30
|
message: Schema.String
|
|
31
31
|
}) {
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError5 extends Schema.TaggedError()("Voice.UnavailableError", {
|
|
35
35
|
message: Schema.String,
|
|
36
36
|
service: Schema.optional(Schema.String)
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service20 extends Context.Service()("@opencode/Voice") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer13 = Layer.effect(Service20, Effect.gen(function* () {
|
|
43
43
|
const executor = yield* RequestExecutor.Service;
|
|
44
|
-
const integrations = yield*
|
|
44
|
+
const integrations = yield* Service79;
|
|
45
45
|
const findConnection = (provider, methods = ["key"]) => integrations.get(ID14.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || methods.includes(item.method))));
|
|
46
46
|
const source = Effect.fnUntraced(function* (engine) {
|
|
47
47
|
const connection = yield* findConnection(engine.provider);
|
|
@@ -65,12 +65,12 @@ var layer9 = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
65
65
|
const session = Effect.fn("Voice.session")(function* (input) {
|
|
66
66
|
const engine = Realtime.engine(input.model);
|
|
67
67
|
if (!engine)
|
|
68
|
-
return yield* new
|
|
68
|
+
return yield* new InvalidRequestError3({ message: `Unsupported voice model: ${input.model}` });
|
|
69
69
|
const found = yield* source(engine);
|
|
70
|
-
const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new
|
|
70
|
+
const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new UnavailableError5({ service: found.provider, message: error.message }))) : undefined;
|
|
71
71
|
const access = found && credential && sessionAccess(found.provider, credential);
|
|
72
72
|
if (found === undefined || access === undefined)
|
|
73
|
-
return yield* new
|
|
73
|
+
return yield* new UnavailableError5({
|
|
74
74
|
service: engine.provider,
|
|
75
75
|
message: engine.id === "openai-live" ? missingLiveKeyMessage : missingKeyMessage[engine.provider]
|
|
76
76
|
});
|
|
@@ -79,14 +79,14 @@ var layer9 = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
79
79
|
session: input.session,
|
|
80
80
|
transport: input.transport,
|
|
81
81
|
...access
|
|
82
|
-
}).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new
|
|
82
|
+
}).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError3({ message: error.message }) : new UnavailableError5({ message: error.message, service: found.provider })));
|
|
83
83
|
});
|
|
84
|
-
return
|
|
84
|
+
return Service20.of({ models, session });
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
87
|
-
service:
|
|
88
|
-
layer:
|
|
89
|
-
deps: [
|
|
86
|
+
var node23 = makeLocationNode({
|
|
87
|
+
service: Service20,
|
|
88
|
+
layer: layer13,
|
|
89
|
+
deps: [node83, requestExecutor2]
|
|
90
90
|
});
|
|
91
91
|
var openCodeLive = { provider: "opencode", baseURL: "https://opencode.ai/inference/openai/v1" };
|
|
92
92
|
var sessionAccess = (provider, credential) => {
|
|
@@ -108,4 +108,4 @@ var missingKeyMessage = {
|
|
|
108
108
|
google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
|
|
109
109
|
};
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { InvalidRequestError3, UnavailableError5, Service20, layer13, node23, exports_voice };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-y0xdaqa2.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-5j5yn56v.js";
|
|
7
7
|
import {
|
|
8
8
|
ID16,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Event19
|
|
11
|
+
} from "./location-jyg8crv2.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-s6h2s3rz.js";
|
|
15
15
|
import {
|
|
16
16
|
ID14,
|
|
17
17
|
MethodID2,
|
|
18
18
|
AuthorizationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-62s3a18k.js";
|
|
20
20
|
import {
|
|
21
21
|
ID13
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-bfhbctn3.js";
|
|
23
23
|
import {
|
|
24
24
|
Remote3,
|
|
25
25
|
Document3,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
make22
|
|
27
|
+
} from "./location-4c0eh56a.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service73
|
|
30
|
+
} from "./location-mw7rhp6d.js";
|
|
31
31
|
import {
|
|
32
32
|
integrate2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-zqpvfprb.js";
|
|
34
34
|
import {
|
|
35
35
|
defaultServer2,
|
|
36
36
|
server2,
|
|
37
37
|
headers2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-kt3bjfbg.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
40
|
+
ID4,
|
|
41
41
|
Input15,
|
|
42
42
|
Response2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-3dbyenxe.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/provider/opencode.ts
|
|
46
46
|
import { Clock, Duration, Effect, Equal, FiberHandle, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -159,7 +159,7 @@ var OpencodePlugin2 = define({
|
|
|
159
159
|
const bus = yield* Service86;
|
|
160
160
|
const client = yield* HttpClient.HttpClient;
|
|
161
161
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
162
|
-
const config = yield*
|
|
162
|
+
const config = yield* Service73;
|
|
163
163
|
const scope = yield* Scope.Scope;
|
|
164
164
|
const loading = Semaphore.makeUnsafe(1);
|
|
165
165
|
let snapshot = { remote: undefined, connection: undefined, organization: undefined };
|
|
@@ -199,7 +199,7 @@ var OpencodePlugin2 = define({
|
|
|
199
199
|
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID === ID14.make("opencode"));
|
|
200
200
|
});
|
|
201
201
|
const publish = Effect.fnUntraced(function* (next) {
|
|
202
|
-
yield* integrate(next.remote && next.connection &&
|
|
202
|
+
yield* integrate(next.remote && next.connection && make22({
|
|
203
203
|
integrationID: ID14.make("opencode"),
|
|
204
204
|
connection: next.connection.type === "credential" ? { ...next.connection, id: ID16.make(next.connection.id) } : next.connection,
|
|
205
205
|
organization: next.organization,
|
|
@@ -276,7 +276,7 @@ var OpencodePlugin2 = define({
|
|
|
276
276
|
}
|
|
277
277
|
});
|
|
278
278
|
yield* ctx.websearch.transform((editor) => {
|
|
279
|
-
const provider =
|
|
279
|
+
const provider = ID4.make("opencode");
|
|
280
280
|
if (snapshot.remote?.websearch && snapshot.remote.websearch.provider === provider && snapshot.connection)
|
|
281
281
|
editor.add(search(provider, snapshot.connection));
|
|
282
282
|
});
|
|
@@ -328,7 +328,7 @@ var OpencodePlugin2 = define({
|
|
|
328
328
|
onlyIfMissing: true
|
|
329
329
|
});
|
|
330
330
|
});
|
|
331
|
-
yield* bus.subscribe(
|
|
331
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
|
|
332
332
|
yield* poll();
|
|
333
333
|
})
|
|
334
334
|
});
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node54
|
|
5
|
+
} from "./location-y0xdaqa2.js";
|
|
6
6
|
import {
|
|
7
7
|
Service86,
|
|
8
8
|
node90
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-5j5yn56v.js";
|
|
10
10
|
import {
|
|
11
11
|
native2,
|
|
12
12
|
ID13,
|
|
13
13
|
aisdk2,
|
|
14
14
|
packageName2,
|
|
15
15
|
builtinPackages2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-bfhbctn3.js";
|
|
17
17
|
import {
|
|
18
18
|
ID12,
|
|
19
19
|
Family2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-8prsd97r.js";
|
|
21
21
|
import {
|
|
22
22
|
supports2,
|
|
23
23
|
resolve2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-9p40vjn2.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service82,
|
|
27
|
+
node86
|
|
28
|
+
} from "./location-tjspe09c.js";
|
|
29
29
|
import {
|
|
30
30
|
isV12,
|
|
31
31
|
toV22
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-p71gwv9c.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./location-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/models-dev.ts
|
|
38
38
|
var exports_models_dev = {};
|
|
@@ -40,13 +40,13 @@ __export(exports_models_dev, {
|
|
|
40
40
|
Event: () => Event2,
|
|
41
41
|
ModelsDev: () => exports_models_dev,
|
|
42
42
|
Options: () => Options2,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service13,
|
|
44
44
|
bodyDigest: () => bodyDigest2,
|
|
45
45
|
catalogPath: () => catalogPath2,
|
|
46
46
|
configured: () => configured2,
|
|
47
47
|
decodeSnapshot: () => decodeSnapshot2,
|
|
48
|
-
layer: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
layer: () => layer9,
|
|
49
|
+
node: () => node15
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Duration, Effect, Layer, Option, Result, Schedule, Schema, Semaphore } from "effect";
|
|
52
52
|
import { HttpClient, HttpClientError, HttpClientRequest } from "effect/http";
|
|
@@ -397,7 +397,7 @@ var Options2 = Schema.Struct({
|
|
|
397
397
|
snapshot: Schema.optional(Schema.Boolean)
|
|
398
398
|
});
|
|
399
399
|
|
|
400
|
-
class
|
|
400
|
+
class Service13 extends Context.Service()("@opencode/ModelsDev") {
|
|
401
401
|
}
|
|
402
402
|
var CatalogJson = Schema.fromJsonString(Schema.Record(Schema.String, Schema.Unknown));
|
|
403
403
|
var decodeCatalog = (text) => Schema.decodeUnknownEffect(CatalogJson)(text);
|
|
@@ -427,11 +427,11 @@ function cacheKey(source) {
|
|
|
427
427
|
function bodyDigest2(text) {
|
|
428
428
|
return Hash.sha256(text);
|
|
429
429
|
}
|
|
430
|
-
var
|
|
430
|
+
var layer9 = (options) => Layer.effect(Service13, Effect.gen(function* () {
|
|
431
431
|
const fs = yield* FSUtil.Service;
|
|
432
432
|
const bus = yield* Service86;
|
|
433
433
|
const app = yield* Metadata2;
|
|
434
|
-
const kv = yield*
|
|
434
|
+
const kv = yield* Service82;
|
|
435
435
|
const http = HttpClient.filterStatusOk((yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
436
436
|
retryOn: "errors-and-responses",
|
|
437
437
|
times: 2,
|
|
@@ -523,15 +523,15 @@ var layer11 = (options) => Layer.effect(Service17, Effect.gen(function* () {
|
|
|
523
523
|
if (fetch && !process.argv.includes("--get-yargs-completions")) {
|
|
524
524
|
yield* Effect.forkScoped(refresh().pipe(Effect.repeat(Schedule.spaced(ttl)), Effect.ignore));
|
|
525
525
|
}
|
|
526
|
-
return
|
|
526
|
+
return Service13.of({ get, refresh });
|
|
527
527
|
}));
|
|
528
528
|
function configured2(options) {
|
|
529
529
|
return makeGlobalNode({
|
|
530
|
-
service:
|
|
531
|
-
layer:
|
|
532
|
-
deps: [FSUtil.node, node90,
|
|
530
|
+
service: Service13,
|
|
531
|
+
layer: layer9(options),
|
|
532
|
+
deps: [FSUtil.node, node90, node54, node86, httpClient]
|
|
533
533
|
});
|
|
534
534
|
}
|
|
535
|
-
var
|
|
535
|
+
var node15 = configured2();
|
|
536
536
|
|
|
537
|
-
export { Options2,
|
|
537
|
+
export { Options2, Service13, catalogPath2, decodeSnapshot2, bodyDigest2, layer9, configured2, node15, exports_models_dev, Event2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID14,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service79
|
|
4
|
+
} from "./location-62s3a18k.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service79;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-y0xdaqa2.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-5j5yn56v.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./location-jyg8crv2.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-s6h2s3rz.js";
|
|
14
14
|
import {
|
|
15
15
|
ID14,
|
|
16
16
|
MethodID2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-62s3a18k.js";
|
|
18
18
|
import {
|
|
19
19
|
ID13,
|
|
20
20
|
aisdk2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service78
|
|
22
|
+
} from "./location-bfhbctn3.js";
|
|
23
23
|
import {
|
|
24
24
|
ID12,
|
|
25
25
|
Info22
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-8prsd97r.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-yb20nhc3.js";
|
|
31
31
|
import {
|
|
32
32
|
credentialSettings2,
|
|
33
33
|
metadataSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-8gqhbr3y.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/gitlab.ts
|
|
37
37
|
import os from "os";
|
|
@@ -61,7 +61,7 @@ var refreshRetention = 60000;
|
|
|
61
61
|
var GitLabPlugin2 = define({
|
|
62
62
|
id: "opencode.provider.gitlab",
|
|
63
63
|
effect: Effect.fn(function* (ctx) {
|
|
64
|
-
const providers = yield*
|
|
64
|
+
const providers = yield* Service78;
|
|
65
65
|
const bus = yield* Service86;
|
|
66
66
|
const http = yield* HttpClient.HttpClient;
|
|
67
67
|
const loading = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var GitLabPlugin2 = define({
|
|
|
205
205
|
});
|
|
206
206
|
});
|
|
207
207
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
208
|
-
yield* bus.subscribe(
|
|
208
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
209
209
|
yield* refresh().pipe(Effect.forkScoped);
|
|
210
210
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
211
211
|
if (evt.package !== "gitlab-ai-provider")
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-xnwqffna.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-8jztxfpf.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|