@opencode/core 0.0.0-dev-20040 → 0.0.0-dev-20042
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{location-activity-8wx2ggwz.js → persistent-pty-02e6q2g2.js} +57 -57
- package/dist/chunks/{location-activity-zs63jsch.js → persistent-pty-0735k9hj.js} +16 -16
- package/dist/chunks/{location-activity-rjnk40k0.js → persistent-pty-07yja43e.js} +15 -15
- package/dist/chunks/{location-activity-4cnppghp.js → persistent-pty-0bx2se0g.js} +11 -11
- package/dist/chunks/{location-activity-fcrkznn8.js → persistent-pty-0jwsre1p.js} +5 -5
- package/dist/chunks/{location-activity-y67btz6y.js → persistent-pty-0p8fja5q.js} +44 -44
- package/dist/chunks/{location-activity-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-activity-k8htk317.js → persistent-pty-0qd1hc9n.js} +5 -5
- package/dist/chunks/{location-activity-f7vbsmz3.js → persistent-pty-0w62qmxp.js} +8 -8
- package/dist/chunks/{location-activity-w9b3ew9f.js → persistent-pty-0xp9wjxv.js} +26 -26
- package/dist/chunks/{location-activity-35agz59w.js → persistent-pty-15zevn5w.js} +6 -6
- package/dist/chunks/{location-activity-nx97ad9f.js → persistent-pty-1636sbse.js} +24 -24
- package/dist/chunks/{location-activity-ycc3exec.js → persistent-pty-17ggxybq.js} +35 -35
- package/dist/chunks/{location-activity-4230str2.js → persistent-pty-1a1mrdgb.js} +25 -25
- package/dist/chunks/{location-activity-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-activity-k0ghhshk.js → persistent-pty-1q803bdb.js} +6 -6
- package/dist/chunks/{location-activity-98mpfdcc.js → persistent-pty-1qvkgnpd.js} +24 -24
- package/dist/chunks/{location-activity-zz3jq8bj.js → persistent-pty-1stbn8g0.js} +7 -7
- package/dist/chunks/{location-activity-33w4ejhs.js → persistent-pty-1ygqh575.js} +6 -6
- package/dist/chunks/{location-activity-1pfr489z.js → persistent-pty-1z9ngvxm.js} +12 -12
- package/dist/chunks/{location-activity-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{location-activity-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
- package/dist/chunks/{location-activity-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-activity-qby9dwvd.js → persistent-pty-2eegacq4.js} +8 -8
- package/dist/chunks/{location-activity-j97cmbc7.js → persistent-pty-2g96k7vx.js} +1 -1
- package/dist/chunks/{location-activity-9eh6sf6d.js → persistent-pty-2vgzs72b.js} +5 -5
- package/dist/chunks/{location-activity-2t0rn8nh.js → persistent-pty-2wyfts5g.js} +24 -24
- package/dist/chunks/{location-activity-g16x7bb3.js → persistent-pty-2x1xwv6h.js} +17 -17
- package/dist/chunks/{location-activity-4rqhqvft.js → persistent-pty-31k44zkb.js} +11 -11
- package/dist/chunks/{location-activity-xc4478q7.js → persistent-pty-39q291vc.js} +32 -32
- package/dist/chunks/{location-activity-4gfv9z2y.js → persistent-pty-3dav9012.js} +6 -6
- package/dist/chunks/{location-activity-m5r6ggzy.js → persistent-pty-3f3jqxta.js} +13 -13
- package/dist/chunks/{location-activity-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-activity-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-activity-834a0b17.js → persistent-pty-3ktbe3hf.js} +9 -9
- package/dist/chunks/{location-activity-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-activity-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-activity-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-activity-knb7evpn.js → persistent-pty-44ke2mar.js} +2 -2
- package/dist/chunks/{location-activity-543ww53a.js → persistent-pty-4685a8f7.js} +18 -18
- package/dist/chunks/{location-activity-rysvp39z.js → persistent-pty-4d3yg0sd.js} +3 -3
- package/dist/chunks/{location-activity-6qvk4nmc.js → persistent-pty-4d5pscc0.js} +6 -6
- package/dist/chunks/{location-activity-615m6gz1.js → persistent-pty-4k8me329.js} +14 -14
- package/dist/chunks/{location-activity-eea4kyvf.js → persistent-pty-4pfpv52f.js} +5 -5
- package/dist/chunks/{location-activity-atw64qz3.js → persistent-pty-4t9wz2vk.js} +10 -10
- package/dist/chunks/persistent-pty-4v7qdvcn.js +18 -0
- package/dist/chunks/{location-activity-ev34xyh9.js → persistent-pty-4ws8fjcn.js} +45 -45
- package/dist/chunks/{location-activity-18s9r5gn.js → persistent-pty-53fyba40.js} +4 -4
- package/dist/chunks/{location-activity-zwsg1sj6.js → persistent-pty-544cyea4.js} +26 -26
- package/dist/chunks/{location-activity-sj2a84n4.js → persistent-pty-55cx5064.js} +9 -9
- package/dist/chunks/{location-activity-21t5c11y.js → persistent-pty-56scbdfa.js} +26 -22
- package/dist/chunks/{location-activity-0ke265bw.js → persistent-pty-57ez7d0k.js} +5 -5
- package/dist/chunks/{location-activity-f1w9krrt.js → persistent-pty-58fpexbr.js} +7 -7
- package/dist/chunks/{location-activity-yjxstg5v.js → persistent-pty-5brb0pbm.js} +177 -177
- package/dist/chunks/{location-activity-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{location-activity-5ekn9679.js → persistent-pty-5ekn9679.js} +1 -1
- package/dist/chunks/{location-activity-hzd2kh5p.js → persistent-pty-5pt64gxx.js} +24 -24
- package/dist/chunks/{location-activity-e3qxr5gk.js → persistent-pty-5qd3pb7m.js} +2 -2
- package/dist/chunks/{location-activity-p57dvf2n.js → persistent-pty-5qkxfyep.js} +6 -6
- package/dist/chunks/{location-activity-db9xwh8k.js → persistent-pty-5qxx2m82.js} +3 -3
- package/dist/chunks/{location-activity-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-activity-m7mqfst7.js → persistent-pty-5zr303av.js} +12 -12
- package/dist/chunks/{location-activity-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{location-activity-c0m6b5gc.js → persistent-pty-66t0h02t.js} +16 -16
- package/dist/chunks/{location-activity-4qyk6q1w.js → persistent-pty-679wzm8a.js} +31 -31
- package/dist/chunks/{location-activity-493zbn00.js → persistent-pty-6am04jn1.js} +44 -44
- package/dist/chunks/{location-activity-q3y0zzya.js → persistent-pty-6d0k74d0.js} +10 -10
- package/dist/chunks/{location-activity-z1ejvfb6.js → persistent-pty-6hc4pxhc.js} +3 -3
- package/dist/chunks/{location-activity-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-activity-q3rms5qe.js → persistent-pty-6qv05xq0.js} +32 -32
- package/dist/chunks/{location-activity-b506axvz.js → persistent-pty-6xypr7jz.js} +10 -10
- package/dist/chunks/{location-activity-m8cr24be.js → persistent-pty-6y4kmedr.js} +84 -84
- package/dist/chunks/{location-activity-znzhbqc9.js → persistent-pty-6ydfbg1r.js} +20 -20
- package/dist/chunks/{location-activity-bz3rqwbw.js → persistent-pty-73hrd7m9.js} +6 -6
- package/dist/chunks/{location-activity-yhbwansw.js → persistent-pty-768gsh1v.js} +8 -8
- package/dist/chunks/{location-activity-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-activity-2dmagjrf.js → persistent-pty-7gryrk58.js} +23 -23
- package/dist/chunks/{location-activity-z3gabhqc.js → persistent-pty-7k1gvst3.js} +4 -4
- package/dist/chunks/{location-activity-ngqyks8r.js → persistent-pty-7k434ymz.js} +12 -12
- package/dist/chunks/{location-activity-8spfb2yq.js → persistent-pty-7vbsp9bb.js} +11 -11
- package/dist/chunks/{location-activity-fmrhw7fr.js → persistent-pty-7vtw3tkk.js} +2 -2
- package/dist/chunks/{location-activity-hqkys46v.js → persistent-pty-7xzxry9y.js} +3 -3
- package/dist/chunks/{location-activity-179189h4.js → persistent-pty-7z7az0f5.js} +4 -4
- package/dist/chunks/{location-activity-mvp8b34f.js → persistent-pty-86dkkjnf.js} +15 -15
- package/dist/chunks/{location-activity-tcezcvh9.js → persistent-pty-89znhe33.js} +4 -4
- package/dist/chunks/{location-activity-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-activity-0j679ben.js → persistent-pty-8dzzav18.js} +4 -4
- package/dist/chunks/{location-activity-ewfmd3bq.js → persistent-pty-8eh4zvff.js} +20 -20
- package/dist/chunks/{location-activity-8mq0chcy.js → persistent-pty-8pw1b0j6.js} +11 -11
- package/dist/chunks/{location-activity-b3whdk3k.js → persistent-pty-8qc9bzp8.js} +22 -22
- package/dist/chunks/{location-activity-0t9wd588.js → persistent-pty-8wsye86r.js} +8 -8
- package/dist/chunks/{location-activity-6v8y8vbs.js → persistent-pty-8xvk34tp.js} +10 -10
- package/dist/chunks/{location-activity-b7xsxr4n.js → persistent-pty-90rjpb8w.js} +15 -15
- package/dist/chunks/{location-activity-jrz4qx78.js → persistent-pty-90w267cj.js} +20 -20
- package/dist/chunks/{location-activity-94ek1h2f.js → persistent-pty-94ek1h2f.js} +2 -2
- package/dist/chunks/{location-activity-b3px220g.js → persistent-pty-9cn3db03.js} +32 -32
- package/dist/chunks/{location-activity-9dgd24xm.js → persistent-pty-9v19sw1s.js} +43 -43
- package/dist/chunks/{location-activity-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{location-activity-3hdyanjz.js → persistent-pty-ajvrh1yc.js} +4 -4
- package/dist/chunks/{location-activity-a6hfmrft.js → persistent-pty-apek9f9a.js} +26 -26
- package/dist/chunks/{location-activity-kptkb6ms.js → persistent-pty-ayw4b9ht.js} +11 -11
- package/dist/chunks/{location-activity-gjr1xpp3.js → persistent-pty-b0mhge8s.js} +1 -1
- package/dist/chunks/{location-activity-vejw0ste.js → persistent-pty-b5s03rd7.js} +3 -3
- package/dist/chunks/{location-activity-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-activity-hr4prybc.js → persistent-pty-b8kh8k48.js} +30 -30
- package/dist/chunks/{location-activity-emkcdvnd.js → persistent-pty-bhd4rr5x.js} +11 -11
- package/dist/chunks/{location-activity-e51gfbmq.js → persistent-pty-bm48e2a0.js} +6 -6
- package/dist/chunks/{location-activity-4kzk2qdr.js → persistent-pty-bpjsyh0e.js} +20 -20
- package/dist/chunks/{location-activity-yhj4pxny.js → persistent-pty-bqvjxhzq.js} +6 -6
- package/dist/chunks/{location-activity-f5rzxhen.js → persistent-pty-bsd2nd03.js} +18 -18
- package/dist/chunks/{location-activity-vjgkn69w.js → persistent-pty-bwvhsys1.js} +11 -11
- package/dist/chunks/{location-activity-v62btqwb.js → persistent-pty-bx1t6bcv.js} +11 -11
- package/dist/chunks/{location-activity-z3pw5915.js → persistent-pty-c78bbtc9.js} +5 -5
- package/dist/chunks/{location-activity-kk00bynn.js → persistent-pty-cavr175a.js} +21 -21
- package/dist/chunks/{location-activity-pbt2wvc2.js → persistent-pty-cgkdtpn3.js} +91 -91
- package/dist/chunks/{location-activity-svbv6gmn.js → persistent-pty-chwd528f.js} +5 -5
- package/dist/chunks/{location-activity-1cdj6zap.js → persistent-pty-cj484d79.js} +10 -10
- package/dist/chunks/{location-activity-ckecvw8r.js → persistent-pty-ckecvw8r.js} +2 -2
- package/dist/chunks/{location-activity-5xtgfte3.js → persistent-pty-cmwkp3r5.js} +8 -8
- package/dist/chunks/{location-activity-h6r3nrb9.js → persistent-pty-cpj0znwe.js} +4 -4
- package/dist/chunks/{location-activity-mtft99cd.js → persistent-pty-cr07tj7n.js} +5 -5
- package/dist/chunks/{location-activity-fs03v6a5.js → persistent-pty-crhd7pgs.js} +32 -32
- package/dist/chunks/{location-activity-cwa6csj7.js → persistent-pty-cwa6csj7.js} +2 -2
- package/dist/chunks/{location-activity-5xym3mwn.js → persistent-pty-cwykn6m4.js} +8 -8
- package/dist/chunks/{location-activity-8q9aqt0m.js → persistent-pty-d1fh6jb3.js} +30 -30
- package/dist/chunks/{location-activity-y97tby9y.js → persistent-pty-d5fc3ham.js} +24 -24
- package/dist/chunks/{location-activity-3zk2k76a.js → persistent-pty-d6d69879.js} +14 -14
- package/dist/chunks/{location-activity-wk5z6jzv.js → persistent-pty-depwzj9d.js} +9 -9
- package/dist/chunks/{location-activity-p88bkwqe.js → persistent-pty-dfnn5kbd.js} +6 -6
- package/dist/chunks/{location-activity-64m0avh9.js → persistent-pty-dwj2yfa0.js} +33 -33
- package/dist/chunks/{location-activity-88d8aeh9.js → persistent-pty-e8nxqz0t.js} +12 -12
- package/dist/chunks/{location-activity-rhjbct0v.js → persistent-pty-eaj1djv9.js} +8 -8
- package/dist/chunks/{location-activity-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-activity-1a7h7hg6.js → persistent-pty-enrp2nyv.js} +29 -29
- package/dist/chunks/{location-activity-mhkvc446.js → persistent-pty-eq1pz5kg.js} +3 -3
- package/dist/chunks/{location-activity-hdqhacf5.js → persistent-pty-eqtj21ma.js} +13 -13
- package/dist/chunks/{location-activity-erw5rpbs.js → persistent-pty-erw5rpbs.js} +2 -2
- package/dist/chunks/{location-activity-10v2dx42.js → persistent-pty-et5dj639.js} +28 -28
- package/dist/chunks/{location-activity-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-activity-gmqzj66m.js → persistent-pty-ey7c8yx5.js} +5 -5
- package/dist/chunks/{location-activity-fjbdgyv0.js → persistent-pty-f43wcbcr.js} +15 -15
- package/dist/chunks/{location-activity-0es2tfcw.js → persistent-pty-f8h9tg4t.js} +4 -4
- package/dist/chunks/{location-activity-jjq37edr.js → persistent-pty-fcj2ezqc.js} +21 -21
- package/dist/chunks/{location-activity-4y53dyn7.js → persistent-pty-fm4gasdc.js} +32 -32
- package/dist/chunks/{location-activity-h7v2zywf.js → persistent-pty-fqeda9mf.js} +24 -24
- package/dist/chunks/{location-activity-mrmfm4jn.js → persistent-pty-g58xhhsy.js} +59 -59
- package/dist/chunks/{location-activity-ecnjayst.js → persistent-pty-g5r6kmbd.js} +32 -32
- package/dist/chunks/{location-activity-fm2qvscf.js → persistent-pty-g8d3gcyj.js} +7 -7
- package/dist/chunks/{location-activity-vyrd71eq.js → persistent-pty-g8jasmdt.js} +11 -11
- package/dist/chunks/{location-activity-2chqx9tr.js → persistent-pty-g95rc6bm.js} +5 -5
- package/dist/chunks/{location-activity-bz5cs7hb.js → persistent-pty-gapsx7my.js} +22 -22
- package/dist/chunks/{location-activity-ccvbdpnn.js → persistent-pty-gcftrmma.js} +48 -48
- package/dist/chunks/{location-activity-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-activity-qeknf5da.js → persistent-pty-gd9e8kac.js} +13 -13
- package/dist/chunks/{location-activity-qte5z7bc.js → persistent-pty-gg7pg1rj.js} +5 -5
- package/dist/chunks/{location-activity-ckr90mrx.js → persistent-pty-ggfg2vv6.js} +7 -7
- package/dist/chunks/{location-activity-fatpadhw.js → persistent-pty-gj0qw44p.js} +17 -17
- package/dist/chunks/{location-activity-4y72ap3v.js → persistent-pty-gmjq4p6e.js} +12 -12
- package/dist/chunks/{location-activity-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-activity-wb3pxeca.js → persistent-pty-gw2tvx6f.js} +11 -11
- package/dist/chunks/{location-activity-behw3bfa.js → persistent-pty-gw4e1bwq.js} +36 -36
- package/dist/chunks/{location-activity-p4482zcq.js → persistent-pty-gx8rf7xa.js} +11 -11
- package/dist/chunks/{location-activity-7gzctjdj.js → persistent-pty-h5crna56.js} +26 -26
- package/dist/chunks/{location-activity-8g42ar4x.js → persistent-pty-h663anem.js} +14 -14
- package/dist/chunks/{location-activity-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/persistent-pty-ha2kee0e.js +503 -0
- package/dist/chunks/{location-activity-4a6jpjer.js → persistent-pty-hbyhqfhs.js} +5 -5
- package/dist/chunks/{location-activity-4pm2eye7.js → persistent-pty-hg9qxph4.js} +11 -11
- package/dist/chunks/{location-activity-zybvm9at.js → persistent-pty-hj5k1nvz.js} +53 -53
- package/dist/chunks/{location-activity-fqgb9929.js → persistent-pty-hkx3gg44.js} +23 -23
- package/dist/chunks/{location-activity-fax74jbg.js → persistent-pty-hm529q5d.js} +26 -26
- package/dist/chunks/{location-activity-n12hd8kc.js → persistent-pty-hmn5tmn4.js} +12 -12
- package/dist/chunks/{location-activity-9r15s34d.js → persistent-pty-hq8zt1th.js} +6 -6
- package/dist/chunks/{location-activity-whxkn9za.js → persistent-pty-hrd0j5f2.js} +9 -9
- package/dist/chunks/{location-activity-3z846x89.js → persistent-pty-hxj44d9p.js} +19 -19
- package/dist/chunks/{location-activity-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{location-activity-6daacke9.js → persistent-pty-j64w6b8p.js} +37 -37
- package/dist/chunks/{location-activity-dwf44vgg.js → persistent-pty-j7kjea59.js} +11 -11
- package/dist/chunks/{location-activity-7w3erdpc.js → persistent-pty-j8s0raxh.js} +16 -16
- package/dist/chunks/{location-activity-g2yz86wh.js → persistent-pty-jca4demv.js} +2 -2
- package/dist/chunks/{location-activity-836zhf6d.js → persistent-pty-jegrsze7.js} +46 -46
- package/dist/chunks/{location-activity-tp7kn0et.js → persistent-pty-jgnkgs1r.js} +23 -23
- package/dist/chunks/{location-activity-g3nmkaqw.js → persistent-pty-k1sg37e2.js} +4 -4
- package/dist/chunks/{location-activity-nzks3jc8.js → persistent-pty-k3c624dm.js} +3 -3
- package/dist/chunks/{location-activity-fcq6s37t.js → persistent-pty-k589v2yc.js} +18 -18
- package/dist/chunks/{location-activity-2q4nfkpe.js → persistent-pty-kh3ehkc0.js} +4 -4
- package/dist/chunks/{location-activity-8cw10g1v.js → persistent-pty-kk3qww5s.js} +25 -25
- package/dist/chunks/{location-activity-9kgxvbx6.js → persistent-pty-kqjd1yhv.js} +24 -24
- package/dist/chunks/persistent-pty-kx0ks824.js +26 -0
- package/dist/chunks/{location-activity-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-activity-c053cp3c.js → persistent-pty-m6bhc56w.js} +9 -9
- package/dist/chunks/{location-activity-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-activity-zknqefwg.js → persistent-pty-mkhen09b.js} +4 -4
- package/dist/chunks/{location-activity-7nyb19rs.js → persistent-pty-mncdga5g.js} +3 -3
- package/dist/chunks/{location-activity-fbn87bkw.js → persistent-pty-mw5r620c.js} +24 -24
- package/dist/chunks/{location-activity-53n6qt1p.js → persistent-pty-mwpvdsq8.js} +20 -20
- package/dist/chunks/{location-activity-24p15wdw.js → persistent-pty-n0knvxp1.js} +15 -15
- package/dist/chunks/{location-activity-5e61802n.js → persistent-pty-n6881739.js} +37 -37
- package/dist/chunks/{location-activity-gr18qpj6.js → persistent-pty-n9z7mj6d.js} +27 -27
- package/dist/chunks/{location-activity-ka24zez0.js → persistent-pty-ndmt31ja.js} +10 -10
- package/dist/chunks/{location-activity-zftsjsr0.js → persistent-pty-neppcg31.js} +25 -25
- package/dist/chunks/{location-activity-2f36c7m0.js → persistent-pty-nmjdsd9n.js} +17 -17
- package/dist/chunks/{location-activity-b8nppxcr.js → persistent-pty-p5ntwjzn.js} +11 -11
- package/dist/chunks/{location-activity-236f1e7r.js → persistent-pty-pgnaq8k5.js} +38 -38
- package/dist/chunks/{location-activity-c70bb0pa.js → persistent-pty-pgxezfdk.js} +5 -5
- package/dist/chunks/{location-activity-76ymgwed.js → persistent-pty-ph20cxtq.js} +9 -9
- package/dist/chunks/{location-activity-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-activity-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{location-activity-jkwzgkr9.js → persistent-pty-prpvt0tr.js} +13 -13
- package/dist/chunks/{location-activity-smw2y8vg.js → persistent-pty-pz5z3jcr.js} +31 -31
- package/dist/chunks/{location-activity-wzyd5y3m.js → persistent-pty-pzgzmqw9.js} +15 -15
- package/dist/chunks/{location-activity-x2089t7a.js → persistent-pty-pzwa7kng.js} +12 -12
- package/dist/chunks/{location-activity-xkhfjrgz.js → persistent-pty-q3t37ft6.js} +3 -3
- package/dist/chunks/{location-activity-5s7bfqn7.js → persistent-pty-q7r8ektg.js} +9 -9
- package/dist/chunks/persistent-pty-qapv375x.js +4 -0
- package/dist/chunks/{location-activity-qg0jgkcp.js → persistent-pty-qg0jgkcp.js} +2 -2
- package/dist/chunks/{location-activity-1956heqa.js → persistent-pty-qp3v07n2.js} +5 -5
- package/dist/chunks/{location-activity-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{location-activity-dagkn99r.js → persistent-pty-r3c4069c.js} +1 -1
- package/dist/chunks/{location-activity-2731mek4.js → persistent-pty-r4v8qatr.js} +8 -8
- package/dist/chunks/{location-activity-hqn4xgxr.js → persistent-pty-r677t44f.js} +33 -33
- package/dist/chunks/{location-activity-r8xr0va3.js → persistent-pty-r8xr0va3.js} +1 -1
- package/dist/chunks/{location-activity-w5rfyqxq.js → persistent-pty-rbd4k96t.js} +12 -12
- package/dist/chunks/{location-activity-d24dxd8m.js → persistent-pty-rcbfacwh.js} +3 -3
- package/dist/chunks/{location-activity-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-activity-e0gazxnh.js → persistent-pty-re89hen7.js} +3 -3
- package/dist/chunks/persistent-pty-rh3p3f6n.js +252 -0
- package/dist/chunks/{location-activity-e3sczd6z.js → persistent-pty-rqqq06ty.js} +34 -34
- package/dist/chunks/{location-activity-c28zwy7s.js → persistent-pty-rvrv9k52.js} +30 -30
- package/dist/chunks/{location-activity-m38x0mzz.js → persistent-pty-s1x2d4kw.js} +17 -17
- package/dist/chunks/{location-activity-wsbrqcns.js → persistent-pty-s43hhkdm.js} +29 -29
- package/dist/chunks/{location-activity-cqpk6xxc.js → persistent-pty-s4ahaey6.js} +7 -7
- package/dist/chunks/{location-activity-z4ygwn82.js → persistent-pty-sds13m34.js} +13 -13
- package/dist/chunks/{location-activity-4qc8dj0j.js → persistent-pty-sg4wm2jf.js} +43 -43
- package/dist/chunks/{location-activity-70drtr9c.js → persistent-pty-sg81b8ak.js} +9 -9
- package/dist/chunks/{location-activity-71js08rb.js → persistent-pty-ss4mfvwp.js} +5 -5
- package/dist/chunks/{location-activity-3emrmdpg.js → persistent-pty-t4cdje0c.js} +4 -4
- package/dist/chunks/{location-activity-2aah0fvx.js → persistent-pty-t7gzm03g.js} +18 -18
- package/dist/chunks/{location-activity-wcr2hm3t.js → persistent-pty-t898jj0x.js} +19 -19
- package/dist/chunks/{location-activity-7atngb88.js → persistent-pty-t9zs3egg.js} +4 -4
- package/dist/chunks/{location-activity-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-activity-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{location-activity-kzc3h1h3.js → persistent-pty-tjedn1bk.js} +4 -4
- package/dist/chunks/{location-activity-mk16tyfn.js → persistent-pty-tn3aw0th.js} +16 -16
- package/dist/chunks/{location-activity-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{location-activity-jp0nqjf8.js → persistent-pty-tw6qbae6.js} +22 -22
- package/dist/chunks/{location-activity-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{location-activity-vtxr0yy2.js → persistent-pty-vtxr0yy2.js} +2 -2
- package/dist/chunks/{location-activity-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-activity-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-activity-yf10kn3d.js → persistent-pty-w4scjadp.js} +8 -8
- package/dist/chunks/{location-activity-wd3x2cqz.js → persistent-pty-wd3x2cqz.js} +2 -2
- package/dist/chunks/{location-activity-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{location-activity-afvc2aky.js → persistent-pty-wmdbx2q5.js} +22 -22
- package/dist/chunks/{location-activity-mvksx64m.js → persistent-pty-wq4mmp7m.js} +4 -4
- package/dist/chunks/{location-activity-brv2v0r4.js → persistent-pty-wqb2bwtv.js} +5 -5
- package/dist/chunks/{location-activity-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-activity-drpjnptc.js → persistent-pty-x3yd748b.js} +26 -26
- package/dist/chunks/{location-activity-yxk4vk0s.js → persistent-pty-xcwzx241.js} +8 -8
- package/dist/chunks/{location-activity-gn52kpv9.js → persistent-pty-xe08wmx0.js} +22 -22
- package/dist/chunks/{location-activity-drwq78ky.js → persistent-pty-xfkkasph.js} +4 -4
- package/dist/chunks/{location-activity-x823bvzs.js → persistent-pty-xj2bvnk1.js} +22 -22
- package/dist/chunks/{location-activity-582sg9fj.js → persistent-pty-xq7gw347.js} +46 -46
- package/dist/chunks/{location-activity-wstqg5we.js → persistent-pty-xr54qchj.js} +8 -8
- package/dist/chunks/{location-activity-akrp5h4r.js → persistent-pty-xw1ps8cb.js} +15 -15
- package/dist/chunks/{location-activity-c7aysx03.js → persistent-pty-y170be0p.js} +9 -9
- package/dist/chunks/{location-activity-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-activity-13av61qt.js → persistent-pty-y56hh3ws.js} +11 -11
- package/dist/chunks/{location-activity-y71avatq.js → persistent-pty-y71avatq.js} +1 -1
- package/dist/chunks/{location-activity-bkea2amk.js → persistent-pty-yfj0yy3f.js} +5 -5
- package/dist/chunks/{location-activity-z3n139g0.js → persistent-pty-yhnkyc0a.js} +26 -26
- package/dist/chunks/{location-activity-1y2fmgax.js → persistent-pty-yjpe6epv.js} +6 -6
- package/dist/chunks/{location-activity-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-activity-dk7v1p9q.js → persistent-pty-yrvhhsj7.js} +12 -12
- package/dist/chunks/{location-activity-s4enseaf.js → persistent-pty-yrznvahk.js} +2 -2
- package/dist/chunks/{location-activity-bq1sg432.js → persistent-pty-yxpsvedr.js} +15 -15
- package/dist/chunks/{location-activity-z07pqspn.js → persistent-pty-z07pqspn.js} +3 -3
- package/dist/chunks/{location-activity-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-activity-29x78va6.js → persistent-pty-z63w68vq.js} +6 -6
- package/dist/chunks/{location-activity-q5asdkn4.js → persistent-pty-zav06jzw.js} +4 -4
- package/dist/chunks/{location-activity-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-activity-s7vga7rn.js → persistent-pty-zhth6nwz.js} +10 -10
- package/dist/chunks/{location-activity-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-activity-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-activity-n5yedvcc.js → persistent-pty-zz56sx2x.js} +13 -13
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +121 -121
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +122 -122
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +120 -120
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -94
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +74 -74
- 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 +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +87 -87
- 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 +123 -123
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/location-activity-0mesazry.js +0 -4
- package/dist/chunks/location-activity-pf31ssb9.js +0 -18
- package/dist/chunks/location-activity-qshf7d4c.js +0 -26
- package/dist/chunks/location-activity-t6wa9c33.js +0 -252
- package/dist/chunks/location-activity-xayf782d.js +0 -503
- /package/dist/chunks/{location-activity-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-activity-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-activity-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-activity-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-activity-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-activity-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-activity-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-activity-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-activity-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-activity-34c7v6d4.js → persistent-pty-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-activity-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-activity-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{location-activity-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-activity-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-activity-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-activity-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-activity-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-activity-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-activity-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-activity-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{location-activity-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-activity-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{location-activity-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-activity-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-activity-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{location-activity-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-activity-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-activity-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-activity-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{location-activity-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-activity-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-activity-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-activity-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-activity-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-activity-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-activity-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-activity-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-activity-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-activity-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-activity-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-activity-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-activity-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-activity-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-activity-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-activity-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{location-activity-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-activity-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-activity-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-activity-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-activity-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-activity-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-activity-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-activity-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-activity-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-activity-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-activity-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-activity-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-activity-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{location-activity-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-activity-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{location-activity-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-activity-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{location-activity-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-activity-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-activity-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-activity-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-activity-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-activity-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-activity-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-activity-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-activity-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-activity-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-activity-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-activity-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-activity-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-activity-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-activity-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-activity-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-activity-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-activity-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-activity-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-activity-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-activity-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-activity-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-activity-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-activity-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-activity-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-activity-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-activity-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-activity-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{location-activity-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-activity-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-activity-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-activity-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-activity-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-activity-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID8,
|
|
3
|
+
Service61,
|
|
4
|
+
node64
|
|
5
|
+
} from "./persistent-pty-s43hhkdm.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID7,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -12,23 +12,23 @@ import {
|
|
|
12
12
|
modelSettings2,
|
|
13
13
|
mergeOverlay2,
|
|
14
14
|
mergeHeaders2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service60,
|
|
16
|
+
node63
|
|
17
|
+
} from "./persistent-pty-fm4gasdc.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service54,
|
|
20
|
+
node57
|
|
21
|
+
} from "./persistent-pty-8pw1b0j6.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID6,
|
|
24
24
|
VariantID2,
|
|
25
25
|
Ref2,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service59,
|
|
27
|
+
node62
|
|
28
|
+
} from "./persistent-pty-b8kh8k48.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/model-resolver.ts
|
|
34
34
|
var exports_model_resolver = {};
|
|
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
|
|
|
37
37
|
ModelConfigurationError: () => ModelConfigurationError3,
|
|
38
38
|
ModelInitializationError: () => ModelInitializationError3,
|
|
39
39
|
ModelResolver: () => exports_model_resolver,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service53,
|
|
41
41
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
42
42
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
43
43
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
44
44
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
45
45
|
fromCatalogModel: () => fromCatalogModel2,
|
|
46
46
|
hasPackage: () => hasPackage2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer21,
|
|
48
|
+
node: () => node56,
|
|
49
49
|
resolveModel: () => resolveModel2,
|
|
50
50
|
withVariant: () => withVariant2
|
|
51
51
|
});
|
|
@@ -55,8 +55,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
55
55
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
56
56
|
import { Npm } from "@opencode/util/npm";
|
|
57
57
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
58
|
-
providerID:
|
|
59
|
-
modelID:
|
|
58
|
+
providerID: ID7,
|
|
59
|
+
modelID: ID6,
|
|
60
60
|
variant: VariantID2
|
|
61
61
|
}) {
|
|
62
62
|
get message() {
|
|
@@ -65,8 +65,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
68
|
-
providerID:
|
|
69
|
-
modelID:
|
|
68
|
+
providerID: ID7,
|
|
69
|
+
modelID: ID6,
|
|
70
70
|
package: Schema.String
|
|
71
71
|
}) {
|
|
72
72
|
get message() {
|
|
@@ -76,8 +76,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
76
76
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
77
77
|
|
|
78
78
|
class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
79
|
-
providerID:
|
|
80
|
-
modelID:
|
|
79
|
+
providerID: ID7,
|
|
80
|
+
modelID: ID6,
|
|
81
81
|
package: Schema.String,
|
|
82
82
|
detail: Schema.String
|
|
83
83
|
}) {
|
|
@@ -87,8 +87,8 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
90
|
-
providerID:
|
|
91
|
-
modelID:
|
|
90
|
+
providerID: ID7,
|
|
91
|
+
modelID: ID6,
|
|
92
92
|
package: Schema.String,
|
|
93
93
|
phase: InitializationPhase2,
|
|
94
94
|
detail: Schema.String
|
|
@@ -99,8 +99,8 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
102
|
-
providerID:
|
|
103
|
-
modelID:
|
|
102
|
+
providerID: ID7,
|
|
103
|
+
modelID: ID6,
|
|
104
104
|
variables: Schema.Array(Schema.String)
|
|
105
105
|
}) {
|
|
106
106
|
get message() {
|
|
@@ -109,8 +109,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
112
|
-
providerID:
|
|
113
|
-
modelID:
|
|
112
|
+
providerID: ID7,
|
|
113
|
+
modelID: ID6,
|
|
114
114
|
route: Schema.String
|
|
115
115
|
}) {
|
|
116
116
|
get message() {
|
|
@@ -118,7 +118,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
class
|
|
121
|
+
class Service53 extends Context.Service()("@opencode/ModelResolver") {
|
|
122
122
|
}
|
|
123
123
|
var withVariant2 = (model, variantID) => {
|
|
124
124
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -258,15 +258,15 @@ var causeMessage = (cause) => {
|
|
|
258
258
|
};
|
|
259
259
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
260
260
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
261
|
-
var
|
|
262
|
-
const providers = yield*
|
|
263
|
-
const models = yield*
|
|
264
|
-
const integrations = yield*
|
|
261
|
+
var layer21 = Layer.effect(Service53, Effect.gen(function* () {
|
|
262
|
+
const providers = yield* Service60;
|
|
263
|
+
const models = yield* Service59;
|
|
264
|
+
const integrations = yield* Service61;
|
|
265
265
|
const npm = yield* Npm.Service;
|
|
266
|
-
const aisdk = yield*
|
|
266
|
+
const aisdk = yield* Service54;
|
|
267
267
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
268
268
|
const provider = yield* providers.get(selected.providerID);
|
|
269
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
269
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID8.make(selected.providerID));
|
|
270
270
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
271
271
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
272
272
|
const runtimeInfo = {
|
|
@@ -292,7 +292,7 @@ var layer22 = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
292
292
|
transport: provider?.settings?.transport
|
|
293
293
|
};
|
|
294
294
|
});
|
|
295
|
-
return
|
|
295
|
+
return Service53.of({
|
|
296
296
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
297
297
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
|
|
298
298
|
if (!selected)
|
|
@@ -309,10 +309,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
309
309
|
const name = packageName2(packageName);
|
|
310
310
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
311
311
|
}
|
|
312
|
-
var
|
|
313
|
-
service:
|
|
314
|
-
layer:
|
|
315
|
-
deps: [
|
|
312
|
+
var node56 = makeLocationNode({
|
|
313
|
+
service: Service53,
|
|
314
|
+
layer: layer21,
|
|
315
|
+
deps: [node63, node62, node64, Npm.node, node57]
|
|
316
316
|
});
|
|
317
317
|
|
|
318
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
318
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service53, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node56, exports_model_resolver };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./persistent-pty-fm4gasdc.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID7.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID7.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error5,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make20,
|
|
14
|
+
node: () => node73,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make20 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node73 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node73, exports_driver };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-cpj0znwe.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-7k1gvst3.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event15
|
|
10
|
+
} from "./persistent-pty-d1fh6jb3.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-s43hhkdm.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID7,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service60
|
|
20
|
+
} from "./persistent-pty-fm4gasdc.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID6
|
|
23
|
+
} from "./persistent-pty-b8kh8k48.js";
|
|
24
24
|
import {
|
|
25
25
|
load2,
|
|
26
26
|
derive2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./persistent-pty-bwvhsys1.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./persistent-pty-bx1t6bcv.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID8.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -157,7 +157,7 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
160
|
+
const providers = yield* Service60;
|
|
161
161
|
const bus = yield* Service83;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
@@ -173,7 +173,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID7.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
178
|
try: () => load2(url, {
|
|
179
179
|
...provider?.headers,
|
|
@@ -194,7 +194,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID7.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID7.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID7.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
7
7
|
__export(exports_lsp, {
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
|
-
Entry: () =>
|
|
11
|
-
Info: () =>
|
|
10
|
+
Entry: () => Entry2,
|
|
11
|
+
Info: () => Info7,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
14
14
|
});
|
|
@@ -16,7 +16,7 @@ import { Schema } from "effect";
|
|
|
16
16
|
var Disabled2 = Schema.Struct({
|
|
17
17
|
disabled: Schema.Literal(true)
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Entry2 = Schema.Union([
|
|
20
20
|
Disabled2,
|
|
21
21
|
Schema.Struct({
|
|
22
22
|
command: Schema.mutable(Schema.Array(Schema.String)),
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var
|
|
82
|
+
var Info7 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry2)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2,
|
|
84
|
+
export { Disabled2, Entry2, builtinServerIds2, requiresExtensionsForCustomServers2, Info7, exports_lsp };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
load4
|
|
6
|
+
} from "./persistent-pty-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event8,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options7,
|
|
17
|
+
Service: () => Service39,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured7,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer17,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node43,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event8 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
|
-
return createWrapper(
|
|
39
|
+
return createWrapper(load4());
|
|
40
40
|
} catch {
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options7 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service39 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer17 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service39.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer24 = (options) => Layer.effect(Service72, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service39.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer17().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service39).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service39, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured7(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service39, layer: layer17(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node43 = configured7();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event8, hasNativeBinding2, Native3, Options7, Service39, Test3, layer17, testLayer3, nativeLayer2, nativeNode2, configured7, node43, exports_watcher };
|