@opencode/core 0.0.0-dev-1008 → 0.0.0-dev-1011
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 +92 -92
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +7 -7
- package/dist/artifact.js +240 -240
- package/dist/bus.js +86 -86
- package/dist/chunks/{location-activity-gw6wa2ks.js → schema-02hqzv7v.js} +45 -45
- package/dist/chunks/schema-068p4esx.js +577 -0
- package/dist/chunks/{location-activity-skbt1mcf.js → schema-09pq3b3z.js} +5 -5
- package/dist/chunks/{location-activity-0j7gp832.js → schema-0j7gp832.js} +1 -1
- package/dist/chunks/{location-activity-6grak35j.js → schema-0jmzsf4m.js} +11 -11
- package/dist/chunks/{location-activity-0ma9gw4f.js → schema-0ma9gw4f.js} +2 -2
- package/dist/chunks/{location-activity-ce5szy5a.js → schema-108n43cx.js} +46 -46
- package/dist/chunks/{location-activity-e02t4crc.js → schema-11v4pf0y.js} +25 -25
- package/dist/chunks/{location-activity-3pyka2wg.js → schema-13mbk8n3.js} +6 -6
- package/dist/chunks/{location-activity-ae5h0k24.js → schema-1a3fcb7v.js} +28 -28
- package/dist/chunks/{location-activity-ays1q5vj.js → schema-1aqqzjqd.js} +16 -16
- package/dist/chunks/{location-activity-1aqsckx4.js → schema-1aqsckx4.js} +1 -1
- package/dist/chunks/{location-activity-tqd3pf7t.js → schema-1araq4vk.js} +29 -29
- package/dist/chunks/{location-activity-f055d35m.js → schema-1n2wt30b.js} +11 -11
- package/dist/chunks/{location-activity-q6t0drdj.js → schema-1r0h7dcd.js} +15 -15
- package/dist/chunks/{location-activity-1x2knyw4.js → schema-1x2knyw4.js} +1 -1
- package/dist/chunks/{location-activity-1yq9hg58.js → schema-1yq9hg58.js} +1 -1
- package/dist/chunks/{location-activity-max10f8a.js → schema-1z5vznfb.js} +44 -44
- package/dist/chunks/{location-activity-8yccqjxm.js → schema-20r3fdkm.js} +33 -33
- package/dist/chunks/{location-activity-ey4e2gpc.js → schema-20x9eck3.js} +39 -39
- package/dist/chunks/{location-activity-4temzgp2.js → schema-22pyhvsf.js} +32 -32
- package/dist/chunks/{location-activity-nxhvvnys.js → schema-26fy3zdr.js} +28 -28
- package/dist/chunks/{location-activity-v5xgndz2.js → schema-26qpn291.js} +3 -3
- package/dist/chunks/{location-activity-tb2mrvc9.js → schema-26wfx3k0.js} +4 -4
- package/dist/chunks/{location-activity-1ep2p91f.js → schema-27w5k9zf.js} +2 -2
- package/dist/chunks/{location-activity-gnrg33ky.js → schema-2a9gbc7r.js} +17 -17
- package/dist/chunks/{location-activity-rqzpzjyw.js → schema-2b40rs3n.js} +28 -28
- package/dist/chunks/{location-activity-58wm8vey.js → schema-2bhf5fzs.js} +4 -4
- package/dist/chunks/{location-activity-tc2ezzwn.js → schema-2dw474gn.js} +19 -19
- package/dist/chunks/{location-activity-2fc7eemy.js → schema-2fc7eemy.js} +1 -1
- package/dist/chunks/{location-activity-s08zthfz.js → schema-2m9jz6vw.js} +9 -9
- package/dist/chunks/{location-activity-6k0bcn2z.js → schema-2ns5e8zk.js} +31 -31
- package/dist/chunks/{location-activity-2p60zmnr.js → schema-2p60zmnr.js} +2 -2
- package/dist/chunks/{location-activity-b1t63eeg.js → schema-2pnarb80.js} +18 -18
- package/dist/chunks/{location-activity-1v7cp118.js → schema-2tw700xj.js} +1 -1
- package/dist/chunks/{location-activity-1deenbfj.js → schema-2y59be07.js} +22 -22
- package/dist/chunks/{location-activity-vd1m3pev.js → schema-2zcmn93b.js} +61 -61
- package/dist/chunks/{location-activity-1xjver7d.js → schema-365eavge.js} +4 -4
- package/dist/chunks/{location-activity-dvnqv6yn.js → schema-3bgf9gas.js} +4 -4
- package/dist/chunks/{location-activity-n8fvmm0y.js → schema-3bsk4n41.js} +23 -23
- package/dist/chunks/{location-activity-ayjs7tqn.js → schema-3cbjf1nt.js} +2 -2
- package/dist/chunks/{location-activity-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-activity-w3b967xh.js → schema-3jzwv4qn.js} +27 -27
- package/dist/chunks/{location-activity-3nnrz6f6.js → schema-3nnrz6f6.js} +1 -1
- package/dist/chunks/{location-activity-r7zrbnjn.js → schema-3spf441s.js} +6 -6
- package/dist/chunks/{location-activity-9ajrh9pt.js → schema-3zdj44x7.js} +31 -31
- package/dist/chunks/{location-activity-k5mrzhbx.js → schema-40gwjjsw.js} +44 -44
- package/dist/chunks/{location-activity-84gpn290.js → schema-40kv09wy.js} +12 -12
- package/dist/chunks/{location-activity-40y6dtc2.js → schema-40y6dtc2.js} +1 -1
- package/dist/chunks/{location-activity-gyk0vjkw.js → schema-42g0h6cf.js} +3 -3
- package/dist/chunks/{location-activity-jtmegrg3.js → schema-43ckntww.js} +25 -25
- package/dist/chunks/{location-activity-44pmzq9c.js → schema-44pmzq9c.js} +2 -2
- package/dist/chunks/{location-activity-vqtamrgj.js → schema-46ctycg0.js} +37 -37
- package/dist/chunks/{location-activity-zw6te9je.js → schema-49h8eg1d.js} +18 -18
- package/dist/chunks/{location-activity-2449t4mx.js → schema-4a6v035m.js} +20 -20
- package/dist/chunks/{location-activity-s0fm8zq7.js → schema-4bxhh7h8.js} +17 -17
- package/dist/chunks/{location-activity-4dx1dgte.js → schema-4dx1dgte.js} +1 -1
- package/dist/chunks/{location-activity-5s88jn88.js → schema-4f0zf85j.js} +10 -10
- package/dist/chunks/{location-activity-4f25tdd0.js → schema-4f25tdd0.js} +1 -1
- package/dist/chunks/{location-activity-hwjex0zk.js → schema-4krz84m7.js} +7 -7
- package/dist/chunks/{location-activity-w6k80b6c.js → schema-4p8b0s43.js} +15 -15
- package/dist/chunks/{location-activity-4pyp9zr9.js → schema-4pyp9zr9.js} +1 -1
- package/dist/chunks/{location-activity-q81y1dhf.js → schema-4t0fvyck.js} +21 -21
- package/dist/chunks/{location-activity-4v008n1t.js → schema-4v008n1t.js} +1 -1
- package/dist/chunks/{location-activity-nt907s04.js → schema-4vzr2b15.js} +3 -3
- package/dist/chunks/{location-activity-495vdj1c.js → schema-4xjdjntw.js} +8 -8
- package/dist/chunks/{location-activity-ss1dkjfy.js → schema-4ya4zdjh.js} +27 -27
- package/dist/chunks/{location-activity-50gzt5m6.js → schema-5bevz5wx.js} +4 -4
- package/dist/chunks/{location-activity-xq3ejj68.js → schema-5bvdtq3a.js} +22 -22
- package/dist/chunks/{location-activity-04f3m0mz.js → schema-5cw6sz18.js} +11 -11
- package/dist/chunks/{location-activity-3sd3mfq8.js → schema-5d8m3jk5.js} +18 -18
- package/dist/chunks/{location-activity-711gmxnk.js → schema-5jjne4g5.js} +7 -7
- package/dist/chunks/{location-activity-t7fp2dv3.js → schema-5kv53nmy.js} +6 -6
- package/dist/chunks/{location-activity-5m9w47nd.js → schema-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-activity-7zp3s5ws.js → schema-5tq0jeka.js} +12 -12
- package/dist/chunks/{location-activity-4ytxq0qb.js → schema-5vp7djrs.js} +29 -29
- package/dist/chunks/{location-activity-5whx36p1.js → schema-5whx36p1.js} +1 -1
- package/dist/chunks/{location-activity-y0cp9zqc.js → schema-5xdgvpxd.js} +3 -3
- package/dist/chunks/{location-activity-8xz27cp9.js → schema-67wwskyb.js} +4 -4
- package/dist/chunks/{location-activity-5n94n0g6.js → schema-686fknyk.js} +36 -36
- package/dist/chunks/{location-activity-1p9gcm6r.js → schema-6c7sgph9.js} +6 -6
- package/dist/chunks/{location-activity-jyt3mxhg.js → schema-6jeqf2ta.js} +5 -5
- package/dist/chunks/{location-activity-90c08n8d.js → schema-6jr0bk4e.js} +8 -8
- package/dist/chunks/{location-activity-h3xemhng.js → schema-6wghq4dw.js} +36 -36
- package/dist/chunks/{location-activity-mh312tem.js → schema-6x982fjf.js} +19 -19
- package/dist/chunks/{location-activity-wvr8xscb.js → schema-6y2b864j.js} +4 -4
- package/dist/chunks/{location-activity-6dsw4xhs.js → schema-75pfzghc.js} +14 -14
- package/dist/chunks/{location-activity-80mg3ag8.js → schema-775hqbnd.js} +3 -3
- package/dist/chunks/{location-activity-qffcfj89.js → schema-78pqwty4.js} +55 -55
- package/dist/chunks/{location-activity-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-activity-07twggf2.js → schema-7cmb6eb6.js} +29 -29
- package/dist/chunks/{location-activity-8qfgp0xe.js → schema-7d7ft0wg.js} +15 -15
- package/dist/chunks/{location-activity-2z4s5t0y.js → schema-7h5yv299.js} +9 -9
- package/dist/chunks/{location-activity-xjqmew4n.js → schema-7mpf854e.js} +20 -20
- package/dist/chunks/{location-activity-vjhrddsw.js → schema-7nb8tm12.js} +5 -5
- package/dist/chunks/{location-activity-xcp3rr1j.js → schema-7qjyv4b5.js} +9 -9
- package/dist/chunks/{location-activity-78975w7n.js → schema-7s71rvzj.js} +12 -12
- package/dist/chunks/{location-activity-f0k73ycx.js → schema-7vcgbxq3.js} +6 -6
- package/dist/chunks/{location-activity-7w2ypzdf.js → schema-7w2ypzdf.js} +1 -1
- package/dist/chunks/{location-activity-7weczvnd.js → schema-7weczvnd.js} +1 -1
- package/dist/chunks/schema-7yv5xa0k.js +18 -0
- package/dist/chunks/{location-activity-80pdk984.js → schema-80pdk984.js} +1 -1
- package/dist/chunks/{location-activity-3adw4bt5.js → schema-859w1rtj.js} +9 -9
- package/dist/chunks/{location-activity-85jq8dht.js → schema-85jq8dht.js} +1 -1
- package/dist/chunks/{location-activity-w8pyj75s.js → schema-85vqx18w.js} +14 -14
- package/dist/chunks/{location-activity-r96ere88.js → schema-88kypjvy.js} +4 -4
- package/dist/chunks/{location-activity-8b3vzgkx.js → schema-8b3vzgkx.js} +1 -1
- package/dist/chunks/{location-activity-y6nn00fr.js → schema-8drqbk3r.js} +21 -21
- package/dist/chunks/{location-activity-cvz2np44.js → schema-8rewpzhr.js} +25 -25
- package/dist/chunks/{location-activity-8wtp7s3z.js → schema-8wtp7s3z.js} +1 -1
- package/dist/chunks/{location-activity-9xn8n9p3.js → schema-8y7m8t19.js} +40 -40
- package/dist/chunks/{location-activity-mb7mbhnz.js → schema-8z6m94af.js} +3 -3
- package/dist/chunks/{location-activity-8zv0xmg5.js → schema-8zv0xmg5.js} +1 -1
- package/dist/chunks/{location-activity-m2sxg8n7.js → schema-93twee3r.js} +11 -11
- package/dist/chunks/{location-activity-xe6pezxp.js → schema-963hk181.js} +7 -7
- package/dist/chunks/{location-activity-2pdyxspa.js → schema-98t65f00.js} +6 -6
- package/dist/chunks/{location-activity-vq0qa3sh.js → schema-9f3jsh1d.js} +9 -9
- package/dist/chunks/{location-activity-b2fk8tvp.js → schema-9ntyjr0x.js} +38 -38
- package/dist/chunks/{location-activity-zhtzjnjr.js → schema-9vgs7jrt.js} +6 -6
- package/dist/chunks/{location-activity-9ryx8ca4.js → schema-9zg392cc.js} +17 -17
- package/dist/chunks/{location-activity-t8erkws8.js → schema-9zwexsxs.js} +5 -5
- package/dist/chunks/{location-activity-77je290a.js → schema-a1y0gagk.js} +3 -3
- package/dist/chunks/{location-activity-e6m0g5ae.js → schema-a2t722ra.js} +1 -1
- package/dist/chunks/{location-activity-3tnhfwzw.js → schema-a9kkqc7j.js} +19 -19
- package/dist/chunks/{location-activity-xv1hkaqv.js → schema-addcsn96.js} +5 -5
- package/dist/chunks/{location-activity-6j6edh0k.js → schema-ae1yse5b.js} +10 -10
- package/dist/chunks/{location-activity-034tev2y.js → schema-aj7mw0zk.js} +2 -2
- package/dist/chunks/{location-activity-z080rjh6.js → schema-anvcme1c.js} +4 -4
- package/dist/chunks/{location-activity-xghgt49z.js → schema-apg8hqv6.js} +25 -25
- package/dist/chunks/{location-activity-b26ddj6h.js → schema-b26ddj6h.js} +4 -4
- package/dist/chunks/{location-activity-fwz1byk4.js → schema-b4k47k2s.js} +5 -5
- package/dist/chunks/{location-activity-8sxe6kv8.js → schema-bb3mmwvh.js} +2 -2
- package/dist/chunks/{location-activity-ak34fkrk.js → schema-bdv8sqrq.js} +1 -1
- package/dist/chunks/{location-activity-cr4rfj9z.js → schema-bhfd478d.js} +4 -4
- package/dist/chunks/{location-activity-sqp7bma0.js → schema-bmzbb9x5.js} +9 -9
- package/dist/chunks/{location-activity-xd9cc171.js → schema-bstexjd6.js} +5 -5
- package/dist/chunks/{location-activity-nk9pqtag.js → schema-bybfhncg.js} +5 -5
- package/dist/chunks/{location-activity-ntjqtsm7.js → schema-c32tazex.js} +14 -14
- package/dist/chunks/{location-activity-sc1xrdet.js → schema-c3x56fbb.js} +18 -18
- package/dist/chunks/{location-activity-aep2jqwc.js → schema-c5q2xc2q.js} +17 -17
- package/dist/chunks/{location-activity-0ahs07zn.js → schema-c6x7d2ts.js} +4 -4
- package/dist/chunks/{location-activity-c7cw818c.js → schema-c7cw818c.js} +2 -2
- package/dist/chunks/{location-activity-jb4sh5qz.js → schema-ca3gkesr.js} +11 -11
- package/dist/chunks/{location-activity-3k1446g2.js → schema-cps4cmre.js} +11 -11
- package/dist/chunks/{location-activity-y77307np.js → schema-cqexwvrh.js} +5 -5
- package/dist/chunks/{location-activity-4cw5e407.js → schema-cv4f5z77.js} +53 -53
- package/dist/chunks/{location-activity-day9cmnc.js → schema-cvddnmmh.js} +23 -23
- package/dist/chunks/{location-activity-cwrgdav8.js → schema-cwrgdav8.js} +2 -2
- package/dist/chunks/{location-activity-bwd4tdm7.js → schema-cwzxgq4r.js} +39 -39
- package/dist/chunks/{location-activity-gsn2382b.js → schema-cz64vtt7.js} +32 -32
- package/dist/chunks/{location-activity-d4v9tmah.js → schema-d4v9tmah.js} +2 -2
- package/dist/chunks/{location-activity-22bqb227.js → schema-d4ya8xdt.js} +25 -25
- package/dist/chunks/{location-activity-t48jrnqq.js → schema-dbatw319.js} +3 -3
- package/dist/chunks/{location-activity-ggtaar3d.js → schema-dct3bmgw.js} +4 -4
- package/dist/chunks/{location-activity-fp0m6bbr.js → schema-djfnttkh.js} +13 -13
- package/dist/chunks/{location-activity-dt77769w.js → schema-dt77769w.js} +1 -1
- package/dist/chunks/{location-activity-wzr1527v.js → schema-e1tser6y.js} +12 -12
- package/dist/chunks/{location-activity-q58m8a5t.js → schema-eempz8bw.js} +27 -27
- package/dist/chunks/{location-activity-1swq54ma.js → schema-ekp8nq7b.js} +31 -31
- package/dist/chunks/schema-eqvg8de0.js +26 -0
- package/dist/chunks/{location-activity-eqw4pqj1.js → schema-eqw4pqj1.js} +2 -2
- package/dist/chunks/{location-activity-5f3kphbr.js → schema-f1b6qn1g.js} +8 -8
- package/dist/chunks/{location-activity-93xmyh8q.js → schema-f4krjp8e.js} +7 -7
- package/dist/chunks/{location-activity-tbmr1k7p.js → schema-fcv63w14.js} +41 -41
- package/dist/chunks/{location-activity-1gsmpqxc.js → schema-fdx8q17g.js} +10 -10
- package/dist/chunks/{location-activity-fg9p65nk.js → schema-fg9p65nk.js} +2 -2
- package/dist/chunks/{location-activity-key8ed5w.js → schema-fq7vbn4s.js} +9 -9
- package/dist/chunks/{location-activity-0jvzz2fj.js → schema-g4428mab.js} +30 -30
- package/dist/chunks/{location-activity-bc7mmq2q.js → schema-g5d82n9d.js} +3 -3
- package/dist/chunks/{location-activity-gbjdnr5j.js → schema-gbjdnr5j.js} +2 -2
- package/dist/chunks/{location-activity-p9sdw1sq.js → schema-gc7y5amy.js} +9 -9
- package/dist/chunks/{location-activity-ghrv1g9c.js → schema-ghrv1g9c.js} +1 -1
- package/dist/chunks/{location-activity-xn0j5twg.js → schema-gm3gbk7j.js} +38 -38
- package/dist/chunks/{location-activity-2sjrn0mz.js → schema-gzmsa05z.js} +20 -20
- package/dist/chunks/{location-activity-gx6g2bp7.js → schema-h78vwvm2.js} +7 -7
- package/dist/chunks/{location-activity-8es3pha2.js → schema-h9xvjfqn.js} +11 -11
- package/dist/chunks/{location-activity-7k8m9vcf.js → schema-hc0t8k9e.js} +6 -6
- package/dist/chunks/{location-activity-5qjxqanh.js → schema-hd6esjpp.js} +20 -20
- package/dist/chunks/{location-activity-wre3pzfn.js → schema-hetg91zk.js} +5 -5
- package/dist/chunks/{location-activity-hgzwgvze.js → schema-hgzwgvze.js} +2 -2
- package/dist/chunks/{location-activity-2crs09w8.js → schema-hmankmc5.js} +32 -32
- package/dist/chunks/{location-activity-et4v4qpp.js → schema-hretfjjx.js} +2 -2
- package/dist/chunks/{location-activity-dare2jsc.js → schema-hwh4ncss.js} +5 -5
- package/dist/chunks/{location-activity-613d0b59.js → schema-hzyabs26.js} +87 -87
- package/dist/chunks/{location-activity-mpaqpmwk.js → schema-j1sr36t7.js} +31 -31
- package/dist/chunks/{location-activity-gp3m9fpw.js → schema-j45pbb2b.js} +7 -7
- package/dist/chunks/{location-activity-gsyrg53v.js → schema-j470za27.js} +5 -5
- package/dist/chunks/{location-activity-wjm6jka2.js → schema-j9jvns0x.js} +29 -29
- package/dist/chunks/{location-activity-mwfrdyd7.js → schema-j9n04yyf.js} +13 -13
- package/dist/chunks/{location-activity-ze75qvmd.js → schema-j9nxzz3g.js} +3 -3
- package/dist/chunks/{location-activity-b62sbhp2.js → schema-jahxfc61.js} +9 -9
- package/dist/chunks/{location-activity-qsdghx1p.js → schema-jg11hrrc.js} +4 -4
- package/dist/chunks/{location-activity-qzts8cmk.js → schema-jm1f39t7.js} +37 -37
- package/dist/chunks/{location-activity-jm70asfg.js → schema-jm70asfg.js} +1 -1
- package/dist/chunks/{location-activity-1jarvzby.js → schema-jtfxvpqx.js} +16 -16
- package/dist/chunks/{location-activity-dtp4ad2w.js → schema-k0hc0p3t.js} +14 -14
- package/dist/chunks/{location-activity-awaex42p.js → schema-k314sxn6.js} +10 -10
- package/dist/chunks/{location-activity-9acgr1at.js → schema-k44rfvex.js} +5 -5
- package/dist/chunks/{location-activity-wmest4jw.js → schema-k5cvtdy7.js} +13 -13
- package/dist/chunks/{location-activity-d8sc9m19.js → schema-k7mvkdqc.js} +29 -29
- package/dist/chunks/{location-activity-mymyepxr.js → schema-k9xamp5p.js} +21 -21
- package/dist/chunks/{location-activity-m5df26q8.js → schema-kg1jhe5b.js} +12 -12
- package/dist/chunks/{location-activity-51tav7jv.js → schema-kp9hf7gh.js} +16 -16
- package/dist/chunks/{location-activity-n56br62z.js → schema-kr0h39da.js} +13 -13
- package/dist/chunks/{location-activity-kt3bjfbg.js → schema-kt3bjfbg.js} +1 -1
- package/dist/chunks/{location-activity-kzczzf4v.js → schema-kzczzf4v.js} +1 -1
- package/dist/chunks/{location-activity-m1714858.js → schema-m1714858.js} +1 -1
- package/dist/chunks/{location-activity-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-activity-rq6h2w56.js → schema-mh84av5k.js} +11 -11
- package/dist/chunks/{location-activity-9424p8se.js → schema-mjh13j51.js} +59 -59
- package/dist/chunks/{location-activity-1v2g13eq.js → schema-msd2a3qm.js} +4 -4
- package/dist/chunks/{location-activity-gpts7mnf.js → schema-my9bcdye.js} +49 -49
- package/dist/chunks/{location-activity-r5g0zqcj.js → schema-n1871bnv.js} +40 -40
- package/dist/chunks/{location-activity-svz8wtn5.js → schema-n1jbxack.js} +3 -3
- package/dist/chunks/{location-activity-fcrd7kek.js → schema-n320gsn2.js} +4 -4
- package/dist/chunks/{location-activity-5c3f5r1c.js → schema-n3nmssvp.js} +19 -19
- package/dist/chunks/{location-activity-ffdt0986.js → schema-n450nt6a.js} +194 -194
- package/dist/chunks/{location-activity-bsd7zfp7.js → schema-n95h3yp2.js} +11 -11
- package/dist/chunks/{location-activity-8ykqf5wm.js → schema-neary136.js} +8 -8
- package/dist/chunks/{location-activity-xv09zhqb.js → schema-nh4zw8dy.js} +37 -37
- package/dist/chunks/{location-activity-savdh105.js → schema-nkjg7sax.js} +14 -14
- package/dist/chunks/{location-activity-7md7qkw2.js → schema-nkpjx6f9.js} +8 -8
- package/dist/chunks/{location-activity-72dfj4ss.js → schema-nv2c5e9q.js} +3 -3
- package/dist/chunks/{location-activity-wegkxhrn.js → schema-nx4vzyjd.js} +2 -2
- package/dist/chunks/{location-activity-vrh51fs9.js → schema-p1acca2q.js} +51 -51
- package/dist/chunks/{location-activity-0bppzwp2.js → schema-p5f5wvc6.js} +16 -16
- package/dist/chunks/{location-activity-h1m0m7zz.js → schema-p7m378f9.js} +8 -8
- package/dist/chunks/{location-activity-aepg69x2.js → schema-pe9vq5ts.js} +18 -18
- package/dist/chunks/{location-activity-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{location-activity-65378da0.js → schema-pnhy6vkz.js} +8 -8
- package/dist/chunks/{location-activity-tfgbwcs7.js → schema-pph3afw8.js} +15 -15
- package/dist/chunks/{location-activity-bkx14bsa.js → schema-px1jwg4z.js} +32 -32
- package/dist/chunks/{location-activity-px7qpgcn.js → schema-px7qpgcn.js} +1 -1
- package/dist/chunks/{location-activity-q42tzrxa.js → schema-q42tzrxa.js} +1 -1
- package/dist/chunks/{location-activity-htd019vp.js → schema-q69ep0st.js} +23 -23
- package/dist/chunks/{location-activity-bkch8dxj.js → schema-q9w50hwc.js} +17 -17
- package/dist/chunks/{location-activity-m8z2v1dw.js → schema-qen42n7m.js} +6 -6
- package/dist/chunks/{location-activity-nr915jn7.js → schema-qfz6bxfd.js} +4 -4
- package/dist/chunks/{location-activity-qp7r0hxv.js → schema-qp7r0hxv.js} +1 -1
- package/dist/chunks/{location-activity-hxkdkne3.js → schema-qpvrrhfg.js} +35 -35
- package/dist/chunks/{location-activity-px16rj8v.js → schema-qzv2q1wc.js} +11 -11
- package/dist/chunks/{location-activity-zk5q92q6.js → schema-r0ftmkk6.js} +5 -5
- package/dist/chunks/{location-activity-b4b3f3zk.js → schema-r5cygv5r.js} +23 -23
- package/dist/chunks/{location-activity-11am99by.js → schema-r67xp73y.js} +24 -24
- package/dist/chunks/{location-activity-03kzwcpy.js → schema-r6wb84tj.js} +32 -32
- package/dist/chunks/{location-activity-yt5dvwth.js → schema-r7r9xhwp.js} +36 -36
- package/dist/chunks/{location-activity-rwj91fy5.js → schema-r7s4amkf.js} +17 -17
- package/dist/chunks/{location-activity-ft76x6ef.js → schema-r89d1c3z.js} +5 -5
- package/dist/chunks/{location-activity-te81n6rn.js → schema-r9r1hv6r.js} +4 -4
- package/dist/chunks/{location-activity-rb9dy4dg.js → schema-rb9dy4dg.js} +1 -1
- package/dist/chunks/{location-activity-39sgvy3e.js → schema-rdnhrv98.js} +6 -6
- package/dist/chunks/{location-activity-rgc9cx3e.js → schema-rgc9cx3e.js} +2 -2
- package/dist/chunks/{location-activity-606cjmtm.js → schema-rjtcs3g0.js} +24 -24
- package/dist/chunks/{location-activity-qbqkxypa.js → schema-rqmqphdk.js} +82 -82
- package/dist/chunks/{location-activity-rt5dr6hb.js → schema-rt5dr6hb.js} +1 -1
- package/dist/chunks/{location-activity-0mpf96gd.js → schema-rtx9dw6y.js} +2 -2
- package/dist/chunks/{location-activity-98gj5r4h.js → schema-rxjp9ywm.js} +6 -6
- package/dist/chunks/{location-activity-pqjv5qwa.js → schema-s2m8shgg.js} +16 -16
- package/dist/chunks/{location-activity-jkmv5b67.js → schema-s5r2vghp.js} +11 -11
- package/dist/chunks/{location-activity-sbya78hr.js → schema-sbya78hr.js} +1 -1
- package/dist/chunks/{location-activity-fgmter8b.js → schema-sbzezcpx.js} +8 -8
- package/dist/chunks/{location-activity-3cf8e282.js → schema-seqxwcng.js} +84 -84
- package/dist/chunks/{location-activity-03x0c0c3.js → schema-sg6pcgfg.js} +17 -17
- package/dist/chunks/{location-activity-khntahbh.js → schema-sjtm08sb.js} +6 -6
- package/dist/chunks/{location-activity-te2x4ggc.js → schema-smy7v48d.js} +16 -16
- package/dist/chunks/{location-activity-pp7sz3rt.js → schema-spysdwxw.js} +11 -11
- package/dist/chunks/{location-activity-a8tfskvx.js → schema-sqrx5aq3.js} +9 -9
- package/dist/chunks/{location-activity-3rpswk4b.js → schema-stsmee1w.js} +4 -4
- package/dist/chunks/{location-activity-svcy3p9a.js → schema-svcy3p9a.js} +1 -1
- package/dist/chunks/{location-activity-jfp14vf7.js → schema-t1pejg4m.js} +24 -24
- package/dist/chunks/{location-activity-8f65727n.js → schema-t2j0e88x.js} +18 -18
- package/dist/chunks/{location-activity-6ng64pn7.js → schema-t570dzwf.js} +20 -20
- package/dist/chunks/{location-activity-tbpn7jtk.js → schema-tbpn7jtk.js} +1 -1
- package/dist/chunks/{location-activity-tczq8hjw.js → schema-tczq8hjw.js} +1 -1
- package/dist/chunks/{location-activity-gxs71cxp.js → schema-tg7s7b5t.js} +4 -4
- package/dist/chunks/{location-activity-tr8x705m.js → schema-tr8x705m.js} +1 -1
- package/dist/chunks/{location-activity-a46300z7.js → schema-ttyacz3n.js} +20 -20
- package/dist/chunks/{location-activity-tvtps2q9.js → schema-tvtps2q9.js} +1 -1
- package/dist/chunks/{location-activity-twssxy5n.js → schema-twssxy5n.js} +2 -2
- package/dist/chunks/{location-activity-s7kyse9r.js → schema-v0t96s7a.js} +4 -4
- package/dist/chunks/schema-v18tez6e.js +273 -0
- package/dist/chunks/{location-activity-v2r1d0zg.js → schema-v2r1d0zg.js} +1 -1
- package/dist/chunks/{location-activity-a0qfkb84.js → schema-v68s1kbg.js} +15 -15
- package/dist/chunks/{location-activity-hm4hkhpf.js → schema-v6v5n2yq.js} +17 -17
- package/dist/chunks/{location-activity-vjf35v1f.js → schema-vjf35v1f.js} +1 -1
- package/dist/chunks/{location-activity-dg7mtzsk.js → schema-vmffp9hq.js} +2 -2
- package/dist/chunks/{location-activity-xzhcvjqj.js → schema-vpa2j03j.js} +8 -8
- package/dist/chunks/{location-activity-81v77xc6.js → schema-vpq88xaq.js} +16 -16
- package/dist/chunks/{location-activity-zfar18d4.js → schema-vqz1w45k.js} +6 -6
- package/dist/chunks/{location-activity-vre17ymf.js → schema-vre17ymf.js} +2 -2
- package/dist/chunks/{location-activity-fz98z2aj.js → schema-vvppee7m.js} +21 -21
- package/dist/chunks/{location-activity-c5m2a8vb.js → schema-vycsk1c7.js} +8 -8
- package/dist/chunks/{location-activity-44jckf1x.js → schema-vz5bqa0f.js} +12 -12
- package/dist/chunks/{location-activity-40za9wsf.js → schema-w2eysc6j.js} +9 -9
- package/dist/chunks/{location-activity-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-activity-fznmdakp.js → schema-w687dnns.js} +4 -4
- package/dist/chunks/{location-activity-p3t5a9vr.js → schema-w6af1eav.js} +40 -40
- package/dist/chunks/{location-activity-w75qynz4.js → schema-w75qynz4.js} +3 -3
- package/dist/chunks/{location-activity-wakvkjy4.js → schema-wakvkjy4.js} +1 -1
- package/dist/chunks/{location-activity-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{location-activity-p16mq068.js → schema-wea2fgd6.js} +8 -8
- package/dist/chunks/{location-activity-ss4yr9yg.js → schema-wk2hhfay.js} +31 -31
- package/dist/chunks/{location-activity-x9fna37c.js → schema-wm0yff3r.js} +18 -18
- package/dist/chunks/{location-activity-gdsh0ky9.js → schema-wqff1vx6.js} +9 -9
- package/dist/chunks/{location-activity-v2mabgvs.js → schema-wvdkrrmq.js} +32 -32
- package/dist/chunks/{location-activity-g4vv4v0v.js → schema-wwrejvzt.js} +19 -19
- package/dist/chunks/{location-activity-9dqtd8y2.js → schema-x08hk12p.js} +22 -22
- package/dist/chunks/{location-activity-xryn33kd.js → schema-x4rjv40f.js} +43 -43
- package/dist/chunks/{location-activity-177qfj76.js → schema-x5w1zr3w.js} +26 -26
- package/dist/chunks/{location-activity-8t99kr38.js → schema-xacrkbdt.js} +4 -4
- package/dist/chunks/{location-activity-0zhr0znd.js → schema-xaqfm906.js} +16 -16
- package/dist/chunks/{location-activity-3gv0spa2.js → schema-xdcpcrtr.js} +4 -4
- package/dist/chunks/{location-activity-q5zbnr03.js → schema-xdgew5ya.js} +4 -4
- package/dist/chunks/{location-activity-x4gnjp5a.js → schema-xezdzwfx.js} +12 -12
- package/dist/chunks/{location-activity-dhrp4r1d.js → schema-xmzr9vx2.js} +34 -34
- package/dist/chunks/{location-activity-0eqbv2hj.js → schema-xrxq5n47.js} +11 -11
- package/dist/chunks/{location-activity-xjr6c8m4.js → schema-xxschbft.js} +4 -4
- package/dist/chunks/{location-activity-a5fx33f2.js → schema-xz07m27x.js} +6 -6
- package/dist/chunks/{location-activity-25zwx1ae.js → schema-xzmcv7yx.js} +11 -11
- package/dist/chunks/{location-activity-761jjywq.js → schema-y45hqcp7.js} +13 -13
- package/dist/chunks/{location-activity-8zmzcfkh.js → schema-y5dg5cq9.js} +12 -12
- package/dist/chunks/{location-activity-hveq48vm.js → schema-y83y93hb.js} +12 -12
- package/dist/chunks/{location-activity-yb20nhc3.js → schema-yb20nhc3.js} +1 -1
- package/dist/chunks/{location-activity-kmzgegqq.js → schema-ydsespw1.js} +8 -8
- package/dist/chunks/{location-activity-xm0c3c8p.js → schema-yen64j8h.js} +12 -12
- package/dist/chunks/{location-activity-nhzdadc4.js → schema-yey3vg0k.js} +20 -20
- package/dist/chunks/{location-activity-bbtsnn7h.js → schema-ykt7cx5b.js} +14 -14
- package/dist/chunks/{location-activity-yr705xyq.js → schema-yr705xyq.js} +1 -1
- package/dist/chunks/{location-activity-hvkeybwj.js → schema-ysf45hfb.js} +33 -33
- package/dist/chunks/{location-activity-yvtc2x31.js → schema-yvtc2x31.js} +1 -1
- package/dist/chunks/{location-activity-crsqy4r7.js → schema-ywshbe5e.js} +28 -28
- package/dist/chunks/{location-activity-1mjfhd2z.js → schema-yx7jjv83.js} +6 -6
- package/dist/chunks/{location-activity-27bn0edc.js → schema-z244sk7m.js} +9 -9
- package/dist/chunks/{location-activity-hb4gfejs.js → schema-z4h0d849.js} +39 -39
- package/dist/chunks/{location-activity-asn870jk.js → schema-z6yjkx3d.js} +4 -4
- package/dist/chunks/{location-activity-fkyqk9w0.js → schema-zbng777a.js} +18 -4
- package/dist/chunks/{location-activity-bk9xc4k2.js → schema-zgq5ynfz.js} +8 -8
- package/dist/chunks/{location-activity-h52gxpb9.js → schema-zgtdwdax.js} +20 -20
- package/dist/chunks/{location-activity-zpdbqgja.js → schema-zpdbqgja.js} +1 -1
- package/dist/chunks/{location-activity-5sc7psqr.js → schema-zs5ctna9.js} +12 -12
- package/dist/chunks/{location-activity-sc6rsser.js → schema-zvs0kzc5.js} +5 -5
- package/dist/chunks/{location-activity-9e64wzde.js → schema-zzz646na.js} +8 -8
- package/dist/chunks/{location-activity-dxqx6csz.js → schema-zzzp2n6j.js} +19 -19
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +133 -133
- package/dist/config/plugin/command.js +240 -240
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +145 -145
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -134
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +133 -133
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- 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/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/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- 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/v1-migration.bun.js +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +441 -441
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- 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 +85 -85
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- 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 +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +253 -253
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +118 -118
- package/dist/flag.js +133 -133
- package/dist/form.js +87 -87
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +122 -122
- package/dist/git.js +11 -11
- 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 +104 -104
- 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/notice.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 +432 -432
- package/dist/instruction-discovery.js +91 -91
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- package/dist/job/list.js +7 -7
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +185 -185
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +429 -429
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +122 -122
- package/dist/mcp/instructions.js +187 -187
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +115 -115
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +154 -154
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +119 -119
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +408 -408
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +131 -131
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +138 -138
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode-watches.js +2 -2
- package/dist/plugin/provider/opencode.js +161 -161
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +239 -239
- package/dist/plugin/sdk.js +83 -83
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +416 -416
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +255 -255
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +107 -107
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +263 -263
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +134 -134
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +250 -250
- package/dist/session/execution.js +167 -167
- package/dist/session/generate.js +206 -206
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +150 -150
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +144 -144
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +186 -186
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +249 -249
- package/dist/session/usage.js +1 -1
- package/dist/session.js +241 -241
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +152 -152
- package/dist/skill.js +159 -159
- package/dist/snapshot.js +104 -104
- 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 +188 -188
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +171 -171
- package/dist/tool/plugin/image-generate.js +247 -247
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +241 -241
- package/dist/tool/plugin/skill.js +156 -156
- package/dist/tool/plugin/subagent.js +242 -242
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +156 -156
- package/dist/tool/plugin/write.js +169 -169
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +165 -165
- package/dist/usage-limits.js +100 -100
- 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 +105 -105
- package/dist/v1/config/permission.js +3 -3
- 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 +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +91 -91
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- 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 +102 -102
- package/dist/worktree.js +109 -109
- package/package.json +8 -8
- package/dist/chunks/location-activity-aketkq5y.js +0 -26
- package/dist/chunks/location-activity-fcmwys6x.js +0 -577
- package/dist/chunks/location-activity-mfbt8ebd.js +0 -273
- package/dist/chunks/location-activity-vdh3rgac.js +0 -18
- /package/dist/chunks/{location-activity-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-activity-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-activity-108x4f4w.js → schema-108x4f4w.js} +0 -0
- /package/dist/chunks/{location-activity-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-activity-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-activity-1kah00gy.js → schema-1kah00gy.js} +0 -0
- /package/dist/chunks/{location-activity-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-activity-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-activity-2bv980vf.js → schema-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-activity-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-activity-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-activity-3af0jn4w.js → schema-3af0jn4w.js} +0 -0
- /package/dist/chunks/{location-activity-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{location-activity-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-activity-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-activity-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-activity-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-activity-4qk9sjk2.js → schema-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{location-activity-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-activity-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{location-activity-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-activity-5w3e23ze.js → schema-5w3e23ze.js} +0 -0
- /package/dist/chunks/{location-activity-6agm2x70.js → schema-6agm2x70.js} +0 -0
- /package/dist/chunks/{location-activity-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{location-activity-6q2bdcd1.js → schema-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-activity-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-activity-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-activity-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{location-activity-84wd9syh.js → schema-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-activity-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-activity-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-activity-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-activity-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-activity-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-activity-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-activity-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-activity-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-activity-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-activity-beh6qq61.js → schema-beh6qq61.js} +0 -0
- /package/dist/chunks/{location-activity-bhmrqjy3.js → schema-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{location-activity-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-activity-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-activity-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-activity-cqv5kn06.js → schema-cqv5kn06.js} +0 -0
- /package/dist/chunks/{location-activity-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-activity-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-activity-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-activity-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-activity-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{location-activity-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-activity-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-activity-ean2d8b5.js → schema-ean2d8b5.js} +0 -0
- /package/dist/chunks/{location-activity-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-activity-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-activity-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-activity-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-activity-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-activity-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-activity-fkpq3x5p.js → schema-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{location-activity-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-activity-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{location-activity-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-activity-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{location-activity-hcxmzztb.js → schema-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-activity-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{location-activity-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-activity-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-activity-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-activity-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-activity-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-activity-jwr30sdr.js → schema-jwr30sdr.js} +0 -0
- /package/dist/chunks/{location-activity-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-activity-m18g726c.js → schema-m18g726c.js} +0 -0
- /package/dist/chunks/{location-activity-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-activity-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-activity-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-activity-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-activity-nh4v3znn.js → schema-nh4v3znn.js} +0 -0
- /package/dist/chunks/{location-activity-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-activity-p71gwv9c.js → schema-p71gwv9c.js} +0 -0
- /package/dist/chunks/{location-activity-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-activity-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-activity-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-activity-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-activity-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-activity-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-activity-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-activity-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-activity-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-activity-syrav9an.js → schema-syrav9an.js} +0 -0
- /package/dist/chunks/{location-activity-t03h4f5z.js → schema-t03h4f5z.js} +0 -0
- /package/dist/chunks/{location-activity-ty7weeps.js → schema-ty7weeps.js} +0 -0
- /package/dist/chunks/{location-activity-ve7vex1e.js → schema-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-activity-vtarvj67.js → schema-vtarvj67.js} +0 -0
- /package/dist/chunks/{location-activity-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-activity-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-activity-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-activity-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-activity-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-activity-x4th4bpe.js → schema-x4th4bpe.js} +0 -0
- /package/dist/chunks/{location-activity-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{location-activity-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-activity-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-activity-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-activity-z0h12gs8.js → schema-z0h12gs8.js} +0 -0
- /package/dist/chunks/{location-activity-z5v4ffb3.js → schema-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-activity-z9919s4g.js → schema-z9919s4g.js} +0 -0
- /package/dist/chunks/{location-activity-zxpyjp51.js → schema-zxpyjp51.js} +0 -0
- /package/dist/chunks/{location-activity-zz5vv3aq.js → schema-zz5vv3aq.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-tczq8hjw.js";
|
|
4
4
|
import {
|
|
5
5
|
create4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-40y6dtc2.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service55,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node57
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service55 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
121
121
|
yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
|
|
122
122
|
return file;
|
|
123
123
|
});
|
|
124
|
-
return
|
|
124
|
+
return Service55.of({
|
|
125
125
|
transform: state.transform,
|
|
126
126
|
reload: state.reload,
|
|
127
127
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node57 = makeLocationNode({
|
|
143
|
+
service: Service55,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service55, node57, exports_tool_output2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service90,
|
|
3
|
+
node92
|
|
4
|
+
} from "./schema-xaqfm906.js";
|
|
5
5
|
import {
|
|
6
6
|
create4
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-40y6dtc2.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service15,
|
|
17
|
+
node: () => node17
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service15 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service90;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create4({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service15.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node17 = makeLocationNode({
|
|
91
|
+
service: Service15,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node92, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service15, node17, exports_formatter2 };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service94,
|
|
6
6
|
node96
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-5bevz5wx.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service93,
|
|
10
|
+
node95
|
|
11
|
+
} from "./schema-85vqx18w.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service92,
|
|
14
|
+
node94
|
|
15
|
+
} from "./schema-vz5bqa0f.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID22,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info32,
|
|
20
20
|
UpdateInput5,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./schema-963hk181.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./schema-aj7mw0zk.js";
|
|
28
28
|
import {
|
|
29
29
|
refresh2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./schema-bb3mmwvh.js";
|
|
31
31
|
import {
|
|
32
32
|
WorktreeTable2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./schema-3cbjf1nt.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./schema-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/project.ts
|
|
39
39
|
var exports_project = {};
|
|
40
40
|
__export(exports_project, {
|
|
41
41
|
ACTIVATE_INTERVAL: () => ACTIVATE_INTERVAL2,
|
|
42
42
|
Current: () => Current2,
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
43
|
+
ID: () => ID21,
|
|
44
|
+
Info: () => Info31,
|
|
45
45
|
NotFoundError: () => NotFoundError14,
|
|
46
46
|
Project: () => exports_project,
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service91,
|
|
48
48
|
UpdateInput: () => UpdateInput4,
|
|
49
49
|
Vcs: () => Vcs2,
|
|
50
|
-
configured: () =>
|
|
51
|
-
node: () =>
|
|
50
|
+
configured: () => configured12,
|
|
51
|
+
node: () => node93,
|
|
52
52
|
root: () => root2,
|
|
53
53
|
sweepNode: () => sweepNode2
|
|
54
54
|
});
|
|
@@ -61,14 +61,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
61
61
|
import { AppProcess } from "@opencode/util/process";
|
|
62
62
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { Hash } from "@opencode/util/hash";
|
|
64
|
-
var
|
|
64
|
+
var ID21 = ID22;
|
|
65
65
|
var Vcs2 = Vcs3;
|
|
66
66
|
var Current2 = Current3;
|
|
67
|
-
var
|
|
67
|
+
var Info31 = Info32;
|
|
68
68
|
var UpdateInput4 = UpdateInput5;
|
|
69
69
|
|
|
70
70
|
class NotFoundError14 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
71
|
-
projectID:
|
|
71
|
+
projectID: ID21
|
|
72
72
|
}) {
|
|
73
73
|
}
|
|
74
74
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -87,7 +87,7 @@ var ACTIVATE_INTERVAL2 = 60000;
|
|
|
87
87
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
88
88
|
var Now = Context.Reference("@opencode/Project/Now", { defaultValue: () => Date.now });
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service91 extends Context.Service()("@opencode/Project") {
|
|
91
91
|
}
|
|
92
92
|
function fromRow(row) {
|
|
93
93
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -111,12 +111,12 @@ function fromRow(row) {
|
|
|
111
111
|
sandboxes: row.sandboxes
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
var layer = Layer.effect(
|
|
114
|
+
var layer = Layer.effect(Service91, Effect.gen(function* () {
|
|
115
115
|
const now = yield* Now;
|
|
116
116
|
const fs = yield* FSUtil.Service;
|
|
117
|
-
const git = yield*
|
|
117
|
+
const git = yield* Service92;
|
|
118
118
|
const proc = yield* AppProcess.Service;
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service93;
|
|
120
120
|
const db = (yield* Service94).db;
|
|
121
121
|
const scope = yield* Scope.Scope;
|
|
122
122
|
const announcing = new Set;
|
|
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service90, Effect.gen(function* () {
|
|
|
164
164
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
165
165
|
projectID: item.projectID,
|
|
166
166
|
directory: item.directory,
|
|
167
|
-
previous: project.previous ??
|
|
167
|
+
previous: project.previous ?? ID21.global,
|
|
168
168
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
169
169
|
}, {
|
|
170
170
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service90, Effect.gen(function* () {
|
|
|
208
208
|
return options?.forkIn ? write.pipe(Effect.forkIn(options.forkIn), Effect.asVoid) : write;
|
|
209
209
|
});
|
|
210
210
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
211
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
211
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID21.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
212
212
|
return;
|
|
213
213
|
}));
|
|
214
214
|
});
|
|
@@ -219,7 +219,7 @@ var layer = Layer.effect(Service90, Effect.gen(function* () {
|
|
|
219
219
|
const normalized = url(origin);
|
|
220
220
|
if (!normalized)
|
|
221
221
|
return;
|
|
222
|
-
return
|
|
222
|
+
return ID21.make(Hash.fast(`git-remote:${normalized}`));
|
|
223
223
|
});
|
|
224
224
|
function url(input) {
|
|
225
225
|
const value = input.trim();
|
|
@@ -244,7 +244,7 @@ var layer = Layer.effect(Service90, Effect.gen(function* () {
|
|
|
244
244
|
}
|
|
245
245
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
246
246
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
247
|
-
return root ?
|
|
247
|
+
return root ? ID21.make(root) : undefined;
|
|
248
248
|
});
|
|
249
249
|
const gitDiscover = Effect.fnUntraced(function* (dotGit) {
|
|
250
250
|
const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
|
|
@@ -260,7 +260,7 @@ var layer = Layer.effect(Service90, Effect.gen(function* () {
|
|
|
260
260
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), fallback(repo.worktree));
|
|
261
261
|
const resolved = {
|
|
262
262
|
previous,
|
|
263
|
-
id: id ??
|
|
263
|
+
id: id ?? ID21.global,
|
|
264
264
|
directory: repo.worktree,
|
|
265
265
|
canonical,
|
|
266
266
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service90, Effect.gen(function* () {
|
|
|
285
285
|
return;
|
|
286
286
|
const node = result.stdout.toString("utf8").split(`
|
|
287
287
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
288
|
-
return node ?
|
|
288
|
+
return node ? ID21.make(node) : undefined;
|
|
289
289
|
});
|
|
290
290
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
291
291
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -293,7 +293,7 @@ var layer = Layer.effect(Service90, Effect.gen(function* () {
|
|
|
293
293
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
294
294
|
return {
|
|
295
295
|
previous,
|
|
296
|
-
id: id ??
|
|
296
|
+
id: id ?? ID21.global,
|
|
297
297
|
directory: worktree,
|
|
298
298
|
vcs: { type: "hg", store: dotHg }
|
|
299
299
|
};
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service90, Effect.gen(function* () {
|
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
322
|
return yield* save({
|
|
323
|
-
id:
|
|
323
|
+
id: ID21.make(Hash.fast(`directory:${directory}`)),
|
|
324
324
|
directory,
|
|
325
325
|
canonical: directory,
|
|
326
326
|
vcs: undefined
|
|
@@ -329,7 +329,7 @@ var layer = Layer.effect(Service90, Effect.gen(function* () {
|
|
|
329
329
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
330
330
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
331
331
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
332
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
332
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID21.global))).all().pipe(Effect.orDie);
|
|
333
333
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
334
334
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
335
335
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -345,23 +345,23 @@ var layer = Layer.effect(Service90, Effect.gen(function* () {
|
|
|
345
345
|
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
346
346
|
}), { concurrency: 8, discard: true });
|
|
347
347
|
});
|
|
348
|
-
return
|
|
348
|
+
return Service91.of({ list, update, activate, resolve, sweep });
|
|
349
349
|
}));
|
|
350
|
-
function
|
|
350
|
+
function configured12(options) {
|
|
351
351
|
return makeGlobalNode({
|
|
352
|
-
service:
|
|
352
|
+
service: Service91,
|
|
353
353
|
layer: options?.now ? layer.pipe(Layer.provide(Layer.succeed(Now, options.now))) : layer,
|
|
354
|
-
deps: [
|
|
354
|
+
deps: [node95, node96, FSUtil.node, node94, AppProcess.node]
|
|
355
355
|
});
|
|
356
356
|
}
|
|
357
|
-
var
|
|
357
|
+
var node93 = configured12();
|
|
358
358
|
var sweepNode2 = makeGlobalNode({
|
|
359
359
|
name: "project-archive-sweep",
|
|
360
360
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
361
|
-
const project = yield*
|
|
361
|
+
const project = yield* Service91;
|
|
362
362
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
363
363
|
})),
|
|
364
|
-
deps: [
|
|
364
|
+
deps: [node93]
|
|
365
365
|
});
|
|
366
366
|
|
|
367
|
-
export {
|
|
367
|
+
export { ID21, Vcs2, Current2, Info31, UpdateInput4, NotFoundError14, root2, ACTIVATE_INTERVAL2, Service91, configured12, node93, sweepNode2, exports_project };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service93,
|
|
3
|
+
node95
|
|
4
|
+
} from "./schema-85vqx18w.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
key3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-n320gsn2.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID18,
|
|
14
|
+
Service87,
|
|
15
|
+
node89,
|
|
16
|
+
Event18
|
|
17
|
+
} from "./schema-j9jvns0x.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service90,
|
|
20
|
+
node92
|
|
21
|
+
} from "./schema-xaqfm906.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./schema-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider5 = {};
|
|
@@ -31,13 +31,13 @@ __export(exports_provider5, {
|
|
|
31
31
|
Compaction: () => Compaction3,
|
|
32
32
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
33
33
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event17,
|
|
35
|
+
ID: () => ID17,
|
|
36
|
+
Info: () => Info25,
|
|
37
37
|
LoadError: () => LoadError3,
|
|
38
38
|
Provider: () => exports_provider5,
|
|
39
39
|
Request: () => Request4,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service86,
|
|
41
41
|
Settings: () => Settings2,
|
|
42
42
|
Transport: () => Transport2,
|
|
43
43
|
aisdk: () => aisdk2,
|
|
@@ -49,7 +49,7 @@ __export(exports_provider5, {
|
|
|
49
49
|
mergeOverlay: () => mergeOverlay2,
|
|
50
50
|
modelSettings: () => modelSettings2,
|
|
51
51
|
nativeSettings: () => nativeSettings2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node88,
|
|
53
53
|
packageName: () => packageName2,
|
|
54
54
|
timeout: () => timeout2,
|
|
55
55
|
timeouts: () => timeouts2
|
|
@@ -331,8 +331,8 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
|
|
|
331
331
|
var decode = Schema.decodeUnknownSync(Legacy);
|
|
332
332
|
|
|
333
333
|
// src/provider.ts
|
|
334
|
-
import { Event as
|
|
335
|
-
var
|
|
334
|
+
import { Event as Event17 } from "@opencode/schema/provider";
|
|
335
|
+
var ID17 = Provider.ID;
|
|
336
336
|
var AISDK_PREFIX2 = "aisdk:";
|
|
337
337
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
338
338
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -577,9 +577,9 @@ var Compaction3 = Provider.Compaction;
|
|
|
577
577
|
var Cache2 = Provider.Cache;
|
|
578
578
|
var Transport2 = Provider.Transport;
|
|
579
579
|
var Settings2 = Provider.Settings;
|
|
580
|
-
var
|
|
580
|
+
var Info25 = Provider.Info;
|
|
581
581
|
|
|
582
|
-
class
|
|
582
|
+
class Service86 extends Context.Service()("@opencode/Provider") {
|
|
583
583
|
}
|
|
584
584
|
var definitions = new WeakMap;
|
|
585
585
|
function index(providerID, models) {
|
|
@@ -592,10 +592,10 @@ function index(providerID, models) {
|
|
|
592
592
|
definitions.set(models, indexes);
|
|
593
593
|
return result;
|
|
594
594
|
}
|
|
595
|
-
var layer = Layer.effect(
|
|
596
|
-
const bus = yield*
|
|
597
|
-
const integrations = yield*
|
|
598
|
-
const location = yield*
|
|
595
|
+
var layer = Layer.effect(Service86, Effect2.gen(function* () {
|
|
596
|
+
const bus = yield* Service93;
|
|
597
|
+
const integrations = yield* Service87;
|
|
598
|
+
const location = yield* Service90;
|
|
599
599
|
const state = create4({
|
|
600
600
|
name: "provider",
|
|
601
601
|
initial: () => new Map,
|
|
@@ -606,7 +606,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
|
|
|
606
606
|
const current = records.get(id);
|
|
607
607
|
if (current)
|
|
608
608
|
return current;
|
|
609
|
-
const added = { provider:
|
|
609
|
+
const added = { provider: Info25.empty(id), models: new Map };
|
|
610
610
|
records.set(id, added);
|
|
611
611
|
maps.add(added.models);
|
|
612
612
|
return added;
|
|
@@ -687,7 +687,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
|
|
|
687
687
|
const available = Array.from(records.values()).filter((record) => {
|
|
688
688
|
if (record.provider.activation === "disabled")
|
|
689
689
|
return false;
|
|
690
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
690
|
+
const integration = byID.get(record.provider.integrationID ?? ID18.make(record.provider.id));
|
|
691
691
|
if (record.sourceConnection && key3(record.sourceConnection) !== key3(integration?.connections[0]))
|
|
692
692
|
return false;
|
|
693
693
|
if (record.provider.activation === "enabled")
|
|
@@ -713,8 +713,8 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
|
|
|
713
713
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
714
714
|
});
|
|
715
715
|
});
|
|
716
|
-
yield* bus.subscribe([
|
|
717
|
-
return
|
|
716
|
+
yield* bus.subscribe([Event18.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
717
|
+
return Service86.of({
|
|
718
718
|
transform: state.transform,
|
|
719
719
|
reload: state.reload,
|
|
720
720
|
get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -723,7 +723,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
|
|
|
723
723
|
snapshot
|
|
724
724
|
});
|
|
725
725
|
}));
|
|
726
|
-
var
|
|
726
|
+
var node88 = makeLocationNode({ service: Service86, layer, deps: [node95, node89, node92] });
|
|
727
727
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
728
728
|
const module = yield* Effect2.tryPromise({
|
|
729
729
|
try: () => {
|
|
@@ -745,4 +745,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
745
745
|
return module;
|
|
746
746
|
});
|
|
747
747
|
|
|
748
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
748
|
+
export { rewrite2, native2, exports_aisdk_native, ID17, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request4, Compaction3, Cache2, Transport2, Settings2, Info25, Service86, node88, exports_provider5, Event17 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-5bevz5wx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service93,
|
|
7
|
+
node95
|
|
8
|
+
} from "./schema-85vqx18w.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service77,
|
|
11
|
+
node79
|
|
12
|
+
} from "./schema-2a9gbc7r.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service67,
|
|
15
|
+
node69
|
|
16
|
+
} from "./schema-yx7jjv83.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./schema-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make29
|
|
22
|
+
} from "./schema-jg11hrrc.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service65
|
|
26
|
+
} from "./schema-xdcpcrtr.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service72,
|
|
29
|
+
node74
|
|
30
|
+
} from "./schema-7s71rvzj.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./schema-sjtm08sb.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./schema-43ckntww.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./schema-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution2 = {};
|
|
43
43
|
__export(exports_execution2, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service64,
|
|
45
45
|
SessionExecution: () => exports_execution2,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer22,
|
|
47
|
+
node: () => node67,
|
|
48
48
|
noopLayer: () => noopLayer3,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service64 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const jobs = yield*
|
|
62
|
+
var layer22 = Layer.effect(Service64, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service72;
|
|
64
|
+
const instances = yield* Service67;
|
|
65
|
+
const bus = yield* Service93;
|
|
66
|
+
const jobs = yield* Service77;
|
|
67
67
|
const db = (yield* Service94).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,14 +76,14 @@ var layer21 = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service65.use((runner) => runner.drain({ sessionID, force, continuation, promotable, stepped })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable, result.stepped),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable, result.stepped)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make29({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer21 = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service64.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer21 = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node67 = makeGlobalNode({
|
|
127
|
+
service: Service64,
|
|
128
|
+
layer: layer22,
|
|
129
|
+
deps: [node74, node69, node95, node96, node79]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer3 = Layer.succeed(
|
|
131
|
+
var noopLayer3 = Layer.succeed(Service64, Service64.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service59, Service59.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service64, terminal2, layer22, node67, noopLayer3, exports_execution2 };
|