@opencode-ai/core 0.0.0-dev-19181 → 0.0.0-dev-19182
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +82 -82
- package/dist/chunks/{app-nygk0pkd.js → location-06da17n0.js} +7 -7
- package/dist/chunks/{app-10gpzbj0.js → location-06nv7jxy.js} +2 -2
- package/dist/chunks/{app-kbznjata.js → location-06qbn9zd.js} +9 -9
- package/dist/chunks/{app-dhzp65aq.js → location-099yzkay.js} +5 -5
- package/dist/chunks/{app-0e0xafbb.js → location-0e0xafbb.js} +2 -2
- package/dist/chunks/{app-4f62ejdk.js → location-0k2w8cze.js} +20 -20
- package/dist/chunks/{app-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{app-dfcf8dsh.js → location-0qnr3fek.js} +19 -19
- package/dist/chunks/{app-pvsq6e0y.js → location-0r82rn0f.js} +38 -38
- package/dist/chunks/{app-0s9ayhjt.js → location-0s9ayhjt.js} +1 -1
- package/dist/chunks/{app-456nf4bc.js → location-0v2z2dt2.js} +4 -4
- package/dist/chunks/{app-9brvgznv.js → location-0xf4rbjv.js} +10 -10
- package/dist/chunks/{app-qev88vwh.js → location-0y9gq4bp.js} +11 -11
- package/dist/chunks/{app-72xb1avz.js → location-1358r5b6.js} +14 -14
- package/dist/chunks/{app-m5w7j81k.js → location-16s6chgv.js} +7 -7
- package/dist/chunks/{app-y18mx0w9.js → location-1ayrcz9m.js} +28 -28
- package/dist/chunks/{app-gbqbc70j.js → location-1bk5txm0.js} +23 -23
- package/dist/chunks/{app-1ct4r87x.js → location-1ct4r87x.js} +1 -1
- package/dist/chunks/{app-cz8be0q1.js → location-1dthfd4v.js} +22 -22
- package/dist/chunks/{app-cc55107n.js → location-1hs7c9vy.js} +4 -4
- package/dist/chunks/{app-rxbdfnq0.js → location-1nk2mnc0.js} +3 -3
- package/dist/chunks/{app-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{app-fvn82d8v.js → location-22j3pzs9.js} +7 -7
- package/dist/chunks/{app-6h73sxmp.js → location-2402vzrj.js} +5 -5
- package/dist/chunks/{app-9f52v7jd.js → location-24hkfxm1.js} +8 -8
- package/dist/chunks/{app-6n7vs3qv.js → location-25thvgnz.js} +46 -46
- package/dist/chunks/{app-g4fah38e.js → location-26n7px8t.js} +12 -12
- package/dist/chunks/{app-z63w68vq.js → location-29x78va6.js} +6 -6
- package/dist/chunks/{app-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{app-yq9z8ydh.js → location-2drkfcgp.js} +39 -39
- package/dist/chunks/{app-2ht70gj7.js → location-2ht70gj7.js} +1 -1
- package/dist/chunks/{app-9nv1rt96.js → location-2zwygsj0.js} +9 -9
- package/dist/chunks/{app-sc524drs.js → location-305k387t.js} +1 -1
- package/dist/chunks/{app-6rgwnj84.js → location-38ccjcnc.js} +13 -13
- package/dist/chunks/{app-xvx5ymr3.js → location-3dh86x81.js} +19 -19
- package/dist/chunks/{app-gdvy8fx6.js → location-3fc6dm20.js} +4 -4
- package/dist/chunks/{app-s8w5cjx7.js → location-3g5pjnhh.js} +32 -32
- package/dist/chunks/{app-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-3qzbfqsy.js → location-3qzbfqsy.js} +2 -2
- package/dist/chunks/{app-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{app-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{app-trnhxq5y.js → location-40myj96f.js} +11 -11
- package/dist/chunks/{app-41mncz27.js → location-41mncz27.js} +2 -2
- package/dist/chunks/{app-1k4ws4ty.js → location-4222c8h2.js} +5 -5
- package/dist/chunks/{app-454k5vzh.js → location-454k5vzh.js} +1 -1
- package/dist/chunks/{app-sj5n3trc.js → location-4dqndjrv.js} +34 -34
- package/dist/chunks/{app-dpqq4n8f.js → location-4ex15pvw.js} +1 -1
- package/dist/chunks/{app-gcqp0jtf.js → location-4henhw4d.js} +9 -9
- package/dist/chunks/{app-4r2nyarf.js → location-4r2nyarf.js} +1 -1
- package/dist/chunks/{app-zm0v3se3.js → location-4tppse3b.js} +13 -13
- package/dist/chunks/{app-rz31k017.js → location-4x0nmcjx.js} +9 -9
- package/dist/chunks/{app-w7z32673.js → location-4zwh31cg.js} +28 -28
- package/dist/chunks/{app-nqk9406z.js → location-56b1m769.js} +5 -5
- package/dist/chunks/{app-7cnkxtbd.js → location-56s0b4tg.js} +9 -9
- package/dist/chunks/{app-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{app-5fmxt4p5.js → location-5fmxt4p5.js} +1 -1
- package/dist/chunks/{app-5jvc5tg2.js → location-5jvc5tg2.js} +1 -1
- package/dist/chunks/{app-6g1q2hdd.js → location-5ktyes22.js} +17 -17
- package/dist/chunks/{app-arbehxbm.js → location-5wca7bce.js} +16 -16
- package/dist/chunks/{app-pt34y05q.js → location-637qq8n2.js} +9 -9
- package/dist/chunks/{app-zy9sz0a1.js → location-639gdf4d.js} +9 -9
- package/dist/chunks/{app-teq0593w.js → location-682nnvw5.js} +64 -64
- package/dist/chunks/{app-4b1mthq9.js → location-69wcn9zj.js} +4 -4
- package/dist/chunks/{app-w3jym6ha.js → location-6abnk40k.js} +6 -6
- package/dist/chunks/{app-kzcd834w.js → location-6hws6qdh.js} +9 -9
- package/dist/chunks/{app-7myzn9fy.js → location-6mmthzyr.js} +10 -10
- package/dist/chunks/{app-g0h3g2y6.js → location-6mxvj815.js} +16 -16
- package/dist/chunks/{app-711hfp6y.js → location-711hfp6y.js} +2 -2
- package/dist/chunks/{app-72nftnjy.js → location-72nftnjy.js} +2 -2
- package/dist/chunks/{app-g11w9hv4.js → location-75qt4cx3.js} +20 -20
- package/dist/chunks/{app-88rt85wd.js → location-77dqx344.js} +18 -18
- package/dist/chunks/{app-ndjv4j8j.js → location-77y10504.js} +10 -10
- package/dist/chunks/{app-2vremtg6.js → location-79x7mafq.js} +22 -22
- package/dist/chunks/{app-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-jcyemy94.js → location-7grmgsg7.js} +4 -4
- package/dist/chunks/{app-raf8wtnx.js → location-7hqpjwy9.js} +15 -15
- package/dist/chunks/{app-xspqbexe.js → location-7svt03y5.js} +17 -17
- package/dist/chunks/{app-b3hfsjpn.js → location-7vhmdqap.js} +8 -8
- package/dist/chunks/{app-73tb2d7t.js → location-7yh4e7ss.js} +3 -3
- package/dist/chunks/{app-22ytshyy.js → location-810ayxav.js} +4 -4
- package/dist/chunks/{app-k4zvwy7w.js → location-830tx1xt.js} +21 -21
- package/dist/chunks/{app-3vpahets.js → location-8491r7tk.js} +28 -28
- package/dist/chunks/{app-13c094ja.js → location-86je1vae.js} +22 -22
- package/dist/chunks/{app-241twxbq.js → location-8kfmb256.js} +40 -40
- package/dist/chunks/{app-jbkh0tb7.js → location-8n4wb1gp.js} +18 -18
- package/dist/chunks/{app-ryv3tfwp.js → location-8rzkd790.js} +16 -16
- package/dist/chunks/{app-ftcadk3w.js → location-8wvrh9f5.js} +1 -1
- package/dist/chunks/{app-93a8yfjt.js → location-93a8yfjt.js} +2 -2
- package/dist/chunks/{app-9bqaxr83.js → location-97y5dmbw.js} +11 -11
- package/dist/chunks/{app-9qm9egsn.js → location-9qm9egsn.js} +2 -2
- package/dist/chunks/{app-40scemma.js → location-9te76ggx.js} +22 -22
- package/dist/chunks/{app-5d4cs7v3.js → location-9y5wqfte.js} +10 -10
- package/dist/chunks/{app-n48a5sdv.js → location-a3pcjqte.js} +26 -26
- package/dist/chunks/{app-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{app-n3jkd22a.js → location-ag4rn41e.js} +4 -4
- package/dist/chunks/{app-ajtjthsy.js → location-ajtjthsy.js} +2 -2
- package/dist/chunks/{app-me149q6c.js → location-apnx2qk7.js} +33 -33
- package/dist/chunks/{app-41f161pb.js → location-av2t16y3.js} +16 -16
- package/dist/chunks/{app-t8jjz1g4.js → location-b53d63he.js} +54 -54
- package/dist/chunks/location-b5q5y4vk.js +4 -0
- package/dist/chunks/{app-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{app-b9wsbatv.js → location-b9wsbatv.js} +1 -1
- package/dist/chunks/{app-53nd5drw.js → location-bmr95yyq.js} +6 -6
- package/dist/chunks/{app-67dbm4zp.js → location-bp916t1p.js} +4 -4
- package/dist/chunks/{app-szt7smwk.js → location-bve5bdy4.js} +8 -8
- package/dist/chunks/{app-4x1g6k97.js → location-bwt96rmt.js} +1 -1
- package/dist/chunks/{app-gbanwdp8.js → location-c3w06mmk.js} +26 -26
- package/dist/chunks/{app-sygprj6n.js → location-c77qvs9x.js} +11 -11
- package/dist/chunks/{app-7mjejgxa.js → location-c8z193w6.js} +28 -28
- package/dist/chunks/{app-m08rz2n6.js → location-cezbqba5.js} +6 -6
- package/dist/chunks/{app-v0mw94ex.js → location-d47nst9j.js} +15 -15
- package/dist/chunks/{app-hpr60q3x.js → location-d5hq6bb0.js} +11 -11
- package/dist/chunks/{app-d72308c8.js → location-d72308c8.js} +2 -2
- package/dist/chunks/{app-fg4eb5cw.js → location-dftw4z4t.js} +44 -44
- package/dist/chunks/{app-djtdz80w.js → location-djtdz80w.js} +1 -1
- package/dist/chunks/{app-sr1rc1g2.js → location-dkj4qht8.js} +9 -9
- package/dist/chunks/{app-kbjam7h1.js → location-dnwnzy9r.js} +18 -18
- package/dist/chunks/{app-4prqn7xv.js → location-dqpp7xtx.js} +28 -28
- package/dist/chunks/{app-xq4mkaf1.js → location-dyg53c9h.js} +25 -25
- package/dist/chunks/{app-hjzzbmk8.js → location-eexhp90h.js} +28 -28
- package/dist/chunks/{app-y667m2fe.js → location-ek2fqqy0.js} +21 -21
- package/dist/chunks/{app-11zfvzac.js → location-eqtasyqd.js} +27 -27
- package/dist/chunks/{app-vwg31drc.js → location-ew2tj2vj.js} +3 -3
- package/dist/chunks/{app-9cn7kp7k.js → location-ew6k544p.js} +8 -8
- package/dist/chunks/{app-jp8chewc.js → location-f9anq697.js} +14 -14
- package/dist/chunks/{app-syegws57.js → location-fc48qkc5.js} +10 -10
- package/dist/chunks/{app-x44q8c7y.js → location-fd8bdhp3.js} +15 -15
- package/dist/chunks/{app-9hhn40xk.js → location-fdhdqrxd.js} +4 -4
- package/dist/chunks/{app-h7tdc4p8.js → location-ftbb7tdg.js} +23 -23
- package/dist/chunks/{app-xvksmx2v.js → location-fty3fzgh.js} +24 -24
- package/dist/chunks/{app-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
- package/dist/chunks/{app-fxypknc8.js → location-fxypknc8.js} +1 -1
- package/dist/chunks/{app-b8gzedky.js → location-fy8q56jn.js} +3 -3
- package/dist/chunks/{app-rykst88f.js → location-g21wvy94.js} +12 -12
- package/dist/chunks/{app-fks45ynx.js → location-g376t9v5.js} +90 -90
- package/dist/chunks/{app-hwemkwe8.js → location-g3v2a77t.js} +11 -11
- package/dist/chunks/{app-0n46b46t.js → location-g50541fs.js} +11 -11
- package/dist/chunks/{app-fj1ykrdy.js → location-g6z4jyvm.js} +31 -31
- package/dist/chunks/{app-d216944b.js → location-g8d3gcyj.js} +4 -4
- package/dist/chunks/{app-qrgjqevf.js → location-g92whbrj.js} +13 -13
- package/dist/chunks/{app-mya6twgv.js → location-gd1sbhjk.js} +34 -34
- package/dist/chunks/{app-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{app-z4yv9kjz.js → location-ghajtkjr.js} +33 -33
- package/dist/chunks/{app-txct46nv.js → location-ghsrwkmd.js} +13 -13
- package/dist/chunks/{app-bqarnab4.js → location-gpkgrk3z.js} +2 -2
- package/dist/chunks/{app-8spbxhn4.js → location-gq0p26s4.js} +1 -1
- package/dist/chunks/{app-p9r5yxxa.js → location-gr827txg.js} +4 -4
- package/dist/chunks/{app-wcwcztxs.js → location-h2r6zf7a.js} +15 -15
- package/dist/chunks/{app-tx9pkam9.js → location-h60nam6t.js} +38 -38
- package/dist/chunks/{app-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{app-61a3vjda.js → location-h9gn2f9p.js} +3 -3
- package/dist/chunks/{app-z8ha6r0g.js → location-henbvbzz.js} +10 -10
- package/dist/chunks/{app-heyhwy2w.js → location-heyhwy2w.js} +1 -1
- package/dist/chunks/{app-93yhyjwm.js → location-hfwwmt6p.js} +51 -51
- package/dist/chunks/{app-hrvm11jt.js → location-hrvm11jt.js} +3 -3
- package/dist/chunks/{app-vs3g981p.js → location-hx11aksh.js} +6 -6
- package/dist/chunks/{app-3e147rt9.js → location-j5208yae.js} +8 -8
- package/dist/chunks/{app-8ker6n7f.js → location-j7a4wd22.js} +5 -5
- package/dist/chunks/{app-paphc93g.js → location-j935v87r.js} +2 -2
- package/dist/chunks/{app-6cd6tdvt.js → location-jd00bmkr.js} +6 -6
- package/dist/chunks/{app-je9hks3h.js → location-je9hks3h.js} +2 -2
- package/dist/chunks/{app-17fx0k0q.js → location-jpcaj8m5.js} +18 -18
- package/dist/chunks/{app-kpn3khss.js → location-jtxymww5.js} +9 -9
- package/dist/chunks/{app-qrzxywk7.js → location-jz74dd58.js} +9 -9
- package/dist/chunks/{app-k4bwy1x5.js → location-k4bwy1x5.js} +1 -1
- package/dist/chunks/{app-68pyy3e5.js → location-k9rndcxy.js} +9 -9
- package/dist/chunks/{app-w2gndftq.js → location-kdken766.js} +46 -46
- package/dist/chunks/{app-kg06axw8.js → location-kg06axw8.js} +1 -1
- package/dist/chunks/{app-59cz6q6x.js → location-kg2v5vbd.js} +8 -8
- package/dist/chunks/{app-vhzvdfbz.js → location-kgyry3vk.js} +15 -15
- package/dist/chunks/{app-yfbd16n1.js → location-kk3rr3qh.js} +5 -5
- package/dist/chunks/{app-83rp9aqa.js → location-kpnhzsay.js} +18 -18
- package/dist/chunks/{app-hyzy990m.js → location-kt2yjrhz.js} +6 -6
- package/dist/chunks/{app-t5mvv7b6.js → location-ktkbhg1n.js} +88 -88
- package/dist/chunks/{app-hw4pv20g.js → location-kvsjn1dr.js} +2 -2
- package/dist/chunks/{app-de8cp1fg.js → location-m538xkc9.js} +24 -24
- package/dist/chunks/{app-f1m8ygb3.js → location-m6zh5m6k.js} +11 -11
- package/dist/chunks/{app-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-msw86qcf.js → location-madcmxva.js} +4 -4
- package/dist/chunks/{app-456303rs.js → location-maje4ax4.js} +11 -11
- package/dist/chunks/{app-rw4nkp5j.js → location-me42z315.js} +36 -36
- package/dist/chunks/{app-mjfhjmk5.js → location-mh0wjfxe.js} +26 -26
- package/dist/chunks/{app-vzcgnjed.js → location-mhz8fptg.js} +32 -32
- package/dist/chunks/{app-04nymyew.js → location-mkvjn4ta.js} +32 -32
- package/dist/chunks/location-mrz6efe2.js +22 -0
- package/dist/chunks/{app-828he9z6.js → location-ms52v0md.js} +4 -4
- package/dist/chunks/{app-9x4j1p49.js → location-mswj03b3.js} +22 -22
- package/dist/chunks/{app-p5cx4qq5.js → location-n3fvsc7x.js} +34 -34
- package/dist/chunks/{app-a07sqv0b.js → location-na3y75gh.js} +5 -5
- package/dist/chunks/{app-w9gyfm2s.js → location-nbwyzmjh.js} +25 -25
- package/dist/chunks/{app-nje80wxz.js → location-neh68hxw.js} +5 -5
- package/dist/chunks/{app-g7ekdnc2.js → location-nj2y53n9.js} +17 -17
- package/dist/chunks/{app-sv1sbqd5.js → location-nm29mynh.js} +32 -32
- package/dist/chunks/{app-zx51ac1r.js → location-nphz3sty.js} +5 -5
- package/dist/chunks/{app-5wvgbp96.js → location-nrha7cz6.js} +36 -36
- package/dist/chunks/{app-emtwgvxj.js → location-p04155vs.js} +24 -24
- package/dist/chunks/{app-40tvfwh5.js → location-p0waw8z6.js} +11 -11
- package/dist/chunks/{app-bmj3d0ka.js → location-p6yzb5ay.js} +7 -7
- package/dist/chunks/{app-x28zqaf0.js → location-ph6d59n1.js} +25 -25
- package/dist/chunks/{app-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{app-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{app-q2b1ymqp.js → location-pmr4s4kc.js} +4 -4
- package/dist/chunks/{app-hayfv2b5.js → location-prjd7rz0.js} +169 -169
- package/dist/chunks/{app-rpvck33q.js → location-q11djy6h.js} +32 -32
- package/dist/chunks/{app-smkpzyj7.js → location-qf24q2gc.js} +25 -25
- package/dist/chunks/{app-qgn6gcr1.js → location-qgn6gcr1.js} +1 -1
- package/dist/chunks/{app-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{app-tpqecd3t.js → location-qwnjk9y7.js} +4 -4
- package/dist/chunks/{app-fvh8qddj.js → location-qypgck77.js} +35 -35
- package/dist/chunks/{app-m21fe36q.js → location-qz1nk4mn.js} +7 -7
- package/dist/chunks/{app-0ft9cg2j.js → location-r33ff4dw.js} +6 -6
- package/dist/chunks/{app-gb1rc5sc.js → location-r6mjjjfn.js} +18 -18
- package/dist/chunks/{app-r8dhm0tv.js → location-r8dhm0tv.js} +1 -1
- package/dist/chunks/{app-n95nq84g.js → location-r9hy8h05.js} +5 -5
- package/dist/chunks/{app-rjqxra3c.js → location-rae26gbb.js} +8 -8
- package/dist/chunks/{app-rzwcgm09.js → location-re9ss62v.js} +4 -4
- package/dist/chunks/{app-8e6swdk9.js → location-rh86c5k9.js} +288 -288
- package/dist/chunks/{app-aqz4tv27.js → location-rvfzszgw.js} +23 -23
- package/dist/chunks/{app-wf0xzsvt.js → location-rxwhsv4j.js} +11 -11
- package/dist/chunks/{app-yxqhfdf1.js → location-s97jcm3f.js} +11 -11
- package/dist/chunks/{app-hajgtq0x.js → location-sa86hhh4.js} +34 -34
- package/dist/chunks/{app-sba4qhjf.js → location-sba4qhjf.js} +1 -1
- package/dist/chunks/{app-y7xtxfz5.js → location-sjtc86f5.js} +31 -31
- package/dist/chunks/{app-0taz3mjc.js → location-sjv0717j.js} +18 -18
- package/dist/chunks/{app-h4cwhs5v.js → location-sms1b131.js} +1 -1
- package/dist/chunks/location-sw98rrvn.js +247 -0
- package/dist/chunks/{app-npapp81d.js → location-sx35gfrx.js} +15 -15
- package/dist/chunks/{app-tnjwh1aj.js → location-t54a95zk.js} +17 -17
- package/dist/chunks/{app-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{app-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{app-bca4xk29.js → location-tenhjnm9.js} +15 -15
- package/dist/chunks/{app-nh0kgycx.js → location-th1g352w.js} +24 -24
- package/dist/chunks/{app-yz9reb46.js → location-thcxaxg6.js} +4 -4
- package/dist/chunks/{app-c2v1zyg3.js → location-thpc82ks.js} +6 -6
- package/dist/chunks/{app-tjykrgmx.js → location-tjykrgmx.js} +1 -1
- package/dist/chunks/{app-er5cndkw.js → location-tmxppmmw.js} +62 -62
- package/dist/chunks/{app-8bk2zzjm.js → location-ttxh07c1.js} +11 -11
- package/dist/chunks/{app-84t6g51t.js → location-tv6ed4t8.js} +16 -16
- package/dist/chunks/{app-r0msr716.js → location-tvtwyg9m.js} +4 -4
- package/dist/chunks/{app-fazyzkd8.js → location-v5x978b2.js} +8 -8
- package/dist/chunks/{app-w8xr7nv8.js → location-v6ghzfeb.js} +5 -5
- package/dist/chunks/{app-jg19dd05.js → location-v7n4f447.js} +20 -20
- package/dist/chunks/{app-zk1c1bcq.js → location-vke5y7t4.js} +12 -12
- package/dist/chunks/{app-qq0s42pd.js → location-vqvq0533.js} +9 -9
- package/dist/chunks/{app-dfns4ckt.js → location-vrngk91y.js} +32 -32
- package/dist/chunks/{app-mekcq3pn.js → location-w1bqf0dm.js} +23 -23
- package/dist/chunks/{app-wgyqb6cs.js → location-w1s1ra18.js} +6 -6
- package/dist/chunks/{app-5x14x66m.js → location-w1s907pf.js} +2 -2
- package/dist/chunks/{app-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-tppvcy65.js → location-wb29ggtc.js} +9 -9
- package/dist/chunks/{app-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{app-b2a82tgj.js → location-wksq6qf1.js} +24 -24
- package/dist/chunks/{app-w6s4nrrc.js → location-wvgh3gdf.js} +8 -8
- package/dist/chunks/{app-ssg9qmrn.js → location-wzv8aag1.js} +17 -17
- package/dist/chunks/{app-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{app-fqz8c7f9.js → location-xj1dwba3.js} +29 -29
- package/dist/chunks/{app-1cweq60h.js → location-xk03nspc.js} +23 -23
- package/dist/chunks/{app-4seer4n3.js → location-xnxd0px6.js} +10 -10
- package/dist/chunks/{app-3sd9qt72.js → location-xwm8he1j.js} +13 -13
- package/dist/chunks/{app-wdgvf9wf.js → location-y04krdpn.js} +15 -15
- package/dist/chunks/{app-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{app-ajgsgqyb.js → location-y6apgg1j.js} +1 -1
- package/dist/chunks/{app-dpkg50ah.js → location-y71avatq.js} +4 -4
- package/dist/chunks/location-ydckrtmx.js +18 -0
- package/dist/chunks/{app-b4b7p3j5.js → location-yfnsbj1e.js} +13 -13
- package/dist/chunks/{app-90x1n3bd.js → location-yhe302t1.js} +58 -58
- package/dist/chunks/{app-75yf2d83.js → location-yhr218qz.js} +6 -6
- package/dist/chunks/{app-5904gm87.js → location-yj4j1qeh.js} +18 -18
- package/dist/chunks/{app-wsa4fayw.js → location-yw1nvbcs.js} +5 -5
- package/dist/chunks/{app-acr0vn06.js → location-z05r840e.js} +24 -24
- package/dist/chunks/{app-z1k01bn4.js → location-z1k01bn4.js} +2 -2
- package/dist/chunks/{app-qnfdxy2e.js → location-z3jc06sm.js} +5 -5
- package/dist/chunks/{app-bssf13fr.js → location-zdj4gqfz.js} +31 -31
- package/dist/chunks/{app-2amsxbr2.js → location-zdyy6p88.js} +39 -39
- package/dist/chunks/{app-a52x4gjk.js → location-ztyxqxtg.js} +9 -9
- package/dist/chunks/{app-wthvqgek.js → location-zxkvh7j1.js} +17 -17
- package/dist/chunks/{app-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +114 -114
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +151 -151
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +114 -114
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +114 -114
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +115 -115
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +132 -132
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +110 -110
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +110 -110
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +116 -116
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +358 -358
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +96 -96
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +92 -92
- 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 +7 -7
- 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/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +349 -349
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +86 -86
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +346 -346
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +118 -118
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +10 -10
- package/dist/models-dev.js +74 -74
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +96 -96
- package/dist/plugin/command.js +93 -93
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +79 -79
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +75 -75
- package/dist/plugin/provider/lmstudio.js +114 -114
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +77 -77
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +335 -335
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +121 -121
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +221 -221
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +117 -117
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +145 -145
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +86 -86
- 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 +115 -115
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +118 -118
- package/dist/tool/plugin/shell.js +204 -204
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +72 -72
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +338 -338
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +7 -7
- package/dist/chunks/app-7zk4hah4.js +0 -4
- package/dist/chunks/app-839ymwzf.js +0 -22
- package/dist/chunks/app-bwt7bpgq.js +0 -18
- package/dist/chunks/app-f3cn892e.js +0 -247
- /package/dist/chunks/{app-0fabt78z.js → location-0fabt78z.js} +0 -0
- /package/dist/chunks/{app-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{app-3t738kvx.js → location-3t738kvx.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{app-41nvscxy.js → location-41nvscxy.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{app-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-982e01ww.js → location-982e01ww.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-a1tpkmh4.js → location-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{app-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{app-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{app-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{app-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{app-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-mntxs535.js → location-mntxs535.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-p8qxwesx.js → location-p8qxwesx.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-se0s1eqw.js → location-se0s1eqw.js} +0 -0
- /package/dist/chunks/{app-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-twg0f83k.js → location-twg0f83k.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{app-x1b8g1yb.js → location-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{app-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → location-z9919s4g.js} +0 -0
- /package/dist/chunks/{app-zbjnn3ac.js → location-zbjnn3ac.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-5wca7bce.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-h2r6zf7a.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError3,
|
|
20
|
+
Options: () => Options4,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
22
|
+
Service: () => Service25,
|
|
23
|
+
UnavailableError: () => UnavailableError2,
|
|
24
|
+
configured: () => configured4,
|
|
25
|
+
layer: () => layer10,
|
|
26
|
+
node: () => node29
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,22 +35,22 @@ import { Pty } from "@opencode-ai/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode-ai/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode-ai/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service25 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service25, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service79;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
56
56
|
const runFork = Effect.runForkWith(context);
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service55, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service55, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service55, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service25.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service55, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
262
|
-
deps: [
|
|
258
|
+
var layer10 = makeLayer();
|
|
259
|
+
var configured4 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service25,
|
|
261
|
+
layer: options === undefined ? layer10 : makeLayer(options),
|
|
262
|
+
deps: [node84, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node29 = configured4();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options4, UnavailableError2, NotFoundError3, Service25, layer10, configured4, node29, exports_persistent_pty, Handoff2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command4 = {};
|
|
7
7
|
__export(exports_command4, {
|
|
8
8
|
ConfigCommandV1: () => exports_command4,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info15
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info15 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info11 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info15, exports_command4 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./location-5wca7bce.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event19
|
|
7
|
+
} from "./location-4dqndjrv.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-apnx2qk7.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID16,
|
|
14
14
|
aisdk2,
|
|
15
15
|
mergeOverlay2,
|
|
16
16
|
mergeHeaders2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-bve5bdy4.js";
|
|
18
18
|
|
|
19
19
|
// src/plugin/provider/opencode.ts
|
|
20
20
|
import { Duration, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -44,7 +44,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
44
44
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
45
45
|
function oauth(http) {
|
|
46
46
|
return {
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID14.make("opencode"),
|
|
48
48
|
method: {
|
|
49
49
|
id: methodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -85,7 +85,7 @@ function oauth(http) {
|
|
|
85
85
|
var OpencodePlugin2 = define({
|
|
86
86
|
id: "opencode.provider.opencode",
|
|
87
87
|
effect: Effect.fn(function* (ctx) {
|
|
88
|
-
const bus = yield*
|
|
88
|
+
const bus = yield* Service79;
|
|
89
89
|
const http = yield* HttpClient.HttpClient;
|
|
90
90
|
const loading = Semaphore.makeUnsafe(1);
|
|
91
91
|
let connected = false;
|
|
@@ -112,7 +112,7 @@ var OpencodePlugin2 = define({
|
|
|
112
112
|
catalog.provider.update(providerID, (provider) => {
|
|
113
113
|
if (source && source.provider !== provider)
|
|
114
114
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
115
|
-
provider.integrationID =
|
|
115
|
+
provider.integrationID = ID14.make("opencode");
|
|
116
116
|
if (item.canonical !== undefined)
|
|
117
117
|
provider.canonical = item.canonical;
|
|
118
118
|
if (item.name !== undefined)
|
|
@@ -175,7 +175,7 @@ var OpencodePlugin2 = define({
|
|
|
175
175
|
});
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
-
const item = catalog.provider.get(
|
|
178
|
+
const item = catalog.provider.get(ID16.opencode);
|
|
179
179
|
if (!item)
|
|
180
180
|
return;
|
|
181
181
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || connected || item.provider.settings?.apiKey);
|
|
@@ -196,7 +196,7 @@ var OpencodePlugin2 = define({
|
|
|
196
196
|
}
|
|
197
197
|
});
|
|
198
198
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
199
|
-
yield* bus.subscribe(
|
|
199
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
202
|
function fetchProviders(http, value) {
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-5wca7bce.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service68,
|
|
7
|
+
node73
|
|
8
|
+
} from "./location-5ktyes22.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID3
|
|
11
|
+
} from "./location-b5q5y4vk.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service66,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node71
|
|
16
|
+
} from "./location-h2r6zf7a.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
|
-
CreateInput: () =>
|
|
28
|
-
Event: () =>
|
|
27
|
+
CreateInput: () => CreateInput3,
|
|
28
|
+
Event: () => Event6,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
30
|
+
Info: () => Info5,
|
|
31
31
|
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service20,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node24
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode-ai/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event6 } from "@opencode-ai/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
45
|
-
var
|
|
44
|
+
var Info5 = Pty.Info;
|
|
45
|
+
var CreateInput3 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
48
|
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
-
ptyID:
|
|
49
|
+
ptyID: ID3
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID3
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service20 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
61
|
-
const bus = yield*
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
60
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
61
|
+
const bus = yield* Service79;
|
|
62
|
+
const location = yield* Service68;
|
|
63
|
+
const shell = yield* Service66;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID3.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service20.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node24 = makeLocationNode({
|
|
274
|
+
service: Service20,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [
|
|
276
|
+
deps: [node84, node73, node71]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info5, CreateInput3, UpdateInput2, NotFoundError2, ExitedError2, Service20, node24, exports_pty, Event6 };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-5wca7bce.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service70,
|
|
7
|
+
node75
|
|
8
|
+
} from "./location-9y5wqfte.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service68,
|
|
11
|
+
node73
|
|
12
|
+
} from "./location-5ktyes22.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-ydckrtmx.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service59,
|
|
18
|
+
node63
|
|
19
|
+
} from "./location-mswj03b3.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node20
|
|
22
|
+
} from "./location-9te76ggx.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service9,
|
|
25
|
+
node12
|
|
26
|
+
} from "./location-637qq8n2.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
33
33
|
__export(exports_location_watcher, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service3,
|
|
36
|
+
node: () => node5
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode-ai/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service3 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
48
|
-
const bus = yield*
|
|
45
|
+
var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service68;
|
|
47
|
+
const watcher = yield* Service59;
|
|
48
|
+
const bus = yield* Service79;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service70;
|
|
51
|
+
const policy = yield* Service9;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service3.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node5 = makeLocationNode({
|
|
106
|
+
service: Service3,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node63, FSUtil.node, node73, node75, node84, node20, node12]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service3, node5, exports_location_watcher };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service62,
|
|
6
|
+
node66
|
|
7
|
+
} from "./location-p04155vs.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service22,
|
|
17
|
+
node: () => node26,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode-ai/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service22 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service62;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service22.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node26 = makeLocationNode({ service: Service22, layer, deps: [node66] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service22, readText2, syncTextBom2, node26, exports_file_mutation };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-p8qxwesx.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-1nk2mnc0.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-s97jcm3f.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID16
|
|
6
|
+
} from "./location-bve5bdy4.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/gitlab.ts
|
|
9
9
|
import os from "os";
|
|
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
|
|
|
33
33
|
});
|
|
34
34
|
}));
|
|
35
35
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
36
|
-
if (evt.model.providerID !==
|
|
36
|
+
if (evt.model.providerID !== ID16.gitlab)
|
|
37
37
|
return;
|
|
38
38
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
39
39
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options9,
|
|
15
|
+
Service: () => Service66,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured10,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node71,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options9 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service66 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,15 +199,15 @@ var layer = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service66.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin))
|
|
206
206
|
});
|
|
207
207
|
}));
|
|
208
|
-
function
|
|
209
|
-
return makeLocationNode({ service:
|
|
208
|
+
function configured10(options) {
|
|
209
|
+
return makeLocationNode({ service: Service66, layer: layer(options), deps: [Global.node] });
|
|
210
210
|
}
|
|
211
|
-
var
|
|
211
|
+
var node71 = configured10();
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Options9, Service66, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured10, node71, exports_select };
|