@opencode/core 0.0.0-dev-19861 → 0.0.0-dev-19863
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 +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{app-vvzdbbdm.js → file-access-06pazpd1.js} +10 -10
- package/dist/chunks/{app-1s6r0m01.js → file-access-07xdjdg8.js} +20 -20
- package/dist/chunks/{app-v9a8k35b.js → file-access-07z80f2r.js} +43 -43
- package/dist/chunks/{app-0paq2nw3.js → file-access-0paq2nw3.js} +1 -1
- package/dist/chunks/{app-0q0f95c6.js → file-access-0q0f95c6.js} +1 -1
- package/dist/chunks/{app-nsvybq32.js → file-access-0qthdtb2.js} +36 -36
- package/dist/chunks/{app-xf8yqmad.js → file-access-11dqjexa.js} +9 -9
- package/dist/chunks/{app-yp2x3t23.js → file-access-1acjjqhc.js} +4 -4
- package/dist/chunks/{app-73tb2d7t.js → file-access-1bbkgx8g.js} +3 -3
- package/dist/chunks/{app-1dazxqgg.js → file-access-1dazxqgg.js} +2 -2
- package/dist/chunks/{app-85xe0f8m.js → file-access-1vvm1q8g.js} +25 -25
- package/dist/chunks/{app-mfqp6xfm.js → file-access-1ygqh575.js} +6 -6
- package/dist/chunks/{app-fmbxdm3g.js → file-access-21mxbb5z.js} +8 -8
- package/dist/chunks/{app-21r38tys.js → file-access-21r38tys.js} +1 -1
- package/dist/chunks/{app-6h73sxmp.js → file-access-2402vzrj.js} +5 -5
- package/dist/chunks/{app-2a5m3afh.js → file-access-2a5m3afh.js} +1 -1
- package/dist/chunks/{app-0n8krxan.js → file-access-2b61h377.js} +28 -28
- package/dist/chunks/{app-1mr1eyme.js → file-access-2ehxpneg.js} +12 -12
- package/dist/chunks/{app-z0aj456m.js → file-access-2k71kv7p.js} +4 -4
- package/dist/chunks/{app-wxv7zk66.js → file-access-2t5vnt8a.js} +5 -5
- package/dist/chunks/{app-4fra59pm.js → file-access-320sf96d.js} +15 -15
- package/dist/chunks/{app-dkhfw37f.js → file-access-32dd2556.js} +11 -11
- package/dist/chunks/{app-tvshepj5.js → file-access-33kn07h9.js} +21 -21
- package/dist/chunks/{app-qvreyy9g.js → file-access-3801kdgp.js} +5 -5
- package/dist/chunks/{app-3m48w42r.js → file-access-3e46v5sb.js} +11 -11
- package/dist/chunks/{app-3fc6dm20.js → file-access-3fc6dm20.js} +1 -1
- package/dist/chunks/{app-3hepkmqq.js → file-access-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-epkvv2f5.js → file-access-3kd4kkpe.js} +24 -24
- package/dist/chunks/{app-a7bdh8gz.js → file-access-3mkra18j.js} +77 -77
- package/dist/chunks/{app-wte5xypw.js → file-access-3r15nznh.js} +14 -14
- package/dist/chunks/{app-3smtnn6g.js → file-access-3smtnn6g.js} +1 -1
- package/dist/chunks/{app-66jergzr.js → file-access-3t104818.js} +11 -11
- package/dist/chunks/{app-xfdrc2qg.js → file-access-3tq5qxbk.js} +6 -6
- package/dist/chunks/{app-3tvqynh2.js → file-access-3tvqynh2.js} +1 -1
- package/dist/chunks/{app-zpaje10v.js → file-access-429753mr.js} +11 -11
- package/dist/chunks/{app-2cvq1298.js → file-access-4cd0e9e2.js} +11 -11
- package/dist/chunks/{app-k94qrc8k.js → file-access-4fqyk320.js} +35 -35
- package/dist/chunks/{app-sg8pmkre.js → file-access-4fxenty0.js} +23 -23
- package/dist/chunks/{app-22ad72dw.js → file-access-4r3fv45v.js} +8 -8
- package/dist/chunks/{app-hb9jrkjm.js → file-access-50ta80k7.js} +35 -35
- package/dist/chunks/{app-2qamff3n.js → file-access-539f8y6e.js} +32 -32
- package/dist/chunks/{app-ry3kwg5r.js → file-access-55bxwjz5.js} +35 -35
- package/dist/chunks/{app-57b9ws8p.js → file-access-57b9ws8p.js} +1 -1
- package/dist/chunks/{app-57ez7d0k.js → file-access-57ez7d0k.js} +2 -2
- package/dist/chunks/{app-k9av316b.js → file-access-587z1aba.js} +60 -60
- package/dist/chunks/{app-a1bz86dw.js → file-access-5c4hm403.js} +3 -3
- package/dist/chunks/{app-5daktx2q.js → file-access-5daktx2q.js} +1 -1
- package/dist/chunks/{app-x2ksegs4.js → file-access-5dkxrwgc.js} +31 -31
- package/dist/chunks/{app-pdcy4k2y.js → file-access-5hrwwz9b.js} +9 -9
- package/dist/chunks/{app-5t3nmthw.js → file-access-5t3nmthw.js} +2 -2
- package/dist/chunks/{app-7v4vhntb.js → file-access-633q10n3.js} +19 -19
- package/dist/chunks/{app-s9mmsqrc.js → file-access-65amc4wc.js} +17 -17
- package/dist/chunks/{app-669tq793.js → file-access-669tq793.js} +1 -1
- package/dist/chunks/{app-38wzhxwb.js → file-access-6br953sr.js} +4 -4
- package/dist/chunks/{app-av28j1w8.js → file-access-6f0f4x0a.js} +16 -16
- package/dist/chunks/{app-6msgmcgs.js → file-access-6msgmcgs.js} +1 -1
- package/dist/chunks/{app-m6r2z606.js → file-access-6ngywp90.js} +4 -4
- package/dist/chunks/{app-rzter2vb.js → file-access-6ra6d4eb.js} +20 -20
- package/dist/chunks/{app-rp4sb7ft.js → file-access-71wn7kdp.js} +31 -31
- package/dist/chunks/{app-a29a0jzg.js → file-access-73j3stez.js} +21 -21
- package/dist/chunks/{app-166kng33.js → file-access-73kdj4zj.js} +8 -8
- package/dist/chunks/{app-jnt1kwnr.js → file-access-749gjf0k.js} +3 -3
- package/dist/chunks/{app-rp6k66e5.js → file-access-753eeyv7.js} +20 -20
- package/dist/chunks/{app-ns15zm60.js → file-access-76eeqvp0.js} +6 -6
- package/dist/chunks/{app-qakm37pj.js → file-access-76fbbr1w.js} +38 -38
- package/dist/chunks/{app-7bmhse3q.js → file-access-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-ahp8ypm5.js → file-access-7bvyxnqv.js} +3 -3
- package/dist/chunks/{app-qgn6gcr1.js → file-access-7dqw4kz8.js} +5 -5
- package/dist/chunks/{app-9ywxax6f.js → file-access-7nag52br.js} +22 -22
- package/dist/chunks/{app-fmcqyzhx.js → file-access-7qdpe4cb.js} +9 -9
- package/dist/chunks/{app-kyrzxw1k.js → file-access-7rhez3ay.js} +13 -13
- package/dist/chunks/{app-r9763r4t.js → file-access-7vxmp99d.js} +11 -11
- package/dist/chunks/file-access-7wwxh8rt.js +252 -0
- package/dist/chunks/{app-90dayy4w.js → file-access-80vay0ye.js} +8 -8
- package/dist/chunks/{app-tvm0x603.js → file-access-83whvwx3.js} +20 -20
- package/dist/chunks/{app-gyv5e7s4.js → file-access-84b5617d.js} +10 -10
- package/dist/chunks/{app-8d7r5vzw.js → file-access-8d7r5vzw.js} +1 -1
- package/dist/chunks/{app-eag6ew45.js → file-access-8dh3tjm7.js} +5 -5
- package/dist/chunks/{app-k4bsvsx7.js → file-access-8e2h7wda.js} +9 -9
- package/dist/chunks/{app-15ghn61v.js → file-access-8jkn9f9x.js} +8 -8
- package/dist/chunks/{app-2ac6pq5r.js → file-access-8mp2c53x.js} +44 -44
- package/dist/chunks/{app-b589hzzy.js → file-access-8p86mmx1.js} +43 -43
- package/dist/chunks/{app-p7nsp59h.js → file-access-8s8mxddj.js} +4 -4
- package/dist/chunks/{app-5k0e0nr1.js → file-access-8wtbgtx1.js} +3 -3
- package/dist/chunks/{app-awyb8gv9.js → file-access-973t1awa.js} +11 -11
- package/dist/chunks/{app-vmwh049b.js → file-access-984xje6x.js} +6 -6
- package/dist/chunks/{app-n6d4p8nj.js → file-access-990r0brb.js} +46 -46
- package/dist/chunks/{app-jent2as2.js → file-access-99sjx0yd.js} +28 -28
- package/dist/chunks/{app-mx9vqzsb.js → file-access-9gea571p.js} +6 -6
- package/dist/chunks/{app-phstrbs2.js → file-access-9hn6k4tm.js} +8 -8
- package/dist/chunks/{app-7z8cwmc8.js → file-access-9z5eege9.js} +9 -9
- package/dist/chunks/{app-w8xr7nv8.js → file-access-a694798e.js} +5 -5
- package/dist/chunks/{app-aaet6srn.js → file-access-aaet6srn.js} +2 -2
- package/dist/chunks/{app-q2xng7e1.js → file-access-acgtajkt.js} +30 -30
- package/dist/chunks/{app-29eh7px0.js → file-access-ajspsemm.js} +7 -7
- package/dist/chunks/{app-xfc78b52.js → file-access-amt0nx1c.js} +8 -8
- package/dist/chunks/{app-5749a7rt.js → file-access-anf4g2xw.js} +27 -27
- package/dist/chunks/{app-wes8p5ff.js → file-access-aymn0ca3.js} +176 -176
- package/dist/chunks/{app-vmgq4x8b.js → file-access-b09hzw3k.js} +2 -2
- package/dist/chunks/{app-bvp4gths.js → file-access-b6ae6k6t.js} +14 -14
- package/dist/chunks/{app-b6gygkdw.js → file-access-b6gygkdw.js} +2 -2
- package/dist/chunks/{app-qnzzh3bs.js → file-access-b91g9yem.js} +22 -22
- package/dist/chunks/{app-qjymz4e2.js → file-access-b9kgzdcb.js} +3 -3
- package/dist/chunks/{app-zcbk9ecm.js → file-access-bb29ry6c.js} +2 -2
- package/dist/chunks/{app-2a16gamj.js → file-access-bdqw341w.js} +9 -9
- package/dist/chunks/{app-9c7b93gn.js → file-access-bjr5keq3.js} +22 -22
- package/dist/chunks/{app-9e4kz7m2.js → file-access-bqgqs8e0.js} +13 -13
- package/dist/chunks/{app-03s1nxke.js → file-access-bwckxjxx.js} +11 -11
- package/dist/chunks/{app-04rey2jp.js → file-access-by699wbx.js} +34 -34
- package/dist/chunks/{app-w34drh26.js → file-access-c1bpz4ww.js} +20 -20
- package/dist/chunks/{app-dz7gaz91.js → file-access-c1gs3dh6.js} +44 -44
- package/dist/chunks/{app-evbgk2k8.js → file-access-c78bbtc9.js} +5 -5
- package/dist/chunks/{app-4zgg82rk.js → file-access-cdafskgp.js} +30 -30
- package/dist/chunks/{app-ndb5d06d.js → file-access-cfvwxf1e.js} +60 -60
- package/dist/chunks/{app-35gwdmsd.js → file-access-cg505evj.js} +17 -17
- package/dist/chunks/{app-gb4d8a14.js → file-access-cjdw8dac.js} +20 -20
- package/dist/chunks/{app-g6q9qykm.js → file-access-cpneeje0.js} +9 -9
- package/dist/chunks/{app-mtt68vmf.js → file-access-cpzp4n4f.js} +25 -25
- package/dist/chunks/{app-46jhmsf5.js → file-access-ct4e4g17.js} +23 -23
- package/dist/chunks/{app-zsby4d12.js → file-access-cv01vac5.js} +7 -7
- package/dist/chunks/{app-bfwz5rjc.js → file-access-d4we50a8.js} +3 -3
- package/dist/chunks/{app-853r27ye.js → file-access-d6n1kzbs.js} +22 -22
- package/dist/chunks/{app-fvfb3fd0.js → file-access-ddbmfv8e.js} +23 -23
- package/dist/chunks/{app-8p4f9s12.js → file-access-dj2t23y0.js} +2 -2
- package/dist/chunks/{app-4sms2kqp.js → file-access-dkycemac.js} +13 -13
- package/dist/chunks/{app-5mcxd2xw.js → file-access-dmaq6vaq.js} +18 -18
- package/dist/chunks/{app-f8m84gb8.js → file-access-dnwybsw8.js} +13 -13
- package/dist/chunks/{app-dpkg50ah.js → file-access-dpkg50ah.js} +1 -1
- package/dist/chunks/file-access-dxj72tfx.js +18 -0
- package/dist/chunks/{app-yz0qd2c9.js → file-access-dycq19tv.js} +13 -13
- package/dist/chunks/{app-738nz2x0.js → file-access-e4kmf4qy.js} +3 -3
- package/dist/chunks/{app-eq23s0y6.js → file-access-e6hmchc5.js} +5 -5
- package/dist/chunks/{app-ga3zpfks.js → file-access-e7fqda9w.js} +32 -32
- package/dist/chunks/{app-myefbstp.js → file-access-e7rbx3sh.js} +18 -18
- package/dist/chunks/{app-0abjdy6r.js → file-access-ed2prt79.js} +20 -20
- package/dist/chunks/{app-ef5x83kb.js → file-access-ef5x83kb.js} +1 -1
- package/dist/chunks/{app-kdjmvqve.js → file-access-ehm8cjhm.js} +10 -10
- package/dist/chunks/{app-erw5rpbs.js → file-access-erw5rpbs.js} +2 -2
- package/dist/chunks/{app-etq0c3wd.js → file-access-etq0c3wd.js} +1 -1
- package/dist/chunks/{app-jsze95va.js → file-access-f29kztmg.js} +21 -21
- package/dist/chunks/{app-dschqtcd.js → file-access-f4kahraq.js} +19 -19
- package/dist/chunks/{app-z1n384xa.js → file-access-f6gdkqfj.js} +19 -19
- package/dist/chunks/{app-tgkpsbpf.js → file-access-f71ryja2.js} +11 -11
- package/dist/chunks/{app-kne8f3cn.js → file-access-f73rjn58.js} +4 -4
- package/dist/chunks/{app-2js3mcp4.js → file-access-fa4s9qj6.js} +5 -5
- package/dist/chunks/{app-bha4atvq.js → file-access-fab8hzt3.js} +4 -4
- package/dist/chunks/{app-389ykwvm.js → file-access-fekv09bf.js} +96 -96
- package/dist/chunks/{app-cx4wm8ch.js → file-access-fgdyrx1e.js} +25 -25
- package/dist/chunks/{app-fxbjtjnd.js → file-access-fxbjtjnd.js} +1 -1
- package/dist/chunks/{app-112vf93d.js → file-access-fyfy8w34.js} +86 -86
- package/dist/chunks/{app-f5sa8sd6.js → file-access-g64s1pw7.js} +14 -14
- package/dist/chunks/{app-j9ntjbjw.js → file-access-g7tjr95a.js} +7 -7
- package/dist/chunks/{app-bhkcwbjr.js → file-access-g8mfynjh.js} +5 -5
- package/dist/chunks/{app-gd4qta3r.js → file-access-gd4qta3r.js} +1 -1
- package/dist/chunks/{app-0w62qmxp.js → file-access-gg9g55xx.js} +8 -8
- package/dist/chunks/{app-3a3k705c.js → file-access-ghfx7cxe.js} +6 -6
- package/dist/chunks/{app-2vfzc3td.js → file-access-gmdq7e7c.js} +14 -14
- package/dist/chunks/{app-ncjkz9z1.js → file-access-gqx40acz.js} +31 -31
- package/dist/chunks/{app-gv6a8nnw.js → file-access-gv6a8nnw.js} +2 -2
- package/dist/chunks/{app-y3q03scc.js → file-access-h2r7bbkd.js} +8 -8
- package/dist/chunks/{app-cpj0znwe.js → file-access-h6r3nrb9.js} +4 -4
- package/dist/chunks/{app-h6vf3j39.js → file-access-h6vf3j39.js} +1 -1
- package/dist/chunks/{app-zk19rc5h.js → file-access-hbffz1ak.js} +20 -20
- package/dist/chunks/{app-ctezbzm4.js → file-access-hcjxfz2r.js} +29 -29
- package/dist/chunks/{app-f828m53h.js → file-access-hdnk95c8.js} +2 -2
- package/dist/chunks/{app-7r28xmed.js → file-access-hjc52t7v.js} +14 -14
- package/dist/chunks/{app-jnsj711q.js → file-access-hmdtv3hb.js} +1 -1
- package/dist/chunks/{app-6zpck6fb.js → file-access-hnxgzxxa.js} +19 -19
- package/dist/chunks/{app-4n86frb8.js → file-access-hp80zfgt.js} +18 -18
- package/dist/chunks/{app-p7kkfgfy.js → file-access-hqe9mxx7.js} +9 -9
- package/dist/chunks/{app-x40kz2n8.js → file-access-hs4q6rma.js} +41 -41
- package/dist/chunks/{app-tvc1wdcr.js → file-access-hx57yszd.js} +15 -15
- package/dist/chunks/{app-qaqrrstf.js → file-access-j20k1wmq.js} +9 -9
- package/dist/chunks/{app-j56e64zr.js → file-access-j56e64zr.js} +1 -1
- package/dist/chunks/{app-b9czjycg.js → file-access-j81snqjq.js} +33 -33
- package/dist/chunks/{app-yq2cczkq.js → file-access-j8zzr2am.js} +5 -5
- package/dist/chunks/{app-mqt5419d.js → file-access-jf9anmv7.js} +5 -5
- package/dist/chunks/{app-tv3z4kj6.js → file-access-jjfctqnb.js} +18 -18
- package/dist/chunks/{app-j9swzztf.js → file-access-jk18z2h0.js} +51 -51
- package/dist/chunks/{app-50mzsvk4.js → file-access-jw80jp6b.js} +4 -4
- package/dist/chunks/{app-cz0bpax2.js → file-access-k6fwxkkf.js} +9 -9
- package/dist/chunks/{app-wkv4p1cn.js → file-access-k99v8nfg.js} +15 -15
- package/dist/chunks/{app-cfpkc3c9.js → file-access-m0jqrx5p.js} +2 -2
- package/dist/chunks/{app-fd7vcark.js → file-access-m0t09dx6.js} +11 -11
- package/dist/chunks/{app-m3fdjcah.js → file-access-m3fdjcah.js} +1 -1
- package/dist/chunks/{app-1yn5b54x.js → file-access-m8pm17pr.js} +17 -17
- package/dist/chunks/{app-m9w0rfyh.js → file-access-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-szkxvq7w.js → file-access-mh6swfa3.js} +22 -22
- package/dist/chunks/{app-26k5bknw.js → file-access-msq0jde0.js} +4 -4
- package/dist/chunks/{app-ktcan3rf.js → file-access-myjzxhnr.js} +18 -18
- package/dist/chunks/{app-0mdd29xx.js → file-access-na55b3aj.js} +23 -23
- package/dist/chunks/{app-jkwh4gcj.js → file-access-nbbbac21.js} +32 -32
- package/dist/chunks/{app-gv0f11kb.js → file-access-nhy1v657.js} +30 -30
- package/dist/chunks/{app-b33ezyym.js → file-access-nnbww75a.js} +24 -24
- package/dist/chunks/{app-r8pm2v0t.js → file-access-nvyr67dc.js} +4 -4
- package/dist/chunks/{app-vvysgjv5.js → file-access-nzh1nzfe.js} +10 -10
- package/dist/chunks/{app-nzks3jc8.js → file-access-nzks3jc8.js} +3 -3
- package/dist/chunks/{app-0g0hpnxh.js → file-access-p20b49vp.js} +15 -15
- package/dist/chunks/{app-p28j5sbe.js → file-access-p28j5sbe.js} +2 -2
- package/dist/chunks/{app-k3jwnc6w.js → file-access-p789xr5w.js} +30 -30
- package/dist/chunks/{app-cr07tj7n.js → file-access-pecb0brz.js} +5 -5
- package/dist/chunks/{app-2geg2a1k.js → file-access-pgd7th8y.js} +20 -20
- package/dist/chunks/{app-fqgzk7pv.js → file-access-pjk7etnw.js} +5 -5
- package/dist/chunks/{app-pjvnvgmy.js → file-access-pjvnvgmy.js} +1 -1
- package/dist/chunks/{app-pknna89w.js → file-access-pknna89w.js} +1 -1
- package/dist/chunks/{app-chgm6g41.js → file-access-psbckgmn.js} +9 -9
- package/dist/chunks/{app-b97cbvw3.js → file-access-pstg3rfm.js} +1 -1
- package/dist/chunks/{app-n010fk1p.js → file-access-pykkax91.js} +22 -22
- package/dist/chunks/{app-xtc9razg.js → file-access-q2fxn82f.js} +5 -5
- package/dist/chunks/{app-f1nv3393.js → file-access-q77h0pfr.js} +1 -1
- package/dist/chunks/{app-q80qg22r.js → file-access-qb83d845.js} +16 -16
- package/dist/chunks/{app-sbxv4cwa.js → file-access-qbw71bk2.js} +4 -4
- package/dist/chunks/{app-mvtp2pry.js → file-access-qs81an5k.js} +13 -13
- package/dist/chunks/{app-qsdy395h.js → file-access-qsdy395h.js} +1 -1
- package/dist/chunks/{app-9y617vrz.js → file-access-qsm0cf7x.js} +5 -5
- package/dist/chunks/{app-7v9wscx3.js → file-access-qwc1ntf4.js} +32 -32
- package/dist/chunks/{app-gb5spw7h.js → file-access-qy4kp7rq.js} +10 -10
- package/dist/chunks/{app-ka94gqqd.js → file-access-qzhf7ync.js} +4 -4
- package/dist/chunks/{app-5g373dvk.js → file-access-r55eyngd.js} +24 -24
- package/dist/chunks/{app-2wxycwcj.js → file-access-r5vpk0b1.js} +4 -4
- package/dist/chunks/{app-7f85ph34.js → file-access-r9t00hsy.js} +8 -8
- package/dist/chunks/{app-rf46get4.js → file-access-rdqmx1a9.js} +18 -18
- package/dist/chunks/{app-rdw6cm16.js → file-access-rdw6cm16.js} +1 -1
- package/dist/chunks/{app-eaj1djv9.js → file-access-rhjbct0v.js} +8 -8
- package/dist/chunks/{app-xam4y82e.js → file-access-s138ptrs.js} +25 -25
- package/dist/chunks/{app-e5p9gmcw.js → file-access-sgyk931h.js} +54 -54
- package/dist/chunks/{app-b778p09a.js → file-access-sr7sk3ee.js} +33 -33
- package/dist/chunks/{app-gwsdqkfn.js → file-access-t68dv28a.js} +28 -28
- package/dist/chunks/{app-q2b1ymqp.js → file-access-t9zs3egg.js} +4 -4
- package/dist/chunks/{app-tazgh4e4.js → file-access-tazgh4e4.js} +1 -1
- package/dist/chunks/{app-tcezcvh9.js → file-access-tcezcvh9.js} +1 -1
- package/dist/chunks/{app-tdstcens.js → file-access-tdstcens.js} +1 -1
- package/dist/chunks/{app-mc6hyre0.js → file-access-tqxh9sy6.js} +10 -10
- package/dist/chunks/{app-gehb6127.js → file-access-tr06x23f.js} +13 -13
- package/dist/chunks/file-access-tr6q4q7a.js +492 -0
- package/dist/chunks/{app-tvtrv512.js → file-access-tvtrv512.js} +1 -1
- package/dist/chunks/{app-d216944b.js → file-access-v5dkyp31.js} +7 -7
- package/dist/chunks/{app-za4cqae4.js → file-access-v9n4nm77.js} +7 -7
- package/dist/chunks/{app-a3kq1sqa.js → file-access-vaxycq8g.js} +11 -11
- package/dist/chunks/{app-veqvce7d.js → file-access-veqvce7d.js} +1 -1
- package/dist/chunks/{app-4at0py5f.js → file-access-vnk9czdx.js} +3 -3
- package/dist/chunks/{app-cq4zkgfg.js → file-access-vykcaabf.js} +6 -6
- package/dist/chunks/{app-vzcthcp8.js → file-access-vzcthcp8.js} +1 -1
- package/dist/chunks/{app-w3wsvvr9.js → file-access-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-rzs3gq0x.js → file-access-w3x9v1nk.js} +8 -8
- package/dist/chunks/{app-0ft9cg2j.js → file-access-w4arg62q.js} +4 -4
- package/dist/chunks/{app-zv0ss7ka.js → file-access-w66yan3f.js} +30 -30
- package/dist/chunks/file-access-w7r2hqeb.js +26 -0
- package/dist/chunks/{app-nsjkyrtc.js → file-access-wargq46t.js} +3 -3
- package/dist/chunks/{app-wd87259q.js → file-access-wd87259q.js} +1 -1
- package/dist/chunks/{app-ekpey0w2.js → file-access-wqbdqa8s.js} +35 -35
- package/dist/chunks/{app-x1ezjp6w.js → file-access-x1ezjp6w.js} +1 -1
- package/dist/chunks/{app-64cefnnt.js → file-access-x343n0eb.js} +23 -23
- package/dist/chunks/{app-0yfh2cv4.js → file-access-x5wzxpg9.js} +17 -17
- package/dist/chunks/{app-x7hpp0cz.js → file-access-x822bj3k.js} +14 -14
- package/dist/chunks/{app-2q6kkxxq.js → file-access-x9mtwtp0.js} +4 -4
- package/dist/chunks/{app-28h5rqes.js → file-access-xc4ptd00.js} +12 -12
- package/dist/chunks/{app-p68jy0p0.js → file-access-xdbpqf0a.js} +47 -47
- package/dist/chunks/{app-m2d0j7c0.js → file-access-xk747vep.js} +9 -9
- package/dist/chunks/{app-67d9h72z.js → file-access-xkezg9v4.js} +42 -42
- package/dist/chunks/{app-mxn8exwt.js → file-access-xw30s5m2.js} +22 -22
- package/dist/chunks/{app-y1fvbwt7.js → file-access-y1fvbwt7.js} +1 -1
- package/dist/chunks/{app-6cbv7e1m.js → file-access-y47hdg98.js} +26 -26
- package/dist/chunks/{app-5cmxdwv8.js → file-access-y6f0p4jw.js} +3 -3
- package/dist/chunks/{app-jqmhvstb.js → file-access-y6kaprky.js} +20 -20
- package/dist/chunks/{app-4rep1cc0.js → file-access-ymhwy2dz.js} +29 -29
- package/dist/chunks/{app-ee831jk2.js → file-access-ymy3mzn4.js} +22 -22
- package/dist/chunks/{app-yrhqyw5v.js → file-access-yrhqyw5v.js} +1 -1
- package/dist/chunks/{app-yrznvahk.js → file-access-yrznvahk.js} +2 -2
- package/dist/chunks/{app-91dks806.js → file-access-yw9d9gv0.js} +11 -11
- package/dist/chunks/{app-f4cksbqy.js → file-access-ywtj6b3p.js} +36 -36
- package/dist/chunks/{app-z0bkrqjs.js → file-access-z0bkrqjs.js} +1 -1
- package/dist/chunks/{app-z63w68vq.js → file-access-z63w68vq.js} +2 -2
- package/dist/chunks/{app-1n7xfp7c.js → file-access-z6as0dsg.js} +8 -8
- package/dist/chunks/{app-t1h7jwac.js → file-access-zbcka3qa.js} +5 -5
- package/dist/chunks/{app-azgxc740.js → file-access-zbt6ewdw.js} +19 -19
- package/dist/chunks/{app-zeh9ct20.js → file-access-zeh9ct20.js} +2 -2
- package/dist/chunks/{app-58g4rptp.js → file-access-zkhjfb6b.js} +6 -6
- package/dist/chunks/{app-zr2ceqn5.js → file-access-zr2ceqn5.js} +1 -1
- package/dist/chunks/{app-bgewb51p.js → file-access-zrbnsv4e.js} +15 -15
- package/dist/chunks/{app-kwpbznt7.js → file-access-zvph5cmm.js} +29 -29
- package/dist/chunks/{app-zxq2ej10.js → file-access-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- 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 +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- 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 +121 -121
- 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 +84 -84
- package/dist/database/database.js +69 -69
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +73 -73
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- 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 +15 -15
- package/dist/filesystem.js +99 -99
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +100 -100
- 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 +359 -359
- 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 +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- 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 +356 -356
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- 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 +106 -106
- 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 +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- 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 +5 -5
- package/dist/plugin/internal.js +330 -330
- 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 +92 -92
- 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 +158 -158
- 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 +349 -349
- 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 +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +100 -100
- 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 +91 -91
- 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 +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +150 -150
- 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 +92 -92
- package/dist/session/message-updater.js +2 -2
- 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 +169 -169
- 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 +74 -74
- 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 +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- 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 +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +107 -107
- 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 +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +113 -113
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +122 -122
- 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 +103 -103
- package/dist/tool/plugin/write.js +113 -113
- 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 +12 -12
- 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 +3 -3
- 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 +83 -83
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +80 -80
- 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 +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/app-9zdhvgqs.js +0 -18
- package/dist/chunks/app-b2bj7c3q.js +0 -26
- package/dist/chunks/app-eyq5w0tx.js +0 -492
- package/dist/chunks/app-rzsdpbyf.js +0 -252
- /package/dist/chunks/{app-0mesazry.js → file-access-0mesazry.js} +0 -0
- /package/dist/chunks/{app-0qkdqm5v.js → file-access-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → file-access-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → file-access-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → file-access-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-1kg9ymc8.js → file-access-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{app-24dcb14g.js → file-access-24dcb14g.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → file-access-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2axfhc9x.js → file-access-2axfhc9x.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → file-access-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → file-access-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3asan66x.js → file-access-3asan66x.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → file-access-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-3w5fmr99.js → file-access-3w5fmr99.js} +0 -0
- /package/dist/chunks/{app-3wcehsnq.js → file-access-3wcehsnq.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → file-access-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → file-access-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4vcrnpx2.js → file-access-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{app-4y7fprxs.js → file-access-4y7fprxs.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → file-access-53557ph1.js} +0 -0
- /package/dist/chunks/{app-550bvhaj.js → file-access-550bvhaj.js} +0 -0
- /package/dist/chunks/{app-5qd3pb7m.js → file-access-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → file-access-6prwharc.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → file-access-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → file-access-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → file-access-822emrt2.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → file-access-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → file-access-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-922hggd3.js → file-access-922hggd3.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → file-access-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → file-access-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-a6k6eb26.js → file-access-a6k6eb26.js} +0 -0
- /package/dist/chunks/{app-af5trqkr.js → file-access-af5trqkr.js} +0 -0
- /package/dist/chunks/{app-afrmfg78.js → file-access-afrmfg78.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → file-access-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → file-access-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → file-access-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → file-access-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → file-access-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → file-access-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → file-access-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → file-access-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-dajrwvna.js → file-access-dajrwvna.js} +0 -0
- /package/dist/chunks/{app-dap0rakb.js → file-access-dap0rakb.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → file-access-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → file-access-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → file-access-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-e73j6tqm.js → file-access-e73j6tqm.js} +0 -0
- /package/dist/chunks/{app-ec1grn59.js → file-access-ec1grn59.js} +0 -0
- /package/dist/chunks/{app-eh3zwz77.js → file-access-eh3zwz77.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → file-access-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → file-access-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → file-access-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → file-access-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → file-access-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-fxgpk5d8.js → file-access-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{app-g4wezp1m.js → file-access-g4wezp1m.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → file-access-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → file-access-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-gftt206x.js → file-access-gftt206x.js} +0 -0
- /package/dist/chunks/{app-hjbc5kem.js → file-access-hjbc5kem.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → file-access-hk9envan.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → file-access-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-j5zkgpj8.js → file-access-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{app-jjkms2e6.js → file-access-jjkms2e6.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → file-access-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → file-access-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → file-access-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → file-access-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → file-access-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → file-access-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → file-access-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → file-access-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → file-access-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → file-access-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qaymkmh1.js → file-access-qaymkmh1.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → file-access-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → file-access-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qg3g05ea.js → file-access-qg3g05ea.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → file-access-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → file-access-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → file-access-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-sk3qaz4a.js → file-access-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → file-access-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-twg0f83k.js → file-access-twg0f83k.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → file-access-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wc3fc9cn.js → file-access-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → file-access-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → file-access-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x0ckcb58.js → file-access-x0ckcb58.js} +0 -0
- /package/dist/chunks/{app-x61499pn.js → file-access-x61499pn.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → file-access-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8cydn3q.js → file-access-y8cydn3q.js} +0 -0
- /package/dist/chunks/{app-y8f7s663.js → file-access-y8f7s663.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → file-access-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-ym463w8f.js → file-access-ym463w8f.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → file-access-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./file-access-4cd0e9e2.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-access-hdnk95c8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-access-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID9,
|
|
17
|
+
Info: () => Info22,
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service68,
|
|
21
|
+
node: () => node71
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID9 = PermissionSaved.ID;
|
|
29
|
+
var Info22 = PermissionSaved.Info;
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service68 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const db = (yield*
|
|
41
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
42
|
+
const db = (yield* Service83).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
45
45
|
return rows.map((row) => ({
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID9.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service68.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node71 = makeGlobalNode({ service: Service68, layer, deps: [node87] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID9, Info22, ListInput5, AddInput2, Service68, node71, exports_saved };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-access-4fqyk320.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service46
|
|
7
|
+
} from "./file-access-990r0brb.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-access-ghfx7cxe.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make3(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service46;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
providers.models.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID12.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -125,7 +125,7 @@ function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make3();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make3, LMStudioPlugin2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./file-access-55bxwjz5.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/google-vertex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.provider.transform((evt) => {
|
|
26
26
|
for (const item of evt.list()) {
|
|
27
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
27
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
28
28
|
continue;
|
|
29
29
|
const project = resolveProject(item.provider.settings ?? {});
|
|
30
30
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
42
42
|
});
|
|
43
43
|
yield* ctx.model.transform((models) => {
|
|
44
44
|
for (const item of models.provider.list()) {
|
|
45
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
45
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
46
46
|
continue;
|
|
47
47
|
const project = resolveProject(item.provider.settings ?? {});
|
|
48
48
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
62
|
-
if (evt.model.providerID !==
|
|
62
|
+
if (evt.model.providerID !== ID13.googleVertex)
|
|
63
63
|
return;
|
|
64
64
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
65
65
|
}));
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./file-access-qb83d845.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service48,
|
|
6
|
+
Event10
|
|
7
|
+
} from "./file-access-4fxenty0.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-access-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
@@ -20,8 +20,8 @@ import { Effect, Stream } from "effect";
|
|
|
20
20
|
var Plugin48 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service82;
|
|
24
|
+
const wellknown = yield* Service48;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,7 +41,7 @@ var Plugin48 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service46
|
|
4
|
+
} from "./file-access-990r0brb.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-access-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-access-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
13
|
var exports_websearch = {};
|
|
14
14
|
__export(exports_websearch, {
|
|
15
15
|
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
-
Plugin: () =>
|
|
16
|
+
Plugin: () => Plugin24
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin24 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service46;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin19 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin24, exports_websearch };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID11,
|
|
3
|
+
Service69
|
|
4
|
+
} from "./file-access-nnbww75a.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service74
|
|
8
|
+
} from "./file-access-4fqyk320.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service46
|
|
12
|
+
} from "./file-access-990r0brb.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-access-y6f0p4jw.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service61
|
|
18
|
+
} from "./file-access-65amc4wc.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service66
|
|
22
|
+
} from "./file-access-587z1aba.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service29
|
|
25
|
+
} from "./file-access-fekv09bf.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-access-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make9
|
|
31
|
+
} from "./file-access-f71ryja2.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-access-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input8,
|
|
40
|
+
Output: () => Output5,
|
|
41
|
+
Plugin: () => Plugin43,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description4,
|
|
44
|
+
name: () => name8
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name8 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input8 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input4 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output5 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description4 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description2 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin43 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service29;
|
|
93
|
+
const jobs = yield* Service61;
|
|
94
|
+
const agents = yield* Service69;
|
|
95
|
+
const config = yield* Service46;
|
|
96
|
+
const permission = yield* Service66;
|
|
97
|
+
const models = yield* Service74;
|
|
98
|
+
const subagents = yield* make9;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin38 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name8,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description4,
|
|
121
|
+
input: Input8,
|
|
122
|
+
output: Output5,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin38 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name8,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin38 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID11.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,13 +218,13 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
const hook = (event) => Effect.gen(function* () {
|
|
221
|
-
const tool = event.tools[
|
|
221
|
+
const tool = event.tools[name8];
|
|
222
222
|
if (!tool)
|
|
223
223
|
return;
|
|
224
224
|
const selected = yield* agents.resolve(event.agent);
|
|
225
225
|
if (!selected)
|
|
226
226
|
return;
|
|
227
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
227
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name8, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
228
228
|
if (available.length === 0)
|
|
229
229
|
return;
|
|
230
230
|
tool.description = [
|
|
@@ -241,4 +241,4 @@ ${output.output}
|
|
|
241
241
|
})
|
|
242
242
|
};
|
|
243
243
|
|
|
244
|
-
export {
|
|
244
|
+
export { name8, Input8, Output5, description4, Plugin43, exports_subagent };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service46
|
|
7
|
+
} from "./file-access-990r0brb.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-access-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service49
|
|
13
|
+
} from "./file-access-r55eyngd.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service61
|
|
16
|
+
} from "./file-access-65amc4wc.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service66
|
|
19
|
+
} from "./file-access-587z1aba.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service20,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-access-dmaq6vaq.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-access-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service45,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-access-mh6swfa3.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError7,
|
|
36
|
+
Service43
|
|
37
|
+
} from "./file-access-jk18z2h0.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service29
|
|
40
|
+
} from "./file-access-fekv09bf.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./file-access-qbw71bk2.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./file-access-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input5,
|
|
53
|
+
Plugin: () => Plugin40,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name5
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name5 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input5 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin40 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service29;
|
|
122
|
+
const jobs = yield* Service61;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service49;
|
|
125
|
+
const access = yield* Service20;
|
|
126
|
+
const shell = yield* Service43;
|
|
127
|
+
const shellSelect = yield* Service45;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service66;
|
|
130
|
+
const config = yield* Service46;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin42 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name5,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin42 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name5,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input5,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin42 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError7({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name5,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name5];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin40, exports_shell2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-exclusion.ts
|
|
6
6
|
var exports_mcp_codemode_exclusion = {};
|
|
7
7
|
__export(exports_mcp_codemode_exclusion, {
|
|
8
8
|
McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin15
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
|
-
var
|
|
14
|
+
var Plugin15 = define({
|
|
15
15
|
id: "opencode.mcp.codemode.exclusion",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
17
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -34,4 +34,4 @@ var Plugin35 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin15, exports_mcp_codemode_exclusion };
|