@opencode/core 0.0.0-dev-99 → 0.0.0-dev-106
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 +89 -89
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +7 -7
- package/dist/bus.js +79 -79
- package/dist/chunks/{voice-2jmne6ge.js → file-retention-00ensp01.js} +7 -7
- package/dist/chunks/{voice-c9fqvz1s.js → file-retention-01cw0x8c.js} +29 -29
- package/dist/chunks/{voice-aj7mw0zk.js → file-retention-034tev2y.js} +2 -2
- package/dist/chunks/{voice-pt6pp4rd.js → file-retention-05acc43v.js} +9 -9
- package/dist/chunks/{voice-ayac0pmv.js → file-retention-0d5wzp0a.js} +43 -43
- package/dist/chunks/{voice-r9zrswe1.js → file-retention-0gbb59p9.js} +9 -9
- package/dist/chunks/{voice-7x4xr4z7.js → file-retention-0geb145b.js} +13 -13
- package/dist/chunks/{voice-pdhpv67q.js → file-retention-10fq91z6.js} +43 -43
- package/dist/chunks/{voice-34zgj7qr.js → file-retention-11b27yxh.js} +15 -15
- package/dist/chunks/{voice-zam3nmgc.js → file-retention-11fnx5ad.js} +3 -3
- package/dist/chunks/{voice-f363njpc.js → file-retention-13ebf3mq.js} +2 -2
- package/dist/chunks/{voice-gjx514tf.js → file-retention-17qfb74n.js} +11 -11
- package/dist/chunks/{voice-tb7p4ryh.js → file-retention-18fr36ja.js} +8 -8
- package/dist/chunks/{voice-we63vvfq.js → file-retention-1bazgwy0.js} +25 -25
- package/dist/chunks/{voice-e850hve9.js → file-retention-1dmvqq8e.js} +15 -15
- package/dist/chunks/{voice-27w5k9zf.js → file-retention-1ep2p91f.js} +2 -2
- package/dist/chunks/{voice-x9wkxbjw.js → file-retention-1gc92e9b.js} +47 -47
- package/dist/chunks/{voice-gtn9c16a.js → file-retention-1kn6jdkn.js} +4 -4
- package/dist/chunks/{voice-8ferbn28.js → file-retention-1npk31dn.js} +5 -5
- package/dist/chunks/{voice-kp07per1.js → file-retention-1p7ae65c.js} +11 -11
- package/dist/chunks/{voice-t34jsjd6.js → file-retention-1tpd8jbg.js} +56 -56
- package/dist/chunks/{voice-1x2knyw4.js → file-retention-1x2knyw4.js} +1 -1
- package/dist/chunks/{voice-qy1n5mv3.js → file-retention-1xawp968.js} +4 -4
- package/dist/chunks/{voice-1yq9hg58.js → file-retention-1yq9hg58.js} +1 -1
- package/dist/chunks/{voice-204s3925.js → file-retention-204s3925.js} +1 -1
- package/dist/chunks/{voice-95ny5wdh.js → file-retention-213ntr4e.js} +31 -31
- package/dist/chunks/{voice-ezp6wd1h.js → file-retention-220xmsjv.js} +16 -16
- package/dist/chunks/{voice-h0wn6ym7.js → file-retention-257338nf.js} +18 -18
- package/dist/chunks/{voice-tvssxyt8.js → file-retention-26x8chrq.js} +6 -6
- package/dist/chunks/{voice-rnbe7wjx.js → file-retention-284vr7mk.js} +5 -5
- package/dist/chunks/{voice-nycn27sp.js → file-retention-2djfsmxs.js} +18 -18
- package/dist/chunks/{voice-kjzt0bct.js → file-retention-2hrs92et.js} +14 -14
- package/dist/chunks/{voice-k99k5qjg.js → file-retention-2jznjq70.js} +11 -11
- package/dist/chunks/{voice-sjqs7mej.js → file-retention-2n2jra7h.js} +2 -2
- package/dist/chunks/{voice-8cndmtyr.js → file-retention-2ny0ezjb.js} +21 -21
- package/dist/chunks/{voice-m5whwk5s.js → file-retention-2v29ms50.js} +20 -20
- package/dist/chunks/{voice-sxvmbka1.js → file-retention-3cbzjvxf.js} +70 -25
- package/dist/chunks/{voice-3cgskxpq.js → file-retention-3cgskxpq.js} +3 -3
- package/dist/chunks/{voice-10b07186.js → file-retention-3ctwxhf6.js} +23 -23
- package/dist/chunks/{voice-p6b1k2et.js → file-retention-3grw85tc.js} +11 -11
- package/dist/chunks/{voice-hzn1ztr7.js → file-retention-3gxdekad.js} +5 -5
- package/dist/chunks/{voice-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{voice-3nnrz6f6.js → file-retention-3nnrz6f6.js} +1 -1
- package/dist/chunks/{voice-2azy8kv6.js → file-retention-3ryz99p0.js} +4 -4
- package/dist/chunks/{voice-x54jrvrj.js → file-retention-3t7s1jht.js} +23 -23
- package/dist/chunks/{voice-240htfw9.js → file-retention-4app0d5h.js} +26 -26
- package/dist/chunks/{voice-vcqt97er.js → file-retention-4en8p6w3.js} +8 -8
- package/dist/chunks/{voice-e2cw23xq.js → file-retention-4exy2tgb.js} +77 -77
- package/dist/chunks/{voice-zyqj5zdv.js → file-retention-4p3hg7qr.js} +8 -8
- package/dist/chunks/{voice-4pyp9zr9.js → file-retention-4pyp9zr9.js} +1 -1
- package/dist/chunks/{voice-t1w7e31t.js → file-retention-4tsasp0w.js} +12 -12
- package/dist/chunks/{voice-4v008n1t.js → file-retention-4v008n1t.js} +1 -1
- package/dist/chunks/{voice-9cbnrx2n.js → file-retention-51d35nkj.js} +6 -6
- package/dist/chunks/{voice-5menbnme.js → file-retention-530qnn32.js} +54 -54
- package/dist/chunks/{voice-9mke522w.js → file-retention-5c35a5tr.js} +13 -13
- package/dist/chunks/{voice-w2eysc6j.js → file-retention-5enarcya.js} +6 -6
- package/dist/chunks/{voice-pkf3y2cc.js → file-retention-5gyja307.js} +4 -4
- package/dist/chunks/{voice-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
- package/dist/chunks/{voice-bmn2dgx0.js → file-retention-6617bgsd.js} +17 -17
- package/dist/chunks/{voice-jq2afmfh.js → file-retention-6d987nwp.js} +23 -23
- package/dist/chunks/{voice-6esdw8yj.js → file-retention-6esdw8yj.js} +1 -1
- package/dist/chunks/{voice-69smecb2.js → file-retention-6mc65ctj.js} +26 -26
- package/dist/chunks/{voice-2cmwvfmq.js → file-retention-6pnx88k5.js} +28 -28
- package/dist/chunks/{voice-pfeq29ft.js → file-retention-6qcwe8h6.js} +9 -9
- package/dist/chunks/{voice-4tqs0jzk.js → file-retention-6ss6ngz0.js} +4 -4
- package/dist/chunks/{voice-6xqtcmxs.js → file-retention-6y263vp8.js} +5 -5
- package/dist/chunks/{voice-jv0tnvtm.js → file-retention-6y6e3gcj.js} +29 -29
- package/dist/chunks/{voice-x1c2c821.js → file-retention-70qgk999.js} +4 -4
- package/dist/chunks/{voice-gry7rz84.js → file-retention-79gnnek8.js} +15 -15
- package/dist/chunks/{voice-q8f8nstw.js → file-retention-7b491anb.js} +11 -11
- package/dist/chunks/{voice-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{voice-9kz2e94z.js → file-retention-7c1hejwc.js} +42 -42
- package/dist/chunks/{voice-44wxb8ky.js → file-retention-7hgt5e5w.js} +6 -6
- package/dist/chunks/{voice-frmkhz9x.js → file-retention-7kf2nsex.js} +8 -8
- package/dist/chunks/{voice-7w2ypzdf.js → file-retention-7w2ypzdf.js} +1 -1
- package/dist/chunks/{voice-ybnpgdfy.js → file-retention-7yect7x1.js} +2 -2
- package/dist/chunks/{voice-zeaee8g3.js → file-retention-82kem97q.js} +20 -20
- package/dist/chunks/{voice-8s6k3hnq.js → file-retention-858yc3fz.js} +2 -2
- package/dist/chunks/{voice-gkwz7c6r.js → file-retention-8dnm6rqe.js} +30 -30
- package/dist/chunks/{voice-q7ajfcnc.js → file-retention-8h66evbt.js} +34 -34
- package/dist/chunks/{voice-mnsk6wet.js → file-retention-8jwdpn38.js} +17 -17
- package/dist/chunks/{voice-11hfp36g.js → file-retention-8jztxfpf.js} +4 -4
- package/dist/chunks/{voice-sbsk23pr.js → file-retention-8p9z5v1r.js} +24 -24
- package/dist/chunks/{voice-prd8gnhb.js → file-retention-8r9nj4s8.js} +4 -4
- package/dist/chunks/{voice-7yrdctck.js → file-retention-8w2sjm13.js} +11 -11
- package/dist/chunks/{voice-8wtp7s3z.js → file-retention-8wtp7s3z.js} +1 -1
- package/dist/chunks/{voice-9f3sjfep.js → file-retention-8yhc7zrg.js} +9 -9
- package/dist/chunks/{voice-90zstvax.js → file-retention-90zstvax.js} +1 -1
- package/dist/chunks/{voice-333y4y1k.js → file-retention-94khjvtj.js} +28 -28
- package/dist/chunks/{voice-nrpx6v5h.js → file-retention-97vq97zw.js} +5 -5
- package/dist/chunks/{voice-0wr6s8hf.js → file-retention-9c0sbrgq.js} +5 -5
- package/dist/chunks/{voice-wkvtmc5w.js → file-retention-9grvd76r.js} +5 -5
- package/dist/chunks/{voice-w35wzz9x.js → file-retention-9q8g9sv8.js} +4 -4
- package/dist/chunks/{voice-dqq96mb5.js → file-retention-9qyfvz4m.js} +10 -10
- package/dist/chunks/{voice-w9t3mw71.js → file-retention-aahkq6z2.js} +8 -8
- package/dist/chunks/{voice-rrw0faen.js → file-retention-abwhxwyy.js} +6 -11
- package/dist/chunks/{voice-p68v8nme.js → file-retention-akjr89gm.js} +5 -5
- package/dist/chunks/{voice-x1xkmpff.js → file-retention-ant32n8a.js} +17 -17
- package/dist/chunks/{voice-t0k6e1ss.js → file-retention-at3ha3gd.js} +13 -13
- package/dist/chunks/{voice-ax2tydf9.js → file-retention-atk704ss.js} +15 -15
- package/dist/chunks/{voice-qpq5hhd3.js → file-retention-aw4q487d.js} +22 -22
- package/dist/chunks/{voice-3cbjf1nt.js → file-retention-ayjs7tqn.js} +2 -2
- package/dist/chunks/{voice-wt5afxdw.js → file-retention-b27sr8xw.js} +29 -29
- package/dist/chunks/{voice-vg44zv8d.js → file-retention-b2e3mpfn.js} +14 -14
- package/dist/chunks/{voice-gsn45bse.js → file-retention-b4fxnh5x.js} +4 -4
- package/dist/chunks/{voice-b6vsg801.js → file-retention-b6vsg801.js} +2 -2
- package/dist/chunks/{voice-pjbhqqeh.js → file-retention-b78pvnk0.js} +18 -18
- package/dist/chunks/{voice-mcwjwgrj.js → file-retention-bdady26x.js} +30 -30
- package/dist/chunks/{voice-e775pq2z.js → file-retention-bdxrme4x.js} +27 -27
- package/dist/chunks/{voice-b82aa4t7.js → file-retention-bewng5xt.js} +24 -24
- package/dist/chunks/{voice-zpg8yxxw.js → file-retention-bg4dmm5d.js} +15 -15
- package/dist/chunks/{voice-bjhzkqyk.js → file-retention-bjhzkqyk.js} +1 -1
- package/dist/chunks/{voice-c1xzz700.js → file-retention-bqhtr9km.js} +18 -18
- package/dist/chunks/{voice-bstexjd6.js → file-retention-bstexjd6.js} +1 -1
- package/dist/chunks/{voice-2yetf460.js → file-retention-bzk4ydrv.js} +78 -78
- package/dist/chunks/{voice-gw3b4235.js → file-retention-c0wmmjhw.js} +43 -43
- package/dist/chunks/{voice-wv1mwfaa.js → file-retention-cap58psb.js} +8 -8
- package/dist/chunks/{voice-yhdj4qa2.js → file-retention-cbn5qz6c.js} +16 -16
- package/dist/chunks/{voice-jv541gt1.js → file-retention-ce8850xx.js} +5 -5
- package/dist/chunks/{voice-cwrgdav8.js → file-retention-cwrgdav8.js} +2 -2
- package/dist/chunks/{voice-yxheenbn.js → file-retention-d0hcg7jd.js} +23 -23
- package/dist/chunks/{voice-d2887f8n.js → file-retention-d2887f8n.js} +1 -1
- package/dist/chunks/{voice-d4v9tmah.js → file-retention-d4v9tmah.js} +2 -2
- package/dist/chunks/{voice-tzax1vfd.js → file-retention-d6bett94.js} +31 -31
- package/dist/chunks/{voice-bzpz13xw.js → file-retention-dnphr175.js} +9 -9
- package/dist/chunks/{voice-k6dyd1ry.js → file-retention-dskmn5nd.js} +31 -31
- package/dist/chunks/{voice-dt77769w.js → file-retention-dt77769w.js} +1 -1
- package/dist/chunks/{voice-g7addse0.js → file-retention-dvpav3c8.js} +18 -18
- package/dist/chunks/{voice-tzha5hs4.js → file-retention-dzpz9w51.js} +30 -30
- package/dist/chunks/{voice-k056mj60.js → file-retention-e0h4m4ge.js} +4 -4
- package/dist/chunks/{voice-mgwcrd4g.js → file-retention-e2mp0d97.js} +25 -25
- package/dist/chunks/{voice-6346x9cy.js → file-retention-e486tjyp.js} +5 -5
- package/dist/chunks/{voice-f9p5sf8g.js → file-retention-e684jnvx.js} +7 -7
- package/dist/chunks/{voice-e834z07m.js → file-retention-e834z07m.js} +1 -1
- package/dist/chunks/{voice-dgz2vxrq.js → file-retention-ectwy8nt.js} +5 -5
- package/dist/chunks/{voice-c6m216ht.js → file-retention-ed1jg8md.js} +28 -28
- package/dist/chunks/{voice-27rkw089.js → file-retention-ed1x3daz.js} +21 -21
- package/dist/chunks/{voice-tnas20nf.js → file-retention-ek5b82yj.js} +39 -39
- package/dist/chunks/{voice-ttkm7wr9.js → file-retention-ep2aybfb.js} +25 -25
- package/dist/chunks/{voice-epbqh0vp.js → file-retention-epbqh0vp.js} +1 -1
- package/dist/chunks/{voice-x1v6dac7.js → file-retention-exqnczdn.js} +18 -18
- package/dist/chunks/{voice-gwpw7hr2.js → file-retention-f6n5e1dm.js} +9 -9
- package/dist/chunks/file-retention-f8ma18fn.js +18 -0
- package/dist/chunks/{voice-0dabjbsv.js → file-retention-f9nn1sjd.js} +23 -23
- package/dist/chunks/file-retention-fb3r9cnw.js +26 -0
- package/dist/chunks/{voice-m4knd7af.js → file-retention-fd09956s.js} +4 -4
- package/dist/chunks/{voice-fffv3p7h.js → file-retention-fffv3p7h.js} +1 -1
- package/dist/chunks/{voice-fg9p65nk.js → file-retention-fg9p65nk.js} +2 -2
- package/dist/chunks/{voice-epbga8mh.js → file-retention-fng6wk28.js} +11 -11
- package/dist/chunks/{voice-qtz59mmv.js → file-retention-fz3avstq.js} +19 -19
- package/dist/chunks/{voice-agqd6nxz.js → file-retention-g6dfma3d.js} +6 -6
- package/dist/chunks/{voice-ep59zg61.js → file-retention-gg8p9cgs.js} +3 -3
- package/dist/chunks/{voice-azdyaqcs.js → file-retention-gk998fjy.js} +23 -23
- package/dist/chunks/{voice-6qmm9t44.js → file-retention-gwb4hjpw.js} +3 -3
- package/dist/chunks/{voice-hgyh4sbk.js → file-retention-h3hvekyy.js} +11 -11
- package/dist/chunks/{voice-k3md7259.js → file-retention-h4v9p5rq.js} +3 -3
- package/dist/chunks/{voice-qp2aqw05.js → file-retention-h5tttybt.js} +25 -25
- package/dist/chunks/{voice-e3x4a5y3.js → file-retention-h6t0znmf.js} +9 -9
- package/dist/chunks/{voice-1vhppp2d.js → file-retention-h9awvcw8.js} +40 -40
- package/dist/chunks/{voice-c46s9eb3.js → file-retention-haf3v3hy.js} +5 -5
- package/dist/chunks/{voice-hdfrs5mg.js → file-retention-hdfrs5mg.js} +2 -2
- package/dist/chunks/{voice-hpg1pkwy.js → file-retention-hpg1pkwy.js} +1 -1
- package/dist/chunks/{voice-mqe7nf5n.js → file-retention-hqxkkta1.js} +3 -3
- package/dist/chunks/{voice-j8wphgxv.js → file-retention-hrgy1ehp.js} +11 -11
- package/dist/chunks/{voice-j07qkm4a.js → file-retention-hrzny8v8.js} +21 -21
- package/dist/chunks/{voice-8w4jng2b.js → file-retention-htrvxm7y.js} +25 -25
- package/dist/chunks/{voice-dp7f6ap0.js → file-retention-hwg9r3t9.js} +44 -44
- package/dist/chunks/{voice-jbca2cyk.js → file-retention-jb9hj9nr.js} +6 -6
- package/dist/chunks/{voice-tw2exgye.js → file-retention-je0z6vt0.js} +19 -19
- package/dist/chunks/{voice-jfaecv01.js → file-retention-jfaecv01.js} +1 -1
- package/dist/chunks/{voice-jtnps1zs.js → file-retention-jtnps1zs.js} +2 -2
- package/dist/chunks/{voice-dzctypk2.js → file-retention-jyq1zm3m.js} +35 -35
- package/dist/chunks/{voice-j8pxpn7p.js → file-retention-jz9sppn7.js} +4 -4
- package/dist/chunks/{voice-k814nvkf.js → file-retention-k814nvkf.js} +1 -1
- package/dist/chunks/{voice-v91x0m3b.js → file-retention-kexjjz2s.js} +34 -34
- package/dist/chunks/{voice-8hmvetrj.js → file-retention-ksbsws88.js} +12 -12
- package/dist/chunks/{voice-kt3bjfbg.js → file-retention-kt3bjfbg.js} +1 -1
- package/dist/chunks/{voice-m1714858.js → file-retention-m1714858.js} +1 -1
- package/dist/chunks/{voice-4wt9s2pf.js → file-retention-m37mrzs7.js} +10 -10
- package/dist/chunks/{voice-m37sd98t.js → file-retention-m37sd98t.js} +1 -1
- package/dist/chunks/{voice-gkng5bng.js → file-retention-m4qbnc51.js} +6 -6
- package/dist/chunks/{voice-rhj80qy2.js → file-retention-m5z5bky1.js} +24 -24
- package/dist/chunks/{voice-zfxph5ba.js → file-retention-m8d78p9r.js} +3 -3
- package/dist/chunks/{voice-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{voice-rqnts8nb.js → file-retention-ma8y8rx5.js} +6 -6
- package/dist/chunks/{voice-xc7y8zhy.js → file-retention-mc71x809.js} +4 -4
- package/dist/chunks/{voice-3c0w14m0.js → file-retention-mq7hpmjw.js} +16 -16
- package/dist/chunks/{voice-ja4rm3bq.js → file-retention-mqr8efz6.js} +9 -9
- package/dist/chunks/{voice-5ne14kqg.js → file-retention-mxhqtbmm.js} +12 -12
- package/dist/chunks/{voice-n879fzbw.js → file-retention-mz3668s9.js} +11 -11
- package/dist/chunks/{voice-hd03fjjx.js → file-retention-n4mbpr34.js} +48 -48
- package/dist/chunks/{voice-ymxzvk0t.js → file-retention-n4q7tcga.js} +18 -18
- package/dist/chunks/{voice-nah043kf.js → file-retention-nah043kf.js} +1 -1
- package/dist/chunks/{voice-j4retg1q.js → file-retention-nbbcay66.js} +8 -8
- package/dist/chunks/{voice-4v9de40m.js → file-retention-nd9x6dx5.js} +7 -7
- package/dist/chunks/{voice-z4ydffp6.js → file-retention-nspspvnz.js} +12 -12
- package/dist/chunks/{voice-2s709x84.js → file-retention-nwyfjcs7.js} +8 -8
- package/dist/chunks/{voice-p015t6z3.js → file-retention-p015t6z3.js} +2 -2
- package/dist/chunks/{voice-mzgmcrrm.js → file-retention-p2dy9dmh.js} +18 -18
- package/dist/chunks/file-retention-p44nm9sv.js +257 -0
- package/dist/chunks/{voice-2tk5fqnx.js → file-retention-pdbk0b84.js} +33 -33
- package/dist/chunks/{voice-d12qgqfw.js → file-retention-pg7tzw83.js} +22 -22
- package/dist/chunks/{voice-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{voice-tf9r37f3.js → file-retention-pnwsrq7c.js} +11 -11
- package/dist/chunks/{voice-wrffcx1c.js → file-retention-pqz8f4xz.js} +11 -11
- package/dist/chunks/{voice-xxm4fdq6.js → file-retention-prdb4jtf.js} +15 -15
- package/dist/chunks/{voice-m8nbpmy9.js → file-retention-ptdgs7e1.js} +12 -12
- package/dist/chunks/{voice-2nj48t4r.js → file-retention-pxsskgvr.js} +11 -11
- package/dist/chunks/{voice-xcwc3724.js → file-retention-q2a1qg4p.js} +3 -3
- package/dist/chunks/{voice-2rvz45tb.js → file-retention-qc86zz63.js} +11 -11
- package/dist/chunks/{voice-ggdqje0p.js → file-retention-qerk2cbg.js} +12 -12
- package/dist/chunks/{voice-9cnma5t8.js → file-retention-qjdvspq8.js} +4 -4
- package/dist/chunks/{voice-sh1hr9wt.js → file-retention-qp0h8mz4.js} +45 -45
- package/dist/chunks/{voice-qp7r0hxv.js → file-retention-qp7r0hxv.js} +1 -1
- package/dist/chunks/{voice-7dq6dzyb.js → file-retention-qtgtdkvq.js} +8 -8
- package/dist/chunks/{voice-w2qz52ff.js → file-retention-qymv4vqy.js} +6 -6
- package/dist/chunks/{voice-7wfz880e.js → file-retention-qz7zdzmc.js} +9 -9
- package/dist/chunks/{voice-r0yr0wbs.js → file-retention-r0yr0wbs.js} +1 -1
- package/dist/chunks/{voice-r542h3bh.js → file-retention-r542h3bh.js} +1 -1
- package/dist/chunks/{voice-n8bsmrat.js → file-retention-r67zf7b0.js} +41 -41
- package/dist/chunks/{voice-pw86wcs0.js → file-retention-r8c7z53f.js} +21 -21
- package/dist/chunks/{voice-rb9dy4dg.js → file-retention-rb9dy4dg.js} +1 -1
- package/dist/chunks/{voice-gcjdgkn2.js → file-retention-rmt6m6se.js} +9 -9
- package/dist/chunks/{voice-tsfb2tny.js → file-retention-rnnfdfqg.js} +26 -26
- package/dist/chunks/{voice-rt5dr6hb.js → file-retention-rt5dr6hb.js} +1 -1
- package/dist/chunks/{voice-cr7taz2b.js → file-retention-ryddx2hx.js} +32 -32
- package/dist/chunks/{voice-sa3fpqfw.js → file-retention-sa3fpqfw.js} +2 -2
- package/dist/chunks/{voice-khwzpnwr.js → file-retention-saqfpqv7.js} +24 -24
- package/dist/chunks/file-retention-sd7aqspp.js +511 -0
- package/dist/chunks/{voice-sqjzf8x2.js → file-retention-sqjzf8x2.js} +1 -1
- package/dist/chunks/{voice-svcy3p9a.js → file-retention-svcy3p9a.js} +1 -1
- package/dist/chunks/{voice-dfm98kbp.js → file-retention-t9vygg4h.js} +14 -14
- package/dist/chunks/{voice-tczq8hjw.js → file-retention-tczq8hjw.js} +1 -1
- package/dist/chunks/{voice-5vh1kv03.js → file-retention-tpm8y58e.js} +39 -39
- package/dist/chunks/{voice-7yxj48h3.js → file-retention-tv6nmqg6.js} +18 -18
- package/dist/chunks/{voice-zvwptkbn.js → file-retention-tvbcxp3f.js} +11 -11
- package/dist/chunks/{voice-twssxy5n.js → file-retention-twssxy5n.js} +2 -2
- package/dist/chunks/{voice-dc0p1gvq.js → file-retention-tya21j9a.js} +29 -29
- package/dist/chunks/{voice-5cdyypjb.js → file-retention-tzm99g9n.js} +11 -11
- package/dist/chunks/{voice-v2r1d0zg.js → file-retention-v2r1d0zg.js} +1 -1
- package/dist/chunks/{voice-ee6z14je.js → file-retention-v5h34zxn.js} +6 -6
- package/dist/chunks/{voice-rgxa1khh.js → file-retention-va65z9ez.js} +13 -13
- package/dist/chunks/{voice-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
- package/dist/chunks/{voice-ds6m7yxn.js → file-retention-vfqzwbd6.js} +25 -25
- package/dist/chunks/{voice-gy90jt1b.js → file-retention-vh7hpp0n.js} +11 -11
- package/dist/chunks/{voice-yeejah88.js → file-retention-vpm8vpz0.js} +3 -3
- package/dist/chunks/{voice-tjengf1z.js → file-retention-vtftkppy.js} +33 -33
- package/dist/chunks/{voice-qye54pkd.js → file-retention-w046pjj9.js} +6 -6
- package/dist/chunks/{voice-qzkaf7ck.js → file-retention-w1ampmdn.js} +91 -91
- package/dist/chunks/{voice-vb6nsr4p.js → file-retention-w1n8wyt0.js} +18 -18
- package/dist/chunks/{voice-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{voice-wr3re1en.js → file-retention-w687dnns.js} +4 -4
- package/dist/chunks/{voice-76cb1hcw.js → file-retention-w8qtt4th.js} +4 -4
- package/dist/chunks/{voice-ptf8rtgv.js → file-retention-w9g7809j.js} +11 -11
- package/dist/chunks/{voice-wakvkjy4.js → file-retention-wakvkjy4.js} +1 -1
- package/dist/chunks/{voice-mp08ce1a.js → file-retention-wc3hvwsb.js} +22 -22
- package/dist/chunks/{voice-zks6jtay.js → file-retention-wcjz4gw8.js} +13 -13
- package/dist/chunks/{voice-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{voice-mz4jnm5z.js → file-retention-wdj410na.js} +34 -34
- package/dist/chunks/{voice-xtx0w7v7.js → file-retention-wdx8z5j2.js} +8 -8
- package/dist/chunks/{voice-q7wd12e3.js → file-retention-wevd75am.js} +9 -9
- package/dist/chunks/{voice-xzf037z6.js → file-retention-wmrfeaxa.js} +30 -30
- package/dist/chunks/{voice-wnhgecwx.js → file-retention-wnhgecwx.js} +1 -1
- package/dist/chunks/{voice-zba06pnj.js → file-retention-x08t3gav.js} +19 -19
- package/dist/chunks/{voice-8mhbx0x4.js → file-retention-x38q2hx0.js} +25 -25
- package/dist/chunks/{voice-kznshby3.js → file-retention-xaz3vqte.js} +6 -6
- package/dist/chunks/{voice-xvzka3w1.js → file-retention-xdjf2s1h.js} +16 -16
- package/dist/chunks/{voice-39vpqnck.js → file-retention-xkjzrxhz.js} +17 -17
- package/dist/chunks/{voice-pnpsyps7.js → file-retention-xm94g0fx.js} +162 -162
- package/dist/chunks/{voice-77aqw605.js → file-retention-xmt6n58z.js} +16 -16
- package/dist/chunks/{voice-z9h078tt.js → file-retention-xwfc5a9y.js} +29 -29
- package/dist/chunks/{voice-qkw2jr9b.js → file-retention-yara3q77.js} +2 -2
- package/dist/chunks/{voice-yb20nhc3.js → file-retention-yb20nhc3.js} +1 -1
- package/dist/chunks/{voice-160yv0cs.js → file-retention-ydsespw1.js} +4 -4
- package/dist/chunks/{voice-z0excmh6.js → file-retention-yes5e36g.js} +13 -13
- package/dist/chunks/{voice-ryp7x2h1.js → file-retention-yjq04dxh.js} +47 -47
- package/dist/chunks/{voice-fdbhccrr.js → file-retention-ymetyeqh.js} +11 -11
- package/dist/chunks/{voice-9hdzsva2.js → file-retention-ys5044sq.js} +1 -1
- package/dist/chunks/{voice-egye72a3.js → file-retention-yztxn572.js} +4 -4
- package/dist/chunks/{voice-pcpwb3fy.js → file-retention-z04zt6pc.js} +16 -16
- package/dist/chunks/{voice-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
- package/dist/chunks/{voice-z38nccrw.js → file-retention-z38nccrw.js} +1 -1
- package/dist/chunks/{voice-qvaq9h2b.js → file-retention-z6te0x2y.js} +34 -34
- package/dist/chunks/{voice-s96vctdr.js → file-retention-z9rbxwes.js} +8 -8
- package/dist/chunks/{voice-zgkm4kzm.js → file-retention-zgkm4kzm.js} +3 -3
- package/dist/chunks/{voice-mdqd5s8j.js → file-retention-zhvf8v5k.js} +6 -6
- package/dist/chunks/{voice-gvc7qt4p.js → file-retention-zqfva1zy.js} +1 -1
- package/dist/chunks/{voice-v6ghzfeb.js → file-retention-zw4pk1bw.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +89 -89
- package/dist/config/discovery.js +92 -92
- package/dist/config/integration.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +219 -219
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +121 -121
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +121 -121
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +120 -120
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +76 -76
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +96 -96
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +381 -381
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +103 -103
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +80 -80
- package/dist/file-access.js +148 -148
- package/dist/file-mutation.js +102 -102
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +86 -86
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +232 -232
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +112 -112
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +113 -113
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +372 -372
- package/dist/instruction-discovery.js +88 -88
- package/dist/instructions/builtins.js +91 -91
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +89 -89
- package/dist/job.js +82 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +166 -166
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +369 -369
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +117 -117
- package/dist/mcp/instructions.js +168 -168
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +106 -106
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +145 -145
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +96 -96
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +108 -108
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +225 -225
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +342 -342
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +123 -123
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +123 -123
- package/dist/plugin/provider/opencode.js +124 -124
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vercel.js +98 -98
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +175 -175
- package/dist/plugin/sdk.js +82 -82
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +361 -361
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- 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 +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +236 -236
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +105 -105
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +106 -106
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +96 -96
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -105
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +164 -164
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -96
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +231 -231
- package/dist/session/execution.js +152 -152
- package/dist/session/generate.js +188 -188
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +136 -136
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +85 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +132 -132
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +155 -155
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +154 -154
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +81 -81
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +192 -192
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +227 -227
- package/dist/session/usage.js +1 -1
- package/dist/session.js +225 -225
- 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 +11 -11
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +141 -141
- package/dist/skill.js +150 -150
- package/dist/snapshot.js +99 -99
- 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 +165 -165
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +158 -158
- package/dist/tool/plugin/grep.js +160 -160
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +156 -156
- package/dist/tool/plugin/question.js +138 -138
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +222 -222
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +226 -226
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +147 -147
- package/dist/tool/plugin/websearch.js +143 -143
- package/dist/tool/plugin/write.js +156 -156
- package/dist/tool/read-filesystem.js +108 -108
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/usage-limits.js +95 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +100 -100
- package/dist/v1/config/permission.js +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 +101 -101
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +93 -93
- package/dist/voice.js +96 -96
- package/dist/websearch.js +88 -88
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +106 -106
- package/package.json +8 -8
- package/dist/chunks/voice-6pj15psn.js +0 -511
- package/dist/chunks/voice-a610t88q.js +0 -18
- package/dist/chunks/voice-m22zt8nd.js +0 -26
- package/dist/chunks/voice-xhgq90d0.js +0 -257
- /package/dist/chunks/{voice-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{voice-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{voice-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{voice-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{voice-1jakw16s.js → file-retention-1jakw16s.js} +0 -0
- /package/dist/chunks/{voice-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
- /package/dist/chunks/{voice-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{voice-2bv980vf.js → file-retention-2bv980vf.js} +0 -0
- /package/dist/chunks/{voice-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{voice-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{voice-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{voice-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{voice-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{voice-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{voice-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{voice-4m86bj6y.js → file-retention-4m86bj6y.js} +0 -0
- /package/dist/chunks/{voice-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{voice-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{voice-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{voice-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{voice-5w3e23ze.js → file-retention-5w3e23ze.js} +0 -0
- /package/dist/chunks/{voice-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{voice-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{voice-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{voice-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{voice-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{voice-84wd9syh.js → file-retention-84wd9syh.js} +0 -0
- /package/dist/chunks/{voice-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{voice-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{voice-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
- /package/dist/chunks/{voice-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{voice-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{voice-a058387c.js → file-retention-a058387c.js} +0 -0
- /package/dist/chunks/{voice-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{voice-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{voice-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{voice-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{voice-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{voice-beh6qq61.js → file-retention-beh6qq61.js} +0 -0
- /package/dist/chunks/{voice-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{voice-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{voice-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{voice-cqv5kn06.js → file-retention-cqv5kn06.js} +0 -0
- /package/dist/chunks/{voice-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{voice-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{voice-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{voice-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
- /package/dist/chunks/{voice-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{voice-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{voice-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{voice-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{voice-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{voice-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{voice-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{voice-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{voice-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{voice-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{voice-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{voice-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{voice-fkpq3x5p.js → file-retention-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{voice-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{voice-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{voice-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{voice-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{voice-hcxmzztb.js → file-retention-hcxmzztb.js} +0 -0
- /package/dist/chunks/{voice-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{voice-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{voice-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{voice-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
- /package/dist/chunks/{voice-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{voice-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{voice-jwr30sdr.js → file-retention-jwr30sdr.js} +0 -0
- /package/dist/chunks/{voice-jze0r7bz.js → file-retention-jze0r7bz.js} +0 -0
- /package/dist/chunks/{voice-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{voice-m18g726c.js → file-retention-m18g726c.js} +0 -0
- /package/dist/chunks/{voice-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{voice-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{voice-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{voice-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{voice-ncqqe42p.js → file-retention-ncqqe42p.js} +0 -0
- /package/dist/chunks/{voice-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{voice-p71gwv9c.js → file-retention-p71gwv9c.js} +0 -0
- /package/dist/chunks/{voice-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{voice-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{voice-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{voice-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{voice-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{voice-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
- /package/dist/chunks/{voice-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{voice-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{voice-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{voice-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{voice-ve7vex1e.js → file-retention-ve7vex1e.js} +0 -0
- /package/dist/chunks/{voice-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{voice-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{voice-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{voice-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{voice-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{voice-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{voice-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{voice-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
- /package/dist/chunks/{voice-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{voice-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
- /package/dist/chunks/{voice-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{voice-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-4en8p6w3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./file-retention-mq7hpmjw.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event18
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-1bazgwy0.js";
|
|
11
11
|
import {
|
|
12
12
|
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-d0hcg7jd.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-yb20nhc3.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID12,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-z6te0x2y.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-retention-3nnrz6f6.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-retention-qymv4vqy.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/openai.ts
|
|
32
32
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -164,10 +164,10 @@ var headless = (app) => ({
|
|
|
164
164
|
}),
|
|
165
165
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
166
166
|
});
|
|
167
|
-
var
|
|
167
|
+
var OpenAIPlugin3 = define({
|
|
168
168
|
id: "opencode.provider.openai",
|
|
169
169
|
effect: Effect.fn(function* (ctx) {
|
|
170
|
-
const bus = yield*
|
|
170
|
+
const bus = yield* Service85;
|
|
171
171
|
const loading = Semaphore.makeUnsafe(1);
|
|
172
172
|
let chatgpt;
|
|
173
173
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -182,9 +182,9 @@ var OpenAIPlugin2 = define({
|
|
|
182
182
|
editor.method.update(headless(ctx.app));
|
|
183
183
|
});
|
|
184
184
|
yield* load();
|
|
185
|
-
const configured = yield* configuredSettings2(
|
|
185
|
+
const configured = yield* configuredSettings2(ID12.openai);
|
|
186
186
|
yield* ctx.provider.transform((providers) => {
|
|
187
|
-
const item = providers.get(
|
|
187
|
+
const item = providers.get(ID12.openai);
|
|
188
188
|
if (!item)
|
|
189
189
|
return;
|
|
190
190
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -204,7 +204,7 @@ var OpenAIPlugin2 = define({
|
|
|
204
204
|
});
|
|
205
205
|
});
|
|
206
206
|
yield* ctx.model.transform((models) => {
|
|
207
|
-
for (const model of models.list(
|
|
207
|
+
for (const model of models.list(ID12.openai)) {
|
|
208
208
|
models.update(model.providerID, model.id, (draft) => {
|
|
209
209
|
if (!chatgpt)
|
|
210
210
|
return;
|
|
@@ -234,12 +234,12 @@ var OpenAIPlugin2 = define({
|
|
|
234
234
|
}));
|
|
235
235
|
evt.headers.originator = "opencode";
|
|
236
236
|
evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
|
|
237
|
-
}), { providerID:
|
|
237
|
+
}), { providerID: ID12.openai });
|
|
238
238
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
239
239
|
delete evt.options.maxTokens;
|
|
240
240
|
});
|
|
241
241
|
for (const name of ["context", "compaction"])
|
|
242
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
242
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID12.openai });
|
|
243
243
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
244
244
|
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
245
245
|
})
|
|
@@ -332,4 +332,4 @@ function claim(token) {
|
|
|
332
332
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
333
333
|
}
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { OpenAIPlugin3 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service72,
|
|
3
|
+
node75
|
|
4
|
+
} from "./file-retention-0geb145b.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionMessage2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-gftt206x.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-vpm8vpz0.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/job.ts
|
|
16
16
|
var exports_job = {};
|
|
17
17
|
__export(exports_job, {
|
|
18
18
|
Job: () => exports_job,
|
|
19
|
-
Service: () =>
|
|
19
|
+
Service: () => Service47,
|
|
20
20
|
make: () => make20,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node50
|
|
22
22
|
});
|
|
23
23
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
48
48
|
var backgroundPrefix = "job.background/";
|
|
49
49
|
var COMPLETED_LIMIT = 25;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service47 extends Context.Service()("@opencode/Job") {
|
|
52
52
|
}
|
|
53
53
|
function snapshot(job) {
|
|
54
54
|
return {
|
|
@@ -84,7 +84,7 @@ function decrementSession(input, sessionID) {
|
|
|
84
84
|
return next;
|
|
85
85
|
}
|
|
86
86
|
var make20 = Effect.gen(function* () {
|
|
87
|
-
const kv = yield*
|
|
87
|
+
const kv = yield* Service72;
|
|
88
88
|
const state = {
|
|
89
89
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
90
90
|
scope: yield* Scope.Scope
|
|
@@ -343,7 +343,7 @@ var make20 = Effect.gen(function* () {
|
|
|
343
343
|
next.delete(entry[0]);
|
|
344
344
|
return next;
|
|
345
345
|
})));
|
|
346
|
-
return
|
|
346
|
+
return Service47.of({
|
|
347
347
|
get,
|
|
348
348
|
start,
|
|
349
349
|
wait,
|
|
@@ -356,7 +356,7 @@ var make20 = Effect.gen(function* () {
|
|
|
356
356
|
completeBackground
|
|
357
357
|
});
|
|
358
358
|
});
|
|
359
|
-
var layer = Layer.effect(
|
|
360
|
-
var
|
|
359
|
+
var layer = Layer.effect(Service47, make20);
|
|
360
|
+
var node50 = makeGlobalNode({ service: Service47, layer, deps: [node75] });
|
|
361
361
|
|
|
362
|
-
export {
|
|
362
|
+
export { Service47, make20, node50, exports_job };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./file-retention-6mc65ctj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./file-retention-qp0h8mz4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -17,13 +17,13 @@ __export(exports_question, {
|
|
|
17
17
|
Plugin: () => Plugin51,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name15,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name15 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -53,10 +53,10 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin51 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service74;
|
|
57
|
+
const permission = yield* Service63;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name15,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
62
|
input: Input14,
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export {
|
|
120
|
+
export { name15, description6, Input14, Output10, CancelledError2, toModelContent7, Plugin51, exports_question };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-nd9x6dx5.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-4pyp9zr9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./file-retention-qp0h8mz4.js";
|
|
7
7
|
import {
|
|
8
8
|
MAX_MARKDOWN_BYTES2,
|
|
9
9
|
convertHTMLToMarkdown2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-4vcrnpx2.js";
|
|
11
11
|
import {
|
|
12
12
|
collectBoundedResponseBody2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-3v8g72cx.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/tool/plugin/webfetch.ts
|
|
19
19
|
var exports_webfetch = {};
|
|
20
20
|
__export(exports_webfetch, {
|
|
21
21
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
22
|
-
Input: () =>
|
|
23
|
-
MAX_RESPONSE_BYTES: () =>
|
|
22
|
+
Input: () => Input13,
|
|
23
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
24
24
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin50,
|
|
26
26
|
WebFetchTool: () => exports_webfetch,
|
|
27
27
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
28
28
|
description: () => description5,
|
|
29
29
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
30
|
-
name: () =>
|
|
30
|
+
name: () => name13
|
|
31
31
|
});
|
|
32
32
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
33
33
|
import { Duration, Effect, Schema } from "effect";
|
|
34
34
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
35
35
|
import { Parser } from "htmlparser2";
|
|
36
|
-
var
|
|
37
|
-
var
|
|
36
|
+
var name13 = "webfetch";
|
|
37
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
38
38
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
39
39
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
40
40
|
var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
41
41
|
|
|
42
42
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
43
43
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
44
|
-
var
|
|
44
|
+
var Input13 = Schema.Struct({
|
|
45
45
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
46
46
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
47
47
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -51,7 +51,7 @@ var Input12 = Schema.Struct({
|
|
|
51
51
|
var Output = Schema.Struct({
|
|
52
52
|
url: Schema.String,
|
|
53
53
|
contentType: Schema.String,
|
|
54
|
-
format:
|
|
54
|
+
format: Input13.fields.format,
|
|
55
55
|
output: Schema.String
|
|
56
56
|
});
|
|
57
57
|
var acceptHeader = (format) => {
|
|
@@ -82,7 +82,7 @@ var assertHttpUrl = (url) => {
|
|
|
82
82
|
throw new Error("URL must use http:// or https://");
|
|
83
83
|
};
|
|
84
84
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
85
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
85
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
86
86
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
87
87
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
88
88
|
var convert = (content, contentType, format) => {
|
|
@@ -94,16 +94,16 @@ var convert = (content, contentType, format) => {
|
|
|
94
94
|
return extractTextFromHTML2(content);
|
|
95
95
|
return content;
|
|
96
96
|
};
|
|
97
|
-
var
|
|
97
|
+
var Plugin50 = {
|
|
98
98
|
id: "opencode.tool.webfetch",
|
|
99
99
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
100
100
|
const http = yield* HttpClient.HttpClient;
|
|
101
|
-
const permission = yield*
|
|
101
|
+
const permission = yield* Service63;
|
|
102
102
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
103
|
-
name:
|
|
103
|
+
name: name13,
|
|
104
104
|
options: { codemode: false },
|
|
105
105
|
description: description5,
|
|
106
|
-
input:
|
|
106
|
+
input: Input13,
|
|
107
107
|
output: Output,
|
|
108
108
|
execute: (input, context) => Effect.gen(function* () {
|
|
109
109
|
yield* Effect.try({
|
|
@@ -111,7 +111,7 @@ var Plugin31 = {
|
|
|
111
111
|
catch: (error) => error
|
|
112
112
|
});
|
|
113
113
|
yield* permission.assert({
|
|
114
|
-
action:
|
|
114
|
+
action: name13,
|
|
115
115
|
resources: [input.url],
|
|
116
116
|
save: ["*"],
|
|
117
117
|
metadata: input,
|
|
@@ -169,4 +169,4 @@ function extractTextFromHTML2(html) {
|
|
|
169
169
|
parser.end();
|
|
170
170
|
return text.trim();
|
|
171
171
|
}
|
|
172
|
-
export {
|
|
172
|
+
export { name13, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input13, Plugin50, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service84,
|
|
6
|
+
node88
|
|
7
|
+
} from "./file-retention-3cbzjvxf.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-bstexjd6.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service72,
|
|
16
|
+
node75
|
|
17
|
+
} from "./file-retention-0geb145b.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service58,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node61,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service58 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service84;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service72;
|
|
110
|
+
return Service58.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -169,10 +169,10 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
169
169
|
})
|
|
170
170
|
});
|
|
171
171
|
}));
|
|
172
|
-
var
|
|
173
|
-
service:
|
|
172
|
+
var node61 = makeGlobalNode({
|
|
173
|
+
service: Service58,
|
|
174
174
|
layer,
|
|
175
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
175
|
+
deps: [EffectFlock.node, FSUtil.node, node88, Global.node, node75]
|
|
176
176
|
});
|
|
177
177
|
function errorMessage(error) {
|
|
178
178
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -181,4 +181,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
181
181
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
184
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service58, isError2, validateBranch2, node61, exports_repository_cache };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-8jztxfpf.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-rb9dy4dg.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-sa3fpqfw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -24,15 +24,15 @@ __export(exports_git3, {
|
|
|
24
24
|
Git: () => exports_git3,
|
|
25
25
|
OperationError: () => OperationError3,
|
|
26
26
|
Repository: () => Repository2,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service84,
|
|
28
28
|
TreeID: () => TreeID2,
|
|
29
29
|
Worktree: () => Worktree2,
|
|
30
30
|
WorktreeError: () => WorktreeError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node88
|
|
32
32
|
});
|
|
33
33
|
import os from "os";
|
|
34
34
|
import path from "path";
|
|
35
|
-
import { Cause, Context, Effect, Exit, Layer, Option, Schedule, Schema } from "effect";
|
|
35
|
+
import { Cause, Context, Deferred, Effect, Exit, Layer, Option, Schedule, Schema } from "effect";
|
|
36
36
|
import { ChildProcess } from "effect/process";
|
|
37
37
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
38
38
|
import { AppProcess } from "@opencode/util/process";
|
|
@@ -109,9 +109,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
109
109
|
}) {
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
class
|
|
112
|
+
class Service84 extends Context.Service()("@opencode/Git") {
|
|
113
113
|
}
|
|
114
|
-
var layer = Layer.effect(
|
|
114
|
+
var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
115
115
|
const fs = yield* FSUtil.Service;
|
|
116
116
|
const proc = yield* AppProcess.Service;
|
|
117
117
|
const locks = makeUnsafe2();
|
|
@@ -339,11 +339,19 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
339
339
|
`).pipe(Effect.mapError(operationError("Failed to configure shared Git objects")));
|
|
340
340
|
yield* fs.copyFile(path.join(input.seed.gitDirectory, "index"), path.join(input.directory, "index")).pipe(Effect.ignore);
|
|
341
341
|
});
|
|
342
|
-
const listChanges = Effect.fnUntraced(function* (repository, scope, index) {
|
|
342
|
+
const listChanges = Effect.fnUntraced(function* (repository, scope, index, excludeFrom) {
|
|
343
343
|
const list = (args) => repositoryOperation("refresh", repository, args, { index }).pipe(Effect.map((result) => nuls(result.text).map((file) => RelativePath2.make(file.replace(/\/$/, "")))));
|
|
344
344
|
const [tracked, untracked] = yield* Effect.all([
|
|
345
345
|
list(["diff-files", "--name-only", "-z", "--", literalPathspec(scope)]),
|
|
346
|
-
list([
|
|
346
|
+
list([
|
|
347
|
+
"ls-files",
|
|
348
|
+
"--others",
|
|
349
|
+
...excludeFrom ? [`--exclude-from=${excludeFrom}`] : [],
|
|
350
|
+
"--exclude-standard",
|
|
351
|
+
"-z",
|
|
352
|
+
"--",
|
|
353
|
+
literalPathspec(scope)
|
|
354
|
+
])
|
|
347
355
|
], { concurrency: 2 });
|
|
348
356
|
return { tracked, untracked };
|
|
349
357
|
});
|
|
@@ -439,20 +447,26 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
439
447
|
}), (index) => fs.remove(index, { force: true }).pipe(Effect.ignore));
|
|
440
448
|
const lastCaptures = new Map;
|
|
441
449
|
const preparedStores = new Set;
|
|
450
|
+
const pendingCaptures = new Map;
|
|
451
|
+
const oversizedFiles = new Map;
|
|
442
452
|
const attemptCapture = Effect.fnUntraced(function* (input) {
|
|
453
|
+
const sourceExclude = input.ignores ? path.join(input.ignores.commonDirectory, "info", "exclude") : undefined;
|
|
454
|
+
const excludeFrom = sourceExclude && (yield* fs.existsSafe(sourceExclude)) ? sourceExclude : undefined;
|
|
443
455
|
const result = yield* withTemporaryIndex(input.repository, (index) => Effect.gen(function* () {
|
|
444
456
|
const scanned = yield* indexFingerprint(index);
|
|
445
|
-
const changes = yield* Effect.forEach(input.scopes, (scope) => listChanges(input.repository, scope, index), {
|
|
446
|
-
concurrency: "unbounded"
|
|
447
|
-
});
|
|
457
|
+
const changes = yield* Effect.forEach(input.scopes, (scope) => listChanges(input.repository, scope, index, excludeFrom), { concurrency: "unbounded" });
|
|
448
458
|
const last = lastCaptures.get(input.repository.gitDirectory);
|
|
449
459
|
const untracked = changes.flatMap((change) => change.untracked);
|
|
450
|
-
const
|
|
451
|
-
|
|
460
|
+
const oversized = oversizedFiles.get(input.repository.gitDirectory);
|
|
461
|
+
const stillOversized = new Set(oversized ? (yield* Effect.forEach(untracked.filter((file) => oversized.has(file)), (file) => oversizedStamp(input, file).pipe(Effect.map((current) => current && current === oversized.get(file) ? file : undefined)), { concurrency: 8 })).filter((file) => file !== undefined) : []);
|
|
462
|
+
const excluded = scanned && last?.fingerprint === scanned && changes.every((change) => !change.tracked.length) ? input.ignores ? yield* ignored({
|
|
463
|
+
repository: input.ignores,
|
|
464
|
+
paths: untracked.filter((file) => !stillOversized.has(file))
|
|
465
|
+
}) : new Set : undefined;
|
|
466
|
+
if (last && excluded && untracked.every((file) => excluded.has(file) || stillOversized.has(file)))
|
|
452
467
|
return last.tree;
|
|
453
|
-
yield* Effect.forEach(changes, (change) => updateIndex({ ...input, changes: change, index, excluded })
|
|
454
|
-
|
|
455
|
-
});
|
|
468
|
+
const skipped = (yield* Effect.forEach(changes, (change) => updateIndex({ ...input, changes: change, index, excluded }))).flatMap((update) => update.skipped);
|
|
469
|
+
oversizedFiles.set(input.repository.gitDirectory, new Map((yield* Effect.forEach(skipped, (file) => oversizedStamp(input, file).pipe(Effect.map((value) => [file, value])), { concurrency: 8 })).filter((entry) => entry[1] !== undefined)));
|
|
456
470
|
return yield* writeTree(input.repository, index);
|
|
457
471
|
}));
|
|
458
472
|
if (result.installed)
|
|
@@ -461,7 +475,38 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
461
475
|
lastCaptures.delete(input.repository.gitDirectory);
|
|
462
476
|
return result.value;
|
|
463
477
|
});
|
|
464
|
-
const
|
|
478
|
+
const oversizedStamp = (input, file) => fs.stat(path.join(input.repository.worktree, file)).pipe(Effect.map((info) => input.maximumUntrackedFileBytes && info.type === "File" && Number(info.size) > input.maximumUntrackedFileBytes ? `${info.size}:${Option.getOrUndefined(info.mtime)?.getTime()}` : undefined), Effect.orElseSucceed(() => {
|
|
479
|
+
return;
|
|
480
|
+
}));
|
|
481
|
+
const captureTree = Effect.fn("Git.tree.capture")(function* (input) {
|
|
482
|
+
const key = JSON.stringify([
|
|
483
|
+
input.repository.gitDirectory,
|
|
484
|
+
input.repository.worktree,
|
|
485
|
+
input.scopes,
|
|
486
|
+
input.ignores?.gitDirectory,
|
|
487
|
+
input.maximumUntrackedFileBytes
|
|
488
|
+
]);
|
|
489
|
+
const pending = pendingCaptures.get(key);
|
|
490
|
+
if (pending) {
|
|
491
|
+
const exit = yield* Effect.exit(Deferred.await(pending));
|
|
492
|
+
if (Exit.isSuccess(exit) || !Cause.hasInterruptsOnly(exit.cause))
|
|
493
|
+
return yield* exit;
|
|
494
|
+
}
|
|
495
|
+
const deferred = Deferred.makeUnsafe();
|
|
496
|
+
const release = () => {
|
|
497
|
+
if (pendingCaptures.get(key) === deferred)
|
|
498
|
+
pendingCaptures.delete(key);
|
|
499
|
+
};
|
|
500
|
+
return yield* Effect.uninterruptibleMask((restore) => {
|
|
501
|
+
pendingCaptures.set(key, deferred);
|
|
502
|
+
return restore(captureLocked(input, release)).pipe(Effect.onExit((exit) => {
|
|
503
|
+
release();
|
|
504
|
+
return Deferred.done(deferred, exit);
|
|
505
|
+
}));
|
|
506
|
+
});
|
|
507
|
+
});
|
|
508
|
+
const captureLocked = (input, onStart) => locked(input.repository, Effect.gen(function* () {
|
|
509
|
+
onStart();
|
|
465
510
|
if (!preparedStores.has(input.repository.gitDirectory)) {
|
|
466
511
|
preparedStores.add(input.repository.gitDirectory);
|
|
467
512
|
yield* sweepTemporaryIndexes(input.repository);
|
|
@@ -477,7 +522,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
477
522
|
yield* rebuildIndex(input.repository, input.ignores);
|
|
478
523
|
return yield* attemptCapture(input);
|
|
479
524
|
})));
|
|
480
|
-
}))
|
|
525
|
+
}));
|
|
481
526
|
const isIndexUnreadable = Effect.fnUntraced(function* (repository) {
|
|
482
527
|
if (!(yield* fs.existsSafe(indexFile(repository))))
|
|
483
528
|
return false;
|
|
@@ -777,7 +822,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
777
822
|
kind: index === 0 ? "main" : "linked"
|
|
778
823
|
}));
|
|
779
824
|
});
|
|
780
|
-
return
|
|
825
|
+
return Service84.of({
|
|
781
826
|
repo: { discover, fingerprint, clone, create },
|
|
782
827
|
remote: { get: remote },
|
|
783
828
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -794,7 +839,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
794
839
|
objects: { pack: packObjects }
|
|
795
840
|
});
|
|
796
841
|
}));
|
|
797
|
-
var
|
|
842
|
+
var node88 = makeGlobalNode({ service: Service84, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
798
843
|
function run(cwd, proc, args) {
|
|
799
844
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
800
845
|
}
|
|
@@ -861,4 +906,4 @@ function resolvePath(cwd, value) {
|
|
|
861
906
|
return path.resolve(cwd, normalized);
|
|
862
907
|
}
|
|
863
908
|
|
|
864
|
-
export { Repository2, TreeID2, OperationError3, CommandError2, Worktree2, WorktreeError2,
|
|
909
|
+
export { Repository2, TreeID2, OperationError3, CommandError2, Worktree2, WorktreeError2, Service84, node88, exports_git3 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Document2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-epbqh0vp.js";
|
|
4
4
|
import {
|
|
5
5
|
match2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-z38nccrw.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/managed-policy.ts
|
|
12
12
|
var exports_managed_policy = {};
|