@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,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-2y347c6b.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service52,
|
|
10
|
+
node55
|
|
11
|
+
} from "./location-99gmmhwa.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names3
|
|
15
|
+
} from "./location-76cb1hcw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Service: () =>
|
|
25
|
-
configured: () =>
|
|
24
|
+
Service: () => Service44,
|
|
25
|
+
configured: () => configured5,
|
|
26
26
|
fffLayer: () => fffLayer2,
|
|
27
27
|
makeFffLayer: () => makeFffLayer2,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node47
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import path from "path";
|
|
@@ -33,7 +33,7 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Scope } from "effect
|
|
|
33
33
|
import { Fff } from "#fff";
|
|
34
34
|
import fuzzysort from "fuzzysort";
|
|
35
35
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
36
|
-
class
|
|
36
|
+
class Service44 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
37
37
|
}
|
|
38
38
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
39
39
|
function emptyIndex() {
|
|
@@ -52,9 +52,9 @@ function search(index, input) {
|
|
|
52
52
|
});
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
|
-
var ripgrepLayer = Layer.effect(
|
|
55
|
+
var ripgrepLayer = Layer.effect(Service44, Effect.gen(function* () {
|
|
56
56
|
const location = yield* Service83;
|
|
57
|
-
const ripgrep = yield*
|
|
57
|
+
const ripgrep = yield* Service52;
|
|
58
58
|
const scope = yield* Scope.Scope;
|
|
59
59
|
const clock = yield* Clock.Clock;
|
|
60
60
|
const home = isHome2(location.directory);
|
|
@@ -71,7 +71,7 @@ var ripgrepLayer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
71
71
|
cwd: location.directory,
|
|
72
72
|
pattern: "*",
|
|
73
73
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
74
|
-
exclude: home ? [...
|
|
74
|
+
exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
|
|
75
75
|
onEntry: (entry) => Effect.sync(() => {
|
|
76
76
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
77
77
|
const parts = entry.path.split("/");
|
|
@@ -99,7 +99,7 @@ var ripgrepLayer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
99
99
|
Deferred.doneUnsafe(attempt, exit);
|
|
100
100
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
101
101
|
});
|
|
102
|
-
return
|
|
102
|
+
return Service44.of({
|
|
103
103
|
find: (input) => Effect.gen(function* () {
|
|
104
104
|
yield* refresh;
|
|
105
105
|
return search(index, input);
|
|
@@ -119,7 +119,7 @@ function createPicker(create, directory) {
|
|
|
119
119
|
return { ok: false, error };
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
-
var makeFffLayer2 = (create) => Layer.effect(
|
|
122
|
+
var makeFffLayer2 = (create) => Layer.effect(Service44, Effect.gen(function* () {
|
|
123
123
|
const location = yield* Service83;
|
|
124
124
|
let state;
|
|
125
125
|
yield* Effect.addFinalizer(() => Effect.sync(() => {
|
|
@@ -152,7 +152,7 @@ var makeFffLayer2 = (create) => Layer.effect(Service78, Effect.gen(function* ()
|
|
|
152
152
|
}
|
|
153
153
|
return current.result.value;
|
|
154
154
|
});
|
|
155
|
-
return
|
|
155
|
+
return Service44.of({
|
|
156
156
|
find: (input) => Effect.gen(function* () {
|
|
157
157
|
const finder = yield* picker;
|
|
158
158
|
if (!finder)
|
|
@@ -207,9 +207,9 @@ var layer = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
207
207
|
return ripgrepLayer;
|
|
208
208
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer;
|
|
209
209
|
}));
|
|
210
|
-
function
|
|
211
|
-
return makeLocationNode({ service:
|
|
210
|
+
function configured5(options) {
|
|
211
|
+
return makeLocationNode({ service: Service44, layer: layer(options), deps: [node87, node55] });
|
|
212
212
|
}
|
|
213
|
-
var
|
|
213
|
+
var node47 = configured5();
|
|
214
214
|
|
|
215
|
-
export {
|
|
215
|
+
export { Service44, makeFffLayer2, fffLayer2, configured5, node47, exports_search };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-2y347c6b.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Key4,
|
|
7
|
+
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-brd5eeq0.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service34,
|
|
19
|
+
node: () => node37
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service34 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
28
|
const location = yield* Service83;
|
|
29
|
-
return
|
|
29
|
+
return Service34.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
|
-
|
|
32
|
-
key:
|
|
31
|
+
make21({
|
|
32
|
+
key: Key4.make("core/date"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
35
35
|
render: {
|
|
@@ -37,8 +37,8 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
37
37
|
changed: (_previous, date) => `Today's date is now: ${date}`
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
|
-
|
|
41
|
-
key:
|
|
40
|
+
make21({
|
|
41
|
+
key: Key4.make("core/environment"),
|
|
42
42
|
codec: Schema.toCodecJson(Schema.String),
|
|
43
43
|
read: Effect.sync(() => [
|
|
44
44
|
"<env>",
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node37 = makeLocationNode({ service: Service34, layer, deps: [Global.node, node87] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service34, node37, exports_builtins };
|
|
@@ -1,44 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-xnwqffna.js";
|
|
5
5
|
import {
|
|
6
6
|
Service86,
|
|
7
7
|
node90
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-5j5yn56v.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-204s3925.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
13
|
+
ID11,
|
|
14
|
+
Service76,
|
|
15
|
+
node80
|
|
16
|
+
} from "./location-tkxe7v6f.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-p015t6z3.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service77,
|
|
22
|
+
node81
|
|
23
|
+
} from "./location-8prsd97r.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-8wtp7s3z.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
kept2,
|
|
32
32
|
messageToText2,
|
|
33
33
|
serializeToolContent2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-v2r1d0zg.js";
|
|
35
35
|
import {
|
|
36
36
|
isNativeCompaction2,
|
|
37
37
|
load5
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-4ntm1ty7.js";
|
|
39
|
+
import {
|
|
40
|
+
Service66,
|
|
41
|
+
node70
|
|
42
|
+
} from "./location-2sjtpkz1.js";
|
|
43
|
+
import {
|
|
44
|
+
toSessionError2,
|
|
45
|
+
contentFilterError2
|
|
46
|
+
} from "./location-rw03ft0n.js";
|
|
39
47
|
import {
|
|
40
48
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
49
|
+
} from "./location-xrbbh422.js";
|
|
42
50
|
import {
|
|
43
51
|
outputLimit2,
|
|
44
52
|
baseTranscript2,
|
|
@@ -46,38 +54,30 @@ import {
|
|
|
46
54
|
boundImages2,
|
|
47
55
|
Service37,
|
|
48
56
|
node40
|
|
49
|
-
} from "./
|
|
50
|
-
import {
|
|
51
|
-
Service52,
|
|
52
|
-
node55
|
|
53
|
-
} from "./instance-htdv2bfv.js";
|
|
57
|
+
} from "./location-hh67hv7z.js";
|
|
54
58
|
import {
|
|
55
59
|
isRetryable2,
|
|
56
60
|
policy2
|
|
57
|
-
} from "./
|
|
58
|
-
import {
|
|
59
|
-
toSessionError2,
|
|
60
|
-
contentFilterError2
|
|
61
|
-
} from "./instance-m1g8bpex.js";
|
|
61
|
+
} from "./location-26x8chrq.js";
|
|
62
62
|
import {
|
|
63
63
|
calculateCost2,
|
|
64
64
|
record2,
|
|
65
65
|
add2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./location-r542h3bh.js";
|
|
67
67
|
import {
|
|
68
68
|
__export
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./location-9rqn6x4v.js";
|
|
70
70
|
|
|
71
71
|
// src/session/compaction.ts
|
|
72
72
|
var exports_compaction2 = {};
|
|
73
73
|
__export(exports_compaction2, {
|
|
74
|
-
Service: () =>
|
|
74
|
+
Service: () => Service7,
|
|
75
75
|
SessionCompaction: () => exports_compaction2,
|
|
76
76
|
buildPrompt: () => buildPrompt2,
|
|
77
77
|
estimateContext: () => estimateContext2,
|
|
78
78
|
estimatePrompt: () => estimatePrompt2,
|
|
79
|
-
layer: () =>
|
|
80
|
-
node: () =>
|
|
79
|
+
layer: () => layer7,
|
|
80
|
+
node: () => node9,
|
|
81
81
|
recentUserMessages: () => recentUserMessages2
|
|
82
82
|
});
|
|
83
83
|
import {
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
} from "@opencode/ai/effect";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
95
|
import { Context, Effect, Exit, Fiber, Layer, Result, Scope, Stream } from "effect";
|
|
96
|
-
class
|
|
96
|
+
class Service7 extends Context.Service()("@opencode/SessionCompaction") {
|
|
97
97
|
}
|
|
98
98
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
99
99
|
var SHRINK_STEPS = [0.85, 0.7, 0.5, 0.35];
|
|
@@ -184,12 +184,12 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
184
184
|
};
|
|
185
185
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
186
186
|
var LEGACY_HEADING = "## Additional Context";
|
|
187
|
-
var
|
|
188
|
-
const agents = yield*
|
|
187
|
+
var layer7 = Layer.effect(Service7, Effect.gen(function* () {
|
|
188
|
+
const agents = yield* Service76;
|
|
189
189
|
const bus = yield* Service86;
|
|
190
190
|
const llm = yield* LLMClient.Service;
|
|
191
|
-
const catalog = yield*
|
|
192
|
-
const models = yield*
|
|
191
|
+
const catalog = yield* Service77;
|
|
192
|
+
const models = yield* Service66;
|
|
193
193
|
const db = (yield* Service87).db;
|
|
194
194
|
const requests = yield* Service37;
|
|
195
195
|
const scope = yield* Scope.Scope;
|
|
@@ -204,7 +204,7 @@ var layer8 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
204
204
|
})
|
|
205
205
|
});
|
|
206
206
|
const selectModel = Effect.fnUntraced(function* (context, buffer, native) {
|
|
207
|
-
const agent = native ? undefined : yield* agents.get(
|
|
207
|
+
const agent = native ? undefined : yield* agents.get(ID11.make("compaction"));
|
|
208
208
|
const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
|
|
209
209
|
return;
|
|
210
210
|
})))) ?? context.model;
|
|
@@ -585,17 +585,17 @@ var layer8 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
585
585
|
}, { metadata: outcome.metadata });
|
|
586
586
|
return { status: "completed" };
|
|
587
587
|
});
|
|
588
|
-
return
|
|
588
|
+
return Service7.of({
|
|
589
589
|
transform: state.transform,
|
|
590
590
|
reload: state.reload,
|
|
591
591
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id)))),
|
|
592
592
|
precompute
|
|
593
593
|
});
|
|
594
594
|
}));
|
|
595
|
-
var
|
|
596
|
-
service:
|
|
597
|
-
layer:
|
|
598
|
-
deps: [
|
|
595
|
+
var node9 = makeLocationNode({
|
|
596
|
+
service: Service7,
|
|
597
|
+
layer: layer7,
|
|
598
|
+
deps: [node80, node90, node91, llmClient2, node81, node40, node70]
|
|
599
599
|
});
|
|
600
600
|
var heldIndex = (held, context) => {
|
|
601
601
|
if (held.firstID !== context.messages[0]?.id || held.initial !== context.initial)
|
|
@@ -786,4 +786,4 @@ var estimateMedia = (mime) => {
|
|
|
786
786
|
return 0;
|
|
787
787
|
};
|
|
788
788
|
|
|
789
|
-
export {
|
|
789
|
+
export { Service7, buildPrompt2, layer7, node9, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-xnwqffna.js";
|
|
5
5
|
import {
|
|
6
6
|
Service86,
|
|
7
7
|
node90
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-5j5yn56v.js";
|
|
9
9
|
import {
|
|
10
10
|
Service83,
|
|
11
11
|
node87
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-2y347c6b.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
synthetics2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-4ntm1ty7.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/session/instructions.ts
|
|
24
24
|
var exports_instructions = {};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorktreeError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-50w453fn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service69
|
|
6
|
+
} from "./location-z896zmsn.js";
|
|
7
7
|
import {
|
|
8
8
|
Service27
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-5pq7k0xn.js";
|
|
10
10
|
import {
|
|
11
11
|
DirectoryUnavailableError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-d4v9tmah.js";
|
|
13
13
|
import {
|
|
14
14
|
Info7,
|
|
15
15
|
List2,
|
|
16
16
|
InvalidDirectoryError2,
|
|
17
17
|
StrategyUnavailableError2,
|
|
18
18
|
OperationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-28365gvt.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/tool/plugin/opencode.ts
|
|
25
25
|
var exports_opencode = {};
|
|
@@ -27,7 +27,7 @@ __export(exports_opencode, {
|
|
|
27
27
|
ModelsInput: () => ModelsInput2,
|
|
28
28
|
MoveInput: () => MoveInput2,
|
|
29
29
|
OpenCodeTools: () => exports_opencode,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin23,
|
|
31
31
|
RenameInput: () => RenameInput2,
|
|
32
32
|
WorktreeCreateInput: () => WorktreeCreateInput2,
|
|
33
33
|
WorktreeRemoveInput: () => WorktreeRemoveInput2
|
|
@@ -105,11 +105,11 @@ var ModelsOutput = Schema.Struct({
|
|
|
105
105
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
106
106
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
107
107
|
});
|
|
108
|
-
var
|
|
108
|
+
var Plugin23 = {
|
|
109
109
|
id: "opencode.tools",
|
|
110
110
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
111
111
|
const access = yield* Service27;
|
|
112
|
-
const permission = yield*
|
|
112
|
+
const permission = yield* Service69;
|
|
113
113
|
const hook = (event) => Effect.sync(() => {
|
|
114
114
|
event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
|
|
115
115
|
});
|
|
@@ -258,4 +258,4 @@ function removeFailure(directory, error) {
|
|
|
258
258
|
return `Unable to remove worktree ${directory}.`;
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
-
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2,
|
|
261
|
+
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin23, exports_opencode };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-wakvkjy4.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-034tev2y.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/goal.ts
|
|
6
6
|
var exports_goal = {};
|
|
@@ -9,7 +9,7 @@ __export(exports_goal, {
|
|
|
9
9
|
MAX_OBJECTIVE: () => MAX_OBJECTIVE2,
|
|
10
10
|
MAX_ROUNDS: () => MAX_ROUNDS2,
|
|
11
11
|
MAX_STALLS: () => MAX_STALLS2,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin9,
|
|
13
13
|
WAIT_LIMIT: () => WAIT_LIMIT2
|
|
14
14
|
});
|
|
15
15
|
import { isContextOverflowFailure, Message } from "@opencode/ai/effect";
|
|
@@ -102,7 +102,7 @@ var Verdict = Schema.Struct({
|
|
|
102
102
|
});
|
|
103
103
|
var decodeVerdict = Schema.decodeUnknownOption(Schema.fromJsonString(Verdict));
|
|
104
104
|
var USAGE = "Usage: /goal <objective> | pause | resume | clear";
|
|
105
|
-
var
|
|
105
|
+
var Plugin9 = define({
|
|
106
106
|
id: "opencode.goal",
|
|
107
107
|
effect: Effect.fn(function* (ctx) {
|
|
108
108
|
const read = Effect.fn("GoalPlugin.read")(function* (sessionID) {
|
|
@@ -407,4 +407,4 @@ function escape(text) {
|
|
|
407
407
|
return text.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">");
|
|
408
408
|
}
|
|
409
409
|
|
|
410
|
-
export { MAX_OBJECTIVE2, MAX_ROUNDS2, MAX_STALLS2, WAIT_LIMIT2,
|
|
410
|
+
export { MAX_OBJECTIVE2, MAX_ROUNDS2, MAX_STALLS2, WAIT_LIMIT2, Plugin9, exports_goal };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
10
10
|
__export(exports_message_updater, {
|
|
11
11
|
SessionMessageUpdater: () => exports_message_updater,
|
|
12
|
-
update: () =>
|
|
12
|
+
update: () => update2
|
|
13
13
|
});
|
|
14
14
|
import { castDraft, produce } from "immer";
|
|
15
15
|
import { DateTime, Effect, Match, pipe, Schema } from "effect";
|
|
@@ -22,7 +22,7 @@ var projectTerminalSnapshot = (draft, event) => {
|
|
|
22
22
|
files: event.data.files ? Array.from(event.data.files) : undefined
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
-
function
|
|
25
|
+
function update2(adapter, event) {
|
|
26
26
|
const created = DateTime.makeUnsafe(event.created);
|
|
27
27
|
const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
|
|
28
28
|
const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
|
|
@@ -403,4 +403,4 @@ function update3(adapter, event) {
|
|
|
403
403
|
return project(event);
|
|
404
404
|
}
|
|
405
405
|
|
|
406
|
-
export {
|
|
406
|
+
export { update2, exports_message_updater };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
qualifiedName2
|
|
6
|
-
} from "./instance-hgfegmhz.js";
|
|
2
|
+
Service76
|
|
3
|
+
} from "./location-tkxe7v6f.js";
|
|
7
4
|
import {
|
|
8
5
|
Service83
|
|
9
|
-
} from "./
|
|
10
|
-
import {
|
|
11
|
-
Service80
|
|
12
|
-
} from "./instance-q2kxvpjb.js";
|
|
6
|
+
} from "./location-2y347c6b.js";
|
|
13
7
|
import {
|
|
14
8
|
Unattended2,
|
|
15
9
|
merge2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
10
|
+
Service69
|
|
11
|
+
} from "./location-z896zmsn.js";
|
|
12
|
+
import {
|
|
13
|
+
qualifiedName2
|
|
14
|
+
} from "./location-xbq7ap0g.js";
|
|
15
|
+
import {
|
|
16
|
+
Service57
|
|
17
|
+
} from "./location-qf791z7a.js";
|
|
18
18
|
import {
|
|
19
19
|
Service27,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-5pq7k0xn.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service41
|
|
24
|
+
} from "./location-ev660z6k.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service64
|
|
27
|
+
} from "./location-zehwd02a.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service32
|
|
30
|
+
} from "./location-de6znanw.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
32
|
+
Service63,
|
|
33
33
|
args2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-vfgkptxa.js";
|
|
35
35
|
import {
|
|
36
36
|
scan3
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./location-h949k007.js";
|
|
38
38
|
import {
|
|
39
39
|
__export
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./location-9rqn6x4v.js";
|
|
41
41
|
|
|
42
42
|
// src/schedule/check.ts
|
|
43
43
|
var exports_check = {};
|
|
@@ -122,7 +122,7 @@ function describe2(condition) {
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
var authorize2 = Effect.fnUntraced(function* (session, name, when, check) {
|
|
125
|
-
const plugins = yield*
|
|
125
|
+
const plugins = yield* Service41;
|
|
126
126
|
yield* plugins.awaitActivation;
|
|
127
127
|
switch (check.condition.type) {
|
|
128
128
|
case "shell":
|
|
@@ -133,7 +133,7 @@ var authorize2 = Effect.fnUntraced(function* (session, name, when, check) {
|
|
|
133
133
|
});
|
|
134
134
|
var evaluate2 = Effect.fnUntraced(function* (session, check, prevState, context) {
|
|
135
135
|
const run = Effect.gen(function* () {
|
|
136
|
-
const plugins = yield*
|
|
136
|
+
const plugins = yield* Service41;
|
|
137
137
|
yield* plugins.awaitActivation;
|
|
138
138
|
switch (check.condition.type) {
|
|
139
139
|
case "shell":
|
|
@@ -148,8 +148,8 @@ var evaluate2 = Effect.fnUntraced(function* (session, check, prevState, context)
|
|
|
148
148
|
})));
|
|
149
149
|
});
|
|
150
150
|
var resolveCodeTools = Effect.fnUntraced(function* (paths) {
|
|
151
|
-
const mcp = yield*
|
|
152
|
-
const tools = yield*
|
|
151
|
+
const mcp = yield* Service32;
|
|
152
|
+
const tools = yield* Service64;
|
|
153
153
|
if (paths.length > 0)
|
|
154
154
|
yield* mcp.flush;
|
|
155
155
|
const registered = yield* tools.list();
|
|
@@ -169,8 +169,8 @@ var resolveCodeTools = Effect.fnUntraced(function* (paths) {
|
|
|
169
169
|
return { tools, resolved };
|
|
170
170
|
});
|
|
171
171
|
var authorizeCode = Effect.fnUntraced(function* (session, name, when, mode, condition) {
|
|
172
|
-
const permission = yield*
|
|
173
|
-
const agents = yield*
|
|
172
|
+
const permission = yield* Service69;
|
|
173
|
+
const agents = yield* Service76;
|
|
174
174
|
const agent = yield* agents.select(session.agent);
|
|
175
175
|
const scanned = CodeMode.scanTools(condition.code);
|
|
176
176
|
if (Result.isFailure(scanned))
|
|
@@ -209,8 +209,8 @@ var authorizeCode = Effect.fnUntraced(function* (session, name, when, mode, cond
|
|
|
209
209
|
}), { discard: true });
|
|
210
210
|
});
|
|
211
211
|
var runCode = Effect.fnUntraced(function* (session, condition, prevState, context) {
|
|
212
|
-
const permission = yield*
|
|
213
|
-
const agents = yield*
|
|
212
|
+
const permission = yield* Service69;
|
|
213
|
+
const agents = yield* Service76;
|
|
214
214
|
const agent = yield* agents.select(session.agent);
|
|
215
215
|
if (!agent.info)
|
|
216
216
|
return { ok: false, error: `Agent not found: ${agent.id}` };
|
|
@@ -282,7 +282,7 @@ var runCode = Effect.fnUntraced(function* (session, condition, prevState, contex
|
|
|
282
282
|
var scanShell = Effect.fnUntraced(function* (command) {
|
|
283
283
|
const location = yield* Service83;
|
|
284
284
|
const access = yield* Service27;
|
|
285
|
-
const shellSelect = yield*
|
|
285
|
+
const shellSelect = yield* Service63;
|
|
286
286
|
const target = yield* access.resolve({ path: location.directory, kind: "directory" }).pipe(Effect.mapError((error) => error.message));
|
|
287
287
|
const shell = yield* shellSelect.resolve({ priority: "compat" });
|
|
288
288
|
const parsed = yield* scan3(command, shell, target.absolute).pipe(Effect.mapError((error) => error.message));
|
|
@@ -292,8 +292,8 @@ var scanShell = Effect.fnUntraced(function* (command) {
|
|
|
292
292
|
return { shell, cwd: target.absolute, workspaceID: location.workspaceID, external, commands };
|
|
293
293
|
});
|
|
294
294
|
var assertShellPermissions = Effect.fnUntraced(function* (session, scanned, metadata) {
|
|
295
|
-
const permission = yield*
|
|
296
|
-
const agents = yield*
|
|
295
|
+
const permission = yield* Service69;
|
|
296
|
+
const agents = yield* Service76;
|
|
297
297
|
const agent = yield* agents.select(session.agent);
|
|
298
298
|
if (scanned.external.length > 0) {
|
|
299
299
|
yield* permission.assert({
|
|
@@ -325,7 +325,7 @@ var authorizeShell = Effect.fnUntraced(function* (session, name, when, mode, con
|
|
|
325
325
|
});
|
|
326
326
|
});
|
|
327
327
|
var runShell = Effect.fnUntraced(function* (session, condition, prevState) {
|
|
328
|
-
const environment = yield*
|
|
328
|
+
const environment = yield* Service57;
|
|
329
329
|
const scannedExit = yield* Effect.result(scanShell(condition.run));
|
|
330
330
|
if (Result.isFailure(scannedExit))
|
|
331
331
|
return { ok: false, error: scannedExit.failure };
|