@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,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./location-tkxe7v6f.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service77
|
|
7
|
+
} from "./location-8prsd97r.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service73
|
|
11
|
+
} from "./location-mw7rhp6d.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionSchema2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-m89858wj.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service60
|
|
17
|
+
} from "./location-vkdfbcf5.js";
|
|
18
18
|
import {
|
|
19
19
|
evaluate3,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service69
|
|
21
|
+
} from "./location-z896zmsn.js";
|
|
22
22
|
import {
|
|
23
23
|
Service28
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-2bwv8tnq.js";
|
|
25
25
|
import {
|
|
26
26
|
NO_TEXT2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-sqjzf8x2.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service8
|
|
30
|
+
} from "./location-k6586ewx.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/tool/plugin/subagent.ts
|
|
36
36
|
var exports_subagent = {};
|
|
37
37
|
__export(exports_subagent, {
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
38
|
+
Input: () => Input14,
|
|
39
|
+
Output: () => Output10,
|
|
40
|
+
Plugin: () => Plugin34,
|
|
41
41
|
SubagentTool: () => exports_subagent,
|
|
42
|
-
description: () =>
|
|
43
|
-
name: () =>
|
|
42
|
+
description: () => description6,
|
|
43
|
+
name: () => name14
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
46
46
|
import { Effect, Predicate, Schema } from "effect";
|
|
47
|
-
var
|
|
47
|
+
var name14 = "subagent";
|
|
48
48
|
var backgroundResult = (sessionID) => ({
|
|
49
49
|
sessionID,
|
|
50
50
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input14 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input5 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output10 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description6 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description3 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin34 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
92
|
const sessions = yield* Service28;
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
93
|
+
const jobs = yield* Service60;
|
|
94
|
+
const agents = yield* Service76;
|
|
95
|
+
const config = yield* Service73;
|
|
96
|
+
const permission = yield* Service69;
|
|
97
|
+
const models = yield* Service77;
|
|
98
|
+
const subagents = yield* Service8;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref3.parse(input),
|
|
@@ -117,11 +117,11 @@ var Plugin42 = {
|
|
|
117
117
|
return ref;
|
|
118
118
|
});
|
|
119
119
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
120
|
-
name:
|
|
120
|
+
name: name14,
|
|
121
121
|
options: { codemode: false },
|
|
122
|
-
description:
|
|
123
|
-
input:
|
|
124
|
-
output:
|
|
122
|
+
description: description6,
|
|
123
|
+
input: Input14,
|
|
124
|
+
output: Output10,
|
|
125
125
|
execute: (input, context) => Effect.gen(function* () {
|
|
126
126
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
127
127
|
let current = parent;
|
|
@@ -141,7 +141,7 @@ var Plugin42 = {
|
|
|
141
141
|
if (agent.mode === "primary")
|
|
142
142
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
143
143
|
yield* permission.assert({
|
|
144
|
-
action:
|
|
144
|
+
action: name14,
|
|
145
145
|
resources: [agent.id],
|
|
146
146
|
save: [agent.id],
|
|
147
147
|
sessionID: context.sessionID,
|
|
@@ -220,7 +220,7 @@ ${output.output}
|
|
|
220
220
|
})))
|
|
221
221
|
})).pipe(Effect.orDie);
|
|
222
222
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
223
|
-
if (event.tool !==
|
|
223
|
+
if (event.tool !== name14 || !Predicate.isObject(event.input))
|
|
224
224
|
return;
|
|
225
225
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
226
226
|
return;
|
|
@@ -232,13 +232,13 @@ ${output.output}
|
|
|
232
232
|
event.input = input;
|
|
233
233
|
}));
|
|
234
234
|
const hook = (event) => Effect.gen(function* () {
|
|
235
|
-
const tool = event.tools[
|
|
235
|
+
const tool = event.tools[name14];
|
|
236
236
|
if (!tool)
|
|
237
237
|
return;
|
|
238
238
|
const selected = yield* agents.resolve(event.agent);
|
|
239
239
|
if (!selected)
|
|
240
240
|
return;
|
|
241
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(
|
|
241
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name14, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
242
242
|
if (available.length === 0)
|
|
243
243
|
return;
|
|
244
244
|
tool.description = [
|
|
@@ -255,4 +255,4 @@ ${output.output}
|
|
|
255
255
|
})
|
|
256
256
|
};
|
|
257
257
|
|
|
258
|
-
export {
|
|
258
|
+
export { name14, Input14, Output10, description6, Plugin34, exports_subagent };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-5j5yn56v.js";
|
|
5
5
|
import {
|
|
6
6
|
changes2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-204s3925.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/command.ts
|
|
14
14
|
var exports_command4 = {};
|
|
15
15
|
__export(exports_command4, {
|
|
16
16
|
Command: () => exports_command4,
|
|
17
|
-
Event: () =>
|
|
17
|
+
Event: () => Event7,
|
|
18
18
|
ExecutionError: () => ExecutionError2,
|
|
19
|
-
Info: () =>
|
|
20
|
-
NotFoundError: () =>
|
|
21
|
-
Service: () =>
|
|
22
|
-
layer: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
Info: () => Info10,
|
|
20
|
+
NotFoundError: () => NotFoundError7,
|
|
21
|
+
Service: () => Service53,
|
|
22
|
+
layer: () => layer22,
|
|
23
|
+
node: () => node56
|
|
24
24
|
});
|
|
25
25
|
import { Command } from "@opencode/schema/command";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
28
|
-
import { Event as
|
|
29
|
-
var
|
|
28
|
+
import { Event as Event7 } from "@opencode/schema/command";
|
|
29
|
+
var Info10 = Command.Info;
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
32
32
|
command: Schema.String,
|
|
33
33
|
message: Schema.String
|
|
34
34
|
}) {
|
|
@@ -40,11 +40,11 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service53 extends Context.Service()("@opencode/Command") {
|
|
44
44
|
}
|
|
45
|
-
var
|
|
45
|
+
var layer22 = Layer.effect(Service53, Effect.gen(function* () {
|
|
46
46
|
const bus = yield* Service86;
|
|
47
|
-
const info = (definition) =>
|
|
47
|
+
const info = (definition) => Info10.make({
|
|
48
48
|
name: definition.name,
|
|
49
49
|
description: definition.description
|
|
50
50
|
});
|
|
@@ -56,7 +56,7 @@ var layer20 = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
56
56
|
}),
|
|
57
57
|
notify: changes2((commands) => Array.from(commands.values(), info), () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid))
|
|
58
58
|
});
|
|
59
|
-
return
|
|
59
|
+
return Service53.of({
|
|
60
60
|
reload: state.reload,
|
|
61
61
|
transform: state.transform,
|
|
62
62
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -67,14 +67,14 @@ var layer20 = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
67
67
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
68
68
|
const definition = state.get().get(input.name);
|
|
69
69
|
if (!definition)
|
|
70
|
-
return yield* new
|
|
70
|
+
return yield* new NotFoundError7({ command: input.name, message: `Command not found: ${input.name}` });
|
|
71
71
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
72
72
|
})
|
|
73
73
|
});
|
|
74
74
|
}));
|
|
75
|
-
var
|
|
76
|
-
service:
|
|
77
|
-
layer:
|
|
75
|
+
var node56 = makeLocationNode({
|
|
76
|
+
service: Service53,
|
|
77
|
+
layer: layer22,
|
|
78
78
|
deps: [node90]
|
|
79
79
|
});
|
|
80
80
|
function errorMessage(error) {
|
|
@@ -87,4 +87,4 @@ function errorMessage(error) {
|
|
|
87
87
|
return "Command execution failed";
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
export {
|
|
90
|
+
export { Info10, NotFoundError7, ExecutionError2, Service53, layer22, node56, exports_command4, Event7 };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-xnwqffna.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service73
|
|
8
|
+
} from "./location-mw7rhp6d.js";
|
|
9
9
|
import {
|
|
10
10
|
DirectoryNotFoundError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-4h609sqz.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service48,
|
|
14
|
+
node50
|
|
15
|
+
} from "./location-s2pfznc4.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-gftt206x.js";
|
|
19
19
|
import {
|
|
20
20
|
SessionInboxTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-mb7mbhnz.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service45,
|
|
24
|
+
node48
|
|
25
|
+
} from "./location-7kqn30mb.js";
|
|
26
26
|
import {
|
|
27
27
|
Service28,
|
|
28
28
|
node31
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-2bwv8tnq.js";
|
|
30
30
|
import {
|
|
31
31
|
validate2,
|
|
32
32
|
describe2,
|
|
33
33
|
authorize2,
|
|
34
34
|
evaluate2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./location-bbnmh3xr.js";
|
|
36
36
|
import {
|
|
37
37
|
ScheduleTable2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-wegkxhrn.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./location-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/schedule.ts
|
|
44
44
|
var exports_schedule2 = {};
|
|
@@ -54,10 +54,10 @@ __export(exports_schedule2, {
|
|
|
54
54
|
Outcome: () => Outcome3,
|
|
55
55
|
Request: () => Request2,
|
|
56
56
|
Schedule: () => exports_schedule2,
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service14,
|
|
58
58
|
Status: () => Status2,
|
|
59
59
|
When: () => When2,
|
|
60
|
-
node: () =>
|
|
60
|
+
node: () => node16,
|
|
61
61
|
toCreateInput: () => toCreateInput2
|
|
62
62
|
});
|
|
63
63
|
import { and, asc, eq, gt, isNull, lte, min, or } from "drizzle-orm";
|
|
@@ -98,7 +98,7 @@ class DisabledError2 extends Schema.TaggedError()("Schedule.DisabledError", {})
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
class
|
|
101
|
+
class Service14 extends Context.Service()("@opencode/Schedule") {
|
|
102
102
|
}
|
|
103
103
|
var MINUTE = 60000;
|
|
104
104
|
var HOUR = 60 * MINUTE;
|
|
@@ -181,15 +181,15 @@ var toInfo = (row, lastOutput) => ({
|
|
|
181
181
|
...lastOutput === undefined ? {} : { lastOutput },
|
|
182
182
|
time: { created: DateTime.makeUnsafe(row.time_created), updated: DateTime.makeUnsafe(row.time_updated) }
|
|
183
183
|
});
|
|
184
|
-
var layer = Layer.effect(
|
|
184
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
185
185
|
const database = yield* Service87;
|
|
186
186
|
const db = database.db;
|
|
187
187
|
const sessions = yield* Service28;
|
|
188
|
-
const instances = yield*
|
|
189
|
-
const execution = yield*
|
|
188
|
+
const instances = yield* Service48;
|
|
189
|
+
const execution = yield* Service45;
|
|
190
190
|
const doorbell = yield* Latch.make();
|
|
191
191
|
const settings = (session) => Effect.gen(function* () {
|
|
192
|
-
const config = yield* Effect.serviceOption(
|
|
192
|
+
const config = yield* Effect.serviceOption(Service73);
|
|
193
193
|
if (Option.isNone(config))
|
|
194
194
|
return { enabled: false, timezone: undefined };
|
|
195
195
|
const entries = yield* config.value.entries();
|
|
@@ -445,7 +445,7 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
445
445
|
return yield* new InvalidError2({ reason: `Invalid time: ${ends.at}` });
|
|
446
446
|
return Math.min(at.value, after ?? at.value);
|
|
447
447
|
});
|
|
448
|
-
return
|
|
448
|
+
return Service14.of({
|
|
449
449
|
create: Effect.fn("Schedule.create")(function* (input) {
|
|
450
450
|
const session = yield* sessions.get(input.sessionID);
|
|
451
451
|
const config = yield* settings(session).pipe(Effect.catchTag("FileSystem.DirectoryNotFoundError", () => Effect.fail(new InvalidError2({ reason: `Session directory does not exist: ${session.location.directory}` }))));
|
|
@@ -570,10 +570,10 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
570
570
|
run
|
|
571
571
|
});
|
|
572
572
|
}));
|
|
573
|
-
var
|
|
574
|
-
service:
|
|
573
|
+
var node16 = makeGlobalNode({
|
|
574
|
+
service: Service14,
|
|
575
575
|
layer,
|
|
576
|
-
deps: [node91, node31,
|
|
576
|
+
deps: [node91, node31, node48, node50]
|
|
577
577
|
});
|
|
578
578
|
|
|
579
|
-
export { Condition2, ConditionInput2, CreateInput2, ID2, Info3, Outcome3, Request2, Status2, toCreateInput2, When2, NotFoundError2, InvalidError2, DisabledError2,
|
|
579
|
+
export { Condition2, ConditionInput2, CreateInput2, ID2, Info3, Outcome3, Request2, Status2, toCreateInput2, When2, NotFoundError2, InvalidError2, DisabledError2, Service14, node16, exports_schedule2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-xnwqffna.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service82,
|
|
17
|
+
node: () => node86
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service82 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service87).db;
|
|
26
|
-
return
|
|
26
|
+
return Service82.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node86 = makeGlobalNode({ service: Service82, layer, deps: [node91] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service82, node86, exports_kv };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-5j5yn56v.js";
|
|
5
5
|
import {
|
|
6
6
|
changes2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-204s3925.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/agent.ts
|
|
14
|
-
var
|
|
15
|
-
__export(
|
|
16
|
-
Agent: () =>
|
|
14
|
+
var exports_agent4 = {};
|
|
15
|
+
__export(exports_agent4, {
|
|
16
|
+
Agent: () => exports_agent4,
|
|
17
17
|
Color: () => Color2,
|
|
18
|
-
Event: () =>
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
18
|
+
Event: () => Event14,
|
|
19
|
+
ID: () => ID11,
|
|
20
|
+
Info: () => Info21,
|
|
21
21
|
Name: () => Name3,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service76,
|
|
23
23
|
defaultID: () => defaultID2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node80
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
|
-
import { Event as
|
|
30
|
-
var
|
|
29
|
+
import { Event as Event14 } from "@opencode/schema/agent";
|
|
30
|
+
var ID11 = Agent.ID;
|
|
31
31
|
var Name3 = Agent.Name;
|
|
32
|
-
var defaultID2 =
|
|
32
|
+
var defaultID2 = ID11.make("build");
|
|
33
33
|
var Color2 = Agent.Color;
|
|
34
|
-
var
|
|
34
|
+
var Info21 = Agent.Info;
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service76 extends Context.Service()("@opencode/Agent") {
|
|
37
37
|
}
|
|
38
|
-
var layer = Layer.effect(
|
|
38
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
39
39
|
const bus = yield* Service86;
|
|
40
40
|
const selectable = (agent) => agent && agent.mode !== "subagent" && !agent.hidden ? agent : undefined;
|
|
41
41
|
const selectedDefault = (data) => {
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
68
68
|
editor.default = id;
|
|
69
69
|
},
|
|
70
70
|
update: (id, fn) => {
|
|
71
|
-
const current = editor.agents.get(id) ??
|
|
71
|
+
const current = editor.agents.get(id) ?? Info21.default(id);
|
|
72
72
|
if (!editor.agents.has(id))
|
|
73
73
|
editor.agents.set(id, current);
|
|
74
74
|
fn(current);
|
|
@@ -80,7 +80,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
80
80
|
}),
|
|
81
81
|
notify: changes2(list, () => bus.publish(Agent.Event.Updated, {}).pipe(Effect.asVoid))
|
|
82
82
|
});
|
|
83
|
-
return
|
|
83
|
+
return Service76.of({
|
|
84
84
|
transform: state.transform,
|
|
85
85
|
reload: state.reload,
|
|
86
86
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
88
88
|
}),
|
|
89
89
|
resolve: Effect.fnUntraced(function* (id) {
|
|
90
90
|
if (id !== undefined)
|
|
91
|
-
return state.get().agents.get(
|
|
91
|
+
return state.get().agents.get(ID11.make(id));
|
|
92
92
|
return selectedDefault(state.get());
|
|
93
93
|
}),
|
|
94
94
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
@@ -102,6 +102,6 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
102
102
|
})
|
|
103
103
|
});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
105
|
+
var node80 = makeLocationNode({ service: Service76, layer, deps: [node90] });
|
|
106
106
|
|
|
107
|
-
export {
|
|
107
|
+
export { ID11, Name3, defaultID2, Color2, Info21, Service76, node80, exports_agent4, Event14 };
|