@opencode/core 0.0.0-dev-20682 → 0.0.0-dev-20685
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 +77 -77
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{model-resolver-77jv0j1h.js → skill-0eyjb1vg.js} +3 -3
- package/dist/chunks/{model-resolver-19y7fb49.js → skill-0fmfhvhw.js} +15 -15
- package/dist/chunks/{model-resolver-0j77ygfz.js → skill-0j77ygfz.js} +2 -2
- package/dist/chunks/{model-resolver-e5s5dhnn.js → skill-0mkndbe6.js} +11 -11
- package/dist/chunks/{model-resolver-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-dxqyj49f.js → skill-0thr3k0e.js} +1 -1
- package/dist/chunks/{model-resolver-0vbcp93d.js → skill-0vbcp93d.js} +2 -2
- package/dist/chunks/{model-resolver-wdr7g53b.js → skill-0x3xa83s.js} +30 -30
- package/dist/chunks/{model-resolver-0q2fecvk.js → skill-1588x7tj.js} +15 -15
- package/dist/chunks/{model-resolver-pnaxc6j9.js → skill-166kng33.js} +8 -8
- package/dist/chunks/{model-resolver-1dazxqgg.js → skill-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-wgrcm666.js → skill-1dhts66v.js} +24 -24
- package/dist/chunks/{model-resolver-84h8c373.js → skill-1dvck2a7.js} +2 -2
- package/dist/chunks/{model-resolver-vb454w7p.js → skill-1esqgadg.js} +3 -3
- package/dist/chunks/{model-resolver-ssrgjt3e.js → skill-1m7pdfg4.js} +16 -16
- package/dist/chunks/{model-resolver-fzz3hcr3.js → skill-1rq3a3hf.js} +25 -25
- package/dist/chunks/{model-resolver-tttwfjc6.js → skill-1v9qzc9e.js} +5 -5
- package/dist/chunks/{model-resolver-56gdpj1q.js → skill-1ygqh575.js} +9 -9
- package/dist/chunks/{model-resolver-e53gjx43.js → skill-22xfhar7.js} +46 -46
- package/dist/chunks/{model-resolver-38g0pyy9.js → skill-2647kg6y.js} +4 -4
- package/dist/chunks/{model-resolver-1p1pjvaa.js → skill-275ffj0h.js} +35 -35
- package/dist/chunks/{model-resolver-2a5m3afh.js → skill-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-2ccvkpx1.js → skill-2ccvkpx1.js} +2 -2
- package/dist/chunks/{model-resolver-h76ep6gq.js → skill-2ebgs5xn.js} +8 -8
- package/dist/chunks/{model-resolver-z0r25cb3.js → skill-2pb4h39y.js} +14 -14
- package/dist/chunks/{model-resolver-6m42r3np.js → skill-2pnhn36q.js} +4 -4
- package/dist/chunks/{model-resolver-h0wm3sd5.js → skill-2q40b9s7.js} +4 -4
- package/dist/chunks/{model-resolver-0364ndsb.js → skill-2rjwf753.js} +53 -53
- package/dist/chunks/{model-resolver-11nrpngx.js → skill-309rdzaz.js} +14 -14
- package/dist/chunks/{model-resolver-vsn506cm.js → skill-3bq6574k.js} +20 -20
- package/dist/chunks/{model-resolver-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-yyk24bey.js → skill-3gpyswvp.js} +20 -20
- package/dist/chunks/{model-resolver-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-zf19209g.js → skill-3hq4qcq8.js} +3 -3
- package/dist/chunks/{model-resolver-6x448rs9.js → skill-3q8w3yr3.js} +28 -28
- package/dist/chunks/{model-resolver-zny3dpd0.js → skill-3s72p7s8.js} +8 -8
- 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-pbwe4c5d.js → skill-3wfznkd8.js} +92 -92
- package/dist/chunks/{model-resolver-6c6jf3me.js → skill-3ywdd1w3.js} +24 -24
- package/dist/chunks/{model-resolver-3zsf4n22.js → skill-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-resolver-wbtjy708.js → skill-401t48pr.js} +21 -21
- package/dist/chunks/{model-resolver-4yxeygct.js → skill-49h3varh.js} +9 -9
- package/dist/chunks/{model-resolver-z4ztj7g0.js → skill-4jyvzrab.js} +5 -5
- package/dist/chunks/{model-resolver-hnyhndd0.js → skill-4m1pr4a2.js} +5 -5
- package/dist/chunks/{model-resolver-x2d9qy7d.js → skill-4n607a2z.js} +5 -5
- package/dist/chunks/{model-resolver-4z58m4b4.js → skill-4z58m4b4.js} +1 -1
- package/dist/chunks/{model-resolver-g2qj6ddr.js → skill-4z7q5m9p.js} +26 -26
- package/dist/chunks/{model-resolver-t32zyhfe.js → skill-4zd2tc4h.js} +7 -7
- package/dist/chunks/{model-resolver-3dygqxay.js → skill-52rm13ht.js} +8 -8
- package/dist/chunks/{model-resolver-r94pvvab.js → skill-54ma36ye.js} +4 -4
- package/dist/chunks/{model-resolver-nv85q5yc.js → skill-5522kwtq.js} +7 -7
- package/dist/chunks/{model-resolver-cxsfdq8a.js → skill-562wvshs.js} +18 -18
- package/dist/chunks/{model-resolver-ss358qx3.js → skill-58072hz9.js} +3 -3
- package/dist/chunks/{model-resolver-31xw4se4.js → skill-58mw70c5.js} +1 -1
- package/dist/chunks/{model-resolver-5daktx2q.js → skill-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-bth1fran.js → skill-5f4ygz93.js} +8 -8
- package/dist/chunks/{model-resolver-8htghz5d.js → skill-5g0a001x.js} +18 -18
- package/dist/chunks/{model-resolver-5m9w47nd.js → skill-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-resolver-5t3nmthw.js → skill-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-eyxk1qnq.js → skill-62a8jg41.js} +35 -35
- package/dist/chunks/{model-resolver-909p1r3q.js → skill-63xctefh.js} +6 -6
- package/dist/chunks/{model-resolver-vepq4dqg.js → skill-65rxfdmg.js} +38 -38
- package/dist/chunks/{model-resolver-meahagrb.js → skill-675ysw24.js} +44 -44
- package/dist/chunks/{model-resolver-x38qdzk1.js → skill-68e6h4yr.js} +48 -48
- package/dist/chunks/{model-resolver-gpnd5mkj.js → skill-6k8gp764.js} +9 -9
- package/dist/chunks/{model-resolver-8kddseeh.js → skill-6k97wrj8.js} +13 -13
- package/dist/chunks/{model-resolver-2txn9rvg.js → skill-6ns165dw.js} +1 -1
- package/dist/chunks/{model-resolver-pj9tg3xc.js → skill-6nz6dxrv.js} +23 -23
- package/dist/chunks/{model-resolver-y0qr5jf7.js → skill-6pdeeght.js} +1 -1
- package/dist/chunks/{model-resolver-6xb47vfp.js → skill-6xb47vfp.js} +1 -1
- package/dist/chunks/{model-resolver-f75zav2x.js → skill-71az546q.js} +2 -2
- package/dist/chunks/{model-resolver-b3pet2zg.js → skill-75f33kab.js} +4 -4
- package/dist/chunks/{model-resolver-55vcwskv.js → skill-79y6atse.js} +5 -5
- package/dist/chunks/{model-resolver-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-kx9rc79n.js → skill-7r7k2nqe.js} +27 -27
- package/dist/chunks/{model-resolver-7s2tn799.js → skill-7rwqf82v.js} +8 -8
- package/dist/chunks/{model-resolver-vbwbd6d7.js → skill-7wc666wa.js} +9 -9
- package/dist/chunks/skill-84n6bqxr.js +507 -0
- package/dist/chunks/{model-resolver-84txncab.js → skill-84txncab.js} +1 -1
- package/dist/chunks/{model-resolver-24kyvzj3.js → skill-868cdvj5.js} +58 -58
- package/dist/chunks/{model-resolver-4x518902.js → skill-8bzkbv2a.js} +35 -35
- package/dist/chunks/{model-resolver-110b8ek2.js → skill-8c4d16rr.js} +30 -30
- package/dist/chunks/{model-resolver-8d7r5vzw.js → skill-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-w7zyscj3.js → skill-8hvyv6jx.js} +11 -11
- package/dist/chunks/{model-resolver-yc5k47t6.js → skill-8wvf05k4.js} +20 -20
- package/dist/chunks/{model-resolver-66hc15ng.js → skill-92e6e67z.js} +36 -36
- package/dist/chunks/{model-resolver-v3n49zdf.js → skill-9bcg1rdd.js} +17 -17
- package/dist/chunks/{model-resolver-kb9j3d72.js → skill-9e5bzkjp.js} +3 -3
- package/dist/chunks/{model-resolver-0ybx6e4j.js → skill-9k2e641b.js} +19 -19
- package/dist/chunks/{model-resolver-f00eh3k7.js → skill-9k8khh75.js} +13 -13
- package/dist/chunks/{model-resolver-h5eb1stf.js → skill-9m7qgjrc.js} +46 -46
- package/dist/chunks/{model-resolver-amehwh5s.js → skill-9pjyg9y2.js} +9 -9
- package/dist/chunks/{model-resolver-tptdvtpk.js → skill-9rfjg73z.js} +23 -23
- package/dist/chunks/{model-resolver-ge7bq23y.js → skill-9x2sf26w.js} +32 -32
- package/dist/chunks/{model-resolver-2f659e5x.js → skill-9zbarsjq.js} +11 -11
- package/dist/chunks/{model-resolver-j028xdjb.js → skill-a1gpj94z.js} +3 -3
- package/dist/chunks/{model-resolver-gaav3xfc.js → skill-a4vs9yvm.js} +16 -16
- package/dist/chunks/{model-resolver-aaet6srn.js → skill-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-5kp4xrh9.js → skill-aawgk6d8.js} +9 -9
- package/dist/chunks/{model-resolver-x661k3y3.js → skill-addxnjmp.js} +4 -4
- package/dist/chunks/{model-resolver-ep06henm.js → skill-axn7dvfy.js} +12 -12
- package/dist/chunks/{model-resolver-dafg2r43.js → skill-axv96vje.js} +36 -36
- package/dist/chunks/{model-resolver-txqvqyew.js → skill-b2vmrq28.js} +43 -43
- package/dist/chunks/{model-resolver-k4asghnp.js → skill-b2zt2yz8.js} +14 -14
- package/dist/chunks/{model-resolver-8sze2n9a.js → skill-b4twkq7r.js} +2 -2
- package/dist/chunks/{model-resolver-je7fg4hd.js → skill-b6gvdnyt.js} +25 -25
- package/dist/chunks/{model-resolver-b6gygkdw.js → skill-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-4twwj3gr.js → skill-b779p72z.js} +11 -11
- package/dist/chunks/{model-resolver-av7v7zb0.js → skill-b95mxbva.js} +32 -32
- package/dist/chunks/{model-resolver-8wf1bn9q.js → skill-bahb5ywr.js} +13 -13
- package/dist/chunks/{model-resolver-sgg17eyk.js → skill-bjmfmphw.js} +22 -22
- package/dist/chunks/{model-resolver-8nwvde6v.js → skill-bp4tcvzq.js} +8 -8
- package/dist/chunks/{model-resolver-hhxvcfmq.js → skill-bqd55t4n.js} +2 -2
- package/dist/chunks/{model-resolver-2vecpzew.js → skill-br43mjxg.js} +18 -18
- package/dist/chunks/{model-resolver-dmghp31x.js → skill-bzasmb0t.js} +27 -27
- package/dist/chunks/{model-resolver-3jbr2x8z.js → skill-c62nam6a.js} +13 -13
- package/dist/chunks/{model-resolver-7y628me3.js → skill-ce09vj6d.js} +33 -33
- package/dist/chunks/{model-resolver-g0445xdp.js → skill-cmwkp3r5.js} +4 -4
- package/dist/chunks/{model-resolver-azd5zvnq.js → skill-cwaw5039.js} +13 -13
- package/dist/chunks/{model-resolver-3qnt817w.js → skill-derqp9sp.js} +12 -12
- package/dist/chunks/{model-resolver-6qcr098f.js → skill-detcm97x.js} +5 -5
- package/dist/chunks/{model-resolver-33dajdt0.js → skill-dj24h7ns.js} +95 -95
- package/dist/chunks/{model-resolver-c9kv66wf.js → skill-e22zy9yh.js} +25 -25
- package/dist/chunks/{model-resolver-e6vcv3sh.js → skill-e6k35mdv.js} +20 -20
- package/dist/chunks/{model-resolver-wj76ss2k.js → skill-eahhehpg.js} +4 -4
- package/dist/chunks/{model-resolver-ef5x83kb.js → skill-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-r01t9b5y.js → skill-ej9mn2hm.js} +6 -6
- package/dist/chunks/{model-resolver-qqbg84xg.js → skill-ep6kcn6v.js} +17 -17
- package/dist/chunks/{model-resolver-fvp47qe4.js → skill-eqr06bpp.js} +22 -22
- package/dist/chunks/{model-resolver-etq0c3wd.js → skill-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-btak5zqv.js → skill-f2r0fvjz.js} +10 -10
- package/dist/chunks/{model-resolver-ds811dtb.js → skill-f78yj8vc.js} +2 -2
- package/dist/chunks/{model-resolver-kax3gvj5.js → skill-f8fsn084.js} +17 -17
- package/dist/chunks/{model-resolver-ngghfn62.js → skill-f97asaf2.js} +5 -5
- package/dist/chunks/{model-resolver-zwcyw4cb.js → skill-fc4dftka.js} +1 -1
- package/dist/chunks/{model-resolver-qgn6gcr1.js → skill-fcrkznn8.js} +5 -5
- package/dist/chunks/{model-resolver-83009cjb.js → skill-feytpg7x.js} +25 -25
- package/dist/chunks/{model-resolver-9n8a201b.js → skill-fs209jg6.js} +77 -77
- package/dist/chunks/{model-resolver-ymr5aw12.js → skill-fw252590.js} +18 -18
- package/dist/chunks/{model-resolver-wzmhb02r.js → skill-g2jch1f7.js} +16 -16
- package/dist/chunks/{model-resolver-xfkkasph.js → skill-g5w8qwbj.js} +4 -4
- package/dist/chunks/{model-resolver-5vs2d7gx.js → skill-g86c4d6x.js} +19 -19
- package/dist/chunks/{model-resolver-evbj9t57.js → skill-g8xyk52s.js} +43 -43
- package/dist/chunks/{model-resolver-63db42yp.js → skill-gccjnz6h.js} +2 -2
- package/dist/chunks/{model-resolver-gd0tnyjc.js → skill-gd0tnyjc.js} +1 -1
- package/dist/chunks/{model-resolver-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-t29swve2.js → skill-ghy19pc9.js} +3 -3
- package/dist/chunks/{model-resolver-wbprqre7.js → skill-gy2e56wn.js} +13 -13
- package/dist/chunks/{model-resolver-3cegwx68.js → skill-h2b79v29.js} +2 -2
- package/dist/chunks/{model-resolver-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-ht2a8fky.js → skill-haazcpfb.js} +9 -9
- package/dist/chunks/{model-resolver-gz16832s.js → skill-hfa5cskv.js} +28 -28
- package/dist/chunks/{model-resolver-m9wbq610.js → skill-hgakwb3e.js} +27 -27
- package/dist/chunks/{model-resolver-9g5xkymg.js → skill-hm3r2xz9.js} +2 -2
- package/dist/chunks/{model-resolver-5120j63r.js → skill-hsgjxqj0.js} +10 -10
- package/dist/chunks/{model-resolver-g3g4kd0v.js → skill-hvscmftp.js} +17 -17
- package/dist/chunks/{model-resolver-8nn1yj6z.js → skill-hwhc0z12.js} +11 -11
- package/dist/chunks/{model-resolver-nvkjfv9x.js → skill-hxvv7a23.js} +18 -18
- package/dist/chunks/{model-resolver-j56e64zr.js → skill-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-eatejewc.js → skill-j9qv1w6s.js} +12 -12
- package/dist/chunks/{model-resolver-h182e1ya.js → skill-jaxnaccn.js} +12 -12
- package/dist/chunks/{model-resolver-94mn3p3s.js → skill-jbhe19h6.js} +11 -11
- package/dist/chunks/{model-resolver-fm2qvscf.js → skill-jfqtm2ew.js} +4 -4
- package/dist/chunks/{model-resolver-fd65jbzw.js → skill-k031xk3a.js} +11 -11
- package/dist/chunks/{model-resolver-m6f3t844.js → skill-k1qrnqst.js} +8 -8
- package/dist/chunks/{model-resolver-es92z2hg.js → skill-k2sew1gd.js} +4 -4
- package/dist/chunks/{model-resolver-nqc2a42y.js → skill-k70p9jzb.js} +9 -9
- package/dist/chunks/{model-resolver-x623mxjj.js → skill-ke89sf1e.js} +15 -15
- package/dist/chunks/{model-resolver-2becn8wt.js → skill-kfvfz29g.js} +5 -5
- package/dist/chunks/{model-resolver-rs7zj18r.js → skill-kg56m30s.js} +13 -13
- package/dist/chunks/{model-resolver-tk14y25j.js → skill-kjdm35cs.js} +5 -5
- package/dist/chunks/{model-resolver-hv8xeme1.js → skill-kz8mz4t8.js} +12 -12
- package/dist/chunks/{model-resolver-ypnjcb15.js → skill-m0xgqz8k.js} +41 -41
- package/dist/chunks/{model-resolver-dm21k72n.js → skill-m22batcp.js} +3 -3
- package/dist/chunks/{model-resolver-d8tgnve2.js → skill-m35ssw9y.js} +12 -12
- package/dist/chunks/{model-resolver-m3fdjcah.js → skill-m3fdjcah.js} +1 -1
- package/dist/chunks/{model-resolver-4warvet6.js → skill-m69s35vd.js} +21 -21
- package/dist/chunks/{model-resolver-kne8f3cn.js → skill-m70sbz6t.js} +4 -4
- package/dist/chunks/{model-resolver-0tpcnmcw.js → skill-m7kk9p21.js} +6 -6
- package/dist/chunks/{model-resolver-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-8z06avg2.js → skill-mnwggq08.js} +19 -19
- package/dist/chunks/{model-resolver-a7bcxdzj.js → skill-mphgtbj1.js} +9 -9
- package/dist/chunks/{model-resolver-mw9atry4.js → skill-n12271ad.js} +3 -3
- package/dist/chunks/{model-resolver-zf4p7bms.js → skill-na63htpa.js} +20 -20
- package/dist/chunks/{model-resolver-sgksxw7g.js → skill-nawgw07n.js} +3 -3
- package/dist/chunks/{model-resolver-40fy2d9q.js → skill-nhgyf67t.js} +1 -1
- package/dist/chunks/{model-resolver-11hct9f4.js → skill-njwappzc.js} +35 -35
- package/dist/chunks/{model-resolver-hh65bbrn.js → skill-npf8v750.js} +16 -16
- package/dist/chunks/{model-resolver-q8nwznbs.js → skill-nsd19jne.js} +4 -4
- package/dist/chunks/{model-resolver-ypjnx83w.js → skill-nsjqhnag.js} +152 -152
- package/dist/chunks/{model-resolver-tjscfx4m.js → skill-ntt9jdjp.js} +30 -30
- package/dist/chunks/{model-resolver-dpkg50ah.js → skill-nxm207yx.js} +4 -4
- package/dist/chunks/{model-resolver-h4a7s26t.js → skill-pd4ez6p2.js} +5 -5
- package/dist/chunks/{model-resolver-rwegcfpf.js → skill-pdebr86g.js} +16 -16
- package/dist/chunks/skill-phz3h32g.js +18 -0
- package/dist/chunks/{model-resolver-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-211z80cq.js → skill-pk9mr23e.js} +7 -7
- package/dist/chunks/{model-resolver-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-jjwtv0ah.js → skill-pns19bre.js} +9 -9
- package/dist/chunks/{model-resolver-dmkm46ch.js → skill-pqjbyfpr.js} +13 -13
- package/dist/chunks/{model-resolver-2weqyc98.js → skill-ps9b8dcy.js} +20 -20
- package/dist/chunks/{model-resolver-a4jzv6pb.js → skill-pt1k3ykq.js} +27 -27
- package/dist/chunks/{model-resolver-y6v1v83p.js → skill-q34txc2y.js} +11 -11
- package/dist/chunks/{model-resolver-yp8tn9p0.js → skill-q901ksz8.js} +24 -24
- package/dist/chunks/{model-resolver-s6v33hhs.js → skill-qc3ethxh.js} +8 -8
- package/dist/chunks/{model-resolver-cwa6csj7.js → skill-qmqgtz8f.js} +9 -9
- package/dist/chunks/{model-resolver-qnc92qwc.js → skill-qnc92qwc.js} +1 -1
- package/dist/chunks/{model-resolver-n8vdnqrc.js → skill-qne3fa44.js} +5 -5
- package/dist/chunks/{model-resolver-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-ynx1sbyb.js → skill-qtzy2kwg.js} +11 -11
- package/dist/chunks/{model-resolver-16zkvp84.js → skill-qwy5fse5.js} +39 -39
- package/dist/chunks/{model-resolver-qxjc9qry.js → skill-qxjc9qry.js} +3 -3
- package/dist/chunks/{model-resolver-km7an3ep.js → skill-qypzpkfz.js} +24 -24
- package/dist/chunks/skill-r3s5jvtd.js +253 -0
- package/dist/chunks/{model-resolver-rdw6cm16.js → skill-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-1acjjqhc.js → skill-rhraev7y.js} +4 -4
- package/dist/chunks/{model-resolver-tg3ranp2.js → skill-s1hp8x8z.js} +23 -23
- package/dist/chunks/{model-resolver-dwyev0pn.js → skill-s7ge66wj.js} +33 -33
- package/dist/chunks/{model-resolver-8y31xnqm.js → skill-s857ash9.js} +5 -5
- package/dist/chunks/{model-resolver-wv396vej.js → skill-s8d7rejh.js} +8 -8
- package/dist/chunks/{model-resolver-b3f8fkhc.js → skill-scgrse2b.js} +5 -5
- package/dist/chunks/{model-resolver-yvehv8j4.js → skill-sk2e40mw.js} +20 -20
- package/dist/chunks/{model-resolver-d355hkrp.js → skill-sq560656.js} +30 -30
- package/dist/chunks/{model-resolver-xbmhsw7f.js → skill-sr6r3fpd.js} +31 -31
- package/dist/chunks/{model-resolver-grwyepjm.js → skill-ssjxwv9k.js} +37 -37
- package/dist/chunks/{model-resolver-xjd9n2sp.js → skill-sv25qp1c.js} +28 -28
- package/dist/chunks/{model-resolver-bmd39q5q.js → skill-sy6xp5rv.js} +15 -15
- package/dist/chunks/{model-resolver-f53vpfqg.js → skill-sy8y6px0.js} +16 -16
- package/dist/chunks/{model-resolver-g7rd8z26.js → skill-t2wj15q2.js} +4 -4
- package/dist/chunks/{model-resolver-10c97xc6.js → skill-t6st78gn.js} +6 -6
- package/dist/chunks/{model-resolver-jmskrp9g.js → skill-t82wfmps.js} +15 -15
- package/dist/chunks/{model-resolver-r54yw92w.js → skill-taw5dv7r.js} +11 -11
- package/dist/chunks/{model-resolver-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-tcezcvh9.js → skill-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → skill-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-yg62bcth.js → skill-tkm6pdgr.js} +11 -11
- package/dist/chunks/{model-resolver-0bg0bx69.js → skill-v0es1rhs.js} +5 -5
- package/dist/chunks/{model-resolver-nw91k3fh.js → skill-v7z2bvyd.js} +4 -4
- package/dist/chunks/{model-resolver-jrqb24zm.js → skill-vagy3fn3.js} +11 -11
- package/dist/chunks/{model-resolver-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-1y9c9szs.js → skill-vhxn46y4.js} +20 -20
- package/dist/chunks/{model-resolver-f5en7f74.js → skill-vp2sppa5.js} +5 -5
- package/dist/chunks/{model-resolver-14p1364x.js → skill-vx91tkqd.js} +32 -32
- package/dist/chunks/{model-resolver-vzs5sf6e.js → skill-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-resolver-3rd28rcz.js → skill-w14ktvyh.js} +8 -8
- package/dist/chunks/{model-resolver-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-vbdkyqz4.js → skill-w8h7reh4.js} +4 -4
- package/dist/chunks/{model-resolver-08d6azjt.js → skill-wcfs8nh3.js} +9 -9
- package/dist/chunks/{model-resolver-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-8cv9sccg.js → skill-wh4thcca.js} +20 -20
- package/dist/chunks/{model-resolver-bd819fhp.js → skill-wqbc4nrc.js} +8 -8
- package/dist/chunks/{model-resolver-2ex9v4dz.js → skill-wrbysj8v.js} +33 -33
- package/dist/chunks/{model-resolver-rp6bd9wq.js → skill-wwb7w8xq.js} +11 -11
- package/dist/chunks/{model-resolver-69fj14ep.js → skill-x20jwhze.js} +22 -22
- package/dist/chunks/skill-x2a67169.js +26 -0
- package/dist/chunks/{model-resolver-mtf9y83c.js → skill-x47xvnvj.js} +11 -11
- package/dist/chunks/{model-resolver-afjydgk3.js → skill-xb50yt4b.js} +4 -4
- package/dist/chunks/{model-resolver-qhf50je4.js → skill-xbm2xkhy.js} +22 -22
- package/dist/chunks/{model-resolver-e8sy2har.js → skill-xbnbbz6r.js} +25 -25
- package/dist/chunks/{model-resolver-xkntkrq7.js → skill-xkntkrq7.js} +2 -2
- package/dist/chunks/{model-resolver-h14zrqyq.js → skill-xw6wv47c.js} +17 -17
- package/dist/chunks/{model-resolver-yfa68f7n.js → skill-xz2t3pwk.js} +40 -40
- package/dist/chunks/{model-resolver-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-7ecay89j.js → skill-ydjb9zza.js} +18 -18
- package/dist/chunks/{model-resolver-fd7cqx9x.js → skill-yfhrc0m7.js} +13 -13
- package/dist/chunks/{model-resolver-p5qcrc4c.js → skill-yn1bz6s0.js} +6 -6
- package/dist/chunks/{model-resolver-dy92ps29.js → skill-yqqe8s8y.js} +6 -6
- package/dist/chunks/{model-resolver-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-8bgdgvzg.js → skill-zbqzajvj.js} +19 -19
- package/dist/chunks/{model-resolver-4dfbsgcw.js → skill-zbzgvw5s.js} +22 -22
- package/dist/chunks/{model-resolver-ctzssw83.js → skill-ze5v0a14.js} +8 -8
- package/dist/chunks/{model-resolver-0me0fk48.js → skill-zfs8ae4p.js} +4 -4
- package/dist/chunks/{model-resolver-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-wyy60m0y.js → skill-zr5h88yv.js} +1 -1
- package/dist/chunks/{model-resolver-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
- package/dist/chunks/{model-resolver-2mn1ra9m.js → skill-zzr4yvcq.js} +28 -28
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +93 -93
- 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 +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 +91 -91
- 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 +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +69 -69
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +96 -96
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- 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 +75 -75
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +115 -115
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +114 -114
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- 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 +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- 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 +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- 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 +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +13 -13
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- 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 +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/model-resolver-7mcy0e9k.js +0 -26
- package/dist/chunks/model-resolver-ctefx7dc.js +0 -18
- package/dist/chunks/model-resolver-n66nyqav.js +0 -253
- package/dist/chunks/model-resolver-yvv17s0z.js +0 -507
- /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-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-34c7v6d4.js → skill-34c7v6d4.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-3w5fmr99.js → skill-3w5fmr99.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-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-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-e3qxr5gk.js → skill-e3qxr5gk.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-fxgpk5d8.js → skill-fxgpk5d8.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-jzg6c2d5.js → skill-jzg6c2d5.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-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-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-y8cydn3q.js → skill-y8cydn3q.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,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./skill-3ywdd1w3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service38,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-pqjbyfpr.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service63
|
|
11
|
+
} from "./skill-1588x7tj.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service58
|
|
14
|
+
} from "./skill-65rxfdmg.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service15
|
|
17
|
+
} from "./skill-fw252590.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./skill-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./skill-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input3,
|
|
29
|
+
Output: () => Output2,
|
|
30
|
+
Plugin: () => Plugin21,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name3,
|
|
33
|
+
toModelContent: () => toModelContent2
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name3 = "write";
|
|
39
|
+
var Input3 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output2 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin21 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service15;
|
|
56
|
+
const fileMutation = yield* Service38;
|
|
57
|
+
const environment = yield* Service67;
|
|
58
|
+
const formatter = yield* Service63;
|
|
59
|
+
const permission = yield* Service58;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name3,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input3,
|
|
69
|
+
output: Output2,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name3, Input3, Output2, toModelContent2, Plugin21, exports_write };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info18
|
|
6
|
+
} from "./skill-2pnhn36q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent4 = {};
|
|
13
13
|
__export(exports_agent4, {
|
|
14
14
|
ConfigAgentV1: () => exports_agent4,
|
|
15
|
-
Info: () =>
|
|
15
|
+
Info: () => Info16
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info18)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info16 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info16, exports_agent4 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-kfvfz29g.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make4 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make5 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make4();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make4, LMStudioPlugin2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-b2zt2yz8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service55,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node58,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service55 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service55, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node58 = LayerNode.unbound(Service55, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service55;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service55, node58, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./skill-65rxfdmg.js";
|
|
4
4
|
import {
|
|
5
5
|
ID6,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service57
|
|
10
|
+
} from "./skill-562wvshs.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
16
|
var exports_skill2 = {};
|
|
17
17
|
__export(exports_skill2, {
|
|
18
|
-
Input: () =>
|
|
18
|
+
Input: () => Input12,
|
|
19
19
|
Output: () => Output8,
|
|
20
|
-
Plugin: () =>
|
|
20
|
+
Plugin: () => Plugin30,
|
|
21
21
|
SkillTool: () => exports_skill2,
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
22
|
+
description: () => description5,
|
|
23
|
+
name: () => name12,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
29
|
+
var name12 = "skill";
|
|
30
|
+
var Input12 = Schema.Struct({
|
|
31
31
|
id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
33
|
var Output8 = Schema.Struct({
|
|
@@ -35,7 +35,7 @@ var Output8 = Schema.Struct({
|
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description5 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,17 +43,17 @@ var description4 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin30 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service57;
|
|
51
|
+
const permission = yield* Service58;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name12,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
55
|
+
description: description5,
|
|
56
|
+
input: Input12,
|
|
57
57
|
output: Output8,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
@@ -61,7 +61,7 @@ var Plugin29 = {
|
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name12,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin29 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name12, Input12, Output8, description5, toModelOutput2, Plugin30, exports_skill2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-q34txc2y.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin3,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin3 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin33 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin33 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint3, Plugin3, exports_tavily };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./skill-1m7pdfg4.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key4,
|
|
7
|
+
Service78,
|
|
8
|
+
node82
|
|
9
|
+
} from "./skill-275ffj0h.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-addxnjmp.js";
|
|
16
16
|
import {
|
|
17
17
|
validateAnswer2,
|
|
18
18
|
validateFields2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-1dhts66v.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./skill-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/integration.ts
|
|
25
25
|
var exports_integration = {};
|
|
@@ -34,17 +34,17 @@ __export(exports_integration, {
|
|
|
34
34
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
35
35
|
CommandMethod: () => CommandMethod2,
|
|
36
36
|
EnvMethod: () => EnvMethod2,
|
|
37
|
-
Event: () =>
|
|
38
|
-
ID: () =>
|
|
39
|
-
Info: () =>
|
|
37
|
+
Event: () => Event18,
|
|
38
|
+
ID: () => ID14,
|
|
39
|
+
Info: () => Info23,
|
|
40
40
|
Integration: () => exports_integration,
|
|
41
41
|
KeyMethod: () => KeyMethod2,
|
|
42
42
|
Method: () => Method2,
|
|
43
43
|
MethodID: () => MethodID2,
|
|
44
44
|
OAuthMethod: () => OAuthMethod2,
|
|
45
45
|
Ref: () => Ref3,
|
|
46
|
-
Service: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
Service: () => Service77,
|
|
47
|
+
node: () => node81
|
|
48
48
|
});
|
|
49
49
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
50
50
|
import {
|
|
@@ -66,8 +66,8 @@ import {
|
|
|
66
66
|
import { Integration } from "@opencode/schema/integration";
|
|
67
67
|
import { AppProcess } from "@opencode/util/process";
|
|
68
68
|
import { ChildProcess } from "effect/unstable/process";
|
|
69
|
-
import { Event as
|
|
70
|
-
var
|
|
69
|
+
import { Event as Event18 } from "@opencode/schema/integration";
|
|
70
|
+
var ID14 = Integration.ID;
|
|
71
71
|
var MethodID2 = Integration.MethodID;
|
|
72
72
|
var AttemptID2 = Integration.AttemptID;
|
|
73
73
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -75,7 +75,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
75
75
|
var KeyMethod2 = Integration.KeyMethod;
|
|
76
76
|
var EnvMethod2 = Integration.EnvMethod;
|
|
77
77
|
var Method2 = Integration.Method;
|
|
78
|
-
var
|
|
78
|
+
var Info23 = Integration.Info;
|
|
79
79
|
var Attempt2 = Integration.Attempt;
|
|
80
80
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
81
81
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -98,20 +98,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
101
|
-
integrationID:
|
|
101
|
+
integrationID: ID14,
|
|
102
102
|
attemptID: AttemptID2
|
|
103
103
|
}) {
|
|
104
104
|
}
|
|
105
105
|
var Ref3 = Integration.Ref;
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service77 extends Context.Service()("@opencode/Integration") {
|
|
108
108
|
}
|
|
109
109
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
110
110
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
111
111
|
var scrubInterval = Duration.seconds(30);
|
|
112
|
-
var layer = Layer.effect(
|
|
113
|
-
const credentials = yield*
|
|
114
|
-
const bus = yield*
|
|
112
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
113
|
+
const credentials = yield* Service78;
|
|
114
|
+
const bus = yield* Service83;
|
|
115
115
|
const processes = yield* AppProcess.Service;
|
|
116
116
|
const scope = yield* Scope.Scope;
|
|
117
117
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -207,7 +207,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
207
207
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
208
208
|
return [...credentials, ...env];
|
|
209
209
|
};
|
|
210
|
-
const project = (entry, connections) =>
|
|
210
|
+
const project = (entry, connections) => Info23.make({
|
|
211
211
|
id: entry.ref.id,
|
|
212
212
|
name: entry.ref.name,
|
|
213
213
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -294,7 +294,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
294
294
|
const persistence = yield* createCredential({
|
|
295
295
|
integrationID: attempt.integrationID,
|
|
296
296
|
label: attempt.label,
|
|
297
|
-
value:
|
|
297
|
+
value: Key4.make({ type: "key", key: exit.value })
|
|
298
298
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
299
299
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
300
300
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
440
440
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
441
441
|
return CommandAttempt2.make({ attemptID, time });
|
|
442
442
|
});
|
|
443
|
-
return
|
|
443
|
+
return Service77.of({
|
|
444
444
|
transform: state.transform,
|
|
445
445
|
reload: state.reload,
|
|
446
446
|
revision: state.revision,
|
|
@@ -462,7 +462,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
462
462
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
463
463
|
if (connection.type === "env") {
|
|
464
464
|
const key = process.env[connection.name];
|
|
465
|
-
return key ?
|
|
465
|
+
return key ? Key4.make({ type: "key", key }) : undefined;
|
|
466
466
|
}
|
|
467
467
|
const credential = yield* credentials.get(connection.id);
|
|
468
468
|
if (!credential)
|
|
@@ -495,7 +495,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
495
495
|
yield* createCredential({
|
|
496
496
|
integrationID: input.integrationID,
|
|
497
497
|
label: input.label,
|
|
498
|
-
value:
|
|
498
|
+
value: Key4.make({
|
|
499
499
|
type: "key",
|
|
500
500
|
key: input.key,
|
|
501
501
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
599
599
|
}
|
|
600
600
|
});
|
|
601
601
|
}));
|
|
602
|
-
var
|
|
603
|
-
service:
|
|
602
|
+
var node81 = makeLocationNode({
|
|
603
|
+
service: Service77,
|
|
604
604
|
layer,
|
|
605
|
-
deps: [
|
|
605
|
+
deps: [node82, node87, AppProcess.node]
|
|
606
606
|
});
|
|
607
607
|
|
|
608
|
-
export {
|
|
608
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service77, node81, exports_integration, Event18 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service29,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer13,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node32
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service29 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service29, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service38, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service29.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node32 = makeGlobalNode({ service: Service29, layer: layer13, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service29, makeLayer2, layer13, node32, exports_model_transport };
|