@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,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service46
|
|
3
|
+
} from "./permission-b8mvmaa9.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-qn3da4hs.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service45
|
|
12
|
+
} from "./permission-7marbvtf.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source3
|
|
17
|
+
} from "./permission-pz2987ze.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service5
|
|
20
|
+
} from "./permission-84zt2byv.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./permission-v045m31c.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./permission-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
29
|
var exports_skill2 = {};
|
|
30
30
|
__export(exports_skill2, {
|
|
31
31
|
ConfigSkillPlugin: () => exports_skill2,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin21
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin21 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service45;
|
|
43
|
+
const discovery = yield* Service5;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
46
|
const location = yield* Service80;
|
|
47
|
-
const watcher = yield*
|
|
47
|
+
const watcher = yield* Service46;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -87,7 +87,7 @@ var Plugin29 = define({
|
|
|
87
87
|
const sources = () => {
|
|
88
88
|
const result = [];
|
|
89
89
|
const add = (source) => {
|
|
90
|
-
if (result.some((item) =>
|
|
90
|
+
if (result.some((item) => Source3.equals(item, source)))
|
|
91
91
|
return;
|
|
92
92
|
result.push(source);
|
|
93
93
|
};
|
|
@@ -112,7 +112,7 @@ var Plugin29 = define({
|
|
|
112
112
|
};
|
|
113
113
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
114
114
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
115
|
-
source:
|
|
115
|
+
source: Source3.key(source),
|
|
116
116
|
cause
|
|
117
117
|
}).pipe(Effect.as([]))));
|
|
118
118
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -141,7 +141,7 @@ var Plugin29 = define({
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
yield* Effect.logDebug("skill source loaded", {
|
|
144
|
-
source:
|
|
144
|
+
source: Source3.key(source),
|
|
145
145
|
type: source.type,
|
|
146
146
|
directories,
|
|
147
147
|
skills: skills.map((skill) => skill.id)
|
|
@@ -160,7 +160,7 @@ var Plugin29 = define({
|
|
|
160
160
|
if (file) {
|
|
161
161
|
yield* Effect.logInfo("skills rescanned", {
|
|
162
162
|
file,
|
|
163
|
-
sources: current.map(
|
|
163
|
+
sources: current.map(Source3.key),
|
|
164
164
|
skills: loaded.skills.map((skill) => skill.id)
|
|
165
165
|
});
|
|
166
166
|
}
|
|
@@ -176,4 +176,4 @@ var Plugin29 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin21, exports_skill2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-q3t37ft6.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-3pncb000.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin35,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
16
|
endpoint: () => endpoint4
|
|
17
17
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin35 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -73,4 +73,4 @@ var Plugin36 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export { endpoint4,
|
|
76
|
+
export { endpoint4, Plugin35, exports_tinyfish };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-rje43y6s.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./permission-km4mv4cc.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./permission-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./permission-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./permission-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-rje43y6s.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service45
|
|
8
|
+
} from "./permission-7marbvtf.js";
|
|
9
9
|
import {
|
|
10
10
|
resolve3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./permission-6ygtp3ec.js";
|
|
12
12
|
import {
|
|
13
13
|
observe2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./permission-qsdy395h.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./permission-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/config/plugin/provider.ts
|
|
20
20
|
var exports_provider = {};
|
|
21
21
|
__export(exports_provider, {
|
|
22
22
|
ConfigProviderPlugin: () => exports_provider,
|
|
23
|
-
Plugin: () =>
|
|
23
|
+
Plugin: () => Plugin19
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Money } from "@opencode/schema/money";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin19 = define({
|
|
29
29
|
id: "opencode.config.provider",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service45;
|
|
32
32
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
33
33
|
yield* ctx.integration.transform((integrations) => {
|
|
34
34
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -192,4 +192,4 @@ function configuredProviders(entries) {
|
|
|
192
192
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
export {
|
|
195
|
+
export { Plugin19, exports_provider };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info28,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info28 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -49,4 +49,4 @@ var encode2 = (provenance, replacement) => ({
|
|
|
49
49
|
var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
|
|
50
50
|
var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
|
|
51
51
|
|
|
52
|
-
export {
|
|
52
|
+
export { Info28, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -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
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./permission-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
Service80,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./permission-qn3da4hs.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID5,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service51,
|
|
20
|
+
node54,
|
|
21
|
+
Event10
|
|
22
|
+
} from "./permission-rje43y6s.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./permission-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,25 +30,25 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event9,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID4,
|
|
36
|
+
Info: () => Info18,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service49,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
44
|
-
parse: () =>
|
|
43
|
+
node: () => node52,
|
|
44
|
+
parse: () => parse4
|
|
45
45
|
});
|
|
46
46
|
import { Model } from "@opencode/schema/model";
|
|
47
47
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
48
48
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
49
49
|
import { freeze } from "immer";
|
|
50
|
-
import { Event as
|
|
51
|
-
var
|
|
50
|
+
import { Event as Event9 } from "@opencode/schema/model";
|
|
51
|
+
var ID4 = Model.ID;
|
|
52
52
|
var VariantID2 = Model.VariantID;
|
|
53
53
|
var Family2 = Model.Family;
|
|
54
54
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -56,12 +56,12 @@ var Compatibility2 = Model.Compatibility;
|
|
|
56
56
|
var Capabilities2 = Model.Capabilities;
|
|
57
57
|
var Cost2 = Model.Cost;
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
|
-
var
|
|
59
|
+
var Info18 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service49 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
64
|
-
const providers = yield*
|
|
63
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
64
|
+
const providers = yield* Service51;
|
|
65
65
|
const bus = yield* Service83;
|
|
66
66
|
const location = yield* Service80;
|
|
67
67
|
let input;
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
108
108
|
const models = writable(providerID);
|
|
109
109
|
if (!models)
|
|
110
110
|
return;
|
|
111
|
-
const model = draft(providerID, modelID) ??
|
|
111
|
+
const model = draft(providerID, modelID) ?? Info18.default(providerID, modelID);
|
|
112
112
|
update(model);
|
|
113
113
|
model.id = modelID;
|
|
114
114
|
model.providerID = providerID;
|
|
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
197
197
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
|
-
yield* bus.subscribe(
|
|
201
|
-
return
|
|
200
|
+
yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
+
return Service49.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
204
204
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node52 = makeLocationNode({ service: Service49, layer, deps: [node54, node87, node84] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -225,12 +225,12 @@ function compatibility2(input) {
|
|
|
225
225
|
return;
|
|
226
226
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function parse4(input) {
|
|
229
229
|
const index = input.indexOf("/");
|
|
230
230
|
return {
|
|
231
|
-
providerID:
|
|
232
|
-
modelID:
|
|
231
|
+
providerID: ID5.make(index === -1 ? input : input.slice(0, index)),
|
|
232
|
+
modelID: ID4.make(index === -1 ? "" : input.slice(index + 1))
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export {
|
|
236
|
+
export { ID4, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info18, Service49, node52, compatibility2, parse4, exports_model2, Event9 };
|
|
@@ -1,22 +1,22 @@
|
|
|
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
|
+
Key3,
|
|
7
|
+
Service59,
|
|
8
|
+
node63
|
|
9
|
+
} from "./permission-dbsvn099.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./permission-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./permission-vnm8cxak.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./permission-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -31,17 +31,17 @@ __export(exports_integration, {
|
|
|
31
31
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
32
32
|
CommandMethod: () => CommandMethod2,
|
|
33
33
|
EnvMethod: () => EnvMethod2,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event11,
|
|
35
|
+
ID: () => ID6,
|
|
36
|
+
Info: () => Info21,
|
|
37
37
|
Integration: () => exports_integration,
|
|
38
38
|
KeyMethod: () => KeyMethod2,
|
|
39
39
|
Method: () => Method2,
|
|
40
40
|
MethodID: () => MethodID2,
|
|
41
41
|
OAuthMethod: () => OAuthMethod2,
|
|
42
42
|
Ref: () => Ref3,
|
|
43
|
-
Service: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
Service: () => Service52,
|
|
44
|
+
node: () => node55
|
|
45
45
|
});
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import {
|
|
@@ -62,8 +62,8 @@ import {
|
|
|
62
62
|
import { Integration } from "@opencode/schema/integration";
|
|
63
63
|
import { AppProcess } from "@opencode/util/process";
|
|
64
64
|
import { ChildProcess } from "effect/unstable/process";
|
|
65
|
-
import { Event as
|
|
66
|
-
var
|
|
65
|
+
import { Event as Event11 } from "@opencode/schema/integration";
|
|
66
|
+
var ID6 = Integration.ID;
|
|
67
67
|
var MethodID2 = Integration.MethodID;
|
|
68
68
|
var AttemptID2 = Integration.AttemptID;
|
|
69
69
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
71
71
|
var KeyMethod2 = Integration.KeyMethod;
|
|
72
72
|
var EnvMethod2 = Integration.EnvMethod;
|
|
73
73
|
var Method2 = Integration.Method;
|
|
74
|
-
var
|
|
74
|
+
var Info21 = Integration.Info;
|
|
75
75
|
var Attempt2 = Integration.Attempt;
|
|
76
76
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
77
77
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -94,19 +94,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
97
|
-
integrationID:
|
|
97
|
+
integrationID: ID6,
|
|
98
98
|
attemptID: AttemptID2
|
|
99
99
|
}) {
|
|
100
100
|
}
|
|
101
101
|
var Ref3 = Integration.Ref;
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service52 extends Context.Service()("@opencode/Integration") {
|
|
104
104
|
}
|
|
105
105
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
106
106
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
107
107
|
var scrubInterval = Duration.seconds(30);
|
|
108
|
-
var layer = Layer.effect(
|
|
109
|
-
const credentials = yield*
|
|
108
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
109
|
+
const credentials = yield* Service59;
|
|
110
110
|
const bus = yield* Service83;
|
|
111
111
|
const processes = yield* AppProcess.Service;
|
|
112
112
|
const scope = yield* Scope.Scope;
|
|
@@ -201,7 +201,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
201
201
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
202
202
|
return [...credentials, ...env];
|
|
203
203
|
};
|
|
204
|
-
const project = (entry, connections) =>
|
|
204
|
+
const project = (entry, connections) => Info21.make({
|
|
205
205
|
id: entry.ref.id,
|
|
206
206
|
name: entry.ref.name,
|
|
207
207
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
285
285
|
const persistence = yield* createCredential({
|
|
286
286
|
integrationID: attempt.integrationID,
|
|
287
287
|
label: attempt.label,
|
|
288
|
-
value:
|
|
288
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
289
289
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
290
290
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
291
291
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -431,7 +431,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
431
431
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
432
432
|
return CommandAttempt2.make({ attemptID, time });
|
|
433
433
|
});
|
|
434
|
-
return
|
|
434
|
+
return Service52.of({
|
|
435
435
|
transform: state.transform,
|
|
436
436
|
reload: state.reload,
|
|
437
437
|
revision: state.revision,
|
|
@@ -453,7 +453,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
453
453
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
454
454
|
if (connection.type === "env") {
|
|
455
455
|
const key = process.env[connection.name];
|
|
456
|
-
return key ?
|
|
456
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
457
457
|
}
|
|
458
458
|
const credential = yield* credentials.get(connection.id);
|
|
459
459
|
if (!credential)
|
|
@@ -486,7 +486,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
486
486
|
yield* createCredential({
|
|
487
487
|
integrationID: input.integrationID,
|
|
488
488
|
label: input.label,
|
|
489
|
-
value:
|
|
489
|
+
value: Key3.make({
|
|
490
490
|
type: "key",
|
|
491
491
|
key: input.key,
|
|
492
492
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -580,10 +580,10 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
580
580
|
}
|
|
581
581
|
});
|
|
582
582
|
}));
|
|
583
|
-
var
|
|
584
|
-
service:
|
|
583
|
+
var node55 = makeLocationNode({
|
|
584
|
+
service: Service52,
|
|
585
585
|
layer,
|
|
586
|
-
deps: [
|
|
586
|
+
deps: [node63, node87, AppProcess.node]
|
|
587
587
|
});
|
|
588
588
|
|
|
589
|
-
export {
|
|
589
|
+
export { ID6, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info21, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service52, node55, exports_integration, Event11 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-drwq78ky.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin3,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service45
|
|
3
|
+
} from "./permission-7marbvtf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service7
|
|
6
|
+
} from "./permission-zd7f874e.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./permission-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
@@ -22,8 +22,8 @@ import { Effect } from "effect";
|
|
|
22
22
|
var Plugin20 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service45;
|
|
26
|
+
const compaction = yield* Service7;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|