@opencode/core 0.0.0-dev-20825 → 0.0.0-dev-20826
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/chunks/skill-03ajtf4e.js +513 -0
- package/dist/chunks/{model-resolver-66c2wr2a.js → skill-054kg9dc.js} +10 -10
- package/dist/chunks/{model-resolver-rk9k7afq.js → skill-07pmza7h.js} +3 -3
- package/dist/chunks/{model-resolver-aw7rh1ww.js → skill-0arqgfa8.js} +28 -28
- package/dist/chunks/{model-resolver-c7cb53f3.js → skill-0dvrkg93.js} +14 -14
- package/dist/chunks/{model-resolver-x2m64zns.js → skill-0e0n583m.js} +21 -21
- package/dist/chunks/{model-resolver-q0xm7vwc.js → skill-0j77ygfz.js} +6 -6
- package/dist/chunks/{model-resolver-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-kxvb3car.js → skill-0ps23nn8.js} +18 -18
- package/dist/chunks/{model-resolver-hyay7qq8.js → skill-0r5qpn88.js} +8 -8
- package/dist/chunks/{model-resolver-0vbcp93d.js → skill-0vbcp93d.js} +2 -2
- package/dist/chunks/{model-resolver-cxm67pkc.js → skill-0ysm00nq.js} +5 -5
- package/dist/chunks/{model-resolver-msk51jxa.js → skill-14p185v2.js} +21 -21
- package/dist/chunks/{model-resolver-mt7m3ya6.js → skill-1eyc1ny5.js} +11 -11
- package/dist/chunks/{model-resolver-ds4xae65.js → skill-1j9g6qpp.js} +8 -8
- package/dist/chunks/{model-resolver-q2t1kx4r.js → skill-1npvdhb2.js} +2 -2
- package/dist/chunks/{model-resolver-c9b6c6br.js → skill-1pxbf3bj.js} +46 -46
- package/dist/chunks/{model-resolver-2khnwfma.js → skill-21amjazn.js} +23 -23
- package/dist/chunks/{model-resolver-fptw13bf.js → skill-2251p17f.js} +19 -19
- package/dist/chunks/{model-resolver-1gpb38yh.js → skill-22f357wt.js} +9 -9
- package/dist/chunks/{model-resolver-zkqkkjp9.js → skill-26pzwsv6.js} +26 -26
- package/dist/chunks/{model-resolver-btz0t88h.js → skill-2ayzmxba.js} +24 -24
- package/dist/chunks/{model-resolver-4ts7tf6z.js → skill-2ccvkpx1.js} +2 -2
- package/dist/chunks/{model-resolver-r4yqrmdq.js → skill-2cmv458r.js} +5 -5
- package/dist/chunks/{model-resolver-z525se4v.js → skill-2g5ha180.js} +20 -20
- package/dist/chunks/{model-resolver-kc9gjmg8.js → skill-2hehr5w2.js} +10 -10
- package/dist/chunks/{model-resolver-2vvh33eb.js → skill-2vvh33eb.js} +2 -2
- package/dist/chunks/{model-resolver-8ss8m2w6.js → skill-39kmpgmc.js} +24 -24
- package/dist/chunks/{model-resolver-v7shq5xq.js → skill-3bd8wwbe.js} +24 -24
- package/dist/chunks/{model-resolver-vk084q95.js → skill-3cssazbk.js} +34 -34
- package/dist/chunks/{model-resolver-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-vwt8phtz.js → skill-3gz7g27y.js} +13 -13
- package/dist/chunks/{model-resolver-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-3hwn7j4h.js → skill-3hwn7j4h.js} +2 -2
- package/dist/chunks/{model-resolver-9mk6smr7.js → skill-3qgttbb0.js} +18 -18
- package/dist/chunks/{model-resolver-am4ys6ej.js → skill-3rmahs5y.js} +11 -11
- package/dist/chunks/{model-resolver-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-qkn9n2ht.js → skill-3xy6x5g1.js} +19 -19
- package/dist/chunks/{model-resolver-3zsf4n22.js → skill-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-resolver-5fn8kb1m.js → skill-402svr2v.js} +36 -36
- package/dist/chunks/{model-resolver-vwvxcq06.js → skill-43gkm62x.js} +5 -5
- package/dist/chunks/{model-resolver-bs6f72ms.js → skill-48mwqm8s.js} +10 -10
- package/dist/chunks/{model-resolver-tnwk7je0.js → skill-4chbmmjy.js} +11 -11
- package/dist/chunks/{model-resolver-rx9sw936.js → skill-4epvxwgg.js} +30 -30
- package/dist/chunks/{model-resolver-e8pe5bs3.js → skill-4gdef2r3.js} +37 -37
- package/dist/chunks/{model-resolver-4zj9c7sr.js → skill-4gned8ya.js} +22 -22
- package/dist/chunks/{model-resolver-gd3ka9py.js → skill-4sxh5q7f.js} +4 -4
- package/dist/chunks/{model-resolver-3e06xrhq.js → skill-4w3w3gnk.js} +27 -27
- package/dist/chunks/{model-resolver-zsr4wwhv.js → skill-4z58m4b4.js} +4 -4
- package/dist/chunks/{model-resolver-1ggxa6t4.js → skill-4z692haj.js} +90 -90
- package/dist/chunks/{model-resolver-f7nkyddb.js → skill-51b9494h.js} +9 -9
- package/dist/chunks/{model-resolver-zp6x4rdv.js → skill-54ck4wf0.js} +11 -11
- package/dist/chunks/{model-resolver-r94pvvab.js → skill-54ma36ye.js} +4 -4
- package/dist/chunks/{model-resolver-rm0y65ew.js → skill-5az9f6e7.js} +5 -5
- package/dist/chunks/{model-resolver-j6sex83x.js → skill-5h6rggsk.js} +4 -4
- package/dist/chunks/{model-resolver-5m9w47nd.js → skill-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-resolver-vq8v8vez.js → skill-5n34a961.js} +4 -4
- package/dist/chunks/{model-resolver-nveymbys.js → skill-5s674n18.js} +3 -3
- package/dist/chunks/{model-resolver-j5cam5cc.js → skill-67st221m.js} +87 -87
- package/dist/chunks/{model-resolver-7qy5krn4.js → skill-6fjww8gn.js} +48 -48
- package/dist/chunks/{model-resolver-1zsq2bqn.js → skill-6ktj5znq.js} +11 -11
- package/dist/chunks/{model-resolver-8xshesq6.js → skill-6wk66kgs.js} +4 -4
- package/dist/chunks/{model-resolver-6xb47vfp.js → skill-6xb47vfp.js} +1 -1
- package/dist/chunks/{model-resolver-drnf6xwf.js → skill-706phk7x.js} +2 -2
- package/dist/chunks/{model-resolver-hxrx80a3.js → skill-74bhg78j.js} +35 -35
- package/dist/chunks/{model-resolver-00mvmxfh.js → skill-74gxmjd3.js} +12 -12
- package/dist/chunks/{model-resolver-58hng72m.js → skill-782zrs06.js} +5 -5
- package/dist/chunks/{model-resolver-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-f6vfcazt.js → skill-7d3cke9g.js} +15 -15
- package/dist/chunks/{model-resolver-0jwsre1p.js → skill-7dqw4kz8.js} +5 -5
- package/dist/chunks/{model-resolver-vv44hwmw.js → skill-7gra0nqm.js} +12 -12
- package/dist/chunks/{model-resolver-8zda0nf7.js → skill-7j0yeb1q.js} +3 -3
- package/dist/chunks/{model-resolver-tmzvxbcr.js → skill-7kgd0s0x.js} +13 -13
- package/dist/chunks/{model-resolver-s4xtvnse.js → skill-7nh3rdxx.js} +32 -32
- package/dist/chunks/{model-resolver-952eaccn.js → skill-7nk17e7j.js} +19 -19
- package/dist/chunks/{model-resolver-9zjswjmw.js → skill-7tf38zkw.js} +8 -8
- package/dist/chunks/{model-resolver-1xyzrv88.js → skill-7x669gbt.js} +15 -15
- package/dist/chunks/{model-resolver-3j5kk4r4.js → skill-7zpre7y5.js} +55 -55
- package/dist/chunks/{model-resolver-fcxqfe59.js → skill-80r7tq9c.js} +10 -10
- package/dist/chunks/{model-resolver-f8w4kezf.js → skill-893xt8a4.js} +15 -15
- package/dist/chunks/{model-resolver-4a5ztk63.js → skill-8hy12zsj.js} +42 -42
- package/dist/chunks/{model-resolver-8m6m0r52.js → skill-8m6m0r52.js} +1 -1
- package/dist/chunks/{model-resolver-0yvp6fqs.js → skill-8nraxkww.js} +32 -32
- package/dist/chunks/{model-resolver-czz8a252.js → skill-8sbx5588.js} +22 -22
- package/dist/chunks/{model-resolver-z6xnm1hd.js → skill-8v5x19vh.js} +24 -24
- package/dist/chunks/{model-resolver-j09zfasm.js → skill-91qna3x0.js} +3 -3
- package/dist/chunks/{model-resolver-hejxbgj7.js → skill-96tre5n4.js} +20 -20
- package/dist/chunks/{model-resolver-rzs3gq0x.js → skill-99xay3p1.js} +8 -8
- package/dist/chunks/{model-resolver-d07a65d0.js → skill-9svpk271.js} +27 -27
- package/dist/chunks/{model-resolver-mpr1ppnz.js → skill-9x0gz91n.js} +154 -154
- package/dist/chunks/{model-resolver-1y24xx8v.js → skill-a7rk3z6b.js} +33 -33
- package/dist/chunks/{model-resolver-qeay7bfp.js → skill-a7xy3v5h.js} +50 -50
- package/dist/chunks/{model-resolver-9q2dymh5.js → skill-a8f7ngtz.js} +47 -47
- package/dist/chunks/{model-resolver-thxhb584.js → skill-af0a6jtc.js} +6 -6
- package/dist/chunks/{model-resolver-7gegkexy.js → skill-ah8e0mas.js} +3 -3
- package/dist/chunks/{model-resolver-z64e08bt.js → skill-aj7xfzf8.js} +11 -11
- package/dist/chunks/{model-resolver-mdgny2h2.js → skill-arrqykze.js} +69 -69
- package/dist/chunks/{model-resolver-v2xp8k5w.js → skill-atxg8vat.js} +4 -4
- package/dist/chunks/{model-resolver-spzmyp0d.js → skill-b130te7a.js} +3 -3
- package/dist/chunks/{model-resolver-shc06m3c.js → skill-b79wvxw5.js} +34 -34
- package/dist/chunks/{model-resolver-8445zpne.js → skill-bak53rn6.js} +17 -17
- package/dist/chunks/{model-resolver-t8h80vnj.js → skill-bbycbt8h.js} +27 -27
- package/dist/chunks/{model-resolver-0cyezpg7.js → skill-bqdn68pr.js} +7 -7
- package/dist/chunks/{model-resolver-0z2tybs7.js → skill-bsszbsx0.js} +4 -4
- package/dist/chunks/{model-resolver-6b3rp9xb.js → skill-bt0f8rxp.js} +25 -25
- package/dist/chunks/skill-bt91ab93.js +253 -0
- package/dist/chunks/{model-resolver-438mmgwp.js → skill-bwkhxzqp.js} +1 -1
- package/dist/chunks/{model-resolver-skhz7g2d.js → skill-bwkj1qe0.js} +16 -16
- package/dist/chunks/{model-resolver-es1vcfrp.js → skill-c1fqxshp.js} +3 -3
- package/dist/chunks/{model-resolver-0j1h8p53.js → skill-c9h1akpe.js} +24 -24
- package/dist/chunks/{model-resolver-d9kycxq3.js → skill-ce1ww0hn.js} +9 -9
- package/dist/chunks/{model-resolver-5yzzbxa7.js → skill-cmwkp3r5.js} +8 -8
- package/dist/chunks/{model-resolver-gqvee6ey.js → skill-cp5p6fab.js} +18 -18
- package/dist/chunks/{model-resolver-zehn0qfn.js → skill-cz59gfa5.js} +42 -42
- package/dist/chunks/{model-resolver-cpneeje0.js → skill-d4he2qe1.js} +5 -5
- package/dist/chunks/{model-resolver-ykvkrf63.js → skill-d8f39z64.js} +3 -3
- package/dist/chunks/{model-resolver-62dx9yxp.js → skill-dft3wafc.js} +35 -35
- package/dist/chunks/{model-resolver-e052d1q0.js → skill-dpb9t3y1.js} +27 -27
- package/dist/chunks/{model-resolver-n8anjzen.js → skill-drxm696w.js} +35 -35
- package/dist/chunks/{model-resolver-gzk07654.js → skill-dxkygmqf.js} +44 -44
- package/dist/chunks/{model-resolver-dxy7xx6d.js → skill-dyzdawcw.js} +7 -7
- package/dist/chunks/{model-resolver-yfkx0eqm.js → skill-dzvr5812.js} +24 -24
- package/dist/chunks/{model-resolver-8asyfh9s.js → skill-e1pxbzej.js} +9 -9
- package/dist/chunks/{model-resolver-5qd3pb7m.js → skill-e3qxr5gk.js} +2 -2
- package/dist/chunks/{model-resolver-7x4tntjh.js → skill-e6kjdzrx.js} +1 -1
- package/dist/chunks/{model-resolver-nma959mg.js → skill-e80seqcp.js} +3 -3
- package/dist/chunks/{model-resolver-25tpx51f.js → skill-e89fcy78.js} +10 -10
- package/dist/chunks/{model-resolver-eej6y6fw.js → skill-eej6y6fw.js} +2 -2
- package/dist/chunks/{model-resolver-ef5x83kb.js → skill-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-x8yzxsbj.js → skill-ewrq5sv8.js} +10 -10
- package/dist/chunks/{model-resolver-0rs8myd8.js → skill-ezh22ty2.js} +21 -21
- package/dist/chunks/{model-resolver-yav78m6g.js → skill-f1ezxx24.js} +13 -13
- package/dist/chunks/{model-resolver-y15vpdnr.js → skill-f58gpcny.js} +9 -9
- package/dist/chunks/{model-resolver-vk4601vm.js → skill-f5bajshz.js} +18 -18
- package/dist/chunks/{model-resolver-r3dvpv5z.js → skill-f7s93m2y.js} +24 -24
- package/dist/chunks/{model-resolver-3an6bgbg.js → skill-fh4jabks.js} +15 -15
- package/dist/chunks/{model-resolver-n2rv9ytx.js → skill-fppa4v5t.js} +12 -12
- package/dist/chunks/{model-resolver-7428vhhy.js → skill-fxh7jspe.js} +17 -17
- package/dist/chunks/{model-resolver-brqa01n9.js → skill-fyd44fq0.js} +23 -23
- package/dist/chunks/{model-resolver-7atybeme.js → skill-g0adnnrh.js} +18 -18
- package/dist/chunks/{model-resolver-4xdpab2z.js → skill-g686f6pq.js} +9 -9
- package/dist/chunks/{model-resolver-8e78msr1.js → skill-g6x62smh.js} +14 -14
- package/dist/chunks/{model-resolver-3j6qp9bc.js → skill-g77fasqp.js} +15 -15
- package/dist/chunks/{model-resolver-he27pt63.js → skill-gd0tnyjc.js} +1 -1
- package/dist/chunks/{model-resolver-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-e73g0wvd.js → skill-gf6hnvga.js} +4 -4
- package/dist/chunks/{model-resolver-gk8qb678.js → skill-gk8qb678.js} +1 -1
- package/dist/chunks/{model-resolver-k5dc2vmd.js → skill-gq5nnmhs.js} +9 -9
- package/dist/chunks/{model-resolver-xmkm7fbj.js → skill-h0j2zbgz.js} +27 -27
- package/dist/chunks/{model-resolver-rjmj41vv.js → skill-h3mfw8ha.js} +4 -4
- package/dist/chunks/{model-resolver-pqf191vy.js → skill-h5enmkp2.js} +17 -17
- package/dist/chunks/{model-resolver-yy2bf7rf.js → skill-h6r382m4.js} +11 -11
- package/dist/chunks/{model-resolver-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-xpffpww7.js → skill-h6w6ry4f.js} +11 -11
- package/dist/chunks/{model-resolver-31xfzrxg.js → skill-h7s7r6s9.js} +5 -5
- package/dist/chunks/{model-resolver-2rehhz5t.js → skill-h8wx7fmz.js} +11 -11
- package/dist/chunks/{model-resolver-hgz4x7wa.js → skill-hgz4x7wa.js} +1 -1
- package/dist/chunks/{model-resolver-jdz4qjxc.js → skill-hkffa77z.js} +4 -4
- package/dist/chunks/{model-resolver-t2vkhgbg.js → skill-hpr7fteq.js} +18 -18
- package/dist/chunks/{model-resolver-0epwncsf.js → skill-hrz9kmjx.js} +3 -3
- package/dist/chunks/{model-resolver-gfhy63hj.js → skill-j4prh3qw.js} +20 -20
- package/dist/chunks/{model-resolver-j56e64zr.js → skill-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-0br3sbwn.js → skill-j8m1p4p1.js} +4 -4
- package/dist/chunks/{model-resolver-00hydevz.js → skill-jchv0x1t.js} +16 -16
- package/dist/chunks/{model-resolver-4qaehj67.js → skill-jekxgysa.js} +3 -3
- package/dist/chunks/{model-resolver-ph842b28.js → skill-jewzahs7.js} +4 -4
- package/dist/chunks/{model-resolver-pbfwh0cy.js → skill-jfqtm2ew.js} +7 -7
- package/dist/chunks/{model-resolver-hthjksz6.js → skill-jpehgbjb.js} +26 -26
- package/dist/chunks/skill-jqh9b0xq.js +18 -0
- package/dist/chunks/{model-resolver-e8m77gve.js → skill-jwf9y0a3.js} +10 -10
- package/dist/chunks/{model-resolver-jepehhcn.js → skill-jxznacnn.js} +9 -9
- package/dist/chunks/{model-resolver-z5z78jza.js → skill-jyfpsn8b.js} +18 -18
- package/dist/chunks/{model-resolver-s76dkkvr.js → skill-k14vxfxf.js} +18 -18
- package/dist/chunks/{model-resolver-rsmgkfp3.js → skill-k5y15yet.js} +10 -10
- package/dist/chunks/{model-resolver-wr9zkec4.js → skill-k6t42hw0.js} +14 -14
- package/dist/chunks/{model-resolver-9h7c1aps.js → skill-kgrdg1t7.js} +16 -16
- package/dist/chunks/{model-resolver-hq3c8me3.js → skill-khmqacep.js} +4 -4
- package/dist/chunks/{model-resolver-8nzb5d0e.js → skill-khxhje02.js} +5 -5
- package/dist/chunks/{model-resolver-97aeaand.js → skill-kqv3x6rj.js} +9 -9
- package/dist/chunks/{model-resolver-wkw6304r.js → skill-m1y3ev3f.js} +14 -14
- package/dist/chunks/{model-resolver-nsep0bnj.js → skill-m3tby6h3.js} +7 -7
- package/dist/chunks/{model-resolver-n61013np.js → skill-m6rbnapp.js} +11 -11
- package/dist/chunks/{model-resolver-pm617sjb.js → skill-m8amn440.js} +11 -11
- package/dist/chunks/{model-resolver-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-rbr6e3az.js → skill-mn2jssd1.js} +46 -46
- package/dist/chunks/{model-resolver-p0x6m6cr.js → skill-mnpwv5rr.js} +32 -32
- package/dist/chunks/{model-resolver-b8zkqphn.js → skill-mszddwga.js} +16 -16
- package/dist/chunks/{model-resolver-my4zabxr.js → skill-n7d88tpn.js} +2 -2
- package/dist/chunks/{model-resolver-repb58am.js → skill-nd37ta7v.js} +8 -8
- package/dist/chunks/{model-resolver-x7srd6wz.js → skill-nv3yves8.js} +10 -10
- package/dist/chunks/{model-resolver-89be0nvq.js → skill-p382tw6g.js} +15 -15
- package/dist/chunks/{model-resolver-52ghtah7.js → skill-p97g2b6e.js} +5 -5
- package/dist/chunks/{model-resolver-21hptw97.js → skill-pfeqy1xz.js} +32 -32
- package/dist/chunks/{model-resolver-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-qfxdb210.js → skill-pmedcct5.js} +8 -8
- package/dist/chunks/{model-resolver-xfwgz2sz.js → skill-pt5qpz7e.js} +11 -11
- package/dist/chunks/{model-resolver-6pc27hjz.js → skill-py3kkmfq.js} +6 -6
- package/dist/chunks/{model-resolver-wev7e6ck.js → skill-qb0wp3nz.js} +13 -13
- package/dist/chunks/{model-resolver-k9byjnss.js → skill-qbp5w25r.js} +8 -8
- package/dist/chunks/{model-resolver-qnc92qwc.js → skill-qnc92qwc.js} +1 -1
- package/dist/chunks/{model-resolver-wpdtsyf6.js → skill-qscw1svz.js} +22 -22
- package/dist/chunks/{model-resolver-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-20vh3zss.js → skill-r0bjqnxp.js} +13 -13
- package/dist/chunks/{model-resolver-37ex1wq2.js → skill-r8yh9gsk.js} +3 -3
- package/dist/chunks/{model-resolver-g3pjsnhq.js → skill-ra1jf175.js} +22 -22
- package/dist/chunks/{model-resolver-jxr5ks98.js → skill-rc1szs54.js} +6 -6
- package/dist/chunks/{model-resolver-rdw6cm16.js → skill-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-tkb22qbm.js → skill-rert0e01.js} +2 -2
- package/dist/chunks/{model-resolver-pj2kjhp4.js → skill-rg26e3dg.js} +19 -19
- package/dist/chunks/{model-resolver-arvc38t3.js → skill-rg4v0xfm.js} +5 -5
- package/dist/chunks/{model-resolver-c41wscbt.js → skill-rj3eygr5.js} +2 -2
- package/dist/chunks/{model-resolver-znvvnn0n.js → skill-rjq8wmvv.js} +14 -14
- package/dist/chunks/{model-resolver-9g0x53p6.js → skill-rpf7afex.js} +22 -22
- package/dist/chunks/{model-resolver-6hjx5zpb.js → skill-s1kvmffy.js} +9 -9
- package/dist/chunks/{model-resolver-x6v0h5p6.js → skill-s3fcqr35.js} +11 -11
- package/dist/chunks/{model-resolver-mr56bpwe.js → skill-s3qjw1pn.js} +11 -11
- package/dist/chunks/{model-resolver-qwjmgwmn.js → skill-s5met55r.js} +8 -8
- package/dist/chunks/{model-resolver-eaj1djv9.js → skill-s8d7rejh.js} +6 -6
- package/dist/chunks/{model-resolver-c8ax2afj.js → skill-sa8ekw3f.js} +2 -2
- package/dist/chunks/{model-resolver-wat9ccs0.js → skill-sdaj4hze.js} +16 -16
- package/dist/chunks/{model-resolver-1v7d8dyr.js → skill-sn1ft31v.js} +11 -11
- package/dist/chunks/{model-resolver-dg7e64je.js → skill-srvasj4s.js} +10 -10
- package/dist/chunks/{model-resolver-syv4x271.js → skill-syv4x271.js} +1 -1
- package/dist/chunks/{model-resolver-mh95raz8.js → skill-t1ppkja0.js} +23 -23
- package/dist/chunks/{model-resolver-n3qtygy3.js → skill-t3c1w11q.js} +7 -7
- package/dist/chunks/{model-resolver-fg0se8bt.js → skill-t3dyfpts.js} +25 -25
- package/dist/chunks/{model-resolver-rwm5vee1.js → skill-t7n9q6bq.js} +4 -4
- package/dist/chunks/{model-resolver-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-prmgem5b.js → skill-tcay1cqt.js} +6 -6
- package/dist/chunks/{model-resolver-89znhe33.js → skill-tcezcvh9.js} +4 -4
- package/dist/chunks/{model-resolver-tdstcens.js → skill-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-ve4j09ev.js → skill-tm8n2dag.js} +34 -34
- package/dist/chunks/{model-resolver-evq0a796.js → skill-tvqjvqh2.js} +53 -53
- package/dist/chunks/{model-resolver-tyytaxap.js → skill-tyytaxap.js} +1 -1
- package/dist/chunks/{model-resolver-0bg0bx69.js → skill-v0es1rhs.js} +5 -5
- package/dist/chunks/{model-resolver-v7p4zvkq.js → skill-v7p4zvkq.js} +2 -2
- package/dist/chunks/{model-resolver-ns4jf56n.js → skill-vb779x36.js} +31 -31
- package/dist/chunks/{model-resolver-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-267qws5w.js → skill-vk71ktyq.js} +18 -18
- package/dist/chunks/{model-resolver-j043eqhj.js → skill-vvejrkfj.js} +24 -24
- package/dist/chunks/{model-resolver-yesxfxzm.js → skill-vw9y7nsp.js} +14 -14
- package/dist/chunks/{model-resolver-vzs5sf6e.js → skill-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-resolver-84txncab.js → skill-w1eejvng.js} +5 -5
- package/dist/chunks/{model-resolver-dssbfrwz.js → skill-w2h15q85.js} +5 -5
- package/dist/chunks/{model-resolver-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-75qns3nc.js → skill-w9ryxck0.js} +29 -29
- package/dist/chunks/{model-resolver-2z1sbxkm.js → skill-wam8kafv.js} +16 -16
- package/dist/chunks/{model-resolver-hcc7h0se.js → skill-waq359tg.js} +29 -29
- package/dist/chunks/{model-resolver-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-b3f8fkhc.js → skill-wecqtg5s.js} +5 -5
- package/dist/chunks/{model-resolver-j5xf5m5x.js → skill-whrvwyny.js} +29 -29
- package/dist/chunks/{model-resolver-jaawwjdn.js → skill-wvpwbqrt.js} +33 -33
- package/dist/chunks/{model-resolver-x2qxvyvc.js → skill-wwmzx8zk.js} +28 -28
- package/dist/chunks/{model-resolver-addxnjmp.js → skill-x661k3y3.js} +4 -4
- package/dist/chunks/{model-resolver-t57shhp7.js → skill-xd5zg08j.js} +18 -18
- package/dist/chunks/{model-resolver-wvnxh5mx.js → skill-xe0rr0dc.js} +18 -18
- package/dist/chunks/{model-resolver-drwq78ky.js → skill-xfkkasph.js} +4 -4
- package/dist/chunks/{model-resolver-kxrk9wqg.js → skill-xk38kzjr.js} +9 -9
- package/dist/chunks/skill-xn7erqew.js +26 -0
- package/dist/chunks/{model-resolver-hsnz0d85.js → skill-xtev3e47.js} +14 -14
- package/dist/chunks/{model-resolver-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-y71avatq.js → skill-y71avatq.js} +1 -1
- package/dist/chunks/{model-resolver-mjwve1nx.js → skill-y8mn00j4.js} +42 -42
- package/dist/chunks/{model-resolver-w0n5n1pn.js → skill-yejprgqt.js} +13 -13
- package/dist/chunks/{model-resolver-j62t34ty.js → skill-yn3z4aa5.js} +4 -4
- package/dist/chunks/{model-resolver-r8xr0va3.js → skill-yp2x3t23.js} +4 -4
- package/dist/chunks/{model-resolver-fz112egw.js → skill-yr7javwp.js} +5 -5
- package/dist/chunks/{model-resolver-bjx1sjef.js → skill-ywt8jp22.js} +9 -9
- package/dist/chunks/{model-resolver-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-6kzp9tjq.js → skill-z6c3x22d.js} +5 -5
- package/dist/chunks/{model-resolver-ytm23z63.js → skill-zd9qesfz.js} +20 -20
- package/dist/chunks/{model-resolver-9h1rq4nb.js → skill-zmt4xjv0.js} +14 -14
- package/dist/chunks/{model-resolver-q0zbnr5v.js → skill-zqwxztna.js} +4 -4
- package/dist/chunks/{model-resolver-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-bezqnnbp.js → skill-zvq5hknc.js} +13 -13
- package/dist/chunks/{model-resolver-qgy4cpjv.js → skill-zvqtgt76.js} +9 -9
- package/dist/chunks/{model-resolver-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- 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/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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +10 -10
- 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 +93 -93
- 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.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 +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +97 -97
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +92 -92
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- 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 +6 -6
- 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 +220 -220
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +92 -92
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +91 -91
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/model-resolver-1y150ee2.js +0 -26
- package/dist/chunks/model-resolver-f9qvt350.js +0 -513
- package/dist/chunks/model-resolver-qdb1nj2v.js +0 -253
- package/dist/chunks/model-resolver-rap9a73h.js +0 -18
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → skill-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2bv980vf.js → skill-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3t0ybcrp.js → skill-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-6q2bdcd1.js → skill-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-84wd9syh.js → skill-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → skill-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-bw78ga2c.js → skill-bw78ga2c.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → skill-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → skill-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → skill-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jze0r7bz.js → skill-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-m18g726c.js → skill-m18g726c.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-pkyv6v7h.js → skill-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-resolver-pyv0edze.js → skill-pyv0edze.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → skill-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-ve7vex1e.js → skill-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → skill-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → skill-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → skill-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z5v4ffb3.js → skill-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → skill-z9919s4g.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-eej6y6fw.js";
|
|
7
7
|
import {
|
|
8
8
|
Service85,
|
|
9
9
|
node89
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-7j0yeb1q.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-y71avatq.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node58
|
|
18
|
+
} from "./skill-nd37ta7v.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./skill-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./skill-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID4,
|
|
31
|
+
Info: () => Info8,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service54,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured8,
|
|
36
|
+
node: () => node57
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID4 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info8 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID4,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,24 +52,24 @@ class Info15 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID4 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID4,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service54 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured8 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service54,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [node89,
|
|
70
|
+
deps: [node89, node58]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
72
|
+
var layer = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
73
73
|
const db = (yield* Service85).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info8({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service54.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID4.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node57 = configured8();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID4, Info8, NotFound2, CreateConflict2, Service54, configured8, node57, exports_workspace };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info23,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
Status: () => Status3,
|
|
13
13
|
key: () => key2
|
|
@@ -15,7 +15,7 @@ __export(exports_connection, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info23 = Connection.Info;
|
|
19
19
|
var Status3 = Connection.Status;
|
|
20
20
|
function key2(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key2(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info23, Status3, key2, exports_connection };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-5n34a961.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./skill-x661k3y3.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
Service76,
|
|
15
15
|
node80,
|
|
16
16
|
Event17
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./skill-0e0n583m.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service81,
|
|
20
|
+
node85
|
|
21
|
+
} from "./skill-g6x62smh.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./skill-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -39,8 +39,8 @@ __export(exports_provider3, {
|
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
40
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
41
41
|
Event: () => Event16,
|
|
42
|
-
ID: () =>
|
|
43
|
-
Info: () =>
|
|
42
|
+
ID: () => ID12,
|
|
43
|
+
Info: () => Info21,
|
|
44
44
|
LoadError: () => LoadError3,
|
|
45
45
|
Provider: () => exports_provider3,
|
|
46
46
|
Request: () => Request3,
|
|
@@ -69,7 +69,7 @@ import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
|
69
69
|
import { Credential } from "@opencode/schema/credential";
|
|
70
70
|
import { freeze } from "immer";
|
|
71
71
|
import { Event as Event16 } from "@opencode/schema/provider";
|
|
72
|
-
var
|
|
72
|
+
var ID12 = Provider.ID;
|
|
73
73
|
var AISDK_PREFIX2 = "aisdk:";
|
|
74
74
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
75
75
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -246,7 +246,7 @@ var Request3 = Provider.Request;
|
|
|
246
246
|
var Compaction3 = Provider.Compaction;
|
|
247
247
|
var Transport2 = Provider.Transport;
|
|
248
248
|
var Settings2 = Provider.Settings;
|
|
249
|
-
var
|
|
249
|
+
var Info21 = Provider.Info;
|
|
250
250
|
|
|
251
251
|
class Service75 extends Context.Service()("@opencode/Provider") {
|
|
252
252
|
}
|
|
@@ -264,7 +264,7 @@ function index(providerID, models) {
|
|
|
264
264
|
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
265
265
|
const bus = yield* Service84;
|
|
266
266
|
const integrations = yield* Service76;
|
|
267
|
-
const location = yield*
|
|
267
|
+
const location = yield* Service81;
|
|
268
268
|
const state = create3({
|
|
269
269
|
name: "provider",
|
|
270
270
|
initial: () => new Map,
|
|
@@ -275,7 +275,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
275
275
|
const current = records.get(id);
|
|
276
276
|
if (current)
|
|
277
277
|
return current;
|
|
278
|
-
const added = { provider:
|
|
278
|
+
const added = { provider: Info21.empty(id), models: new Map };
|
|
279
279
|
records.set(id, added);
|
|
280
280
|
maps.add(added.models);
|
|
281
281
|
return added;
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
356
356
|
const available = Array.from(records.values()).filter((record) => {
|
|
357
357
|
if (record.provider.activation === "disabled")
|
|
358
358
|
return false;
|
|
359
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
359
|
+
const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
|
|
360
360
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
361
361
|
return false;
|
|
362
362
|
if (record.provider.activation === "enabled")
|
|
@@ -392,7 +392,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
392
392
|
snapshot
|
|
393
393
|
});
|
|
394
394
|
}));
|
|
395
|
-
var node79 = makeLocationNode({ service: Service75, layer, deps: [node88, node80,
|
|
395
|
+
var node79 = makeLocationNode({ service: Service75, layer, deps: [node88, node80, node85] });
|
|
396
396
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
397
397
|
const module = yield* Effect.tryPromise({
|
|
398
398
|
try: () => {
|
|
@@ -670,4 +670,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
670
670
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
671
671
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
672
672
|
|
|
673
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
673
|
+
export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info21, Service75, node79, exports_provider3, Event16 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info10,
|
|
6
|
+
ID6,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-ra1jf175.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service67
|
|
11
|
+
} from "./skill-1pxbf3bj.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill3 = {};
|
|
18
|
+
__export(exports_skill3, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin49,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill3
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin49 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info10.make({
|
|
434
|
+
id: ID6.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info10.make({
|
|
441
|
+
id: ID6.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service67;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin49, exports_skill3 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make15,
|
|
10
10
|
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
32
|
+
function make15(tools) {
|
|
33
33
|
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
35
|
function render3(prompt, tools) {
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make15, render3, exports_system_prompt };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./skill-1pxbf3bj.js";
|
|
4
4
|
import {
|
|
5
5
|
Service8
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-d4he2qe1.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher2 = {};
|
|
16
16
|
__export(exports_location_watcher2, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin9
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin9 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service67;
|
|
26
26
|
const policy = yield* Service8;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
@@ -35,4 +35,4 @@ var Plugin48 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin9, exports_location_watcher2 };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin37
|
|
3
|
+
} from "./skill-0r5qpn88.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin36
|
|
6
|
+
} from "./skill-jxznacnn.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin40
|
|
9
|
+
} from "./skill-e1pxbzej.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin41
|
|
12
|
+
} from "./skill-7tf38zkw.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin42
|
|
15
|
+
} from "./skill-51b9494h.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin37,
|
|
20
|
+
Plugin36,
|
|
21
|
+
Plugin40,
|
|
22
|
+
Plugin41,
|
|
23
|
+
Plugin42
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./skill-2ayzmxba.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/agent.ts
|
|
11
|
-
var
|
|
12
|
-
__export(
|
|
13
|
-
AgentPlugin: () =>
|
|
14
|
-
Plugin: () =>
|
|
11
|
+
var exports_agent2 = {};
|
|
12
|
+
__export(exports_agent2, {
|
|
13
|
+
AgentPlugin: () => exports_agent2,
|
|
14
|
+
Plugin: () => Plugin38
|
|
15
15
|
});
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
@@ -81,7 +81,7 @@ Rules:
|
|
|
81
81
|
- Never ask questions or add new questions
|
|
82
82
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
83
83
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
84
|
-
var
|
|
84
|
+
var Plugin38 = define({
|
|
85
85
|
id: "opencode.agent",
|
|
86
86
|
effect: Effect.fn(function* (ctx) {
|
|
87
87
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -91,32 +91,32 @@ var Plugin14 = define({
|
|
|
91
91
|
item.mode = "primary";
|
|
92
92
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
93
93
|
});
|
|
94
|
-
editor.update(
|
|
94
|
+
editor.update(ID9.make("general"), (item) => {
|
|
95
95
|
item.name = Name3.make("General");
|
|
96
96
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
97
97
|
item.mode = "subagent";
|
|
98
98
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
99
99
|
});
|
|
100
|
-
editor.update(
|
|
100
|
+
editor.update(ID9.make("explore"), (item) => {
|
|
101
101
|
item.name = Name3.make("Explore");
|
|
102
102
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
103
103
|
item.system = PROMPT_EXPLORE;
|
|
104
104
|
item.mode = "subagent";
|
|
105
105
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
|
|
106
106
|
});
|
|
107
|
-
editor.update(
|
|
107
|
+
editor.update(ID9.make("compaction"), (item) => {
|
|
108
108
|
item.name = Name3.make("Compaction");
|
|
109
109
|
item.mode = "primary";
|
|
110
110
|
item.hidden = true;
|
|
111
111
|
});
|
|
112
|
-
editor.update(
|
|
112
|
+
editor.update(ID9.make("title"), (item) => {
|
|
113
113
|
item.name = Name3.make("Title");
|
|
114
114
|
item.mode = "primary";
|
|
115
115
|
item.hidden = true;
|
|
116
116
|
item.system = PROMPT_TITLE;
|
|
117
117
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
118
118
|
});
|
|
119
|
-
editor.update(
|
|
119
|
+
editor.update(ID9.make("summary"), (item) => {
|
|
120
120
|
item.name = Name3.make("Summary");
|
|
121
121
|
item.mode = "primary";
|
|
122
122
|
item.hidden = true;
|
|
@@ -127,4 +127,4 @@ var Plugin14 = define({
|
|
|
127
127
|
})
|
|
128
128
|
});
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { Plugin38, exports_agent2 };
|