@opencode/core 0.0.0-dev-20581 → 0.0.0-dev-20583
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 +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{managed-policy-xsjbfs7s.js → file-mutation-05j2y7x7.js} +12 -12
- package/dist/chunks/{managed-policy-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{managed-policy-wy8gm8jj.js → file-mutation-0pzykd19.js} +35 -35
- package/dist/chunks/{managed-policy-h4v137tq.js → file-mutation-0qtgexh9.js} +43 -43
- package/dist/chunks/{managed-policy-vsywyjzm.js → file-mutation-0swngr03.js} +23 -23
- package/dist/chunks/{managed-policy-5snyeemy.js → file-mutation-0t7934bj.js} +37 -37
- package/dist/chunks/{managed-policy-0vbcp93d.js → file-mutation-0vbcp93d.js} +2 -2
- package/dist/chunks/{managed-policy-exstxen9.js → file-mutation-10t9a2f3.js} +13 -13
- package/dist/chunks/{managed-policy-zs5zztja.js → file-mutation-123xm1e3.js} +9 -9
- package/dist/chunks/{managed-policy-py9kw9tn.js → file-mutation-12wrqg79.js} +23 -23
- package/dist/chunks/{managed-policy-fqtvmpfq.js → file-mutation-166kng33.js} +8 -8
- package/dist/chunks/{managed-policy-w677k9fj.js → file-mutation-180jb965.js} +17 -17
- package/dist/chunks/{managed-policy-1dazxqgg.js → file-mutation-1dazxqgg.js} +2 -2
- package/dist/chunks/{managed-policy-1dvck2a7.js → file-mutation-1dvck2a7.js} +2 -2
- package/dist/chunks/{managed-policy-dnge0aqq.js → file-mutation-1kprmeav.js} +29 -29
- package/dist/chunks/{managed-policy-npkdjxyy.js → file-mutation-1qxsyfe0.js} +22 -22
- package/dist/chunks/{managed-policy-enpcsfks.js → file-mutation-1r1edwa1.js} +35 -35
- package/dist/chunks/{managed-policy-nf65gqd5.js → file-mutation-21kzj585.js} +10 -10
- package/dist/chunks/{managed-policy-jr3bj4y0.js → file-mutation-24wzahvd.js} +18 -18
- package/dist/chunks/{managed-policy-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{managed-policy-78ymhwc6.js → file-mutation-2cwknq7w.js} +11 -11
- package/dist/chunks/{managed-policy-sxjxh3g8.js → file-mutation-2j93mrye.js} +11 -11
- package/dist/chunks/file-mutation-2r7ew65j.js +26 -0
- package/dist/chunks/{managed-policy-9qhqs605.js → file-mutation-2sq0rgeb.js} +27 -27
- package/dist/chunks/{managed-policy-t9zqd86n.js → file-mutation-2st2vgs8.js} +23 -23
- package/dist/chunks/{managed-policy-acnatzrp.js → file-mutation-2w56afta.js} +4 -4
- package/dist/chunks/{managed-policy-n9axn9y3.js → file-mutation-2w5dyyz8.js} +8 -8
- package/dist/chunks/{managed-policy-2kea3y2w.js → file-mutation-39kj94aj.js} +13 -13
- package/dist/chunks/{managed-policy-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{managed-policy-xvdg8f15.js → file-mutation-3gepn018.js} +8 -8
- package/dist/chunks/{managed-policy-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{managed-policy-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{managed-policy-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{managed-policy-3mentpw2.js → file-mutation-3xe73pcq.js} +18 -18
- package/dist/chunks/{managed-policy-3zsf4n22.js → file-mutation-3zsf4n22.js} +1 -1
- package/dist/chunks/{managed-policy-j7v3c1ew.js → file-mutation-40bnz8b2.js} +11 -11
- package/dist/chunks/{managed-policy-9x8tc8sp.js → file-mutation-43mj7s4s.js} +9 -9
- package/dist/chunks/{managed-policy-ty7z4jb0.js → file-mutation-47qpzrds.js} +35 -35
- package/dist/chunks/{managed-policy-p1yfc9a8.js → file-mutation-48cwc0wb.js} +21 -21
- package/dist/chunks/{managed-policy-qvreyy9g.js → file-mutation-49exe669.js} +5 -5
- package/dist/chunks/{managed-policy-r9w3djhf.js → file-mutation-4rt0ga34.js} +5 -5
- package/dist/chunks/{managed-policy-4ts7tf6z.js → file-mutation-4ts7tf6z.js} +2 -2
- package/dist/chunks/{managed-policy-r94pvvab.js → file-mutation-54ma36ye.js} +4 -4
- package/dist/chunks/{managed-policy-dbc1qc54.js → file-mutation-58mk5nmy.js} +14 -14
- package/dist/chunks/{managed-policy-bqb67z36.js → file-mutation-5cz6gggr.js} +24 -24
- package/dist/chunks/{managed-policy-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{managed-policy-qwz8cpda.js → file-mutation-5h9mcdhs.js} +22 -22
- package/dist/chunks/{managed-policy-nepz78e5.js → file-mutation-5qrrcsc2.js} +9 -9
- package/dist/chunks/{managed-policy-2qx31yc6.js → file-mutation-5s0bmr25.js} +25 -25
- package/dist/chunks/{managed-policy-5t3nmthw.js → file-mutation-5t3nmthw.js} +2 -2
- package/dist/chunks/{managed-policy-89nr6wfj.js → file-mutation-5w26m471.js} +11 -11
- package/dist/chunks/{managed-policy-xs81jx4r.js → file-mutation-608kr7kb.js} +10 -10
- package/dist/chunks/{managed-policy-zxyy8bfe.js → file-mutation-6136cgh5.js} +40 -40
- package/dist/chunks/{managed-policy-669tq793.js → file-mutation-669tq793.js} +1 -1
- package/dist/chunks/{managed-policy-bkwdfw9d.js → file-mutation-68cfq5az.js} +26 -26
- package/dist/chunks/{managed-policy-02wmet1s.js → file-mutation-6a6378pm.js} +18 -18
- package/dist/chunks/{managed-policy-x49sb692.js → file-mutation-6b9m9qth.js} +11 -11
- package/dist/chunks/{managed-policy-7avdme9t.js → file-mutation-6hbe8yta.js} +13 -13
- package/dist/chunks/{managed-policy-b15vkqsx.js → file-mutation-6nwe3trr.js} +10 -10
- package/dist/chunks/{managed-policy-r3d0j56v.js → file-mutation-6s812hbs.js} +25 -25
- package/dist/chunks/{managed-policy-4hh2xy14.js → file-mutation-6wz7chbs.js} +3 -3
- package/dist/chunks/{managed-policy-6xb47vfp.js → file-mutation-6xb47vfp.js} +1 -1
- package/dist/chunks/{managed-policy-71az546q.js → file-mutation-71az546q.js} +2 -2
- package/dist/chunks/{managed-policy-e2p1qpzc.js → file-mutation-72p9t9gb.js} +34 -34
- package/dist/chunks/{managed-policy-dm99yka6.js → file-mutation-77hgjsk3.js} +27 -27
- package/dist/chunks/{managed-policy-pt0zkbkz.js → file-mutation-79ajbfyg.js} +4 -4
- package/dist/chunks/{managed-policy-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{managed-policy-j74g7mqr.js → file-mutation-7jdtyktx.js} +9 -9
- package/dist/chunks/{managed-policy-7a12vqq0.js → file-mutation-7jvbf81s.js} +30 -30
- package/dist/chunks/{managed-policy-dnt2jfde.js → file-mutation-7q62a8nt.js} +11 -11
- package/dist/chunks/{managed-policy-eq6gwms1.js → file-mutation-7tt1yyek.js} +23 -23
- package/dist/chunks/{managed-policy-vsbamy9h.js → file-mutation-7y74vpaj.js} +21 -21
- package/dist/chunks/{managed-policy-g8ytx0e6.js → file-mutation-7zkbhs7g.js} +11 -11
- package/dist/chunks/{managed-policy-w1eejvng.js → file-mutation-84txncab.js} +5 -5
- package/dist/chunks/{managed-policy-d8kjn5t6.js → file-mutation-84xy7cmd.js} +3 -3
- package/dist/chunks/{managed-policy-8d7r5vzw.js → file-mutation-8d7r5vzw.js} +1 -1
- package/dist/chunks/file-mutation-8fke18e1.js +253 -0
- package/dist/chunks/{managed-policy-18ztmhep.js → file-mutation-8gqyy45k.js} +18 -18
- package/dist/chunks/{managed-policy-3zbwexce.js → file-mutation-8hkfkb27.js} +8 -8
- package/dist/chunks/{managed-policy-dryhn22b.js → file-mutation-8k1b3hgn.js} +20 -20
- package/dist/chunks/{managed-policy-46v0s1hp.js → file-mutation-8ne23mfp.js} +15 -15
- package/dist/chunks/{managed-policy-1epzdntc.js → file-mutation-90hpmr2t.js} +11 -11
- package/dist/chunks/{managed-policy-955wy3qr.js → file-mutation-93cdtzk6.js} +11 -11
- package/dist/chunks/{managed-policy-k08ezkqp.js → file-mutation-93t1mf90.js} +11 -11
- package/dist/chunks/{managed-policy-eqkxs06z.js → file-mutation-93ygb5af.js} +6 -6
- package/dist/chunks/{managed-policy-6m3tp8mj.js → file-mutation-94mz8ebf.js} +29 -29
- package/dist/chunks/{managed-policy-975ebawg.js → file-mutation-94qxd8wt.js} +3 -3
- package/dist/chunks/{managed-policy-ncj4p4na.js → file-mutation-97jxdyep.js} +46 -46
- package/dist/chunks/{managed-policy-9e5bzkjp.js → file-mutation-9e5bzkjp.js} +3 -3
- package/dist/chunks/{managed-policy-e8vwfchq.js → file-mutation-9kr929zm.js} +6 -6
- package/dist/chunks/{managed-policy-hmgnztse.js → file-mutation-9n9hgcd8.js} +5 -5
- package/dist/chunks/{managed-policy-4qqmwkqx.js → file-mutation-9qwqd80z.js} +9 -9
- package/dist/chunks/{managed-policy-y2x5y4w5.js → file-mutation-9txt07q0.js} +71 -71
- package/dist/chunks/{managed-policy-zggnq27k.js → file-mutation-9xb4p3aq.js} +7 -7
- package/dist/chunks/{managed-policy-nrrmpm3c.js → file-mutation-9z4end1d.js} +11 -11
- package/dist/chunks/{managed-policy-a2zd3k2n.js → file-mutation-a026aj5z.js} +38 -38
- package/dist/chunks/{managed-policy-eq1pz5kg.js → file-mutation-a1gpj94z.js} +3 -3
- package/dist/chunks/{managed-policy-4awagc8g.js → file-mutation-a81dbpn4.js} +39 -39
- package/dist/chunks/{managed-policy-cavr175a.js → file-mutation-a8bn8zg0.js} +4 -4
- package/dist/chunks/{managed-policy-ct2a7kbt.js → file-mutation-a9bm1b1m.js} +39 -39
- package/dist/chunks/{managed-policy-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{managed-policy-29garr4v.js → file-mutation-aawfa1p8.js} +1 -1
- package/dist/chunks/{managed-policy-k7y67xhs.js → file-mutation-ab0bv3vs.js} +8 -8
- package/dist/chunks/{managed-policy-pyfrz2yp.js → file-mutation-agrw7dk4.js} +14 -14
- package/dist/chunks/{managed-policy-d8ck81wr.js → file-mutation-anfj9sc3.js} +8 -8
- package/dist/chunks/{managed-policy-2ysad2y1.js → file-mutation-awnyytxj.js} +29 -29
- package/dist/chunks/{managed-policy-9web0d32.js → file-mutation-awzyrsce.js} +6 -6
- package/dist/chunks/{managed-policy-qqcbs79k.js → file-mutation-ayb65py8.js} +6 -6
- package/dist/chunks/{managed-policy-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{managed-policy-gws45dxs.js → file-mutation-b6nfqgtw.js} +12 -12
- package/dist/chunks/{managed-policy-yj382vm2.js → file-mutation-bj8e23yz.js} +16 -16
- package/dist/chunks/{managed-policy-xkhn0stb.js → file-mutation-bmdr62wy.js} +5 -5
- package/dist/chunks/{managed-policy-zy43x3f1.js → file-mutation-btbmdjwj.js} +4 -4
- package/dist/chunks/{managed-policy-4q8xb7vk.js → file-mutation-bx1kzrbd.js} +26 -26
- package/dist/chunks/{managed-policy-dw835dm2.js → file-mutation-bygr0fca.js} +14 -14
- package/dist/chunks/{managed-policy-weagkh0e.js → file-mutation-c779czcw.js} +7 -7
- package/dist/chunks/{managed-policy-yp4vs6at.js → file-mutation-capa8hmm.js} +8 -8
- package/dist/chunks/{managed-policy-jmhp3g8p.js → file-mutation-cdbfhxhg.js} +20 -20
- package/dist/chunks/{managed-policy-wq3m38jw.js → file-mutation-cdy1429m.js} +22 -22
- package/dist/chunks/{managed-policy-g17w5wg1.js → file-mutation-ceetf7sw.js} +8 -8
- package/dist/chunks/{managed-policy-k34ckbn9.js → file-mutation-ceze7etz.js} +3 -3
- package/dist/chunks/{managed-policy-qmqgtz8f.js → file-mutation-cwa6csj7.js} +9 -9
- package/dist/chunks/{managed-policy-q6w467xr.js → file-mutation-cwsxj1fy.js} +16 -16
- package/dist/chunks/{managed-policy-jw2zym28.js → file-mutation-d15mmqf3.js} +14 -14
- package/dist/chunks/{managed-policy-txzjavxp.js → file-mutation-d2vx756y.js} +6 -6
- package/dist/chunks/{managed-policy-zam9eh49.js → file-mutation-d3gcvv3k.js} +10 -10
- package/dist/chunks/{managed-policy-k8k12ca3.js → file-mutation-d7y24xev.js} +13 -13
- package/dist/chunks/{managed-policy-kf13yp2f.js → file-mutation-d9ygp6ze.js} +4 -4
- package/dist/chunks/{managed-policy-6xn9vhwr.js → file-mutation-dra5cftj.js} +2 -2
- package/dist/chunks/{managed-policy-xmvy0rzp.js → file-mutation-dsq8k9r4.js} +29 -29
- package/dist/chunks/{managed-policy-w39jehkq.js → file-mutation-dssbfrwz.js} +5 -5
- package/dist/chunks/{managed-policy-0eb613mk.js → file-mutation-dx2gcj3s.js} +19 -19
- package/dist/chunks/{managed-policy-kc20gndt.js → file-mutation-dzbkcwn2.js} +16 -16
- package/dist/chunks/{managed-policy-w7066q4p.js → file-mutation-e2k83wgv.js} +5 -5
- package/dist/chunks/{managed-policy-9dgpp9cn.js → file-mutation-e2t1g78s.js} +169 -169
- package/dist/chunks/{managed-policy-hspec0h6.js → file-mutation-eea3fma5.js} +26 -26
- package/dist/chunks/{managed-policy-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/{managed-policy-g4my6z3y.js → file-mutation-ehn96ckv.js} +11 -11
- package/dist/chunks/{managed-policy-jqjzdtvy.js → file-mutation-en7r6a3x.js} +11 -11
- package/dist/chunks/{managed-policy-qqrjxc2w.js → file-mutation-ep44p4pe.js} +12 -12
- package/dist/chunks/{managed-policy-sz0fczdy.js → file-mutation-eqv7r0bw.js} +6 -6
- package/dist/chunks/{managed-policy-etq0c3wd.js → file-mutation-etq0c3wd.js} +1 -1
- package/dist/chunks/{managed-policy-t1xnf4e5.js → file-mutation-exm9kzsb.js} +2 -2
- package/dist/chunks/{managed-policy-wxj2pshp.js → file-mutation-f27gt3fb.js} +67 -67
- package/dist/chunks/{managed-policy-gw7cjrad.js → file-mutation-f29mbr7f.js} +4 -4
- package/dist/chunks/{managed-policy-6ba3xpax.js → file-mutation-f3d9psnk.js} +27 -27
- package/dist/chunks/{managed-policy-abx012e0.js → file-mutation-f56msdte.js} +49 -49
- package/dist/chunks/{managed-policy-ckf8nxjz.js → file-mutation-f73rjn58.js} +4 -4
- package/dist/chunks/{managed-policy-fw3mavjd.js → file-mutation-fbck328a.js} +21 -21
- package/dist/chunks/{managed-policy-57kx76x8.js → file-mutation-ft0c77xz.js} +15 -15
- package/dist/chunks/{managed-policy-t1ettrb7.js → file-mutation-ftmsc343.js} +15 -15
- package/dist/chunks/{managed-policy-chss3y4s.js → file-mutation-g1epjwmz.js} +8 -8
- package/dist/chunks/{managed-policy-5tcm9639.js → file-mutation-g31erja1.js} +9 -9
- package/dist/chunks/{managed-policy-d6qjz85w.js → file-mutation-g5krbyz9.js} +11 -11
- package/dist/chunks/{managed-policy-721zw7bm.js → file-mutation-g60yh954.js} +27 -27
- package/dist/chunks/{managed-policy-fzrjnfb3.js → file-mutation-g8srsgrp.js} +5 -5
- package/dist/chunks/{managed-policy-x2ntk5yv.js → file-mutation-gapccta5.js} +7 -7
- package/dist/chunks/{managed-policy-p4qmxczc.js → file-mutation-gbdpq833.js} +5 -5
- package/dist/chunks/{managed-policy-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{managed-policy-dq17f564.js → file-mutation-gez6wwhh.js} +13 -13
- package/dist/chunks/{managed-policy-db0nhp4v.js → file-mutation-gka6nvrt.js} +9 -9
- package/dist/chunks/{managed-policy-gqtdsdt7.js → file-mutation-gqtdsdt7.js} +1 -1
- package/dist/chunks/{managed-policy-c10q7bwq.js → file-mutation-gxxtbefb.js} +26 -26
- package/dist/chunks/{managed-policy-65jde4my.js → file-mutation-h0tn9bp1.js} +21 -21
- package/dist/chunks/{managed-policy-h2b79v29.js → file-mutation-h2b79v29.js} +2 -2
- package/dist/chunks/{managed-policy-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{managed-policy-x8v70qwz.js → file-mutation-hh8qm7ej.js} +16 -16
- package/dist/chunks/{managed-policy-e4vaeb0t.js → file-mutation-j3qw8rc6.js} +29 -29
- package/dist/chunks/{managed-policy-nhnhrcwq.js → file-mutation-j4dpp98w.js} +23 -23
- package/dist/chunks/{managed-policy-1rjc8rx3.js → file-mutation-j4jm9w3p.js} +21 -21
- package/dist/chunks/{managed-policy-1rw4rg9z.js → file-mutation-j4k4y6cp.js} +45 -45
- package/dist/chunks/{managed-policy-j56e64zr.js → file-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{managed-policy-93hnm8e8.js → file-mutation-j8k9xj39.js} +26 -26
- package/dist/chunks/{managed-policy-cc75tkym.js → file-mutation-jcvj30yp.js} +2 -2
- package/dist/chunks/{managed-policy-xe69web5.js → file-mutation-jpqsftmp.js} +35 -35
- package/dist/chunks/{managed-policy-nedqmk46.js → file-mutation-k09a0f44.js} +15 -15
- package/dist/chunks/{managed-policy-5q13c62c.js → file-mutation-k1qrnqst.js} +8 -8
- package/dist/chunks/{managed-policy-119h30qy.js → file-mutation-k66mh8t8.js} +4 -4
- package/dist/chunks/{managed-policy-5qwkxp89.js → file-mutation-kb6vbnxp.js} +4 -4
- package/dist/chunks/{managed-policy-kmgavk04.js → file-mutation-kc6n47mc.js} +3 -3
- package/dist/chunks/file-mutation-kjjjense.js +507 -0
- package/dist/chunks/{managed-policy-zjxbxdfv.js → file-mutation-kzrvy21g.js} +12 -12
- package/dist/chunks/{managed-policy-145xw1zc.js → file-mutation-m1khtztb.js} +5 -5
- package/dist/chunks/{managed-policy-m3fdjcah.js → file-mutation-m3fdjcah.js} +1 -1
- package/dist/chunks/{managed-policy-df8jaf6d.js → file-mutation-m80q8nre.js} +4 -4
- package/dist/chunks/{managed-policy-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{managed-policy-csdd969s.js → file-mutation-mbgxsypk.js} +31 -31
- package/dist/chunks/{managed-policy-phtj4jat.js → file-mutation-mbrh99t5.js} +5 -5
- package/dist/chunks/{managed-policy-33w4ejhs.js → file-mutation-mfqp6xfm.js} +9 -9
- package/dist/chunks/{managed-policy-q335xte2.js → file-mutation-n9vhqagr.js} +26 -26
- package/dist/chunks/{managed-policy-0ge1h6kx.js → file-mutation-ngt3qdhm.js} +3 -3
- package/dist/chunks/{managed-policy-459mc33k.js → file-mutation-nkh7czpt.js} +24 -24
- package/dist/chunks/{managed-policy-dpkg50ah.js → file-mutation-nxm207yx.js} +4 -4
- package/dist/chunks/{managed-policy-g0445xdp.js → file-mutation-pa8pe2x7.js} +8 -8
- package/dist/chunks/{managed-policy-vzfpntg8.js → file-mutation-peptrfgf.js} +27 -27
- package/dist/chunks/{managed-policy-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{managed-policy-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{managed-policy-5j1v3jqf.js → file-mutation-pwk6y6g7.js} +23 -23
- package/dist/chunks/{managed-policy-y0mc46pw.js → file-mutation-px76j0pk.js} +9 -9
- package/dist/chunks/{managed-policy-q0xm7vwc.js → file-mutation-q0xm7vwc.js} +2 -2
- package/dist/chunks/{managed-policy-dzh8x6fa.js → file-mutation-q752a12t.js} +18 -18
- package/dist/chunks/{managed-policy-qgn6gcr1.js → file-mutation-qgn6gcr1.js} +1 -1
- package/dist/chunks/{managed-policy-r9d9xsbb.js → file-mutation-qkrdv68w.js} +28 -28
- package/dist/chunks/{managed-policy-qnc92qwc.js → file-mutation-qnc92qwc.js} +1 -1
- package/dist/chunks/{managed-policy-k0w7mqt4.js → file-mutation-qpjyd557.js} +13 -13
- package/dist/chunks/{managed-policy-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{managed-policy-4c2df9zx.js → file-mutation-qvb3nf84.js} +8 -8
- package/dist/chunks/{managed-policy-xyafkbt0.js → file-mutation-qxjc9qry.js} +3 -3
- package/dist/chunks/{managed-policy-zgww0ypy.js → file-mutation-qykvrrtg.js} +6 -6
- package/dist/chunks/{managed-policy-d9gc1nmt.js → file-mutation-r6s1zymw.js} +29 -29
- package/dist/chunks/{managed-policy-rhraev7y.js → file-mutation-r8xr0va3.js} +4 -4
- package/dist/chunks/file-mutation-rap9a73h.js +18 -0
- package/dist/chunks/{managed-policy-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
- package/dist/chunks/{managed-policy-wxyynt4w.js → file-mutation-rk1r2hx8.js} +1 -1
- package/dist/chunks/{managed-policy-k15k6vrr.js → file-mutation-rpfmaskv.js} +67 -67
- package/dist/chunks/{managed-policy-t2fc4mz5.js → file-mutation-ryr25ayn.js} +4 -4
- package/dist/chunks/{managed-policy-j1rkkxtq.js → file-mutation-rzg0yy35.js} +11 -11
- package/dist/chunks/{managed-policy-5dpktnqk.js → file-mutation-s1gjyzhy.js} +12 -12
- package/dist/chunks/{managed-policy-tekbgh3x.js → file-mutation-s1wxmayf.js} +8 -8
- package/dist/chunks/{managed-policy-x9xhcyxb.js → file-mutation-s7h584sa.js} +9 -9
- package/dist/chunks/{managed-policy-ykty1417.js → file-mutation-sazhseep.js} +11 -11
- package/dist/chunks/{managed-policy-8xkqg01v.js → file-mutation-skq3snf0.js} +3 -3
- package/dist/chunks/{managed-policy-89c57hn9.js → file-mutation-sxsdhb2f.js} +31 -31
- package/dist/chunks/{managed-policy-m64xvjj1.js → file-mutation-sznyev98.js} +5 -5
- package/dist/chunks/{managed-policy-06yeazan.js → file-mutation-t6fvfsyt.js} +1 -1
- package/dist/chunks/{managed-policy-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{managed-policy-tcezcvh9.js → file-mutation-tcezcvh9.js} +1 -1
- package/dist/chunks/{managed-policy-tdstcens.js → file-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{managed-policy-6gvgb8cz.js → file-mutation-tfj6v96f.js} +44 -44
- package/dist/chunks/{managed-policy-h07qkwg0.js → file-mutation-th8qagft.js} +5 -5
- package/dist/chunks/{managed-policy-t6ck8tem.js → file-mutation-tmjgp03p.js} +38 -38
- package/dist/chunks/{managed-policy-rkprpv83.js → file-mutation-ts23464c.js} +4 -4
- package/dist/chunks/{managed-policy-9jrdkbpa.js → file-mutation-v03f7qed.js} +8 -8
- package/dist/chunks/{managed-policy-v0es1rhs.js → file-mutation-v0es1rhs.js} +2 -2
- package/dist/chunks/{managed-policy-gear7qnb.js → file-mutation-v5azp370.js} +48 -48
- package/dist/chunks/{managed-policy-psy48106.js → file-mutation-vc6v0gj3.js} +4 -4
- package/dist/chunks/{managed-policy-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{managed-policy-thxbv41p.js → file-mutation-vkt86nx4.js} +18 -18
- package/dist/chunks/{managed-policy-a3fmd72w.js → file-mutation-vxmhavab.js} +13 -13
- package/dist/chunks/{managed-policy-vzcthcp8.js → file-mutation-vzcthcp8.js} +1 -1
- package/dist/chunks/{managed-policy-vzs5sf6e.js → file-mutation-vzs5sf6e.js} +1 -1
- package/dist/chunks/{managed-policy-drwq78ky.js → file-mutation-w19d8598.js} +7 -7
- package/dist/chunks/{managed-policy-vvmfhg21.js → file-mutation-w22zc6e5.js} +26 -26
- package/dist/chunks/{managed-policy-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{managed-policy-zt43srwq.js → file-mutation-w48dyk57.js} +9 -9
- package/dist/chunks/{managed-policy-5md23d48.js → file-mutation-w6pb9j5w.js} +14 -14
- package/dist/chunks/{managed-policy-d3y08a9a.js → file-mutation-w7n29mqq.js} +6 -6
- package/dist/chunks/{managed-policy-w973dr2w.js → file-mutation-w7w59cfp.js} +13 -13
- package/dist/chunks/{managed-policy-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{managed-policy-qygbw77c.js → file-mutation-wecqtg5s.js} +5 -5
- package/dist/chunks/{managed-policy-azks30c4.js → file-mutation-wjmj7svf.js} +21 -21
- package/dist/chunks/{managed-policy-4j20dbk1.js → file-mutation-wtr910ek.js} +17 -17
- package/dist/chunks/{managed-policy-wv396vej.js → file-mutation-wv396vej.js} +1 -1
- package/dist/chunks/{managed-policy-c9863qqk.js → file-mutation-wyahmztr.js} +5 -5
- package/dist/chunks/{managed-policy-d6bttsxy.js → file-mutation-wzpg4398.js} +5 -5
- package/dist/chunks/{managed-policy-2b2w1tdt.js → file-mutation-x48v3pqg.js} +8 -8
- package/dist/chunks/{managed-policy-ms8a7pq0.js → file-mutation-x6n59cg4.js} +11 -11
- package/dist/chunks/{managed-policy-xkntkrq7.js → file-mutation-xkntkrq7.js} +2 -2
- package/dist/chunks/{managed-policy-8s59b704.js → file-mutation-xtqdhsn8.js} +3 -3
- package/dist/chunks/{managed-policy-91wpvk88.js → file-mutation-xz8rcs7k.js} +22 -22
- package/dist/chunks/{managed-policy-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{managed-policy-63db42yp.js → file-mutation-y5beyqvm.js} +2 -2
- package/dist/chunks/{managed-policy-j5rxtxht.js → file-mutation-y6mhz57t.js} +4 -4
- package/dist/chunks/{managed-policy-e315ch6h.js → file-mutation-ybtvq2mj.js} +14 -14
- package/dist/chunks/{managed-policy-kqjv8prj.js → file-mutation-yeav80qa.js} +20 -20
- package/dist/chunks/{managed-policy-9hwaqfsw.js → file-mutation-ygdna4kr.js} +5 -5
- package/dist/chunks/{managed-policy-pkqb68ka.js → file-mutation-yjx32v1s.js} +4 -4
- package/dist/chunks/{managed-policy-d8mxbdrt.js → file-mutation-yvd37te7.js} +10 -10
- package/dist/chunks/{managed-policy-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{managed-policy-2qqgyr6a.js → file-mutation-z39s51pd.js} +18 -18
- package/dist/chunks/{managed-policy-03qxw8pz.js → file-mutation-zkpkevqb.js} +22 -22
- package/dist/chunks/{managed-policy-ckgc4dc5.js → file-mutation-zqcjw91e.js} +15 -15
- package/dist/chunks/{managed-policy-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{managed-policy-zjb991y7.js → file-mutation-zrtb0087.js} +10 -10
- package/dist/chunks/{managed-policy-ss358qx3.js → file-mutation-zx95ftzb.js} +3 -3
- package/dist/chunks/{managed-policy-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
- package/dist/chunks/{managed-policy-nkcpd5b2.js → file-mutation-zy0jt0ey.js} +41 -41
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +115 -115
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +94 -94
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +100 -100
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +100 -100
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +112 -112
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +216 -216
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +83 -83
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +149 -149
- package/dist/session/diff.js +88 -88
- 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 +211 -211
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +81 -81
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +207 -207
- package/dist/session/usage.js +1 -1
- package/dist/session.js +205 -205
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/managed-policy-619r8v3y.js +0 -18
- package/dist/chunks/managed-policy-ewksh3kr.js +0 -26
- package/dist/chunks/managed-policy-shrpyp41.js +0 -253
- package/dist/chunks/managed-policy-y5760nfk.js +0 -507
- /package/dist/chunks/{managed-policy-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{managed-policy-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{managed-policy-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{managed-policy-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{managed-policy-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{managed-policy-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{managed-policy-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{managed-policy-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{managed-policy-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{managed-policy-34c7v6d4.js → file-mutation-34c7v6d4.js} +0 -0
- /package/dist/chunks/{managed-policy-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{managed-policy-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{managed-policy-3t0ybcrp.js → file-mutation-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{managed-policy-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{managed-policy-3w5fmr99.js → file-mutation-3w5fmr99.js} +0 -0
- /package/dist/chunks/{managed-policy-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{managed-policy-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{managed-policy-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{managed-policy-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{managed-policy-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{managed-policy-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{managed-policy-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{managed-policy-5qd3pb7m.js → file-mutation-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{managed-policy-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{managed-policy-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{managed-policy-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{managed-policy-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{managed-policy-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{managed-policy-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{managed-policy-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
- /package/dist/chunks/{managed-policy-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{managed-policy-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{managed-policy-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{managed-policy-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{managed-policy-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{managed-policy-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{managed-policy-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{managed-policy-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{managed-policy-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{managed-policy-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{managed-policy-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{managed-policy-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{managed-policy-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{managed-policy-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{managed-policy-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{managed-policy-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{managed-policy-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{managed-policy-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{managed-policy-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{managed-policy-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{managed-policy-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{managed-policy-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{managed-policy-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{managed-policy-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{managed-policy-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{managed-policy-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{managed-policy-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{managed-policy-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{managed-policy-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{managed-policy-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{managed-policy-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{managed-policy-hjbc5kem.js → file-mutation-hjbc5kem.js} +0 -0
- /package/dist/chunks/{managed-policy-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{managed-policy-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{managed-policy-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{managed-policy-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{managed-policy-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{managed-policy-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{managed-policy-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{managed-policy-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{managed-policy-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{managed-policy-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{managed-policy-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{managed-policy-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{managed-policy-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{managed-policy-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{managed-policy-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{managed-policy-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{managed-policy-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{managed-policy-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{managed-policy-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{managed-policy-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{managed-policy-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{managed-policy-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{managed-policy-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{managed-policy-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{managed-policy-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{managed-policy-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{managed-policy-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{managed-policy-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{managed-policy-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{managed-policy-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{managed-policy-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{managed-policy-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{managed-policy-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{managed-policy-z5v4ffb3.js → file-mutation-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{managed-policy-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-7q62a8nt.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-mfqp6xfm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin26,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint5 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin26 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin20 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint5, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin20 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint5, Plugin26, exports_parallel };
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service82,
|
|
9
|
+
node86
|
|
10
|
+
} from "./file-mutation-ep44p4pe.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80,
|
|
13
13
|
node84
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-jcvj30yp.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error5,
|
|
26
|
+
ID: () => ID16,
|
|
27
|
+
Service: () => Service79,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node83,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID16 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error5 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service79 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const location = yield* Service80;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID16.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service79.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node83 = makeLocationNode({
|
|
144
|
+
service: Service79,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node86, Global.node, node84]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service79, Service79.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service37, Service37.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error5 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error5({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID16, Error5, Service79, node83, noopLayer3, exports_snapshot2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured9,
|
|
11
|
+
layer: () => layer19,
|
|
12
|
+
make: () => make17,
|
|
13
|
+
node: () => node53,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make17()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make17(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make20(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer19 = (input) => Layer.succeed(Metadata2, make17(input));
|
|
32
|
+
var configured9 = (input) => makeGlobalNode({ service: Metadata2, layer: layer19(input), deps: [] });
|
|
33
|
+
var node53 = configured9();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make17, useragent2, layer19, configured9, node53, exports_app };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service82,
|
|
6
|
+
node86
|
|
7
|
+
} from "./file-mutation-ep44p4pe.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-84txncab.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service62,
|
|
16
|
+
node65
|
|
17
|
+
} from "./file-mutation-608kr7kb.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-mutation-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: () => Service39,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node42,
|
|
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 Service39 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,25 +101,25 @@ 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(Service39, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service82;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service62;
|
|
110
|
+
return Service39.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse4(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse4(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node42 = makeGlobalNode({
|
|
171
|
+
service: Service39,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node65]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service39, isError2, validateBranch2, node42, exports_repository_cache };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service83,
|
|
4
|
+
node87
|
|
5
|
+
} from "./file-mutation-s1gjyzhy.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service62,
|
|
8
|
+
node65
|
|
9
|
+
} from "./file-mutation-608kr7kb.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event10,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service45,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node48,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service45 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event10 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
81
|
-
const bus = yield*
|
|
80
|
+
const kv = yield* Service62;
|
|
81
|
+
const bus = yield* Service83;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
84
84
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event10.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service45.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event10.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event10.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node48 = makeGlobalNode({ service: Service45, layer, deps: [httpClient, node65, node87] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service45, Event10, inspect2, resolve3, node48, exports_wellknown };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service46,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node49
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service46 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service46.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node49 = makeLocationNode({
|
|
137
|
+
service: Service46,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service46, node49, exports_tool_output2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/repository.ts
|
|
6
6
|
var exports_repository = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_repository, {
|
|
|
13
13
|
cachePath: () => cachePath2,
|
|
14
14
|
isFile: () => isFile2,
|
|
15
15
|
isRemote: () => isRemote2,
|
|
16
|
-
parse: () =>
|
|
16
|
+
parse: () => parse4,
|
|
17
17
|
parseRemote: () => parseRemote2,
|
|
18
18
|
same: () => same2,
|
|
19
19
|
validateBranch: () => validateBranch3
|
|
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
|
|
|
39
39
|
message: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function parse4(input) {
|
|
43
43
|
const cleaned = normalizeInput(input);
|
|
44
44
|
if (!cleaned)
|
|
45
45
|
return;
|
|
@@ -72,7 +72,7 @@ function parse5(input) {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
function parseRemote2(input) {
|
|
75
|
-
const reference =
|
|
75
|
+
const reference = parse4(input);
|
|
76
76
|
if (!reference) {
|
|
77
77
|
throw new InvalidReferenceError2({
|
|
78
78
|
repository: input,
|
|
@@ -172,4 +172,4 @@ function buildFile(input) {
|
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3,
|
|
175
|
+
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse4, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./file-mutation-77hgjsk3.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID7.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|