@opencode-ai/core 0.0.0-dev-19178 → 0.0.0-dev-19181
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 +79 -79
- 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/{kv-erz98jwc.js → app-04nymyew.js} +26 -26
- package/dist/chunks/{kv-0e0xafbb.js → app-0e0xafbb.js} +2 -2
- package/dist/chunks/{kv-rp8jz6x1.js → app-0ft9cg2j.js} +4 -4
- package/dist/chunks/{kv-t1bhb1bg.js → app-0n46b46t.js} +11 -11
- package/dist/chunks/{kv-0paq2nw3.js → app-0paq2nw3.js} +1 -1
- package/dist/chunks/{kv-0s9ayhjt.js → app-0s9ayhjt.js} +1 -1
- package/dist/chunks/{kv-8fgv5w73.js → app-0taz3mjc.js} +18 -18
- package/dist/chunks/{kv-k6fnztft.js → app-10gpzbj0.js} +2 -2
- package/dist/chunks/{kv-ephmsh67.js → app-11zfvzac.js} +24 -24
- package/dist/chunks/{kv-g54w6h1q.js → app-13c094ja.js} +22 -22
- package/dist/chunks/{kv-0drwrr20.js → app-17fx0k0q.js} +18 -18
- package/dist/chunks/{kv-1ct4r87x.js → app-1ct4r87x.js} +1 -1
- package/dist/chunks/{kv-31fmz1fp.js → app-1cweq60h.js} +20 -20
- package/dist/chunks/{kv-0kj443hm.js → app-1k4ws4ty.js} +5 -5
- package/dist/chunks/{kv-21r38tys.js → app-21r38tys.js} +1 -1
- package/dist/chunks/{kv-7a2871xe.js → app-22ytshyy.js} +4 -4
- package/dist/chunks/{kv-fzf7e7x1.js → app-241twxbq.js} +43 -43
- package/dist/chunks/{kv-2a5m3afh.js → app-2a5m3afh.js} +1 -1
- package/dist/chunks/{kv-zgne66ps.js → app-2amsxbr2.js} +43 -43
- package/dist/chunks/{kv-2ht70gj7.js → app-2ht70gj7.js} +1 -1
- package/dist/chunks/{kv-hv4p2p21.js → app-2vremtg6.js} +24 -24
- package/dist/chunks/{kv-7n2xhmm7.js → app-3e147rt9.js} +9 -9
- package/dist/chunks/{kv-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-3qzbfqsy.js → app-3qzbfqsy.js} +2 -2
- package/dist/chunks/{kv-m4p2ftrf.js → app-3sd9qt72.js} +13 -13
- package/dist/chunks/{kv-3smtnn6g.js → app-3smtnn6g.js} +1 -1
- package/dist/chunks/{kv-3tvqynh2.js → app-3tvqynh2.js} +1 -1
- package/dist/chunks/{kv-gfvkvwrv.js → app-3vpahets.js} +28 -28
- package/dist/chunks/{kv-5gqcqfwy.js → app-40scemma.js} +22 -22
- package/dist/chunks/{kv-9epfrg2r.js → app-40tvfwh5.js} +8 -8
- package/dist/chunks/{kv-qnbahbj0.js → app-41f161pb.js} +14 -14
- package/dist/chunks/{kv-hjrjbgez.js → app-41mncz27.js} +5 -5
- package/dist/chunks/{kv-454k5vzh.js → app-454k5vzh.js} +1 -1
- package/dist/chunks/{kv-b2nzchm7.js → app-456303rs.js} +11 -11
- package/dist/chunks/{kv-rk9sw2av.js → app-456nf4bc.js} +8 -8
- package/dist/chunks/{kv-zqg3qsz2.js → app-4b1mthq9.js} +4 -4
- package/dist/chunks/{kv-sb910js5.js → app-4f62ejdk.js} +20 -20
- package/dist/chunks/{kv-dcspmnv1.js → app-4prqn7xv.js} +25 -25
- package/dist/chunks/{kv-4r2nyarf.js → app-4r2nyarf.js} +1 -1
- package/dist/chunks/{kv-kwvtfp1b.js → app-4seer4n3.js} +10 -10
- package/dist/chunks/{kv-mcxg6pmm.js → app-4x1g6k97.js} +1 -1
- package/dist/chunks/{kv-2v1h19tk.js → app-53nd5drw.js} +6 -6
- package/dist/chunks/{kv-mqyp5gdj.js → app-5904gm87.js} +20 -20
- package/dist/chunks/{kv-fv8a344a.js → app-59cz6q6x.js} +8 -8
- package/dist/chunks/{kv-9kbmc1bn.js → app-5d4cs7v3.js} +10 -10
- package/dist/chunks/{kv-5daktx2q.js → app-5daktx2q.js} +1 -1
- package/dist/chunks/{kv-5fmxt4p5.js → app-5fmxt4p5.js} +1 -1
- package/dist/chunks/{kv-5jvc5tg2.js → app-5jvc5tg2.js} +1 -1
- package/dist/chunks/{kv-w60ndp2z.js → app-5wvgbp96.js} +29 -29
- package/dist/chunks/{kv-y6nt3k22.js → app-5x14x66m.js} +2 -2
- package/dist/chunks/{kv-14hmenm3.js → app-61a3vjda.js} +3 -3
- package/dist/chunks/{kv-ph38rbv1.js → app-67dbm4zp.js} +8 -8
- package/dist/chunks/{kv-0pz84dxy.js → app-68pyy3e5.js} +9 -9
- package/dist/chunks/{kv-6enr500s.js → app-6cd6tdvt.js} +6 -6
- package/dist/chunks/{kv-5wnbjqvg.js → app-6g1q2hdd.js} +17 -17
- package/dist/chunks/{kv-2402vzrj.js → app-6h73sxmp.js} +5 -5
- package/dist/chunks/{kv-mwvt73nw.js → app-6n7vs3qv.js} +47 -47
- package/dist/chunks/{kv-jm1tdwje.js → app-6rgwnj84.js} +13 -13
- package/dist/chunks/{kv-711hfp6y.js → app-711hfp6y.js} +2 -2
- package/dist/chunks/{kv-72nftnjy.js → app-72nftnjy.js} +2 -2
- package/dist/chunks/{kv-7hmj7g9f.js → app-72xb1avz.js} +17 -17
- package/dist/chunks/{kv-r5x6zcsm.js → app-73tb2d7t.js} +3 -3
- package/dist/chunks/{kv-6e958v7x.js → app-75yf2d83.js} +8 -8
- package/dist/chunks/{kv-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{kv-7cnkxtbd.js → app-7cnkxtbd.js} +2 -2
- package/dist/chunks/{kv-mqds9z8y.js → app-7mjejgxa.js} +28 -28
- package/dist/chunks/{kv-aj9ffb68.js → app-7myzn9fy.js} +10 -10
- package/dist/chunks/app-7zk4hah4.js +4 -0
- package/dist/chunks/{kv-yydg8tay.js → app-828he9z6.js} +52 -36
- package/dist/chunks/app-839ymwzf.js +22 -0
- package/dist/chunks/{kv-xyvw3pp2.js → app-83rp9aqa.js} +17 -17
- package/dist/chunks/{kv-pk502bdp.js → app-84t6g51t.js} +16 -16
- package/dist/chunks/{kv-3rdd7m9r.js → app-88rt85wd.js} +25 -25
- package/dist/chunks/{kv-jq2whtdt.js → app-8bk2zzjm.js} +11 -11
- package/dist/chunks/{kv-rkjw441a.js → app-8e6swdk9.js} +287 -287
- package/dist/chunks/{kv-g41n1fn3.js → app-8ker6n7f.js} +5 -5
- package/dist/chunks/{kv-5k3f87xj.js → app-8spbxhn4.js} +1 -1
- package/dist/chunks/{kv-qqz1053v.js → app-90x1n3bd.js} +64 -64
- package/dist/chunks/{kv-93a8yfjt.js → app-93a8yfjt.js} +2 -2
- package/dist/chunks/{kv-s4ss2bw5.js → app-93yhyjwm.js} +51 -51
- package/dist/chunks/{kv-9q10gh9c.js → app-9bqaxr83.js} +14 -14
- package/dist/chunks/{kv-xn9aqqx6.js → app-9brvgznv.js} +10 -10
- package/dist/chunks/{kv-d09b090m.js → app-9cn7kp7k.js} +8 -8
- package/dist/chunks/{kv-d4cb5k3p.js → app-9f52v7jd.js} +8 -8
- package/dist/chunks/{kv-6nmsy562.js → app-9hhn40xk.js} +4 -4
- package/dist/chunks/{kv-w75j66fn.js → app-9nv1rt96.js} +9 -9
- package/dist/chunks/{kv-9qm9egsn.js → app-9qm9egsn.js} +2 -2
- package/dist/chunks/{kv-n6a7rk8g.js → app-9x4j1p49.js} +22 -22
- package/dist/chunks/{kv-3g2y1byn.js → app-a07sqv0b.js} +5 -5
- package/dist/chunks/{kv-afs1gfwh.js → app-a52x4gjk.js} +9 -9
- package/dist/chunks/{kv-aaet6srn.js → app-aaet6srn.js} +2 -2
- package/dist/chunks/{kv-djkavt39.js → app-acr0vn06.js} +24 -24
- package/dist/chunks/{kv-e5b0qn1c.js → app-ajgsgqyb.js} +1 -1
- package/dist/chunks/{kv-ajtjthsy.js → app-ajtjthsy.js} +2 -2
- package/dist/chunks/{kv-r0keqwvg.js → app-aqz4tv27.js} +23 -23
- package/dist/chunks/{kv-mfe1qetb.js → app-arbehxbm.js} +16 -16
- package/dist/chunks/{kv-h5rg6ge7.js → app-b2a82tgj.js} +32 -32
- package/dist/chunks/{kv-68dvzq1z.js → app-b3hfsjpn.js} +8 -8
- package/dist/chunks/{kv-ffs8r943.js → app-b4b7p3j5.js} +13 -13
- package/dist/chunks/{kv-b6gygkdw.js → app-b6gygkdw.js} +2 -2
- package/dist/chunks/{kv-y18qbtn0.js → app-b8gzedky.js} +3 -3
- package/dist/chunks/{kv-b9wsbatv.js → app-b9wsbatv.js} +1 -1
- package/dist/chunks/{kv-2bac7mmh.js → app-bca4xk29.js} +13 -13
- package/dist/chunks/{kv-m60hmjpw.js → app-bmj3d0ka.js} +10 -10
- package/dist/chunks/{kv-238pagf0.js → app-bqarnab4.js} +2 -2
- package/dist/chunks/{kv-xczcj508.js → app-bssf13fr.js} +29 -29
- package/dist/chunks/app-bwt7bpgq.js +18 -0
- package/dist/chunks/{kv-xxzj7qcx.js → app-c2v1zyg3.js} +6 -6
- package/dist/chunks/{kv-q77zht3w.js → app-cc55107n.js} +4 -4
- package/dist/chunks/{kv-kf8thf07.js → app-cz8be0q1.js} +20 -20
- package/dist/chunks/{kv-6hh8tjw2.js → app-d216944b.js} +7 -7
- package/dist/chunks/{kv-d72308c8.js → app-d72308c8.js} +2 -2
- package/dist/chunks/{kv-wfvjw4z7.js → app-de8cp1fg.js} +21 -21
- package/dist/chunks/{kv-676wedsd.js → app-dfcf8dsh.js} +19 -19
- package/dist/chunks/{kv-qcz5xzee.js → app-dfns4ckt.js} +29 -29
- package/dist/chunks/{kv-ayqzvvm1.js → app-dhzp65aq.js} +5 -5
- package/dist/chunks/{kv-vep9yay1.js → app-djtdz80w.js} +4 -4
- package/dist/chunks/{kv-y71avatq.js → app-dpkg50ah.js} +4 -4
- package/dist/chunks/{kv-s3eqpch7.js → app-dpqq4n8f.js} +1 -1
- package/dist/chunks/{kv-nr9x74c1.js → app-emtwgvxj.js} +24 -24
- package/dist/chunks/{kv-jhf9a7kk.js → app-er5cndkw.js} +63 -63
- package/dist/chunks/{kv-16yc1m91.js → app-f1m8ygb3.js} +11 -11
- package/dist/chunks/app-f3cn892e.js +247 -0
- package/dist/chunks/{kv-12fnx30g.js → app-fazyzkd8.js} +8 -8
- package/dist/chunks/{kv-syq477mx.js → app-fg4eb5cw.js} +45 -45
- package/dist/chunks/{kv-zess5s1n.js → app-fj1ykrdy.js} +31 -31
- package/dist/chunks/{kv-v4bdvzd3.js → app-fks45ynx.js} +88 -88
- package/dist/chunks/{kv-4ga6yzkg.js → app-fqz8c7f9.js} +29 -29
- package/dist/chunks/{kv-s2px886z.js → app-ftcadk3w.js} +1 -1
- package/dist/chunks/{kv-rynqx63d.js → app-fvh8qddj.js} +32 -32
- package/dist/chunks/{kv-t6srx486.js → app-fvn82d8v.js} +7 -7
- package/dist/chunks/{kv-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
- package/dist/chunks/{kv-fxypknc8.js → app-fxypknc8.js} +1 -1
- package/dist/chunks/{kv-bv80vwep.js → app-g0h3g2y6.js} +19 -19
- package/dist/chunks/{kv-6gz15wwc.js → app-g11w9hv4.js} +30 -30
- package/dist/chunks/{kv-qhwr7wtz.js → app-g4fah38e.js} +13 -13
- package/dist/chunks/{kv-baw8dctm.js → app-g7ekdnc2.js} +17 -17
- package/dist/chunks/{kv-twy610cz.js → app-gb1rc5sc.js} +18 -18
- package/dist/chunks/{kv-tgaxz472.js → app-gbanwdp8.js} +28 -28
- package/dist/chunks/{kv-ykk6pqwd.js → app-gbqbc70j.js} +23 -23
- package/dist/chunks/{kv-5ggkvp9f.js → app-gcqp0jtf.js} +9 -9
- package/dist/chunks/{kv-gd4qta3r.js → app-gd4qta3r.js} +1 -1
- package/dist/chunks/{kv-3fc6dm20.js → app-gdvy8fx6.js} +4 -4
- package/dist/chunks/{kv-xqsy6kp0.js → app-h4cwhs5v.js} +1 -1
- package/dist/chunks/{kv-h6vf3j39.js → app-h6vf3j39.js} +1 -1
- package/dist/chunks/{kv-599cnyq5.js → app-h7tdc4p8.js} +27 -27
- package/dist/chunks/{kv-gcn4jvqh.js → app-hajgtq0x.js} +46 -46
- package/dist/chunks/{kv-7c21gvyv.js → app-hayfv2b5.js} +169 -169
- package/dist/chunks/{kv-heyhwy2w.js → app-heyhwy2w.js} +1 -1
- package/dist/chunks/{kv-e10cy4w0.js → app-hjzzbmk8.js} +31 -31
- package/dist/chunks/{kv-mdnhxyz2.js → app-hpr60q3x.js} +14 -14
- package/dist/chunks/{kv-hrvm11jt.js → app-hrvm11jt.js} +3 -3
- package/dist/chunks/{kv-kvsjn1dr.js → app-hw4pv20g.js} +2 -2
- package/dist/chunks/{kv-k8x9vhm8.js → app-hwemkwe8.js} +11 -11
- package/dist/chunks/{kv-5pdq8qgg.js → app-hyzy990m.js} +6 -6
- package/dist/chunks/{kv-hzecryb5.js → app-jbkh0tb7.js} +18 -18
- package/dist/chunks/{kv-rvhss2m2.js → app-jcyemy94.js} +4 -4
- package/dist/chunks/{kv-r5s1f9ds.js → app-je9hks3h.js} +5 -5
- package/dist/chunks/{kv-yms21qcc.js → app-jg19dd05.js} +20 -20
- package/dist/chunks/{kv-3wfq9j39.js → app-jp8chewc.js} +14 -14
- package/dist/chunks/{kv-k4bwy1x5.js → app-k4bwy1x5.js} +1 -1
- package/dist/chunks/{kv-x3stwmqx.js → app-k4zvwy7w.js} +25 -25
- package/dist/chunks/{kv-k7dwhv72.js → app-kbjam7h1.js} +20 -20
- package/dist/chunks/{kv-mxs1xwvp.js → app-kbznjata.js} +2 -2
- package/dist/chunks/{kv-kg06axw8.js → app-kg06axw8.js} +1 -1
- package/dist/chunks/{kv-868x4neb.js → app-kpn3khss.js} +9 -9
- package/dist/chunks/{kv-h625df0a.js → app-kzcd834w.js} +12 -12
- package/dist/chunks/{kv-65yprxq5.js → app-m08rz2n6.js} +6 -6
- package/dist/chunks/{kv-zjvrjqxt.js → app-m21fe36q.js} +7 -7
- package/dist/chunks/{kv-qfja8fnv.js → app-m5w7j81k.js} +7 -7
- package/dist/chunks/{kv-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-z3qt4vrk.js → app-me149q6c.js} +32 -32
- package/dist/chunks/{kv-xf5bdvwx.js → app-mekcq3pn.js} +23 -23
- package/dist/chunks/{kv-5g0p4mxq.js → app-mjfhjmk5.js} +26 -26
- package/dist/chunks/{kv-fhgm40mk.js → app-msw86qcf.js} +4 -4
- package/dist/chunks/{kv-6xz6dfh8.js → app-mya6twgv.js} +34 -34
- package/dist/chunks/{kv-cxmh4q5b.js → app-n3jkd22a.js} +4 -4
- package/dist/chunks/{kv-2stffz79.js → app-n48a5sdv.js} +20 -20
- package/dist/chunks/{kv-m3fm0fm8.js → app-n95nq84g.js} +5 -5
- package/dist/chunks/{kv-tq1jg9v7.js → app-ndjv4j8j.js} +10 -10
- package/dist/chunks/{kv-pa8bv90n.js → app-nh0kgycx.js} +22 -22
- package/dist/chunks/{kv-pv5nzn32.js → app-nje80wxz.js} +10 -10
- package/dist/chunks/{kv-bvz5j511.js → app-npapp81d.js} +15 -15
- package/dist/chunks/{kv-57w39xht.js → app-nqk9406z.js} +5 -5
- package/dist/chunks/{kv-p425gb1k.js → app-nygk0pkd.js} +10 -10
- package/dist/chunks/{kv-hw73h5pz.js → app-p5cx4qq5.js} +37 -37
- package/dist/chunks/{kv-xqkm9ax4.js → app-p9r5yxxa.js} +4 -4
- package/dist/chunks/{kv-j935v87r.js → app-paphc93g.js} +2 -2
- package/dist/chunks/{kv-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
- package/dist/chunks/{kv-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{kv-fz1pdqz4.js → app-pt34y05q.js} +9 -9
- package/dist/chunks/{kv-b1cc60s2.js → app-pvsq6e0y.js} +32 -32
- package/dist/chunks/{kv-an7cqtb7.js → app-q2b1ymqp.js} +4 -4
- package/dist/chunks/{kv-vxz8nws8.js → app-qev88vwh.js} +9 -9
- package/dist/chunks/{kv-qgn6gcr1.js → app-qgn6gcr1.js} +1 -1
- package/dist/chunks/{kv-zn2pq4p8.js → app-qnfdxy2e.js} +5 -5
- package/dist/chunks/{kv-wgfc0hft.js → app-qq0s42pd.js} +9 -9
- package/dist/chunks/{kv-n7731ngr.js → app-qrgjqevf.js} +13 -13
- package/dist/chunks/{kv-14mbnhb1.js → app-qrzxywk7.js} +9 -9
- package/dist/chunks/{kv-qsdy395h.js → app-qsdy395h.js} +1 -1
- package/dist/chunks/{kv-py42k196.js → app-r0msr716.js} +4 -4
- package/dist/chunks/{kv-r8dhm0tv.js → app-r8dhm0tv.js} +1 -1
- package/dist/chunks/{kv-3gfsa2we.js → app-raf8wtnx.js} +20 -20
- package/dist/chunks/{kv-bw6y50md.js → app-rjqxra3c.js} +8 -8
- package/dist/chunks/{kv-gj8036k9.js → app-rpvck33q.js} +32 -32
- package/dist/chunks/{kv-kw3wy51s.js → app-rw4nkp5j.js} +33 -33
- package/dist/chunks/{kv-cq9zegd4.js → app-rxbdfnq0.js} +3 -3
- package/dist/chunks/{kv-npzt3p1j.js → app-rykst88f.js} +12 -12
- package/dist/chunks/{kv-v2aawvfd.js → app-ryv3tfwp.js} +16 -16
- package/dist/chunks/{kv-n38qs1ar.js → app-rz31k017.js} +9 -9
- package/dist/chunks/{kv-wgxn7ww3.js → app-rzwcgm09.js} +4 -4
- package/dist/chunks/{kv-pwb001t0.js → app-s8w5cjx7.js} +32 -32
- package/dist/chunks/{kv-sba4qhjf.js → app-sba4qhjf.js} +1 -1
- package/dist/chunks/{kv-86s3977f.js → app-sc524drs.js} +1 -1
- package/dist/chunks/{kv-p198ap2v.js → app-sj5n3trc.js} +35 -35
- package/dist/chunks/{kv-tj8gy5c5.js → app-smkpzyj7.js} +25 -25
- package/dist/chunks/{kv-4qf6hhyh.js → app-sr1rc1g2.js} +9 -9
- package/dist/chunks/{kv-f1kgb3zy.js → app-ssg9qmrn.js} +17 -17
- package/dist/chunks/{kv-h73jd86c.js → app-sv1sbqd5.js} +24 -24
- package/dist/chunks/{kv-nkkerv85.js → app-syegws57.js} +10 -10
- package/dist/chunks/{kv-js3p9a9k.js → app-sygprj6n.js} +11 -11
- package/dist/chunks/{kv-4z6b0fg6.js → app-szt7smwk.js} +8 -8
- package/dist/chunks/{kv-xez3q0qn.js → app-t5mvv7b6.js} +93 -93
- package/dist/chunks/{kv-rfjq507z.js → app-t8jjz1g4.js} +51 -51
- package/dist/chunks/{kv-tazgh4e4.js → app-tazgh4e4.js} +1 -1
- package/dist/chunks/{kv-89znhe33.js → app-tcezcvh9.js} +4 -4
- package/dist/chunks/{kv-qnb0t8zm.js → app-teq0593w.js} +62 -62
- package/dist/chunks/{kv-tjykrgmx.js → app-tjykrgmx.js} +1 -1
- package/dist/chunks/{kv-rz1r1rv7.js → app-tnjwh1aj.js} +17 -17
- package/dist/chunks/{kv-5y6pdc3x.js → app-tppvcy65.js} +9 -9
- package/dist/chunks/{kv-1r3zydfx.js → app-tpqecd3t.js} +4 -4
- package/dist/chunks/{kv-fs7t3exj.js → app-trnhxq5y.js} +9 -9
- package/dist/chunks/{kv-dmqmcw2r.js → app-tx9pkam9.js} +29 -29
- package/dist/chunks/{kv-qxsy5p3f.js → app-txct46nv.js} +13 -13
- package/dist/chunks/{kv-e2jdrf4x.js → app-v0mw94ex.js} +19 -19
- package/dist/chunks/{kv-mav5hcv8.js → app-vhzvdfbz.js} +15 -15
- package/dist/chunks/{kv-p66fc0fz.js → app-vs3g981p.js} +9 -9
- package/dist/chunks/{kv-1mg2yz7f.js → app-vwg31drc.js} +3 -3
- package/dist/chunks/{kv-jg1zcjqp.js → app-vzcgnjed.js} +34 -34
- package/dist/chunks/{kv-7r35fj82.js → app-w2gndftq.js} +46 -46
- package/dist/chunks/{kv-6abnk40k.js → app-w3jym6ha.js} +6 -6
- package/dist/chunks/{kv-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-yhh6951v.js → app-w6s4nrrc.js} +8 -8
- package/dist/chunks/{kv-69pzhmr6.js → app-w7z32673.js} +31 -31
- package/dist/chunks/{kv-xw8eq9f1.js → app-w8xr7nv8.js} +5 -5
- package/dist/chunks/{kv-vq25wjhh.js → app-w9gyfm2s.js} +25 -25
- package/dist/chunks/{kv-wrvstr67.js → app-wcwcztxs.js} +13 -13
- package/dist/chunks/{kv-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{kv-496a646b.js → app-wdgvf9wf.js} +15 -15
- package/dist/chunks/{kv-3z7ymfy8.js → app-wf0xzsvt.js} +11 -11
- package/dist/chunks/{kv-sv33epe9.js → app-wgyqb6cs.js} +6 -6
- package/dist/chunks/{kv-4rsfp5k5.js → app-wsa4fayw.js} +5 -5
- package/dist/chunks/{kv-ry7mz5fv.js → app-wthvqgek.js} +17 -17
- package/dist/chunks/{kv-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
- package/dist/chunks/{kv-wawr59mw.js → app-x28zqaf0.js} +25 -25
- package/dist/chunks/{kv-h1f297k2.js → app-x44q8c7y.js} +15 -15
- package/dist/chunks/{kv-ts23zk9x.js → app-xq4mkaf1.js} +25 -25
- package/dist/chunks/{kv-mn48t6tr.js → app-xspqbexe.js} +19 -19
- package/dist/chunks/{kv-z89789qm.js → app-xvksmx2v.js} +22 -22
- package/dist/chunks/{kv-wkz0j4q5.js → app-xvx5ymr3.js} +16 -16
- package/dist/chunks/{kv-p88s56y3.js → app-y18mx0w9.js} +30 -30
- package/dist/chunks/{kv-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
- package/dist/chunks/{kv-db49mgn0.js → app-y667m2fe.js} +21 -21
- package/dist/chunks/{kv-hhxcwp9f.js → app-y7xtxfz5.js} +31 -31
- package/dist/chunks/{kv-yfbd16n1.js → app-yfbd16n1.js} +2 -2
- package/dist/chunks/{kv-v1ggvvtw.js → app-yq9z8ydh.js} +39 -39
- package/dist/chunks/{kv-vy051p0e.js → app-yxqhfdf1.js} +11 -11
- package/dist/chunks/{kv-ykcesz1b.js → app-yz9reb46.js} +4 -4
- package/dist/chunks/{kv-z1k01bn4.js → app-z1k01bn4.js} +2 -2
- package/dist/chunks/{kv-dctx0khx.js → app-z4yv9kjz.js} +25 -25
- package/dist/chunks/{kv-29x78va6.js → app-z63w68vq.js} +6 -6
- package/dist/chunks/{kv-jy629emf.js → app-z8ha6r0g.js} +10 -10
- package/dist/chunks/{kv-kd8v050h.js → app-zk1c1bcq.js} +12 -12
- package/dist/chunks/{kv-605y5xjw.js → app-zm0v3se3.js} +13 -13
- package/dist/chunks/{kv-07pjb4yj.js → app-zx51ac1r.js} +11 -11
- package/dist/chunks/{kv-zxq2ej10.js → app-zxq2ej10.js} +1 -1
- package/dist/chunks/{kv-dhqg8tcb.js → app-zy9sz0a1.js} +9 -9
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +79 -79
- 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 +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- 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 +117 -117
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- 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 +114 -114
- 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 +214 -214
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +100 -100
- 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 +2 -2
- 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 +5 -5
- 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 +100 -100
- package/dist/mcp/instructions.js +120 -120
- 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 +80 -80
- 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 +111 -111
- 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 +21 -0
- 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 +116 -116
- 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 +74 -74
- 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 +2 -2
- 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 +84 -84
- package/dist/reference.js +84 -84
- 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 +123 -123
- 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 +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +7 -7
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- 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 +4 -4
- 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 +167 -167
- 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 +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +7 -7
- 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 +211 -211
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +102 -102
- package/dist/snapshot.js +84 -84
- 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 +117 -117
- package/dist/tool/plugin/edit.js +110 -110
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +115 -115
- package/dist/tool/plugin/grep.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +112 -112
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +103 -103
- package/dist/tool/plugin/subagent.js +206 -206
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +114 -114
- 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/types/plugin/{system-prompt.d.ts → optimize.d.ts} +4 -2
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- 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 +4 -4
- 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 +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- 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 +85 -85
- package/package.json +7 -7
- package/dist/chunks/kv-dh0q6p2e.js +0 -247
- package/dist/chunks/kv-mq1xgkyh.js +0 -22
- package/dist/chunks/kv-n6k242f4.js +0 -18
- package/dist/chunks/kv-w3vb4krt.js +0 -4
- package/dist/plugin/system-prompt.js +0 -17
- /package/dist/chunks/{kv-0fabt78z.js → app-0fabt78z.js} +0 -0
- /package/dist/chunks/{kv-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2axfhc9x.js → app-2axfhc9x.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{kv-3t738kvx.js → app-3t738kvx.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{kv-41nvscxy.js → app-41nvscxy.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-982e01ww.js → app-982e01ww.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-a1tpkmh4.js → app-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{kv-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{kv-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{kv-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{kv-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{kv-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-mntxs535.js → app-mntxs535.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-p8qxwesx.js → app-p8qxwesx.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-se0s1eqw.js → app-se0s1eqw.js} +0 -0
- /package/dist/chunks/{kv-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-twg0f83k.js → app-twg0f83k.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{kv-x1b8g1yb.js → app-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{kv-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8cydn3q.js → app-y8cydn3q.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → app-z9919s4g.js} +0 -0
- /package/dist/chunks/{kv-zbjnn3ac.js → app-zbjnn3ac.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Service76,
|
|
3
|
-
node81
|
|
4
|
-
} from "./kv-mfe1qetb.js";
|
|
5
|
-
import {
|
|
6
|
-
Event20,
|
|
7
2
|
Service75,
|
|
8
3
|
node80
|
|
9
|
-
} from "./
|
|
4
|
+
} from "./app-arbehxbm.js";
|
|
5
|
+
import {
|
|
6
|
+
Event16,
|
|
7
|
+
Service62,
|
|
8
|
+
node65
|
|
9
|
+
} from "./app-sj5n3trc.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service44,
|
|
12
|
+
node47
|
|
13
|
+
} from "./app-9x4j1p49.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./app-p8qxwesx.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service73,
|
|
19
|
+
node78
|
|
20
|
+
} from "./app-6g1q2hdd.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./app-hw4pv20g.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./app-2vremtg6.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./app-nje80wxz.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./app-0s9ayhjt.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service45,
|
|
36
|
+
Event8,
|
|
37
|
+
node48
|
|
38
|
+
} from "./app-y667m2fe.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./app-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options5,
|
|
48
|
+
Service: () => Service43,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured5,
|
|
51
51
|
latest: () => latest2,
|
|
52
52
|
layer: () => layer19,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node46,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -71,14 +71,14 @@ import { Global } from "@opencode-ai/util/global";
|
|
|
71
71
|
function latest2(entries, key) {
|
|
72
72
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
73
73
|
}
|
|
74
|
-
var
|
|
74
|
+
var Options5 = Schema.Struct({
|
|
75
75
|
project: Schema.optional(Schema.Boolean),
|
|
76
76
|
global: Schema.optional(Schema.Boolean),
|
|
77
77
|
file: Schema.optional(Schema.String),
|
|
78
78
|
content: Schema.optional(Schema.String)
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service43 extends Context.Service()("@opencode/Config") {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -92,15 +92,15 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
|
|
|
92
92
|
setEntries: (next) => Ref.set(entries, next),
|
|
93
93
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
94
94
|
});
|
|
95
|
-
return Context.empty().pipe(Context.add(
|
|
95
|
+
return Context.empty().pipe(Context.add(Service43, service), Context.add(Test2, service));
|
|
96
96
|
}));
|
|
97
|
-
var layer19 = (options) => Layer.effect(
|
|
97
|
+
var layer19 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const location = yield*
|
|
100
|
-
const watcher = yield*
|
|
101
|
-
const bus = yield*
|
|
102
|
-
const credentials = yield*
|
|
103
|
-
const wellknown = yield*
|
|
99
|
+
const location = yield* Service73;
|
|
100
|
+
const watcher = yield* Service44;
|
|
101
|
+
const bus = yield* Service75;
|
|
102
|
+
const credentials = yield* Service62;
|
|
103
|
+
const wellknown = yield* Service45;
|
|
104
104
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
105
105
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
106
106
|
const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
|
|
@@ -168,7 +168,7 @@ var layer19 = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
|
168
168
|
});
|
|
169
169
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
170
170
|
return [
|
|
171
|
-
...yield* Effect.forEach(
|
|
171
|
+
...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
172
172
|
new Directory({ type: "directory", path: directory })
|
|
173
173
|
];
|
|
174
174
|
});
|
|
@@ -223,8 +223,8 @@ var layer19 = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
|
223
223
|
}, (effect) => reloadLock.withPermit(effect));
|
|
224
224
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
225
225
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
|
-
yield* bus.subscribe(
|
|
227
|
-
yield* bus.subscribe(
|
|
226
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
227
|
+
yield* bus.subscribe(Event8.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
228
228
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
229
229
|
if (!wellknown.snapshot().length)
|
|
230
230
|
return Effect.void;
|
|
@@ -235,20 +235,20 @@ var layer19 = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
|
235
235
|
}).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
|
|
236
236
|
})), Effect.forever, Effect.forkScoped({ startImmediately: true }));
|
|
237
237
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
238
|
-
return
|
|
238
|
+
return Service43.of({
|
|
239
239
|
entries: Effect.fnUntraced(function* () {
|
|
240
240
|
return configs;
|
|
241
241
|
}),
|
|
242
242
|
changes: () => Stream.fromPubSub(updates)
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
function
|
|
245
|
+
function configured5(options) {
|
|
246
246
|
return makeLocationNode({
|
|
247
|
-
service:
|
|
247
|
+
service: Service43,
|
|
248
248
|
layer: layer19(options),
|
|
249
|
-
deps: [
|
|
249
|
+
deps: [node47, node80, FSUtil.node, Global.node, node78, node65, node48]
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
|
-
var
|
|
252
|
+
var node46 = configured5();
|
|
253
253
|
|
|
254
|
-
export { latest2,
|
|
254
|
+
export { latest2, Options5, Service43, Test2, testLayer2, layer19, configured5, node46, exports_config };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service75,
|
|
3
|
+
node80
|
|
4
|
+
} from "./app-arbehxbm.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-wcwcztxs.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-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: () => NotFoundError6,
|
|
20
|
+
Options: () => Options9,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
22
|
+
Service: () => Service55,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
|
+
configured: () => configured8,
|
|
25
|
+
layer: () => layer23,
|
|
26
|
+
node: () => node58
|
|
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 Options9 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError6 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service55 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service55, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service75;
|
|
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(Service22, 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 NotFoundError6({ 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(Service22, 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 UnavailableError3({ 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(Service22, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service55.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
262
|
-
deps: [
|
|
258
|
+
var layer23 = makeLayer();
|
|
259
|
+
var configured8 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service55,
|
|
261
|
+
layer: options === undefined ? layer23 : makeLayer(options),
|
|
262
|
+
deps: [node80, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node58 = configured8();
|
|
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 UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError3({ 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 { Options9, UnavailableError3, NotFoundError6, Service55, layer23, configured8, node58, exports_persistent_pty, Handoff2 };
|
|
@@ -1,111 +1,111 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./app-0n46b46t.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
ID15,
|
|
7
|
+
Service71,
|
|
8
|
+
node76
|
|
9
|
+
} from "./app-11zfvzac.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service59,
|
|
12
|
+
node62
|
|
13
|
+
} from "./app-7mjejgxa.js";
|
|
14
14
|
import {
|
|
15
15
|
combine2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./app-75yf2d83.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
make17
|
|
19
|
+
} from "./app-83rp9aqa.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service47,
|
|
22
|
+
node50
|
|
23
|
+
} from "./app-y18mx0w9.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service73,
|
|
26
|
+
node78
|
|
27
|
+
} from "./app-6g1q2hdd.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service37,
|
|
30
|
+
node40
|
|
31
|
+
} from "./app-g0h3g2y6.js";
|
|
32
32
|
import {
|
|
33
33
|
AgentNotFoundError2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./app-qq0s42pd.js";
|
|
35
35
|
import {
|
|
36
36
|
entriesForRunner2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./app-ndjv4j8j.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
39
|
+
Service70,
|
|
40
|
+
node75
|
|
41
|
+
} from "./app-xspqbexe.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service53,
|
|
44
|
+
node56
|
|
45
|
+
} from "./app-de8cp1fg.js";
|
|
46
46
|
import {
|
|
47
47
|
Service35,
|
|
48
|
-
node39
|
|
49
|
-
} from "./kv-tgaxz472.js";
|
|
50
|
-
import {
|
|
51
|
-
Service34,
|
|
52
48
|
node38
|
|
53
|
-
} from "./
|
|
49
|
+
} from "./app-gbanwdp8.js";
|
|
54
50
|
import {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
51
|
+
Service23,
|
|
52
|
+
node27
|
|
53
|
+
} from "./app-88rt85wd.js";
|
|
58
54
|
import {
|
|
59
|
-
|
|
60
|
-
node33
|
|
61
|
-
} from "./kv-mqyp5gdj.js";
|
|
62
|
-
import {
|
|
63
|
-
Service33,
|
|
55
|
+
Service34,
|
|
64
56
|
node37
|
|
65
|
-
} from "./
|
|
57
|
+
} from "./app-raf8wtnx.js";
|
|
66
58
|
import {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
59
|
+
Service24,
|
|
60
|
+
node28
|
|
61
|
+
} from "./app-5904gm87.js";
|
|
62
|
+
import {
|
|
63
|
+
Service32,
|
|
64
|
+
node36
|
|
65
|
+
} from "./app-kbjam7h1.js";
|
|
66
|
+
import {
|
|
67
|
+
Service25,
|
|
68
|
+
node29
|
|
69
|
+
} from "./app-y7xtxfz5.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service28,
|
|
72
|
+
node32
|
|
73
|
+
} from "./app-3sd9qt72.js";
|
|
74
74
|
import {
|
|
75
75
|
__export
|
|
76
|
-
} from "./
|
|
76
|
+
} from "./app-9rqn6x4v.js";
|
|
77
77
|
|
|
78
78
|
// src/session/context.ts
|
|
79
79
|
var exports_context = {};
|
|
80
80
|
__export(exports_context, {
|
|
81
|
-
Service: () =>
|
|
81
|
+
Service: () => Service22,
|
|
82
82
|
SessionContext: () => exports_context,
|
|
83
|
-
node: () =>
|
|
83
|
+
node: () => node26
|
|
84
84
|
});
|
|
85
85
|
import { Model } from "@opencode-ai/schema/model";
|
|
86
86
|
import { Context, Effect, Layer } from "effect";
|
|
87
87
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
88
|
-
class
|
|
88
|
+
class Service22 extends Context.Service()("@opencode/SessionContext") {
|
|
89
89
|
}
|
|
90
|
-
var layer = Layer.effect(
|
|
91
|
-
const agents = yield*
|
|
92
|
-
const builtins = yield*
|
|
93
|
-
const catalog = yield*
|
|
94
|
-
const db = (yield*
|
|
95
|
-
const discovery = yield*
|
|
96
|
-
const entries = yield*
|
|
97
|
-
const location = yield*
|
|
98
|
-
const mcpInstructions = yield*
|
|
90
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
91
|
+
const agents = yield* Service71;
|
|
92
|
+
const builtins = yield* Service37;
|
|
93
|
+
const catalog = yield* Service59;
|
|
94
|
+
const db = (yield* Service79).db;
|
|
95
|
+
const discovery = yield* Service47;
|
|
96
|
+
const entries = yield* Service32;
|
|
97
|
+
const location = yield* Service73;
|
|
98
|
+
const mcpInstructions = yield* Service23;
|
|
99
99
|
const mcpTools = yield* Service35;
|
|
100
|
-
const models = yield*
|
|
101
|
-
const modelRequests = yield*
|
|
102
|
-
const referenceInstructions = yield*
|
|
103
|
-
const skillInstructions = yield*
|
|
104
|
-
const store = yield*
|
|
105
|
-
const registry = yield*
|
|
100
|
+
const models = yield* Service28;
|
|
101
|
+
const modelRequests = yield* Service25;
|
|
102
|
+
const referenceInstructions = yield* Service34;
|
|
103
|
+
const skillInstructions = yield* Service24;
|
|
104
|
+
const store = yield* Service70;
|
|
105
|
+
const registry = yield* Service53;
|
|
106
106
|
const resolveModel = (session) => models.resolve(session, catalog.model.available);
|
|
107
107
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
108
|
-
const agent = yield* agents.get(
|
|
108
|
+
const agent = yield* agents.get(ID15.make("title"));
|
|
109
109
|
if (!agent)
|
|
110
110
|
return;
|
|
111
111
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -158,7 +158,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
158
158
|
agent: { ...agent, info: agent.info },
|
|
159
159
|
instructions: combine2([
|
|
160
160
|
loaded.builtins,
|
|
161
|
-
|
|
161
|
+
make17(loaded.tools.codeModeCatalog),
|
|
162
162
|
loaded.discovery,
|
|
163
163
|
loaded.skills,
|
|
164
164
|
loaded.references,
|
|
@@ -180,29 +180,29 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
180
180
|
tools: selection.tools
|
|
181
181
|
};
|
|
182
182
|
});
|
|
183
|
-
return
|
|
183
|
+
return Service22.of({ select, load, resolveModel, selectTitle, prepare: modelRequests.prepare });
|
|
184
184
|
}));
|
|
185
185
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => Model.VariantID.make(id));
|
|
186
|
-
var
|
|
187
|
-
service:
|
|
186
|
+
var node26 = makeLocationNode({
|
|
187
|
+
service: Service22,
|
|
188
188
|
layer,
|
|
189
189
|
deps: [
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
node31,
|
|
194
|
-
node45,
|
|
195
|
-
node37,
|
|
196
|
-
node70,
|
|
197
|
-
node38,
|
|
198
|
-
node39,
|
|
199
|
-
node32,
|
|
200
|
-
node42,
|
|
190
|
+
node76,
|
|
191
|
+
node62,
|
|
192
|
+
node84,
|
|
201
193
|
node40,
|
|
202
194
|
node50,
|
|
203
|
-
|
|
204
|
-
|
|
195
|
+
node36,
|
|
196
|
+
node78,
|
|
197
|
+
node27,
|
|
198
|
+
node38,
|
|
199
|
+
node37,
|
|
200
|
+
node32,
|
|
201
|
+
node29,
|
|
202
|
+
node75,
|
|
203
|
+
node28,
|
|
204
|
+
node56
|
|
205
205
|
]
|
|
206
206
|
});
|
|
207
207
|
|
|
208
|
-
export {
|
|
208
|
+
export { Service22, node26, exports_context };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service75,
|
|
3
|
+
node80
|
|
4
|
+
} from "./app-arbehxbm.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event15,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID7,
|
|
20
|
+
Info: () => Info22,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError7,
|
|
24
|
+
Reply: () => Reply2,
|
|
25
|
+
Service: () => Service61,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer24,
|
|
29
|
+
node: () => node64,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode-ai/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event15 } from "@opencode-ai/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID7 = Form.ID;
|
|
39
|
+
var Info22 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply2 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID7
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID7
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID7
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID7,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service61 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer24 = Layer.effect(Service61, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service75;
|
|
86
86
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
87
87
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
88
88
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
89
89
|
});
|
|
90
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
90
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError7({ id })))));
|
|
91
91
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
92
|
-
const id = input.id ??
|
|
92
|
+
const id = input.id ?? ID7.create();
|
|
93
93
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
94
94
|
if (Option.isSome(existing))
|
|
95
95
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -153,9 +153,9 @@ var layer25 = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
153
153
|
yield* Deferred.succeed(entry.deferred, next);
|
|
154
154
|
})));
|
|
155
155
|
yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
|
|
156
|
-
return
|
|
156
|
+
return Service61.of({ create, ask, get, list, state, reply, cancel });
|
|
157
157
|
}));
|
|
158
|
-
var
|
|
158
|
+
var node64 = makeLocationNode({ service: Service61, layer: layer24, deps: [node80] });
|
|
159
159
|
function validateAnswer2(form, answer) {
|
|
160
160
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
161
161
|
for (const key of Object.keys(answer)) {
|
|
@@ -307,4 +307,4 @@ function isDateTime(value) {
|
|
|
307
307
|
return !Number.isNaN(new Date(value).getTime());
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
export {
|
|
310
|
+
export { ID7, Info22, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError7, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service61, layer24, node64, validateAnswer2, validateFields2, exports_form, Event15 };
|