@opencode/core 0.0.0-dev-21906 → 0.0.0-dev-21907
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{location-activity-034tev2y.js → bus-034tev2y.js} +2 -2
- package/dist/chunks/{location-activity-482kh98r.js → bus-03by3cwk.js} +31 -31
- package/dist/chunks/{location-activity-73jdpr2f.js → bus-04gncrqj.js} +5 -5
- package/dist/chunks/{location-activity-g7esga4v.js → bus-06w9ffrv.js} +4 -4
- package/dist/chunks/{location-activity-9sa8grfr.js → bus-0h2835nb.js} +4 -4
- package/dist/chunks/{location-activity-wr3re1en.js → bus-0h8y3ex8.js} +4 -4
- package/dist/chunks/{location-activity-p739s0wx.js → bus-10p7wcyn.js} +10 -10
- package/dist/chunks/{location-activity-11hfp36g.js → bus-11hfp36g.js} +1 -1
- package/dist/chunks/{location-activity-b2nwxcjb.js → bus-14g7fecp.js} +26 -26
- package/dist/chunks/{location-activity-7tpyp9vw.js → bus-160yv0cs.js} +8 -8
- package/dist/chunks/{location-activity-67q25pv2.js → bus-1698wpxp.js} +10 -10
- package/dist/chunks/{location-activity-cnsedr1k.js → bus-1bt9vvmj.js} +6 -6
- package/dist/chunks/{location-activity-1ep2p91f.js → bus-1ep2p91f.js} +2 -2
- package/dist/chunks/{location-activity-zjdt36bx.js → bus-1f4j80qx.js} +4 -4
- package/dist/chunks/{location-activity-nat1e90g.js → bus-1m8y6k7r.js} +23 -23
- package/dist/chunks/{location-activity-86v6j04g.js → bus-1rhv3m8s.js} +7 -7
- package/dist/chunks/{location-activity-fp6ehefe.js → bus-1vzhn0q5.js} +9 -9
- package/dist/chunks/{location-activity-1x2knyw4.js → bus-1x2knyw4.js} +1 -1
- package/dist/chunks/{location-activity-204s3925.js → bus-204s3925.js} +1 -1
- package/dist/chunks/{location-activity-vhz81c34.js → bus-224exebk.js} +17 -17
- package/dist/chunks/{location-activity-fnctf1yg.js → bus-226302vw.js} +7 -7
- package/dist/chunks/{location-activity-3ryz99p0.js → bus-2azy8kv6.js} +4 -4
- package/dist/chunks/bus-2bd7j0hh.js +517 -0
- package/dist/chunks/{location-activity-r73gps7k.js → bus-2hpnm9qe.js} +33 -33
- package/dist/chunks/{location-activity-g09x5psn.js → bus-2sa2kvy2.js} +3 -3
- package/dist/chunks/{location-activity-2z1j29yd.js → bus-2z1j29yd.js} +1 -1
- package/dist/chunks/{location-activity-cmsh4jtn.js → bus-325yf8q3.js} +16 -16
- package/dist/chunks/{location-activity-xw8eq9f1.js → bus-38ys11y3.js} +5 -5
- package/dist/chunks/{location-activity-0k1zavf7.js → bus-3cdqwz07.js} +11 -11
- package/dist/chunks/{location-activity-mzh41dqs.js → bus-3e8ceph6.js} +20 -20
- package/dist/chunks/{location-activity-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-activity-3nnrz6f6.js → bus-3nnrz6f6.js} +1 -1
- package/dist/chunks/{location-activity-3t73xeyv.js → bus-3t73xeyv.js} +2 -2
- package/dist/chunks/{location-activity-bs8d7dnk.js → bus-3td5s6k1.js} +4 -4
- package/dist/chunks/{location-activity-m397874r.js → bus-3x5ztk31.js} +54 -54
- package/dist/chunks/{location-activity-4v008n1t.js → bus-4v008n1t.js} +1 -1
- package/dist/chunks/{location-activity-4xvmh7wp.js → bus-4xvmh7wp.js} +3 -3
- package/dist/chunks/{location-activity-cep3p586.js → bus-4y19xy8j.js} +2 -2
- package/dist/chunks/{location-activity-3hwq8fv1.js → bus-515bhrak.js} +16 -16
- package/dist/chunks/{location-activity-k8xtm4wm.js → bus-5gj3tx04.js} +82 -82
- package/dist/chunks/{location-activity-aq00c593.js → bus-5h0dvzfk.js} +21 -21
- package/dist/chunks/{location-activity-8shc1k29.js → bus-5kgs3fk1.js} +6 -6
- package/dist/chunks/{location-activity-5m9w47nd.js → bus-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-activity-a24vgrw2.js → bus-5z4n6s5s.js} +3 -3
- package/dist/chunks/{location-activity-9ptw9j00.js → bus-60b2sysp.js} +17 -17
- package/dist/chunks/{location-activity-zth732hj.js → bus-6627vg6e.js} +35 -35
- package/dist/chunks/{location-activity-qs3gs1x8.js → bus-68wbjj2w.js} +11 -11
- package/dist/chunks/{location-activity-bha1yr22.js → bus-6affpbgf.js} +14 -14
- package/dist/chunks/{location-activity-msj7tqt3.js → bus-6cahmqzr.js} +8 -8
- package/dist/chunks/{location-activity-6esdw8yj.js → bus-6esdw8yj.js} +1 -1
- package/dist/chunks/{location-activity-f3evgtkk.js → bus-6gfebbwh.js} +5 -5
- package/dist/chunks/{location-activity-5k3k01jr.js → bus-6pjkp994.js} +13 -13
- package/dist/chunks/{location-activity-6pjqjmy2.js → bus-6pjqjmy2.js} +1 -1
- package/dist/chunks/{location-activity-8x5x28dg.js → bus-6q9ah33w.js} +21 -21
- package/dist/chunks/{location-activity-k86cjkgq.js → bus-6r5g3pq8.js} +36 -36
- package/dist/chunks/{location-activity-g6kakykq.js → bus-6t25ffne.js} +15 -15
- package/dist/chunks/{location-activity-6y263vp8.js → bus-6xqtcmxs.js} +5 -5
- package/dist/chunks/{location-activity-76cb1hcw.js → bus-76cb1hcw.js} +1 -1
- package/dist/chunks/{location-activity-eme6pwcn.js → bus-78mmhka5.js} +15 -15
- package/dist/chunks/{location-activity-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-activity-20c5bh22.js → bus-7h2bs24q.js} +3 -3
- package/dist/chunks/bus-7hr3m62y.js +257 -0
- package/dist/chunks/{location-activity-xtrhhqh6.js → bus-7kh9v0xt.js} +1 -1
- package/dist/chunks/{location-activity-x3j4bcrn.js → bus-7q6zejkd.js} +11 -11
- package/dist/chunks/{location-activity-ydpy656n.js → bus-7rnxwetx.js} +11 -11
- package/dist/chunks/{location-activity-emr61bk3.js → bus-7s5fxt8e.js} +3 -3
- package/dist/chunks/{location-activity-wgjdqjnj.js → bus-7v4nb4v9.js} +25 -25
- package/dist/chunks/{location-activity-7w2ypzdf.js → bus-7w2ypzdf.js} +1 -1
- package/dist/chunks/{location-activity-dayg5jrm.js → bus-7y435gmv.js} +7 -7
- package/dist/chunks/bus-7yv5xa0k.js +18 -0
- package/dist/chunks/{location-activity-ybheznzj.js → bus-80h5wm4e.js} +9 -9
- package/dist/chunks/{location-activity-qv6z6hfb.js → bus-861vpyk2.js} +18 -18
- package/dist/chunks/{location-activity-h519d97m.js → bus-889cpvr6.js} +18 -18
- package/dist/chunks/{location-activity-rpr04tf8.js → bus-88s42yqx.js} +25 -25
- package/dist/chunks/{location-activity-pc1v25hk.js → bus-8bc2ahr8.js} +3 -3
- package/dist/chunks/{location-activity-yx6xxt89.js → bus-8e1cbgyq.js} +21 -21
- package/dist/chunks/{location-activity-b09dakbr.js → bus-8td7g64v.js} +21 -21
- package/dist/chunks/{location-activity-n0dqz0ts.js → bus-8vn9yywk.js} +14 -14
- package/dist/chunks/{location-activity-8wtp7s3z.js → bus-8wtp7s3z.js} +1 -1
- package/dist/chunks/{location-activity-q5f62g4f.js → bus-90qm72cp.js} +24 -24
- package/dist/chunks/{location-activity-91rj84md.js → bus-91rj84md.js} +1 -1
- package/dist/chunks/{location-activity-vaf89hnr.js → bus-91yegc2e.js} +35 -35
- package/dist/chunks/{location-activity-krhx8qpb.js → bus-99jatacy.js} +35 -35
- package/dist/chunks/{location-activity-9cx9sm2q.js → bus-9cx9sm2q.js} +1 -1
- package/dist/chunks/{location-activity-qzkkntsq.js → bus-9dm89msm.js} +40 -40
- package/dist/chunks/{location-activity-kxvkas7c.js → bus-9g4cv0f3.js} +5 -5
- package/dist/chunks/{location-activity-61g6fyct.js → bus-9jm2pk93.js} +15 -15
- package/dist/chunks/{location-activity-9q8g9sv8.js → bus-9q8g9sv8.js} +1 -1
- package/dist/chunks/{location-activity-3961fm0p.js → bus-9xjbx8n2.js} +11 -11
- package/dist/chunks/{location-activity-ysde9da5.js → bus-9xpkbkd8.js} +12 -12
- package/dist/chunks/{location-activity-znge5b2w.js → bus-a2jg842h.js} +36 -36
- package/dist/chunks/{location-activity-9yj7necg.js → bus-a9pjz7vk.js} +7 -7
- package/dist/chunks/{location-activity-qpyfb06s.js → bus-a9zg9389.js} +22 -22
- package/dist/chunks/{location-activity-pnwsrq7c.js → bus-aaybcdk7.js} +9 -9
- package/dist/chunks/{location-activity-wdmx20pv.js → bus-af0k6e03.js} +9 -9
- package/dist/chunks/{location-activity-dgddg4cv.js → bus-afrxa0gm.js} +30 -30
- package/dist/chunks/{location-activity-sqrr99j7.js → bus-ajd5hdww.js} +4 -4
- package/dist/chunks/{location-activity-zp4f6bn6.js → bus-anc00zx6.js} +2 -2
- package/dist/chunks/{location-activity-d5de9nkx.js → bus-aqvzed2h.js} +8 -8
- package/dist/chunks/{location-activity-gkpzsx3g.js → bus-arp7s6mb.js} +6 -6
- package/dist/chunks/{location-activity-dms399dk.js → bus-arzaa4xc.js} +21 -21
- package/dist/chunks/{location-activity-ayjs7tqn.js → bus-ayjs7tqn.js} +2 -2
- package/dist/chunks/{location-activity-hksahqjx.js → bus-ayp6ft07.js} +18 -18
- package/dist/chunks/{location-activity-axm9byc8.js → bus-aznc0wg6.js} +15 -15
- package/dist/chunks/{location-activity-b0mv4wxm.js → bus-b0mv4wxm.js} +2 -2
- package/dist/chunks/{location-activity-9rs2pyrs.js → bus-b5c00j6w.js} +31 -31
- package/dist/chunks/{location-activity-b6vsg801.js → bus-b6vsg801.js} +2 -2
- package/dist/chunks/{location-activity-w5apngje.js → bus-b7j9y52a.js} +15 -15
- package/dist/chunks/{location-activity-qn07ak22.js → bus-bbd87rcg.js} +45 -45
- package/dist/chunks/{location-activity-ds40gcrb.js → bus-bc5vr1tk.js} +16 -16
- package/dist/chunks/{location-activity-4zrn1q8f.js → bus-bc9saq22.js} +32 -32
- package/dist/chunks/{location-activity-ybsgp2z7.js → bus-bhntk9z8.js} +1 -1
- package/dist/chunks/{location-activity-cxvgdegh.js → bus-bk5yxjph.js} +13 -13
- package/dist/chunks/{location-activity-jgca1347.js → bus-bk82rjt0.js} +11 -11
- package/dist/chunks/{location-activity-w5hpk0s9.js → bus-bm3zd2ag.js} +24 -24
- package/dist/chunks/{location-activity-v4460xca.js → bus-bmrkdhmd.js} +21 -21
- package/dist/chunks/{location-activity-bstexjd6.js → bus-bstexjd6.js} +1 -1
- package/dist/chunks/{location-activity-296b5nb4.js → bus-bwc7gg3f.js} +7 -7
- package/dist/chunks/{location-activity-4eh9wbgz.js → bus-by9953cg.js} +26 -26
- package/dist/chunks/{location-activity-7mg1wydw.js → bus-c3qykf74.js} +3 -3
- package/dist/chunks/{location-activity-dka94s73.js → bus-c6esxhxn.js} +2 -2
- package/dist/chunks/{location-activity-s0t7gqhy.js → bus-c8v47ftr.js} +17 -17
- package/dist/chunks/{location-activity-ms9chxzs.js → bus-cbh9yhw2.js} +20 -20
- package/dist/chunks/{location-activity-0nmsek8r.js → bus-cetxr85h.js} +18 -18
- package/dist/chunks/{location-activity-rpqgw198.js → bus-ck985c68.js} +21 -21
- package/dist/chunks/{location-activity-aqjbq63a.js → bus-cytdwc0b.js} +12 -12
- package/dist/chunks/{location-activity-r5nrp6xs.js → bus-d1vjhdaq.js} +11 -11
- package/dist/chunks/{location-activity-d4v9tmah.js → bus-d4v9tmah.js} +2 -2
- package/dist/chunks/{location-activity-vc4v1s8g.js → bus-dcfp8a60.js} +22 -22
- package/dist/chunks/{location-activity-nx4gs19p.js → bus-de9p47jd.js} +27 -27
- package/dist/chunks/{location-activity-n66c6y3m.js → bus-dhmvnrgm.js} +6 -6
- package/dist/chunks/{location-activity-zc8c3j4r.js → bus-dmmsnc6x.js} +48 -48
- package/dist/chunks/{location-activity-wn3e8tka.js → bus-e07q2w5p.js} +9 -9
- package/dist/chunks/{location-activity-3rs7m8d5.js → bus-e154t17g.js} +11 -11
- package/dist/chunks/{location-activity-n91nec10.js → bus-e62eb929.js} +12 -12
- package/dist/chunks/{location-activity-e834z07m.js → bus-e834z07m.js} +1 -1
- package/dist/chunks/{location-activity-d8p3t516.js → bus-e8pm465n.js} +4 -4
- package/dist/chunks/{location-activity-6y0mktts.js → bus-eee67rgn.js} +6 -6
- package/dist/chunks/{location-activity-e5wgs1tb.js → bus-evvtn3fj.js} +21 -21
- package/dist/chunks/{location-activity-mysqqj6k.js → bus-exmjyqxw.js} +56 -56
- package/dist/chunks/{location-activity-spfpbbe5.js → bus-ezdtp85a.js} +11 -11
- package/dist/chunks/{location-activity-36hfqkgf.js → bus-f5tgpm46.js} +24 -24
- package/dist/chunks/{location-activity-x6nfs0ay.js → bus-f8n4mxy8.js} +11 -11
- package/dist/chunks/{location-activity-fffv3p7h.js → bus-fffv3p7h.js} +1 -1
- package/dist/chunks/{location-activity-c52kzat1.js → bus-fhgyx4at.js} +33 -33
- package/dist/chunks/{location-activity-w62mppkd.js → bus-fj3j5kfg.js} +15 -15
- package/dist/chunks/{location-activity-c8j9ez3z.js → bus-fm2qhnd3.js} +8 -8
- package/dist/chunks/{location-activity-6ze03pne.js → bus-fmg43r8j.js} +6 -6
- package/dist/chunks/{location-activity-xj69nr1v.js → bus-fnb09ptv.js} +3 -3
- package/dist/chunks/{location-activity-66v32tcz.js → bus-fpknp6dy.js} +19 -19
- package/dist/chunks/{location-activity-sc9ym02z.js → bus-fxw3dg4r.js} +13 -13
- package/dist/chunks/bus-g0kddrv9.js +26 -0
- package/dist/chunks/{location-activity-g42b6ca9.js → bus-g42b6ca9.js} +1 -1
- package/dist/chunks/{location-activity-g5h9c0rr.js → bus-g5h9c0rr.js} +2 -2
- package/dist/chunks/{location-activity-gcjdgkn2.js → bus-gcjdgkn2.js} +2 -2
- package/dist/chunks/{location-activity-gg8p9cgs.js → bus-gg8p9cgs.js} +3 -3
- package/dist/chunks/{location-activity-kepr229h.js → bus-gjemyhff.js} +32 -32
- package/dist/chunks/{location-activity-ce5pqkmc.js → bus-gjm7strt.js} +7 -7
- package/dist/chunks/{location-activity-n45qfa6w.js → bus-gk1qs540.js} +3 -3
- package/dist/chunks/{location-activity-1671ys80.js → bus-gp09h32c.js} +175 -175
- package/dist/chunks/{location-activity-1h79734h.js → bus-gs1z16pn.js} +4 -4
- package/dist/chunks/{location-activity-5pkfmbqe.js → bus-haxfm848.js} +11 -11
- package/dist/chunks/{location-activity-5wyq8248.js → bus-hcy860gy.js} +18 -18
- package/dist/chunks/{location-activity-t18ra9xe.js → bus-hp3ha1q3.js} +5 -5
- package/dist/chunks/{location-activity-z2795bpz.js → bus-hqvan761.js} +5 -5
- package/dist/chunks/{location-activity-gheg0qh1.js → bus-hrt6tjqe.js} +5 -5
- package/dist/chunks/{location-activity-9tsp77ha.js → bus-hryaegyv.js} +8 -8
- package/dist/chunks/{location-activity-x3cj9a8v.js → bus-hsa266sk.js} +8 -8
- package/dist/chunks/{location-activity-j9mn4f79.js → bus-hwjd680m.js} +8 -8
- package/dist/chunks/{location-activity-k83dk363.js → bus-hycgcsfg.js} +13 -13
- package/dist/chunks/{location-activity-ct9w26td.js → bus-hykv42xb.js} +4 -4
- package/dist/chunks/{location-activity-j113cymg.js → bus-j113cymg.js} +1 -1
- package/dist/chunks/{location-activity-6f02n1ap.js → bus-jas55q5n.js} +14 -14
- package/dist/chunks/{location-activity-vrfsjbfs.js → bus-jcvnbv1k.js} +23 -23
- package/dist/chunks/{location-activity-ynrq1a8k.js → bus-jneg3k74.js} +4 -4
- package/dist/chunks/{location-activity-ve6rc8tp.js → bus-jrbr2x0q.js} +6 -6
- package/dist/chunks/{location-activity-3cby8frt.js → bus-jtx89zvm.js} +25 -25
- package/dist/chunks/{location-activity-8jnpwdy4.js → bus-k1pmdhpd.js} +9 -9
- package/dist/chunks/{location-activity-n7rqv1n2.js → bus-k5d4j8z4.js} +18 -18
- package/dist/chunks/{location-activity-k814nvkf.js → bus-k814nvkf.js} +1 -1
- package/dist/chunks/{location-activity-ytfwm2fr.js → bus-kfq3jpzd.js} +10 -10
- package/dist/chunks/{location-activity-j6mefce3.js → bus-kkms64sw.js} +4 -4
- package/dist/chunks/{location-activity-kkqethq7.js → bus-kkqethq7.js} +1 -1
- package/dist/chunks/{location-activity-kt3bjfbg.js → bus-kt3bjfbg.js} +1 -1
- package/dist/chunks/{location-activity-m1714858.js → bus-m1714858.js} +1 -1
- package/dist/chunks/{location-activity-qyzp2y3q.js → bus-m3797hzn.js} +9 -9
- package/dist/chunks/{location-activity-q1trf4sx.js → bus-m3gs1vdh.js} +13 -13
- package/dist/chunks/{location-activity-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-activity-bv0azffx.js → bus-ma08g9ez.js} +23 -23
- package/dist/chunks/{location-activity-maspj1v3.js → bus-maspj1v3.js} +1 -1
- package/dist/chunks/{location-activity-e2ne77ac.js → bus-mj0wev1x.js} +2 -2
- package/dist/chunks/{location-activity-mm7a63e9.js → bus-mm7a63e9.js} +2 -2
- package/dist/chunks/{location-activity-fcvjgwtb.js → bus-mp9hgv35.js} +46 -46
- package/dist/chunks/{location-activity-40efe4b0.js → bus-mvcrexfa.js} +28 -28
- package/dist/chunks/{location-activity-crd01hfc.js → bus-mycebjfh.js} +16 -16
- package/dist/chunks/{location-activity-2tqw989h.js → bus-myhb5naa.js} +18 -18
- package/dist/chunks/{location-activity-770pw0s1.js → bus-nah043kf.js} +4 -4
- package/dist/chunks/{location-activity-ycmy596v.js → bus-naqeecrg.js} +12 -12
- package/dist/chunks/{location-activity-3sr4cqwh.js → bus-nvd7c3zs.js} +4 -4
- package/dist/chunks/{location-activity-1w6gkwh2.js → bus-ny3z2qsn.js} +76 -76
- package/dist/chunks/{location-activity-p015t6z3.js → bus-p015t6z3.js} +2 -2
- package/dist/chunks/{location-activity-pss353j4.js → bus-p1vte9h6.js} +11 -11
- package/dist/chunks/{location-activity-j8s33cbk.js → bus-p5vmjcfz.js} +12 -12
- package/dist/chunks/{location-activity-1yq9hg58.js → bus-p7vhpwh8.js} +5 -5
- package/dist/chunks/{location-activity-87qwz2mk.js → bus-pfaba2d9.js} +25 -25
- package/dist/chunks/{location-activity-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{location-activity-3p9jeamv.js → bus-q3v19tnv.js} +21 -21
- package/dist/chunks/{location-activity-fbgbs5ce.js → bus-q5cprkbt.js} +11 -11
- package/dist/chunks/{location-activity-1m7nf3rr.js → bus-q5qtpxs8.js} +11 -11
- package/dist/chunks/{location-activity-jk6dtzh5.js → bus-q7k7k9zt.js} +14 -14
- package/dist/chunks/{location-activity-s4rv201h.js → bus-qbstm7ap.js} +45 -45
- package/dist/chunks/{location-activity-ygcresx2.js → bus-qbvxytes.js} +17 -17
- package/dist/chunks/{location-activity-g2eacv54.js → bus-qfw3wr58.js} +10 -10
- package/dist/chunks/{location-activity-mx1dsah0.js → bus-qjvfpt08.js} +19 -19
- package/dist/chunks/{location-activity-eefdqz8d.js → bus-qryxyvz8.js} +12 -12
- package/dist/chunks/{location-activity-m64hvvbh.js → bus-qvphs0ax.js} +7 -7
- package/dist/chunks/{location-activity-r0yr0wbs.js → bus-r0yr0wbs.js} +1 -1
- package/dist/chunks/{location-activity-r542h3bh.js → bus-r542h3bh.js} +1 -1
- package/dist/chunks/{location-activity-cd7r3vbk.js → bus-r971zhf3.js} +16 -16
- package/dist/chunks/{location-activity-hs9b4b47.js → bus-r9zrswe1.js} +9 -9
- package/dist/chunks/{location-activity-rb9dy4dg.js → bus-rb9dy4dg.js} +1 -1
- package/dist/chunks/{location-activity-cm0bbc0n.js → bus-rjfy8y8x.js} +6 -6
- package/dist/chunks/{location-activity-fdafdrem.js → bus-rk1e0zha.js} +8 -8
- package/dist/chunks/{location-activity-rt5dr6hb.js → bus-rt5dr6hb.js} +1 -1
- package/dist/chunks/{location-activity-2d1s0cvc.js → bus-rvy9q8yv.js} +45 -45
- package/dist/chunks/{location-activity-fcx6mkgt.js → bus-s2h41nq1.js} +9 -9
- package/dist/chunks/{location-activity-a45xh3sf.js → bus-s7871ny9.js} +5 -5
- package/dist/chunks/{location-activity-sa3fpqfw.js → bus-sa3fpqfw.js} +2 -2
- package/dist/chunks/{location-activity-zjbh20cv.js → bus-sassz3xq.js} +30 -30
- package/dist/chunks/{location-activity-f99ykw6n.js → bus-sfdjt92e.js} +38 -38
- package/dist/chunks/{location-activity-djdw8st0.js → bus-spg2ankq.js} +20 -20
- package/dist/chunks/{location-activity-sqjzf8x2.js → bus-sqjzf8x2.js} +1 -1
- package/dist/chunks/{location-activity-ghrctcs0.js → bus-sr4pc43g.js} +2 -2
- package/dist/chunks/{location-activity-6035y293.js → bus-st29pnas.js} +18 -18
- package/dist/chunks/{location-activity-gy8rdkjz.js → bus-sw24syn0.js} +29 -29
- package/dist/chunks/{location-activity-spzh5vrx.js → bus-szt7mzga.js} +7 -7
- package/dist/chunks/{location-activity-fdndv805.js → bus-t3033492.js} +33 -33
- package/dist/chunks/{location-activity-bsv1krsp.js → bus-t3ktgnsz.js} +15 -15
- package/dist/chunks/{location-activity-0acwxp2g.js → bus-t6a716ee.js} +10 -10
- package/dist/chunks/{location-activity-mfw9c71n.js → bus-tcgwp76v.js} +24 -24
- package/dist/chunks/{location-activity-tczq8hjw.js → bus-tczq8hjw.js} +1 -1
- package/dist/chunks/{location-activity-eep5vdpr.js → bus-tjfw40a7.js} +11 -11
- package/dist/chunks/{location-activity-g2jrd7ws.js → bus-tk15c3h1.js} +16 -16
- package/dist/chunks/{location-activity-ywf8p02a.js → bus-tpmb1y7t.js} +35 -35
- package/dist/chunks/{location-activity-b31nd63z.js → bus-ttg1ty4j.js} +32 -32
- package/dist/chunks/{location-activity-twv2r8f4.js → bus-twv2r8f4.js} +2 -2
- package/dist/chunks/{location-activity-v2r1d0zg.js → bus-v2r1d0zg.js} +1 -1
- package/dist/chunks/{location-activity-egkwznrb.js → bus-v4p0p4kr.js} +6 -6
- package/dist/chunks/{location-activity-7jr5etj6.js → bus-v4q5wt5v.js} +4 -4
- package/dist/chunks/{location-activity-0hz4xq24.js → bus-vdevhkrp.js} +15 -15
- package/dist/chunks/{location-activity-veqvce7d.js → bus-veqvce7d.js} +1 -1
- package/dist/chunks/{location-activity-zgxr5e29.js → bus-vgfth9qf.js} +32 -32
- package/dist/chunks/{location-activity-mpx4qb8n.js → bus-vkbfpqv2.js} +23 -23
- package/dist/chunks/{location-activity-dpgr420w.js → bus-vtpazhgh.js} +8 -8
- package/dist/chunks/{location-activity-21bwjd7p.js → bus-vzq80nbx.js} +14 -14
- package/dist/chunks/{location-activity-r41sfy63.js → bus-w2eysc6j.js} +6 -6
- package/dist/chunks/{location-activity-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-activity-4dh5twjq.js → bus-w87dvzaw.js} +30 -30
- package/dist/chunks/{location-activity-32d84bcf.js → bus-w990mwhs.js} +8 -8
- package/dist/chunks/{location-activity-wakvkjy4.js → bus-wakvkjy4.js} +1 -1
- package/dist/chunks/{location-activity-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{location-activity-c5m2a8vb.js → bus-wgvnftve.js} +8 -8
- package/dist/chunks/{location-activity-rnwzmvam.js → bus-wnzgjcsx.js} +11 -11
- package/dist/chunks/{location-activity-sdw3vmmx.js → bus-wp3y1jpf.js} +18 -18
- package/dist/chunks/{location-activity-hhjszbmg.js → bus-wy5w0ez1.js} +23 -23
- package/dist/chunks/{location-activity-vk5tmgha.js → bus-x34gj20p.js} +48 -48
- package/dist/chunks/{location-activity-6bj1y23w.js → bus-xembn6mc.js} +21 -21
- package/dist/chunks/{location-activity-491059bs.js → bus-xffzqra6.js} +25 -25
- package/dist/chunks/{location-activity-z381nzrn.js → bus-xkrnyxxn.js} +18 -18
- package/dist/chunks/{location-activity-ssx74vxp.js → bus-xtk0javm.js} +10 -10
- package/dist/chunks/{location-activity-grzm5e9c.js → bus-y3tjenf1.js} +17 -17
- package/dist/chunks/{location-activity-5xs5bfj3.js → bus-y5vreq9e.js} +13 -13
- package/dist/chunks/{location-activity-1tbqndcg.js → bus-y6ywa6wq.js} +15 -15
- package/dist/chunks/{location-activity-yara3q77.js → bus-yara3q77.js} +2 -2
- package/dist/chunks/{location-activity-yb20nhc3.js → bus-yb20nhc3.js} +1 -1
- package/dist/chunks/{location-activity-qncerja9.js → bus-ydntad1m.js} +14 -14
- package/dist/chunks/{location-activity-y046cp9p.js → bus-yk7190x1.js} +12 -12
- package/dist/chunks/{location-activity-z7k8v9pd.js → bus-ysc6sw8a.js} +1 -1
- package/dist/chunks/{location-activity-eg29m6q7.js → bus-ysmsbjaj.js} +10 -10
- package/dist/chunks/{location-activity-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-activity-z38nccrw.js → bus-z38nccrw.js} +1 -1
- package/dist/chunks/{location-activity-q9a4f87t.js → bus-zapg5c8t.js} +22 -22
- package/dist/chunks/{location-activity-mxejqm51.js → bus-ze66xykb.js} +1 -1
- package/dist/chunks/{location-activity-9f3sjfep.js → bus-zh7bbm8x.js} +9 -9
- package/dist/chunks/{location-activity-zkg84ctx.js → bus-zkg84ctx.js} +1 -1
- package/dist/chunks/{location-activity-3m5z1nn4.js → bus-zqmcp0g3.js} +2 -2
- package/dist/chunks/{location-activity-61ennm6n.js → bus-zzdv5d93.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +89 -89
- package/dist/config/discovery.js +90 -90
- package/dist/config/integration.js +7 -7
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +221 -221
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +121 -121
- package/dist/config/plugin/mcp.js +132 -132
- 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 +3 -3
- package/dist/config/plugin/skill.js +145 -145
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +120 -120
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +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.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 +100 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +375 -375
- 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 +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +103 -103
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +140 -140
- package/dist/file-mutation.js +102 -102
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +83 -83
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +112 -112
- package/dist/form.js +90 -90
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +115 -115
- 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.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +3 -3
- package/dist/instance.js +370 -370
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +97 -97
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +159 -159
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +92 -92
- package/dist/location-services.js +369 -369
- package/dist/location.js +97 -97
- package/dist/managed-policy.js +9 -9
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +113 -113
- package/dist/mcp/instructions.js +166 -166
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +115 -115
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +141 -141
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +82 -82
- package/dist/plugin/command.js +110 -110
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +227 -227
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +342 -342
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +104 -104
- package/dist/plugin/module.js +121 -121
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +121 -121
- package/dist/plugin/provider/opencode-legacy.js +108 -108
- package/dist/plugin/provider/opencode.js +127 -127
- 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 +178 -178
- 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 +357 -357
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +236 -236
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +98 -98
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +106 -106
- package/dist/reference/instructions.js +94 -94
- 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 +162 -162
- 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 +226 -226
- package/dist/session/execution.js +150 -150
- package/dist/session/generate.js +190 -190
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +132 -132
- 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 +130 -130
- 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 +1 -1
- package/dist/session/runner/llm.js +236 -236
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +106 -106
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +152 -152
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +186 -186
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- package/dist/shell/parse.js +8 -8
- 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 +2 -2
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +146 -146
- 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 +156 -156
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +145 -145
- package/dist/tool/plugin/patch.js +158 -158
- package/dist/tool/plugin/question.js +140 -140
- package/dist/tool/plugin/read.js +159 -159
- package/dist/tool/plugin/shell.js +222 -222
- package/dist/tool/plugin/skill.js +147 -147
- package/dist/tool/plugin/subagent.js +220 -220
- 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 +110 -110
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/usage-limits.js +93 -93
- 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 +6 -6
- package/dist/v1/config/migrate.js +100 -100
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +101 -101
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +94 -94
- package/dist/websearch.js +90 -90
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +87 -87
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +108 -108
- package/package.json +8 -8
- package/dist/chunks/location-activity-29nt5h6j.js +0 -517
- package/dist/chunks/location-activity-9mqy72ap.js +0 -26
- package/dist/chunks/location-activity-b1bdn9ww.js +0 -18
- package/dist/chunks/location-activity-h6emp663.js +0 -257
- /package/dist/chunks/{location-activity-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-activity-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-activity-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-activity-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-activity-24dcb14g.js → bus-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-activity-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-activity-2bv980vf.js → bus-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-activity-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-activity-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-activity-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{location-activity-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-activity-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-activity-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-activity-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-activity-4m86bj6y.js → bus-4m86bj6y.js} +0 -0
- /package/dist/chunks/{location-activity-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-activity-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-activity-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{location-activity-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-activity-5fjb7ams.js → bus-5fjb7ams.js} +0 -0
- /package/dist/chunks/{location-activity-5w3e23ze.js → bus-5w3e23ze.js} +0 -0
- /package/dist/chunks/{location-activity-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{location-activity-6q2bdcd1.js → bus-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-activity-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-activity-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-activity-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{location-activity-84wd9syh.js → bus-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-activity-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-activity-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-activity-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-activity-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-activity-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-activity-a058387c.js → bus-a058387c.js} +0 -0
- /package/dist/chunks/{location-activity-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-activity-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-activity-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-activity-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-activity-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-activity-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-activity-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-activity-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-activity-cqv5kn06.js → bus-cqv5kn06.js} +0 -0
- /package/dist/chunks/{location-activity-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-activity-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-activity-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-activity-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-activity-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-activity-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{location-activity-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-activity-e3qxr5gk.js → bus-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{location-activity-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-activity-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-activity-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-activity-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-activity-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-activity-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-activity-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-activity-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-activity-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-activity-fkpq3x5p.js → bus-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{location-activity-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-activity-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{location-activity-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-activity-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{location-activity-hcxmzztb.js → bus-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-activity-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{location-activity-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-activity-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-activity-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-activity-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-activity-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-activity-jwr30sdr.js → bus-jwr30sdr.js} +0 -0
- /package/dist/chunks/{location-activity-jze0r7bz.js → bus-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-activity-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-activity-m18g726c.js → bus-m18g726c.js} +0 -0
- /package/dist/chunks/{location-activity-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-activity-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-activity-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-activity-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-activity-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-activity-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-activity-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-activity-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-activity-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-activity-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-activity-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-activity-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-activity-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-activity-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-activity-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-activity-ts7mkfs9.js → bus-ts7mkfs9.js} +0 -0
- /package/dist/chunks/{location-activity-ve7vex1e.js → bus-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-activity-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-activity-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-activity-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-activity-wjj7prxr.js → bus-wjj7prxr.js} +0 -0
- /package/dist/chunks/{location-activity-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-activity-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-activity-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{location-activity-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-activity-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-activity-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-activity-ym463w8f.js → bus-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-activity-z5v4ffb3.js → bus-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-activity-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./bus-cytdwc0b.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-d4v9tmah.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make14
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make14 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service82;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make16 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make14, exports_git2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service40,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node43
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service40 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service40, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service40.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service41, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node43 = makeGlobalNode({ service: Service40, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service40, node43, exports_environment };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service66
|
|
4
|
+
} from "./bus-mp9hgv35.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service55
|
|
7
|
+
} from "./bus-myhb5naa.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-6pjqjmy2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell2 = {};
|
|
17
17
|
__export(exports_shell2, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin25
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin25 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service66;
|
|
27
|
+
const shell = yield* Service55;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin48 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin25, exports_shell2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
Info18
|
|
9
|
-
} from "./location-activity-pnwsrq7c.js";
|
|
6
|
+
} from "./bus-9q8g9sv8.js";
|
|
10
7
|
import {
|
|
11
8
|
Info17
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./bus-aaybcdk7.js";
|
|
10
|
+
import {
|
|
11
|
+
Info15
|
|
12
|
+
} from "./bus-2azy8kv6.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info16
|
|
15
|
+
} from "./bus-qvphs0ax.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-p7vhpwh8.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info18
|
|
21
|
+
} from "./bus-6xqtcmxs.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
migrateMcp2,
|
|
29
29
|
migrateProvider2,
|
|
30
30
|
providerID2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./bus-ajd5hdww.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./bus-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -98,12 +98,12 @@ function normalize2(input) {
|
|
|
98
98
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
99
99
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
100
100
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
101
|
-
const legacyCommands = decodeMap(input.command,
|
|
101
|
+
const legacyCommands = decodeMap(input.command, Info15, ["command"], diagnostics, decodeValue);
|
|
102
102
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
103
103
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
104
104
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
105
105
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
106
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
106
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info17, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
107
107
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
108
108
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
109
109
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -117,7 +117,7 @@ function normalize2(input) {
|
|
|
117
117
|
model: migratedSmallModel,
|
|
118
118
|
...legacyAgents.title
|
|
119
119
|
};
|
|
120
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
120
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info17, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
121
121
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
122
122
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
123
123
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -219,7 +219,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
219
219
|
normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
|
|
220
220
|
return;
|
|
221
221
|
}
|
|
222
|
-
const server = decodeValue(
|
|
222
|
+
const server = decodeValue(Info16, value, path, diagnostics);
|
|
223
223
|
if (server !== undefined)
|
|
224
224
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
225
225
|
});
|
|
@@ -445,7 +445,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
445
445
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
446
446
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
447
447
|
return [];
|
|
448
|
-
const provider = decodeValue(
|
|
448
|
+
const provider = decodeValue(Info18, raw, path, diagnostics);
|
|
449
449
|
if (provider === undefined)
|
|
450
450
|
return [];
|
|
451
451
|
const destination = providerID2(name);
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-zkg84ctx.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-g5h9c0rr.js";
|
|
7
7
|
import {
|
|
8
8
|
Service87,
|
|
9
9
|
node91
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-5z4n6s5s.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-11hfp36g.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node55
|
|
18
|
+
} from "./bus-hryaegyv.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./bus-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./bus-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
30
|
+
ID: () => ID7,
|
|
31
31
|
Info: () => Info10,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service51,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
35
|
configured: () => configured5,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node54
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID7 = Workspace.ID;
|
|
45
45
|
|
|
46
46
|
class Info10 extends Schema.Class("Workspace.Info")({
|
|
47
|
-
id:
|
|
47
|
+
id: ID7,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,24 +52,24 @@ class Info10 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID7 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID7,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service51 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
67
|
var configured5 = (options = {}) => makeGlobalNode({
|
|
68
|
-
service:
|
|
68
|
+
service: Service51,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [node91,
|
|
70
|
+
deps: [node91, node55]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
72
|
+
var layer = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
73
73
|
const db = (yield* Service87).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service51.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID7.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node54 = configured5();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID7, Info10, NotFound2, CreateConflict2, Service51, configured5, node54, exports_workspace };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service87,
|
|
6
6
|
node91
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-5z4n6s5s.js";
|
|
8
8
|
import {
|
|
9
9
|
Service86,
|
|
10
10
|
node90
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-3td5s6k1.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service82,
|
|
14
|
+
node86
|
|
15
|
+
} from "./bus-cytdwc0b.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID15,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info26,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event17,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-af0k6e03.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./bus-034tev2y.js";
|
|
28
28
|
import {
|
|
29
29
|
refresh2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./bus-yara3q77.js";
|
|
31
31
|
import {
|
|
32
32
|
WorktreeTable2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./bus-ayjs7tqn.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./bus-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/project.ts
|
|
39
39
|
var exports_project = {};
|
|
40
40
|
__export(exports_project, {
|
|
41
41
|
Current: () => Current2,
|
|
42
|
-
ID: () =>
|
|
43
|
-
Info: () =>
|
|
44
|
-
NotFoundError: () =>
|
|
42
|
+
ID: () => ID14,
|
|
43
|
+
Info: () => Info25,
|
|
44
|
+
NotFoundError: () => NotFoundError11,
|
|
45
45
|
Project: () => exports_project,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service81,
|
|
47
47
|
UpdateInput: () => UpdateInput3,
|
|
48
48
|
Vcs: () => Vcs2,
|
|
49
|
-
node: () =>
|
|
49
|
+
node: () => node85,
|
|
50
50
|
root: () => root2,
|
|
51
51
|
sweepNode: () => sweepNode2
|
|
52
52
|
});
|
|
@@ -59,14 +59,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
59
59
|
import { AppProcess } from "@opencode/util/process";
|
|
60
60
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Hash } from "@opencode/util/hash";
|
|
62
|
-
var
|
|
62
|
+
var ID14 = ID15;
|
|
63
63
|
var Vcs2 = Vcs3;
|
|
64
64
|
var Current2 = Current3;
|
|
65
|
-
var
|
|
65
|
+
var Info25 = Info26;
|
|
66
66
|
var UpdateInput3 = UpdateInput4;
|
|
67
67
|
|
|
68
|
-
class
|
|
69
|
-
projectID:
|
|
68
|
+
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
69
|
+
projectID: ID14
|
|
70
70
|
}) {
|
|
71
71
|
}
|
|
72
72
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -77,7 +77,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
77
77
|
var ACTIVATE_INTERVAL = 60000;
|
|
78
78
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
79
79
|
|
|
80
|
-
class
|
|
80
|
+
class Service81 extends Context.Service()("@opencode/Project") {
|
|
81
81
|
}
|
|
82
82
|
function fromRow(row) {
|
|
83
83
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -101,9 +101,9 @@ function fromRow(row) {
|
|
|
101
101
|
sandboxes: row.sandboxes
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service82;
|
|
107
107
|
const proc = yield* AppProcess.Service;
|
|
108
108
|
const bus = yield* Service86;
|
|
109
109
|
const db = (yield* Service87).db;
|
|
@@ -116,8 +116,8 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
116
116
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
117
117
|
const changed = replaced ?? unarchived;
|
|
118
118
|
if (changed)
|
|
119
|
-
yield* bus.publish(
|
|
120
|
-
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(
|
|
119
|
+
yield* bus.publish(Event17.Updated, fromRow(changed));
|
|
120
|
+
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event17.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
|
|
121
121
|
if (!project.vcs)
|
|
122
122
|
return project;
|
|
123
123
|
const directories = [
|
|
@@ -153,7 +153,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
153
153
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
154
154
|
projectID: item.projectID,
|
|
155
155
|
directory: item.directory,
|
|
156
|
-
previous: project.previous ??
|
|
156
|
+
previous: project.previous ?? ID14.global,
|
|
157
157
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
158
158
|
}, {
|
|
159
159
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -176,9 +176,9 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
176
176
|
time_updated: Date.now()
|
|
177
177
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
178
178
|
if (!row)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
180
180
|
const project = fromRow(row);
|
|
181
|
-
yield* bus.publish(
|
|
181
|
+
yield* bus.publish(Event17.Updated, project);
|
|
182
182
|
return project;
|
|
183
183
|
});
|
|
184
184
|
const activated = new Map;
|
|
@@ -189,10 +189,10 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
189
189
|
activated.set(projectID, now);
|
|
190
190
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
191
191
|
if (row)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event17.Updated, fromRow(row));
|
|
193
193
|
});
|
|
194
194
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
195
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
195
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID14.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
196
196
|
return;
|
|
197
197
|
}));
|
|
198
198
|
});
|
|
@@ -203,7 +203,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
203
203
|
const normalized = url(origin);
|
|
204
204
|
if (!normalized)
|
|
205
205
|
return;
|
|
206
|
-
return
|
|
206
|
+
return ID14.make(Hash.fast(`git-remote:${normalized}`));
|
|
207
207
|
});
|
|
208
208
|
function url(input) {
|
|
209
209
|
const value = input.trim();
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
228
228
|
}
|
|
229
229
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
230
230
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
231
|
-
return root ?
|
|
231
|
+
return root ? ID14.make(root) : undefined;
|
|
232
232
|
});
|
|
233
233
|
const gitDiscover = Effect.fnUntraced(function* (dotGit) {
|
|
234
234
|
const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
|
|
@@ -244,7 +244,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
244
244
|
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));
|
|
245
245
|
const resolved = {
|
|
246
246
|
previous,
|
|
247
|
-
id: id ??
|
|
247
|
+
id: id ?? ID14.global,
|
|
248
248
|
directory: repo.worktree,
|
|
249
249
|
canonical,
|
|
250
250
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -269,7 +269,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
269
269
|
return;
|
|
270
270
|
const node = result.stdout.toString("utf8").split(`
|
|
271
271
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
272
|
-
return node ?
|
|
272
|
+
return node ? ID14.make(node) : undefined;
|
|
273
273
|
});
|
|
274
274
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
275
275
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -277,7 +277,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
277
277
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
278
278
|
return {
|
|
279
279
|
previous,
|
|
280
|
-
id: id ??
|
|
280
|
+
id: id ?? ID14.global,
|
|
281
281
|
directory: worktree,
|
|
282
282
|
vcs: { type: "hg", store: dotHg }
|
|
283
283
|
};
|
|
@@ -304,7 +304,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
304
304
|
});
|
|
305
305
|
}
|
|
306
306
|
return yield* save({
|
|
307
|
-
id:
|
|
307
|
+
id: ID14.make(Hash.fast(`directory:${directory}`)),
|
|
308
308
|
directory,
|
|
309
309
|
canonical: directory,
|
|
310
310
|
vcs: undefined
|
|
@@ -313,7 +313,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
313
313
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
314
314
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
315
315
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
316
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
316
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID14.global))).all().pipe(Effect.orDie);
|
|
317
317
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
318
318
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
319
319
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -326,23 +326,23 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
326
326
|
return;
|
|
327
327
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
328
328
|
if (row)
|
|
329
|
-
yield* bus.publish(
|
|
329
|
+
yield* bus.publish(Event17.Updated, fromRow(row));
|
|
330
330
|
}), { concurrency: 8, discard: true });
|
|
331
331
|
});
|
|
332
|
-
return
|
|
332
|
+
return Service81.of({ list, update, activate, resolve, sweep });
|
|
333
333
|
}));
|
|
334
|
-
var
|
|
335
|
-
service:
|
|
334
|
+
var node85 = makeGlobalNode({
|
|
335
|
+
service: Service81,
|
|
336
336
|
layer,
|
|
337
|
-
deps: [node90, node91, FSUtil.node,
|
|
337
|
+
deps: [node90, node91, FSUtil.node, node86, AppProcess.node]
|
|
338
338
|
});
|
|
339
339
|
var sweepNode2 = makeGlobalNode({
|
|
340
340
|
name: "project-archive-sweep",
|
|
341
341
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
342
|
-
const project = yield*
|
|
342
|
+
const project = yield* Service81;
|
|
343
343
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
344
344
|
})),
|
|
345
|
-
deps: [
|
|
345
|
+
deps: [node85]
|
|
346
346
|
});
|
|
347
347
|
|
|
348
|
-
export {
|
|
348
|
+
export { ID14, Vcs2, Current2, Info25, UpdateInput3, NotFoundError11, root2, Service81, node85, sweepNode2, exports_project };
|