@opencode/core 0.0.0-dev-106 → 0.0.0-dev-112
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{file-retention-034tev2y.js → location-lifecycle-034tev2y.js} +2 -2
- package/dist/chunks/{file-retention-fz3avstq.js → location-lifecycle-09fhxvd9.js} +18 -18
- package/dist/chunks/{file-retention-hrzny8v8.js → location-lifecycle-0aem4d00.js} +21 -21
- package/dist/chunks/{file-retention-2ny0ezjb.js → location-lifecycle-0g4r1v6g.js} +21 -21
- package/dist/chunks/{file-retention-n4q7tcga.js → location-lifecycle-0g8v0hcp.js} +14 -14
- package/dist/chunks/{file-retention-qymv4vqy.js → location-lifecycle-0svff1ss.js} +6 -6
- package/dist/chunks/{file-retention-xkjzrxhz.js → location-lifecycle-0ya1tgva.js} +17 -17
- package/dist/chunks/{file-retention-qjdvspq8.js → location-lifecycle-0z7r50za.js} +4 -4
- package/dist/chunks/location-lifecycle-10ptsfbg.js +18 -0
- package/dist/chunks/{file-retention-8jztxfpf.js → location-lifecycle-11hfp36g.js} +4 -4
- package/dist/chunks/{file-retention-8w2sjm13.js → location-lifecycle-179cyqax.js} +11 -11
- package/dist/chunks/{file-retention-1ep2p91f.js → location-lifecycle-1ep2p91f.js} +2 -2
- package/dist/chunks/{file-retention-7hgt5e5w.js → location-lifecycle-1hfz5pcn.js} +6 -6
- package/dist/chunks/{file-retention-1kn6jdkn.js → location-lifecycle-1kn6jdkn.js} +1 -1
- package/dist/chunks/{file-retention-1x2knyw4.js → location-lifecycle-1x2knyw4.js} +1 -1
- package/dist/chunks/{file-retention-1yq9hg58.js → location-lifecycle-1yq9hg58.js} +1 -1
- package/dist/chunks/{file-retention-204s3925.js → location-lifecycle-204s3925.js} +1 -1
- package/dist/chunks/{file-retention-x08t3gav.js → location-lifecycle-26gw3n1w.js} +6 -6
- package/dist/chunks/{file-retention-26x8chrq.js → location-lifecycle-26x8chrq.js} +3 -3
- package/dist/chunks/{file-retention-9qyfvz4m.js → location-lifecycle-28jnbx1g.js} +10 -10
- package/dist/chunks/{file-retention-xwfc5a9y.js → location-lifecycle-2ah25k6c.js} +27 -27
- package/dist/chunks/{file-retention-e684jnvx.js → location-lifecycle-2bd61azn.js} +7 -7
- package/dist/chunks/{file-retention-5c35a5tr.js → location-lifecycle-2cdb2tg5.js} +13 -13
- package/dist/chunks/{file-retention-1xawp968.js → location-lifecycle-2djp8jg0.js} +2 -2
- package/dist/chunks/{file-retention-4app0d5h.js → location-lifecycle-2m8f8n0m.js} +26 -26
- package/dist/chunks/{file-retention-gwb4hjpw.js → location-lifecycle-2p57kbc5.js} +5 -5
- package/dist/chunks/{file-retention-h6t0znmf.js → location-lifecycle-2xr9nkrk.js} +9 -9
- package/dist/chunks/{file-retention-wevd75am.js → location-lifecycle-38bjcxtk.js} +9 -9
- package/dist/chunks/{file-retention-kexjjz2s.js → location-lifecycle-39dpjy5n.js} +31 -31
- package/dist/chunks/{file-retention-6mc65ctj.js → location-lifecycle-3dxavvh7.js} +23 -23
- package/dist/chunks/{file-retention-0geb145b.js → location-lifecycle-3eethtxw.js} +10 -10
- package/dist/chunks/{file-retention-atk704ss.js → location-lifecycle-3gdp0sp4.js} +12 -12
- package/dist/chunks/{file-retention-3hepkmqq.js → location-lifecycle-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-3nnrz6f6.js → location-lifecycle-3nnrz6f6.js} +1 -1
- package/dist/chunks/{file-retention-ce8850xx.js → location-lifecycle-3tcpaccq.js} +5 -5
- package/dist/chunks/{file-retention-5enarcya.js → location-lifecycle-40za9wsf.js} +6 -6
- package/dist/chunks/{file-retention-d0hcg7jd.js → location-lifecycle-4dyr5xk8.js} +42 -32
- package/dist/chunks/{file-retention-4pyp9zr9.js → location-lifecycle-4pyp9zr9.js} +1 -1
- package/dist/chunks/{file-retention-4v008n1t.js → location-lifecycle-4v008n1t.js} +1 -1
- package/dist/chunks/{file-retention-bqhtr9km.js → location-lifecycle-4vj8dj9t.js} +16 -16
- package/dist/chunks/{file-retention-8h66evbt.js → location-lifecycle-509qqz65.js} +29 -29
- package/dist/chunks/{file-retention-qerk2cbg.js → location-lifecycle-52zmjgxn.js} +12 -12
- package/dist/chunks/{file-retention-e0h4m4ge.js → location-lifecycle-53ac5awh.js} +4 -4
- package/dist/chunks/{file-retention-858yc3fz.js → location-lifecycle-55gbafn6.js} +2 -2
- package/dist/chunks/{file-retention-1gc92e9b.js → location-lifecycle-57adrxmx.js} +40 -40
- package/dist/chunks/{file-retention-pxsskgvr.js → location-lifecycle-5c2rdy1q.js} +11 -11
- package/dist/chunks/{file-retention-1dmvqq8e.js → location-lifecycle-5cm81s93.js} +15 -15
- package/dist/chunks/{file-retention-m8d78p9r.js → location-lifecycle-5gjqtyzn.js} +1 -1
- package/dist/chunks/{file-retention-aahkq6z2.js → location-lifecycle-5gvtr7m5.js} +8 -8
- package/dist/chunks/{file-retention-ymetyeqh.js → location-lifecycle-5jhwr9bs.js} +11 -11
- package/dist/chunks/{file-retention-82kem97q.js → location-lifecycle-5k7mzy6m.js} +17 -17
- package/dist/chunks/{file-retention-m4qbnc51.js → location-lifecycle-5kbev7nh.js} +6 -6
- package/dist/chunks/{file-retention-5m9w47nd.js → location-lifecycle-5m9w47nd.js} +1 -1
- package/dist/chunks/{file-retention-1bazgwy0.js → location-lifecycle-5q95vnt9.js} +28 -28
- package/dist/chunks/{file-retention-3grw85tc.js → location-lifecycle-5tq5fdtg.js} +11 -11
- package/dist/chunks/{file-retention-5gyja307.js → location-lifecycle-5x26af84.js} +4 -4
- package/dist/chunks/{file-retention-bjhzkqyk.js → location-lifecycle-61ennm6n.js} +4 -4
- package/dist/chunks/{file-retention-18fr36ja.js → location-lifecycle-6cahmqzr.js} +8 -8
- package/dist/chunks/{file-retention-6esdw8yj.js → location-lifecycle-6esdw8yj.js} +1 -1
- package/dist/chunks/{file-retention-c0wmmjhw.js → location-lifecycle-6gtmjygn.js} +41 -41
- package/dist/chunks/{file-retention-w046pjj9.js → location-lifecycle-6pjfva98.js} +10 -10
- package/dist/chunks/{file-retention-hwg9r3t9.js → location-lifecycle-6pt4gebd.js} +21 -21
- package/dist/chunks/{file-retention-zw4pk1bw.js → location-lifecycle-6xw3seg4.js} +5 -5
- package/dist/chunks/{file-retention-m37mrzs7.js → location-lifecycle-7286pht0.js} +13 -13
- package/dist/chunks/{file-retention-w8qtt4th.js → location-lifecycle-76cb1hcw.js} +4 -4
- package/dist/chunks/{file-retention-6617bgsd.js → location-lifecycle-77mevfn5.js} +19 -19
- package/dist/chunks/{file-retention-7bmhse3q.js → location-lifecycle-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-dvpav3c8.js → location-lifecycle-7cw7sfyh.js} +10 -10
- package/dist/chunks/{file-retention-e2mp0d97.js → location-lifecycle-7g1qc7px.js} +27 -27
- package/dist/chunks/{file-retention-mqr8efz6.js → location-lifecycle-7gp6c42y.js} +9 -9
- package/dist/chunks/{file-retention-yjq04dxh.js → location-lifecycle-7hcqjvsz.js} +43 -43
- package/dist/chunks/{file-retention-mxhqtbmm.js → location-lifecycle-7mxx8wnc.js} +12 -12
- package/dist/chunks/{file-retention-ep2aybfb.js → location-lifecycle-7qmd11nr.js} +12 -12
- package/dist/chunks/{file-retention-n4mbpr34.js → location-lifecycle-7tj1474e.js} +48 -48
- package/dist/chunks/{file-retention-7w2ypzdf.js → location-lifecycle-7w2ypzdf.js} +1 -1
- package/dist/chunks/{file-retention-7yect7x1.js → location-lifecycle-7yect7x1.js} +2 -2
- package/dist/chunks/{file-retention-7c1hejwc.js → location-lifecycle-7z4207q3.js} +38 -38
- package/dist/chunks/{file-retention-ek5b82yj.js → location-lifecycle-81109hyj.js} +37 -37
- package/dist/chunks/{file-retention-m5z5bky1.js → location-lifecycle-82tttdh6.js} +24 -24
- package/dist/chunks/{file-retention-10fq91z6.js → location-lifecycle-833q5csy.js} +43 -43
- package/dist/chunks/{file-retention-2hrs92et.js → location-lifecycle-84w8hcrk.js} +14 -14
- package/dist/chunks/location-lifecycle-87hejcnj.js +26 -0
- package/dist/chunks/{file-retention-51d35nkj.js → location-lifecycle-89sdcr2v.js} +6 -6
- package/dist/chunks/{file-retention-va65z9ez.js → location-lifecycle-8bakhzeq.js} +10 -10
- package/dist/chunks/{file-retention-q2a1qg4p.js → location-lifecycle-8tcp41rf.js} +5 -5
- package/dist/chunks/{file-retention-6y263vp8.js → location-lifecycle-8wc2fpae.js} +5 -5
- package/dist/chunks/{file-retention-8wtp7s3z.js → location-lifecycle-8wtp7s3z.js} +1 -1
- package/dist/chunks/{file-retention-6d987nwp.js → location-lifecycle-8x2qgvrq.js} +26 -26
- package/dist/chunks/{file-retention-90zstvax.js → location-lifecycle-90zstvax.js} +1 -1
- package/dist/chunks/{file-retention-6qcwe8h6.js → location-lifecycle-92xhapx8.js} +7 -7
- package/dist/chunks/{file-retention-ys5044sq.js → location-lifecycle-96w9sw94.js} +1 -1
- package/dist/chunks/{file-retention-xm94g0fx.js → location-lifecycle-978a70ce.js} +171 -171
- package/dist/chunks/{file-retention-8yhc7zrg.js → location-lifecycle-9f3sjfep.js} +9 -9
- package/dist/chunks/{file-retention-nspspvnz.js → location-lifecycle-9hz747xk.js} +3 -3
- package/dist/chunks/{file-retention-je0z6vt0.js → location-lifecycle-9k2c2kb1.js} +11 -11
- package/dist/chunks/{file-retention-530qnn32.js → location-lifecycle-9mk6zhbm.js} +54 -54
- package/dist/chunks/{file-retention-9q8g9sv8.js → location-lifecycle-9q8g9sv8.js} +1 -1
- package/dist/chunks/{file-retention-0gbb59p9.js → location-lifecycle-9qcg53ez.js} +9 -9
- package/dist/chunks/{file-retention-htrvxm7y.js → location-lifecycle-9x0efy4t.js} +27 -27
- package/dist/chunks/{file-retention-11b27yxh.js → location-lifecycle-9xsgwmwg.js} +15 -15
- package/dist/chunks/location-lifecycle-a0qft7sv.js +511 -0
- package/dist/chunks/{file-retention-qc86zz63.js → location-lifecycle-a0vc3hj9.js} +8 -8
- package/dist/chunks/{file-retention-00ensp01.js → location-lifecycle-a0vtjevz.js} +7 -7
- package/dist/chunks/{file-retention-pg7tzw83.js → location-lifecycle-a1vzyy9m.js} +22 -22
- package/dist/chunks/{file-retention-ectwy8nt.js → location-lifecycle-a52e4zaq.js} +5 -5
- package/dist/chunks/{file-retention-70qgk999.js → location-lifecycle-a7252hc2.js} +4 -4
- package/dist/chunks/{file-retention-dskmn5nd.js → location-lifecycle-aeek2x9t.js} +26 -26
- package/dist/chunks/{file-retention-ed1x3daz.js → location-lifecycle-aem5zx53.js} +21 -21
- package/dist/chunks/{file-retention-b27sr8xw.js → location-lifecycle-aweea5r7.js} +23 -23
- package/dist/chunks/{file-retention-2djfsmxs.js → location-lifecycle-axsks3r9.js} +13 -13
- package/dist/chunks/{file-retention-gk998fjy.js → location-lifecycle-aydfsr7f.js} +23 -23
- package/dist/chunks/{file-retention-ayjs7tqn.js → location-lifecycle-ayjs7tqn.js} +2 -2
- package/dist/chunks/{file-retention-w1n8wyt0.js → location-lifecycle-b5zz9fnh.js} +16 -16
- package/dist/chunks/{file-retention-b6vsg801.js → location-lifecycle-b6vsg801.js} +2 -2
- package/dist/chunks/{file-retention-yes5e36g.js → location-lifecycle-bn4sdd3k.js} +11 -11
- package/dist/chunks/{file-retention-7b491anb.js → location-lifecycle-bnpmy3fh.js} +11 -11
- package/dist/chunks/{file-retention-1p7ae65c.js → location-lifecycle-bnrg1kyt.js} +11 -11
- package/dist/chunks/{file-retention-r67zf7b0.js → location-lifecycle-bpt5jbat.js} +41 -41
- package/dist/chunks/{file-retention-bstexjd6.js → location-lifecycle-bstexjd6.js} +1 -1
- package/dist/chunks/{file-retention-r8c7z53f.js → location-lifecycle-btepkdzw.js} +16 -16
- package/dist/chunks/{file-retention-220xmsjv.js → location-lifecycle-by9858m5.js} +18 -18
- package/dist/chunks/{file-retention-z04zt6pc.js → location-lifecycle-c5krqhs4.js} +17 -17
- package/dist/chunks/{file-retention-at3ha3gd.js → location-lifecycle-c7rkgjm0.js} +13 -13
- package/dist/chunks/{file-retention-z9rbxwes.js → location-lifecycle-cb8j13sw.js} +8 -8
- package/dist/chunks/{file-retention-vfqzwbd6.js → location-lifecycle-cbb47mwc.js} +23 -23
- package/dist/chunks/{file-retention-bdxrme4x.js → location-lifecycle-cbemmm07.js} +26 -26
- package/dist/chunks/{file-retention-05acc43v.js → location-lifecycle-ccckjf53.js} +6 -6
- package/dist/chunks/{file-retention-f9nn1sjd.js → location-lifecycle-cf7bb4ee.js} +21 -21
- package/dist/chunks/{file-retention-cwrgdav8.js → location-lifecycle-cwrgdav8.js} +2 -2
- package/dist/chunks/{file-retention-94khjvtj.js → location-lifecycle-cz9qwb4v.js} +25 -25
- package/dist/chunks/{file-retention-d4v9tmah.js → location-lifecycle-d4v9tmah.js} +2 -2
- package/dist/chunks/{file-retention-6y6e3gcj.js → location-lifecycle-d71jzqq5.js} +26 -26
- package/dist/chunks/{file-retention-w9g7809j.js → location-lifecycle-d99f5m93.js} +11 -11
- package/dist/chunks/{file-retention-b4fxnh5x.js → location-lifecycle-dc43kh8r.js} +2 -2
- package/dist/chunks/{file-retention-01cw0x8c.js → location-lifecycle-df2c00r2.js} +26 -26
- package/dist/chunks/{file-retention-saqfpqv7.js → location-lifecycle-djqxpt3v.js} +16 -16
- package/dist/chunks/{file-retention-haf3v3hy.js → location-lifecycle-ds7r37yp.js} +5 -5
- package/dist/chunks/{file-retention-dt77769w.js → location-lifecycle-dt77769w.js} +1 -1
- package/dist/chunks/{file-retention-mc71x809.js → location-lifecycle-dvdaxtza.js} +4 -4
- package/dist/chunks/{file-retention-fng6wk28.js → location-lifecycle-dyxnxpy9.js} +11 -11
- package/dist/chunks/{file-retention-3gxdekad.js → location-lifecycle-e1eqrch2.js} +6 -6
- package/dist/chunks/{file-retention-3t7s1jht.js → location-lifecycle-e4djf1tn.js} +26 -26
- package/dist/chunks/{file-retention-e834z07m.js → location-lifecycle-e834z07m.js} +1 -1
- package/dist/chunks/{file-retention-3cbzjvxf.js → location-lifecycle-eb5f6b32.js} +5 -5
- package/dist/chunks/{file-retention-tpm8y58e.js → location-lifecycle-ecm38ch5.js} +36 -36
- package/dist/chunks/{file-retention-284vr7mk.js → location-lifecycle-eypwzk3k.js} +5 -5
- package/dist/chunks/{file-retention-rnnfdfqg.js → location-lifecycle-f173rk19.js} +23 -23
- package/dist/chunks/{file-retention-p2dy9dmh.js → location-lifecycle-f6h31egd.js} +16 -16
- package/dist/chunks/{file-retention-pqz8f4xz.js → location-lifecycle-f9y314dy.js} +14 -14
- package/dist/chunks/{file-retention-fffv3p7h.js → location-lifecycle-fffv3p7h.js} +1 -1
- package/dist/chunks/{file-retention-fg9p65nk.js → location-lifecycle-fg9p65nk.js} +2 -2
- package/dist/chunks/location-lifecycle-fjbf6g7j.js +257 -0
- package/dist/chunks/{file-retention-2v29ms50.js → location-lifecycle-fjnek5t9.js} +17 -17
- package/dist/chunks/{file-retention-yztxn572.js → location-lifecycle-fppgtez7.js} +4 -4
- package/dist/chunks/{file-retention-7kf2nsex.js → location-lifecycle-fv2mwt24.js} +8 -8
- package/dist/chunks/{file-retention-pnwsrq7c.js → location-lifecycle-g5vwevgv.js} +6 -6
- package/dist/chunks/{file-retention-g6dfma3d.js → location-lifecycle-g6dfma3d.js} +2 -2
- package/dist/chunks/{file-retention-ptdgs7e1.js → location-lifecycle-gdf9e5nr.js} +10 -10
- package/dist/chunks/{file-retention-h5tttybt.js → location-lifecycle-gdkva6ew.js} +19 -19
- package/dist/chunks/{file-retention-gg8p9cgs.js → location-lifecycle-gg8p9cgs.js} +3 -3
- package/dist/chunks/{file-retention-0d5wzp0a.js → location-lifecycle-gkhdbsyv.js} +30 -30
- package/dist/chunks/{file-retention-vtftkppy.js → location-lifecycle-gvaq4yqr.js} +33 -33
- package/dist/chunks/{file-retention-dzpz9w51.js → location-lifecycle-gxk2tgx6.js} +21 -21
- package/dist/chunks/{file-retention-e486tjyp.js → location-lifecycle-h07nre7q.js} +5 -5
- package/dist/chunks/{file-retention-ryddx2hx.js → location-lifecycle-h0w0dvbv.js} +24 -24
- package/dist/chunks/{file-retention-4en8p6w3.js → location-lifecycle-h7k1evsd.js} +10 -10
- package/dist/chunks/{file-retention-hdfrs5mg.js → location-lifecycle-hdfrs5mg.js} +2 -2
- package/dist/chunks/{file-retention-bzk4ydrv.js → location-lifecycle-hnpmq22g.js} +80 -80
- package/dist/chunks/{file-retention-hpg1pkwy.js → location-lifecycle-hpg1pkwy.js} +1 -1
- package/dist/chunks/{file-retention-hqxkkta1.js → location-lifecycle-hqxkkta1.js} +1 -1
- package/dist/chunks/{file-retention-f6n5e1dm.js → location-lifecycle-j2qw4jfr.js} +12 -12
- package/dist/chunks/{file-retention-h9awvcw8.js → location-lifecycle-j5e5j1fe.js} +29 -29
- package/dist/chunks/{file-retention-rmt6m6se.js → location-lifecycle-jcqm84fr.js} +9 -9
- package/dist/chunks/{file-retention-jfaecv01.js → location-lifecycle-jfaecv01.js} +1 -1
- package/dist/chunks/{file-retention-mq7hpmjw.js → location-lifecycle-jscpe56m.js} +4 -4
- package/dist/chunks/{file-retention-jtnps1zs.js → location-lifecycle-jtnps1zs.js} +2 -2
- package/dist/chunks/{file-retention-6pnx88k5.js → location-lifecycle-k71e58vb.js} +15 -15
- package/dist/chunks/{file-retention-k814nvkf.js → location-lifecycle-k814nvkf.js} +1 -1
- package/dist/chunks/{file-retention-13ebf3mq.js → location-lifecycle-k8ebahnr.js} +2 -2
- package/dist/chunks/{file-retention-nbbcay66.js → location-lifecycle-k9sjb5tj.js} +9 -9
- package/dist/chunks/{file-retention-epbqh0vp.js → location-lifecycle-k9zkdd2y.js} +4 -4
- package/dist/chunks/{file-retention-jz9sppn7.js → location-lifecycle-kah2kh89.js} +4 -4
- package/dist/chunks/{file-retention-tzm99g9n.js → location-lifecycle-kpxd4fmz.js} +12 -12
- package/dist/chunks/{file-retention-kt3bjfbg.js → location-lifecycle-kt3bjfbg.js} +1 -1
- package/dist/chunks/{file-retention-79gnnek8.js → location-lifecycle-ktgnt9f7.js} +12 -12
- package/dist/chunks/{file-retention-tv6nmqg6.js → location-lifecycle-kyvzf8k6.js} +13 -13
- package/dist/chunks/{file-retention-m1714858.js → location-lifecycle-m1714858.js} +1 -1
- package/dist/chunks/{file-retention-m37sd98t.js → location-lifecycle-m37sd98t.js} +1 -1
- package/dist/chunks/{file-retention-qz7zdzmc.js → location-lifecycle-m7c897ds.js} +9 -9
- package/dist/chunks/{file-retention-x38q2hx0.js → location-lifecycle-m7taj7my.js} +16 -16
- package/dist/chunks/{file-retention-8r9nj4s8.js → location-lifecycle-m7xh3h0x.js} +4 -4
- package/dist/chunks/{file-retention-m9w0rfyh.js → location-lifecycle-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-wdj410na.js → location-lifecycle-ma2w25mf.js} +35 -35
- package/dist/chunks/{file-retention-8dnm6rqe.js → location-lifecycle-mhgygngq.js} +30 -30
- package/dist/chunks/{file-retention-h4v9p5rq.js → location-lifecycle-mq5c3q7z.js} +3 -3
- package/dist/chunks/{file-retention-ksbsws88.js → location-lifecycle-n0tytav9.js} +10 -10
- package/dist/chunks/{file-retention-wdx8z5j2.js → location-lifecycle-n2z4wya3.js} +8 -8
- package/dist/chunks/{file-retention-prdb4jtf.js → location-lifecycle-naagyz4k.js} +13 -13
- package/dist/chunks/{file-retention-nah043kf.js → location-lifecycle-nah043kf.js} +1 -1
- package/dist/chunks/{file-retention-v5h34zxn.js → location-lifecycle-nsw81et0.js} +6 -6
- package/dist/chunks/{file-retention-akjr89gm.js → location-lifecycle-nt8vvmqz.js} +5 -5
- package/dist/chunks/{file-retention-2n2jra7h.js → location-lifecycle-nx93drwx.js} +2 -2
- package/dist/chunks/{file-retention-4tsasp0w.js → location-lifecycle-nz52b13v.js} +11 -11
- package/dist/chunks/{file-retention-p015t6z3.js → location-lifecycle-p015t6z3.js} +2 -2
- package/dist/chunks/{file-retention-3ctwxhf6.js → location-lifecycle-p04ats16.js} +22 -22
- package/dist/chunks/{file-retention-tya21j9a.js → location-lifecycle-p6t1mk3h.js} +27 -27
- package/dist/chunks/{file-retention-nd9x6dx5.js → location-lifecycle-p83r9kgz.js} +7 -7
- package/dist/chunks/{file-retention-jb9hj9nr.js → location-lifecycle-pd760nvw.js} +6 -6
- package/dist/chunks/{file-retention-pknna89w.js → location-lifecycle-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-aw4q487d.js → location-lifecycle-pqma0c1x.js} +22 -22
- package/dist/chunks/{file-retention-b2e3mpfn.js → location-lifecycle-pvq12naa.js} +11 -11
- package/dist/chunks/{file-retention-2jznjq70.js → location-lifecycle-q6jkkd8a.js} +11 -11
- package/dist/chunks/{file-retention-t9vygg4h.js → location-lifecycle-qffsp4dp.js} +12 -12
- package/dist/chunks/{file-retention-qp0h8mz4.js → location-lifecycle-qnfzdftk.js} +37 -37
- package/dist/chunks/{file-retention-qp7r0hxv.js → location-lifecycle-qp7r0hxv.js} +1 -1
- package/dist/chunks/{file-retention-3ryz99p0.js → location-lifecycle-qqg9c0kv.js} +4 -4
- package/dist/chunks/{file-retention-hrgy1ehp.js → location-lifecycle-qqjgh3pd.js} +3 -3
- package/dist/chunks/{file-retention-d6bett94.js → location-lifecycle-qrchdqsm.js} +26 -26
- package/dist/chunks/{file-retention-r0yr0wbs.js → location-lifecycle-r0yr0wbs.js} +1 -1
- package/dist/chunks/{file-retention-r542h3bh.js → location-lifecycle-r542h3bh.js} +1 -1
- package/dist/chunks/{file-retention-rb9dy4dg.js → location-lifecycle-rb9dy4dg.js} +1 -1
- package/dist/chunks/{file-retention-jyq1zm3m.js → location-lifecycle-rewpzk58.js} +33 -33
- package/dist/chunks/{file-retention-rt5dr6hb.js → location-lifecycle-rt5dr6hb.js} +1 -1
- package/dist/chunks/{file-retention-sa3fpqfw.js → location-lifecycle-sa3fpqfw.js} +2 -2
- package/dist/chunks/{file-retention-1tpd8jbg.js → location-lifecycle-sd1zaa0n.js} +50 -50
- package/dist/chunks/{file-retention-cap58psb.js → location-lifecycle-sfkyptjt.js} +8 -8
- package/dist/chunks/{file-retention-dnphr175.js → location-lifecycle-sph0zzny.js} +9 -9
- package/dist/chunks/{file-retention-sqjzf8x2.js → location-lifecycle-sqjzf8x2.js} +1 -1
- package/dist/chunks/{file-retention-z6te0x2y.js → location-lifecycle-ss8vbdea.js} +20 -20
- package/dist/chunks/{file-retention-d2887f8n.js → location-lifecycle-ssfehs1z.js} +4 -4
- package/dist/chunks/{file-retention-svcy3p9a.js → location-lifecycle-svcy3p9a.js} +1 -1
- package/dist/chunks/{file-retention-9grvd76r.js → location-lifecycle-sx2sqvt0.js} +5 -5
- package/dist/chunks/{file-retention-fd09956s.js → location-lifecycle-t1pqym7z.js} +4 -4
- package/dist/chunks/{file-retention-xaz3vqte.js → location-lifecycle-t2hws329.js} +4 -4
- package/dist/chunks/{file-retention-bg4dmm5d.js → location-lifecycle-t9bksnks.js} +15 -15
- package/dist/chunks/{file-retention-257338nf.js → location-lifecycle-tbc4hnjg.js} +18 -18
- package/dist/chunks/{file-retention-tczq8hjw.js → location-lifecycle-tczq8hjw.js} +1 -1
- package/dist/chunks/{file-retention-h3hvekyy.js → location-lifecycle-td4w62pz.js} +11 -11
- package/dist/chunks/{file-retention-ydsespw1.js → location-lifecycle-tg1vr1qt.js} +8 -8
- package/dist/chunks/{file-retention-4p3hg7qr.js → location-lifecycle-tkre6f7h.js} +8 -8
- package/dist/chunks/{file-retention-zqfva1zy.js → location-lifecycle-tsjxkbkr.js} +1 -1
- package/dist/chunks/{file-retention-twssxy5n.js → location-lifecycle-twssxy5n.js} +2 -2
- package/dist/chunks/{file-retention-9c0sbrgq.js → location-lifecycle-txj1cky5.js} +2 -2
- package/dist/chunks/{file-retention-v2r1d0zg.js → location-lifecycle-v2r1d0zg.js} +1 -1
- package/dist/chunks/{file-retention-ed1jg8md.js → location-lifecycle-v3fdqrnt.js} +30 -30
- package/dist/chunks/{file-retention-xdjf2s1h.js → location-lifecycle-v4jvtg12.js} +16 -16
- package/dist/chunks/{file-retention-wmrfeaxa.js → location-lifecycle-vbbxgk2y.js} +16 -16
- package/dist/chunks/{file-retention-xmt6n58z.js → location-lifecycle-vd688y41.js} +9 -9
- package/dist/chunks/{file-retention-veqvce7d.js → location-lifecycle-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-zhvf8v5k.js → location-lifecycle-vpwrt4sc.js} +9 -9
- package/dist/chunks/{file-retention-tvbcxp3f.js → location-lifecycle-vxwyzzbd.js} +11 -11
- package/dist/chunks/{file-retention-w3wsvvr9.js → location-lifecycle-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-cbn5qz6c.js → location-lifecycle-w68dkr85.js} +16 -16
- package/dist/chunks/{file-retention-wakvkjy4.js → location-lifecycle-wakvkjy4.js} +1 -1
- package/dist/chunks/{file-retention-wd87259q.js → location-lifecycle-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-wc3hvwsb.js → location-lifecycle-wj9vsha4.js} +22 -22
- package/dist/chunks/{file-retention-wnhgecwx.js → location-lifecycle-wnhgecwx.js} +1 -1
- package/dist/chunks/{file-retention-wcjz4gw8.js → location-lifecycle-wpnx85ma.js} +13 -13
- package/dist/chunks/{file-retention-w687dnns.js → location-lifecycle-wr3re1en.js} +4 -4
- package/dist/chunks/{file-retention-qtgtdkvq.js → location-lifecycle-wrbwdch6.js} +8 -8
- package/dist/chunks/{file-retention-exqnczdn.js → location-lifecycle-x6nzn92d.js} +18 -18
- package/dist/chunks/{file-retention-w1ampmdn.js → location-lifecycle-xefdtv7r.js} +80 -80
- package/dist/chunks/{file-retention-17qfb74n.js → location-lifecycle-xj96h5e7.js} +11 -11
- package/dist/chunks/{file-retention-8jwdpn38.js → location-lifecycle-xjmr53ze.js} +14 -14
- package/dist/chunks/{file-retention-8p9z5v1r.js → location-lifecycle-xpdqwa24.js} +24 -24
- package/dist/chunks/{file-retention-nwyfjcs7.js → location-lifecycle-xppvscx0.js} +8 -8
- package/dist/chunks/{file-retention-ant32n8a.js → location-lifecycle-xrc94xg0.js} +17 -17
- package/dist/chunks/{file-retention-4exy2tgb.js → location-lifecycle-xwprm4rw.js} +66 -66
- package/dist/chunks/{file-retention-1npk31dn.js → location-lifecycle-y2nffz2s.js} +1 -1
- package/dist/chunks/{file-retention-ma8y8rx5.js → location-lifecycle-y3pjmv4z.js} +6 -6
- package/dist/chunks/{file-retention-b78pvnk0.js → location-lifecycle-y6nq6epw.js} +18 -18
- package/dist/chunks/{file-retention-abwhxwyy.js → location-lifecycle-y9eprydp.js} +3 -3
- package/dist/chunks/{file-retention-yara3q77.js → location-lifecycle-yara3q77.js} +2 -2
- package/dist/chunks/{file-retention-yb20nhc3.js → location-lifecycle-yb20nhc3.js} +1 -1
- package/dist/chunks/{file-retention-97vq97zw.js → location-lifecycle-yj33kabs.js} +7 -7
- package/dist/chunks/{file-retention-mz3668s9.js → location-lifecycle-yk9hxnp0.js} +3 -3
- package/dist/chunks/{file-retention-3cgskxpq.js → location-lifecycle-ymz7p2c9.js} +3 -3
- package/dist/chunks/{file-retention-pdbk0b84.js → location-lifecycle-yqsq0g7e.js} +23 -23
- package/dist/chunks/{file-retention-vh7hpp0n.js → location-lifecycle-yy8k1hg2.js} +11 -11
- package/dist/chunks/{file-retention-z0bkrqjs.js → location-lifecycle-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-z38nccrw.js → location-lifecycle-z38nccrw.js} +1 -1
- package/dist/chunks/{file-retention-6ss6ngz0.js → location-lifecycle-zfyb5tr4.js} +4 -4
- package/dist/chunks/{file-retention-zgkm4kzm.js → location-lifecycle-zgkm4kzm.js} +3 -3
- package/dist/chunks/{file-retention-11fnx5ad.js → location-lifecycle-zgrqh63v.js} +3 -3
- package/dist/chunks/{file-retention-213ntr4e.js → location-lifecycle-zhks3cc0.js} +33 -33
- package/dist/chunks/{file-retention-bdady26x.js → location-lifecycle-zk6a9waq.js} +27 -27
- package/dist/chunks/{file-retention-bewng5xt.js → location-lifecycle-ztqw238r.js} +14 -14
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +92 -92
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +221 -221
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +121 -121
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +145 -145
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +120 -120
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +93 -93
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +381 -381
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +103 -103
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +148 -148
- package/dist/file-mutation.js +102 -102
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +83 -83
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +234 -234
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +110 -110
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +95 -95
- package/dist/generate.js +115 -115
- package/dist/git.js +7 -7
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +372 -372
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +93 -93
- package/dist/job.js +82 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +163 -163
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +369 -369
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +117 -117
- package/dist/mcp/instructions.js +168 -168
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +143 -143
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +82 -82
- package/dist/plugin/command.js +110 -110
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +227 -227
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +342 -342
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +123 -123
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +121 -121
- package/dist/plugin/provider/opencode.js +124 -124
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vercel.js +98 -98
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +175 -175
- package/dist/plugin/sdk.js +82 -82
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +359 -359
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +236 -236
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +106 -106
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -105
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +164 -164
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -96
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +228 -228
- package/dist/session/execution.js +154 -154
- package/dist/session/generate.js +188 -188
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +140 -140
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +85 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +128 -128
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +155 -155
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +152 -152
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +215 -215
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +190 -190
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- 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 +9 -9
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +148 -148
- package/dist/snapshot.js +101 -101
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +167 -167
- package/dist/tool/plugin/edit.js +150 -150
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +158 -158
- package/dist/tool/plugin/grep.js +160 -160
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +152 -152
- package/dist/tool/plugin/question.js +138 -138
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +222 -222
- package/dist/tool/plugin/skill.js +147 -147
- package/dist/tool/plugin/subagent.js +226 -226
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +147 -147
- package/dist/tool/plugin/websearch.js +143 -143
- package/dist/tool/plugin/write.js +154 -154
- package/dist/tool/read-filesystem.js +110 -110
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/usage-limits.js +95 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +100 -100
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +99 -99
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +96 -96
- package/dist/websearch.js +88 -88
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +85 -85
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +86 -86
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +108 -108
- package/package.json +8 -8
- package/dist/chunks/file-retention-f8ma18fn.js +0 -18
- package/dist/chunks/file-retention-fb3r9cnw.js +0 -26
- package/dist/chunks/file-retention-p44nm9sv.js +0 -257
- package/dist/chunks/file-retention-sd7aqspp.js +0 -511
- /package/dist/chunks/{file-retention-0qkdqm5v.js → location-lifecycle-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → location-lifecycle-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → location-lifecycle-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → location-lifecycle-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1jakw16s.js → location-lifecycle-1jakw16s.js} +0 -0
- /package/dist/chunks/{file-retention-24dcb14g.js → location-lifecycle-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → location-lifecycle-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2bv980vf.js → location-lifecycle-2bv980vf.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → location-lifecycle-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → location-lifecycle-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → location-lifecycle-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → location-lifecycle-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → location-lifecycle-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → location-lifecycle-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → location-lifecycle-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4m86bj6y.js → location-lifecycle-4m86bj6y.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → location-lifecycle-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → location-lifecycle-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → location-lifecycle-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → location-lifecycle-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-5w3e23ze.js → location-lifecycle-5w3e23ze.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → location-lifecycle-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-6q2bdcd1.js → location-lifecycle-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → location-lifecycle-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → location-lifecycle-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → location-lifecycle-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-84wd9syh.js → location-lifecycle-84wd9syh.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → location-lifecycle-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → location-lifecycle-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-8wj87zfr.js → location-lifecycle-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → location-lifecycle-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → location-lifecycle-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a058387c.js → location-lifecycle-a058387c.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → location-lifecycle-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → location-lifecycle-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → location-lifecycle-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → location-lifecycle-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → location-lifecycle-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-beh6qq61.js → location-lifecycle-beh6qq61.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → location-lifecycle-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → location-lifecycle-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → location-lifecycle-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cqv5kn06.js → location-lifecycle-cqv5kn06.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → location-lifecycle-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → location-lifecycle-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → location-lifecycle-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → location-lifecycle-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → location-lifecycle-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → location-lifecycle-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → location-lifecycle-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → location-lifecycle-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → location-lifecycle-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → location-lifecycle-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → location-lifecycle-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → location-lifecycle-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → location-lifecycle-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → location-lifecycle-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → location-lifecycle-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → location-lifecycle-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fkpq3x5p.js → location-lifecycle-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → location-lifecycle-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → location-lifecycle-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → location-lifecycle-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → location-lifecycle-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hcxmzztb.js → location-lifecycle-hcxmzztb.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → location-lifecycle-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → location-lifecycle-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → location-lifecycle-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jjkms2e6.js → location-lifecycle-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → location-lifecycle-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → location-lifecycle-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jwr30sdr.js → location-lifecycle-jwr30sdr.js} +0 -0
- /package/dist/chunks/{file-retention-jze0r7bz.js → location-lifecycle-jze0r7bz.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → location-lifecycle-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-m18g726c.js → location-lifecycle-m18g726c.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → location-lifecycle-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → location-lifecycle-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → location-lifecycle-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → location-lifecycle-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-ncqqe42p.js → location-lifecycle-ncqqe42p.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → location-lifecycle-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-p71gwv9c.js → location-lifecycle-p71gwv9c.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → location-lifecycle-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → location-lifecycle-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → location-lifecycle-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → location-lifecycle-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → location-lifecycle-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qg3g05ea.js → location-lifecycle-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → location-lifecycle-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → location-lifecycle-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → location-lifecycle-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → location-lifecycle-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-ve7vex1e.js → location-lifecycle-ve7vex1e.js} +0 -0
- /package/dist/chunks/{file-retention-vpm8vpz0.js → location-lifecycle-vpm8vpz0.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → location-lifecycle-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wc3fc9cn.js → location-lifecycle-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → location-lifecycle-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → location-lifecycle-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → location-lifecycle-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → location-lifecycle-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → location-lifecycle-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8f7s663.js → location-lifecycle-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → location-lifecycle-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → location-lifecycle-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z5v4ffb3.js → location-lifecycle-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → location-lifecycle-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service62,
|
|
3
|
+
node65,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-lifecycle-sph0zzny.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service55,
|
|
8
|
+
node58
|
|
9
|
+
} from "./location-lifecycle-89sdcr2v.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service60
|
|
12
|
+
} from "./location-lifecycle-zk6a9waq.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-lifecycle-fjbf6g7j.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option, Scope } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service62, 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, Service60);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -58,11 +58,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
58
58
|
}).pipe(Effect.uninterruptible)
|
|
59
59
|
};
|
|
60
60
|
const bindings = [
|
|
61
|
-
|
|
61
|
+
node58.replace(Layer.succeed(Service55, {
|
|
62
62
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
63
63
|
})),
|
|
64
64
|
...replacements,
|
|
65
|
-
|
|
65
|
+
node65.replace(Layer.succeed(Service62, map))
|
|
66
66
|
];
|
|
67
67
|
return map;
|
|
68
68
|
}));
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-55gbafn6.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names4,
|
|
17
17
|
preferencePaths: () => preferencePaths2,
|
|
18
18
|
stripPreferenceMetadata: () => stripPreferenceMetadata2,
|
|
19
19
|
systemDirectory: () => systemDirectory2
|
|
@@ -23,7 +23,7 @@ import path from "path";
|
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
25
25
|
import { Global } from "@opencode/util/global";
|
|
26
|
-
var
|
|
26
|
+
var names4 = ["opencode.json", "opencode.jsonc"];
|
|
27
27
|
function systemDirectory2(platform = process.platform, env = process.env) {
|
|
28
28
|
if (platform === "darwin")
|
|
29
29
|
return AbsolutePath2.make("/Library/Application Support/opencode");
|
|
@@ -71,10 +71,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
71
71
|
const directories = globalRoots.slice(0, configDirectories.length).includes(current) || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
72
72
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
73
73
|
const parent = yield* fs.resolve(directory);
|
|
74
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
74
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
75
75
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
76
76
|
const globalEnabled = options?.global !== false;
|
|
77
|
-
const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) =>
|
|
77
|
+
const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) => names4.map((name) => path.join(directory, name))), (file) => fs.resolve(file));
|
|
78
78
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
79
79
|
const preferences = globalEnabled && (options?.system ?? true) === true && process.platform === "darwin" ? (yield* Effect.filter(preferencePaths2(yield* Effect.try(() => os.userInfo().username).pipe(Effect.orElseSucceed(() => "user"))), fs.isFile)).at(0) : undefined;
|
|
80
80
|
return {
|
|
@@ -99,4 +99,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
99
99
|
};
|
|
100
100
|
});
|
|
101
101
|
|
|
102
|
-
export {
|
|
102
|
+
export { names4, systemDirectory2, preferencePaths2, stripPreferenceMetadata2, discover3, exports_discovery2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-55gbafn6.js";
|
|
7
7
|
import {
|
|
8
8
|
NotFound3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-svcy3p9a.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service64
|
|
12
|
+
} from "./location-lifecycle-pqma0c1x.js";
|
|
13
13
|
import {
|
|
14
14
|
Service11
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-lifecycle-26gw3n1w.js";
|
|
16
16
|
import {
|
|
17
17
|
BinaryFileError2,
|
|
18
18
|
MediaIngestLimitError2,
|
|
@@ -22,26 +22,26 @@ import {
|
|
|
22
22
|
FileContent2,
|
|
23
23
|
TextPage2,
|
|
24
24
|
ListPage2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service28
|
|
26
|
+
} from "./location-lifecycle-77mevfn5.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/plugin/read.ts
|
|
32
32
|
var exports_read = {};
|
|
33
33
|
__export(exports_read, {
|
|
34
|
-
Input: () =>
|
|
35
|
-
Plugin: () =>
|
|
34
|
+
Input: () => Input5,
|
|
35
|
+
Plugin: () => Plugin39,
|
|
36
36
|
ReadTool: () => exports_read,
|
|
37
|
-
name: () =>
|
|
38
|
-
toModelContent: () =>
|
|
37
|
+
name: () => name5,
|
|
38
|
+
toModelContent: () => toModelContent2
|
|
39
39
|
});
|
|
40
40
|
import { basename, dirname, join } from "path";
|
|
41
41
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
|
-
var
|
|
44
|
+
var name5 = "read";
|
|
45
45
|
var FILENAME = "AGENTS.md";
|
|
46
46
|
var LocationInput = Schema.Struct({
|
|
47
47
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -52,21 +52,21 @@ var LocationInput = Schema.Struct({
|
|
|
52
52
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
53
53
|
})
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input5 = LocationInput;
|
|
56
56
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
57
|
-
var
|
|
57
|
+
var Plugin39 = {
|
|
58
58
|
id: "opencode.tool.read",
|
|
59
59
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
60
|
-
const reader = yield*
|
|
61
|
-
const access = yield*
|
|
60
|
+
const reader = yield* Service28;
|
|
61
|
+
const access = yield* Service64;
|
|
62
62
|
const sessionInstructions = yield* Service11;
|
|
63
63
|
const fs = yield* FSUtil.Service;
|
|
64
64
|
const location = yield* Service82;
|
|
65
65
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
66
|
-
name:
|
|
66
|
+
name: name5,
|
|
67
67
|
options: { codemode: false },
|
|
68
68
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
69
|
-
input:
|
|
69
|
+
input: Input5,
|
|
70
70
|
output: Output,
|
|
71
71
|
execute: (input, context) => {
|
|
72
72
|
return Effect.gen(function* () {
|
|
@@ -110,7 +110,7 @@ var Plugin40 = {
|
|
|
110
110
|
return { output: result.content, path: result.path };
|
|
111
111
|
}).pipe(Effect.map((result) => ({
|
|
112
112
|
output: result.output,
|
|
113
|
-
content:
|
|
113
|
+
content: toModelContent2(result.path, input.offset, result.output),
|
|
114
114
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
115
115
|
})), Effect.mapError((error) => {
|
|
116
116
|
if (error instanceof ToolFailure)
|
|
@@ -143,7 +143,7 @@ ${suggestions.join(`
|
|
|
143
143
|
});
|
|
144
144
|
})
|
|
145
145
|
};
|
|
146
|
-
var
|
|
146
|
+
var toModelContent2 = (path, offset, output) => {
|
|
147
147
|
if (output.type === "file" && output.encoding === "base64")
|
|
148
148
|
return [
|
|
149
149
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -179,4 +179,4 @@ var toModelContent3 = (path, offset, output) => {
|
|
|
179
179
|
`);
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { name5, Input5, Plugin39, toModelContent2, exports_read };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-jscpe56m.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-lifecycle-bstexjd6.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-lifecycle-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service47,
|
|
17
|
+
node51
|
|
18
|
+
} from "./location-lifecycle-fjnek5t9.js";
|
|
19
19
|
import {
|
|
20
20
|
changes2,
|
|
21
21
|
create3
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-lifecycle-204s3925.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/reference.ts
|
|
28
28
|
var exports_reference2 = {};
|
|
29
29
|
__export(exports_reference2, {
|
|
30
|
-
Event: () =>
|
|
30
|
+
Event: () => Event7,
|
|
31
31
|
GitSource: () => GitSource2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info8,
|
|
33
33
|
LocalSource: () => LocalSource2,
|
|
34
34
|
Reference: () => exports_reference2,
|
|
35
|
-
Service: () =>
|
|
36
|
-
Source: () =>
|
|
37
|
-
node: () =>
|
|
35
|
+
Service: () => Service32,
|
|
36
|
+
Source: () => Source3,
|
|
37
|
+
node: () => node35
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
41
41
|
import { Reference } from "@opencode/schema/reference";
|
|
42
42
|
import { Global } from "@opencode/util/global";
|
|
43
|
-
import { Event as
|
|
43
|
+
import { Event as Event7 } from "@opencode/schema/reference";
|
|
44
44
|
var LocalSource2 = Reference.LocalSource;
|
|
45
45
|
var GitSource2 = Reference.GitSource;
|
|
46
|
-
var
|
|
47
|
-
var
|
|
46
|
+
var Source3 = Reference.Source;
|
|
47
|
+
var Info8 = Reference.Info;
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service32 extends Context.Service()("@opencode/Reference") {
|
|
50
50
|
}
|
|
51
|
-
var layer = Layer.effect(
|
|
51
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const bus = yield* Service85;
|
|
54
|
-
const cache = yield*
|
|
54
|
+
const cache = yield* Service47;
|
|
55
55
|
const scope = yield* Scope.Scope;
|
|
56
56
|
const list = (data = state.get()) => Array.from(data.sources).flatMap(([name, source]) => {
|
|
57
57
|
const info = {
|
|
@@ -61,7 +61,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
61
61
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
62
62
|
};
|
|
63
63
|
if (source.type === "local")
|
|
64
|
-
return [
|
|
64
|
+
return [Info8.make({ ...info, path: source.path })];
|
|
65
65
|
const repository = parse4(source.repository);
|
|
66
66
|
if (!repository || !isRemote2(repository))
|
|
67
67
|
return [];
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return [
|
|
76
|
-
|
|
76
|
+
Info8.make({
|
|
77
77
|
...info,
|
|
78
78
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
79
79
|
})
|
|
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
107
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
108
|
-
return
|
|
108
|
+
return Service32.of({
|
|
109
109
|
transform: state.transform,
|
|
110
110
|
reload: state.reload,
|
|
111
111
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
113
113
|
})
|
|
114
114
|
});
|
|
115
115
|
}));
|
|
116
|
-
var
|
|
117
|
-
service:
|
|
116
|
+
var node35 = makeLocationNode({
|
|
117
|
+
service: Service32,
|
|
118
118
|
layer,
|
|
119
|
-
deps: [Global.node, node89,
|
|
119
|
+
deps: [Global.node, node89, node51]
|
|
120
120
|
});
|
|
121
121
|
|
|
122
|
-
export { LocalSource2, GitSource2,
|
|
122
|
+
export { LocalSource2, GitSource2, Source3, Info8, Service32, node35, exports_reference2, Event7 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-h7k1evsd.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-40za9wsf.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin7,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
16
|
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin7 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -77,4 +77,4 @@ var Plugin25 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { endpoint5,
|
|
80
|
+
export { endpoint5, Plugin7, exports_firecrawl };
|
|
@@ -3,29 +3,29 @@ import {
|
|
|
3
3
|
removed2,
|
|
4
4
|
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-1kn6jdkn.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-qnfzdftk.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service27,
|
|
12
|
+
node30
|
|
13
|
+
} from "./location-lifecycle-7tj1474e.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
name15
|
|
17
|
+
} from "./location-lifecycle-ma2w25mf.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions4 = {};
|
|
24
|
+
__export(exports_instructions4, {
|
|
25
|
+
McpInstructions: () => exports_instructions4,
|
|
26
|
+
Service: () => Service25,
|
|
27
|
+
layer: () => layer13,
|
|
28
|
+
node: () => node28
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -65,11 +65,11 @@ var update = (previous, current) => {
|
|
|
65
65
|
`);
|
|
66
66
|
};
|
|
67
67
|
|
|
68
|
-
class
|
|
68
|
+
class Service25 extends Context.Service()("@opencode/McpInstructions") {
|
|
69
69
|
}
|
|
70
|
-
var
|
|
71
|
-
const mcp = yield*
|
|
72
|
-
return
|
|
70
|
+
var layer13 = Layer.effect(Service25, Effect.gen(function* () {
|
|
71
|
+
const mcp = yield* Service27;
|
|
72
|
+
return Service25.of({
|
|
73
73
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
74
74
|
const source = (value) => make21({
|
|
75
75
|
key: Key3.make("core/mcp-guidance"),
|
|
@@ -88,7 +88,7 @@ var layer9 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
88
88
|
const visible = instructions.flatMap((item) => {
|
|
89
89
|
const owned = tools.filter((tool) => tool.server === item.server);
|
|
90
90
|
const codemode = canExecute && owned[0]?.codemode !== false;
|
|
91
|
-
if (!owned.some((tool) => evaluate2(
|
|
91
|
+
if (!owned.some((tool) => evaluate2(name15(tool.server, tool.name), "*", permissions).effect !== "deny"))
|
|
92
92
|
return [];
|
|
93
93
|
return [
|
|
94
94
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -98,6 +98,6 @@ var layer9 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
98
98
|
})
|
|
99
99
|
});
|
|
100
100
|
}));
|
|
101
|
-
var
|
|
101
|
+
var node28 = makeLocationNode({ service: Service25, layer: layer13, deps: [node30] });
|
|
102
102
|
|
|
103
|
-
export {
|
|
103
|
+
export { Service25, layer13, node28, exports_instructions4 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-lifecycle-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./location-lifecycle-qnfzdftk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID5,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service35
|
|
10
|
+
} from "./location-lifecycle-aweea5r7.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
16
|
var exports_skill3 = {};
|
|
17
17
|
__export(exports_skill3, {
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
18
|
+
Input: () => Input4,
|
|
19
|
+
Output: () => Output3,
|
|
20
|
+
Plugin: () => Plugin38,
|
|
21
21
|
SkillTool: () => exports_skill3,
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
22
|
+
description: () => description3,
|
|
23
|
+
name: () => name4,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name4 = "skill";
|
|
30
|
+
var Input4 = Schema.Struct({
|
|
31
|
+
id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output3 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description3 = [
|
|
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,25 +43,25 @@ 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 Plugin38 = {
|
|
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* Service35;
|
|
51
|
+
const permission = yield* Service65;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name4,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description3,
|
|
56
|
+
input: Input4,
|
|
57
|
+
output: Output3,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name4,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin45 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name4, Input4, Output3, description3, toModelOutput2, Plugin38, exports_skill3 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/directory.ts
|
|
9
9
|
var exports_directory = {};
|