@opencode/core 0.0.0-dev-20013 → 0.0.0-dev-20014
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 +76 -76
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{file-access-0a692sth.js → permission-03hf3kpn.js} +31 -31
- package/dist/chunks/{file-access-v76by4bg.js → permission-07yh2w3s.js} +6 -6
- package/dist/chunks/{file-access-dwzbgcev.js → permission-0e9hg5zj.js} +3 -3
- package/dist/chunks/{file-access-9b9bawht.js → permission-0hzjk108.js} +37 -37
- package/dist/chunks/{file-access-qgn6gcr1.js → permission-0jwsre1p.js} +5 -5
- package/dist/chunks/{file-access-m9rhymkd.js → permission-0nfyaajm.js} +44 -44
- package/dist/chunks/{file-access-09nm2wmq.js → permission-0nkmdvt9.js} +16 -16
- package/dist/chunks/{file-access-0paq2nw3.js → permission-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-access-0q0f95c6.js → permission-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-access-00c8amp3.js → permission-0vxntym5.js} +48 -48
- package/dist/chunks/{file-access-fk0e1y1r.js → permission-1c417j8s.js} +9 -9
- package/dist/chunks/{file-access-vs2tehdm.js → permission-1d1pyzy5.js} +3 -3
- package/dist/chunks/{file-access-1dazxqgg.js → permission-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-access-x0f4f0m1.js → permission-1g7y85rx.js} +5 -5
- package/dist/chunks/{file-access-90t26j8x.js → permission-1kt2kcqn.js} +22 -22
- package/dist/chunks/{file-access-768gsh1v.js → permission-1mjwcf4w.js} +6 -6
- package/dist/chunks/{file-access-qfgq1c71.js → permission-1yb3x3z9.js} +1 -1
- package/dist/chunks/{file-access-c6e7fcwh.js → permission-21f27m56.js} +28 -28
- package/dist/chunks/{file-access-21r38tys.js → permission-21r38tys.js} +1 -1
- package/dist/chunks/{file-access-fsx03azj.js → permission-25qde5r0.js} +7 -7
- package/dist/chunks/{file-access-288g8677.js → permission-26ksre78.js} +4 -4
- package/dist/chunks/{file-access-2a5m3afh.js → permission-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-access-h99jmrd9.js → permission-2c3gwyae.js} +10 -10
- package/dist/chunks/{file-access-93ygb5af.js → permission-2myva995.js} +6 -6
- package/dist/chunks/{file-access-yrpnr2zj.js → permission-2tcn5p0w.js} +30 -30
- package/dist/chunks/{file-access-pz1h63jt.js → permission-378hr5bf.js} +23 -23
- package/dist/chunks/{file-access-hzzc25wh.js → permission-38yrxsmb.js} +7 -7
- package/dist/chunks/{file-access-2f0bjgcj.js → permission-3cfzdc8e.js} +5 -5
- package/dist/chunks/{file-access-3fc6dm20.js → permission-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-access-wfxxyxds.js → permission-3h5a129z.js} +6 -6
- package/dist/chunks/{file-access-3hepkmqq.js → permission-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-access-ehatyybc.js → permission-3p0yfe7q.js} +8 -8
- package/dist/chunks/{file-access-n7xygqpe.js → permission-3pncb000.js} +11 -11
- package/dist/chunks/{file-access-8g6xxsrk.js → permission-3sjb3sah.js} +20 -20
- package/dist/chunks/{file-access-3smtnn6g.js → permission-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-access-3tvqynh2.js → permission-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-access-752w5jz5.js → permission-3xp4jf0v.js} +22 -22
- package/dist/chunks/{file-access-hntp1kvn.js → permission-48s2jr0t.js} +1 -1
- package/dist/chunks/{file-access-4s1tnqdt.js → permission-4ak172j4.js} +9 -9
- package/dist/chunks/{file-access-8ank75fn.js → permission-4e8vs6eh.js} +7 -7
- package/dist/chunks/{file-access-sg3e8ft2.js → permission-4hvhh2c2.js} +26 -26
- package/dist/chunks/{file-access-zx7j3hav.js → permission-4hztcedr.js} +23 -23
- package/dist/chunks/{file-access-ywyg2maf.js → permission-4j3d2nkg.js} +44 -44
- package/dist/chunks/permission-4v7qdvcn.js +18 -0
- package/dist/chunks/{file-access-1bnjjx40.js → permission-4vrqwp4d.js} +23 -23
- package/dist/chunks/{file-access-rf3sv4f6.js → permission-4xnt7k9y.js} +41 -41
- package/dist/chunks/{file-access-98jp8s51.js → permission-50cn258h.js} +170 -170
- package/dist/chunks/{file-access-k16yeph6.js → permission-55my41cg.js} +24 -24
- package/dist/chunks/{file-access-56gdpj1q.js → permission-56gdpj1q.js} +2 -2
- package/dist/chunks/{file-access-57ez7d0k.js → permission-57ez7d0k.js} +2 -2
- package/dist/chunks/{file-access-5daktx2q.js → permission-5daktx2q.js} +1 -1
- package/dist/chunks/{file-access-p2ahdppn.js → permission-5ddb1s0k.js} +21 -21
- package/dist/chunks/{file-access-5ekn9679.js → permission-5ekn9679.js} +1 -1
- package/dist/chunks/{file-access-h5kmmphm.js → permission-5kgsjkyf.js} +5 -5
- package/dist/chunks/{file-access-bvsk2pep.js → permission-5sz1e4g6.js} +17 -17
- package/dist/chunks/{file-access-5t3nmthw.js → permission-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-access-xm5295m0.js → permission-63dccpra.js} +4 -4
- package/dist/chunks/{file-access-jx3n259w.js → permission-64p60fr1.js} +33 -33
- package/dist/chunks/{file-access-d2554jjm.js → permission-64vpb657.js} +37 -37
- package/dist/chunks/{file-access-669tq793.js → permission-669tq793.js} +1 -1
- package/dist/chunks/{file-access-zx4azftj.js → permission-6949cf8n.js} +10 -10
- package/dist/chunks/{file-access-r33ff4dw.js → permission-6ersrjne.js} +4 -4
- package/dist/chunks/{file-access-2402vzrj.js → permission-6h73sxmp.js} +5 -5
- package/dist/chunks/{file-access-s2tvr5dg.js → permission-6jemqbcs.js} +14 -14
- package/dist/chunks/{file-access-vrz7xrs5.js → permission-6knbr4yp.js} +20 -20
- package/dist/chunks/{file-access-s4w7jzgz.js → permission-6m4v5pcq.js} +42 -42
- package/dist/chunks/{file-access-6msgmcgs.js → permission-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-access-cjwredg8.js → permission-6twcvazt.js} +15 -15
- package/dist/chunks/{file-access-hkdbkshs.js → permission-6va1vta4.js} +13 -13
- package/dist/chunks/{file-access-e0833qeh.js → permission-6wqy65qz.js} +21 -21
- package/dist/chunks/{file-access-kzp8v912.js → permission-6ygtp3ec.js} +3 -3
- package/dist/chunks/{file-access-73tb2d7t.js → permission-73tb2d7t.js} +1 -1
- package/dist/chunks/{file-access-fz4sbwmc.js → permission-7b50z9gt.js} +24 -24
- package/dist/chunks/{file-access-7bmhse3q.js → permission-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-access-2ktg6p98.js → permission-7ctcpgxf.js} +14 -14
- package/dist/chunks/{file-access-rjzssajw.js → permission-7g7ne11w.js} +8 -8
- package/dist/chunks/{file-access-0fp6vpq7.js → permission-7marbvtf.js} +38 -38
- package/dist/chunks/{file-access-8na3c29k.js → permission-7rg21pa5.js} +8 -8
- package/dist/chunks/{file-access-nq7qbqzc.js → permission-84zt2byv.js} +9 -9
- package/dist/chunks/{file-access-8d7r5vzw.js → permission-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-access-8p4f9s12.js → permission-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-access-cmwkp3r5.js → permission-8v6pyhej.js} +8 -8
- package/dist/chunks/{file-access-nzyhnfxz.js → permission-8z00fdkb.js} +4 -4
- package/dist/chunks/{file-access-ymmys65e.js → permission-9jh4tdcq.js} +18 -18
- package/dist/chunks/{file-access-b0dgvpy7.js → permission-9jzp6rtr.js} +9 -9
- package/dist/chunks/{file-access-a1bz86dw.js → permission-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-access-aaet6srn.js → permission-aaet6srn.js} +2 -2
- package/dist/chunks/{file-access-y5phfrgc.js → permission-ag15jeds.js} +9 -9
- package/dist/chunks/permission-agxze486.js +26 -0
- package/dist/chunks/{file-access-3hdyanjz.js → permission-ajed71fh.js} +4 -4
- package/dist/chunks/{file-access-859wm560.js → permission-ara29bfy.js} +23 -23
- package/dist/chunks/{file-access-227994hr.js → permission-at42k54d.js} +32 -32
- package/dist/chunks/{file-access-vyqn3nqs.js → permission-axa5krkd.js} +7 -7
- package/dist/chunks/{file-access-qx03bd0a.js → permission-azbd23ze.js} +11 -11
- package/dist/chunks/{file-access-bxs86mwm.js → permission-b0t6ctf8.js} +23 -23
- package/dist/chunks/{file-access-pber7c1w.js → permission-b1n6ja2s.js} +14 -14
- package/dist/chunks/{file-access-b6gygkdw.js → permission-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-access-4f0fby6w.js → permission-b6q25pdb.js} +2 -2
- package/dist/chunks/{file-access-xn76h8hp.js → permission-b8mvmaa9.js} +20 -20
- package/dist/chunks/{file-access-gnr28544.js → permission-bd74mhsm.js} +41 -41
- package/dist/chunks/{file-access-vt0e9y1w.js → permission-bfacqvkb.js} +17 -17
- package/dist/chunks/{file-access-hqzg2801.js → permission-bg1tyxj3.js} +300 -300
- package/dist/chunks/{file-access-cq37gk0t.js → permission-bha4atvq.js} +4 -4
- package/dist/chunks/{file-access-tgcdz44n.js → permission-bpmc8xz1.js} +31 -31
- package/dist/chunks/{file-access-0t1q9tjc.js → permission-bthdg3m1.js} +81 -81
- package/dist/chunks/{file-access-2hcvc8f1.js → permission-bwqvw50t.js} +20 -20
- package/dist/chunks/{file-access-p2fa2w79.js → permission-byhqfn85.js} +11 -11
- package/dist/chunks/{file-access-frrq0hd0.js → permission-bzbvyznb.js} +4 -4
- package/dist/chunks/{file-access-65jejx4v.js → permission-bzhfv79m.js} +17 -17
- package/dist/chunks/{file-access-aah9qcnd.js → permission-bzry3vjh.js} +10 -10
- package/dist/chunks/{file-access-7v8yt572.js → permission-c4k33t1a.js} +17 -17
- package/dist/chunks/{file-access-37svwymz.js → permission-c6cbgp1f.js} +10 -10
- package/dist/chunks/{file-access-cfpkc3c9.js → permission-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-access-zh7rgrks.js → permission-cncb5n36.js} +13 -13
- package/dist/chunks/{file-access-658p8faw.js → permission-cnj3ct04.js} +4 -4
- package/dist/chunks/{file-access-t6r7h21p.js → permission-ctd708f2.js} +13 -13
- package/dist/chunks/{file-access-afdssyjb.js → permission-ctmr8zqa.js} +4 -4
- package/dist/chunks/{file-access-d4he2qe1.js → permission-cwa6csj7.js} +9 -9
- package/dist/chunks/{file-access-19m0af1m.js → permission-d0vrd2zk.js} +8 -8
- package/dist/chunks/{file-access-11vq80p7.js → permission-d6vv1g3t.js} +30 -30
- package/dist/chunks/{file-access-xxseqtyh.js → permission-dbsvn099.js} +30 -30
- package/dist/chunks/{file-access-78c73d7g.js → permission-ddd7kqga.js} +31 -31
- package/dist/chunks/{file-access-mhv6gyqj.js → permission-df3jdry0.js} +18 -18
- package/dist/chunks/{file-access-0v53mg2y.js → permission-dfe8djrf.js} +4 -4
- package/dist/chunks/{file-access-xfkkasph.js → permission-drwq78ky.js} +4 -4
- package/dist/chunks/{file-access-nc0692wd.js → permission-e0apywkq.js} +4 -4
- package/dist/chunks/{file-access-e37h8kwf.js → permission-e1hrzsan.js} +12 -12
- package/dist/chunks/{file-access-rhjbct0v.js → permission-eaj1djv9.js} +8 -8
- package/dist/chunks/{file-access-6tw2ysqh.js → permission-eajtn109.js} +8 -8
- package/dist/chunks/{file-access-ef5x83kb.js → permission-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-access-16cax9zb.js → permission-ep6z9mt6.js} +8 -8
- package/dist/chunks/{file-access-6vnhfzx9.js → permission-epyh8wr5.js} +6 -6
- package/dist/chunks/{file-access-erw5rpbs.js → permission-erw5rpbs.js} +2 -2
- package/dist/chunks/{file-access-etq0c3wd.js → permission-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-access-qc7betj8.js → permission-evahq94v.js} +22 -22
- package/dist/chunks/{file-access-05dyq9yx.js → permission-f59qmhat.js} +7 -7
- package/dist/chunks/{file-access-f828m53h.js → permission-f828m53h.js} +2 -2
- package/dist/chunks/{file-access-re1s176r.js → permission-f9n4adyk.js} +13 -13
- package/dist/chunks/{file-access-jtr1pbd3.js → permission-fby4xvtb.js} +31 -31
- package/dist/chunks/{file-access-46a1trkr.js → permission-feq2q57d.js} +17 -17
- package/dist/chunks/permission-fm2eq66q.js +252 -0
- package/dist/chunks/{file-access-pgrdd2ve.js → permission-fs31za9f.js} +11 -11
- package/dist/chunks/{file-access-gsads2be.js → permission-fy8c64kb.js} +16 -16
- package/dist/chunks/{file-access-58mcmt77.js → permission-g7b86n8d.js} +23 -23
- package/dist/chunks/{file-access-gd4qta3r.js → permission-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-access-zd30eb5w.js → permission-gg4dpy88.js} +5 -5
- package/dist/chunks/{file-access-wrmrmykr.js → permission-gmjjhz4f.js} +6 -6
- package/dist/chunks/{file-access-gmjq4p6e.js → permission-gmjq4p6e.js} +5 -5
- package/dist/chunks/{file-access-8jq0bfkk.js → permission-gss7n69n.js} +8 -8
- package/dist/chunks/{file-access-gv6a8nnw.js → permission-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-access-1jtbg6c9.js → permission-h43snntw.js} +16 -16
- package/dist/chunks/{file-access-3emr59yt.js → permission-h4ck9734.js} +8 -8
- package/dist/chunks/{file-access-bjn91642.js → permission-h6jr292a.js} +4 -4
- package/dist/chunks/{file-access-h6vf3j39.js → permission-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-access-sqm52wn7.js → permission-hj8ktg81.js} +13 -13
- package/dist/chunks/{file-access-7pbtkrdy.js → permission-hk63fwsd.js} +3 -3
- package/dist/chunks/{file-access-5rnnm2b5.js → permission-hrc132h6.js} +9 -9
- package/dist/chunks/{file-access-3dap0f8b.js → permission-hreaccw7.js} +26 -26
- package/dist/chunks/{file-access-ktvn187s.js → permission-hzzyy33p.js} +26 -26
- package/dist/chunks/{file-access-6enf0aw0.js → permission-j42q9rrh.js} +3 -3
- package/dist/chunks/{file-access-j56e64zr.js → permission-j56e64zr.js} +1 -1
- package/dist/chunks/{file-access-z2cgntw0.js → permission-j8n6xw48.js} +5 -5
- package/dist/chunks/{file-access-v6zy1qsv.js → permission-j8yjak6g.js} +7 -7
- package/dist/chunks/{file-access-5ww8yrxx.js → permission-jacf7vr2.js} +22 -22
- package/dist/chunks/{file-access-hkagk5ex.js → permission-jca4demv.js} +2 -2
- package/dist/chunks/{file-access-tzqjevm8.js → permission-js5g36jc.js} +6 -6
- package/dist/chunks/{file-access-saye24w9.js → permission-js9x899g.js} +4 -4
- package/dist/chunks/{file-access-k3c624dm.js → permission-k3c624dm.js} +3 -3
- package/dist/chunks/{file-access-afknyawd.js → permission-k94npf5p.js} +10 -10
- package/dist/chunks/{file-access-ag580yac.js → permission-k9d40v1y.js} +4 -4
- package/dist/chunks/{file-access-z3yhsc05.js → permission-km4mv4cc.js} +29 -29
- package/dist/chunks/{file-access-cka7hfyn.js → permission-kn8bfg8c.js} +29 -29
- package/dist/chunks/{file-access-k9kj6xed.js → permission-knb7evpn.js} +6 -6
- package/dist/chunks/{file-access-bk7qdt7s.js → permission-knspt4k3.js} +8 -8
- package/dist/chunks/{file-access-t48g49hr.js → permission-m2xwxn4j.js} +11 -11
- package/dist/chunks/{file-access-m3fdjcah.js → permission-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-access-m9w0rfyh.js → permission-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-access-rmk2c50f.js → permission-ma15yhyh.js} +5 -5
- package/dist/chunks/{file-access-g190xswt.js → permission-magykp64.js} +4 -4
- package/dist/chunks/{file-access-08atjc0y.js → permission-mkhdf3af.js} +18 -18
- package/dist/chunks/{file-access-d4x8y6s3.js → permission-mmcrd3rf.js} +66 -66
- package/dist/chunks/{file-access-we52gc0f.js → permission-mmm09k00.js} +8 -8
- package/dist/chunks/{file-access-bqm04z8x.js → permission-mmn6bhn2.js} +6 -6
- package/dist/chunks/{file-access-4dzg40rw.js → permission-mng9nxvr.js} +12 -12
- package/dist/chunks/{file-access-rtathh62.js → permission-mw934p8z.js} +6 -6
- package/dist/chunks/{file-access-r0pc2tt6.js → permission-mzhaksny.js} +21 -21
- package/dist/chunks/{file-access-xs2bmay3.js → permission-n2rqx0tz.js} +16 -16
- package/dist/chunks/{file-access-fs40rkt5.js → permission-nbsnq0w1.js} +41 -41
- package/dist/chunks/{file-access-r036svgx.js → permission-nejweth1.js} +11 -11
- package/dist/chunks/{file-access-8ra6m1eq.js → permission-njp0gf2a.js} +13 -13
- package/dist/chunks/{file-access-bjwsxpgk.js → permission-npsrk1x7.js} +18 -18
- package/dist/chunks/{file-access-9pk0fx53.js → permission-nz8pq8c9.js} +3 -3
- package/dist/chunks/{file-access-rxvrk031.js → permission-p0jvcnw4.js} +20 -20
- package/dist/chunks/{file-access-pecb0brz.js → permission-p44d8wdy.js} +5 -5
- package/dist/chunks/{file-access-d9qy0tkw.js → permission-pa5efk3h.js} +43 -43
- package/dist/chunks/{file-access-pjvnvgmy.js → permission-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-access-pknna89w.js → permission-pknna89w.js} +1 -1
- package/dist/chunks/{file-access-34e0h94d.js → permission-pp7vm5fm.js} +3 -3
- package/dist/chunks/{file-access-kw7v9xqj.js → permission-pyttpqhh.js} +24 -24
- package/dist/chunks/{file-access-mgj6pkkf.js → permission-pz2987ze.js} +24 -24
- package/dist/chunks/{file-access-ndmv45hp.js → permission-q3t37ft6.js} +3 -3
- package/dist/chunks/{file-access-317cfnqd.js → permission-q6s9v6ps.js} +11 -11
- package/dist/chunks/{file-access-ynp3axf3.js → permission-q8thqfax.js} +5 -5
- package/dist/chunks/{file-access-1cj8gcbx.js → permission-qa289ffc.js} +16 -16
- package/dist/chunks/{file-access-7x3ymcnd.js → permission-qda2f8ap.js} +12 -12
- package/dist/chunks/{file-access-e6hmchc5.js → permission-qjnxxf51.js} +5 -5
- package/dist/chunks/{file-access-p04pkz1c.js → permission-qk7n1gwc.js} +12 -12
- package/dist/chunks/{file-access-pwn9j9sb.js → permission-qn3da4hs.js} +2 -2
- package/dist/chunks/{file-access-p38vwk10.js → permission-qnc61xqw.js} +23 -23
- package/dist/chunks/{file-access-qsdy395h.js → permission-qsdy395h.js} +1 -1
- package/dist/chunks/{file-access-4bm5ja14.js → permission-r66xghd9.js} +4 -4
- package/dist/chunks/{file-access-v6ndbskd.js → permission-r77b2m1r.js} +12 -12
- package/dist/chunks/{file-access-0rn0af91.js → permission-r9j8966s.js} +22 -22
- package/dist/chunks/{file-access-rdw6cm16.js → permission-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-access-ybh0q6je.js → permission-rdyet1b6.js} +47 -47
- package/dist/chunks/{file-access-sng8r1vf.js → permission-rhp3efkr.js} +22 -22
- package/dist/chunks/{file-access-wrtjp1mn.js → permission-rj168jjz.js} +22 -22
- package/dist/chunks/{file-access-pszv7358.js → permission-rje43y6s.js} +27 -27
- package/dist/chunks/{file-access-93syhrr0.js → permission-rv7hqese.js} +10 -10
- package/dist/chunks/{file-access-0ehystez.js → permission-rxcwgxqf.js} +3 -3
- package/dist/chunks/{file-access-d216944b.js → permission-ryr25ayn.js} +5 -5
- package/dist/chunks/{file-access-7v5p2n78.js → permission-s26wb9qx.js} +15 -15
- package/dist/chunks/{file-access-nazk6ep5.js → permission-s3e402y2.js} +15 -15
- package/dist/chunks/{file-access-48qh5hqp.js → permission-sgezmp4m.js} +8 -8
- package/dist/chunks/{file-access-qjxevsft.js → permission-sqy4ahhk.js} +1 -1
- package/dist/chunks/{file-access-hf63qasg.js → permission-sy8n64er.js} +6 -6
- package/dist/chunks/{file-access-kr1sqef6.js → permission-szvtjx06.js} +20 -20
- package/dist/chunks/{file-access-wn8y6sgg.js → permission-t1jv6b6w.js} +20 -20
- package/dist/chunks/{file-access-tazgh4e4.js → permission-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-access-tcezcvh9.js → permission-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-access-tdstcens.js → permission-tdstcens.js} +1 -1
- package/dist/chunks/{file-access-7gy38z07.js → permission-trrt5h0y.js} +23 -23
- package/dist/chunks/{file-access-2h0wcn0e.js → permission-tt60n59f.js} +11 -11
- package/dist/chunks/{file-access-tvtrv512.js → permission-tvtrv512.js} +1 -1
- package/dist/chunks/{file-access-jvv9dx74.js → permission-v045m31c.js} +6 -6
- package/dist/chunks/{file-access-b4qmmyek.js → permission-v2n7406w.js} +8 -8
- package/dist/chunks/{file-access-tyh0qh3n.js → permission-v3ckb57v.js} +18 -18
- package/dist/chunks/{file-access-cgq8fjpr.js → permission-v5hkmnra.js} +9 -9
- package/dist/chunks/{file-access-mvgpk1ca.js → permission-v8rdp29h.js} +23 -23
- package/dist/chunks/{file-access-pn68zg67.js → permission-va5a8rhe.js} +11 -11
- package/dist/chunks/{file-access-veqvce7d.js → permission-veqvce7d.js} +1 -1
- package/dist/chunks/{file-access-sdmcn07b.js → permission-vms8hpcb.js} +85 -85
- package/dist/chunks/{file-access-9namg634.js → permission-vnm8cxak.js} +22 -22
- package/dist/chunks/{file-access-9cyfspf3.js → permission-vtxr0yy2.js} +5 -5
- package/dist/chunks/{file-access-vzcthcp8.js → permission-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-access-w3wsvvr9.js → permission-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-access-15nepkqg.js → permission-w3x9v1nk.js} +8 -8
- package/dist/chunks/{file-access-773wjt79.js → permission-w5ew8dkt.js} +4 -4
- package/dist/chunks/{file-access-wd87259q.js → permission-wd87259q.js} +1 -1
- package/dist/chunks/{file-access-k100k1x5.js → permission-wnbbk2t2.js} +9 -9
- package/dist/chunks/{file-access-dzbt8m9q.js → permission-ws4554c5.js} +33 -33
- package/dist/chunks/{file-access-ydgy0jv4.js → permission-wtz46evs.js} +8 -8
- package/dist/chunks/{file-access-mgmtwba2.js → permission-x00sfnay.js} +5 -5
- package/dist/chunks/{file-access-kdjb3rjh.js → permission-x0paava3.js} +16 -16
- package/dist/chunks/{file-access-x1ezjp6w.js → permission-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-access-9a0fsf8a.js → permission-xk7338t3.js} +5 -5
- package/dist/chunks/{file-access-20pzmj15.js → permission-xvq6efdf.js} +15 -15
- package/dist/chunks/{file-access-24ct3y2e.js → permission-xyc4r8c4.js} +3 -3
- package/dist/chunks/{file-access-y97z94ck.js → permission-y1e9t782.js} +10 -10
- package/dist/chunks/{file-access-y1fvbwt7.js → permission-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-access-hdp5644h.js → permission-y33nr3d9.js} +19 -19
- package/dist/chunks/{file-access-jcvejxbn.js → permission-y3d9qj08.js} +4 -4
- package/dist/chunks/{file-access-zfp10n8z.js → permission-y4b04j0c.js} +14 -14
- package/dist/chunks/{file-access-mgtp0e10.js → permission-y62wwckn.js} +20 -20
- package/dist/chunks/{file-access-y71avatq.js → permission-y71avatq.js} +1 -1
- package/dist/chunks/{file-access-1acjjqhc.js → permission-yp2x3t23.js} +4 -4
- package/dist/chunks/{file-access-etqc4x7c.js → permission-ypvn8x89.js} +5 -5
- package/dist/chunks/{file-access-eqncpqrf.js → permission-ypy2e72f.js} +17 -17
- package/dist/chunks/{file-access-yrhqyw5v.js → permission-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-access-yrznvahk.js → permission-yrznvahk.js} +2 -2
- package/dist/chunks/{file-access-zkx33n4v.js → permission-ysdhce05.js} +11 -11
- package/dist/chunks/{file-access-6gxdng4p.js → permission-ywkk724n.js} +27 -27
- package/dist/chunks/{file-access-z0bkrqjs.js → permission-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-access-satvg6hp.js → permission-z0f31r39.js} +10 -10
- package/dist/chunks/{file-access-raf9h2ts.js → permission-z4jwky5w.js} +9 -9
- package/dist/chunks/{file-access-z63w68vq.js → permission-z63w68vq.js} +2 -2
- package/dist/chunks/{file-access-n9ne1b93.js → permission-z9d1w9zp.js} +11 -11
- package/dist/chunks/{file-access-5q8gz8g4.js → permission-zd7f874e.js} +22 -22
- package/dist/chunks/{file-access-zeh9ct20.js → permission-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-access-zr2ceqn5.js → permission-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-access-wd18fn92.js → permission-zsyaq8pa.js} +27 -27
- package/dist/chunks/{file-access-zxq2ej10.js → permission-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-access-cjh1af7b.js → permission-zy3dsyda.js} +36 -36
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +91 -91
- 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 +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +98 -98
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +101 -101
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- package/dist/git.js +6 -6
- 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 +98 -98
- 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 +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +129 -129
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +80 -80
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +102 -102
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/compaction.js +128 -128
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +117 -117
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- 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 +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- 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/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/file-access-4cm67rrf.js +0 -26
- package/dist/chunks/file-access-619r8v3y.js +0 -18
- package/dist/chunks/file-access-fadsvk8f.js +0 -252
- /package/dist/chunks/{file-access-0qkdqm5v.js → permission-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-access-0zkw76rk.js → permission-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-access-17cy0kzp.js → permission-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-access-1cnp2v09.js → permission-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-access-1kg9ymc8.js → permission-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-access-24dcb14g.js → permission-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-access-2710q6r3.js → permission-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-access-2axfhc9x.js → permission-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-access-2c3vjs8z.js → permission-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-access-359p4xyc.js → permission-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-access-3asan66x.js → permission-3asan66x.js} +0 -0
- /package/dist/chunks/{file-access-3v8g72cx.js → permission-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-access-3w5fmr99.js → permission-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-access-3wcehsnq.js → permission-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-access-43n2bw4t.js → permission-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-access-4knz6hnm.js → permission-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-access-4vcrnpx2.js → permission-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-access-4y7fprxs.js → permission-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-access-53557ph1.js → permission-53557ph1.js} +0 -0
- /package/dist/chunks/{file-access-550bvhaj.js → permission-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-access-5qd3pb7m.js → permission-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-access-6prwharc.js → permission-6prwharc.js} +0 -0
- /package/dist/chunks/{file-access-7akdwqpd.js → permission-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-access-7m9af43g.js → permission-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-access-822emrt2.js → permission-822emrt2.js} +0 -0
- /package/dist/chunks/{file-access-88xbtdfr.js → permission-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-access-8n3pysct.js → permission-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-access-922hggd3.js → permission-922hggd3.js} +0 -0
- /package/dist/chunks/{file-access-9a4afbnw.js → permission-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-access-9rqn6x4v.js → permission-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-access-a6k6eb26.js → permission-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-access-af5trqkr.js → permission-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-access-afrmfg78.js → permission-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-access-aqzs7mqg.js → permission-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-access-atq7p7m5.js → permission-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-access-bkyjaxrp.js → permission-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-access-bmr6ed5q.js → permission-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-access-cf4snx6d.js → permission-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-access-cvy3z8tj.js → permission-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-access-d9fn303g.js → permission-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-access-d9jj8t3e.js → permission-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-access-dajrwvna.js → permission-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-access-dap0rakb.js → permission-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-access-df08tz66.js → permission-df08tz66.js} +0 -0
- /package/dist/chunks/{file-access-dy18nga0.js → permission-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-access-e5kj55wp.js → permission-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-access-e73j6tqm.js → permission-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-access-ec1grn59.js → permission-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-access-eh3zwz77.js → permission-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-access-emrn6kk6.js → permission-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-access-f0mxakyp.js → permission-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-access-f6n9ztr4.js → permission-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-access-faypxj3z.js → permission-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-access-fd410y7t.js → permission-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-access-fxgpk5d8.js → permission-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-access-g4wezp1m.js → permission-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-access-g86h250q.js → permission-g86h250q.js} +0 -0
- /package/dist/chunks/{file-access-gebd4c9n.js → permission-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-access-gftt206x.js → permission-gftt206x.js} +0 -0
- /package/dist/chunks/{file-access-hjbc5kem.js → permission-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-access-hk9envan.js → permission-hk9envan.js} +0 -0
- /package/dist/chunks/{file-access-j2ntwpah.js → permission-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-access-j5zkgpj8.js → permission-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-access-jjkms2e6.js → permission-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-access-jr7sbwjy.js → permission-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-access-jwfs4k6c.js → permission-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-access-jzg6c2d5.js → permission-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-access-mp448xyj.js → permission-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-access-msx8hqn2.js → permission-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-access-n05xt0ee.js → permission-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-access-n3j8tn72.js → permission-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-access-njntx4h6.js → permission-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-access-q3sfg36h.js → permission-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-access-q74kybfr.js → permission-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-access-qapv375x.js → permission-qapv375x.js} +0 -0
- /package/dist/chunks/{file-access-qaymkmh1.js → permission-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-access-qb87gjwd.js → permission-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-access-qfa1cgps.js → permission-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-access-qg3g05ea.js → permission-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-access-qrg20bc0.js → permission-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-access-rcb2kzg1.js → permission-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-access-sdp7kfr6.js → permission-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-access-sk3qaz4a.js → permission-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-access-ssg3fenm.js → permission-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-access-twg0f83k.js → permission-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-access-w803qqfp.js → permission-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-access-wc3fc9cn.js → permission-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-access-wer8tq1h.js → permission-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-access-wtztk69x.js → permission-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-access-x0ckcb58.js → permission-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-access-x61499pn.js → permission-x61499pn.js} +0 -0
- /package/dist/chunks/{file-access-y44na4kk.js → permission-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-access-y8cydn3q.js → permission-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-access-y8f7s663.js → permission-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-access-ygaqb7jw.js → permission-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-access-ym463w8f.js → permission-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-access-z9919s4g.js → permission-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-e0apywkq.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command4 = {};
|
|
14
|
+
__export(exports_command4, {
|
|
15
|
+
Command: () => exports_command4,
|
|
16
|
+
Event: () => Event6,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info7,
|
|
19
|
+
NotFoundError: () => NotFoundError5,
|
|
20
|
+
Service: () => Service39,
|
|
21
|
+
layer: () => layer18,
|
|
22
|
+
node: () => node42
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event6 } from "@opencode/schema/command";
|
|
28
|
+
var Info7 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service39 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer18 = Layer.effect(Service39, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service83;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer20 = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info7.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service39.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer20 = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node42 = makeLocationNode({
|
|
75
|
+
service: Service39,
|
|
76
|
+
layer: layer18,
|
|
77
77
|
deps: [node87]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info7, NotFoundError5, ExecutionError2, Service39, layer18, node42, exports_command4, Event6 };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./permission-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-e0apywkq.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./permission-qn3da4hs.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./permission-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
Service71,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
node75
|
|
15
|
+
} from "./permission-y1e9t782.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./permission-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service6,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node8
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,9 +32,9 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service6 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service83;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const store = yield* Service71;
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service6.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node8 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node87, FSUtil.node, node84,
|
|
101
|
+
deps: [node87, FSUtil.node, node84, node75]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service6, node8, exports_instructions };
|
|
@@ -4,31 +4,31 @@ import {
|
|
|
4
4
|
MAX_TOTAL_PATCH_BYTES2,
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
chunksByFile2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-tazgh4e4.js";
|
|
8
8
|
import {
|
|
9
9
|
gitExecutable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./permission-qn3da4hs.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./permission-fy8c64kb.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./permission-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
23
23
|
__export(exports_git, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin36,
|
|
25
25
|
VcsGitPlugin: () => exports_git
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
29
|
import { ChildProcess } from "effect/unstable/process";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
|
-
var
|
|
31
|
+
var Plugin36 = define({
|
|
32
32
|
id: "opencode.vcs.git",
|
|
33
33
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
34
34
|
const location = yield* Service80;
|
|
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
470
470
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
471
471
|
});
|
|
472
472
|
|
|
473
|
-
export {
|
|
473
|
+
export { Plugin36, exports_git };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-e0apywkq.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event14,
|
|
7
|
+
Service59,
|
|
8
|
+
node63
|
|
9
|
+
} from "./permission-dbsvn099.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service46,
|
|
12
|
+
node49
|
|
13
|
+
} from "./permission-b8mvmaa9.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./permission-922hggd3.js";
|
|
17
17
|
import {
|
|
18
18
|
Service80,
|
|
19
19
|
node84
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./permission-qn3da4hs.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./permission-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./permission-rhp3efkr.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./permission-1d1pyzy5.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./permission-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service47,
|
|
36
|
+
Event8,
|
|
37
|
+
node50
|
|
38
|
+
} from "./permission-npsrk1x7.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./permission-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: () => Service45,
|
|
49
49
|
Test: () => Test2,
|
|
50
50
|
configured: () => configured6,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer21,
|
|
53
|
+
node: () => node48,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options5 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service45 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service45, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer21 = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
96
|
const location = yield* Service80;
|
|
97
|
-
const watcher = yield*
|
|
97
|
+
const watcher = yield* Service46;
|
|
98
98
|
const bus = yield* Service83;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service59;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service47;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -221,8 +221,8 @@ var layer17 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
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 }));
|
|
224
|
-
yield* bus.subscribe(
|
|
225
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event14.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 }));
|
|
225
|
+
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 }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -250,7 +250,7 @@ var layer17 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service45.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -264,11 +264,11 @@ var layer17 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
264
264
|
}));
|
|
265
265
|
function configured6(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service45,
|
|
268
|
+
layer: layer21(options),
|
|
269
|
+
deps: [node49, node87, FSUtil.node, Global.node, node84, node63, node50]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node48 = configured6();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options5, Service45, Test2, testLayer2, layer21, configured6, node48, exports_config };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service45
|
|
4
|
+
} from "./permission-7marbvtf.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service48
|
|
7
|
+
} from "./permission-e1hrzsan.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./permission-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
@@ -23,8 +23,8 @@ import { Effect } from "effect";
|
|
|
23
23
|
var Plugin16 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service45;
|
|
27
|
+
const output = yield* Service48;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service5,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node7
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service5 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service5.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node7 = makeGlobalNode({ service: Service5, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service5, node7, exports_discovery };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service10,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node12
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service10 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node12 = makeLocationNode({
|
|
19
|
+
service: Service10,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service10, Service10.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service10, node12, bound2, exports_instance2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info20,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
key: () => key2
|
|
13
13
|
});
|
|
14
14
|
import { Connection } from "@opencode/schema/connection";
|
|
15
15
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
16
16
|
var EnvInfo2 = Connection.EnvInfo;
|
|
17
|
-
var
|
|
17
|
+
var Info20 = Connection.Info;
|
|
18
18
|
function key2(connection) {
|
|
19
19
|
if (!connection)
|
|
20
20
|
return;
|
|
21
21
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export { CredentialInfo2, EnvInfo2,
|
|
24
|
+
export { CredentialInfo2, EnvInfo2, Info20, key2, exports_connection };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./permission-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service55,
|
|
8
|
+
node58
|
|
9
|
+
} from "./permission-6wqy65qz.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./permission-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./permission-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error3,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service40,
|
|
24
|
+
node: () => node43
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service40 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error3({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service55;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service40.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node43 = makeLocationNode({ service: Service40, layer, deps: [node58, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error3, InvalidPatternError2, Service40, node43, exports_ripgrep };
|