@opencode/core 0.0.0-dev-20006 → 0.0.0-dev-20010
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/chunks/{image-w9tg0pj8.js → file-access-05dyq9yx.js} +7 -7
- package/dist/chunks/{image-y48wrjg8.js → file-access-08atjc0y.js} +21 -21
- package/dist/chunks/{image-1sb7p0dt.js → file-access-09nm2wmq.js} +13 -13
- package/dist/chunks/{image-5z5bvwse.js → file-access-0a692sth.js} +31 -31
- package/dist/chunks/{image-4kgn5hht.js → file-access-0ehystez.js} +6 -6
- package/dist/chunks/{image-qmsdj5ty.js → file-access-0fp6vpq7.js} +38 -38
- package/dist/chunks/{image-0paq2nw3.js → file-access-0paq2nw3.js} +1 -1
- package/dist/chunks/{image-0q0f95c6.js → file-access-0q0f95c6.js} +1 -1
- package/dist/chunks/{image-5pwncfkc.js → file-access-0rn0af91.js} +22 -22
- package/dist/chunks/{image-bg8akm6q.js → file-access-0t1q9tjc.js} +81 -81
- package/dist/chunks/{image-t9zs3egg.js → file-access-0v53mg2y.js} +4 -4
- package/dist/chunks/{image-3mg2z7dk.js → file-access-11vq80p7.js} +29 -29
- package/dist/chunks/{image-x5c3aeq5.js → file-access-15nepkqg.js} +8 -8
- package/dist/chunks/{image-3pbjq009.js → file-access-16cax9zb.js} +8 -8
- package/dist/chunks/{image-9nn0v0s4.js → file-access-19m0af1m.js} +8 -8
- package/dist/chunks/{image-r8xr0va3.js → file-access-1acjjqhc.js} +4 -4
- package/dist/chunks/{image-w0xzj0tq.js → file-access-1bnjjx40.js} +27 -27
- package/dist/chunks/{image-c6wxt469.js → file-access-1cj8gcbx.js} +16 -16
- package/dist/chunks/{image-1dazxqgg.js → file-access-1dazxqgg.js} +2 -2
- package/dist/chunks/{image-2cyrvn8x.js → file-access-1jtbg6c9.js} +14 -14
- package/dist/chunks/{image-c9ttrcnj.js → file-access-20pzmj15.js} +14 -14
- package/dist/chunks/{image-21r38tys.js → file-access-21r38tys.js} +1 -1
- package/dist/chunks/{image-g169rf3a.js → file-access-227994hr.js} +32 -32
- package/dist/chunks/{image-2402vzrj.js → file-access-2402vzrj.js} +1 -1
- package/dist/chunks/{image-562q7wbc.js → file-access-24ct3y2e.js} +3 -3
- package/dist/chunks/{image-bczcn6w4.js → file-access-288g8677.js} +4 -4
- package/dist/chunks/{image-2a5m3afh.js → file-access-2a5m3afh.js} +1 -1
- package/dist/chunks/{image-3w0fmcng.js → file-access-2f0bjgcj.js} +5 -5
- package/dist/chunks/{image-vjqycgcg.js → file-access-2h0wcn0e.js} +11 -11
- package/dist/chunks/{image-mtfpdj4s.js → file-access-2hcvc8f1.js} +17 -17
- package/dist/chunks/{image-ghyv0by5.js → file-access-2ktg6p98.js} +16 -16
- package/dist/chunks/{image-9v1mpwvv.js → file-access-2xszf6tt.js} +30 -30
- package/dist/chunks/{image-smqvnbx5.js → file-access-317cfnqd.js} +11 -11
- package/dist/chunks/{image-3kpaa0td.js → file-access-34e0h94d.js} +3 -3
- package/dist/chunks/{image-d6nyrcj2.js → file-access-34ptww8y.js} +85 -85
- package/dist/chunks/{image-4j3qm3aa.js → file-access-37svwymz.js} +13 -13
- package/dist/chunks/{image-z6qfc3y3.js → file-access-3dap0f8b.js} +24 -24
- package/dist/chunks/{image-56b3zt1s.js → file-access-3emr59yt.js} +8 -8
- package/dist/chunks/{image-3fc6dm20.js → file-access-3fc6dm20.js} +1 -1
- package/dist/chunks/{image-hc4fnx3k.js → file-access-3hdyanjz.js} +4 -4
- package/dist/chunks/{image-3hepkmqq.js → file-access-3hepkmqq.js} +1 -1
- package/dist/chunks/{image-3smtnn6g.js → file-access-3smtnn6g.js} +1 -1
- package/dist/chunks/{image-3tvqynh2.js → file-access-3tvqynh2.js} +1 -1
- package/dist/chunks/{image-ghz97e63.js → file-access-46a1trkr.js} +16 -16
- package/dist/chunks/{image-v8qha12t.js → file-access-48qh5hqp.js} +8 -8
- package/dist/chunks/{image-m0r31qfn.js → file-access-4bm5ja14.js} +4 -4
- package/dist/chunks/file-access-4cm67rrf.js +26 -0
- package/dist/chunks/{image-yawka9q3.js → file-access-4dzg40rw.js} +15 -15
- package/dist/chunks/{image-ccjm5jwm.js → file-access-4f0fby6w.js} +2 -2
- package/dist/chunks/{image-zt9p3yjk.js → file-access-4s1tnqdt.js} +9 -9
- package/dist/chunks/{image-6azszf0a.js → file-access-4sy0vzp4.js} +9 -9
- package/dist/chunks/{image-33w4ejhs.js → file-access-56gdpj1q.js} +6 -6
- package/dist/chunks/{image-57ez7d0k.js → file-access-57ez7d0k.js} +2 -2
- package/dist/chunks/{image-9kzkn7eg.js → file-access-58mcmt77.js} +25 -25
- package/dist/chunks/{image-5daktx2q.js → file-access-5daktx2q.js} +1 -1
- package/dist/chunks/{image-5ekn9679.js → file-access-5ekn9679.js} +1 -1
- package/dist/chunks/{image-5qtcqs7h.js → file-access-5q8gz8g4.js} +24 -24
- package/dist/chunks/{image-xdrba4jw.js → file-access-5rnnm2b5.js} +8 -8
- package/dist/chunks/{image-5t3nmthw.js → file-access-5t3nmthw.js} +2 -2
- package/dist/chunks/{image-2wjfht85.js → file-access-5ww8yrxx.js} +23 -23
- package/dist/chunks/file-access-619r8v3y.js +18 -0
- package/dist/chunks/{image-msrm0et3.js → file-access-658p8faw.js} +4 -4
- package/dist/chunks/{image-10exa8s0.js → file-access-65jejx4v.js} +13 -13
- package/dist/chunks/{image-669tq793.js → file-access-669tq793.js} +1 -1
- package/dist/chunks/{image-w3encw62.js → file-access-6enf0aw0.js} +3 -3
- package/dist/chunks/{image-kgknqqx1.js → file-access-6gxdng4p.js} +26 -26
- package/dist/chunks/{image-6msgmcgs.js → file-access-6msgmcgs.js} +1 -1
- package/dist/chunks/{image-spcdvtsy.js → file-access-6tw2ysqh.js} +8 -8
- package/dist/chunks/{image-c1g2sg74.js → file-access-6vnhfzx9.js} +6 -6
- package/dist/chunks/{image-1bbkgx8g.js → file-access-73tb2d7t.js} +3 -3
- package/dist/chunks/{image-zww8syw5.js → file-access-752w5jz5.js} +25 -25
- package/dist/chunks/{image-mksgfzgs.js → file-access-768gsh1v.js} +3 -3
- package/dist/chunks/{image-9nkdv7c2.js → file-access-773wjt79.js} +10 -10
- package/dist/chunks/{image-en6ej7pb.js → file-access-78c73d7g.js} +23 -23
- package/dist/chunks/{image-7bmhse3q.js → file-access-7bmhse3q.js} +1 -1
- package/dist/chunks/{image-c65bk09p.js → file-access-7gy38z07.js} +24 -24
- package/dist/chunks/{image-173cpqtx.js → file-access-7hcsbk7e.js} +41 -41
- package/dist/chunks/{image-6w5959sb.js → file-access-7pbtkrdy.js} +3 -3
- package/dist/chunks/{image-vfd4qxz2.js → file-access-7v5p2n78.js} +13 -13
- package/dist/chunks/{image-6h8hy4mr.js → file-access-7v8yt572.js} +15 -15
- package/dist/chunks/{image-7pas1d4n.js → file-access-7x3ymcnd.js} +12 -12
- package/dist/chunks/{image-c6tkka2d.js → file-access-859wm560.js} +24 -24
- package/dist/chunks/{image-4w5f3qm5.js → file-access-8ank75fn.js} +8 -8
- package/dist/chunks/{image-8d7r5vzw.js → file-access-8d7r5vzw.js} +1 -1
- package/dist/chunks/{image-89kyrcsf.js → file-access-8g6xxsrk.js} +15 -15
- package/dist/chunks/{image-29eyaswh.js → file-access-8jq0bfkk.js} +5 -5
- package/dist/chunks/{image-kaj3fc1v.js → file-access-8na3c29k.js} +11 -11
- package/dist/chunks/{image-dj2t23y0.js → file-access-8p4f9s12.js} +2 -2
- package/dist/chunks/{image-69h1251q.js → file-access-8ra6m1eq.js} +14 -14
- package/dist/chunks/{image-pjx495pd.js → file-access-90t26j8x.js} +17 -17
- package/dist/chunks/{image-bsf00r8m.js → file-access-919h9xp7.js} +36 -36
- package/dist/chunks/{image-wedyt5kt.js → file-access-91zmhnyh.js} +42 -42
- package/dist/chunks/{image-g52y0c92.js → file-access-93syhrr0.js} +10 -10
- package/dist/chunks/{image-prmgem5b.js → file-access-93ygb5af.js} +6 -6
- package/dist/chunks/{image-x5xthkqs.js → file-access-9a0fsf8a.js} +5 -5
- package/dist/chunks/{image-pf65k87v.js → file-access-9namg634.js} +25 -25
- package/dist/chunks/{image-n76j5b51.js → file-access-9pk0fx53.js} +5 -5
- package/dist/chunks/{image-5c4hm403.js → file-access-a1bz86dw.js} +3 -3
- package/dist/chunks/{image-n3p8zf4b.js → file-access-a8mbncqe.js} +16 -16
- package/dist/chunks/{image-aaet6srn.js → file-access-aaet6srn.js} +2 -2
- package/dist/chunks/{image-x2aneysw.js → file-access-aah9qcnd.js} +10 -10
- package/dist/chunks/{image-rwm5vee1.js → file-access-afdssyjb.js} +4 -4
- package/dist/chunks/{image-a492eg67.js → file-access-afknyawd.js} +12 -12
- package/dist/chunks/{image-ssdqnhy0.js → file-access-ag580yac.js} +4 -4
- package/dist/chunks/{image-r9w3djhf.js → file-access-b0dgvpy7.js} +9 -9
- package/dist/chunks/{image-7qhv4691.js → file-access-b4qmmyek.js} +8 -8
- package/dist/chunks/{image-b6gygkdw.js → file-access-b6gygkdw.js} +2 -2
- package/dist/chunks/{image-zj09a0ew.js → file-access-bjn91642.js} +4 -4
- package/dist/chunks/{image-4sy14yqe.js → file-access-bjwsxpgk.js} +20 -20
- package/dist/chunks/{image-51vapca8.js → file-access-bk7qdt7s.js} +14 -14
- package/dist/chunks/{image-41jpfm3y.js → file-access-bqm04z8x.js} +6 -6
- package/dist/chunks/{image-30vt497d.js → file-access-bvsk2pep.js} +20 -20
- package/dist/chunks/{image-8fyyqzq4.js → file-access-bxs86mwm.js} +23 -23
- package/dist/chunks/{image-mrfxdnhj.js → file-access-c6e7fcwh.js} +19 -19
- package/dist/chunks/{image-m0jqrx5p.js → file-access-cfpkc3c9.js} +2 -2
- package/dist/chunks/{image-kmzbkppp.js → file-access-cgq8fjpr.js} +9 -9
- package/dist/chunks/{image-ahk0vccf.js → file-access-cjh1af7b.js} +33 -33
- package/dist/chunks/{image-r9np7b10.js → file-access-cjwredg8.js} +17 -17
- package/dist/chunks/{image-2zve5a08.js → file-access-cka7hfyn.js} +25 -25
- package/dist/chunks/{image-czfptnv9.js → file-access-cmwkp3r5.js} +6 -6
- package/dist/chunks/{image-7ac170kv.js → file-access-cq37gk0t.js} +4 -4
- package/dist/chunks/{image-b27vhd2z.js → file-access-d216944b.js} +7 -7
- package/dist/chunks/{image-cpneeje0.js → file-access-d4he2qe1.js} +5 -5
- package/dist/chunks/{image-v2d4nfg6.js → file-access-dp0d7rq6.js} +67 -67
- package/dist/chunks/{image-ehvx6czw.js → file-access-dwzbgcev.js} +3 -3
- package/dist/chunks/{image-xycsd9rr.js → file-access-dzbt8m9q.js} +33 -33
- package/dist/chunks/{image-vvx4scmw.js → file-access-e0833qeh.js} +21 -21
- package/dist/chunks/{image-47fdfwyn.js → file-access-e0bnrhje.js} +168 -168
- package/dist/chunks/{image-cvgmfefw.js → file-access-e37h8kwf.js} +12 -12
- package/dist/chunks/{image-0r7yqxbf.js → file-access-e6hmchc5.js} +5 -5
- package/dist/chunks/{image-ef5x83kb.js → file-access-ef5x83kb.js} +1 -1
- package/dist/chunks/{image-5h461sw9.js → file-access-ehatyybc.js} +8 -8
- package/dist/chunks/{image-j14qg5xv.js → file-access-eqncpqrf.js} +18 -18
- package/dist/chunks/{image-erw5rpbs.js → file-access-erw5rpbs.js} +2 -2
- package/dist/chunks/{image-etq0c3wd.js → file-access-etq0c3wd.js} +1 -1
- package/dist/chunks/{image-zqdbm9z2.js → file-access-etqc4x7c.js} +5 -5
- package/dist/chunks/{image-hdnk95c8.js → file-access-f828m53h.js} +2 -2
- package/dist/chunks/{image-0dq2z8tv.js → file-access-fk0e1y1r.js} +9 -9
- package/dist/chunks/{image-4yc7rcx0.js → file-access-frrq0hd0.js} +4 -4
- package/dist/chunks/{image-pfm0qd87.js → file-access-fs40rkt5.js} +43 -43
- package/dist/chunks/{image-3a46yhs1.js → file-access-fsx03azj.js} +7 -7
- package/dist/chunks/{image-am88kmff.js → file-access-fz4sbwmc.js} +21 -21
- package/dist/chunks/{image-f3ngv102.js → file-access-g190xswt.js} +4 -4
- package/dist/chunks/{image-gd4qta3r.js → file-access-gd4qta3r.js} +1 -1
- package/dist/chunks/{image-607q5haz.js → file-access-gmjq4p6e.js} +5 -5
- package/dist/chunks/{image-nw24pgk5.js → file-access-gnr28544.js} +43 -43
- package/dist/chunks/{image-mwjwfxbw.js → file-access-gsads2be.js} +16 -16
- package/dist/chunks/{image-gv6a8nnw.js → file-access-gv6a8nnw.js} +2 -2
- package/dist/chunks/{image-rmp6454a.js → file-access-h5kmmphm.js} +5 -5
- package/dist/chunks/{image-h6vf3j39.js → file-access-h6vf3j39.js} +1 -1
- package/dist/chunks/{image-v5wa63ar.js → file-access-h99jmrd9.js} +10 -10
- package/dist/chunks/{image-t3jy044j.js → file-access-hdp5644h.js} +20 -20
- package/dist/chunks/{image-ky1wqy4d.js → file-access-hf63qasg.js} +6 -6
- package/dist/chunks/{image-a3r4dcrj.js → file-access-hkagk5ex.js} +2 -2
- package/dist/chunks/{image-2r47jwp9.js → file-access-hkdbkshs.js} +13 -13
- package/dist/chunks/{image-q5jh1fb4.js → file-access-hntp1kvn.js} +1 -1
- package/dist/chunks/{image-askrbw57.js → file-access-hzzc25wh.js} +11 -11
- package/dist/chunks/{image-j56e64zr.js → file-access-j56e64zr.js} +1 -1
- package/dist/chunks/{image-daz99daz.js → file-access-jcvejxbn.js} +4 -4
- package/dist/chunks/{image-mqjt19q2.js → file-access-jqe22faw.js} +18 -18
- package/dist/chunks/{image-8d4xtxp9.js → file-access-jvv9dx74.js} +6 -6
- package/dist/chunks/{image-hwk6cm66.js → file-access-jx3n259w.js} +27 -27
- package/dist/chunks/{image-h00wc835.js → file-access-k100k1x5.js} +9 -9
- package/dist/chunks/{image-rx7459vr.js → file-access-k16yeph6.js} +23 -23
- package/dist/chunks/{image-nzks3jc8.js → file-access-k3c624dm.js} +3 -3
- package/dist/chunks/{image-knb7evpn.js → file-access-k9kj6xed.js} +6 -6
- package/dist/chunks/{image-186v3xpn.js → file-access-kdjb3rjh.js} +12 -12
- package/dist/chunks/{image-d897rehy.js → file-access-km8beb5j.js} +13 -13
- package/dist/chunks/{image-d2w700dw.js → file-access-kr1sqef6.js} +17 -17
- package/dist/chunks/{image-74csta2h.js → file-access-ktvn187s.js} +17 -17
- package/dist/chunks/{image-vvw75pzs.js → file-access-kw7v9xqj.js} +19 -19
- package/dist/chunks/{image-yw7cjn17.js → file-access-kzp8v912.js} +6 -6
- package/dist/chunks/{image-m3fdjcah.js → file-access-m3fdjcah.js} +1 -1
- package/dist/chunks/{image-xpknqd88.js → file-access-m9rhymkd.js} +39 -39
- package/dist/chunks/{image-m9w0rfyh.js → file-access-m9w0rfyh.js} +1 -1
- package/dist/chunks/{image-vpcr0tzx.js → file-access-mgj6pkkf.js} +24 -24
- package/dist/chunks/{image-nxsy2y7z.js → file-access-mgmtwba2.js} +5 -5
- package/dist/chunks/{image-2s2nkvc8.js → file-access-mgtp0e10.js} +25 -25
- package/dist/chunks/{image-z1a1r82q.js → file-access-mpgs1ntc.js} +49 -49
- package/dist/chunks/{image-xc182qv4.js → file-access-mvgpk1ca.js} +22 -22
- package/dist/chunks/{image-xzpgrndz.js → file-access-n7xygqpe.js} +8 -8
- package/dist/chunks/{image-0wqqq2fr.js → file-access-n9ne1b93.js} +11 -11
- package/dist/chunks/{image-w7pqkv4e.js → file-access-nazk6ep5.js} +17 -17
- package/dist/chunks/{image-fjq2xkn5.js → file-access-nc0692wd.js} +4 -4
- package/dist/chunks/{image-jexxy024.js → file-access-ndmv45hp.js} +3 -3
- package/dist/chunks/{image-h7ygw6q4.js → file-access-nq7qbqzc.js} +5 -5
- package/dist/chunks/{image-h6r3nrb9.js → file-access-nzyhnfxz.js} +4 -4
- package/dist/chunks/{image-y6cmh0fw.js → file-access-p04pkz1c.js} +18 -18
- package/dist/chunks/{image-j9jbccy5.js → file-access-p2fa2w79.js} +9 -9
- package/dist/chunks/{image-938vt2d6.js → file-access-p38vwk10.js} +26 -26
- package/dist/chunks/{image-nwj13746.js → file-access-pber7c1w.js} +15 -15
- package/dist/chunks/{image-hkfg6fzm.js → file-access-pecb0brz.js} +5 -5
- package/dist/chunks/{image-6y6gh17j.js → file-access-pgrdd2ve.js} +11 -11
- package/dist/chunks/{image-pjvnvgmy.js → file-access-pjvnvgmy.js} +1 -1
- package/dist/chunks/{image-pknna89w.js → file-access-pknna89w.js} +1 -1
- package/dist/chunks/{image-bm8h0423.js → file-access-pn68zg67.js} +11 -11
- package/dist/chunks/{image-3jfaqhpt.js → file-access-pszv7358.js} +29 -29
- package/dist/chunks/{image-y2h1vj9s.js → file-access-pwn9j9sb.js} +2 -2
- package/dist/chunks/{image-rpk92v1f.js → file-access-pz1h63jt.js} +20 -20
- package/dist/chunks/file-access-qapv375x.js +4 -0
- package/dist/chunks/{image-3de8jbpy.js → file-access-qc7betj8.js} +22 -22
- package/dist/chunks/{image-k0pwyxrd.js → file-access-qfgq1c71.js} +1 -1
- package/dist/chunks/{image-7dqw4kz8.js → file-access-qgn6gcr1.js} +5 -5
- package/dist/chunks/{image-v3sgzvyr.js → file-access-qjxevsft.js} +1 -1
- package/dist/chunks/file-access-qr6m8t0g.js +252 -0
- package/dist/chunks/{image-qsdy395h.js → file-access-qsdy395h.js} +1 -1
- package/dist/chunks/{image-m3c3c009.js → file-access-qtqgfzev.js} +14 -14
- package/dist/chunks/{image-ef9gv310.js → file-access-qx03bd0a.js} +11 -11
- package/dist/chunks/{image-4z914n5c.js → file-access-r036svgx.js} +11 -11
- package/dist/chunks/{image-f8qe00s5.js → file-access-r0pc2tt6.js} +25 -25
- package/dist/chunks/{image-kxpygcw9.js → file-access-r33ff4dw.js} +6 -6
- package/dist/chunks/{image-g0kyh3qv.js → file-access-raf9h2ts.js} +10 -10
- package/dist/chunks/{image-rdw6cm16.js → file-access-rdw6cm16.js} +1 -1
- package/dist/chunks/{image-dfvycwty.js → file-access-rf3sv4f6.js} +52 -52
- package/dist/chunks/{image-s8d7rejh.js → file-access-rhjbct0v.js} +4 -4
- package/dist/chunks/{image-kkgqwbhz.js → file-access-rjzssajw.js} +8 -8
- package/dist/chunks/{image-v6ghzfeb.js → file-access-rmk2c50f.js} +5 -5
- package/dist/chunks/{image-etzz3kcr.js → file-access-rtathh62.js} +8 -8
- package/dist/chunks/{image-0hbc4pey.js → file-access-rxvrk031.js} +22 -22
- package/dist/chunks/{image-d0db64mf.js → file-access-s2tvr5dg.js} +9 -9
- package/dist/chunks/{image-zby6yqdy.js → file-access-satvg6hp.js} +7 -7
- package/dist/chunks/{image-wachdqys.js → file-access-saye24w9.js} +4 -4
- package/dist/chunks/{image-7c1v976m.js → file-access-sg3e8ft2.js} +24 -24
- package/dist/chunks/{image-d94r6qj5.js → file-access-sng8r1vf.js} +24 -24
- package/dist/chunks/{image-z7vss07q.js → file-access-sqm52wn7.js} +13 -13
- package/dist/chunks/{image-71mkcn1r.js → file-access-t48g49hr.js} +11 -11
- package/dist/chunks/{image-ayy92s6e.js → file-access-t6r7h21p.js} +13 -13
- package/dist/chunks/{image-tazgh4e4.js → file-access-tazgh4e4.js} +1 -1
- package/dist/chunks/{image-p28j5sbe.js → file-access-tbz0fdvh.js} +5 -5
- package/dist/chunks/{image-tcezcvh9.js → file-access-tcezcvh9.js} +1 -1
- package/dist/chunks/{image-tdstcens.js → file-access-tdstcens.js} +1 -1
- package/dist/chunks/{image-331knf88.js → file-access-tgcdz44n.js} +32 -32
- package/dist/chunks/{image-tvtrv512.js → file-access-tvtrv512.js} +1 -1
- package/dist/chunks/{image-z8n9wp4m.js → file-access-tzqjevm8.js} +9 -9
- package/dist/chunks/{image-vhmj078x.js → file-access-v6ndbskd.js} +13 -13
- package/dist/chunks/{image-sczk8sc9.js → file-access-v6zy1qsv.js} +7 -7
- package/dist/chunks/{image-gaq06wk0.js → file-access-v76by4bg.js} +6 -6
- package/dist/chunks/{image-veqvce7d.js → file-access-veqvce7d.js} +1 -1
- package/dist/chunks/{image-9cj48zab.js → file-access-vrz7xrs5.js} +20 -20
- package/dist/chunks/{image-6qv2tz5h.js → file-access-vs2tehdm.js} +3 -3
- package/dist/chunks/{image-6vzndrx9.js → file-access-vt0e9y1w.js} +16 -16
- package/dist/chunks/{image-qq8x5mwt.js → file-access-vyqn3nqs.js} +6 -6
- package/dist/chunks/{image-vzcthcp8.js → file-access-vzcthcp8.js} +1 -1
- package/dist/chunks/{image-w3wsvvr9.js → file-access-w3wsvvr9.js} +1 -1
- package/dist/chunks/{image-wd87259q.js → file-access-wd87259q.js} +1 -1
- package/dist/chunks/{image-mw6hmxw7.js → file-access-wfxxyxds.js} +12 -12
- package/dist/chunks/{image-8dar51kt.js → file-access-wn8y6sgg.js} +15 -15
- package/dist/chunks/{image-ybhbtxjg.js → file-access-wrmrmykr.js} +6 -6
- package/dist/chunks/{image-6p6ynqbb.js → file-access-wrtjp1mn.js} +26 -26
- package/dist/chunks/{image-mxg9zmwk.js → file-access-wvmhvm0m.js} +26 -26
- package/dist/chunks/{image-4zks2f0q.js → file-access-x0f4f0m1.js} +5 -5
- package/dist/chunks/{image-x1ezjp6w.js → file-access-x1ezjp6w.js} +1 -1
- package/dist/chunks/{image-drwq78ky.js → file-access-xfkkasph.js} +4 -4
- package/dist/chunks/{image-ctcwtzvf.js → file-access-xm5295m0.js} +4 -4
- package/dist/chunks/{image-tbe0yh0n.js → file-access-xn76h8hp.js} +20 -20
- package/dist/chunks/{image-ydz4e7k1.js → file-access-xs2bmay3.js} +11 -11
- package/dist/chunks/{image-ba5nqppt.js → file-access-xxseqtyh.js} +20 -20
- package/dist/chunks/{image-y1fvbwt7.js → file-access-y1fvbwt7.js} +1 -1
- package/dist/chunks/{image-wwbsa95s.js → file-access-y5phfrgc.js} +9 -9
- package/dist/chunks/{image-dpkg50ah.js → file-access-y71avatq.js} +4 -4
- package/dist/chunks/{image-hjkzpa7r.js → file-access-y8qxa0m2.js} +305 -305
- package/dist/chunks/{image-vnm9krcg.js → file-access-y97z94ck.js} +14 -14
- package/dist/chunks/{image-g1ehtde2.js → file-access-ybh0q6je.js} +47 -47
- package/dist/chunks/{image-tghr4gv7.js → file-access-ycrtq78m.js} +33 -33
- package/dist/chunks/{image-x8cycxf4.js → file-access-ydgy0jv4.js} +6 -6
- package/dist/chunks/{image-t2xq3ndf.js → file-access-ymmys65e.js} +14 -14
- package/dist/chunks/{image-wrpf7kpx.js → file-access-ynp3axf3.js} +5 -5
- package/dist/chunks/{image-yrhqyw5v.js → file-access-yrhqyw5v.js} +1 -1
- package/dist/chunks/{image-t336cqnw.js → file-access-yrpnr2zj.js} +27 -27
- package/dist/chunks/{image-yrznvahk.js → file-access-yrznvahk.js} +2 -2
- package/dist/chunks/{image-0kem7bvd.js → file-access-ywyg2maf.js} +42 -42
- package/dist/chunks/{image-z0bkrqjs.js → file-access-z0bkrqjs.js} +1 -1
- package/dist/chunks/{image-pccj551n.js → file-access-z2cgntw0.js} +5 -5
- package/dist/chunks/{image-5bd42syd.js → file-access-z3yhsc05.js} +27 -27
- package/dist/chunks/{image-z63w68vq.js → file-access-z63w68vq.js} +2 -2
- package/dist/chunks/{image-4a6jpjer.js → file-access-zd30eb5w.js} +5 -5
- package/dist/chunks/{image-zeh9ct20.js → file-access-zeh9ct20.js} +2 -2
- package/dist/chunks/{image-g506jvv0.js → file-access-zfp10n8z.js} +11 -11
- package/dist/chunks/{image-ed90htb6.js → file-access-zh7rgrks.js} +15 -15
- package/dist/chunks/{image-t0wvvjy4.js → file-access-zkx33n4v.js} +9 -9
- package/dist/chunks/{image-zr2ceqn5.js → file-access-zr2ceqn5.js} +1 -1
- package/dist/chunks/{image-hzam0k1f.js → file-access-zx4azftj.js} +10 -10
- package/dist/chunks/{image-5pnw7v32.js → file-access-zx7j3hav.js} +33 -33
- package/dist/chunks/{image-zxq2ej10.js → file-access-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- 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 +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- 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 +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- 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 +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- 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 +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/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 +3 -3
- 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 +93 -93
- 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 +4 -4
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +105 -105
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +98 -98
- 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 +4 -4
- 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 +3 -3
- 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 +131 -131
- 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 +101 -101
- package/dist/mcp/instructions.js +125 -125
- 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 +95 -95
- package/dist/model.js +99 -99
- package/dist/models-dev.js +100 -100
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- 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 +5 -5
- 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 +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- 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 +123 -123
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- 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 +125 -125
- 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 +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- 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 +219 -219
- 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 +7 -7
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +122 -122
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +113 -113
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- 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 +16 -16
- 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 +5 -5
- 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 +5 -5
- 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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/image-6kdq0pjd.js +0 -4
- package/dist/chunks/image-mj9f1fhh.js +0 -252
- package/dist/chunks/image-qc068m1q.js +0 -18
- package/dist/chunks/image-rzyd1vqx.js +0 -26
- /package/dist/chunks/{image-0qkdqm5v.js → file-access-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{image-0zkw76rk.js → file-access-0zkw76rk.js} +0 -0
- /package/dist/chunks/{image-17cy0kzp.js → file-access-17cy0kzp.js} +0 -0
- /package/dist/chunks/{image-1cnp2v09.js → file-access-1cnp2v09.js} +0 -0
- /package/dist/chunks/{image-1kg9ymc8.js → file-access-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{image-24dcb14g.js → file-access-24dcb14g.js} +0 -0
- /package/dist/chunks/{image-2710q6r3.js → file-access-2710q6r3.js} +0 -0
- /package/dist/chunks/{image-2axfhc9x.js → file-access-2axfhc9x.js} +0 -0
- /package/dist/chunks/{image-2c3vjs8z.js → file-access-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{image-359p4xyc.js → file-access-359p4xyc.js} +0 -0
- /package/dist/chunks/{image-3asan66x.js → file-access-3asan66x.js} +0 -0
- /package/dist/chunks/{image-3v8g72cx.js → file-access-3v8g72cx.js} +0 -0
- /package/dist/chunks/{image-3w5fmr99.js → file-access-3w5fmr99.js} +0 -0
- /package/dist/chunks/{image-3wcehsnq.js → file-access-3wcehsnq.js} +0 -0
- /package/dist/chunks/{image-43n2bw4t.js → file-access-43n2bw4t.js} +0 -0
- /package/dist/chunks/{image-4knz6hnm.js → file-access-4knz6hnm.js} +0 -0
- /package/dist/chunks/{image-4vcrnpx2.js → file-access-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{image-4y7fprxs.js → file-access-4y7fprxs.js} +0 -0
- /package/dist/chunks/{image-53557ph1.js → file-access-53557ph1.js} +0 -0
- /package/dist/chunks/{image-550bvhaj.js → file-access-550bvhaj.js} +0 -0
- /package/dist/chunks/{image-5qd3pb7m.js → file-access-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{image-6prwharc.js → file-access-6prwharc.js} +0 -0
- /package/dist/chunks/{image-7akdwqpd.js → file-access-7akdwqpd.js} +0 -0
- /package/dist/chunks/{image-7m9af43g.js → file-access-7m9af43g.js} +0 -0
- /package/dist/chunks/{image-822emrt2.js → file-access-822emrt2.js} +0 -0
- /package/dist/chunks/{image-88xbtdfr.js → file-access-88xbtdfr.js} +0 -0
- /package/dist/chunks/{image-8n3pysct.js → file-access-8n3pysct.js} +0 -0
- /package/dist/chunks/{image-922hggd3.js → file-access-922hggd3.js} +0 -0
- /package/dist/chunks/{image-9a4afbnw.js → file-access-9a4afbnw.js} +0 -0
- /package/dist/chunks/{image-9rqn6x4v.js → file-access-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{image-a6k6eb26.js → file-access-a6k6eb26.js} +0 -0
- /package/dist/chunks/{image-af5trqkr.js → file-access-af5trqkr.js} +0 -0
- /package/dist/chunks/{image-afrmfg78.js → file-access-afrmfg78.js} +0 -0
- /package/dist/chunks/{image-aqzs7mqg.js → file-access-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{image-atq7p7m5.js → file-access-atq7p7m5.js} +0 -0
- /package/dist/chunks/{image-bkyjaxrp.js → file-access-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{image-bmr6ed5q.js → file-access-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{image-cf4snx6d.js → file-access-cf4snx6d.js} +0 -0
- /package/dist/chunks/{image-cvy3z8tj.js → file-access-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{image-d9fn303g.js → file-access-d9fn303g.js} +0 -0
- /package/dist/chunks/{image-d9jj8t3e.js → file-access-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{image-dajrwvna.js → file-access-dajrwvna.js} +0 -0
- /package/dist/chunks/{image-dap0rakb.js → file-access-dap0rakb.js} +0 -0
- /package/dist/chunks/{image-df08tz66.js → file-access-df08tz66.js} +0 -0
- /package/dist/chunks/{image-dy18nga0.js → file-access-dy18nga0.js} +0 -0
- /package/dist/chunks/{image-e5kj55wp.js → file-access-e5kj55wp.js} +0 -0
- /package/dist/chunks/{image-e73j6tqm.js → file-access-e73j6tqm.js} +0 -0
- /package/dist/chunks/{image-ec1grn59.js → file-access-ec1grn59.js} +0 -0
- /package/dist/chunks/{image-eh3zwz77.js → file-access-eh3zwz77.js} +0 -0
- /package/dist/chunks/{image-emrn6kk6.js → file-access-emrn6kk6.js} +0 -0
- /package/dist/chunks/{image-f0mxakyp.js → file-access-f0mxakyp.js} +0 -0
- /package/dist/chunks/{image-f6n9ztr4.js → file-access-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{image-faypxj3z.js → file-access-faypxj3z.js} +0 -0
- /package/dist/chunks/{image-fd410y7t.js → file-access-fd410y7t.js} +0 -0
- /package/dist/chunks/{image-fxgpk5d8.js → file-access-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{image-g4wezp1m.js → file-access-g4wezp1m.js} +0 -0
- /package/dist/chunks/{image-g86h250q.js → file-access-g86h250q.js} +0 -0
- /package/dist/chunks/{image-gebd4c9n.js → file-access-gebd4c9n.js} +0 -0
- /package/dist/chunks/{image-gftt206x.js → file-access-gftt206x.js} +0 -0
- /package/dist/chunks/{image-hjbc5kem.js → file-access-hjbc5kem.js} +0 -0
- /package/dist/chunks/{image-hk9envan.js → file-access-hk9envan.js} +0 -0
- /package/dist/chunks/{image-j2ntwpah.js → file-access-j2ntwpah.js} +0 -0
- /package/dist/chunks/{image-j5zkgpj8.js → file-access-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{image-jjkms2e6.js → file-access-jjkms2e6.js} +0 -0
- /package/dist/chunks/{image-jr7sbwjy.js → file-access-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{image-jwfs4k6c.js → file-access-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{image-jzg6c2d5.js → file-access-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{image-mp448xyj.js → file-access-mp448xyj.js} +0 -0
- /package/dist/chunks/{image-msx8hqn2.js → file-access-msx8hqn2.js} +0 -0
- /package/dist/chunks/{image-n05xt0ee.js → file-access-n05xt0ee.js} +0 -0
- /package/dist/chunks/{image-n3j8tn72.js → file-access-n3j8tn72.js} +0 -0
- /package/dist/chunks/{image-njntx4h6.js → file-access-njntx4h6.js} +0 -0
- /package/dist/chunks/{image-q3sfg36h.js → file-access-q3sfg36h.js} +0 -0
- /package/dist/chunks/{image-q74kybfr.js → file-access-q74kybfr.js} +0 -0
- /package/dist/chunks/{image-qaymkmh1.js → file-access-qaymkmh1.js} +0 -0
- /package/dist/chunks/{image-qb87gjwd.js → file-access-qb87gjwd.js} +0 -0
- /package/dist/chunks/{image-qfa1cgps.js → file-access-qfa1cgps.js} +0 -0
- /package/dist/chunks/{image-qg3g05ea.js → file-access-qg3g05ea.js} +0 -0
- /package/dist/chunks/{image-qrg20bc0.js → file-access-qrg20bc0.js} +0 -0
- /package/dist/chunks/{image-rcb2kzg1.js → file-access-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{image-sdp7kfr6.js → file-access-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{image-sk3qaz4a.js → file-access-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{image-ssg3fenm.js → file-access-ssg3fenm.js} +0 -0
- /package/dist/chunks/{image-twg0f83k.js → file-access-twg0f83k.js} +0 -0
- /package/dist/chunks/{image-w803qqfp.js → file-access-w803qqfp.js} +0 -0
- /package/dist/chunks/{image-wc3fc9cn.js → file-access-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{image-wer8tq1h.js → file-access-wer8tq1h.js} +0 -0
- /package/dist/chunks/{image-wtztk69x.js → file-access-wtztk69x.js} +0 -0
- /package/dist/chunks/{image-x0ckcb58.js → file-access-x0ckcb58.js} +0 -0
- /package/dist/chunks/{image-x61499pn.js → file-access-x61499pn.js} +0 -0
- /package/dist/chunks/{image-y44na4kk.js → file-access-y44na4kk.js} +0 -0
- /package/dist/chunks/{image-y8cydn3q.js → file-access-y8cydn3q.js} +0 -0
- /package/dist/chunks/{image-y8f7s663.js → file-access-y8f7s663.js} +0 -0
- /package/dist/chunks/{image-ygaqb7jw.js → file-access-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{image-ym463w8f.js → file-access-ym463w8f.js} +0 -0
- /package/dist/chunks/{image-z9919s4g.js → file-access-z9919s4g.js} +0 -0
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./file-access-e0833qeh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service53,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-access-v6ndbskd.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service21
|
|
11
|
+
} from "./file-access-zfp10n8z.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service70
|
|
14
|
+
} from "./file-access-rf3sv4f6.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service52
|
|
17
|
+
} from "./file-access-pber7c1w.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-access-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-access-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: () => Input2,
|
|
29
|
+
Output: () => Output2,
|
|
30
|
+
Plugin: () => Plugin2,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name2,
|
|
33
|
+
toModelContent: () => toModelContent2
|
|
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 name2 = "write";
|
|
39
|
+
var Input2 = 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 Output2 = 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 toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin2 = {
|
|
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* Service52;
|
|
56
|
+
const fileMutation = yield* Service53;
|
|
57
|
+
const environment = yield* Service78;
|
|
58
|
+
const formatter = yield* Service21;
|
|
59
|
+
const permission = yield* Service70;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name2,
|
|
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: Input2,
|
|
69
|
+
output: Output2,
|
|
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: toModelContent2(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 { name2, Input2, Output2, toModelContent2, Plugin2, exports_write };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./file-access-pszv7358.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/amazon-bedrock.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -18,7 +18,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.integration.transform((editor) => {
|
|
20
20
|
editor.method.update({
|
|
21
|
-
integrationID:
|
|
21
|
+
integrationID: ID8.amazonBedrock,
|
|
22
22
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
23
23
|
});
|
|
24
24
|
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-xs2bmay3.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-access-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-access-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info18
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info18 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info18, exports_attachment };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-access-nc0692wd.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-access-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
11
|
Service80,
|
|
12
12
|
node84
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-access-pwn9j9sb.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-access-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service17,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node20
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service17 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,7 +39,7 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service83;
|
|
44
44
|
const location = yield* Service80;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service17.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node20 = makeLocationNode({ service: Service17, layer, deps: [node87, node84] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service17, node20, exports_rpc, define2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-dwzbgcev.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-nc0692wd.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service60
|
|
9
|
+
} from "./file-access-93ygb5af.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-access-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
ID4,
|
|
15
15
|
Service40
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-access-ktvn187s.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-access-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-access-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-access-wrmrmykr.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-access-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-access-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service60;
|
|
46
46
|
const database = yield* Service84;
|
|
47
47
|
const bus = yield* Service83;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
49
|
const snapshot = yield* Service40;
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service60;
|
|
78
78
|
const bus = yield* Service83;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
80
|
const snapshot = yield* Service40;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID4.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-access-nc0692wd.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-access-pwn9j9sb.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-access-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service71,
|
|
14
|
+
node74
|
|
15
|
+
} from "./file-access-y97z94ck.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-access-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service7,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node9
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,12 +32,12 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service7 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service83;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
40
|
+
const store = yield* Service71;
|
|
41
41
|
const location = yield* Service80;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service7.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node9 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node87, FSUtil.node, node84,
|
|
101
|
+
deps: [node87, FSUtil.node, node84, node74]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service7, node9, exports_instructions };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-access-gmjq4p6e.js";
|
|
8
8
|
import {
|
|
9
9
|
Slug2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-access-gebd4c9n.js";
|
|
11
11
|
import {
|
|
12
12
|
Service84,
|
|
13
13
|
node88
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-access-dwzbgcev.js";
|
|
15
15
|
import {
|
|
16
16
|
Service83,
|
|
17
17
|
node87
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-access-nc0692wd.js";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-access-8p4f9s12.js";
|
|
22
22
|
import {
|
|
23
23
|
WorktreeTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-access-cfpkc3c9.js";
|
|
25
25
|
import {
|
|
26
26
|
ID17,
|
|
27
27
|
NotFoundError11
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-access-48qh5hqp.js";
|
|
29
29
|
import {
|
|
30
30
|
Ref4
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-access-pwn9j9sb.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service62,
|
|
34
|
+
node65
|
|
35
|
+
} from "./file-access-k100k1x5.js";
|
|
36
36
|
import {
|
|
37
37
|
DirectoryUnavailableError2,
|
|
38
38
|
canonical2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./file-access-gv6a8nnw.js";
|
|
40
40
|
import {
|
|
41
41
|
make12
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./file-access-768gsh1v.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
44
|
+
Service15
|
|
45
|
+
} from "./file-access-1jtbg6c9.js";
|
|
46
46
|
import {
|
|
47
47
|
__export
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./file-access-9rqn6x4v.js";
|
|
49
49
|
|
|
50
50
|
// src/worktree.ts
|
|
51
51
|
var exports_worktree2 = {};
|
|
@@ -54,18 +54,18 @@ __export(exports_worktree2, {
|
|
|
54
54
|
DestinationExistsError: () => DestinationExistsError2,
|
|
55
55
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
56
56
|
Event: () => Event3,
|
|
57
|
-
Info: () =>
|
|
57
|
+
Info: () => Info3,
|
|
58
58
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
59
59
|
List: () => List2,
|
|
60
60
|
ListEntry: () => ListEntry3,
|
|
61
61
|
OperationError: () => OperationError2,
|
|
62
62
|
RemoveInput: () => RemoveInput2,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service14,
|
|
64
64
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
65
65
|
StrategyID: () => StrategyID2,
|
|
66
66
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
67
67
|
Worktree: () => exports_worktree2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node17
|
|
69
69
|
});
|
|
70
70
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
71
71
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -79,7 +79,7 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
|
79
79
|
var StrategyID2 = Worktree.StrategyID;
|
|
80
80
|
var CreateInput2 = Worktree.CreateInput;
|
|
81
81
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
82
|
-
var
|
|
82
|
+
var Info3 = Worktree.Info;
|
|
83
83
|
var List2 = Worktree.List;
|
|
84
84
|
var ListEntry3 = Worktree.ListEntry;
|
|
85
85
|
|
|
@@ -96,15 +96,15 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
96
96
|
}
|
|
97
97
|
var Event3 = Worktree.Event;
|
|
98
98
|
|
|
99
|
-
class
|
|
99
|
+
class Service14 extends Context.Service()("@opencode/Worktree") {
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
103
|
const database = yield* Service84;
|
|
104
104
|
const db = database.db;
|
|
105
105
|
const bus = yield* Service83;
|
|
106
106
|
const processService = yield* AppProcess.Service;
|
|
107
|
-
const locations = yield*
|
|
107
|
+
const locations = yield* Service62;
|
|
108
108
|
const gitStrategy = yield* make12;
|
|
109
109
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
110
110
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
@@ -120,7 +120,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
120
120
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
121
121
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
122
122
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
123
|
-
return Context.get(context,
|
|
123
|
+
return Context.get(context, Service15).get();
|
|
124
124
|
});
|
|
125
125
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
126
126
|
if (update)
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
253
253
|
}, Effect.scoped);
|
|
254
|
-
return
|
|
254
|
+
return Service14.of({
|
|
255
255
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
256
256
|
yield* project(input.projectID);
|
|
257
257
|
return yield* ops.list(input.projectID);
|
|
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
261
261
|
refresh
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
service:
|
|
264
|
+
var node17 = Node.makeGlobalNode({
|
|
265
|
+
service: Service14,
|
|
266
266
|
layer,
|
|
267
|
-
deps: [FSUtil.node, node86, node87, node88, AppProcess.node,
|
|
267
|
+
deps: [FSUtil.node, node86, node87, node88, AppProcess.node, node65]
|
|
268
268
|
});
|
|
269
269
|
function operationError(strategy, operation, error) {
|
|
270
270
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
|
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
export { StrategyID2, CreateInput2, RemoveInput2,
|
|
277
|
+
export { StrategyID2, CreateInput2, RemoveInput2, Info3, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event3, Service14, node17, exports_worktree2, OperationError2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-pszv7358.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-access-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service64,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node67
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
154
|
-
providerID:
|
|
154
|
+
providerID: ID8,
|
|
155
155
|
cause: Schema.Defect()
|
|
156
156
|
}) {
|
|
157
157
|
}
|
|
@@ -159,9 +159,9 @@ function initError(providerID) {
|
|
|
159
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service64 extends Context.Service()("@opencode/AISDK") {
|
|
163
163
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service64, Effect.gen(function* () {
|
|
165
165
|
let sdkHooks = [];
|
|
166
166
|
let languageHooks = [];
|
|
167
167
|
const languages = new Map;
|
|
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
return event;
|
|
201
201
|
});
|
|
202
|
-
const service =
|
|
202
|
+
const service = Service64.of({
|
|
203
203
|
hook: {
|
|
204
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -849,6 +849,6 @@ function providerErrorMessage(error) {
|
|
|
849
849
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
850
850
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
851
851
|
}
|
|
852
|
-
var
|
|
852
|
+
var node67 = makeLocationNode({ service: Service64, layer: locationLayer2, deps: [] });
|
|
853
853
|
|
|
854
|
-
export { InitError2,
|
|
854
|
+
export { InitError2, Service64, locationLayer2, node67, exports_aisdk };
|