@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,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-m89858wj.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error = {};
|
|
@@ -20,7 +20,7 @@ __export(exports_error, {
|
|
|
20
20
|
InvalidListCursorError: () => InvalidListCursorError2,
|
|
21
21
|
MessageDecodeError: () => MessageDecodeError2,
|
|
22
22
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError11,
|
|
24
24
|
PromptConflictError: () => PromptConflictError2,
|
|
25
25
|
SessionErrors: () => exports_error,
|
|
26
26
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError11 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError11, InvalidListCursorError2, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
|
|
@@ -5,22 +5,22 @@ import {
|
|
|
5
5
|
nativeSettings2,
|
|
6
6
|
timeouts2,
|
|
7
7
|
mergeOverlay2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-bfhbctn3.js";
|
|
9
9
|
import {
|
|
10
10
|
stringify2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-7stb81gk.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/aisdk.ts
|
|
17
17
|
var exports_aisdk = {};
|
|
18
18
|
__export(exports_aisdk, {
|
|
19
19
|
AISDK: () => exports_aisdk,
|
|
20
20
|
InitError: () => InitError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service68,
|
|
22
22
|
locationLayer: () => locationLayer2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node72
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -161,9 +161,9 @@ function initError(providerID) {
|
|
|
161
161
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
class
|
|
164
|
+
class Service68 extends Context.Service()("@opencode/AISDK") {
|
|
165
165
|
}
|
|
166
|
-
var locationLayer2 = Layer.effect(
|
|
166
|
+
var locationLayer2 = Layer.effect(Service68, Effect.gen(function* () {
|
|
167
167
|
let sdkHooks = [];
|
|
168
168
|
let languageHooks = [];
|
|
169
169
|
const languages = new Map;
|
|
@@ -201,7 +201,7 @@ var locationLayer2 = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
201
201
|
}
|
|
202
202
|
return event;
|
|
203
203
|
});
|
|
204
|
-
const service =
|
|
204
|
+
const service = Service68.of({
|
|
205
205
|
hook: {
|
|
206
206
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
207
207
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -863,6 +863,6 @@ function providerErrorMessage(error) {
|
|
|
863
863
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
864
864
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
865
865
|
}
|
|
866
|
-
var
|
|
866
|
+
var node72 = makeLocationNode({ service: Service68, layer: locationLayer2, deps: [] });
|
|
867
867
|
|
|
868
|
-
export { InitError2,
|
|
868
|
+
export { InitError2, Service68, locationLayer2, node72, exports_aisdk };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-2bv980vf.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-rbndg51d.js";
|
|
5
5
|
import {
|
|
6
6
|
AuthorizationError2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-62s3a18k.js";
|
|
8
8
|
import {
|
|
9
9
|
CorrectedError2,
|
|
10
10
|
BlockedError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-z896zmsn.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-yh2v5kew.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelNotSelectedError2,
|
|
22
22
|
ModelUnavailableError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-2sjtpkz1.js";
|
|
24
24
|
|
|
25
25
|
// src/session/to-session-error.ts
|
|
26
26
|
import { AIError, ToolFailure } from "@opencode/ai/effect";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service48,
|
|
10
|
+
node: () => node50
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service48 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node50 = LayerNode.unbound(Service48, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service48, node50, exports_service2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission2 = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_permission2, {
|
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission2,
|
|
10
10
|
Entries: () => Entries2,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info18,
|
|
12
12
|
Object: () => Object2,
|
|
13
13
|
Rule: () => Rule3
|
|
14
14
|
});
|
|
@@ -21,11 +21,11 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
|
|
|
21
21
|
var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
22
22
|
var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
23
23
|
var actionOnly = new Set(["question", "websearch", "doom_loop"]);
|
|
24
|
-
var
|
|
24
|
+
var Info18 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
|
|
25
25
|
decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
|
|
26
26
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
27
27
|
})).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
|
|
28
28
|
expected: "question, websearch, and doom_loop to be ask, allow, or deny"
|
|
29
29
|
})).annotate({ identifier: "PermissionConfig" });
|
|
30
30
|
|
|
31
|
-
export { Action2, Entries2, Object2, Rule3,
|
|
31
|
+
export { Action2, Entries2, Object2, Rule3, Info18, exports_permission2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-qaymkmh1.js";
|
|
7
7
|
|
|
8
8
|
// src/util/git-executable.ts
|
|
9
9
|
import { existsSync, realpathSync } from "node:fs";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-xnwqffna.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-brd5eeq0.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-mb7mbhnz.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info8,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service40,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node44,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info8 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service40 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
65
|
-
key:
|
|
64
|
+
var source = (entry) => make21({
|
|
65
|
+
key: Key4.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make20({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service87;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service40.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node44 = makeGlobalNode({ service: Service40, layer, deps: [node91] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info8, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service40, node44, exports_instruction_entry };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-8jztxfpf.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86,
|
|
6
6
|
node90
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-5j5yn56v.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service81,
|
|
11
|
+
node85
|
|
12
|
+
} from "./location-jyg8crv2.js";
|
|
13
13
|
import {
|
|
14
14
|
Service83,
|
|
15
15
|
node87
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-2y347c6b.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service57,
|
|
19
|
+
node60
|
|
20
|
+
} from "./location-qf791z7a.js";
|
|
21
21
|
import {
|
|
22
22
|
ID15,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service80,
|
|
24
|
+
node84
|
|
25
|
+
} from "./location-3jwa21mm.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-204s3925.js";
|
|
30
30
|
import {
|
|
31
31
|
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service79,
|
|
34
|
+
node83
|
|
35
|
+
} from "./location-62s3a18k.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
45
|
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -114,11 +114,11 @@ var Options4 = Schema.Struct({
|
|
|
114
114
|
});
|
|
115
115
|
var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
116
116
|
const location = yield* Service83;
|
|
117
|
-
const environment = yield*
|
|
117
|
+
const environment = yield* Service57;
|
|
118
118
|
const bus = yield* Service86;
|
|
119
|
-
const forms = yield*
|
|
120
|
-
const integration = yield*
|
|
121
|
-
const credentials = yield*
|
|
119
|
+
const forms = yield* Service80;
|
|
120
|
+
const integration = yield* Service79;
|
|
121
|
+
const credentials = yield* Service81;
|
|
122
122
|
const root = yield* Effect.scope;
|
|
123
123
|
const fork = yield* FiberSet.makeRuntime();
|
|
124
124
|
const servers = yield* Scope.fork(root, "parallel");
|
|
@@ -149,7 +149,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
149
149
|
method: { id: methodID, type: "oauth", label: name },
|
|
150
150
|
authorize: () => Effect.gen(function* () {
|
|
151
151
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
152
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
152
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service81, credentials));
|
|
153
153
|
})
|
|
154
154
|
});
|
|
155
155
|
}).pipe(Scope.provide(scope));
|
|
@@ -157,14 +157,14 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
157
157
|
const requireServer = Effect.fnUntraced(function* (name) {
|
|
158
158
|
const entry = entries.get(name);
|
|
159
159
|
if (!entry)
|
|
160
|
-
return yield* new
|
|
160
|
+
return yield* new NotFoundError4({ server: name });
|
|
161
161
|
return { name, entry };
|
|
162
162
|
});
|
|
163
163
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
164
164
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
165
165
|
return;
|
|
166
166
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
167
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
167
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service81, credentials));
|
|
168
168
|
});
|
|
169
169
|
const elicitation = {
|
|
170
170
|
create: (input) => Effect.gen(function* () {
|
|
@@ -272,7 +272,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
272
272
|
entry.scope = scope;
|
|
273
273
|
const authProvider = yield* connectProvider(entry);
|
|
274
274
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
275
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
275
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service57, environment), Scope.provide(scope));
|
|
276
276
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
277
277
|
if (Exit.isSuccess(result)) {
|
|
278
278
|
entry.client = result.value.connection;
|
|
@@ -373,7 +373,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
373
373
|
let closed = false;
|
|
374
374
|
const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
|
|
375
375
|
closed = true;
|
|
376
|
-
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
376
|
+
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service57, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
|
|
377
377
|
const register = Effect.gen(function* () {
|
|
378
378
|
if (closed) {
|
|
379
379
|
yield* Scope.close(scope, Exit.void);
|
|
@@ -452,7 +452,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
452
452
|
yield* startServer(name, entry);
|
|
453
453
|
}).pipe(locks.withLock(name));
|
|
454
454
|
});
|
|
455
|
-
fork(bus.subscribe(
|
|
455
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
456
456
|
const state = create3({
|
|
457
457
|
name: "mcp",
|
|
458
458
|
initial: () => ({
|
|
@@ -615,7 +615,7 @@ function configured4(options) {
|
|
|
615
615
|
return makeLocationNode({
|
|
616
616
|
service: Service35,
|
|
617
617
|
layer: layer16(options),
|
|
618
|
-
deps: [node87,
|
|
618
|
+
deps: [node87, node60, node90, node84, node83, node85]
|
|
619
619
|
});
|
|
620
620
|
}
|
|
621
621
|
var node38 = configured4();
|
|
@@ -669,4 +669,4 @@ function toElicitationField(key, property, required) {
|
|
|
669
669
|
}
|
|
670
670
|
}
|
|
671
671
|
|
|
672
|
-
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
672
|
+
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service35, Options4, layer16, configured4, node38, exports_mcp4 };
|