@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,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-jscpe56m.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./location-lifecycle-df2c00r2.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error2
|
|
9
|
+
} from "./location-lifecycle-xpdqwa24.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service48
|
|
12
|
+
} from "./location-lifecycle-dyxnxpy9.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-lifecycle-5kbev7nh.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-lifecycle-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-lifecycle-h07nre7q.js";
|
|
22
22
|
import {
|
|
23
23
|
record2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-lifecycle-r542h3bh.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-lifecycle-zgrqh63v.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-lifecycle-26x8chrq.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -54,8 +54,8 @@ var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not r
|
|
|
54
54
|
var make9 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service85;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service51;
|
|
58
|
+
const toolOutput = yield* Service48;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -71,7 +71,7 @@ var make9 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error2({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-vpm8vpz0.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error = {};
|
|
@@ -20,7 +20,7 @@ __export(exports_error, {
|
|
|
20
20
|
InvalidListCursorError: () => InvalidListCursorError2,
|
|
21
21
|
MessageDecodeError: () => MessageDecodeError2,
|
|
22
22
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
24
|
PromptConflictError: () => PromptConflictError2,
|
|
25
25
|
SessionErrors: () => exports_error,
|
|
26
26
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError10 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError10, InvalidListCursorError2, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-qqjgh3pd.js";
|
|
5
5
|
import {
|
|
6
6
|
Service85,
|
|
7
7
|
node89
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-lifecycle-jscpe56m.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-lifecycle-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-lifecycle-m1714858.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
25
|
+
ID: () => ID16,
|
|
26
|
+
Info: () => Info27,
|
|
27
27
|
Key: () => Key4,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service80,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node84
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Fiber, Layer, Schema } from "effect";
|
|
@@ -37,24 +37,24 @@ import { CredentialLegacy } from "@opencode/schema/credential-legacy";
|
|
|
37
37
|
import { Integration } from "@opencode/schema/integration";
|
|
38
38
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { EffectFlock } from "@opencode/util/effect-flock";
|
|
40
|
-
var
|
|
40
|
+
var ID16 = Credential.ID;
|
|
41
41
|
var OAuth3 = Credential.OAuth;
|
|
42
42
|
var Key4 = Credential.Key;
|
|
43
43
|
var External2 = Credential.External;
|
|
44
44
|
var Value2 = Credential.Value;
|
|
45
|
-
var
|
|
45
|
+
var Event19 = Credential.Event;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class Info27 extends Schema.Class("Credential.Info")({
|
|
48
|
+
id: ID16,
|
|
49
49
|
integrationID: Integration.ID,
|
|
50
50
|
label: Schema.String,
|
|
51
51
|
value: Value2
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service80 extends Context.Service()("@opencode/Credential") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
58
58
|
const db = (yield* Service86).db;
|
|
59
59
|
const bus = yield* Service85;
|
|
60
60
|
const flock = yield* EffectFlock.Service;
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
64
64
|
const stored = (row) => {
|
|
65
65
|
if (!row.integration_id)
|
|
66
66
|
return;
|
|
67
|
-
return new
|
|
67
|
+
return new Info27({
|
|
68
68
|
id: row.id,
|
|
69
69
|
integrationID: row.integration_id,
|
|
70
70
|
label: row.label,
|
|
@@ -75,7 +75,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
75
75
|
const credential = stored(row);
|
|
76
76
|
return credential ? [credential] : [];
|
|
77
77
|
});
|
|
78
|
-
return
|
|
78
|
+
return Service80.of({
|
|
79
79
|
lock: Effect.fn("Credential.lock")((id, operation) => Effect.uninterruptibleMask((restore) => Effect.gen(function* () {
|
|
80
80
|
const current = pending.get(id);
|
|
81
81
|
if (current)
|
|
@@ -91,8 +91,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
91
91
|
return row ? stored(row) : undefined;
|
|
92
92
|
}),
|
|
93
93
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
94
|
-
const credential = new
|
|
95
|
-
id: input.id ??
|
|
94
|
+
const credential = new Info27({
|
|
95
|
+
id: input.id ?? ID16.create(),
|
|
96
96
|
integrationID: input.integrationID,
|
|
97
97
|
label: input.label ?? "default",
|
|
98
98
|
value: input.value
|
|
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
123
123
|
type: credential.value.type,
|
|
124
124
|
active: activated
|
|
125
125
|
});
|
|
126
|
-
yield* bus.publish(
|
|
126
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
127
127
|
if (activated)
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
129
129
|
return credential;
|
|
130
130
|
}),
|
|
131
131
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
145
145
|
})), Effect.orDie);
|
|
146
146
|
if (integrationID) {
|
|
147
147
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
148
|
-
yield* bus.publish(
|
|
148
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
149
149
|
}
|
|
150
150
|
}),
|
|
151
151
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -177,7 +177,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
177
177
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
178
178
|
});
|
|
179
179
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
180
|
-
yield* bus.publish(
|
|
180
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
181
181
|
}),
|
|
182
182
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
183
183
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -210,12 +210,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
210
210
|
active: removed.switched,
|
|
211
211
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
212
212
|
});
|
|
213
|
-
yield* bus.publish(
|
|
213
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
214
214
|
if (removed.switched)
|
|
215
|
-
yield* bus.publish(
|
|
215
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
216
216
|
})
|
|
217
217
|
});
|
|
218
218
|
}));
|
|
219
|
-
var
|
|
219
|
+
var node84 = makeGlobalNode({ service: Service80, layer, deps: [node90, node89, EffectFlock.node] });
|
|
220
220
|
|
|
221
|
-
export {
|
|
221
|
+
export { ID16, OAuth3, Key4, External2, Value2, Event19, Info27, Service80, node84, exports_credential };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-rb9dy4dg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID6,
|
|
6
|
+
Service51
|
|
7
|
+
} from "./location-lifecycle-df2c00r2.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-lifecycle-vpm8vpz0.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-lifecycle-5kbev7nh.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-lifecycle-gg8p9cgs.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service51;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID6.make(from),
|
|
91
|
+
to: ID6.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-lifecycle-1kn6jdkn.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-lifecycle-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-lifecycle-gg8p9cgs.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info25,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
Status: () => Status3,
|
|
13
13
|
key: () => key2
|
|
@@ -15,7 +15,7 @@ __export(exports_connection, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info25 = Connection.Info;
|
|
19
19
|
var Status3 = Connection.Status;
|
|
20
20
|
function key2(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key2(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info25, Status3, key2, exports_connection };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service69,
|
|
10
|
+
node: () => node72
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service69 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service69.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node72 = makeLocationNode({ service: Service69, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service69, node72, exports_hooks };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./location-lifecycle-7qmd11nr.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service72
|
|
7
|
+
} from "./location-lifecycle-k71e58vb.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service70
|
|
11
|
+
} from "./location-lifecycle-bpt5jbat.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionSchema2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-lifecycle-vpm8vpz0.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service57
|
|
17
|
+
} from "./location-lifecycle-84w8hcrk.js";
|
|
18
18
|
import {
|
|
19
19
|
evaluate2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service65
|
|
21
|
+
} from "./location-lifecycle-qnfzdftk.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service16
|
|
24
|
+
} from "./location-lifecycle-xefdtv7r.js";
|
|
25
25
|
import {
|
|
26
26
|
NO_TEXT2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-lifecycle-sqjzf8x2.js";
|
|
28
28
|
import {
|
|
29
29
|
Service12
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-lifecycle-9k2c2kb1.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/tool/plugin/subagent.ts
|
|
36
36
|
var exports_subagent = {};
|
|
37
37
|
__export(exports_subagent, {
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
38
|
+
Input: () => Input11,
|
|
39
|
+
Output: () => Output7,
|
|
40
|
+
Plugin: () => Plugin47,
|
|
41
41
|
SubagentTool: () => exports_subagent,
|
|
42
|
-
description: () =>
|
|
43
|
-
name: () =>
|
|
42
|
+
description: () => description5,
|
|
43
|
+
name: () => name11
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
46
46
|
import { Effect, Predicate, Schema } from "effect";
|
|
47
|
-
var
|
|
47
|
+
var name11 = "subagent";
|
|
48
48
|
var backgroundResult = (sessionID) => ({
|
|
49
49
|
sessionID,
|
|
50
50
|
status: "running",
|
|
@@ -55,7 +55,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
55
55
|
].join(`
|
|
56
56
|
`)
|
|
57
57
|
});
|
|
58
|
-
var
|
|
58
|
+
var Input11 = Schema.Struct({
|
|
59
59
|
agent: Schema.String.annotate({
|
|
60
60
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
61
61
|
}),
|
|
@@ -71,12 +71,12 @@ var Input6 = Schema.Struct({
|
|
|
71
71
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
72
72
|
})
|
|
73
73
|
});
|
|
74
|
-
var
|
|
74
|
+
var Output7 = Schema.Struct({
|
|
75
75
|
sessionID: SessionSchema2.ID,
|
|
76
76
|
status: Schema.Literals(["completed", "running"]),
|
|
77
77
|
output: Schema.String
|
|
78
78
|
});
|
|
79
|
-
var
|
|
79
|
+
var description5 = [
|
|
80
80
|
"Spawns an agent in a child session to work on the specified task.",
|
|
81
81
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
82
82
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -85,15 +85,15 @@ var description3 = [
|
|
|
85
85
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
86
86
|
].join(`
|
|
87
87
|
`);
|
|
88
|
-
var
|
|
88
|
+
var Plugin47 = {
|
|
89
89
|
id: "opencode.tool.subagent",
|
|
90
90
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
91
|
-
const sessions = yield*
|
|
92
|
-
const jobs = yield*
|
|
93
|
-
const agents = yield*
|
|
94
|
-
const config = yield*
|
|
95
|
-
const permission = yield*
|
|
96
|
-
const models = yield*
|
|
91
|
+
const sessions = yield* Service16;
|
|
92
|
+
const jobs = yield* Service57;
|
|
93
|
+
const agents = yield* Service68;
|
|
94
|
+
const config = yield* Service70;
|
|
95
|
+
const permission = yield* Service65;
|
|
96
|
+
const models = yield* Service72;
|
|
97
97
|
const subagents = yield* Service12;
|
|
98
98
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
99
99
|
const ref = yield* Effect.try({
|
|
@@ -114,11 +114,11 @@ var Plugin42 = {
|
|
|
114
114
|
return ref;
|
|
115
115
|
});
|
|
116
116
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
117
|
-
name:
|
|
117
|
+
name: name11,
|
|
118
118
|
options: { codemode: false },
|
|
119
|
-
description:
|
|
120
|
-
input:
|
|
121
|
-
output:
|
|
119
|
+
description: description5,
|
|
120
|
+
input: Input11,
|
|
121
|
+
output: Output7,
|
|
122
122
|
execute: (input, context) => Effect.gen(function* () {
|
|
123
123
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
124
124
|
let current = parent;
|
|
@@ -138,7 +138,7 @@ var Plugin42 = {
|
|
|
138
138
|
if (agent.mode === "primary")
|
|
139
139
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
140
140
|
yield* permission.assert({
|
|
141
|
-
action:
|
|
141
|
+
action: name11,
|
|
142
142
|
resources: [agent.id],
|
|
143
143
|
save: [agent.id],
|
|
144
144
|
sessionID: context.sessionID,
|
|
@@ -217,7 +217,7 @@ ${output.output}
|
|
|
217
217
|
})))
|
|
218
218
|
})).pipe(Effect.orDie);
|
|
219
219
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
220
|
-
if (event.tool !==
|
|
220
|
+
if (event.tool !== name11 || !Predicate.isObject(event.input))
|
|
221
221
|
return;
|
|
222
222
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
223
223
|
return;
|
|
@@ -229,13 +229,13 @@ ${output.output}
|
|
|
229
229
|
event.input = input;
|
|
230
230
|
}));
|
|
231
231
|
const hook = (event) => Effect.gen(function* () {
|
|
232
|
-
const tool = event.tools[
|
|
232
|
+
const tool = event.tools[name11];
|
|
233
233
|
if (!tool)
|
|
234
234
|
return;
|
|
235
235
|
const selected = yield* agents.resolve(event.agent);
|
|
236
236
|
if (!selected)
|
|
237
237
|
return;
|
|
238
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
238
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name11, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
239
239
|
if (available.length === 0)
|
|
240
240
|
return;
|
|
241
241
|
tool.description = [
|
|
@@ -252,4 +252,4 @@ ${output.output}
|
|
|
252
252
|
})
|
|
253
253
|
};
|
|
254
254
|
|
|
255
|
-
export {
|
|
255
|
+
export { name11, Input11, Output7, description5, Plugin47, exports_subagent };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-55gbafn6.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-1kn6jdkn.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service20,
|
|
19
|
+
node: () => node23
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service20 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
28
|
const location = yield* Service82;
|
|
29
|
-
return
|
|
29
|
+
return Service20.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
31
|
make21({
|
|
32
32
|
key: Key3.make("core/date"),
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node23 = makeLocationNode({ service: Service20, layer, deps: [Global.node, node86] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service20, node23, exports_builtins };
|