@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,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-hgakwb3e.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service80,
|
|
9
|
+
node84
|
|
10
|
+
} from "./skill-b2zt2yz8.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service58,
|
|
13
|
+
node61
|
|
14
|
+
} from "./skill-65rxfdmg.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./skill-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service15,
|
|
26
|
+
node: () => node17,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service15 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service80;
|
|
55
|
+
const permission = yield* Service58;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service15.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node17 = makeLocationNode({ service: Service15, layer, deps: [FSUtil.node, node84, node61] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service15, resolvePath2, node17, exports_file_access };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-q34txc2y.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./skill-1m7pdfg4.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./skill-275ffj0h.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-addxnjmp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID14,
|
|
16
16
|
MethodID2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./skill-wrbysj8v.js";
|
|
18
18
|
import {
|
|
19
19
|
ID12,
|
|
20
20
|
aisdk2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service73
|
|
22
|
+
} from "./skill-3q8w3yr3.js";
|
|
23
23
|
import {
|
|
24
24
|
ID11,
|
|
25
25
|
Info20
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./skill-feytpg7x.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./skill-pjvnvgmy.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/gitlab.ts
|
|
33
33
|
import os from "os";
|
|
@@ -36,7 +36,7 @@ import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstab
|
|
|
36
36
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
37
37
|
import { Form } from "@opencode/schema/form";
|
|
38
38
|
var providerID = ID12.gitlab;
|
|
39
|
-
var integrationID =
|
|
39
|
+
var integrationID = ID14.make("gitlab");
|
|
40
40
|
var methodID = MethodID2.make("pkce");
|
|
41
41
|
var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
|
|
42
42
|
var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
|
|
@@ -57,8 +57,8 @@ var refreshRetention = 60000;
|
|
|
57
57
|
var GitLabPlugin2 = define({
|
|
58
58
|
id: "opencode.provider.gitlab",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const providers = yield*
|
|
61
|
-
const bus = yield*
|
|
60
|
+
const providers = yield* Service73;
|
|
61
|
+
const bus = yield* Service83;
|
|
62
62
|
const http = yield* HttpClient.HttpClient;
|
|
63
63
|
const loading = Semaphore.makeUnsafe(1);
|
|
64
64
|
const loaded = {};
|
|
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
|
|
|
196
196
|
});
|
|
197
197
|
});
|
|
198
198
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
199
|
-
yield* bus.subscribe(
|
|
199
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
200
200
|
yield* refresh().pipe(Effect.forkScoped);
|
|
201
201
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
202
202
|
if (evt.package !== "gitlab-ai-provider")
|
|
@@ -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: () => make16,
|
|
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 make16(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 { make16, render3, exports_system_prompt };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./skill-1m7pdfg4.js";
|
|
4
4
|
import {
|
|
5
5
|
Service76
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-5522kwtq.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service23,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./skill-phz3h32g.js";
|
|
17
17
|
import {
|
|
18
18
|
make12,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./skill-nsjqhnag.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./skill-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
29
|
Event: () => Event3,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID2,
|
|
31
|
+
Info: () => Info2,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service23,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node18
|
|
38
38
|
});
|
|
39
|
-
import { Event as Event3, ID as
|
|
39
|
+
import { Event as Event3, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const bus = yield*
|
|
43
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
44
|
+
const bus = yield* Service83;
|
|
45
45
|
const kv = yield* Service76;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service23.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node18 = Node.makeLocationNode({
|
|
226
|
+
service: Service23,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node18, exports_plugin2, Event3, ID2, Info2, Source2, State2 };
|
|
@@ -1,82 +1,82 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./skill-jbhe19h6.js";
|
|
1
5
|
import {
|
|
2
6
|
Service83,
|
|
3
7
|
node87
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service82,
|
|
7
|
-
node86
|
|
8
|
-
} from "./model-resolver-ssrgjt3e.js";
|
|
8
|
+
} from "./skill-1m7pdfg4.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./skill-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
ID9,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service61,
|
|
15
|
+
node64
|
|
16
|
+
} from "./skill-t82wfmps.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-5t3nmthw.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service72,
|
|
22
|
+
node76
|
|
23
|
+
} from "./skill-feytpg7x.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./skill-h6vf3j39.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./skill-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
provenance2,
|
|
32
32
|
compatible2,
|
|
33
33
|
isCheckpoint2,
|
|
34
34
|
encode2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./skill-4z58m4b4.js";
|
|
36
36
|
import {
|
|
37
37
|
load4
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./skill-5f4ygz93.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./skill-gd0tnyjc.js";
|
|
42
42
|
import {
|
|
43
43
|
baseTranscript2,
|
|
44
44
|
unsupportedParts2,
|
|
45
45
|
boundImages2,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
46
|
+
Service28,
|
|
47
|
+
node31
|
|
48
|
+
} from "./skill-62a8jg41.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
} from "./
|
|
50
|
+
Service37,
|
|
51
|
+
node40
|
|
52
|
+
} from "./skill-bahb5ywr.js";
|
|
53
53
|
import {
|
|
54
54
|
isRetryable2,
|
|
55
55
|
policy2
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./skill-scgrse2b.js";
|
|
57
57
|
import {
|
|
58
58
|
toSessionError2,
|
|
59
59
|
contentFilterError2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./skill-1v9qzc9e.js";
|
|
61
61
|
import {
|
|
62
62
|
calculateCost2,
|
|
63
63
|
record2,
|
|
64
64
|
add2
|
|
65
|
-
} from "./
|
|
65
|
+
} from "./skill-tdstcens.js";
|
|
66
66
|
import {
|
|
67
67
|
__export
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./skill-9rqn6x4v.js";
|
|
69
69
|
|
|
70
70
|
// src/session/compaction.ts
|
|
71
71
|
var exports_compaction2 = {};
|
|
72
72
|
__export(exports_compaction2, {
|
|
73
|
-
Service: () =>
|
|
73
|
+
Service: () => Service10,
|
|
74
74
|
SessionCompaction: () => exports_compaction2,
|
|
75
75
|
buildPrompt: () => buildPrompt2,
|
|
76
76
|
estimateContext: () => estimateContext2,
|
|
77
77
|
estimatePrompt: () => estimatePrompt2,
|
|
78
78
|
layer: () => layer6,
|
|
79
|
-
node: () =>
|
|
79
|
+
node: () => node12,
|
|
80
80
|
recentUserMessages: () => recentUserMessages2
|
|
81
81
|
});
|
|
82
82
|
import {
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
} from "@opencode/ai";
|
|
93
93
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
94
94
|
import { Context, Effect, Layer, Result, Stream } from "effect";
|
|
95
|
-
class
|
|
95
|
+
class Service10 extends Context.Service()("@opencode/SessionCompaction") {
|
|
96
96
|
}
|
|
97
97
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
98
98
|
var SHRINK_STEPS = [0.7, 0.5, 0.35];
|
|
@@ -171,14 +171,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
171
171
|
};
|
|
172
172
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
173
173
|
var LEGACY_HEADING = "## Additional Context";
|
|
174
|
-
var layer6 = Layer.effect(
|
|
175
|
-
const agents = yield*
|
|
176
|
-
const bus = yield*
|
|
174
|
+
var layer6 = Layer.effect(Service10, Effect.gen(function* () {
|
|
175
|
+
const agents = yield* Service61;
|
|
176
|
+
const bus = yield* Service83;
|
|
177
177
|
const llm = yield* LLMClient.Service;
|
|
178
|
-
const catalog = yield*
|
|
179
|
-
const models = yield*
|
|
180
|
-
const db = (yield*
|
|
181
|
-
const requests = yield*
|
|
178
|
+
const catalog = yield* Service72;
|
|
179
|
+
const models = yield* Service37;
|
|
180
|
+
const db = (yield* Service84).db;
|
|
181
|
+
const requests = yield* Service28;
|
|
182
182
|
const state = create3({
|
|
183
183
|
name: "session-compaction",
|
|
184
184
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -472,16 +472,16 @@ ${text}`;
|
|
|
472
472
|
}, { metadata: outcome.metadata });
|
|
473
473
|
return { status: "completed" };
|
|
474
474
|
});
|
|
475
|
-
return
|
|
475
|
+
return Service10.of({
|
|
476
476
|
transform: state.transform,
|
|
477
477
|
reload: state.reload,
|
|
478
478
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
|
|
479
479
|
});
|
|
480
480
|
}));
|
|
481
|
-
var
|
|
482
|
-
service:
|
|
481
|
+
var node12 = makeLocationNode({
|
|
482
|
+
service: Service10,
|
|
483
483
|
layer: layer6,
|
|
484
|
-
deps: [
|
|
484
|
+
deps: [node64, node87, node88, llmClient2, node76, node31, node40]
|
|
485
485
|
});
|
|
486
486
|
var previousCompaction = (messages) => {
|
|
487
487
|
const [first] = messages;
|
|
@@ -686,4 +686,4 @@ var estimateMedia = (mime) => {
|
|
|
686
686
|
return 0;
|
|
687
687
|
};
|
|
688
688
|
|
|
689
|
-
export {
|
|
689
|
+
export { Service10, buildPrompt2, layer6, node12, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-58072hz9.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-tdstcens.js";
|
|
7
7
|
import {
|
|
8
8
|
contentFilterError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-1v9qzc9e.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/publish-llm-event.ts
|
|
12
12
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service55,
|
|
3
|
+
node58,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./skill-wcfs8nh3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service36,
|
|
8
|
+
node39
|
|
9
|
+
} from "./skill-63xctefh.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service53
|
|
12
|
+
} from "./skill-njwappzc.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-r3s5jvtd.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service55, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service53);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node39.replace(Layer.succeed(Service36, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node58.replace(Layer.succeed(Service55, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-3q8w3yr3.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/aisdk.ts
|
|
13
13
|
var exports_aisdk = {};
|
|
14
14
|
__export(exports_aisdk, {
|
|
15
15
|
AISDK: () => exports_aisdk,
|
|
16
16
|
InitError: () => InitError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service47,
|
|
18
18
|
locationLayer: () => locationLayer2,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node50
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -159,9 +159,9 @@ function initError(providerID) {
|
|
|
159
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service47 extends Context.Service()("@opencode/AISDK") {
|
|
163
163
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service47, Effect.gen(function* () {
|
|
165
165
|
let sdkHooks = [];
|
|
166
166
|
let languageHooks = [];
|
|
167
167
|
const languages = new Map;
|
|
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
return event;
|
|
201
201
|
});
|
|
202
|
-
const service =
|
|
202
|
+
const service = Service47.of({
|
|
203
203
|
hook: {
|
|
204
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
|
|
|
874
874
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
875
875
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
876
876
|
}
|
|
877
|
-
var
|
|
877
|
+
var node50 = makeLocationNode({ service: Service47, layer: locationLayer2, deps: [] });
|
|
878
878
|
|
|
879
|
-
export { InitError2,
|
|
879
|
+
export { InitError2, Service47, locationLayer2, node50, exports_aisdk };
|