@opencode/core 0.0.0-dev-152 → 0.0.0-dev-153
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 +83 -83
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{bus-034tev2y.js → shell-034tev2y.js} +2 -2
- package/dist/chunks/{bus-t2zvsq3v.js → shell-04ek7h9y.js} +21 -21
- package/dist/chunks/{bus-6hhw3d62.js → shell-08b3necq.js} +331 -331
- package/dist/chunks/{bus-b3yncftq.js → shell-0bzca2g5.js} +3 -3
- package/dist/chunks/{bus-0hmmm0am.js → shell-0rnawqs8.js} +14 -14
- package/dist/chunks/{bus-sfz5r5s7.js → shell-0vryy1hg.js} +4 -4
- package/dist/chunks/{bus-gy4h7feh.js → shell-0xebh2q0.js} +39 -39
- package/dist/chunks/{bus-dehz80p8.js → shell-117why0g.js} +14 -14
- package/dist/chunks/{bus-3w2dxmpf.js → shell-162cz2jq.js} +17 -17
- package/dist/chunks/{bus-zhbst0xe.js → shell-1atk681z.js} +11 -11
- package/dist/chunks/{bus-1ep2p91f.js → shell-1ep2p91f.js} +2 -2
- package/dist/chunks/{bus-j9k3j265.js → shell-1k9brye2.js} +16 -16
- package/dist/chunks/{bus-47p5enej.js → shell-1r8mtbrn.js} +39 -39
- package/dist/chunks/{bus-1x2knyw4.js → shell-1x2knyw4.js} +1 -1
- package/dist/chunks/{bus-q7x8fwh9.js → shell-1y1zjdjp.js} +30 -30
- package/dist/chunks/{bus-1yq9hg58.js → shell-1yq9hg58.js} +1 -1
- package/dist/chunks/{bus-204s3925.js → shell-204s3925.js} +1 -1
- package/dist/chunks/{bus-bydj5yam.js → shell-269nwj75.js} +24 -24
- package/dist/chunks/{bus-26x8chrq.js → shell-26x8chrq.js} +3 -3
- package/dist/chunks/{bus-zhg8hwj9.js → shell-2a1sbzpd.js} +6 -6
- package/dist/chunks/shell-2dkjcnxp.js +18 -0
- package/dist/chunks/{bus-7h08hp86.js → shell-2zafeey0.js} +11 -11
- package/dist/chunks/{bus-r7xar5ns.js → shell-31avdb49.js} +8 -8
- package/dist/chunks/{bus-2sx3gc78.js → shell-32ycv80d.js} +3 -3
- package/dist/chunks/{bus-ygn5zq2v.js → shell-39b50xdn.js} +6 -6
- package/dist/chunks/{bus-gt5e2s7g.js → shell-3any6fts.js} +16 -16
- package/dist/chunks/{bus-4pw5pj18.js → shell-3h1zggnh.js} +16 -16
- package/dist/chunks/{bus-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-7awmyg8w.js → shell-3me98kyh.js} +17 -17
- package/dist/chunks/{bus-3nnrz6f6.js → shell-3nnrz6f6.js} +1 -1
- package/dist/chunks/{bus-hhnm585p.js → shell-3vk87jbh.js} +11 -11
- package/dist/chunks/{bus-r41sfy63.js → shell-40za9wsf.js} +6 -6
- package/dist/chunks/{bus-zw8syyj9.js → shell-46q6xmy6.js} +44 -44
- package/dist/chunks/{bus-n9zmybh9.js → shell-46y7bs25.js} +6 -6
- package/dist/chunks/{bus-mp1rva77.js → shell-47p99bkc.js} +12 -12
- package/dist/chunks/{bus-svaxc9ga.js → shell-4cqhw4ty.js} +35 -35
- package/dist/chunks/{bus-82cx696m.js → shell-4hgx5c06.js} +9 -9
- package/dist/chunks/{bus-9qx2r5e1.js → shell-4jx7bqwq.js} +14 -14
- package/dist/chunks/{bus-k0yyexjz.js → shell-4k62cac0.js} +7 -7
- package/dist/chunks/{bus-4pyp9zr9.js → shell-4pyp9zr9.js} +1 -1
- package/dist/chunks/{bus-r04jhjmv.js → shell-4tyq8y1q.js} +22 -22
- package/dist/chunks/{bus-4v008n1t.js → shell-4v008n1t.js} +1 -1
- package/dist/chunks/{bus-8n65s3mj.js → shell-4wnskdgw.js} +26 -26
- package/dist/chunks/{bus-rnsevbcg.js → shell-50cfs487.js} +25 -25
- package/dist/chunks/{bus-40862n3e.js → shell-51czaex0.js} +26 -26
- package/dist/chunks/{bus-fxpnf8nj.js → shell-5jnzytm1.js} +25 -25
- package/dist/chunks/{bus-5m9w47nd.js → shell-5m9w47nd.js} +1 -1
- package/dist/chunks/{bus-5nnwax6m.js → shell-5nnwax6m.js} +2 -2
- package/dist/chunks/{bus-gypkc13r.js → shell-5wckmg8r.js} +32 -32
- package/dist/chunks/{bus-zba5tm1j.js → shell-61ennm6n.js} +4 -4
- package/dist/chunks/{bus-mgxf3nw1.js → shell-6401x61d.js} +8 -8
- package/dist/chunks/{bus-z70brj9w.js → shell-665g4qxs.js} +6 -6
- package/dist/chunks/{bus-6esdw8yj.js → shell-6esdw8yj.js} +1 -1
- package/dist/chunks/{bus-mwy1hny1.js → shell-6g0c3wkb.js} +11 -11
- package/dist/chunks/{bus-hk2cprw7.js → shell-6jjnvdfj.js} +25 -25
- package/dist/chunks/{bus-98yvrg9m.js → shell-6tcavvge.js} +23 -23
- package/dist/chunks/{bus-6xqtcmxs.js → shell-6y263vp8.js} +5 -5
- package/dist/chunks/{bus-76cb1hcw.js → shell-76cb1hcw.js} +1 -1
- package/dist/chunks/{bus-kw2mbtjb.js → shell-77s6ecga.js} +8 -8
- package/dist/chunks/{bus-2v9xjkct.js → shell-784x34jv.js} +14 -14
- package/dist/chunks/{bus-143b30bg.js → shell-78ga7vnq.js} +48 -48
- package/dist/chunks/{bus-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-sh3ewazw.js → shell-7e58bfad.js} +23 -23
- package/dist/chunks/{bus-m0pa6z8h.js → shell-7h3tx6qb.js} +17 -17
- package/dist/chunks/{bus-yyjb7mzv.js → shell-7h8dsyqx.js} +32 -32
- package/dist/chunks/{bus-rbrtkemz.js → shell-7jxxb4xt.js} +33 -33
- package/dist/chunks/{bus-54gmmeqn.js → shell-7m9azgke.js} +24 -24
- package/dist/chunks/{bus-vbjqtebd.js → shell-7s9zy64f.js} +11 -11
- package/dist/chunks/{bus-7w2ypzdf.js → shell-7w2ypzdf.js} +1 -1
- package/dist/chunks/{bus-0k7cj3jm.js → shell-7x1m1x8m.js} +32 -32
- package/dist/chunks/{bus-x6fw54z8.js → shell-89wmm6hc.js} +12 -12
- package/dist/chunks/{bus-9mv7prxk.js → shell-8aaaanvb.js} +5 -5
- package/dist/chunks/{bus-4s2mjqvx.js → shell-8ghpkh2b.js} +7 -7
- package/dist/chunks/{bus-3mr6yv6e.js → shell-8jrf95k0.js} +32 -32
- package/dist/chunks/{bus-h4h70rke.js → shell-8k18663a.js} +11 -11
- package/dist/chunks/{bus-e7f7th6w.js → shell-8q36sknh.js} +17 -17
- package/dist/chunks/{bus-66r9f6z1.js → shell-8ryk0bb9.js} +5 -5
- package/dist/chunks/{bus-y17k4q4v.js → shell-8t8csh0d.js} +11 -11
- package/dist/chunks/{bus-8wtp7s3z.js → shell-8wtp7s3z.js} +1 -1
- package/dist/chunks/{bus-0anyt1n6.js → shell-8yhc7zrg.js} +9 -9
- package/dist/chunks/{bus-90zstvax.js → shell-90zstvax.js} +1 -1
- package/dist/chunks/{bus-mk0mrn7p.js → shell-96qm6qre.js} +5 -5
- package/dist/chunks/{bus-m9cgb1kb.js → shell-98maaxm0.js} +142 -142
- package/dist/chunks/{bus-yeyfr6zk.js → shell-98tqkwke.js} +11 -11
- package/dist/chunks/{bus-aaf96cer.js → shell-9er8jkga.js} +19 -19
- package/dist/chunks/{bus-8d5qbnzp.js → shell-9qavyryr.js} +17 -17
- package/dist/chunks/{bus-v1pjhk6s.js → shell-9qfd9ctj.js} +43 -43
- package/dist/chunks/{bus-sphh171f.js → shell-9rp5n8cg.js} +14 -14
- package/dist/chunks/{bus-gtdyb2hv.js → shell-9sb4zbwh.js} +10 -10
- package/dist/chunks/{bus-mf20dtnm.js → shell-9sqzj7jg.js} +9 -9
- package/dist/chunks/{bus-ennnne6b.js → shell-a43zn68e.js} +21 -21
- package/dist/chunks/{bus-2rm9p9v2.js → shell-a5b1kfw3.js} +16 -16
- package/dist/chunks/{bus-jwskem5m.js → shell-af2rs3qt.js} +9 -9
- package/dist/chunks/{bus-php6tqqg.js → shell-amxh6r7z.js} +13 -13
- package/dist/chunks/{bus-pcw9jkqq.js → shell-anbzqb0m.js} +23 -23
- package/dist/chunks/{bus-p2nwte34.js → shell-anhkzmhg.js} +18 -18
- package/dist/chunks/{bus-ayjs7tqn.js → shell-ayjs7tqn.js} +2 -2
- package/dist/chunks/{bus-4g39zpm1.js → shell-b07p3ys3.js} +6 -6
- package/dist/chunks/{bus-whzwjc82.js → shell-b3mxrt5b.js} +3 -3
- package/dist/chunks/{bus-74kexyah.js → shell-bc8d4apc.js} +17 -17
- package/dist/chunks/{bus-6nnjhmtv.js → shell-bkcatkhe.js} +10 -10
- package/dist/chunks/{bus-9r0x1bva.js → shell-bqwdyg2t.js} +2 -2
- package/dist/chunks/{bus-qn0xtqx2.js → shell-br25aqqg.js} +1 -1
- package/dist/chunks/{bus-xd9cc171.js → shell-bstexjd6.js} +5 -5
- package/dist/chunks/{bus-k8czmj01.js → shell-c26d8adj.js} +2 -2
- package/dist/chunks/{bus-0gfe9fsk.js → shell-cf7530z0.js} +24 -24
- package/dist/chunks/{bus-tf1zmpna.js → shell-cff7ambb.js} +28 -28
- package/dist/chunks/{bus-z1pk19p9.js → shell-chmzr73b.js} +25 -25
- package/dist/chunks/{bus-k98yejja.js → shell-cpvd08na.js} +7 -7
- package/dist/chunks/{bus-k5gj6mdj.js → shell-cwntgy3b.js} +2 -2
- package/dist/chunks/{bus-cwrgdav8.js → shell-cwrgdav8.js} +2 -2
- package/dist/chunks/{bus-cr9b5z5f.js → shell-cyav8ryr.js} +26 -26
- package/dist/chunks/{bus-d4v9tmah.js → shell-d4v9tmah.js} +2 -2
- package/dist/chunks/{bus-x26wqd07.js → shell-d77k1mxa.js} +4 -4
- package/dist/chunks/{bus-9ejttjga.js → shell-dbw0hcg3.js} +4 -4
- package/dist/chunks/{bus-nykvvcdf.js → shell-dftfjzw5.js} +26 -26
- package/dist/chunks/{bus-dt77769w.js → shell-dt77769w.js} +1 -1
- package/dist/chunks/{bus-b9z4djsc.js → shell-e1075q1h.js} +15 -15
- package/dist/chunks/{bus-egz84e2g.js → shell-e3a69e85.js} +11 -11
- package/dist/chunks/{bus-6p33ca8y.js → shell-e3d240b5.js} +30 -30
- package/dist/chunks/{bus-dnrrejbr.js → shell-e6hdst2b.js} +17 -17
- package/dist/chunks/{bus-e834z07m.js → shell-e834z07m.js} +1 -1
- package/dist/chunks/{bus-p7hw6s3p.js → shell-em2zp6t2.js} +30 -30
- package/dist/chunks/{bus-2mbjfaxd.js → shell-emq6awqh.js} +4 -4
- package/dist/chunks/{bus-xb1jttyy.js → shell-ep0dae8k.js} +5 -5
- package/dist/chunks/{bus-mkc5pejr.js → shell-eq4xjegx.js} +25 -25
- package/dist/chunks/{bus-dpgr420w.js → shell-ezh5wcvr.js} +5 -5
- package/dist/chunks/{bus-wd98jrzr.js → shell-eztbr3va.js} +18 -18
- package/dist/chunks/{bus-ds0zqevt.js → shell-f79nty4s.js} +10 -10
- package/dist/chunks/{bus-0h1znnmj.js → shell-ff5993x1.js} +19 -19
- package/dist/chunks/{bus-fffv3p7h.js → shell-fffv3p7h.js} +1 -1
- package/dist/chunks/{bus-d549k1v9.js → shell-fg62papv.js} +27 -27
- package/dist/chunks/{bus-4mecw7tx.js → shell-fg9cer97.js} +6 -6
- package/dist/chunks/{bus-fg9p65nk.js → shell-fg9p65nk.js} +2 -2
- package/dist/chunks/{bus-28tb69ev.js → shell-fhhqgzg1.js} +4 -4
- package/dist/chunks/{bus-zhdefwpn.js → shell-fnsd8pja.js} +1 -1
- package/dist/chunks/{bus-7hqgrrbh.js → shell-fq6gcjfj.js} +15 -15
- package/dist/chunks/{bus-bqa1dn77.js → shell-fqggg14e.js} +17 -17
- package/dist/chunks/{bus-q0130fbt.js → shell-frmj6gvz.js} +8 -8
- package/dist/chunks/{bus-8884kj69.js → shell-fyanp2px.js} +26 -26
- package/dist/chunks/{bus-t9pdq77j.js → shell-g4y5gz37.js} +6 -6
- package/dist/chunks/{bus-rjnacbrz.js → shell-gcjdgkn2.js} +9 -9
- package/dist/chunks/{bus-gg8p9cgs.js → shell-gg8p9cgs.js} +3 -3
- package/dist/chunks/{bus-d2083a73.js → shell-gyd37gqd.js} +9 -9
- package/dist/chunks/{bus-s0sc04p0.js → shell-gzdbztqx.js} +7 -7
- package/dist/chunks/{bus-ayeq9fxf.js → shell-h0ppebc3.js} +7 -7
- package/dist/chunks/{bus-erce1yde.js → shell-h21gmg7t.js} +18 -18
- package/dist/chunks/{bus-jqyqtkb2.js → shell-hdfrs5mg.js} +7 -7
- package/dist/chunks/{bus-axvdzfmk.js → shell-hk4zn3tm.js} +34 -34
- package/dist/chunks/{bus-bt2wwv95.js → shell-hkm78mpc.js} +10 -10
- package/dist/chunks/{bus-hpg1pkwy.js → shell-hpg1pkwy.js} +1 -1
- package/dist/chunks/{bus-jh74jycr.js → shell-hqxkkta1.js} +3 -3
- package/dist/chunks/{bus-tea79k12.js → shell-hswehyeg.js} +6 -6
- package/dist/chunks/{bus-sq4s6wq1.js → shell-hvvf9qw8.js} +6 -6
- package/dist/chunks/{bus-1vngayeg.js → shell-j1qkt8n9.js} +23 -23
- package/dist/chunks/{bus-ae36chvm.js → shell-j3atvk4p.js} +13 -13
- package/dist/chunks/{bus-t4y8tttc.js → shell-j47j5mgf.js} +9 -9
- package/dist/chunks/{bus-9n6rx99f.js → shell-j4qx96r0.js} +15 -15
- package/dist/chunks/{bus-1ywwe2vf.js → shell-j78xp39n.js} +20 -20
- package/dist/chunks/{bus-f0hpc87x.js → shell-jckbhz5s.js} +9 -9
- package/dist/chunks/{bus-4hxq42hq.js → shell-jet1weyh.js} +40 -40
- package/dist/chunks/{bus-jfaecv01.js → shell-jfaecv01.js} +1 -1
- package/dist/chunks/{bus-b697ydwv.js → shell-jfdfpeeg.js} +8 -8
- package/dist/chunks/{bus-7twpj7sy.js → shell-jfmjz42h.js} +9 -9
- package/dist/chunks/{bus-bwssq4c8.js → shell-jkhrt0qh.js} +17 -17
- package/dist/chunks/{bus-0b2mt5gn.js → shell-jr33ggp4.js} +9 -9
- package/dist/chunks/{bus-jtnps1zs.js → shell-jtnps1zs.js} +2 -2
- package/dist/chunks/{bus-nyarhxsa.js → shell-k1nxv3dt.js} +3 -3
- package/dist/chunks/{bus-djh6j75c.js → shell-k3xx3egj.js} +19 -19
- package/dist/chunks/{bus-g6znav2x.js → shell-k4m195bg.js} +19 -19
- package/dist/chunks/{bus-k814nvkf.js → shell-k814nvkf.js} +1 -1
- package/dist/chunks/{bus-66nne91h.js → shell-kckw12eh.js} +21 -21
- package/dist/chunks/{bus-hzq27gzr.js → shell-ke8rev0c.js} +27 -27
- package/dist/chunks/{bus-dqp29d1q.js → shell-kgfzpkjk.js} +6 -6
- package/dist/chunks/{bus-tg1vr1qt.js → shell-kmzgegqq.js} +8 -8
- package/dist/chunks/{bus-mtbmcvn3.js → shell-ksrpc66y.js} +18 -18
- package/dist/chunks/{bus-kt3bjfbg.js → shell-kt3bjfbg.js} +1 -1
- package/dist/chunks/{bus-tnd9tkz8.js → shell-m0932hwt.js} +35 -35
- package/dist/chunks/{bus-y4beb61a.js → shell-m0xc4m67.js} +14 -14
- package/dist/chunks/{bus-m1714858.js → shell-m1714858.js} +1 -1
- package/dist/chunks/{bus-dey2yzxh.js → shell-m18v8hsy.js} +12 -12
- package/dist/chunks/{bus-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-92xvpge0.js → shell-maw7rkdj.js} +1 -1
- package/dist/chunks/{bus-rhnkpwb6.js → shell-mb5r60m7.js} +88 -88
- package/dist/chunks/{bus-r2dfnzky.js → shell-mcx8r17s.js} +24 -24
- package/dist/chunks/{bus-rq99gy5c.js → shell-me8fy6y3.js} +22 -22
- package/dist/chunks/{bus-12a87htm.js → shell-mpe6qr53.js} +8 -8
- package/dist/chunks/{bus-3mn5pj7y.js → shell-msp1dkg1.js} +10 -10
- package/dist/chunks/{bus-d2887f8n.js → shell-mtkfycnh.js} +4 -4
- package/dist/chunks/{bus-7p2xypxk.js → shell-mxdjbcy9.js} +3 -3
- package/dist/chunks/{bus-770pw0s1.js → shell-nah043kf.js} +4 -4
- package/dist/chunks/{bus-0fdggymb.js → shell-nrbaxs48.js} +35 -35
- package/dist/chunks/{bus-p015t6z3.js → shell-p015t6z3.js} +2 -2
- package/dist/chunks/{bus-yf5es9e1.js → shell-pf5an99m.js} +19 -19
- package/dist/chunks/{bus-vc91vb9f.js → shell-pkcxvk95.js} +6 -6
- package/dist/chunks/{bus-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{bus-cahpqgn3.js → shell-pmp7dhvf.js} +11 -11
- package/dist/chunks/{bus-chwzkhva.js → shell-pwrd9m1k.js} +2 -2
- package/dist/chunks/{bus-22hvzfep.js → shell-px414y6d.js} +7 -7
- package/dist/chunks/{bus-a894mmyw.js → shell-q178967a.js} +10 -10
- package/dist/chunks/{bus-q63cb7ap.js → shell-q63cb7ap.js} +3 -3
- package/dist/chunks/{bus-vt55bbet.js → shell-q9fk8jkx.js} +9 -9
- package/dist/chunks/{bus-8jztxfpf.js → shell-qjgzc4b4.js} +4 -4
- package/dist/chunks/{bus-qp7r0hxv.js → shell-qp7r0hxv.js} +1 -1
- package/dist/chunks/{bus-gtn9c16a.js → shell-qqpbcr2p.js} +4 -4
- package/dist/chunks/{bus-7jdsj2a9.js → shell-qsee9sfb.js} +3 -3
- package/dist/chunks/{bus-5xph8w7t.js → shell-qvv8erx6.js} +2 -2
- package/dist/chunks/{bus-r0yr0wbs.js → shell-r0yr0wbs.js} +1 -1
- package/dist/chunks/{bus-n26fb8s5.js → shell-r4etkjb4.js} +16 -16
- package/dist/chunks/{bus-r542h3bh.js → shell-r542h3bh.js} +1 -1
- package/dist/chunks/{bus-jct98qnh.js → shell-r6mk3rd0.js} +11 -11
- package/dist/chunks/{bus-amrj7qc1.js → shell-raw26vjr.js} +4 -4
- package/dist/chunks/{bus-rb9dy4dg.js → shell-rb9dy4dg.js} +1 -1
- package/dist/chunks/{bus-rt9gf2gx.js → shell-rbb6zq01.js} +17 -17
- package/dist/chunks/{bus-pjq1t0mz.js → shell-rfk8s4cm.js} +8 -8
- package/dist/chunks/{bus-tv1ncpxj.js → shell-rgqe5ej8.js} +25 -25
- package/dist/chunks/shell-rq62mxtf.js +257 -0
- package/dist/chunks/{bus-z06bhcj3.js → shell-rqsc6n82.js} +15 -15
- package/dist/chunks/{bus-4g4fjqx3.js → shell-rs81f4k4.js} +2 -2
- package/dist/chunks/{bus-rt5dr6hb.js → shell-rt5dr6hb.js} +1 -1
- package/dist/chunks/{bus-x4rdhtj7.js → shell-s6pwsjdm.js} +1 -1
- package/dist/chunks/{bus-s7xmnr8t.js → shell-s7xmnr8t.js} +2 -2
- package/dist/chunks/{bus-sa3fpqfw.js → shell-sa3fpqfw.js} +2 -2
- package/dist/chunks/{bus-c46s9eb3.js → shell-scmk72rv.js} +7 -7
- package/dist/chunks/{bus-7xmk8kt5.js → shell-sekby2qt.js} +9 -9
- package/dist/chunks/{bus-tw5b64mh.js → shell-sf2d3txg.js} +42 -42
- package/dist/chunks/{bus-pwewe2xv.js → shell-sfqj7d5v.js} +13 -13
- package/dist/chunks/{bus-zag14nrm.js → shell-shj34wgv.js} +13 -13
- package/dist/chunks/{bus-m91kzycp.js → shell-sj7n0b4y.js} +12 -12
- package/dist/chunks/{bus-h1cdfdv6.js → shell-sjsa0xxp.js} +11 -11
- package/dist/chunks/{bus-5pw3r2ne.js → shell-skyj9te4.js} +20 -20
- package/dist/chunks/{bus-sqjzf8x2.js → shell-sqjzf8x2.js} +1 -1
- package/dist/chunks/{bus-tyqgnm1n.js → shell-sqzgab9t.js} +86 -86
- package/dist/chunks/shell-srxj8zvh.js +26 -0
- package/dist/chunks/{bus-axv2anjp.js → shell-sts537v3.js} +3 -3
- package/dist/chunks/{bus-svcy3p9a.js → shell-svcy3p9a.js} +1 -1
- package/dist/chunks/{bus-dt017gbd.js → shell-t1xktr6n.js} +4 -4
- package/dist/chunks/{bus-n72e3dxd.js → shell-t2z71z34.js} +5 -5
- package/dist/chunks/{bus-n8d14czh.js → shell-t5jqs5j7.js} +2 -2
- package/dist/chunks/{bus-tczq8hjw.js → shell-tczq8hjw.js} +1 -1
- package/dist/chunks/{bus-262vwvmj.js → shell-ter8ckgk.js} +54 -54
- package/dist/chunks/{bus-1hhczaqt.js → shell-tgmjaqw5.js} +68 -68
- package/dist/chunks/{bus-twssxy5n.js → shell-twssxy5n.js} +2 -2
- package/dist/chunks/{bus-mmx1mfjr.js → shell-v0t96s7a.js} +4 -4
- package/dist/chunks/{bus-v2r1d0zg.js → shell-v2r1d0zg.js} +1 -1
- package/dist/chunks/{bus-nbagtjvc.js → shell-vc4sk86e.js} +11 -11
- package/dist/chunks/{bus-gr64q9r0.js → shell-vc4tfmhw.js} +28 -28
- package/dist/chunks/{bus-g56wxgxx.js → shell-vctgxjx6.js} +34 -34
- package/dist/chunks/{bus-vmfhgzt5.js → shell-vmfhgzt5.js} +1 -1
- package/dist/chunks/{bus-2xb0rse3.js → shell-vyk3hhz8.js} +14 -14
- package/dist/chunks/{bus-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-wakvkjy4.js → shell-wakvkjy4.js} +1 -1
- package/dist/chunks/{bus-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{bus-tmcdqab3.js → shell-wj6zyh3r.js} +15 -15
- package/dist/chunks/{bus-wnhgecwx.js → shell-wnhgecwx.js} +1 -1
- package/dist/chunks/{bus-fznmdakp.js → shell-wr3re1en.js} +4 -4
- package/dist/chunks/{bus-80d82js4.js → shell-wtjv999x.js} +29 -29
- package/dist/chunks/{bus-78e9150v.js → shell-wyn38t1n.js} +14 -14
- package/dist/chunks/{bus-0hwce0kj.js → shell-wze3726t.js} +19 -19
- package/dist/chunks/{bus-gfavdftz.js → shell-x15qb8kb.js} +24 -24
- package/dist/chunks/{bus-zfqs8zdj.js → shell-x6hvwx4s.js} +4 -4
- package/dist/chunks/{bus-57y44b3r.js → shell-x7ygks9b.js} +33 -33
- package/dist/chunks/{bus-per75jj3.js → shell-x8hqx8dn.js} +9 -9
- package/dist/chunks/{bus-a1t1p5x7.js → shell-xms0g0j8.js} +11 -11
- package/dist/chunks/{bus-md7y7r04.js → shell-xnwcn394.js} +4 -4
- package/dist/chunks/{bus-7xqx5zcv.js → shell-xq08wx7b.js} +21 -21
- package/dist/chunks/{bus-bv13p4fx.js → shell-xs7y4ztn.js} +33 -33
- package/dist/chunks/{bus-4r9ar4c5.js → shell-xvme4r16.js} +25 -25
- package/dist/chunks/{bus-qyjx7zef.js → shell-xx8a12fb.js} +54 -54
- package/dist/chunks/{bus-tqjaw1k6.js → shell-xxtgb6sa.js} +19 -19
- package/dist/chunks/{bus-xq8cwy21.js → shell-y1xa8t1k.js} +15 -15
- package/dist/chunks/{bus-frk5he0g.js → shell-y8dyt59y.js} +1 -1
- package/dist/chunks/{bus-9rpyvasa.js → shell-ya0ebpe6.js} +16 -16
- package/dist/chunks/{bus-yara3q77.js → shell-yara3q77.js} +2 -2
- package/dist/chunks/{bus-yb20nhc3.js → shell-yb20nhc3.js} +1 -1
- package/dist/chunks/{bus-mp3es3wh.js → shell-yekwrh4t.js} +17 -17
- package/dist/chunks/{bus-1q3kyvas.js → shell-ygy6krf6.js} +35 -35
- package/dist/chunks/{bus-5ampr7t5.js → shell-yqh7p5wn.js} +23 -23
- package/dist/chunks/{bus-bhqdc3dd.js → shell-yrvatxy0.js} +5 -5
- package/dist/chunks/{bus-v24v0w5v.js → shell-ysbx8q5e.js} +21 -21
- package/dist/chunks/{bus-5v6z2aq9.js → shell-yvf7qmnn.js} +5 -5
- package/dist/chunks/{bus-p982yv7g.js → shell-yzdtg5md.js} +15 -15
- package/dist/chunks/{bus-94bbnsy3.js → shell-z34kcv4r.js} +15 -15
- package/dist/chunks/{bus-z38nccrw.js → shell-z38nccrw.js} +1 -1
- package/dist/chunks/{bus-0x2frnqw.js → shell-zq6xckqc.js} +32 -32
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +91 -91
- package/dist/config/discovery.js +90 -90
- package/dist/config/integration.js +7 -7
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +219 -219
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +145 -145
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +72 -72
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- 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 +95 -95
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +377 -377
- 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 +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +103 -103
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +148 -148
- package/dist/file-mutation.js +102 -102
- package/dist/file-retention.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/file-watch.js +81 -81
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +234 -234
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +112 -112
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +115 -115
- package/dist/git.js +11 -11
- 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 +107 -107
- 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/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +368 -368
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +93 -93
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +163 -163
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +365 -365
- package/dist/location.js +95 -95
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +113 -113
- package/dist/mcp/instructions.js +168 -168
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +107 -107
- package/dist/model-resolver.js +105 -105
- package/dist/model-retry.js +1 -1
- package/dist/model.js +108 -108
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +141 -141
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +108 -108
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +225 -225
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +338 -338
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +123 -123
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +128 -128
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +128 -128
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +121 -121
- package/dist/plugin/provider/opencode.js +124 -124
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +80 -80
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +355 -355
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +236 -236
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +96 -96
- package/dist/provider.js +105 -105
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +104 -104
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +96 -96
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +103 -103
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +164 -164
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -96
- 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 +228 -228
- package/dist/session/execution.js +150 -150
- package/dist/session/generate.js +190 -190
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +134 -134
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +85 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +132 -132
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +155 -155
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +154 -154
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +190 -190
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +224 -224
- package/dist/session/usage.js +1 -1
- package/dist/session.js +223 -223
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +141 -141
- package/dist/skill.js +146 -146
- package/dist/snapshot.js +97 -97
- 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 +167 -167
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -160
- package/dist/tool/plugin/grep.js +160 -160
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +154 -154
- package/dist/tool/plugin/question.js +138 -138
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +224 -224
- package/dist/tool/plugin/skill.js +147 -147
- package/dist/tool/plugin/subagent.js +224 -224
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +147 -147
- package/dist/tool/plugin/websearch.js +145 -145
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +108 -108
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/usage-limits.js +95 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/command.js +5 -5
- package/dist/v1/config/mcp.js +6 -6
- package/dist/v1/config/migrate.js +100 -100
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +101 -101
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +94 -94
- package/dist/websearch.js +88 -88
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +104 -104
- package/package.json +8 -8
- package/dist/chunks/bus-jztn5z23.js +0 -18
- package/dist/chunks/bus-pth0qd0d.js +0 -257
- package/dist/chunks/bus-xgvyah86.js +0 -26
- /package/dist/chunks/{bus-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1jakw16s.js → shell-1jakw16s.js} +0 -0
- /package/dist/chunks/{bus-24dcb14g.js → shell-24dcb14g.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2bv980vf.js → shell-2bv980vf.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4m86bj6y.js → shell-4m86bj6y.js} +0 -0
- /package/dist/chunks/{bus-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-5w3e23ze.js → shell-5w3e23ze.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-6q2bdcd1.js → shell-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-84wd9syh.js → shell-84wd9syh.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-8wj87zfr.js → shell-8wj87zfr.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a058387c.js → shell-a058387c.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-beh6qq61.js → shell-beh6qq61.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cqv5kn06.js → shell-cqv5kn06.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → shell-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fkpq3x5p.js → shell-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hcxmzztb.js → shell-hcxmzztb.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jwr30sdr.js → shell-jwr30sdr.js} +0 -0
- /package/dist/chunks/{bus-jze0r7bz.js → shell-jze0r7bz.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-m18g726c.js → shell-m18g726c.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-ncqqe42p.js → shell-ncqqe42p.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-p71gwv9c.js → shell-p71gwv9c.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-ve7vex1e.js → shell-ve7vex1e.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → shell-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-z5v4ffb3.js → shell-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → shell-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-2a1sbzpd.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-b3mxrt5b.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-dbw0hcg3.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-61ennm6n.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event19
|
|
9
|
+
} from "./shell-cf7530z0.js";
|
|
10
10
|
import {
|
|
11
11
|
ID14
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-51czaex0.js";
|
|
13
13
|
import {
|
|
14
14
|
ID13,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service78
|
|
16
|
+
} from "./shell-cyav8ryr.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load4,
|
|
19
|
+
derive3
|
|
20
|
+
} from "./shell-162cz2jq.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
@@ -26,7 +26,7 @@ var providerID = ID13.make("modal");
|
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
29
|
+
const providers = yield* Service78;
|
|
30
30
|
const bus = yield* Service85;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load4(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
provider2,
|
|
3
3
|
model2,
|
|
4
4
|
compatibleModel2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./shell-dt77769w.js";
|
|
6
6
|
import {
|
|
7
7
|
aisdk2,
|
|
8
8
|
packageName2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-cyav8ryr.js";
|
|
10
10
|
import {
|
|
11
11
|
Capabilities2,
|
|
12
12
|
compatibility2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-vc4tfmhw.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/v1/config/migrate.ts
|
|
19
19
|
var exports_migrate = {};
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-dbw0hcg3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./shell-1k9brye2.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service59,
|
|
11
|
+
node61
|
|
12
|
+
} from "./shell-117why0g.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
NotFoundError8
|
|
15
|
+
} from "./shell-hswehyeg.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service57,
|
|
18
|
+
node59
|
|
19
|
+
} from "./shell-47p99bkc.js";
|
|
20
20
|
import {
|
|
21
21
|
match2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./shell-z38nccrw.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service58,
|
|
25
|
+
node60
|
|
26
|
+
} from "./shell-wze3726t.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
Service70,
|
|
29
29
|
node73
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./shell-h0ppebc3.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./shell-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/permission.ts
|
|
36
36
|
var exports_permission = {};
|
|
@@ -40,18 +40,18 @@ __export(exports_permission, {
|
|
|
40
40
|
DeclinedError: () => DeclinedError2,
|
|
41
41
|
Effect: () => PermissionEffect,
|
|
42
42
|
Event: () => Event10,
|
|
43
|
-
ID: () =>
|
|
43
|
+
ID: () => ID7,
|
|
44
44
|
NotFoundError: () => NotFoundError7,
|
|
45
45
|
Permission: () => exports_permission,
|
|
46
46
|
Reply: () => Reply2,
|
|
47
47
|
Request: () => Request2,
|
|
48
48
|
Rule: () => Rule2,
|
|
49
49
|
Ruleset: () => Ruleset2,
|
|
50
|
-
Service: () =>
|
|
50
|
+
Service: () => Service56,
|
|
51
51
|
Source: () => Source4,
|
|
52
52
|
evaluate: () => evaluate2,
|
|
53
53
|
merge: () => merge2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node58
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
@@ -60,7 +60,7 @@ import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission"
|
|
|
60
60
|
import { Event as Event10 } from "@opencode/schema/permission";
|
|
61
61
|
var PermissionEffect = Permission.Effect;
|
|
62
62
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
63
|
-
var
|
|
63
|
+
var ID7 = Permission.ID;
|
|
64
64
|
var Source4 = Permission.Source;
|
|
65
65
|
var Request2 = Permission.Request;
|
|
66
66
|
var Reply2 = Permission.Reply;
|
|
@@ -85,7 +85,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
88
|
-
requestID:
|
|
88
|
+
requestID: ID7
|
|
89
89
|
}) {
|
|
90
90
|
}
|
|
91
91
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -99,15 +99,15 @@ function merge2(...rulesets) {
|
|
|
99
99
|
return rulesets.flat();
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
class
|
|
102
|
+
class Service56 extends Context.Service()("@opencode/Permission") {
|
|
103
103
|
}
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
105
105
|
const bus = yield* Service85;
|
|
106
|
-
const location = yield*
|
|
107
|
-
const agents = yield*
|
|
108
|
-
const sessions = yield*
|
|
109
|
-
const saved = yield*
|
|
110
|
-
const hooks = yield*
|
|
106
|
+
const location = yield* Service82;
|
|
107
|
+
const agents = yield* Service59;
|
|
108
|
+
const sessions = yield* Service57;
|
|
109
|
+
const saved = yield* Service58;
|
|
110
|
+
const hooks = yield* Service70;
|
|
111
111
|
const pending = new Map;
|
|
112
112
|
let closed = false;
|
|
113
113
|
const close = Effect.gen(function* () {
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
130
130
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
131
131
|
const session = yield* sessions.get(sessionID);
|
|
132
132
|
if (!session)
|
|
133
|
-
return yield* new
|
|
133
|
+
return yield* new NotFoundError8({ sessionID });
|
|
134
134
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
135
135
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
136
136
|
});
|
|
@@ -160,7 +160,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
160
160
|
});
|
|
161
161
|
function request(input, message) {
|
|
162
162
|
return {
|
|
163
|
-
id: input.id ??
|
|
163
|
+
id: input.id ?? ID7.create(),
|
|
164
164
|
sessionID: input.sessionID,
|
|
165
165
|
action: input.action,
|
|
166
166
|
resources: input.resources,
|
|
@@ -185,7 +185,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
185
185
|
}));
|
|
186
186
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
187
187
|
if (closed)
|
|
188
|
-
return { id: input.id ??
|
|
188
|
+
return { id: input.id ?? ID7.create(), effect: "deny" };
|
|
189
189
|
const result = yield* evaluateInput(input);
|
|
190
190
|
const value = request(input, result.message);
|
|
191
191
|
if (result.effect === "ask")
|
|
@@ -282,12 +282,12 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
282
282
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
283
283
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
284
284
|
});
|
|
285
|
-
return
|
|
285
|
+
return Service56.of({ ask, assert, assertNotDenied, reply, get, forSession, list, close });
|
|
286
286
|
}));
|
|
287
|
-
var
|
|
288
|
-
service:
|
|
287
|
+
var node58 = makeLocationNode({
|
|
288
|
+
service: Service56,
|
|
289
289
|
layer,
|
|
290
|
-
deps: [node89,
|
|
290
|
+
deps: [node89, node86, node61, node59, node60, node73]
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
export { PermissionEffect,
|
|
293
|
+
export { PermissionEffect, ID7, Source4, Request2, Reply2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service56, node58, exports_permission, Rule2, Ruleset2, Event10 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-dbw0hcg3.js";
|
|
5
5
|
import {
|
|
6
6
|
changes2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-204s3925.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/agent.ts
|
|
14
14
|
var exports_agent3 = {};
|
|
@@ -16,26 +16,26 @@ __export(exports_agent3, {
|
|
|
16
16
|
Agent: () => exports_agent3,
|
|
17
17
|
Color: () => Color2,
|
|
18
18
|
Event: () => Event11,
|
|
19
|
-
ID: () =>
|
|
19
|
+
ID: () => ID9,
|
|
20
20
|
Info: () => Info13,
|
|
21
21
|
Name: () => Name3,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service59,
|
|
23
23
|
defaultID: () => defaultID2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node61
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Event as Event11 } from "@opencode/schema/agent";
|
|
30
|
-
var
|
|
30
|
+
var ID9 = Agent.ID;
|
|
31
31
|
var Name3 = Agent.Name;
|
|
32
|
-
var defaultID2 =
|
|
32
|
+
var defaultID2 = ID9.make("build");
|
|
33
33
|
var Color2 = Agent.Color;
|
|
34
34
|
var Info13 = Agent.Info;
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service59 extends Context.Service()("@opencode/Agent") {
|
|
37
37
|
}
|
|
38
|
-
var layer = Layer.effect(
|
|
38
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
39
39
|
const bus = yield* Service85;
|
|
40
40
|
const selectable = (agent) => agent && agent.mode !== "subagent" && !agent.hidden ? agent : undefined;
|
|
41
41
|
const selectedDefault = (data) => {
|
|
@@ -80,7 +80,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
80
80
|
}),
|
|
81
81
|
notify: changes2(list, () => bus.publish(Agent.Event.Updated, {}).pipe(Effect.asVoid))
|
|
82
82
|
});
|
|
83
|
-
return
|
|
83
|
+
return Service59.of({
|
|
84
84
|
transform: state.transform,
|
|
85
85
|
reload: state.reload,
|
|
86
86
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
88
88
|
}),
|
|
89
89
|
resolve: Effect.fnUntraced(function* (id) {
|
|
90
90
|
if (id !== undefined)
|
|
91
|
-
return state.get().agents.get(
|
|
91
|
+
return state.get().agents.get(ID9.make(id));
|
|
92
92
|
return selectedDefault(state.get());
|
|
93
93
|
}),
|
|
94
94
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
@@ -102,6 +102,6 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
102
102
|
})
|
|
103
103
|
});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
105
|
+
var node61 = makeLocationNode({ service: Service59, layer, deps: [node89] });
|
|
106
106
|
|
|
107
|
-
export {
|
|
107
|
+
export { ID9, Name3, defaultID2, Color2, Info13, Service59, node61, exports_agent3, Event11 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-cyav8ryr.js";
|
|
5
5
|
import {
|
|
6
6
|
ID12,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info22,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-vc4tfmhw.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models2 = {};
|
|
17
|
+
__export(exports_models2, {
|
|
18
|
+
ModalModels: () => exports_models2,
|
|
19
|
+
derive: () => derive3,
|
|
20
|
+
get: () => get3,
|
|
21
|
+
load: () => load4
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get3(baseURL, apiKey, existing) {
|
|
58
|
+
return derive3(baseURL, await load4(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load4(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,7 +71,7 @@ async function load3(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive3(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
@@ -94,8 +94,8 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info22.make({
|
|
98
|
+
...Info22.default(providerID, id),
|
|
99
99
|
id,
|
|
100
100
|
modelID: ID12.make(remote.id),
|
|
101
101
|
providerID,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get3, load4, derive3, exports_models2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-dbw0hcg3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./shell-1k9brye2.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service32
|
|
10
|
+
} from "./shell-46q6xmy6.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command = {};
|
|
17
17
|
__export(exports_command, {
|
|
18
18
|
CommandPlugin: () => exports_command,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin15
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin15 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service82;
|
|
200
|
+
const mcp = yield* Service32;
|
|
201
201
|
const bus = yield* Service85;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin15, exports_command };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-034tev2y.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./shell-4cqhw4ty.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info28,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref5,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service82,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node86,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info28, Ref as Ref5, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service82 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node86 = LayerNode.unbound(Service82, tags.values.location);
|
|
27
|
+
var layer = (ref) => Layer.effect(Service82, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service83;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory);
|
|
30
|
-
return
|
|
30
|
+
return Service82.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service78, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service82,
|
|
39
39
|
layer: layer(ref),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node87]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info28, Ref5, response2, Service82, node86, boundNode2, exports_location };
|