@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,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service9,
|
|
13
|
+
node: () => node11
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service9 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service9.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node11 = makeGlobalNode({ service: Service9, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service9, node11, exports_update };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-8p4f9s12.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./permission-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./permission-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service33
|
|
3
|
+
} from "./permission-2myva995.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-4v7qdvcn.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-gmjjhz4f.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service58
|
|
12
|
+
} from "./permission-pz2987ze.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./permission-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service33;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service58), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin34
|
|
3
|
+
} from "./permission-mw934p8z.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin42
|
|
6
|
+
} from "./permission-4ak172j4.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin41
|
|
9
|
+
} from "./permission-v5hkmnra.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin33
|
|
12
|
+
} from "./permission-3p0yfe7q.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin35
|
|
15
|
+
} from "./permission-js5g36jc.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin34,
|
|
20
|
+
Plugin42,
|
|
21
|
+
Plugin41,
|
|
22
|
+
Plugin33,
|
|
23
|
+
Plugin35
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_opencode, {
|
|
|
8
8
|
ModelsInput: () => ModelsInput2,
|
|
9
9
|
MoveInput: () => MoveInput2,
|
|
10
10
|
OpenCodeTools: () => exports_opencode,
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin2,
|
|
12
12
|
RenameInput: () => RenameInput2
|
|
13
13
|
});
|
|
14
14
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
|
|
|
64
64
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
65
65
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
66
66
|
});
|
|
67
|
-
var
|
|
67
|
+
var Plugin2 = {
|
|
68
68
|
id: "opencode.tools",
|
|
69
69
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
70
70
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -161,4 +161,4 @@ var Plugin10 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin2, exports_opencode };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./permission-k3c624dm.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./permission-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service65,
|
|
17
|
+
node69
|
|
18
|
+
} from "./permission-hrc132h6.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
Service73,
|
|
21
21
|
node77
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./permission-4e8vs6eh.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./permission-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./permission-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content3,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error2,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service37,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node40
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content3, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service37 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service73;
|
|
58
|
+
const image = yield* Service65;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service37.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node40 = makeLocationNode({
|
|
277
|
+
service: Service37,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [node77,
|
|
279
|
+
deps: [node77, node69]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service37, node40, exports_tool, CallID2, Content3, Error2, FileContent3, TextContent2 };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./permission-6wqy65qz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service54,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./permission-r77b2m1r.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service53
|
|
11
|
+
} from "./permission-y4b04j0c.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service69
|
|
14
|
+
} from "./permission-4xnt7k9y.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service38
|
|
17
|
+
} from "./permission-b1n6ja2s.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./permission-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./permission-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input12,
|
|
29
|
+
Output: () => Output8,
|
|
30
|
+
Plugin: () => Plugin13,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name12,
|
|
33
|
+
toModelContent: () => toModelContent6
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name12 = "write";
|
|
39
|
+
var Input12 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output8 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin13 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service38;
|
|
56
|
+
const fileMutation = yield* Service54;
|
|
57
|
+
const environment = yield* Service55;
|
|
58
|
+
const formatter = yield* Service53;
|
|
59
|
+
const permission = yield* Service69;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name12,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input12,
|
|
69
|
+
output: Output8,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name12, Input12, Output8, toModelContent6, Plugin13, exports_write };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigFormatterV1: () =>
|
|
6
|
+
var exports_formatter2 = {};
|
|
7
|
+
__export(exports_formatter2, {
|
|
8
|
+
ConfigFormatterV1: () => exports_formatter2,
|
|
9
9
|
Entry: () => Entry3,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info10
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
13
|
var Entry3 = Schema.Struct({
|
|
@@ -16,6 +16,6 @@ var Entry3 = Schema.Struct({
|
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info10 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
|
|
20
20
|
|
|
21
|
-
export { Entry3,
|
|
21
|
+
export { Entry3, Info10, exports_formatter2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service27,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer13,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node31
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service27 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service27, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service34, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service27.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node31 = makeGlobalNode({ service: Service27, layer: layer13, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service27, makeLayer2, layer13, node31, exports_model_transport };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID5,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-rje43y6s.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID4,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info18,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-km4mv4cc.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./permission-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models = {};
|
|
17
|
+
__export(exports_models, {
|
|
18
|
+
ModalModels: () => exports_models,
|
|
19
|
+
derive: () => derive2,
|
|
20
|
+
get: () => get2,
|
|
21
|
+
load: () => load2
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID5.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get2(baseURL, apiKey, existing) {
|
|
58
|
+
return derive2(baseURL, await load2(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load2(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load3(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive2(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID4.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID4.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info18.make({
|
|
98
|
+
...Info18.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID4.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-sgezmp4m.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80,
|
|
9
9
|
node84
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-qn3da4hs.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service69,
|
|
13
13
|
node73
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./permission-4xnt7k9y.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./permission-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service38,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node41,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service38 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
60
|
const location = yield* Service80;
|
|
61
|
-
const permission = yield*
|
|
61
|
+
const permission = yield* Service69;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service38.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node41 = makeLocationNode({ service: Service38, layer, deps: [FSUtil.node, node84, node73] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service38, resolvePath2, node41, exports_file_access };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./permission-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./permission-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-f59qmhat.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|